5441
редагування
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| Рядок 1066: | Рядок 1066: | ||
padding-right: 20px !important; | padding-right: 20px !important; | ||
} | } | ||
} | |||
/* ==================================================== */ | |||
/* ПОВНЕ БЛОКУВАННЯ SEARCH OVERLAY */ | |||
/* ==================================================== */ | |||
/* Блокуємо перехід на #/search */ | |||
.search-overlay, | |||
.overlay.search-overlay, | |||
.overlay-enabled .search-overlay, | |||
#mw-mf-page-center[class*="search"], | |||
.mw-mf-page-center__mask { | |||
display: none !important; | |||
visibility: hidden !important; | |||
opacity: 0 !important; | |||
pointer-events: none !important; | |||
height: 0 !important; | |||
width: 0 !important; | |||
overflow: hidden !important; | |||
} | |||
/* Прибираємо стрибання контенту */ | |||
body.overlay-enabled { | |||
overflow: auto !important; | |||
position: static !important; | |||
} | |||
.overlay-enabled .mw-body, | |||
.overlay-enabled #mw-mf-page-center { | |||
transform: none !important; | |||
position: static !important; | |||
} | |||
/* Поле пошуку - завжди активне */ | |||
#searchInput { | |||
pointer-events: auto !important; | |||
cursor: text !important; | |||
-webkit-user-select: text !important; | |||
user-select: text !important; | |||
} | |||
/* Прибираємо маску */ | |||
.mw-mf-page-center__mask { | |||
display: none !important; | |||
} | |||
/* Фіксуємо позицію body при overlay */ | |||
body { | |||
overflow-y: auto !important; | |||
position: static !important; | |||
} | |||
html { | |||
overflow-y: auto !important; | |||
scroll-behavior: smooth; | |||
} | |||
/* Прибираємо будь-які transform при overlay */ | |||
.overlay-enabled #content, | |||
.overlay-enabled .mw-body { | |||
transform: none !important; | |||
margin-top: 0 !important; | |||
} | } | ||