2206
редагувань
Admin (обговорення | внесок) (DEBUG: розфарбувати контейнери на login) |
Admin (обговорення | внесок) (login v2.7: .mw-body→карточка, heading всередині, .mw-content-container прохідник, footer hug-content) |
||
| Рядок 847: | Рядок 847: | ||
==================================================================== */ | ==================================================================== */ | ||
/* === DEBUG: | /* === DEBUG: тільки outlines (без фонів, щоб не псувати дизайн карти) === */ | ||
body.mw-special-Userlogin .vector-header-container { outline: 2px solid orange !important; outline-offset: -2px; } | |||
body.mw-special-Userlogin .vector-header-container { outline: | body.mw-special-Userlogin .mw-page-container { outline: 2px solid blue !important; outline-offset: -2px; } | ||
body.mw-special-Userlogin .mw-page-container { outline: | body.mw-special-Userlogin .mw-page-container-inner { outline: 2px dashed green !important; outline-offset: -2px; } | ||
body.mw-special-Userlogin .mw-page-container-inner { outline: | body.mw-special-Userlogin .mw-body { outline: 2px solid teal !important; outline-offset: -2px; } | ||
body.mw-special-Userlogin .mw-footer-container { outline: 2px solid black !important; outline-offset: -2px; } | |||
body.mw-special-Userlogin .mw-body { outline: | |||
body.mw-special-Userlogin .mw-footer-container { outline: | |||
/* === / DEBUG === */ | /* === / DEBUG === */ | ||
| Рядок 917: | Рядок 913: | ||
grid-column: 1 / -1 !important; | grid-column: 1 / -1 !important; | ||
} | } | ||
/* (стара flex-розкладка .mw-body / #bodyContent видалена — тепер | |||
.mw-body це повноцінна картка, див. секцію нижче) */ | |||
/* Footer — стискається до контенту і центрується по горизонталі */ | |||
/* Footer — | |||
body.mw-special-Userlogin .mw-footer-container, | body.mw-special-Userlogin .mw-footer-container, | ||
body.mw-special-CreateAccount .mw-footer-container { | body.mw-special-CreateAccount .mw-footer-container { | ||
flex: 0 0 auto; | flex: 0 0 auto; | ||
margin-top: auto; | margin-top: auto; | ||
width: auto !important; | |||
max-width: max-content !important; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
background: none !important; | |||
padding: 16px !important; | |||
} | |||
body.mw-special-Userlogin #mw-footer, | |||
body.mw-special-CreateAccount #mw-footer { | |||
padding: 0 !important; | |||
} | |||
/* Футер-плейси — в один рядок, відцентровано, маленький розмір */ | |||
body.mw-special-Userlogin #footer-places, | |||
body.mw-special-CreateAccount #footer-places { | |||
display: flex !important; | |||
flex-wrap: wrap; | |||
gap: 16px; | |||
justify-content: center; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
body.mw-special-Userlogin #footer-places li, | |||
body.mw-special-CreateAccount #footer-places li { | |||
font-size: 12px; | |||
color: #6b7280; | |||
} | } | ||
/* Sitenotice між inner і footer — не повинен заважати */ | /* Sitenotice між inner і footer — не повинен заважати */ | ||
| Рядок 969: | Рядок 979: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* .mw-content-container — повністю прозорий прохідник, без власної структури */ | ||
body.mw-special-Userlogin .mw-content-container, | body.mw-special-Userlogin .mw-content-container, | ||
body.mw-special-CreateAccount .mw-content-container { | body.mw-special-CreateAccount .mw-content-container { | ||
margin- | margin: 0 !important; | ||
padding: 0 !important; | |||
width: auto !important; | |||
max-width: none !important; | |||
background: none !important; | |||
border: none !important; | |||
display: contents !important; | |||
} | |||
/* .mw-body — це КАРТКА (раніше була #userloginForm). Білий бекграунд, | |||
border-radius, тінь, top-страйп, заголовок + форма всередині. */ | |||
body.mw-special-Userlogin .mw-body, | |||
body.mw-special-CreateAccount .mw-body { | |||
background: #ffffff !important; | |||
border-radius: 20px !important; | |||
padding: 40px 32px 32px !important; | |||
box-shadow: | |||
0 1px 2px rgba(26, 34, 64, 0.04), | |||
0 8px 32px rgba(26, 34, 64, 0.10) !important; | |||
position: relative !important; | |||
overflow: hidden !important; | |||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% | max-width: 420px !important; | ||
margin: 0 auto !important; | |||
display: block !important; | |||
align-items: initial !important; | |||
box-sizing: border-box !important; | |||
} | |||
/* 4-кольорова смуга зверху карточки (бренд-акцент) */ | |||
body.mw-special-Userlogin .mw-body::before, | |||
body.mw-special-CreateAccount .mw-body::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
height: 3px; | |||
background: linear-gradient(90deg, | |||
#00b898 0%, #00b898 25%, | |||
#1070b0 25%, #1070b0 50%, | |||
#f8b020 50%, #f8b020 75%, | |||
#f84840 75%, #f84840 100%); | |||
z-index: 1; | |||
} | |||
/* Сховати page-titlebar (header області) — він не потрібен на login */ | |||
body.mw-special-Userlogin .mw-body-header, | |||
body.mw-special-CreateAccount .mw-body-header { | |||
display: none !important; | |||
} | } | ||
| Рядок 1005: | Рядок 1058: | ||
} | } | ||
/* | /* #bodyContent і #mw-content-text — прозорі прохідники всередині .mw-body */ | ||
body.mw-special-Userlogin #bodyContent, | |||
body.mw-special-CreateAccount #bodyContent, | |||
body.mw-special-Userlogin #mw-content-text, | body.mw-special-Userlogin #mw-content-text, | ||
body.mw-special-CreateAccount #mw-content-text { | body.mw-special-CreateAccount #mw-content-text { | ||
background: none !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
width: 100%; | margin: 0 !important; | ||
width: 100% !important; | |||
max-width: none !important; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | /* #userloginForm — більше не картка, просто wrapper для форми */ | ||
body.mw-special-Userlogin #userloginForm, | body.mw-special-Userlogin #userloginForm, | ||
body.mw-special-CreateAccount #userloginForm { | body.mw-special-CreateAccount #userloginForm { | ||
background: | background: none !important; | ||
border-radius: | border-radius: 0 !important; | ||
padding: | padding: 0 !important; | ||
box-shadow: | box-shadow: none !important; | ||
margin: 16px 0 0 0 !important; | |||
overflow: visible !important; | |||
overflow: | |||
} | } | ||
/* | /* Видалити старий top-stripe з #userloginForm (тепер на .mw-body) */ | ||
body.mw-special-Userlogin #userloginForm::before, | body.mw-special-Userlogin #userloginForm::before, | ||
body.mw-special-CreateAccount #userloginForm::before { | body.mw-special-CreateAccount #userloginForm::before { | ||
content: | content: none !important; | ||
} | } | ||
body.mw-special-Userlogin #userloginForm form, | body.mw-special-Userlogin #userloginForm form, | ||