From: Anton Khorev <tony29@yandex.ru>
Date: Tue, 9 Apr 2024 00:07:39 +0000 (+0300)
Subject: Adapt right sidebar to dark mode
X-Git-Tag: live~1291^2
X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f87ca9911cfa8a7cb250ba715d870c273c4804ad

Adapt right sidebar to dark mode
---

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;