about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/ua.css26
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 {