]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Added color preview box in tag browser sidebar
[rails.git] / app / assets / stylesheets / common.scss
index 4353e5e659d85628ff9a8f175d291ffdd4465652..0ec99266e1a6a6b728ad9b3f1b3c8b277a3f25d4 100644 (file)
@@ -1211,6 +1211,15 @@ tr.turn:hover {
       border-left: 1px solid #ddd;
       background-color: #fff;
     }
+
+    .colour-preview-box {
+      float: right;
+      width: 20px;
+      height: 20px;
+      margin: 0px;
+      border: 1px solid rgba(0, 0, 0, .1); 
+      // add color via inline css on element: background-color: <tag value>;
+    }
   }
 
   .warning {