luci-theme-rosy: Fixed modal box misalignment problem

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
Yanlan Shen 2019-01-10 11:53:46 +08:00
parent eb3976c64a
commit 714a48e6ca

View file

@ -1886,6 +1886,25 @@ footer {
right: 0; right: 0;
} }
.modal-overlay-active #modal_overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background-color: #000000b8;
z-index: 2000;
}
.modal-overlay-active #modal_overlay .modal {
width: 50%;
background-color: #fff;
margin: 150px auto;
border-radius: 20px;
color: #333;
}
/* The style of the prompt message */ /* The style of the prompt message */
.alert-message { .alert-message {