From f87ca9911cfa8a7cb250ba715d870c273c4804ad Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 9 Apr 2024 03:07:39 +0300 Subject: [PATCH] Adapt right sidebar to dark mode --- app/assets/stylesheets/common.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index eac3f7417..8abff460a 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -377,7 +377,6 @@ body.small-nav { float: right; width: 250px; height: 100%; - background: white; overflow: auto; .section { @@ -429,7 +428,7 @@ body.small-nav { li { overflow: hidden; border-radius: 3px; - border: 2px solid #fff; + border: 2px solid transparent; margin-bottom: 8px; position: relative; transition: border-color 0.08s ease-in; @@ -443,8 +442,8 @@ body.small-nav { cursor: pointer; font-weight: 600; font-size: 16px; - text-stroke: 2px #fff; - background: rgba(255,255,255,.9); + background-color: var(--bs-body-bg); + opacity: 0.9; z-index: 1000; input[type="radio"] { display: none; -- 2.39.5