Эх сурвалжийг харах

HUE-6368 [importer] D&D to importer in menu no css effect on hover

Enrico Berti 8 жил өмнө
parent
commit
681d5b9

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


+ 9 - 4
desktop/core/src/desktop/static/desktop/less/hue.less

@@ -356,10 +356,15 @@ body {
 }
 
 .sidebar {
-  .sidebar-footer-panel div {
-    margin-top: 15px;
-    margin-bottom: 15px;
-    text-align: center;
+  .sidebar-footer-panel {
+    .dropzone {
+      padding-top: 15px;
+      padding-bottom: 15px;
+      text-align: center;
+    }
+    .dz-drag-hover {
+      background-color: @cui-gray-200!important;
+    }
   }
   a {
     .pointer

+ 1 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -403,7 +403,7 @@ ${ assist.assistPanel() }
               <input type="text" class="form-control path input-xxlarge" data-bind="value: createWizard.source.path, filechooser: createWizard.source.path, filechooserOptions: { linkMarkup: true, skipInitialPathIfEmpty: true, openOnFocus: true, selectFolder: false }" placeholder="${ _('Click or drag from the assist') }">
             </label>
             <!-- ko if: createWizard.source.path().length > 0 -->
-              <a data-bind="hueLink: '/filebrowser/view=' + createWizard.source.path()" target="_blank" title="${ _('Open') }">
+              <a data-bind="hueLink: '/filebrowser/view=' + createWizard.source.path()" title="${ _('Open') }" style="font-size: 14px" class="margin-left-10">
                 <i class="fa fa-external-link-square"></i>
               </a>
             <!-- /ko -->

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно