diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-17 22:31:04 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-17 22:31:04 +0200 |
commit | 24fc8e940a935f0579cf7bc03bf01e27e5853b80 (patch) | |
tree | 8590acda7c4bd8f856e2869ed35a804116926f0d /res/ua.css | |
parent | 7cdb8c1b679431b1be52c9fbb19b67445a0bb588 (diff) | |
download | chawan-24fc8e940a935f0579cf7bc03bf01e27e5853b80.tar.gz |
Implement select element display
You can't actually use them yet. But at least they don't flood the screen with options now.
Diffstat (limited to 'res/ua.css')
-rw-r--r-- | res/ua.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/res/ua.css b/res/ua.css index d67ff13d..cfec5342 100644 --- a/res/ua.css +++ b/res/ua.css @@ -189,6 +189,40 @@ dl[compact] dt + br { display: none; } +select { + display: inline-block; +} + +select { + color: red; +} + +select::before { + content: '['; + color: none; +} + +select::after { + content: ']'; + color: none; +} + +select > option { + display: none; +} + +select > optgroup > option { + display: none; +} + +select > option:checked { + display: inline-block; +} + +select > optgroup > option:checked { + display: inline-block; +} + center { text-align: -moz-center; } |