general fixes and tpl additions

This commit is contained in:
Dennis Eichhorn 2021-05-28 20:28:40 +02:00
parent 7911add5ad
commit d6c9d08b8a
4 changed files with 244 additions and 232 deletions

View File

@ -40,6 +40,10 @@ form {
flex-direction: row;
flex-wrap: wrap;
> *:not(label) {
flex: 1;
}
& + * {
margin-top: .75rem;
}

View File

@ -127,6 +127,45 @@ body > nav {
}
}
#nav-side-settings {
margin: 1rem;
label {
color: rgba(255, 255, 255, 0.8);
cursor: pointer;
.fa-volume-up {
display: none;
}
.fa-volume-down {
display: inherit;
}
}
i {
font-size: 1rem;
}
input {
display: none;
&:checked {
& + label {
color: var(--nav-sub-background-highlight);
.fa-volume-up {
display: inherit;
}
.fa-volume-down {
display: none;
}
}
}
}
}
.nav-trigger {
position: absolute;
clip: rect(0, 0, 0, 0);

View File

@ -5,6 +5,11 @@
//overflow-x: auto; removed in order to prevent scroll bars for tooltips which are longer than the portlet (test in general settings view)
//border-top: 2px solid var(--box-highlight);
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
.portlet-head {
background: #fff;
border-top-left-radius: 4px;
@ -36,40 +41,57 @@
.portlet-body {
background: #fff;
padding: 1rem;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.portlet.highlight-1 {
border-top: 0;
.portlet-body {
background: var(--color-red);
color: #fff;
.portlet-body, .portlet-head {
background: var(--color-red);
border: 0;
}
}
.portlet.highlight-2 {
border-top: 0;
.portlet-body {
background: var(--color-green);
color: #fff;
.portlet-body, .portlet-head {
background: var(--color-green);
border: 0;
}
}
.portlet.highlight-3 {
border-top: 0;
.portlet-body {
background: var(--color-blue);
color: #fff;
.portlet-body, .portlet-head {
background: var(--color-blue);
border: 0;
}
}
.portlet.highlight-4 {
border-top: 0;
.portlet-body {
background: var(--color-yellow);
color: #fff;
.portlet-body, .portlet-head {
background: var(--color-yellow);
border: 0;
}
}

File diff suppressed because it is too large Load Diff