mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
Change color of the hovered navbar element, remove underline on all navbar elements
This commit is contained in:
parent
bfc452658a
commit
fb4848f960
1 changed files with 33 additions and 12 deletions
|
@ -388,6 +388,10 @@ function more(ev: MouseEvent) {
|
|||
> .middle {
|
||||
flex: 0.1;
|
||||
|
||||
> a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
> .divider {
|
||||
margin: 16px 16px;
|
||||
border-top: solid 0.5px var(--divider);
|
||||
|
@ -427,17 +431,6 @@ function more(ev: MouseEvent) {
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
text-decoration: none;
|
||||
color: var(--navHoverFg);
|
||||
transition: all 0.4s ease;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: var(--navActive);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within,
|
||||
&.active {
|
||||
|
@ -456,6 +449,18 @@ function more(ev: MouseEvent) {
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: 999px;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:before {
|
||||
background: var(--panelHighlight);
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
&:before {
|
||||
background: var(--accentedBg);
|
||||
}
|
||||
}
|
||||
|
@ -568,6 +573,10 @@ function more(ev: MouseEvent) {
|
|||
> .middle {
|
||||
flex: 0.1;
|
||||
|
||||
> a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
> .divider {
|
||||
margin: 8px auto;
|
||||
width: calc(100% - 32px);
|
||||
|
@ -620,7 +629,6 @@ function more(ev: MouseEvent) {
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
border-radius: 999px;
|
||||
background: var(--accentedBg);
|
||||
}
|
||||
|
||||
> .icon,
|
||||
|
@ -628,6 +636,19 @@ function more(ev: MouseEvent) {
|
|||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
&:before {
|
||||
background: var(--panelHighlight);
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
&:before {
|
||||
background: var(--accentedBg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue