change server-item spot hover effect
now covers the full height, and the border radius of the server item creates straight edges to meet the expanded spot icon
This commit is contained in:
parent
8a563ca51e
commit
4bad3fb45b
@ -144,7 +144,17 @@
|
||||
// Highlight effect
|
||||
&:not(:disabled):hover,
|
||||
&:not(:disabled):focus,
|
||||
&.active { background-color: var(--bs-body-bg); }
|
||||
&.active {
|
||||
|
||||
background-color: var(--bs-body-bg);
|
||||
|
||||
&.spot {
|
||||
|
||||
border-radius: 0 $border-radius-sm $border-radius-sm 0;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 'Spot' is an alert indicator, that appears as a coloured dot against a sidebar item
|
||||
&.spot {
|
||||
@ -168,9 +178,9 @@
|
||||
&:not(:disabled):focus::before,
|
||||
&.active::before {
|
||||
|
||||
transform: 0.15s ease;
|
||||
transition: 0.15s ease;
|
||||
width: 0.25rem;
|
||||
height: 60px;
|
||||
height: 100%;
|
||||
border-radius: 0.25rem 0 0 0.25rem;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user