diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2024-11-29 19:21:58 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2024-11-29 19:21:58 +0300 |
commit | b7da3792b8abd47bf262f9fdc3bb89f6b424ac77 (patch) | |
tree | b466a2947d9204fbb1071d2e76a4624701be7de6 /interface/css | |
parent | 6c0223b32b8fcb6621fa64197214abb400a09f52 (diff) | |
download | rspamd-b7da3792b8abd47bf262f9fdc3bb89f6b424ac77.tar.gz rspamd-b7da3792b8abd47bf262f9fdc3bb89f6b424ac77.zip |
[WebUI] Rework symbol description display on hover
- Replaced 'abbr title' with dynamic description display on hover or focus
- Added tabindex for keyboard accessibility
- Improved symbol rendering using template literals for readability
Diffstat (limited to 'interface/css')
-rw-r--r-- | interface/css/rspamd.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index e7c1e91b8..896f92008 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -265,6 +265,19 @@ table#symbolsTable input[type="number"] { background-color: #cddbff; } +/* For symbol description display on hover/focus */ +.symbol-default.has-description:not(:focus) strong { + text-decoration: underline dotted; +} +.symbol-description { + display: none; + color: #484848; +} +.symbol-default:hover .symbol-description, +.symbol-default:focus .symbol-description { + display: unset; +} + .map-link { display: block; color: #0088cc; |