Bläddra i källkod

Add dashboard widgets class helpers

Denis K 9 år sedan
förälder
incheckning
f7ac7b5a7d
1 ändrade filer med 55 tillägg och 0 borttagningar
  1. 55 0
      jet/static/jet/css/_dashboard.scss

+ 55 - 0
jet/static/jet/css/_dashboard.scss

@@ -163,6 +163,16 @@
             white-space: nowrap;
           }
         }
+
+        &.bordered li {
+          border-left: 1px solid $content-border2-color;
+          margin-left: 0;
+          padding: 0 10px;
+
+          &:first-child {
+            border-left: 0;
+          }
+        }
       }
 
       .padding {
@@ -172,6 +182,51 @@
       .center {
         text-align: center;
       }
+
+      .big {
+        font-size: 20px;
+        font-weight: bold;
+      }
+
+      .highlight {
+        color: $link-color;
+      }
+
+      .dim {
+        color: $dim-text-color;
+      }
+
+      canvas {
+        .chart {
+          &-fillColor {
+            color: transparentize($hover-link-color, 0.75);
+          }
+
+          &-strokeColor {
+            color: $hover-link-color;
+          }
+
+          &-pointColor {
+            color: $content-contrast2-text-color
+          }
+
+          &-pointHighlightFill {
+            color: $hover-link-color;
+          }
+
+          &-scaleGridLineColor {
+            color: transparentize($black-color, 0.9);
+          }
+
+          &-scaleLineColor {
+            color: transparentize($black-color, 0.9);
+          }
+
+          &-scaleFontColor {
+            color: $content-contrast2-text-color
+          }
+        }
+      }
     }
 
     &-collapse .icon-arrow-up {