Skip to content

Commit

Permalink
SCSSLint: Fix ColorKeyword
Browse files Browse the repository at this point in the history
Use hex colours instead of named colours
  • Loading branch information
nschonni committed Apr 1, 2014
1 parent 6425e72 commit cd964d3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .scss-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ linters:
- "src/polyfills/meter/meter.scss"
- "src/polyfills/meter/demo/meter.scss"
- "src/polyfills/progress/demo/progress.scss"
ColorKeyword:
enabled: false
BorderZero:
enabled: false
NameFormat:
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/charts/charts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
*/
figure .pieLabel {
background-color: white;
color: black;
border: solid black 1px;
background-color: #fff;
color: #000;
border: solid #000 1px;
padding: 1px;
}
8 changes: 4 additions & 4 deletions src/plugins/geomap/geomap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@
}

.olControlScaleLineBottom {
border: solid 2px black;
border: solid 2px #000;
border-bottom: none;
margin-top: -2px;
text-align: center;
}

.olControlScaleLineTop {
border: solid 2px black;
border: solid 2px #000;
border-top: none;
text-align: center;
}
Expand All @@ -110,12 +110,12 @@
}

.olHandlerBoxZoomBox {
border: 2px solid red;
border: 2px solid #f00;
@extend %geomap-position-absolute-bg-color-fff-opacity-05-font-size-1;
}

.olHandlerBoxSelectFeature {
border: 2px solid blue;
border: 2px solid #00f;
@extend %geomap-position-absolute-bg-color-fff-opacity-05-font-size-1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/prettify/prettify-allScreenViews.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
@extend %prettify-screen-color-606;
} /* a variable name */
.fun {
color: red;
color: #f00;
} /* a function name */
2 changes: 1 addition & 1 deletion src/plugins/tables/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

%tables-border-bottom-1px-solid-black-font-weight-700-padding-right-15em {
border-bottom: 1px solid black;
border-bottom: 1px solid #000;
font-weight: 700;
padding-right: 1.5em;
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/tabs/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ $medGray: #ccc;
/* Firefox 10+, Firefox on Android */
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
/* IE6-9 */
filter: gray;
filter: #808080;
/* Chrome 19+, Safari 6+, Safari 6+ iOS */
-webkit-filter: unquote("grayscale(100%)");
max-height: $thumbHeight;
Expand Down

0 comments on commit cd964d3

Please sign in to comment.