Torkel Ödegaard 11 роки тому
батько
коміт
b1a95cacff
2 змінених файлів з 7 додано та 29 видалено
  1. 2 2
      src/css/less/navbar.less
  2. 5 27
      src/css/less/tables_lists.less

+ 2 - 2
src/css/less/navbar.less

@@ -33,8 +33,8 @@
     color: @textColor;
     width: 30px;
     height: 30px;
-    left: 10px;
-    top: 8px;
+    left: 9px;
+    top: 7px;
     font-size: 150%;
     opacity: 0;
     position: absolute;

+ 5 - 27
src/css/less/tables_lists.less

@@ -1,42 +1,20 @@
 .grafana-options-table {
   width: 100%;
 
-  tr:nth-child(odd) td {
-    background-color: @grafanaListAccent;
-    &.nobg {
-      background-color: transparent;
-      border:none;
-      border-left: 1px solid @grafanaListBorderBottom;
-    }
-  }
-
-  td {
+  tr td {
+    background-color: @grafanaListBackground;
     padding: 5px 10px;
     white-space: nowrap;
-    border-bottom: 1px solid @grafanaListBorderBottom;
+    border-bottom: 4px solid @grafanaPanelBackground;
     &.nobg {
       background-color: transparent;
-      border:none;
-      border-left: 1px solid @grafanaListBorderBottom;
     }
   }
 
-  tr:first-child {
-    td {
-      border-top: 1px solid @grafanaListBorderBottom;
-    }
-  }
-
-  td:first-child {
-    border-left: 1px solid @grafanaListBorderBottom;
-  }
-
-  td:last-child {
-    border-right: 1px solid @grafanaListBorderBottom;
-  }
-
   .max-width-btns {
+    padding-right: 0px;
     .btn {
+      box-sizing: border-box;
       width: 100%;
     }
   }