mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-02 09:50:24 +08:00
优化界面
This commit is contained in:
@@ -589,7 +589,7 @@ body.expanded .main {
|
||||
width: 4px;
|
||||
}
|
||||
.main .tab-menu {
|
||||
margin-top: 1em !important;
|
||||
margin-top: 0.5em !important;
|
||||
margin-bottom: 0 !important;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
@@ -618,6 +618,13 @@ body.expanded .main {
|
||||
border-radius: 0 !important;
|
||||
color: #2185d0 !important;
|
||||
}
|
||||
.main .tab-menu .item.active:not(.title) .bottom-indicator {
|
||||
border-bottom: 1px #2185d0 solid;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 1px;
|
||||
}
|
||||
.main .tab-menu .item.active.blue {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -109,6 +109,7 @@
|
||||
<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, 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>
|
||||
<div class="bottom-indicator" v-if="item.active && !item.isTitle"></div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -578,7 +578,7 @@ body.expanded .main {
|
||||
|
||||
.main {
|
||||
.tab-menu {
|
||||
margin-top: 1em !important;
|
||||
margin-top: 0.5em !important;
|
||||
margin-bottom: 0 !important;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
@@ -611,6 +611,14 @@ body.expanded .main {
|
||||
border: none;
|
||||
border-radius: 0 !important;
|
||||
color: #2185d0 !important;
|
||||
|
||||
.bottom-indicator {
|
||||
border-bottom: 1px #2185d0 solid;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.item.active.blue {
|
||||
|
||||
Reference in New Issue
Block a user