keep hover state when sidebar button's dropdown is showing
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
This commit is contained in:
parent
233968634b
commit
2d1ccb4a00
@ -251,7 +251,7 @@
|
||||
color: var(--bs-body-color);
|
||||
background-color: inherit;
|
||||
|
||||
&:hover, &:focus, &.active { background-color: var(--bs-body-bg); }
|
||||
&:hover, &:focus, &.active, &:has(>.show) { background-color: var(--bs-body-bg); }
|
||||
|
||||
&.sidebar-mini-btn {
|
||||
|
||||
@ -310,7 +310,7 @@
|
||||
background-color: inherit;
|
||||
border-radius: $border-radius-sm;
|
||||
|
||||
&:hover, &:focus { background-color: var(--bs-tertiary-bg); }
|
||||
&:hover, &:focus { background-color: var(--bs-body-bg); }
|
||||
|
||||
&.active {
|
||||
|
||||
@ -326,11 +326,18 @@
|
||||
.dropdown-menu {
|
||||
|
||||
border: none;
|
||||
border-radius: var(--bs-border-radius-sm);
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
padding: 0.25rem;
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
border-radius: var(--bs-border-radius-sm);
|
||||
background-color: var(--bs-tertiary-bg);
|
||||
|
||||
.dropdown-item { border-radius: var(--bs-border-radius-sm); }
|
||||
.dropdown-item {
|
||||
|
||||
border-radius: var(--bs-border-radius-sm);
|
||||
|
||||
&:hover, &:focus { background-color: var(--bs-body-bg); }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user