From d3365122d7b0abfef33aa6664e803aaa574fc8fa Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 2 Aug 2024 09:19:22 -0400 Subject: [PATCH] Misc cleanup & refactoring --- netbox/project-static/dist/netbox.css | Bin 556962 -> 556903 bytes .../styles/overrides/_tabler.scss | 90 ++++++++---------- .../styles/transitional/_navigation.scss | 19 ++-- netbox/templates/base/layout.html | 2 +- 4 files changed, 51 insertions(+), 60 deletions(-) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 24ebd7b7a0a6a4592c9f84061435a715b010a0a2..42639c31d76f6defb1eb7923d46b37cfea941d93 100644 GIT binary patch delta 151 zcmV;I0BHZB{~_o8A%KJdgaU*Egam{Iga(8Mvu#WO8qCWN&wFlbkOcm$F_6E|-EX0TY)KBLfr%eJ*feXJssxP<99umk?eEp_dYB z1xuItpaBiHzFY_o0hefE2pE@bS^*lD%wGshm+V^zC6~-!2pN|qTnIpyB4G#`w;5mv Fi60CkGqnH! delta 214 zcmaFF7M2#)7Pc1lEgX^2)0?6>WT!JTF^W%@jNuTT-lWGU#Hce} zJBCALx=7s%~*=a(-S) zVo{}DVsc4lS*ng+Qc0dJhV0~pKO`m}IKa-Lo0hIQJ+Od7a{7Zfj.page-link { @@ -126,16 +116,16 @@ body[data-bs-theme=dark] { // Adjusting text colors .text- { &bg-primary { - color: $rich-black!important; + color: $rich-black !important; } &muted { color: var(--#{$prefix}secondary-color) !important; } &secondary { - color: $gray-400!important; + color: $gray-400 !important; } } .footer .text-primary { - color: white!important; + color: white !important; } } diff --git a/netbox/project-static/styles/transitional/_navigation.scss b/netbox/project-static/styles/transitional/_navigation.scss index 63adb8467..67aa19935 100644 --- a/netbox/project-static/styles/transitional/_navigation.scss +++ b/netbox/project-static/styles/transitional/_navigation.scss @@ -9,10 +9,10 @@ // Adjust hover color & style for menu items .navbar-collapse { .nav-link-icon { - color: var(--tblr-nav-link-color)!important; + color: var(--tblr-nav-link-color) !important; } .text-secondary { - color: $dark-teal!important; + color: $dark-teal !important; } .dropdown-menu { @@ -94,6 +94,7 @@ // Light theme styling body[data-bs-theme=light] .navbar-vertical.navbar-expand-lg { + // Background Gradient background: linear-gradient(180deg, rgba(0, 133, 125, 0.00) 0%, rgba(0, 133, 125, 0.10) 100%), #FFF; } @@ -105,29 +106,29 @@ body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { // Border color for active dropdown list .nav-item.dropdown.active:after { - border-color: $bright-teal!important; + border-color: $bright-teal !important; } // Adjust hover color & style for menu items .dropdown-item { a { - color: white!important; + color: white !important; } &.active { - background-color: $navbar-dark-active-bg!important; + background-color: $navbar-dark-active-bg !important; a { - color: white!important; + color: white !important; } } &:hover { - background-color: $navbar-dark-active-bg!important; + background-color: $navbar-dark-active-bg !important; } .nav-link-title { - color: white!important; + color: white !important; } } .text-secondary { - color: $bright-teal!important; + color: $bright-teal !important; } img.motif { diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index 280406e0b..693a1a017 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -37,7 +37,7 @@ Blocks: {% trans {% trans -
{{ settings.RELEASE.edition }}
+
{{ settings.RELEASE.edition }}