diff options
author | Mark Otto <markdotto@gmail.com> | 2018-04-09 04:08:03 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2018-04-09 04:08:03 +0300 |
commit | 77342b080eae51ab02d6f03c9e1bc4fd374a8c38 (patch) | |
tree | b2d3f832ab989fe7796fc25a3c473bc7eba9dfe3 /less | |
parent | babd48fb81a693444f3281039928b3d256d9d3bf (diff) |
update css with latest stylelint
Diffstat (limited to 'less')
-rw-r--r-- | less/glyphicons.less | 2 | ||||
-rw-r--r-- | less/mixins/gradients.less | 10 | ||||
-rw-r--r-- | less/mixins/hide-text.less | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/less/glyphicons.less b/less/glyphicons.less index 266aaecdee..9ebcb0d941 100644 --- a/less/glyphicons.less +++ b/less/glyphicons.less @@ -1,4 +1,4 @@ -/* stylelint-disable value-list-comma-newline-after, value-list-comma-space-after, indentation, declaration-colon-newline-after */ +/* stylelint-disable value-list-comma-newline-after, value-list-comma-space-after, indentation, declaration-colon-newline-after, font-family-no-missing-generic-family-keyword */ // // Glyphicons for Bootstrap diff --git a/less/mixins/gradients.less b/less/mixins/gradients.less index b055083797..7dd2311cb5 100644 --- a/less/mixins/gradients.less +++ b/less/mixins/gradients.less @@ -1,4 +1,4 @@ -/* stylelint-disable value-no-vendor-prefix */ +/* stylelint-disable value-no-vendor-prefix, selector-max-id */ #gradient { @@ -10,8 +10,8 @@ background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+ background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12 background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+ - background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)", argb(@start-color), argb(@end-color))); // IE9 and down + background-repeat: repeat-x; } // Vertical gradient, from top to bottom @@ -22,8 +22,8 @@ background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+ background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12 background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+ - background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@start-color), argb(@end-color))); // IE9 and down + background-repeat: repeat-x; } .directional(@start-color: #555; @end-color: #333; @deg: 45deg) { @@ -36,15 +36,15 @@ background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color); background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color); background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color); - background-repeat: no-repeat; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)", argb(@start-color), argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback + background-repeat: no-repeat; } .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) { background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color); background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color); background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color); - background-repeat: no-repeat; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@start-color), argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback + background-repeat: no-repeat; } .radial(@inner-color: #555; @outer-color: #333) { background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color); diff --git a/less/mixins/hide-text.less b/less/mixins/hide-text.less index ca7e6c5325..ac9c6bf7cc 100644 --- a/less/mixins/hide-text.less +++ b/less/mixins/hide-text.less @@ -1,4 +1,4 @@ -/* stylelint-disable font-family-name-quotes */ +/* stylelint-disable font-family-name-quotes, font-family-no-missing-generic-family-keyword */ // CSS image replacement // |