mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-08-24 02:41:42 +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 */
|
/* Chevron icons */
|
||||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="true"] > i.fa-chevron-down,
|
#sidebar-menu span[data-bs-toggle="collapse"] > i.fa-chevron-right {
|
||||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="false"] > i.fa-chevron-right {
|
transition: 0.25s transform ease-in-out;
|
||||||
display: block;
|
|
||||||
width: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-menu span[data-bs-toggle="collapse"][aria-expanded="true"] > i.fa-chevron-right,
|
#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 {
|
transform: rotate(90deg);
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,8 +43,7 @@
|
|||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-controls=""
|
aria-controls=""
|
||||||
>
|
>
|
||||||
<i class="fas fa-chevron-right"></i>
|
<i class="fa-solid fa-chevron-right"></i>
|
||||||
<i class="fas fa-chevron-down"></i>
|
|
||||||
</span>
|
</span>
|
||||||
<ul
|
<ul
|
||||||
class="collapse ps-1 w-100 border-start rounded-start border-light border-3"
|
class="collapse ps-1 w-100 border-start rounded-start border-light border-3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user