summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/toolkit.less
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-31 12:12:53 +0100
committerMartin Fischer <martin@push-f.com>2022-02-01 06:28:26 +0100
commit5012d06e724eb95fd0d881a58e9fee9a0036a210 (patch)
treef64deb492e87f82f50917aec51ca61f271be6806 /searx/static/themes/simple/src/less/toolkit.less
parentfb9eedbf40410a5558bfc03b4c50f7ff41b023b4 (diff)
downloadsearxng-5012d06e724eb95fd0d881a58e9fee9a0036a210.tar.gz
searxng-5012d06e724eb95fd0d881a58e9fee9a0036a210.zip
[simple] allow .tabs to be used for help pages
Diffstat (limited to 'searx/static/themes/simple/src/less/toolkit.less')
-rw-r--r--searx/static/themes/simple/src/less/toolkit.less23
1 files changed, 21 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less
index ed1e1affa..17fe56801 100644
--- a/searx/static/themes/simple/src/less/toolkit.less
+++ b/searx/static/themes/simple/src/less/toolkit.less
@@ -221,6 +221,16 @@ div.selectable_url {
font-size: 90%;
}
+ul.tabs {
+ border-bottom: 1px solid var(--color-toolkit-tabs-section-border);
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ display: flex;
+ }
+}
+
.tabs {
display: flex;
flex-wrap: wrap;
@@ -235,7 +245,8 @@ div.selectable_url {
display: none;
}
- & > label {
+ & > label,
+ & > li > a {
order: 1;
padding: 0.7em;
margin: 0 0.7em;
@@ -243,13 +254,21 @@ div.selectable_url {
text-transform: uppercase;
border: solid var(--color-toolkit-tabs-label-border);
border-width: 0 0 2px 0;
+ color: unset;
.disable-user-select();
cursor: pointer;
+
+ &.active {
+ border-bottom: 2px solid var(--color-categories-item-border-selected);
+ background: var(--color-categories-item-selected);
+ color: var(--color-categories-item-selected-font);
+ }
}
- & > label:hover {
+ & > label:hover,
+ & > li > a:hover {
border-bottom: 2px solid var(--color-categories-item-border-selected);
}