Tweak modal window look
This commit is contained in:
parent
d93bbd4650
commit
92c129952c
2
admin.js
2
admin.js
@ -22,7 +22,7 @@ function addUser() {
|
||||
form += '<label><b>' + lang_username + '</b></label><input type="text" placeholder="' + lang_usernameenter + '" name="login" required>';
|
||||
form += '<label><b>' + lang_password + '</b></label><input type="password" placeholder="' + lang_passwordenter + '" name="pass" required>';
|
||||
form += '<label><b>' + lang_passwordrepeat + '</b></label><input type="password" placeholder="' + lang_passwordenter + '" name="pass2" required>';
|
||||
form += '<button type="button" onclick="removeModal()">' + lang_cancel + '</button><button type="submit">' + lang_submit + '</button>';
|
||||
form += '<div class="buttons"><button type="button" onclick="removeModal()">' + lang_cancel + '</button><button type="submit">' + lang_submit + '</button></div>';
|
||||
form += '</form>';
|
||||
showModal(form);
|
||||
}
|
||||
|
18
main.css
18
main.css
@ -203,7 +203,7 @@ select {
|
||||
}
|
||||
|
||||
#modal-header {
|
||||
top: 10px;
|
||||
top: 15px;
|
||||
position: relative;
|
||||
text-align: right;
|
||||
margin: 0 auto;
|
||||
@ -215,12 +215,19 @@ select {
|
||||
font-size: 0.9em;
|
||||
font-family: Verdana, sans-serif;
|
||||
color: white;
|
||||
background-color: #666;
|
||||
background-color: rgba(102, 102, 102, 0.9);
|
||||
margin: 0 auto 15% auto;
|
||||
border: 1px solid #888;
|
||||
width: 40%;
|
||||
min-width: 300px;
|
||||
padding: 1%;
|
||||
padding: 1em;
|
||||
border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
}
|
||||
|
||||
#modal-body .buttons {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
#modal input[type=text], #modal input[type=password] {
|
||||
@ -230,4 +237,9 @@ select {
|
||||
display: inline-block;
|
||||
border: 1px solid #ccc;
|
||||
box-sizing: border-box;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
button { cursor:pointer; }
|
Loading…
x
Reference in New Issue
Block a user