summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-10-30 15:31:32 +0100
committerYorhel <git@yorhel.nl>2020-10-30 15:31:34 +0100
commitfea77782483a35c9725f968caff22fd2c3c222e7 (patch)
treeea3ee9d0d87875b626dc03e33e561da813f52fb7 /data
parent9c1db18fbf4695f96685bb48c0b0657daa4e4046 (diff)
Advsearch: Attempt to make language filter more intuitive
Add title/description to the dropdown header, so people know what they're searching for. Rename 'and/or' to 'all/any' (not sure if that's an improvement, though) and try to fully display all options and languages in the tiny little dropdown box. Also, proper use of mathematical symbols. \o/
Diffstat (limited to 'data')
-rw-r--r--data/style.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/style.css b/data/style.css
index 6aafc0a0..52afcfe9 100644
--- a/data/style.css
+++ b/data/style.css
@@ -71,6 +71,7 @@ div.warning h2, div.notice h2 { font-size: 13px; font-weight: bold; margin: 0; }
.elm_dd > a { color: $maintext$; display: block; border: none; padding-right: 15px; position: relative }
.elm_dd > a > span:last-child { position: absolute; right: 5px; top: 0; width: 16px; text-align: right; display: block }
.elm_dd > a > span:last-child i { visibility: hidden; font-style: normal }
+.elm_dd > a .nowrap { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elm_dd > a:hover > span:last-child > i,
.elm_dd > a:focus > span:last-child > i { visibility: visible }
.elm_dd > div { position: relative; float: right; width: 0; height: 0 }
@@ -1116,8 +1117,10 @@ p.filselect i { font-style: normal }
.advsearch { width: 90%; margin: 0 5%; }
.advsearch .quickselect { width: 100%; display: flex; justify-content: center }
.advsearch .quickselect > * { margin: 5px; width: 150px }
-.advsearch .advopts { box-sizing: border-box; background-color: $_blendbg$; padding: 3px; width: 100%; display: flex; justify-content: space-between }
-.advsearch .advopts > * { margin: 0 }
+.advsearch .advheader { box-sizing: border-box; background-color: $_blendbg$; padding: 3px; width: 100% }
+.advsearch .advheader > h3 { text-align: center; font-weight: bold; font-size: inherit }
+.advsearch .advheader .opts { display: flex; justify-content: space-between }
+.advsearch .advheader .opts > * { margin: 0 }