Эх сурвалжийг харах

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

Enrico Berti 8 жил өмнө
parent
commit
feb203f

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 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;
 }

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно