Browse Source

fix up sass lint warnings (#6603)

Dan Cech 9 years ago
parent
commit
c980efd470

+ 1 - 1
public/sass/components/_gfbox.scss

@@ -16,10 +16,10 @@
   background-color: transparent;
   background-color: transparent;
   border: none;
   border: none;
   padding: 8px;
   padding: 8px;
+  color: $text-color;
   i {
   i {
     font-size: 120%;
     font-size: 120%;
   }
   }
-  color: $text-color;
   &:hover {
   &:hover {
     color: $white;
     color: $white;
   }
   }

+ 1 - 2
public/sass/components/_row.scss

@@ -74,12 +74,11 @@
 .add-panel-panels-scroll {
 .add-panel-panels-scroll {
   width: 100%;
   width: 100%;
   overflow: auto;
   overflow: auto;
+  -ms-overflow-style: none;
 
 
   &::-webkit-scrollbar {
   &::-webkit-scrollbar {
     display: none
     display: none
   }
   }
-
-  -ms-overflow-style: none;
 }
 }
 
 
 .add-panel-panels {
 .add-panel-panels {

+ 2 - 2
public/sass/components/_shortcuts.scss

@@ -6,6 +6,8 @@
 }
 }
 
 
 .shortcut-table {
 .shortcut-table {
+  margin-bottom: $spacer;
+
   .shortcut-table-category-header {
   .shortcut-table-category-header {
     font-weight: normal;
     font-weight: normal;
     font-size: $font-size-h6;
     font-size: $font-size-h6;
@@ -26,8 +28,6 @@
     text-align: right;
     text-align: right;
     color: $text-color;
     color: $text-color;
   }
   }
-
-  margin-bottom: $spacer;
 }
 }
 
 
 .shortcut-table-key {
 .shortcut-table-key {

+ 6 - 5
public/sass/components/_submenu.scss

@@ -7,11 +7,12 @@
 }
 }
 
 
 .annotation-segment {
 .annotation-segment {
+  padding: 8px 7px;
+
   label.cr1 {
   label.cr1 {
     margin-left: 5px;
     margin-left: 5px;
     margin-top: 3px;
     margin-top: 3px;
   }
   }
-  padding: 8px 7px;
 }
 }
 
 
 .submenu-item {
 .submenu-item {
@@ -31,14 +32,14 @@
 
 
 .variable-value-link {
 .variable-value-link {
   padding-right: 10px;
   padding-right: 10px;
-  .label-tag {
-    margin: 0 5px;
-  }
-
   padding: 8px 7px;
   padding: 8px 7px;
   box-sizing: content-box;
   box-sizing: content-box;
   display: inline-block;
   display: inline-block;
   color: $text-color;
   color: $text-color;
+
+  .label-tag {
+    margin: 0 5px;
+  }
 }
 }
 
 
 .variable-link-wrapper  {
 .variable-link-wrapper  {

+ 1 - 1
public/sass/components/_tabbed_view.scss

@@ -38,10 +38,10 @@
   background-color: transparent;
   background-color: transparent;
   border: none;
   border: none;
   padding: ($tabs-padding-top + $tabs-top-margin) $spacer $tabs-padding-bottom;
   padding: ($tabs-padding-top + $tabs-top-margin) $spacer $tabs-padding-bottom;
+  color: $text-color;
   i {
   i {
     font-size: 120%;
     font-size: 120%;
   }
   }
-  color: $text-color;
   &:hover {
   &:hover {
     color: $white;
     color: $white;
   }
   }