mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
refactoring
This commit is contained in:
@@ -10,7 +10,7 @@ div.modal {
|
||||
z-index: 2147483647;
|
||||
}
|
||||
|
||||
div.modal-window {
|
||||
div.modal div.modal-window {
|
||||
display: table;
|
||||
outline: none;
|
||||
margin: 15% auto;
|
||||
@@ -22,31 +22,36 @@ div.modal-window {
|
||||
background-color: var(--bg-color-light);
|
||||
padding: 0;
|
||||
}
|
||||
div.modal-window:focus {
|
||||
div.modal div.modal-window:focus {
|
||||
border: var(--border-intensive-2px) !important;
|
||||
}
|
||||
|
||||
|
||||
div.modal-header {
|
||||
div.modal div.modal-window div.modal-header {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 3px 9px 3px 9px;
|
||||
border-bottom: var(--border-normal-thin);
|
||||
}
|
||||
|
||||
div.modal-content {
|
||||
div.modal div.modal-window div.modal-content {
|
||||
max-width: 500px;
|
||||
max-height: 500px;
|
||||
padding: 16px 9px 16px 9px;
|
||||
}
|
||||
|
||||
div.modal-buttons {
|
||||
div.modal div.modal-window div.modal-buttons {
|
||||
border-top: var(--border-dark-thin);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
div.modal-buttons button {
|
||||
div.modal div.modal-window div.modal-buttons button {
|
||||
height: 40px;
|
||||
}
|
||||
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
|
||||
/* iPad vertical */
|
||||
div.modal-buttons button {
|
||||
height: 50px !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user