소스 검색

Small css changes

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;
     color: @textColor;
     width: 30px;
     width: 30px;
     height: 30px;
     height: 30px;
-    left: 10px;
-    top: 8px;
+    left: 9px;
+    top: 7px;
     font-size: 150%;
     font-size: 150%;
     opacity: 0;
     opacity: 0;
     position: absolute;
     position: absolute;

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

@@ -1,42 +1,20 @@
 .grafana-options-table {
 .grafana-options-table {
   width: 100%;
   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;
     padding: 5px 10px;
     white-space: nowrap;
     white-space: nowrap;
-    border-bottom: 1px solid @grafanaListBorderBottom;
+    border-bottom: 4px solid @grafanaPanelBackground;
     &.nobg {
     &.nobg {
       background-color: transparent;
       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 {
   .max-width-btns {
+    padding-right: 0px;
     .btn {
     .btn {
+      box-sizing: border-box;
       width: 100%;
       width: 100%;
     }
     }
   }
   }