Skip to content
Snippets Groups Projects
Unverified Commit 2598bc2f authored by Xaver Maierhofer's avatar Xaver Maierhofer
Browse files

[TASK] Remove sass lint exceptions

parent 6e6d2b73
Branches
Tags
No related merge requests found
rules: rules:
single-line-per-selector: 0 # No global rules currently
# 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
body { body {
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent; // sass-lint:disable-line no-vendor-prefixes
background: $color-white; background: $color-white;
color: $color-black; color: $color-black;
font-family: $font-family; font-family: $font-family;
...@@ -12,7 +12,12 @@ header { ...@@ -12,7 +12,12 @@ header {
background: transparentize($color-black, .98); background: transparentize($color-black, .98);
} }
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: bold; font-weight: bold;
} }
...@@ -31,12 +36,16 @@ h3 { ...@@ -31,12 +36,16 @@ h3 {
padding: 1em 0; padding: 1em 0;
} }
h2, h3 { h2,
h3 {
padding-left: $button-distance; padding-left: $button-distance;
padding-right: $button-distance; padding-right: $button-distance;
} }
p, pre, ul, h4 { p,
pre,
ul,
h4 {
padding: 0 $button-distance 1em; padding: 0 $button-distance 1em;
} }
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
font-family: $font-family-icons; font-family: $font-family-icons;
} }
input, textarea { input,
textarea {
border: 1px solid $color-gray-light; border: 1px solid $color-gray-light;
font-family: $font-family-monospace; font-family: $font-family-monospace;
font-size: 1.15em; font-size: 1.15em;
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
} }
} }
.legend-online, .legend-offline { .legend-online,
.legend-offline {
margin-left: 1em; margin-left: 1em;
} }
// Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) // Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
// http://cssreset.com // http://cssreset.com
// sass-lint:disable-all
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, a, abbr, acronym, address, big, cite, code,
......
...@@ -21,8 +21,10 @@ ...@@ -21,8 +21,10 @@
padding-bottom: 15px; padding-bottom: 15px;
} }
.node-list, .node-links { .node-list,
th, td { .node-links {
th,
td {
&:first-child { &:first-child {
width: 25px; width: 25px;
} }
...@@ -38,7 +40,8 @@ ...@@ -38,7 +40,8 @@
} }
.node-links { .node-links {
th, td { th,
td {
&:first-child { &:first-child {
width: 50px; width: 50px;
} }
...@@ -46,7 +49,8 @@ ...@@ -46,7 +49,8 @@
} }
.link-list { .link-list {
th, td { th,
td {
&:nth-child(1) { &:nth-child(1) {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -56,7 +60,8 @@ ...@@ -56,7 +60,8 @@
} }
} }
.infobox, .container { .infobox,
.container {
@if $shadows == 1 { @if $shadows == 1 {
@include shadow(2); @include shadow(2);
} @else { } @else {
...@@ -83,7 +88,8 @@ ...@@ -83,7 +88,8 @@
left: $sidebar-width-small + $button-distance; left: $sidebar-width-small + $button-distance;
} }
.container, .infobox { .container,
.infobox {
border-radius: 0; border-radius: 0;
@if $shadows == 1 { @if $shadows == 1 {
box-shadow: none; box-shadow: none;
......
...@@ -22,7 +22,8 @@ table { ...@@ -22,7 +22,8 @@ table {
} }
} }
td, th { td,
th {
line-height: 1.41em; line-height: 1.41em;
text-align: right; text-align: right;
...@@ -61,7 +62,8 @@ th { ...@@ -61,7 +62,8 @@ th {
} }
} }
&.sort-up, &.sort-down { &.sort-up,
&.sort-down {
&::after { &::after {
opacity: .4; opacity: .4;
visibility: visible; visibility: visible;
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
} }
background: transparentize($color-black, .98); background: transparentize($color-black, .98);
display: flex; display: flex;
display: -webkit-flex; display: -webkit-flex; // sass-lint:disable-line no-vendor-prefixes no-duplicate-properties
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
li { li {
-webkit-flex: 1 1 auto; -webkit-flex: 1 1 auto; // sass-lint:disable-line no-vendor-prefixes
color: transparentize($color-black, .5); color: transparentize($color-black, .5);
cursor: pointer; cursor: pointer;
flex: 1 1 auto; flex: 1 1 auto;
......
...@@ -44,7 +44,8 @@ html { ...@@ -44,7 +44,8 @@ html {
//@import 'modules/sidebar'; //@import 'modules/sidebar';
.sidebar { .sidebar {
.infobox, .container { .infobox,
.container {
background: transparentize($color-white, .03); background: transparentize($color-white, .03);
border-right: 1px solid darken($color-white, 10%); border-right: 1px solid darken($color-white, 10%);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment