优化界面

This commit is contained in:
GoEdgeLab
2023-05-25 17:29:55 +08:00
parent d81774f6ee
commit 499bbfbfe8
7 changed files with 39 additions and 6 deletions

View File

@@ -607,8 +607,19 @@ body.expanded .main {
.main .tab-menu .item .icon {
margin-left: 0.6em;
}
.main .tab-menu .item.active {
.main .tab-menu .item.active.title {
background: #f8f8f9 !important;
font-weight: normal !important;
margin-right: 1em !important;
}
.main .tab-menu .item.active:not(.title) {
font-weight: normal !important;
border: none;
border-radius: 0 !important;
color: #2185d0 !important;
}
.main .tab-menu .item.active.blue {
font-weight: bold !important;
}
.main .tab-menu::-webkit-scrollbar {
height: 4px;

File diff suppressed because one or more lines are too long

View File

@@ -107,7 +107,7 @@
<div class="main" :class="{'without-menu':teaSubMenus.menus == null || teaSubMenus.menus.length == 0 || (teaSubMenus.menus.length == 1 && teaSubMenus.menus[0].alwaysActive), 'without-secondary-menu':teaSubMenus.alwaysMenu == null || teaSubMenus.alwaysMenu.items.length <= 1, 'without-footer':!teaShowOpenSourceInfo}" v-cloak="">
<!-- 操作菜单 -->
<div class="ui top menu tabular tab-menu small" v-if="teaTabbar.length > 0">
<a class="item" v-for="item in teaTabbar" :class="{'active':item.active,right:item.right}" :href="item.url">
<a class="item" v-for="item in teaTabbar" :class="{'active':item.active, right:item.right, title: item.isTitle}" :href="item.url">
<var>{{item.name}}<span v-if="item.subName.length > 0">({{item.subName}})</span><i class="icon small" :class="item.icon" v-if="item.icon != null && item.icon.length > 0"></i> </var>
</a>
</div>

View File

@@ -600,8 +600,21 @@ body.expanded .main {
}
}
.item.active {
.item.active.title {
background: #f8f8f9 !important;
font-weight: normal !important;
margin-right: 1em !important;
}
.item.active:not(.title) {
font-weight: normal !important;
border: none;
border-radius: 0 !important;
color: #2185d0 !important;
}
.item.active.blue {
font-weight: bold !important;
}
}