perf: 同步通用样式

This commit is contained in:
Argo Zhang 2019-08-10 16:05:18 +08:00
parent a234d9b0de
commit 08f634f1fd
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
3 changed files with 41 additions and 1 deletions

View File

@ -31,6 +31,37 @@ body {
opacity: 0.8; opacity: 0.8;
} }
.header .navbar {
padding: 0 0 0 1rem;
}
.header .navbar .dropdown-menu {
padding: 0.25rem 0;
}
.header .navbar .dropdown-menu-arrow {
width: 0;
height: 0;
border-width: 0 6px 6px;
border-style: solid;
border-color: transparent transparent rgba(0,0,0,.15);
position: absolute;
left: 16px;
margin-top: -10px;
}
.header .navbar .dropdown-menu-arrow:after {
content: " ";
width: 0;
height: 0;
border-width: 0 6px 6px;
border-style: solid;
border-color: transparent transparent #fff;
position: absolute;
top: 1px;
left: -6px;
}
.userinfo img { .userinfo img {
height: 29px; height: 29px;
width: 29px; width: 29px;

View File

@ -122,4 +122,8 @@
.modal-xl { .modal-xl {
max-width: 1100px; max-width: 1100px;
} }
.modal-body-fixed {
max-height: calc(80vh);
}
} }

View File

@ -342,7 +342,7 @@ footer {
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 100; z-index: 1040;
display: flex; display: flex;
} }
@ -488,6 +488,11 @@ input.pending {
padding: 15px 15px 0 15px; padding: 15px 15px 0 15px;
} }
.modal-body-fixed {
max-height: calc(54vh);
overflow-y: auto;
}
.card { .card {
margin-bottom: 15px; margin-bottom: 15px;
box-shadow: 0 0 8px 0 rgba(0,0,0,.075), 0 2px 4px 0 rgba(255,255,255,0); box-shadow: 0 0 8px 0 rgba(0,0,0,.075), 0 2px 4px 0 rgba(255,255,255,0);