浏览代码

HUE-6077 [frontend] Grouped assist hover styles in the LESS file

Enrico Berti 8 年之前
父节点
当前提交
feb203ff1f

文件差异内容过多而无法显示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


文件差异内容过多而无法显示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 17 - 25
desktop/core/src/desktop/static/desktop/less/hue-assist.less

@@ -290,14 +290,23 @@
 
 .assist-tables > li:hover {
   background-color: @cui-gray-100;
-}
-
-.assist-tables > li:hover .assist-column {
-  background-color: @cui-white;
-}
-
-.assist-tables > li:hover .assist-column:hover {
-  background-color: @cui-gray-100;
+  .assist-column {
+    background-color: @cui-white;
+    .assist-actions, .assist-file-actions {
+      background-color: @cui-white;
+    }
+    &:hover {
+      background-color: @cui-gray-100;
+    }
+  }
+  .assist-column:hover {
+    .assist-actions, .assist-file-actions {
+      background-color: @cui-gray-100;
+    }
+  }
+  .assist-actions, .assist-file-actions {
+    background-color: @cui-gray-100;
+  }
 }
 
 .assist-breadcrumb {
@@ -387,23 +396,6 @@
   background-color: @cui-white;
 }
 
-.assist-tables > li:hover {
-  .assist-column {
-    .assist-actions, .assist-file-actions {
-      background-color: @cui-white;
-    }
-  }
-  .assist-column:hover {
-    .assist-actions, .assist-file-actions {
-      background-color: @cui-gray-100;
-    }
-  }
-  .assist-actions, .assist-file-actions {
-    background-color: @cui-gray-100;
-  }
-}
-
-
 .table-actions {
   padding-top:2px;
 }

部分文件因为文件数量过多而无法显示