瀏覽代碼

HUE-6077 [frontend] Improve background color for multi-level dropdowns

Johan Ahlen 8 年之前
父節點
當前提交
1b3ec5684c

文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 14 - 0
desktop/core/src/desktop/static/desktop/less/hue-cui-overrides.less

@@ -31,4 +31,18 @@
   ul.nav li a:hover {
     background-color: transparent;
   }
+}
+
+.dropdown-submenu:hover > a,
+.dropdown-submenu:focus > a {
+  background-image: none !important;
+  background-color: @cui-blue-500;
+
+  > i {
+    color: @cui-white !important;
+  }
+
+  > svg {
+    fill: @cui-white !important;
+  }
 }

部分文件因文件數量過多而無法顯示