mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
Clean up nav menu styling
This commit is contained in:
parent
feda63d6a7
commit
bc6508c0d9
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -3,10 +3,16 @@
|
||||
.navbar-collapse {
|
||||
.dropdown-menu {
|
||||
.dropdown-item {
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
// Remove underline from nav menu items
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
// Adjust hover color & style for menu items
|
||||
&:hover {
|
||||
background-color: $gray-700;
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Style active menu item
|
||||
|
@ -19,12 +19,12 @@
|
||||
<div class="dropdown-menu-columns">
|
||||
<div class="dropdown-menu-column pb-2">
|
||||
{% for group, items in groups %}
|
||||
<div class="dropdown-item text-uppercase fw-bold fs-5 ps-3 pt-3 pb-1">
|
||||
<div class="text-uppercase fw-bold fs-5 ps-3 pt-3 pb-1">
|
||||
{{ group.label }}
|
||||
</div>
|
||||
{% for item, buttons in items %}
|
||||
<div class="dropdown-item d-flex justify-content-between ps-3 py-1">
|
||||
<a href="{% url item.link %}" class="d-inline-flex flex-fill">{{ item.link_text }}</a>
|
||||
<div class="dropdown-item d-flex justify-content-between ps-3 py-0">
|
||||
<a href="{% url item.link %}" class="d-inline-flex flex-fill py-1">{{ item.link_text }}</a>
|
||||
{% if buttons %}
|
||||
<div class="btn-group ms-1">
|
||||
{% for button in buttons %}
|
||||
|
Loading…
Reference in New Issue
Block a user