浏览代码

HUE-7937 [dashboard] Show widget side menu just on hover

Enrico Berti 7 年之前
父节点
当前提交
817bc22

文件差异内容过多而无法显示
+ 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


+ 11 - 5
desktop/core/src/desktop/static/desktop/less/components/hue-gridster.less

@@ -23,17 +23,23 @@
     margin: 0;
     list-style-type: none;
     & > li {
-      border: 1px solid @cui-gray-100;
+      border: 1px solid @cui-white;
       background: @cui-white !important;
       overflow-x: hidden;
       overflow-y: auto;
+      .grid-left-bar {
+        opacity: 0;
+        .hue-ease-transition(opacity);
+      }
     }
-  }
-  & > ul.is-editing {
-    & > li {
-      //border-color: @cui-gray-200;
+    & > li:hover {
+      border-color: @cui-gray-100;
+      .grid-left-bar {
+        opacity: 1;
+      }
     }
   }
+
   .card-widget {
     width: 100% !important;
     margin: 0 !important;

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