From fb799551aa81b79d202004ed08007baf4c6319f5 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sun, 6 Apr 2025 22:22:54 +0200 Subject: [PATCH] [CHANGE] Move what ever is possible to our framework CSS --- .../framework/css/auth-framework.css | 18 ++++++++++++++++++ .../templates/allianceauth/base-bs5.html | 19 ++++--------------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css b/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css index defc5a09..628c76ec 100644 --- a/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css +++ b/allianceauth/framework/static/allianceauth/framework/css/auth-framework.css @@ -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 { diff --git a/allianceauth/templates/allianceauth/base-bs5.html b/allianceauth/templates/allianceauth/base-bs5.html index da6c4b16..d0f6178a 100644 --- a/allianceauth/templates/allianceauth/base-bs5.html +++ b/allianceauth/templates/allianceauth/base-bs5.html @@ -24,21 +24,10 @@ {% include 'bundles/auth-framework-css.html' %}