MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
/* Стили для модального окна */
.modal {
    display: inline;
}
.modal-open:checked + .modal-wrap {
    display: block;
}
.modal-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
.modal-dialog {
    background: white;
    border-radius: 5px;
    padding: 1em;
    width: 90%;
    max-width: 600px;
    margin: auto;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-close {
    cursor: pointer;
    font-size: 1.5em;
}
.modal-body {
    margin: 1em 0;
}
.modal-footer {
    text-align: right;
}
.open-modal {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}
/* Скрываем всплывающее окно по умолчанию */
/* Скрываем всплывающее окно по умолчанию */
.popup-overlay {
.popup-overlay {

Navigation menu