diff options
Diffstat (limited to 'res/ua.css')
-rw-r--r-- | res/ua.css | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/res/ua.css b/res/ua.css index cfec5342..45ea2729 100644 --- a/res/ua.css +++ b/res/ua.css @@ -193,34 +193,38 @@ select { display: inline-block; } -select { - color: red; -} - select::before { content: '['; color: none; + display: inline-block; } select::after { content: ']'; color: none; + display: inline-block; } -select > option { +select > :is(option, optgroup > option) { display: none; } -select > optgroup > option { - display: none; +select > :is(option, optgroup > option):checked { + display: inline-block; + color: red; } -select > option:checked { - display: inline-block; +select:focus > :is(option, optgroup > option) { + display: list-item; + color: white; } -select > optgroup > option:checked { - display: inline-block; +select:focus > :is(option, optgroup > option):checked { + color: pink; +} + +select:focus > :is(option, optgroup > option):hover { + color: red; } center { |