Syntax improvements

This commit is contained in:
María Checa
2016-02-01 12:13:44 +01:00
parent f040bbf31e
commit 0b3e6b44cc
6 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -38,10 +38,10 @@
width: $baseSize * 2; width: $baseSize * 2;
height: $baseSize * 2; height: $baseSize * 2;
border: 1px solid $cMainLine; border: 1px solid $cMainLine;
background: $cWhite;
border-radius: 3px; border-radius: 3px;
box-sizing: border-box; background: $cWhite;
cursor: pointer; cursor: pointer;
box-sizing: border-box;
&::before, &::before,
&::after { &::after {
+3 -3
View File
@@ -37,10 +37,10 @@
height: $baseSize * 2; height: $baseSize * 2;
border: 1px solid $cMainLine; border: 1px solid $cMainLine;
border-radius: 50%; border-radius: 50%;
box-sizing: border-box;
cursor: pointer;
text-indent: 20px;
background: $cWhite; background: $cWhite;
text-indent: 20px;
cursor: pointer;
box-sizing: border-box;
&::before { &::before {
position: absolute; position: absolute;
+1 -1
View File
@@ -122,10 +122,10 @@
.CDB-Range::-ms-track { .CDB-Range::-ms-track {
height: $baseSize / 4; height: $baseSize / 4;
margin: $baseSize 0; margin: $baseSize 0;
border: transparent;
border-radius: $baseSize / 2; border-radius: $baseSize / 2;
background: $cMainLine; background: $cMainLine;
color: transparent; color: transparent;
border: transparent;
} }
.CDB-Range::-ms-thumb { .CDB-Range::-ms-thumb {
+1 -1
View File
@@ -20,10 +20,10 @@
@import '../../cdb-utilities/mixins'; @import '../../cdb-utilities/mixins';
.CDB-Toggle { .CDB-Toggle {
position: absolute;
width: $baseSize * 4; width: $baseSize * 4;
height: $baseSize * 2; height: $baseSize * 2;
opacity: 0; opacity: 0;
position: absolute;
z-index: 1; z-index: 1;
~ .CDB-ToggleFace { ~ .CDB-ToggleFace {
+3 -3
View File
@@ -6,20 +6,20 @@
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url('//themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'), src: local('Open Sans Light'), local('OpenSans-Light'), url('themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'),
url('//themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTeY5mlVXtdNkpsMpKkrDXP4.woff') format('woff'); url('//themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTeY5mlVXtdNkpsMpKkrDXP4.woff') format('woff');
} }
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url('//themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'), src: local('Open Sans'), local('OpenSans'), url('themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'),
url('//themes.googleusercontent.com/static/fonts/opensans/v8/u-WUoqrET9fUeobQW7jkRbO3LdcAZYWl9Si6vvxL-qU.woff') format('woff'); url('//themes.googleusercontent.com/static/fonts/opensans/v8/u-WUoqrET9fUeobQW7jkRbO3LdcAZYWl9Si6vvxL-qU.woff') format('woff');
} }
@font-face { @font-face {
font-family: 'Open Sans'; font-family: 'Open Sans';
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url('//themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'), src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url('themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf') format('truetype'),
url('//themes.googleusercontent.com/static/fonts/opensans/v8/MTP_ySUJH_bn48VBG8sNSuY5mlVXtdNkpsMpKkrDXP4.woff') format('woff'); url('//themes.googleusercontent.com/static/fonts/opensans/v8/MTP_ySUJH_bn48VBG8sNSuY5mlVXtdNkpsMpKkrDXP4.woff') format('woff');
} }
+1 -2
View File
@@ -19,8 +19,8 @@ time, mark, audio, video {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-size: 100%;
font: inherit; font: inherit;
font-size: 100%;
vertical-align: baseline; vertical-align: baseline;
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
@@ -40,7 +40,6 @@ blockquote, q {
blockquote:before, blockquote:after, blockquote:before, blockquote:after,
q:before, q:after { q:before, q:after {
content: ''; content: '';
content: none;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;