MediaWiki:Common.css: відмінності між версіями

нема опису редагування
Немає опису редагування
Немає опису редагування
Рядок 997: Рядок 997:


/* ==================================================== */
/* ==================================================== */
/* ФІКС ПОШУКУ - БЛОКУВАННЯ OVERLAY ТА СТРИБАННЯ */
/* ФІКС ПОШУКУ - БЛОКУВАННЯ ТІЛЬКИ SEARCH OVERLAY */
/* ==================================================== */
/* ==================================================== */


Рядок 1004: Рядок 1004:
     overflow-y: scroll !important;
     overflow-y: scroll !important;
     scrollbar-gutter: stable !important;
     scrollbar-gutter: stable !important;
}
/* Блокуємо зміни body при overlay */
body,
body.overlay-enabled,
body.search-enabled,
body[class*="overlay"],
body[class*="search"] {
    overflow: auto !important;
    position: static !important;
    height: auto !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
}
/* Фіксуємо viewport */
#mw-mf-viewport,
#mw-mf-page-center {
    transform: none !important;
    transition: none !important;
    position: static !important;
    overflow: visible !important;
}
/* Блокуємо зміни при overlay */
.overlay-enabled #mw-mf-viewport,
.overlay-enabled #mw-mf-page-center,
.overlay-enabled .mw-body,
.overlay-enabled #content {
    transform: none !important;
    margin: 0 !important;
    position: static !important;
}
}


Рядок 1050: Рядок 1017:
}
}


/* Ховаємо всі overlay елементи */
/* Ховаємо ТІЛЬКИ search overlay */
.overlay,
.overlay.search-overlay {
.search-overlay,
.overlay.search-overlay,
.overlay-header,
.overlay-content,
.mw-mf-page-center__mask {
     display: none !important;
     display: none !important;
    position: absolute !important;
    left: -9999px !important;
     visibility: hidden !important;
     visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
}
}


Рядок 1071: Рядок 1027:
     pointer-events: auto !important;
     pointer-events: auto !important;
     cursor: text !important;
     cursor: text !important;
    -webkit-user-select: text !important;
    user-select: text !important;
}
}


/* Вимикаємо тригер overlay */
/* Дозволяємо media overlay (галерея зображень) працювати */
.skin-minerva-search-trigger {
.mw-mmv-overlay,
     pointer-events: none !important;
.mw-mmv-image-wrapper,
}
.mw-mmv-main,
 
.overlay.media-overlay {
/* Але input активний */
     display: block !important;
.minerva-header .search-box input.search {
    visibility: visible !important;
    opacity: 1 !important;
     pointer-events: auto !important;
     pointer-events: auto !important;
     cursor: text !important;
     position: fixed !important;
    left: 0 !important;
    height: auto !important;
    width: auto !important;
}
}