mirror of
https://github.com/2004Scape/Website.git
synced 2026-11-22 21:50:40 -05:00
* feat: Added starting point for basic web-based moderation tools. Only ban button functions currently. * fix: Fixed custom ban date, added ban btn check * feat: Basic login redirecting to previous page * chore: Made modal CSS classes more reusable * chore: Moved username validation to separate function * feat: Added username changing to mod web tools * fix: Fixed typos in name change dialogs
35 lines
588 B
CSS
35 lines
588 B
CSS
.modal {
|
|
padding: 0;
|
|
background-color: ivory;
|
|
}
|
|
.modal > div {
|
|
background-color: brown;
|
|
}
|
|
.modal > div > h2 {
|
|
font-size: 1.25rem;
|
|
color: white;
|
|
margin: 0;
|
|
padding: 0.5rem;
|
|
}
|
|
.modal > form {
|
|
padding: 1rem;
|
|
margin: 0;
|
|
}
|
|
.modal > form > h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.focused-modal::backdrop {
|
|
background-color: rgba(0, 0, 0, .65);
|
|
}
|
|
|
|
#modal-ban-player .modal-ban-player-time-container > br {
|
|
margin-bottom: 1rem;
|
|
}
|
|
#modal-ban-player > form > div:not(:last-child) {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#modal-change-username .modal-ban-player-time-container {
|
|
margin-bottom: 1rem;
|
|
} |