diff --git a/app/styles/input.css b/app/styles/input.css index 4305eab4..4eb30dd1 100644 --- a/app/styles/input.css +++ b/app/styles/input.css @@ -5,9 +5,8 @@ * This file is licensed under the 2-Clause BSD license (see LICENSE.txt). */ -/* - * Common for all inputs - */ +/* ------- SHARED BETWEEN INPUT ELEMENTS -------- */ + :root { --input-xpadding: 1em; } @@ -41,9 +40,7 @@ input:focus-visible::file-selector-button { outline-offset: 1px; } -/* - * Text input - */ +/* ------- TEXT INPUT -------- */ input:not([type]), input[type=date], @@ -64,9 +61,7 @@ textarea { padding: calc(0.5em - 1px) var(--input-xpadding); } -/* - * Button activations - */ +/* ------- BUTTON ACTIVATIONS -------- */ /* A color overlay that depends on the activation level. The level can then be set for different states on an element, for example hover and click on a @@ -129,9 +124,8 @@ input:disabled::file-selector-button, --button-activation-level: 0; } -/* - * Buttons - */ +/* ------- BUTTONS -------- */ + input[type=button], input[type=color], input[type=image], @@ -155,9 +149,8 @@ input[type=image]:disabled { cursor: default; } -/* - * Select dropdowns - */ +/* ------- SELECT BUTTONS ------- */ + select { --select-arrow: url('data:image/svg+xml;utf8, \