style: 同步样式

This commit is contained in:
Argo Zhang 2020-03-08 12:40:13 +08:00
parent 62a8abd29a
commit 5cf09ff1a7
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 40 additions and 22 deletions

View File

@ -130,6 +130,12 @@
} }
} }
@media (min-width: 1120px) {
.bootstrap-table .fixed-table-toolbar .columns button i + span, .bootstrap-table .fixed-table-toolbar .search button i + span {
display: inline-block;
}
}
@media (min-width: 1200px) { @media (min-width: 1200px) {
.modal-xl { .modal-xl {
max-width: 1100px; max-width: 1100px;

View File

@ -6,7 +6,6 @@
body { body {
color: #797979; color: #797979;
background: #f1f2f7; background: #f1f2f7;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
@ -121,6 +120,10 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
flex: 1 1 33.333%; flex: 1 1 33.333%;
} }
.userinfo .dropdown-item a:hover {
color: #333;
}
.userinfo .dropdown-item a i { .userinfo .dropdown-item a i {
font-size: 1.025rem; font-size: 1.025rem;
display: block; display: block;
@ -167,6 +170,15 @@ aside .bg, aside .nav-brand, aside .nav-header, .header .nav, .userinfo .dropdow
transition: all .25s linear; transition: all .25s linear;
} }
.header .nav .dropdown .dropdown-blazor {
padding: 2px 4px;
}
.header .nav .dropdown-blazor img {
width: 28px;
margin-top: 1px;
}
.nav .dropdown-menu { .nav .dropdown-menu {
width: 235px; width: 235px;
border: none; border: none;
@ -432,7 +444,7 @@ footer {
outline: none; outline: none;
} }
.dropdown-select + .dropdown-menu a:hover { .dropdown-select + .dropdown-menu a:hover, .dropdown-select + .dropdown-menu .dropdown-item:hover {
background: #007AC0; background: #007AC0;
color: #fff; color: #fff;
} }
@ -441,12 +453,16 @@ footer {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.176); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.176);
} }
.dropdown-menu a { .dropdown-menu a, .dropdown-select + .dropdown-menu .dropdown-item {
transition: all .25s linear; transition: all .25s linear;
padding: 6px 20px; padding: 6px 20px;
display: block; display: block;
} }
.dropdown-select + .dropdown-menu .dropdown-item {
color: #007bff;
}
.dropdown-divider { .dropdown-divider {
margin: 0.125rem 0; margin: 0.125rem 0;
} }
@ -519,10 +535,6 @@ input.pending {
white-space: nowrap; white-space: nowrap;
} }
.modal-body, .card-body {
padding: 15px 15px 0 15px;
}
.modal-body-fixed { .modal-body-fixed {
max-height: calc(54vh); max-height: calc(54vh);
overflow-y: auto; overflow-y: auto;
@ -552,7 +564,7 @@ input.pending {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
.card .card-header a { .card .card-header a:not([data-toggle="popover"]) {
color: #797979; color: #797979;
} }
@ -580,8 +592,8 @@ input.pending {
margin-left: 6px; margin-left: 6px;
} }
.card-body .bootstrap-table { .card .modal-footer {
margin-top: -10px; padding: 0.5rem 0rem;
} }
.no-card-header .card-header { .no-card-header .card-header {
@ -715,22 +727,18 @@ input.pending {
background-color: rgba(0,0,0,.05); background-color: rgba(0,0,0,.05);
} }
.bootstrap-table .fixed-table-container .fixed-table-body { .bootstrap-table .fixed-table-container .fixed-table-body .table .bs-checkbox label {
border-radius: 4px; margin-bottom: 0;
} }
.bootstrap-table .fixed-table-container .fixed-table-body .table .bs-checkbox label { .bootstrap-table .fixed-table-container .fixed-table-body .table .bs-checkbox label input[type='checkbox'] {
margin-bottom: 0; cursor: pointer;
} }
.bootstrap-table .fixed-table-container .fixed-table-body .table .bs-checkbox label input[type='checkbox'] { .bootstrap-table .fixed-table-container .fixed-table-body .table td .btn:not(.btn-lg) {
cursor: pointer; font-size: 0.75rem;
} padding: 1px 5px;
}
.bootstrap-table .fixed-table-container .fixed-table-body .table td .btn:not(.btn-lg) {
font-size: 0.75rem;
padding: 1px 5px;
}
.bootstrap-table .fixed-table-container .table tbody tr.selected td { .bootstrap-table .fixed-table-container .table tbody tr.selected td {
background-color: rgba(0, 0, 0, 0.03); background-color: rgba(0, 0, 0, 0.03);
@ -750,6 +758,10 @@ input.pending {
padding: 6px 20px; padding: 6px 20px;
} }
.bootstrap-table .fixed-table-toolbar .columns button i + span, .bootstrap-table .fixed-table-toolbar .search button i + span {
display: none;
}
.fixed-table-toolbar .dropdown-menu { .fixed-table-toolbar .dropdown-menu {
min-width: unset; min-width: unset;
} }