SHA256
Профиль: «Официальный» и «Сияющий» снова по бокам аватара
- Слева «Официальный», справа «Сияющий»: числа «подтвердили» и «подтвердил(а)» открывают списки. - У активного статуса числа его цветом; на своём профиле обе стороны видны всегда, пустая – бледнее. - Значки под именем и нижний раздел «Сияние» убраны – они повторяли эти числа.
This commit is contained in:
@@ -33,17 +33,36 @@
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { .user-profile-screen .pf-avatar.is-shining::before { animation: none; } }
|
||||
|
||||
.user-profile-screen .pf-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1); margin-top: var(--space-1); }
|
||||
.user-profile-screen .pf-badge {
|
||||
padding: 3px 10px;
|
||||
border-radius: 999px;
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-xs);
|
||||
font-weight: var(--weight-bold);
|
||||
/* Статусы по бокам аватара: слева «Официальный», справа «Сияющий» (profile-card.js → statusSideHtml). */
|
||||
.user-profile-screen .pf-identity {
|
||||
--pf-shine: var(--warning);
|
||||
--pf-official: var(--info);
|
||||
width: min(100%, 440px);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.user-profile-screen .pf-side { min-width: 0; display: grid; align-items: center; }
|
||||
.user-profile-screen .pf-side--left { justify-items: end; }
|
||||
.user-profile-screen .pf-side--right { justify-items: start; }
|
||||
.user-profile-screen .pf-sc { --pf-c: var(--pf-shine); width: min(100%, 116px); display: grid; gap: var(--space-1); min-width: 0; }
|
||||
.user-profile-screen .pf-sc--primary { --pf-c: var(--pf-official); }
|
||||
.user-profile-screen .pf-sc__title { text-align: center; color: var(--pf-c); font-size: var(--text-xs); line-height: 1.2; font-weight: var(--weight-bold); }
|
||||
.user-profile-screen .pf-sc__row { min-width: 0; display: grid; justify-items: center; gap: 1px; padding: 4px 2px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-primary); font: inherit; cursor: pointer; }
|
||||
.user-profile-screen .pf-sc__row strong { font-size: var(--text-xl); line-height: 1.1; font-weight: var(--weight-bold); }
|
||||
.user-profile-screen .pf-sc__row span { color: var(--text-secondary); font-size: 11px; line-height: 1.15; }
|
||||
.user-profile-screen .pf-sc__row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
.user-profile-screen .pf-sc.is-active .pf-sc__row strong { color: var(--pf-c); }
|
||||
.user-profile-screen .pf-sc.is-empty { opacity: 0.75; }
|
||||
.user-profile-screen .pf-sc.is-empty .pf-sc__title { color: var(--text-secondary); }
|
||||
@media (hover: hover) { .user-profile-screen .pf-sc__row:hover { background: var(--surface-selected); } }
|
||||
.user-profile-screen .pf-sc__row:active { background: var(--surface-selected); }
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.user-profile-screen .pf-identity { grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); gap: var(--space-2); }
|
||||
.user-profile-screen .pf-sc__row span { font-size: 10px; }
|
||||
}
|
||||
.user-profile-screen .pf-badge--shine { color: var(--warning); background: color-mix(in srgb, var(--warning) 14%, transparent); }
|
||||
.user-profile-screen .pf-badge--official { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
|
||||
.user-profile-screen .pf-status-section .nav-list__title { margin-top: 0; }
|
||||
|
||||
.user-profile-screen .pf-name { margin: var(--space-2) 0 0; color: var(--text-primary); font-size: var(--text-xl); line-height: var(--leading-xl); font-weight: var(--weight-bold); overflow-wrap: anywhere; }
|
||||
.user-profile-screen .pf-login { color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-sm); }
|
||||
|
||||
Reference in New Issue
Block a user