chore: style cleanup

This commit is contained in:
Cory Dransfeldt 2024-08-12 19:44:13 -07:00
parent c3cf28179a
commit 552b342051
No known key found for this signature in database
31 changed files with 62 additions and 78 deletions

View file

@ -9,7 +9,6 @@ button,
&:not(.theme-toggle) {
border: 2px solid var(--accent-color);
padding: var(--sizing-sm) var(--sizing-lg);
margin: 0 var(--sizing-xs) var(--sizing-md) 0;
cursor: pointer;
display: inline-flex;
flex-direction: row;

View file

@ -15,11 +15,18 @@ textarea {
font-size: var(--font-size-base);
width: 100%;
border-radius: 0;
margin-bottom: var(--sizing-base);
font-weight: var(--font-weight-base);
line-height: var(--line-height-base);
}
label:has(input):has(+ *) input,
input[type="text"]:has(+ *),
input[type="email"]:has(+ *),
input[type="search"]:has(+ *),
textarea:has(+ *) {
margin-bottom: var(--sizing-base);
}
input:focus,
input:focus-within,
textarea:focus,

View file

@ -13,6 +13,10 @@ input[id="tracks-window"] ~ [for="tracks-window"] {
margin-bottom: var(--sizing-lg);
}
input[id="tracks-recent"] ~ [for="tracks-recent"]:has(+ [for="tracks-window"]) {
margin-right: var(--sizing-xs);
}
#tracks-recent:not(:checked) ~ [for="tracks-recent"]:hover,
#tracks-recent:not(:checked) ~ [for="tracks-recent"]:active,
#tracks-window:not(:checked) ~ [for="tracks-window"]:hover,

View file

@ -20,6 +20,6 @@
}
}
[data-toggle-content]+button[data-toggle-button]:has(+ table) {
[data-toggle-content] + button[data-toggle-button]:has(+ table) {
margin: 0 0 var(--sizing-base);
}