6369
редагувань
Admin (обговорення | внесок) Немає опису редагування |
Admin (обговорення | внесок) Немає опису редагування |
||
| Рядок 1635: | Рядок 1635: | ||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); | ||
backdrop-filter: blur(4px); | backdrop-filter: blur(4px); | ||
} | |||
/* ==================================================== | |||
MCC DESIGN SYSTEM v2 — append to Common.css | |||
Не замінює старий код, тільки доповнює/перекриває | |||
==================================================== */ | |||
/* ── ШРИФТ ── */ | |||
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap'); | |||
body, | |||
.mw-body, | |||
.content, | |||
.mw-parser-output { | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 15px !important; | |||
} | |||
/* ── БАЗОВИЙ РОЗМІР ТЕКСТУ В ТАБЛИЦЯХ ── */ | |||
.wikitable td, | |||
.wikitable th { | |||
font-family: 'Manrope', sans-serif !important; | |||
font-size: 14px !important; | |||
} | |||
/* ── H2 СЕКЦІЇ — БІЛЬШЕ ВІДСТУПУ ── */ | |||
.content .mw-parser-output > h2, | |||
.content .section-heading { | |||
margin-top: 48px !important; | |||
margin-bottom: 18px !important; | |||
font-size: 18px !important; | |||
font-weight: 700 !important; | |||
color: #ebebeb !important; | |||
padding-top: 0 !important; | |||
padding-bottom: 10px !important; | |||
border-bottom: 1px solid #232b3a !important; | |||
} | |||
/* ── H4 ПІДЗАГОЛОВКИ ФІНАЛЬНИХ ІГОР ── */ | |||
h4 { | |||
font-size: 11px !important; | |||
font-weight: 700 !important; | |||
letter-spacing: .1em !important; | |||
text-transform: uppercase !important; | |||
color: #b7b4bf !important; | |||
opacity: .45 !important; | |||
margin: 22px 0 8px !important; | |||
} | |||
/* ==================================================== | |||
ТАБЛИЦІ — АНІМАЦІЯ РЯДКІВ (CSS-only) | |||
==================================================== */ | |||
.wikitable tbody tr { | |||
animation: mcc-row-in 0.32s ease both; | |||
} | |||
.wikitable tbody tr:nth-child(1) { animation-delay: 0.03s; } | |||
.wikitable tbody tr:nth-child(2) { animation-delay: 0.06s; } | |||
.wikitable tbody tr:nth-child(3) { animation-delay: 0.09s; } | |||
.wikitable tbody tr:nth-child(4) { animation-delay: 0.12s; } | |||
.wikitable tbody tr:nth-child(5) { animation-delay: 0.15s; } | |||
.wikitable tbody tr:nth-child(6) { animation-delay: 0.18s; } | |||
.wikitable tbody tr:nth-child(7) { animation-delay: 0.21s; } | |||
.wikitable tbody tr:nth-child(8) { animation-delay: 0.24s; } | |||
.wikitable tbody tr:nth-child(9) { animation-delay: 0.27s; } | |||
.wikitable tbody tr:nth-child(10) { animation-delay: 0.30s; } | |||
.wikitable tbody tr:nth-child(n+11) { animation-delay: 0.33s; } | |||
@keyframes mcc-row-in { | |||
from { opacity: 0; transform: translateX(-6px); } | |||
to { opacity: 1; transform: translateX(0); } | |||
} | |||
/* Re-анімація при сортуванні — клас додається JS */ | |||
.wikitable.mcc-sorting tbody tr { | |||
animation: none; | |||
} | |||
.wikitable.mcc-sorted tbody tr { | |||
animation: mcc-row-in 0.28s ease both; | |||
} | |||
.wikitable.mcc-sorted tbody tr:nth-child(1) { animation-delay: 0.02s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(2) { animation-delay: 0.04s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(3) { animation-delay: 0.06s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(4) { animation-delay: 0.08s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(5) { animation-delay: 0.10s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(6) { animation-delay: 0.12s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(7) { animation-delay: 0.14s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(8) { animation-delay: 0.16s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(9) { animation-delay: 0.18s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(10) { animation-delay: 0.20s; } | |||
.wikitable.mcc-sorted tbody tr:nth-child(n+11) { animation-delay: 0.22s; } | |||
/* ==================================================== | |||
SORTABLE — ФІКС ПРАВОГО ВИРІВНЮВАННЯ | |||
==================================================== */ | |||
/* Стрілка не накладається на число у right-aligned колонках */ | |||
.jquery-tablesorter th.headerSort { | |||
padding-right: 22px !important; | |||
} | |||
.jquery-tablesorter th.headerSort::after { | |||
right: 6px !important; | |||
} | |||
/* ==================================================== | |||
ГОРИЗОНТАЛЬНИЙ СКРОЛ ДЛЯ ШИРОКИХ ТАБЛИЦЬ | |||
Обгортка додається JS — .mcc-scroll-outer | |||
==================================================== */ | |||
.mcc-scroll-outer { | |||
position: relative; | |||
margin-bottom: 0; | |||
} | |||
/* Градієнт-підказка що таблиця ширша */ | |||
.mcc-scroll-outer::after { | |||
content: ''; | |||
position: absolute; | |||
right: 0; top: 0; bottom: 0; | |||
width: 40px; | |||
background: linear-gradient(to right, transparent, rgba(21,21,31,0.90)); | |||
pointer-events: none; | |||
transition: opacity 0.25s; | |||
border-radius: 0 6px 6px 0; | |||
} | |||
.mcc-scroll-outer.mcc-no-fade::after { | |||
opacity: 0; | |||
} | |||
.mcc-scroll-inner { | |||
overflow-x: auto; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
/* Мінімальна ширина для широкого "Запис ігор" */ | |||
.mcc-wide-table { | |||
min-width: 860px; | |||
} | |||
/* ==================================================== | |||
PLAYER TABS — фікс активного підкреслення | |||
(без фону, тільки border-bottom) | |||
==================================================== */ | |||
.player-tab.active { | |||
color: #fff !important; | |||
border-bottom-color: #a19ce0 !important; | |||
background: transparent !important; /* прибираємо фон */ | |||
} | |||
.player-tab:hover { | |||
background: rgba(255,255,255,0.04) !important; | |||
} | |||
/* ==================================================== | |||
STAT PILLS — рядок статистики сезону | |||
==================================================== */ | |||
.mcc-stat-row { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px; | |||
margin: 16px 0 20px; | |||
} | |||
.mcc-stat-pill { | |||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
background: #18151e; | |||
border: 1px solid #232b3a; | |||
border-radius: 8px; | |||
padding: 8px 14px; | |||
} | |||
.mcc-stat-pill-lbl { | |||
font-size: 11px; | |||
font-weight: 700; | |||
letter-spacing: .08em; | |||
text-transform: uppercase; | |||
color: #b7b4bf; | |||
opacity: .5; | |||
} | |||
.mcc-stat-pill-val { | |||
font-size: 14px; | |||
font-weight: 700; | |||
color: #ebebeb; | |||
} | |||
/* ==================================================== | |||
САЙДБАР BADGES — пастельний помаранчевий | |||
==================================================== */ | |||
.l-box-item .mcc-badge { | |||
margin-left: auto; | |||
background: rgba(210,130,60,0.18); | |||
border-radius: 20px; | |||
padding: 1px 7px; | |||
font-size: 10.5px; | |||
color: #d4895a; | |||
font-weight: 600; | |||
} | |||
/* ==================================================== | |||
PROFILE LINKS — 4 рівних квадрати | |||
==================================================== */ | |||
.profile-links-icons { | |||
display: grid !important; | |||
grid-template-columns: 1fr 1fr 1fr 1fr !important; | |||
gap: 0 !important; | |||
} | |||
.profile-icon { | |||
padding: 14px 8px !important; | |||
border-right: 1px solid rgba(255,255,255,0.07); | |||
background: rgba(24,21,30,0.4); | |||
transition: background .14s; | |||
justify-content: center !important; | |||
} | |||
.profile-icon:last-child { | |||
border-right: none; | |||
} | |||
.profile-icon:hover { | |||
background: #373752; | |||
} | |||
.profile-icon img { | |||
width: 26px !important; | |||
height: 26px !important; | |||
object-fit: contain; | |||
} | |||
/* Неактивний — чб + 30% */ | |||
.profile-icon.inactive { | |||
opacity: 0.28; | |||
pointer-events: none; | |||
} | |||
.profile-icon.inactive img { | |||
filter: grayscale(100%); | |||
} | |||
/* ==================================================== | |||
GAME RECORD BUTTON — тонший | |||
==================================================== */ | |||
.game-record-btn { | |||
padding: 3px 9px !important; | |||
font-size: 12px !important; | |||
border-radius: 4px !important; | |||
border: 1px solid rgba(208,47,47,0.25) !important; | |||
background-color: rgba(208,47,47,0.18) !important; | |||
color: #e08080 !important; | |||
} | |||
.game-record-btn:hover { | |||
background-color: rgba(208,47,47,0.35) !important; | |||
opacity: 1 !important; | |||
} | |||
.game-record-btn a { | |||
color: #e08080 !important; | |||
} | |||
/* ==================================================== | |||
R-BOX — покращений вигляд правої панелі | |||
==================================================== */ | |||
.r-box, | |||
.tournament-box, | |||
.series-box { | |||
border: 1px solid #232b3a !important; | |||
border-radius: 8px !important; | |||
overflow: hidden !important; | |||
background: rgba(24,21,30,0.6) !important; | |||
} | |||
/* Рядки інформації в r-box */ | |||
.r-box table td, | |||
.tournament-box table td { | |||
border-bottom: 1px solid rgba(255,255,255,0.05) !important; | |||
padding: 9px 13px !important; | |||
font-size: 13px !important; | |||
} | |||
/* Champion banner всередині r-box */ | |||
.r-box .rp-champion, | |||
.tournament-box .rp-champion { | |||
border: 1px solid rgba(255,215,0,0.18); | |||
border-radius: 6px; | |||
background: rgba(255,215,0,0.05); | |||
padding: 12px 14px; | |||
text-align: center; | |||
margin: 12px; | |||
} | |||
/* ==================================================== | |||
ВІНРЕЙТ КОЛІР В ТАБЛИЦЯХ | |||
==================================================== */ | |||
.wr-hi { color: #5aaa80 !important; } | |||
.wr-lo { color: #c06070 !important; } | |||
/* ==================================================== | |||
ЦІКАВІ ФАКТИ — список без зайвих відступів | |||
==================================================== */ | |||
.mcc-facts-list { | |||
list-style: none !important; | |||
padding: 0 !important; | |||
max-width: 820px; | |||
} | |||
.mcc-facts-list li { | |||
display: flex; | |||
gap: 10px; | |||
padding: 8px 0; | |||
font-size: 14.5px; | |||
line-height: 1.75; | |||
color: #b7b4bf; | |||
border-bottom: 1px solid rgba(255,255,255,0.04) !important; | |||
} | |||
.mcc-facts-list li::before { | |||
content: '—'; | |||
color: #a19ce0; | |||
opacity: .5; | |||
flex-shrink: 0; | |||
} | |||
.mcc-facts-list li:last-child { | |||
border-bottom: none !important; | |||
} | |||
/* ==================================================== | |||
МОБІЛЬНА АДАПТАЦІЯ ТАБЛИЦЬ | |||
==================================================== */ | |||
@media (max-width: 768px) { | |||
/* scroll-hint підказка */ | |||
.mcc-scroll-hint { | |||
font-size: 11.5px; | |||
color: #b7b4bf; | |||
opacity: .4; | |||
margin-bottom: 8px; | |||
display: flex; | |||
align-items: center; | |||
gap: 5px; | |||
} | |||
/* Компактніші stat pills */ | |||
.mcc-stat-pill { | |||
padding: 6px 11px; | |||
} | |||
.mcc-stat-pill-lbl { | |||
font-size: 10px; | |||
} | |||
.mcc-stat-pill-val { | |||
font-size: 13px; | |||
} | |||
} | } | ||