From cac48fc4bf2d36004dce57be0c6039460b4d2fd5 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 24 Jan 2023 09:29:00 +0000 Subject: use light colored navbar for light mode - this makes the focus light schema redundant --- view/theme/redbasic/css/style.css | 4 ++-- view/theme/redbasic/php/style.php | 4 ++-- view/theme/redbasic/schema/Focus-Light.css | 10 ---------- view/theme/redbasic/schema/Focus-Light.php | 13 ------------- 4 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 view/theme/redbasic/schema/Focus-Light.css delete mode 100644 view/theme/redbasic/schema/Focus-Light.php (limited to 'view/theme') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index b93738b00..a31c5ec32 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -26,11 +26,11 @@ --hz-body-bg-image: url('$background_image_dark'); } -[data-bs-theme=light] .navbar-dark.bg-dark { +[data-bs-theme=light] .navbar.bg-body-tertiary { background-color: $nav_bg !important; } -[data-bs-theme=dark] .navbar-dark.bg-dark { +[data-bs-theme=dark] .navbar.bg-body-tertiary { background-color: $nav_bg_dark !important; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index aef688ef2..b58ac98d8 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -72,10 +72,10 @@ if ((!$schema) || ($schema == '---')) { //Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting //individually. If we don't, we'll have problems if a user has set one, but not all options. if (! $nav_bg) - $nav_bg = 'rgba(33, 37, 41, 1)'; + $nav_bg = 'rgba(248, 249, 250, 1)'; if (! $nav_bg_dark) - $nav_bg_dark = 'rgba(0, 0, 0, 1)'; + $nav_bg_dark = 'rgba(43, 48, 53, 1)'; if (! $link_color) $link_color = '#0d6efd'; diff --git a/view/theme/redbasic/schema/Focus-Light.css b/view/theme/redbasic/schema/Focus-Light.css deleted file mode 100644 index bc5da2a1d..000000000 --- a/view/theme/redbasic/schema/Focus-Light.css +++ /dev/null @@ -1,10 +0,0 @@ -.dropdown-header.text-white-50, -.navbar-dark .navbar-toggler, -.navbar-dark .nav-link:active, .navbar-dark .nav-link.active, -.navbar-dark .navbar-text, .navbar-dark .nav-link, .navbar-dark .nav-link:hover { - color: var(--bs-secondary) !important; -} - -.navbar-dark.bg-dark { - background-color: var(--bs-tertiary-bg) !important; -} diff --git a/view/theme/redbasic/schema/Focus-Light.php b/view/theme/redbasic/schema/Focus-Light.php deleted file mode 100644 index 8a542d1b8..000000000 --- a/view/theme/redbasic/schema/Focus-Light.php +++ /dev/null @@ -1,13 +0,0 @@ -