mirror of
https://github.com/searxng/searxng.git
synced 2024-12-22 17:26:30 +00:00
[simple] allow .tabs to be used for help pages
This commit is contained in:
parent
fb9eedbf40
commit
5012d06e72
1 changed files with 21 additions and 2 deletions
|
@ -221,6 +221,16 @@ div.selectable_url {
|
||||||
font-size: 90%;
|
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 {
|
.tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -235,7 +245,8 @@ div.selectable_url {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > label {
|
& > label,
|
||||||
|
& > li > a {
|
||||||
order: 1;
|
order: 1;
|
||||||
padding: 0.7em;
|
padding: 0.7em;
|
||||||
margin: 0 0.7em;
|
margin: 0 0.7em;
|
||||||
|
@ -243,13 +254,21 @@ div.selectable_url {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
border: solid var(--color-toolkit-tabs-label-border);
|
border: solid var(--color-toolkit-tabs-label-border);
|
||||||
border-width: 0 0 2px 0;
|
border-width: 0 0 2px 0;
|
||||||
|
color: unset;
|
||||||
|
|
||||||
.disable-user-select();
|
.disable-user-select();
|
||||||
|
|
||||||
cursor: pointer;
|
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);
|
border-bottom: 2px solid var(--color-categories-item-border-selected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue