主页、SQL工作台界面的选项卡标签更多操作区域添加明确图标标识

This commit is contained in:
datagear 2019-08-01 15:45:06 +08:00
parent e8b2ca1f6f
commit 0bcd2c46bb
3 changed files with 9 additions and 5 deletions

View File

@ -19,7 +19,7 @@
po.workTabTemplate = "<li style='vertical-align:middle;'><a href='"+'#'+"{href}'>"+'#'+"{label}</a>"
+"<div class='tab-operation'>"
+"<span class='ui-icon ui-icon-close' title='<@spring.message code='close' />'>close</span>"
+"<div class='tabs-more-operation-button' title='<@spring.message code='moreOperation' />'></div>"
+"<div class='tabs-more-operation-button' title='<@spring.message code='moreOperation' />'><span class='ui-icon ui-icon-caret-1-se'></span></div>"
+"</div>"
+"<div class='category-bar category-bar-"+'#'+"{schemaId}'></div>"
+"</li>";

View File

@ -593,7 +593,7 @@ Schema schema 数据库不允许为null
po.sqlResultTabTemplate = "<li class='sql-result-tab' style='vertical-align:middle;'><a href='"+'#'+"{href}'>"+'#'+"{label}</a>"
+"<div class='tab-operation'>"
+"<span class='ui-icon ui-icon-close' title='<@spring.message code='close' />'>close</span>"
+"<div class='tabs-more-operation-button' title='<@spring.message code='moreOperation' />'></div>"
+"<div class='tabs-more-operation-button' title='<@spring.message code='moreOperation' />'><span class='ui-icon ui-icon-caret-1-e'></span></div>"
+"</div>"
+"</li>";

View File

@ -268,6 +268,11 @@ form .form-foot .ui-button{
width: 16px;
height: 16px;
}
.ui-tabs .tab-operation .tabs-more-operation-button .ui-icon{
width: 12px;
opacity: 0.3;
filter: Alpha(Opacity=30);
}
.ui-tabs .ui-tabs-nav .tab-operation .ui-icon{
cursor: pointer;
}
@ -1424,11 +1429,10 @@ table.dataTable tbody tr .column-check .row-data-state .ui-icon{
width: 32px;
}
.page-sqlpad .content .content-result .result-tabs.ui-tabs .ui-tabs-nav li .tab-operation .tabs-more-operation-button{
float: none;
float: right;
display: inline-block;
height: 16px;
height: 1.4em;
vertical-align: middle;
margin-top: -0.25em;
}
.page-sqlpad .content .content-result .result-tabs.ui-tabs .tabs-more-tab-button{
top: 0.25em;