feat: 顶部状态栏增加系统锁屏按钮

This commit is contained in:
Argo Zhang 2019-08-28 13:10:21 +08:00
parent 17914936dc
commit fb01c7ec5a
3 changed files with 11 additions and 6 deletions

View File

@ -84,6 +84,11 @@
</div>
</div>
<!-- db dropdown end -->
<div class="dropdown">
<a class="shadow-success" href="~/Account/Lock" data-toggle="tooltip" title="系统锁屏">
<i class="fa fa-tv"></i>
</a>
</div>
}
</div>
<div class="dropdown userinfo">

View File

@ -68,11 +68,11 @@
border-radius: 0;
}
.userinfo .dropdown-toggle, .userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .nav [data-toggle="dropdown"], .nav [data-toggle="dropdown"]:hover {
.userinfo .dropdown-toggle, .userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .header .nav a, .header .nav a:hover {
border: none !important;
}
.userinfo .shadow-default, .nav [data-toggle="dropdown"], .nav [data-toggle="dropdown"]:hover {
.userinfo .shadow-default, .header .nav a, .header .nav a:hover {
box-shadow: none;
}
@ -211,11 +211,11 @@ aside .nav-brand {
color: #b8c7ce;
}
.header, .header .breadcrumb-item a, aside .nav-brand a, .sidebar-toggle-box, .userinfo .dropdown-toggle, .nav [data-toggle="dropdown"], .userinfo .dropdown-item, .userinfo .dropdown-item a, .userinfo .dropdown-item:last-child a {
.header, .header .breadcrumb-item a, aside .nav-brand a, .sidebar-toggle-box, .userinfo .dropdown-toggle, .header .nav a, .userinfo .dropdown-item, .userinfo .dropdown-item a, .userinfo .dropdown-item:last-child a {
color: #eee;
}
.sidebar-toggle-box:hover, aside .nav-brand a:hover, .userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .nav [data-toggle="dropdown"]:hover, .sidebar .nav-link:hover, .userinfo .dropdown-item:hover, .userinfo .dropdown-item a:hover, .userinfo .dropdown-item:last-child a:hover {
.sidebar-toggle-box:hover, aside .nav-brand a:hover, .userinfo .dropdown-toggle:hover, .userinfo.show .dropdown-toggle, .header .nav a:hover, .sidebar .nav-link:hover, .userinfo .dropdown-item:hover, .userinfo .dropdown-item a:hover, .userinfo .dropdown-item:last-child a:hover {
color: #fff;
}

View File

@ -90,7 +90,7 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
transition: all .25s linear;
}
.userinfo .dropdown-toggle, .nav [data-toggle="dropdown"] {
.userinfo .dropdown-toggle, .header .nav a {
border: 1px solid #eee;
color: #777;
}
@ -159,7 +159,7 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
top: 6px;
}
.nav [data-toggle="dropdown"] {
.header .nav a {
border-radius: 4px;
padding: 6px 12px;
transition: all .25s linear;