Disable scss-lint ImportantRule linter only for those blocks which already currently use !important

stable
Jonathan Barratt 2015-04-01 16:00:14 +07:00
parent 670129a2cc
commit 992f15abe7
5 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,7 @@ body {
} }
.hidden { .hidden {
// scss-lint:disable ImportantRule
display: none !important; display: none !important;
} }

View File

@ -53,6 +53,7 @@ sup {
//Datepicker //Datepicker
.pika-single { .pika-single {
// scss-lint:disable ImportantRule
z-index: 999999; z-index: 999999;
.pika-title { .pika-title {
color: $grayer; color: $grayer;

View File

@ -101,6 +101,7 @@ a:visited {
// Taiga Icons // Taiga Icons
[data-icon]:before { [data-icon]:before {
// scss-lint:disable ImportantRule
content: attr(data-icon); content: attr(data-icon);
font-family: 'taiga' !important; font-family: 'taiga' !important;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -115,6 +116,7 @@ a:visited {
[class^='icon-']:before, [class^='icon-']:before,
[class*=' icon-']:before { [class*=' icon-']:before {
// scss-lint:disable ImportantRule
font-family: 'taiga' !important; font-family: 'taiga' !important;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;

View File

@ -189,6 +189,7 @@
transition: background .2s ease-in; transition: background .2s ease-in;
} }
a { a {
// scss-lint:disable ImportantRule
color: $white !important; color: $white !important;
&:hover { &:hover {
color: $white; color: $white;

View File

@ -136,6 +136,7 @@
background: $red-light; background: $red-light;
color: $white; color: $white;
a { a {
// scss-lint:disable ImportantRule
color: $white !important; color: $white !important;
&:hover { &:hover {
color: $white; color: $white;