diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 6de52c354..69fe83213 100644 Binary files a/netbox/project-static/dist/netbox.css and b/netbox/project-static/dist/netbox.css differ diff --git a/netbox/project-static/styles/custom/_misc.scss b/netbox/project-static/styles/custom/_misc.scss index 623c5f844..8461e71ed 100644 --- a/netbox/project-static/styles/custom/_misc.scss +++ b/netbox/project-static/styles/custom/_misc.scss @@ -39,5 +39,11 @@ span.color-label { position: sticky; bottom: 0px; z-index: 1; - padding: 2px 0px 10px 0px; + float: right; + padding: 0 0 10px; +} + +// Override a transparent background +.btn-float { + --tblr-btn-bg: var(--#{$prefix}bg-surface-tertiary) !important; } diff --git a/netbox/project-static/styles/overrides/_tabler.scss b/netbox/project-static/styles/overrides/_tabler.scss index 9899d2dd0..252da8f4a 100644 --- a/netbox/project-static/styles/overrides/_tabler.scss +++ b/netbox/project-static/styles/overrides/_tabler.scss @@ -52,7 +52,7 @@ pre { } // Altering background colors -.page, .page-tabs .nav-tabs .nav-link.active, .btn-float-group { +.page, .page-tabs .nav-tabs .nav-link.active { background-color: var(--#{$prefix}bg-surface-tertiary) !important; } .page-body .card .card-header { @@ -105,7 +105,7 @@ body[data-bs-theme=dark] { .navbar, .page-header { background-color: $rich-black; } - .page, .page-tabs .nav-tabs .nav-link.active, .btn-float-group { + .page, .page-tabs .nav-tabs .nav-link.active { background-color: $rich-black-light !important; } diff --git a/netbox/templates/generic/bulk_edit.html b/netbox/templates/generic/bulk_edit.html index dc82bdb8c..5e5e8ec62 100644 --- a/netbox/templates/generic/bulk_edit.html +++ b/netbox/templates/generic/bulk_edit.html @@ -102,8 +102,8 @@ Context: {% endif %} -
- {% trans "Cancel" %} +
+ {% trans "Cancel" %}
diff --git a/netbox/templates/generic/object_edit.html b/netbox/templates/generic/object_edit.html index 1eaf68291..923b04aac 100644 --- a/netbox/templates/generic/object_edit.html +++ b/netbox/templates/generic/object_edit.html @@ -67,9 +67,9 @@ Context: {% endblock form %}
-
+
{% block buttons %} - {% trans "Cancel" %} + {% trans "Cancel" %} {% if object.pk %} -
diff --git a/netbox/templates/inc/filter_list.html b/netbox/templates/inc/filter_list.html index b5241b5ed..01f3fbb0e 100644 --- a/netbox/templates/inc/filter_list.html +++ b/netbox/templates/inc/filter_list.html @@ -37,13 +37,13 @@
{% endif %} - + +
+ +