From f683a4570aee7c561dec767730d36fb7e5ddd643 Mon Sep 17 00:00:00 2001 From: MrMugame <40832361+MrMugame@users.noreply.github.com> Date: Tue, 14 May 2024 09:22:52 +0200 Subject: [PATCH] Fixed panel border (#863) --- web/styles/colors.scss | 17 +++++++++++++---- web/styles/theme.scss | 8 ++++---- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/web/styles/colors.scss b/web/styles/colors.scss index c107bbfb..0dc8a6df 100644 --- a/web/styles/colors.scss +++ b/web/styles/colors.scss @@ -31,13 +31,22 @@ color: var(--top-loading-color); } -.sb-panel { - border-left: 1px solid var(--panel-border-color); - background-color: var(--panel-background-color); +#sb-main { + .sb-panel:last-child { + border-left: 1px solid var(--panel-border-color); + } + + .sb-panel:first-child { + border-right: 1px solid var(--panel-border-color); + } + + .sb-panel { + background-color: var(--panel-background-color); + } } .sb-bhs { - border-top: var(--bhs-border-color) 1px solid; + border-top: 1px solid var(--bhs-border-color); background-color: var(--bhs-background-color); } diff --git a/web/styles/theme.scss b/web/styles/theme.scss index 919eb9fc..71633bc5 100644 --- a/web/styles/theme.scss +++ b/web/styles/theme.scss @@ -154,11 +154,11 @@ html[data-theme="dark"] { --top-unsaved-color: #c7c7c7; --top-loading-color: #c7c7c7; - --panel-background-color: #fff; - --panel-border-color: #fff; + --panel-background-color: #111; + --panel-border-color: rgb(62, 62, 62); - --bhs-background-color: #fff; - --bhs-border-color: rgb(193, 193, 193); + --bhs-background-color: #111; + --bhs-border-color: rgb(62, 62, 62); --modal-color: #ccc; --modal-background-color: #262626;