diff --git a/.sass-lint.yml b/.sass-lint.yml index a7e4640abf368e159437a8d41c0e034c4923d12d..fadcfaaf42dabd46d190c4cf923aeb78565e6692 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -1,9 +1,2 @@ rules: - single-line-per-selector: 0 - # Allow for new prefixes like -webkit-tap-highlight-color or antialiasing - # Can maybe be enabled again with sass-lint 1.8 https://github.com/sasstools/sass-lint/pull/709 - no-vendor-prefixes: 0 - # Needed for old 'display: -vendor-prefix-property' for higher browser-support - no-duplicate-properties: 0 - # Needed for unique-id() - empty-args: 0 +# No global rules currently diff --git a/scss/modules/_base.scss b/scss/modules/_base.scss index 97e659bb3cb3a774d4fd67251430376ab22b412a..581c156795f63ae4d718bafcc51cb3495514452a 100644 --- a/scss/modules/_base.scss +++ b/scss/modules/_base.scss @@ -1,5 +1,5 @@ body { - -webkit-tap-highlight-color: transparent; + -webkit-tap-highlight-color: transparent; // sass-lint:disable-line no-vendor-prefixes background: $color-white; color: $color-black; font-family: $font-family; @@ -12,7 +12,12 @@ header { background: transparentize($color-black, .98); } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { font-weight: bold; } @@ -31,12 +36,16 @@ h3 { padding: 1em 0; } -h2, h3 { +h2, +h3 { padding-left: $button-distance; padding-right: $button-distance; } -p, pre, ul, h4 { +p, +pre, +ul, +h4 { padding: 0 $button-distance 1em; } diff --git a/scss/modules/_infobox.scss b/scss/modules/_infobox.scss index b3f9fc5a50b052823a184c4476de66d2e9104c52..3a66c45e1cb1f40b3798f8944e6364170c12369f 100644 --- a/scss/modules/_infobox.scss +++ b/scss/modules/_infobox.scss @@ -4,7 +4,8 @@ font-family: $font-family-icons; } - input, textarea { + input, + textarea { border: 1px solid $color-gray-light; font-family: $font-family-monospace; font-size: 1.15em; diff --git a/scss/modules/_legend.scss b/scss/modules/_legend.scss index 11251d1cb6ef68c565a13027a64976e26581f2d4..965848dbe9749348e98e06b70c937e3153fd114d 100644 --- a/scss/modules/_legend.scss +++ b/scss/modules/_legend.scss @@ -27,6 +27,7 @@ } } -.legend-online, .legend-offline { +.legend-online, +.legend-offline { margin-left: 1em; } diff --git a/scss/modules/_reset.scss b/scss/modules/_reset.scss index 11a108ec4bf6b9b04b8ec2fa68815ed7b50cd3ee..3aa7a09f3e7e2db624a457d22efc2724f5ce104f 100644 --- a/scss/modules/_reset.scss +++ b/scss/modules/_reset.scss @@ -1,5 +1,6 @@ // Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) // http://cssreset.com +// sass-lint:disable-all html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, diff --git a/scss/modules/_sidebar.scss b/scss/modules/_sidebar.scss index 4000d5a21229444d5ebaa637a3047e2880904f1f..11b2ffd2b967fea5a14ca381b7e17d73531aa344 100644 --- a/scss/modules/_sidebar.scss +++ b/scss/modules/_sidebar.scss @@ -21,8 +21,10 @@ padding-bottom: 15px; } - .node-list, .node-links { - th, td { + .node-list, + .node-links { + th, + td { &:first-child { width: 25px; } @@ -38,7 +40,8 @@ } .node-links { - th, td { + th, + td { &:first-child { width: 50px; } @@ -46,7 +49,8 @@ } .link-list { - th, td { + th, + td { &:nth-child(1) { overflow: hidden; text-overflow: ellipsis; @@ -56,7 +60,8 @@ } } - .infobox, .container { + .infobox, + .container { @if $shadows == 1 { @include shadow(2); } @else { @@ -83,7 +88,8 @@ left: $sidebar-width-small + $button-distance; } - .container, .infobox { + .container, + .infobox { border-radius: 0; @if $shadows == 1 { box-shadow: none; diff --git a/scss/modules/_table.scss b/scss/modules/_table.scss index c3b81200af842defea8f05bf01d434f22fcae2c2..c40fc95ca6690a2f772a9b18c41983374374ee7c 100644 --- a/scss/modules/_table.scss +++ b/scss/modules/_table.scss @@ -22,7 +22,8 @@ table { } } -td, th { +td, +th { line-height: 1.41em; text-align: right; @@ -61,7 +62,8 @@ th { } } - &.sort-up, &.sort-down { + &.sort-up, + &.sort-down { &::after { opacity: .4; visibility: visible; diff --git a/scss/modules/_tabs.scss b/scss/modules/_tabs.scss index 60f27811cdc5b89ab0bcf551c56a129579f23566..ebffdfbc7ae3f2ddf5b7b3488056df0eaadea23a 100644 --- a/scss/modules/_tabs.scss +++ b/scss/modules/_tabs.scss @@ -7,13 +7,13 @@ } background: transparentize($color-black, .98); display: flex; - display: -webkit-flex; + display: -webkit-flex; // sass-lint:disable-line no-vendor-prefixes no-duplicate-properties list-style: none; margin: 0; padding: 0; li { - -webkit-flex: 1 1 auto; + -webkit-flex: 1 1 auto; // sass-lint:disable-line no-vendor-prefixes color: transparentize($color-black, .5); cursor: pointer; flex: 1 1 auto; diff --git a/scss/night.scss b/scss/night.scss index a7c8bf399c0c22562d1aadf940ffd77eb7e4b76a..304a31ffe9c7c9a546269a5b527aadae3cd7f99c 100644 --- a/scss/night.scss +++ b/scss/night.scss @@ -44,7 +44,8 @@ html { //@import 'modules/sidebar'; .sidebar { - .infobox, .container { + .infobox, + .container { background: transparentize($color-white, .03); border-right: 1px solid darken($color-white, 10%); }