瀏覽代碼

HUE-8214 [frontend] Show selectize clear button just on hover

Enrico Berti 8 年之前
父節點
當前提交
b0f174cd1c

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


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


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


+ 6 - 0
desktop/core/src/desktop/static/desktop/less/components/hue-selectize.less

@@ -466,6 +466,12 @@
   top: 5px;
   cursor: pointer;
   color: @cui-gray-700;
+  opacity: 0;
+  .hue-linear-transition(opacity);
+}
+
+.selectize-control.plugin-clear_button:hover .clearAll {
+  opacity: 1;
 }
 
 .hue-tag-overflow {

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