summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-29 01:28:34 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-01 17:01:01 +0100
commitf63ca4b1dae6de2cb3965a9e7d984ff2cb9d14e7 (patch)
tree9a8d09318e0b3d62b453f8a908ec86d2d67bad96
parentdf4dd7c1cf457e47615ac687f4e97c1ef24d9b30 (diff)
downloadserver-f63ca4b1dae6de2cb3965a9e7d984ff2cb9d14e7.tar.gz
Set icon size and padding in popup menu items.
-rw-r--r--public/common/client.css12
1 files changed, 11 insertions, 1 deletions
diff --git a/public/common/client.css b/public/common/client.css
index 5f70750..b91ed18 100644
--- a/public/common/client.css
+++ b/public/common/client.css
@@ -349,14 +349,24 @@ menu li.disabled {
}
menu li img {
- vertical-align: top;
+ vertical-align: -4px;
height: 20px;
+ width: 20px;
+ margin-right: 4px;
}
menu li:hover img {
filter: invert(100%);
}
+menu li.disabled img {
+ opacity: 0.5;
+}
+
+menu li.disabled:hover img {
+ filter: none;
+}
+
@media (pointer: coarse) {
menu li:not(.separator) {
padding: 8px;