From e22d54aba690efa6e720b5c2e9fe6d78ae601240 Mon Sep 17 00:00:00 2001 From: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Fri, 12 Feb 2021 11:45:22 +0200 Subject: [PATCH] Update night mode for query page and player tables --- .../main/resources/assets/plan/web/css/sb-admin-2.css | 4 ++-- .../main/resources/assets/plan/web/js/color-selector.js | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Plan/common/src/main/resources/assets/plan/web/css/sb-admin-2.css b/Plan/common/src/main/resources/assets/plan/web/css/sb-admin-2.css index 311861c3d..957492a8a 100644 --- a/Plan/common/src/main/resources/assets/plan/web/css/sb-admin-2.css +++ b/Plan/common/src/main/resources/assets/plan/web/css/sb-admin-2.css @@ -5497,8 +5497,8 @@ p.collapsing { .page-item.active .page-link { z-index: 1; color: #fff; - background-color: #4e73df; - border-color: #4e73df; + background-color: #368F17; + border-color: #368F17; } .page-item.disabled .page-link { diff --git a/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js b/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js index a87072596..29aa20da6 100644 --- a/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js +++ b/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js @@ -158,7 +158,7 @@ `.bg-grey {background-color: ${grey};color: #eee8d5;}` + `.bg-blue-grey {background-color: ${blueGrey};color: #eee8d5;}` + `.bg-black {background-color: ${black};color: #eee8d5;}` + - `.bg-plan {background-color: ${planColor};color: #eee8d5;}` + + `.bg-plan,.page-item.active .page-link {background-color: ${planColor};color: #eee8d5;}` + `.badge-success {background-color: ${successColor};color: #eee8d5;}` + `.bg-night {background-color: #44475a;color: #eee8d5;}` + `.bg-red-outline {outline-color: ${red};border-color: ${red};}` + @@ -211,14 +211,15 @@ // Background colors from dracula theme $('head').append(''); // Turn bright tables to dark