Logo & edition cleanup

This commit is contained in:
Jeremy Stretch 2024-08-01 20:18:30 -04:00
parent d2a2b00338
commit 9917979ade
5 changed files with 10 additions and 8 deletions

Binary file not shown.

View File

@ -28,3 +28,8 @@ span.color-label {
visibility: hidden;
opacity: 0;
}
// NetBox edition text
.netbox-edition {
letter-spacing: .15rem;
}

View File

@ -68,11 +68,6 @@
a:hover {
text-decoration: none;
}
.netbox-edition {
font-size: .7rem;
letter-spacing: .15rem;
text-align: center;
}
}
// Navigation geometric graphic for non-community editions

View File

@ -33,11 +33,11 @@ Blocks:
</button>
{# Logo #}
<h1 class="navbar-brand">
<h1 class="navbar-brand pb-0">
<a href="{% url 'home' %}">
<img src="{% static 'logo_netbox_dark_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-dark">
<img src="{% static 'logo_netbox_bright_teal.svg' %}" alt="{% trans "NetBox Logo" %}" class="navbar-brand-image hide-theme-light">
<div class="netbox-edition fw-semibold mt-2">{{ settings.RELEASE.edition }}</div>
<div class="netbox-edition fw-semibold text-center fs-5 mt-2">{{ settings.RELEASE.edition }}</div>
</a>
</h1>

View File

@ -11,7 +11,9 @@
{# NetBox logo #}
<div class="text-center mb-4">
<img src="{% static 'netbox_logo.svg' %}" height="80" alt="{% trans "NetBox logo" %}" />
<img src="{% static 'logo_netbox_dark_teal.svg' %}" alt="{% trans "NetBox Logo" %}" height="80" class="hide-theme-dark">
<img src="{% static 'logo_netbox_bright_teal.svg' %}" alt="{% trans "NetBox Logo" %}" height="80" class="hide-theme-light">
<div class="netbox-edition fw-semibold">{{ settings.RELEASE.edition }}</div>
</div>
{# Login banner #}