Corrected all code styles that need manual intervention

This commit is contained in:
Christian Wolf 2022-04-15 17:18:46 +02:00
parent def6d36a43
commit 1e6b737d3c
6 changed files with 59 additions and 55 deletions

View File

@ -6,6 +6,8 @@
], ],
"rules": { "rules": {
"indentation": 4, "indentation": 4,
"selector-class-pattern": "^([a-z][a-z0-9]*)((-|__)[a-z0-9]+)*$" "selector-class-pattern": "^([a-z][a-z0-9]*)((-|__)[a-z0-9]+)*$",
"string-quotes": "single",
"declaration-colon-newline-after": null
} }
} }

View File

@ -27,6 +27,13 @@ li.row-fluid {
// background-color: initial; // background-color: initial;
// } // }
.table-striped {
> thead > tr {
color: var(--color-effect-header, #000);
background-color: var(--color-effect-background-header, #aaa);
}
}
.list-striped li:nth-child(odd), .list-striped li:nth-child(odd),
.row-striped .row-fluid:nth-child(odd), .row-striped .row-fluid:nth-child(odd),
.table-striped > tbody > tr:nth-child(odd) { .table-striped > tbody > tr:nth-child(odd) {
@ -41,13 +48,6 @@ li.row-fluid {
background-color: var(--color-effect-background-header, #aaa); background-color: var(--color-effect-background-header, #aaa);
} }
.table-striped {
> thead > tr {
color: var(--color-effect-header, #000);
background-color: var(--color-effect-background-header, #aaa);
}
}
.table-hover > tbody > tr:hover > * { .table-hover > tbody > tr:hover > * {
color: unset; color: unset;
} }

View File

@ -1,5 +1,14 @@
@use '../abstract' as abstract; @use '../abstract' as abstract;
.nav,
.mod-menu__sub {
padding: 0;
> li {
display: block;
}
}
.nav { .nav {
font-size: inherit; font-size: inherit;
color: var(--color-menu, #000); color: var(--color-menu, #000);
@ -19,32 +28,20 @@
color: var(--color-menu-active, #000); color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc); background-color: var(--color-menu-background-active, #ccc);
} }
}
.mod-menu__sub { .mod-menu__sub {
font-size: small; font-size: small;
> li > a {
@include abstract.for-desktop {
display: block;
}
}
}
.nav,
.mod-menu__sub {
padding: 0;
> li {
display: block;
> .mod-menu__sub {
padding-left: 10px; padding-left: 10px;
margin-left: 10px; margin-left: 10px;
/* border-left: solid gray 1px; */ /* border-left: solid gray 1px; */
/* TODO */ /* TODO */
> li > a {
@include abstract.for-desktop {
display: block;
}
} }
} }
} }

View File

@ -36,6 +36,18 @@
color: var(--color-menu-active, #000); color: var(--color-menu-active, #000);
background-color: var(--color-menu-background-active, #ccc); background-color: var(--color-menu-background-active, #ccc);
} }
margin-left: 5px;
margin-right: 5px;
ul {
border: none;
}
> ul.nav {
margin-left: -5px;
margin-right: -5px;
}
} }
.nav { .nav {
@ -50,20 +62,6 @@
flex-direction: column; flex-direction: column;
} }
li {
margin-left: 5px;
margin-right: 5px;
}
li > ul.nav {
margin-left: -5px;
margin-right: -5px;
}
li ul {
border: none;
}
> ul.mod-menu { > ul.mod-menu {
background-color: initial; background-color: initial;
color: initial; color: initial;

View File

@ -42,13 +42,6 @@
padding: 0; padding: 0;
border-style: none; border-style: none;
height: 100%; height: 100%;
&:hover,
&:focus,
&.active {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
}
} }
.nav { .nav {
@ -91,6 +84,13 @@
background-color: inherit; background-color: inherit;
} }
&:hover,
&:focus,
&.active {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
}
> .mod-menu__sub { > .mod-menu__sub {
position: absolute; position: absolute;
display: none; display: none;
@ -119,6 +119,13 @@
} }
} }
&:hover,
&:focus,
&.active {
color: var(--color-fg-top-dark, #000);
background-color: var(--color-bg-top-dark, #aaa);
}
&:hover > a { &:hover > a {
text-decoration: none; text-decoration: none;
} }

View File

@ -1,7 +1,7 @@
@use "abstract"; @use 'abstract';
@use "core"; @use 'core';
@use "layout"; @use 'layout';
@use "components"; @use 'components';
/* /*
* Debug * Debug