diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 0a68db990..3deed1af4 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/img/logo_netboxlabs_bright_teal.svg b/netbox/project-static/img/logo_netboxlabs_bright_teal.svg deleted file mode 100644 index e2dd3c2fa..000000000 --- a/netbox/project-static/img/logo_netboxlabs_bright_teal.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/netbox/project-static/img/logo_netboxlabs_dark_teal.svg b/netbox/project-static/img/logo_netboxlabs_dark_teal.svg deleted file mode 100644 index 7ac19ef93..000000000 --- a/netbox/project-static/img/logo_netboxlabs_dark_teal.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/netbox/project-static/styles/transitional/_navigation.scss b/netbox/project-static/styles/transitional/_navigation.scss index 2c2b83f60..6321c53a3 100644 --- a/netbox/project-static/styles/transitional/_navigation.scss +++ b/netbox/project-static/styles/transitional/_navigation.scss @@ -57,6 +57,12 @@ // Logo text for non-community editions .navbar-brand { + + // Reduce logo padding on mobile view + @include media-breakpoint-down(lg) { + padding: 0.2rem 0; + } + a:hover { text-decoration: none; } @@ -65,39 +71,26 @@ letter-spacing: .25rem; text-align: center; } - &-image-edition { - height: 1.2rem; - width: auto; - } } // Navigation geometric graphic for non-community editions - .netbox-motif { - height: 100%; - left: 0; + img.motif { + bottom: 0; + display: none; + left:0; + mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 100%); + opacity: .5; position: absolute; - width: 100%; - - img { - bottom: 0; - mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 100%); - opacity: .25; - position: absolute; - user-drag: none; - user-select: none; - -moz-user-select: none; - -webkit-user-drag: none; - -webkit-user-select: none; - -ms-user-select: none; - width:100%; - } + user-drag: none; + user-select: none; + -moz-user-select: none; + -webkit-user-drag: none; + -webkit-user-select: none; + -ms-user-select: none; + width:100%; @include media-breakpoint-up(lg) { - bottom: 0; - - img { - opacity: .5; - } + display: block; } } } @@ -135,10 +128,7 @@ body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { color: $bright-teal!important; } - // Navigation geometric graphic for non-community editions - .netbox-motif { - img { - opacity: .25; - } + img.motif { + opacity: .25; } } diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index c52de36c5..d374b98cc 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -20,13 +20,12 @@ Blocks: {# Sidebar #}