X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/424a0fa345e5d35f36aebfa5567655f267625504..8bb126938f67d3ea01ac16b42f8ad3e35f39baaf:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 3f43eb2a1..1ccdc7871 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -81,6 +81,12 @@ time[title] { opacity: 0.6; } +@include color-mode(dark) { + #menu-icon { + filter: invert(1); + } +} + header { height: $headerHeight; position: relative; @@ -188,7 +194,6 @@ body.small-nav { flex-direction: column; height: auto; min-height: $headerHeight; - background: #fff; &.closed nav { display: none; @@ -378,11 +383,6 @@ body.small-nav { width: 250px; height: 100%; overflow: auto; - - .section { - border-bottom: 1px solid $grey; - padding: $spacer; - } } } @@ -540,6 +540,12 @@ div.direction { div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; } } +@include color-mode(dark) { + div.direction { + filter: invert(1); + } +} + td.distance { font-size: x-small; } @@ -1025,4 +1031,17 @@ div.secondary-actions { margin-bottom: -1px; } +/* Rules for traces */ + +img.trace_image { + mix-blend-mode: darken; +} + +@include color-mode(dark) { + img.trace_image { + filter: invert(1); + mix-blend-mode: lighten; + } +} + @import 'browse';