mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
Remove .navbar-brand-autodark from logo
This commit is contained in:
parent
9a95969e8a
commit
c6856345ee
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -51,11 +51,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Fixes bug where user loads page on dark mode, switches to light mode but filter is not removed
|
||||
[data-bs-theme=dark] .navbar-brand-autodark .navbar-brand-image {
|
||||
filter: none!important;
|
||||
}
|
||||
|
||||
// Dark theme styling
|
||||
body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg {
|
||||
|
||||
@ -88,9 +83,4 @@ body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg {
|
||||
.text-secondary {
|
||||
color: $bright-teal!important;
|
||||
}
|
||||
|
||||
// Override svg logo fill
|
||||
.navbar-brand-autodark .navbar-brand-image {
|
||||
filter: none!important;
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ Blocks:
|
||||
</button>
|
||||
|
||||
{# Logo #}
|
||||
<h1 class="navbar-brand navbar-brand-autodark">
|
||||
<h1 class="navbar-brand">
|
||||
<a href="{% url 'home' %}">
|
||||
<img src="{% static 'netbox_logo_dark_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-dark">
|
||||
<img src="{% static 'netbox_logo_bright_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-light">
|
||||
|
Loading…
Reference in New Issue
Block a user