fix date picker highlighting, v0.1.12
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
2026-02-23 23:28:38 +01:00
parent 5cc3e3646c
commit 4921afe296
3 changed files with 29 additions and 1 deletions

View File

@@ -24,6 +24,30 @@
color: var(--text-soft);
}
.field::selection {
background-color: var(--field-selection-bg);
color: var(--field-selection-text);
-webkit-text-fill-color: var(--field-selection-text);
}
.field[type='date']::-webkit-datetime-edit-day-field:focus,
.field[type='date']::-webkit-datetime-edit-month-field:focus,
.field[type='date']::-webkit-datetime-edit-year-field:focus,
.field[type='time']::-webkit-datetime-edit-hour-field:focus,
.field[type='time']::-webkit-datetime-edit-minute-field:focus,
.field[type='time']::-webkit-datetime-edit-ampm-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-day-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-month-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-year-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-hour-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-minute-field:focus,
.field[type='datetime-local']::-webkit-datetime-edit-ampm-field:focus {
border-radius: 0.375rem;
background-color: var(--field-selection-bg);
color: var(--field-selection-text);
-webkit-text-fill-color: var(--field-selection-text);
}
.field:disabled {
border-color: var(--field-disabled-border);
background-color: var(--field-disabled-bg);