]> git.openstreetmap.org Git - rails.git/commitdiff
Adapt right sidebar to dark mode
authorAnton Khorev <tony29@yandex.ru>
Tue, 9 Apr 2024 00:07:39 +0000 (03:07 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 9 Apr 2024 00:07:39 +0000 (03:07 +0300)
app/assets/stylesheets/common.scss

index eac3f7417aa5a1c25fd281c1ab27bbed81878561..8abff460ae2b0a6cadb8e78411494a05631710a8 100644 (file)
@@ -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;