From 7a2a78988dbe28b66dac9f5f3bd26a7fc7f70c9b Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 16 Jul 2024 15:31:20 -0400 Subject: [PATCH] Clean up redundant styling (merge error) --- netbox/project-static/dist/netbox.css | Bin 557305 -> 557095 bytes .../styles/transitional/_navigation.scss | 44 ------------------ 2 files changed, 44 deletions(-) diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index 96d758ad73edde5e7b6dddc0578813ec7830c48c..0a68db990b3af9c33786e2e17a69b7289cccf78d 100644 GIT binary patch delta 65 zcmey_sIwrj70Uns delta 95 zcmZ49p!Bm*siB3jg{g(Pg{6hHg{_5s3&-62=|WkoBGdWGSdFJI%w!dw&R@u3G2OwJ rk$rl94hQRWnKD*YB#DN64k;!h)9DR`9M;>f=W|3dZ|^MTn8yPE!L%Ml diff --git a/netbox/project-static/styles/transitional/_navigation.scss b/netbox/project-static/styles/transitional/_navigation.scss index 22cc2fbf9..2c2b83f60 100644 --- a/netbox/project-static/styles/transitional/_navigation.scss +++ b/netbox/project-static/styles/transitional/_navigation.scss @@ -102,11 +102,6 @@ } } -// Fixes bug where user loads page on dark mode, switches to light mode but filter is not removed -[data-bs-theme=dark] .navbar-brand-autodark .navbar-brand-image { - filter: none!important; -} - // Dark theme styling body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { @@ -140,11 +135,6 @@ body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { color: $bright-teal!important; } - // Override svg logo fill - .navbar-brand-autodark .navbar-brand-image { - filter: none!important; - } - // Navigation geometric graphic for non-community editions .netbox-motif { img { @@ -152,37 +142,3 @@ body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { } } } - -// Dark theme styling -body[data-bs-theme=dark] .navbar-vertical.navbar-expand-lg { - - // Background Gradient - background: linear-gradient(180deg, rgba(0, 242, 212, 0.00) 0%, rgba(0, 242, 212, 0.10) 100%), #001423; - - // Border color for active dropdown list - .nav-item.dropdown.active:after { - border-color: $bright-teal!important; - } - - // Adjust hover color & style for menu items - .dropdown-item { - a { - color: white!important; - } - &.active { - background-color: $navbar-dark-active-bg!important; - a { - color: white!important; - } - } - &:hover { - background-color: $navbar-dark-active-bg!important; - } - .nav-link-title { - color: white!important; - } - } - .text-secondary { - color: $bright-teal!important; - } -}