[CHANGE] Move what ever is possible to our framework CSS

This commit is contained in:
Peter Pfeufer 2025-04-06 22:22:54 +02:00
parent 7b95051fe1
commit fb799551aa
No known key found for this signature in database
2 changed files with 22 additions and 15 deletions

View File

@ -5,6 +5,24 @@
* to be used throughout Alliance Auth and its Community Apps
*/
/* General
------------------------------------------------------------------------------------- */
@media all {
.navbar-toggler.collapsed {
transform: rotate(180deg);
}
ul#nav-right:has(li) + ul#nav-right-character-control > li:first-child {
display: list-item !important;
}
}
@media all and (max-width: 991px) {
ul#nav-left:has(li) + ul#nav-right + ul#nav-right-character-control > li:first-child {
display: list-item !important;
}
}
/* Bootstrap fixes
------------------------------------------------------------------------------------- */
@media all {

View File

@ -24,22 +24,11 @@
{% include 'bundles/auth-framework-css.html' %}
<style>
.navbar-toggler.collapsed {
transform: rotate(180deg);
}
@media all {
.nav-padding {
margin-top: {% header_padding_size %} !important;
max-height: calc(100vh - {% header_padding_size %}) !important;
}
ul#nav-right:has(li) + ul#nav-right-character-control > li:first-child {
display: list-item !important;
}
@media all and (max-width: 991px) {
ul#nav-left:has(li) + ul#nav-right + ul#nav-right-character-control > li:first-child {
display: list-item !important;
}
}
</style>