更新样式:整合BA后台样式到前台样式表中,统一写法

This commit is contained in:
Argo-MacBookPro 2018-10-01 13:55:30 +08:00
parent 1faeac907c
commit 43d0845865
3 changed files with 34 additions and 29 deletions

View File

@ -40,14 +40,6 @@
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.sidebar-toggle-box {
flex: 0 1 auto;
}
.header .nav {
flex: 1 1 auto;
}
.sidebar-open aside { .sidebar-open aside {
transform: translate(-100%); transform: translate(-100%);
} }

View File

@ -162,10 +162,22 @@ a, a:hover, a:focus {
margin-left: 6px; margin-left: 6px;
} }
.nav [data-toggle="dropdown"] {
border: 1px solid #eee;
border-radius: 4px;
padding: 6px 12px;
color: #777;
transition: all .25s linear;
}
.nav [data-toggle="dropdown"]:hover {
color: #333;
}
.nav .dropdown-menu { .nav .dropdown-menu {
width: 235px; width: 235px;
border: none; border: none;
margin-left: -74px; margin-left: -98px;
margin-top: 12px; margin-top: 12px;
} }
@ -173,7 +185,7 @@ a, a:hover, a:focus {
border-style: solid; border-style: solid;
border-width: 0 9px 9px; border-width: 0 9px 9px;
position: absolute; position: absolute;
left: 85px; left: 108px;
top: -9px; top: -9px;
} }

View File

@ -210,6 +210,14 @@ input.pending {
margin-top: -10px; margin-top: -10px;
} }
.card-header a.fa {
transition: color .3s linear;
}
.card-header a.fa:hover {
color: #333;
}
.fixed-table-toolbar .dropdown-menu { .fixed-table-toolbar .dropdown-menu {
min-width: unset; min-width: unset;
} }
@ -263,41 +271,34 @@ input.pending {
border-color: transparent transparent #dc3545; border-color: transparent transparent #dc3545;
} }
.shadow-primary:hover { .show .shadow-primary, .shadow-primary:hover {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 123, 255, 0.5);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 123, 255, 0.5); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 123, 255, 0.5);
border-color: #007bff; border-color: #007bff !important;
} }
.shadow-success:hover { .show .shadow-success, .shadow-success:hover {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5);
border-color: #28a745; border-color: #28a745 !important;
} }
.shadow-info:hover { .show .shadow-info, .shadow-info:hover {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5);
border-color: #17a2b8; border-color: #17a2b8 !important;
} }
.shadow-warning:hover { .show .shadow-warning, .shadow-warning:hover {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5);
border-color: #ffc107; border-color: #ffc107 !important;
} }
.shadow-danger:hover { .show .shadow-danger, .shadow-danger:hover {
border: 1px solid #dc3545;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5);
border: 1px solid #dc3545 !important;
} }
.shadow-default, .shadow-default:hover { .show .shadow-default, .shadow-default:hover {
border: 1px solid #337ab7;
color: #333;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
border: 1px solid #337ab7;
} }
.mCSB_scrollTools { .mCSB_scrollTools {