Browse Source

HUE-6077 [frontend] Give context to the current hovered items on the assist

Enrico Berti 8 years ago
parent
commit
67049399d9

File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 31 - 3
desktop/core/src/desktop/static/desktop/less/hue-assist.less

@@ -243,7 +243,7 @@
   position: relative;
   position: relative;
 }
 }
 
 
-.assist-entry,a {
+.assist-entry a {
   white-space: nowrap;
   white-space: nowrap;
 }
 }
 
 
@@ -280,8 +280,7 @@
 .assist-tables > li {
 .assist-tables > li {
   position: relative;
   position: relative;
   padding-top: 2px;
   padding-top: 2px;
-  padding-bottom: 2px;
-  padding-left: 4px;
+  margin-left: 4px;
   margin-right: 15px;
   margin-right: 15px;
   overflow-x: hidden;
   overflow-x: hidden;
 }
 }
@@ -290,6 +289,18 @@
   background-color: @cui-gray-200;
   background-color: @cui-gray-200;
 }
 }
 
 
+.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-breadcrumb {
 .assist-breadcrumb {
   padding-top: 0;
   padding-top: 0;
   padding-left: 0;
   padding-left: 0;
@@ -377,6 +388,23 @@
   background-color: @cui-white;
   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 {
 .table-actions {
   padding-top:2px;
   padding-top:2px;
 }
 }

Some files were not shown because too many files changed in this diff