Преглед изворни кода

HUE-6423 [editor] Fix the snippet database dropdown and jumpiness

Enrico Berti пре 8 година
родитељ
комит
5396d10d2f

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 0 - 15
desktop/core/src/desktop/static/desktop/css/hue3.css

@@ -825,21 +825,6 @@ body {
   border: none;
 }
 
-.hue-drop-down-input {
-  width: 175px !important;
-  height: 12px !important;
-  font-size: 12px !important;
-  border: 1px solid rgba(0,0,0,0.2) !important;
-  border-radius: 2px !important;
-  box-shadow: none !important;
-  margin-left: -1px;
-}
-
-.hue-drop-down-active span {
-  font-size: 12px;
-  font-weight: lighter;
-}
-
 .hue-context-menu {
   display: none;
   position: fixed;

+ 18 - 0
desktop/core/src/desktop/static/desktop/less/hue-cross-version.less

@@ -401,3 +401,21 @@ ul.errorlist {
     width: 130px;
   }
 }
+
+.hue-drop-down-active span {
+  font-size: 12px;
+  font-weight: lighter;
+}
+
+.hue-drop-down-input {
+  width: 175px !important;
+  height: 12px !important;
+  margin-bottom: 0 !important;
+  padding-left: 4px !important;
+  padding: 1px !important;
+  font-size: 12px !important;
+  border: 1px solid rgba(0,0,0,0.2) !important;
+  border-radius: 2px !important;
+  box-shadow: none !important;
+  margin-left: -1px;
+}

+ 1 - 1
desktop/core/src/desktop/templates/ko_components.mako

@@ -34,7 +34,7 @@ from desktop.views import _ko
     <input class="hue-drop-down-input" type="text" data-bind="textInput: filter, attr: { 'placeHolder': value }, visible: dropDownVisible, style: { color: filterEdited() ? '#000' : '#AAA', 'min-height': '22px', 'margin-left': '10px' }"/>
     <i class="fa fa-caret-down"></i>
     <!-- /ko -->
-    <div data-bind="css: { 'open' : dropDownVisible }" style="position: fixed; z-index: 1">
+    <div data-bind="css: { 'open' : dropDownVisible }" style="position: fixed; z-index: 2">
       <div class="dropdown-menu" data-bind="visible: filteredEntries().length > 0" style="overflow-y: scroll; width: 190px; margin-left: 10px; min-height: 34px; max-height: 200px;">
         <!-- ko if: foreachVisible -->
         <ul class="hue-inner-drop-down" data-bind="foreachVisible: { data: filteredEntries, minHeight: 34, container: '.dropdown-menu' }">

Неке датотеке нису приказане због велике количине промена