mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-08-23 18:31:43 +02:00
Merge branch 'smooth-chevron-transition' into 'master'
[CHANGE] Chevrons in side menu now rotate smoothly instead of snapping See merge request allianceauth/allianceauth!1740
This commit is contained in:
commit
9f86971ce2
@ -67,15 +67,12 @@
|
||||
}
|
||||
|
||||
/* Chevron icons */
|
||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="true"] > i.fa-chevron-down,
|
||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="false"] > i.fa-chevron-right {
|
||||
display: block;
|
||||
width: 16px;
|
||||
#sidebar-menu span[data-bs-toggle="collapse"] > i.fa-chevron-right {
|
||||
transition: 0.25s transform ease-in-out;
|
||||
}
|
||||
|
||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="true"] > i.fa-chevron-right,
|
||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="false"] > i.fa-chevron-down {
|
||||
display: none;
|
||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="true"] > i.fa-chevron-right {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,8 +43,7 @@
|
||||
aria-expanded="false"
|
||||
aria-controls=""
|
||||
>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fa-solid fa-chevron-right"></i>
|
||||
</span>
|
||||
<ul
|
||||
class="collapse ps-1 w-100 border-start rounded-start border-light border-3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user