diff options
author | XhmikosR <xhmikosr@gmail.com> | 2017-10-04 14:11:00 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2017-10-07 00:11:40 +0300 |
commit | ebc82db8efe129c4e91849373ed018d7e3f0194e (patch) | |
tree | f00e65cacad505e641b7f87a8e476d83cd0c6d32 /scss | |
parent | 876733866911f4c6cfefeaf42aad5653105d7dce (diff) |
Enable stylelint's no-duplicate-selectors rule.
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_card.scss | 27 | ||||
-rw-r--r-- | scss/_tables.scss | 1 |
2 files changed, 13 insertions, 15 deletions
diff --git a/scss/_card.scss b/scss/_card.scss index ad4221806b..25c511a90b 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -17,6 +17,18 @@ margin-right: 0; margin-left: 0; } + + > .list-group:first-child { + .list-group-item:first-child { + @include border-top-radius($card-border-radius); + } + } + + > .list-group:last-child { + .list-group-item:last-child { + @include border-bottom-radius($card-border-radius); + } + } } .card-body { @@ -49,21 +61,6 @@ } } -.card { - > .list-group:first-child { - .list-group-item:first-child { - @include border-top-radius($card-border-radius); - } - } - - > .list-group:last-child { - .list-group-item:last-child { - @include border-bottom-radius($card-border-radius); - } - } -} - - // // Optional textual caps // diff --git a/scss/_tables.scss b/scss/_tables.scss index 32384391e1..6bd0b91a43 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -103,6 +103,7 @@ // // Same table markup, but inverted color scheme: dark background and light text. +// stylelint-disable-next-line no-duplicate-selectors .table { .thead-dark { th { |