Style updates

This commit is contained in:
Joren de Graaf
2026-08-11 16:31:44 +02:00
parent 07edb78862
commit d3312c3bc8
3 changed files with 416 additions and 14 deletions
+51 -11
View File
@@ -10,6 +10,7 @@ body {
background-color: #108ac2;
font-family: 'Noto Sans', sans-serif;
}
:root {
--container-max: 1280px;
--container-gutter: clamp(1rem, 3vw, 2rem);
@@ -25,9 +26,21 @@ body {
margin-inline: auto;
}
.container-flex--narrow { --container-max: 720px; } // readable text/forms
.container-flex--wide { --container-max: 1440px; } // dashboards/grids
.container-flex--full { --container-max: none; } // still preserves gutters
.container-flex--narrow {
--container-max: 720px;
}
// readable text/forms
.container-flex--wide {
--container-max: 1440px;
}
// dashboards/grids
.container-flex--full {
--container-max: none;
}
// still preserves gutters
.task-list-header {
display: flex;
@@ -83,7 +96,7 @@ body {
}
.social-battery__levels label {
display: grid!important;
display: grid !important;
place-items: center;
width: 2.25rem;
height: 2.25rem;
@@ -99,12 +112,12 @@ body {
transform: translateY(-2px);
}
.social-battery__input:checked + label {
.social-battery__input:checked+label {
color: #fff;
background: #087aa9;
}
.social-battery__input:focus-visible + label {
.social-battery__input:focus-visible+label {
outline: 3px solid #07384d;
outline-offset: 2px;
}
@@ -116,6 +129,33 @@ body {
}
}
.task-composer {
background-color: #fff;
border-radius: 10px;
margin-bottom: 50px;
flex-direction: column;
form.task-composer__form {
width: 100%;
max-width: unset;
box-shadow: unset;
label,
input,
textarea{
max-width: unset;
}
}
&__main {
width: 100%;
}
&__details {
display: flex;
gap: 25px;
input[type=checkbox] {
height: 30px;
}
}
}
.task-list__item {
display: flex;
align-items: center;
@@ -167,19 +207,19 @@ body {
color: #0b5d2c;
}
.task-list__checkbox:checked + .task-list__toggle {
.task-list__checkbox:checked+.task-list__toggle {
color: #8df0ae;
}
.task-list__checkbox:checked + .task-list__toggle .task-list__toggle-icon--unchecked {
.task-list__checkbox:checked+.task-list__toggle .task-list__toggle-icon--unchecked {
display: none;
}
.task-list__checkbox:checked + .task-list__toggle .task-list__toggle-icon--checked {
.task-list__checkbox:checked+.task-list__toggle .task-list__toggle-icon--checked {
display: block;
}
.task-list__checkbox:focus-visible + .task-list__toggle {
.task-list__checkbox:focus-visible+.task-list__toggle {
outline: 3px solid #fff;
outline-offset: 3px;
}
@@ -216,4 +256,4 @@ body {
.task-list__item--completed .task-list__title {
opacity: .65;
text-decoration: line-through;
}
}