dropdown field arrow

This commit is contained in:
stefan.tollkuehn committed 2026-10-22 18:35:57 +02:00
1 parent 97ebaf3c06
commit 819109d5a4
2 files changed
+43 -10

No files matched your search

+31
View File
@@ -72,6 +72,37 @@
overflow-wrap: anywhere;
}
/*
* Select box with a theme-colored chevron instead of the
* native arrow, which is not visible on every platform.
*
* ┌───────────────────────────────┐
* │ Personal ⌄ │
* └───────────────────────────────┘
*/
.atocal-select {
position: relative;
display: block;
}
.atocal-select::after {
content: "";
position: absolute;
top: calc(50% - 5px);
right: 12px;
width: 8px;
height: 8px;
border-right: 2px solid var(--color-text-maxcontrast);
border-bottom: 2px solid var(--color-text-maxcontrast);
transform: rotate(45deg);
pointer-events: none;
}
.atocal-select select {
appearance: none;
padding-right: 32px;
}
.atocal-row select,
.atocal-row input[type="text"] {
align-self: center;