]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Merge remote-tracking branch 'upstream/pull/4681'
[rails.git] / app / assets / stylesheets / common.scss
index 3e80e66f5dde14f0dbbedf6e7614a4d3e0884ed2..1ccdc7871454547b94623c1f393e469a1c222e1f 100644 (file)
@@ -1031,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';