浏览代码

HUE-6810 [assist] Improve positioning and visibility of side panel toggles

Johan Ahlen 8 年之前
父节点
当前提交
aef98893e7

文件差异内容过多而无法显示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


文件差异内容过多而无法显示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 3 - 3
desktop/core/src/desktop/static/desktop/less/hue-assist.less

@@ -125,11 +125,11 @@
 
 .side-panel-toggle {
   position: absolute;
-  top: 2px;
+  top: 4px;
   margin: 0;
   z-index: 1000;
   color: @cui-gray-400;
-  font-size: 14px;
+  font-size: 16px;
   -webkit-transition: margin 0.2s linear, color 0.5s ease;
   -moz-transition: margin 0.2s linear, color 0.5s ease;
   -ms-transition: margin 0.2s linear, color 0.5s ease;
@@ -137,7 +137,7 @@
 }
 
 .show-right-side-panel {
-  right: 10px;
+  right: 18px;
 }
 
 .hide-left-side-panel {

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -196,7 +196,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
 <div class="navbar hue-title-bar" data-bind="visible: ! $root.isPlayerMode()">
   <div class="navbar-inner">
     <div class="container-fluid">
-      <div class="pull-right">
+      <div class="pull-right margin-right-10">
 
         <div class="btn-group">
           <a class="btn" rel="tooltip" data-placement="bottom" data-loading-text="${ _("Saving...") }" data-bind="click: function() { if ($root.canSave() ) { saveNotebook() } else { $('#saveAsModal${ suffix }').modal('show');} }, attr: { title: $root.canSave() ? '${ _ko('Save') }' : '${ _ko('Save As') }' }"><i class="fa fa-save"></i></a>

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