SHA256
UI: сияние в профиле, связь без сдвига экрана, аватары каналов без кольца
- Профиль: золотая «дышащая» аура вокруг аватара сияющего, бейджи «Сияющий» / «Официальный» под именем, разделы «Сияние» и «Официальный аккаунт» со списками «кто подтвердил» и «кого подтвердил» (видны у сияющих и у всех, у кого есть подтверждения). - Кнопки подтверждения на экране связи – по тем же правилам, что проверяет сервер (голосует основной аккаунт, за сияние – основной и сияющий; цель не отказалась). - Экран связи: сохранение показывается на нажатой кнопке, без строки «Сохранение…», которая сдвигала экран; после выбора – сообщение и возврат на страницу пользователя. - В каналах и обсуждениях аватары без стеклянного кольца «Связей» (готовый avatar-plain). - Локальный сервер UI отдаёт Cache-Control: no-cache – иначе браузер брал старый router.js.
This commit is contained in:
@@ -6,57 +6,6 @@
|
||||
.user-profile-screen .user-profile-status:empty { display: none; }
|
||||
|
||||
.user-profile-screen .pf-hero { display: grid; justify-items: center; gap: var(--space-1); text-align: center; }
|
||||
.user-profile-screen .pf-identity {
|
||||
width: min(100%, 420px);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(72px, 1fr) 96px minmax(72px, 1fr);
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.user-profile-screen .pf-status-card-slot { min-width: 0; display: grid; align-items: center; }
|
||||
.user-profile-screen .pf-status-card-slot--left { justify-items: end; }
|
||||
.user-profile-screen .pf-status-card-slot--right { justify-items: start; }
|
||||
.user-profile-screen .pf-status-card {
|
||||
width: min(100%, 106px);
|
||||
aspect-ratio: 1;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr);
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--surface);
|
||||
overflow: hidden;
|
||||
}
|
||||
.user-profile-screen .pf-status-card--primary { border-color: color-mix(in srgb, var(--rel-family) 55%, var(--border-subtle)); }
|
||||
.user-profile-screen .pf-status-card--shine { border-color: color-mix(in srgb, var(--rel-shining) 55%, var(--border-subtle)); }
|
||||
.user-profile-screen .pf-status-card-title {
|
||||
min-height: 27px;
|
||||
padding: 7px 5px 5px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--text-primary);
|
||||
font-size: 11px;
|
||||
line-height: 1.1;
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
.user-profile-screen .pf-status-card-count {
|
||||
min-width: 0;
|
||||
padding: 3px 2px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
align-content: center;
|
||||
gap: 0;
|
||||
border: 0;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
background: transparent;
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.user-profile-screen .pf-status-card-count:hover,
|
||||
.user-profile-screen .pf-status-card-count:active { background: var(--surface-selected); }
|
||||
.user-profile-screen .pf-status-card-count:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
.user-profile-screen .pf-status-card-count strong { font-size: var(--text-md); line-height: 1.05; font-weight: var(--weight-bold); }
|
||||
.user-profile-screen .pf-status-card-count span { color: var(--text-secondary); font-size: 9px; line-height: 1.05; }
|
||||
.user-profile-screen .pf-avatar { position: relative; width: 96px; height: 96px; display: grid; place-items: center; justify-self: center; }
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar,
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-image { width: 96px; height: 96px; min-width: 96px; min-height: 96px; font-size: 36px; }
|
||||
@@ -64,17 +13,45 @@
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-framed > .avatar-photo { width: 100%; height: 100%; }
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-framed::after,
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-glow::before { content: none; }
|
||||
/* Сияющий: тёплая золотая аура вокруг аватара, медленно «дышит» – как сияние знака на заставке. */
|
||||
.user-profile-screen .pf-avatar.is-shining { isolation: isolate; }
|
||||
.user-profile-screen .pf-avatar.is-shining::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -30%;
|
||||
z-index: -1;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(closest-side, color-mix(in srgb, var(--warning) 46%, transparent) 55%, color-mix(in srgb, var(--warning) 16%, transparent) 78%, transparent);
|
||||
filter: blur(8px);
|
||||
animation: pf-shine-breathe 5.3s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
.user-profile-screen .pf-avatar.is-shining .user-profile-hero-avatar { box-shadow: 0 0 0 2px color-mix(in srgb, var(--warning) 85%, transparent); border-radius: 50%; }
|
||||
@keyframes pf-shine-breathe {
|
||||
0%, 100% { opacity: 0.7; transform: scale(0.96); }
|
||||
50% { opacity: 1; transform: scale(1.04); }
|
||||
}
|
||||
@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);
|
||||
}
|
||||
.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); }
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.user-profile-screen .pf-identity { grid-template-columns: minmax(66px, 1fr) 88px minmax(66px, 1fr); gap: 7px; }
|
||||
.user-profile-screen .pf-avatar,
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar,
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-image { width: 88px; height: 88px; min-width: 88px; min-height: 88px; }
|
||||
.user-profile-screen .pf-status-card { width: min(100%, 96px); }
|
||||
.user-profile-screen .pf-status-card-title { font-size: 10px; }
|
||||
.user-profile-screen .pf-status-card-count span { font-size: 8px; }
|
||||
}
|
||||
|
||||
.user-profile-screen .pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
|
||||
@@ -144,7 +121,9 @@
|
||||
.relation-manage-screen { gap: var(--space-3); }
|
||||
.relation-manage-status:empty { display: none; }
|
||||
.relation-manage-body { gap: var(--space-3); }
|
||||
.relation-manage-body.is-busy { opacity: .72; pointer-events: none; }
|
||||
.relation-manage-body.is-busy { pointer-events: none; }
|
||||
.relation-manage-body.is-busy button:not(.is-pending) { opacity: .5; }
|
||||
.relation-manage-body button.is-pending { border-color: var(--accent); color: var(--accent); opacity: 1; }
|
||||
.relation-manage-card { gap: var(--space-3); }
|
||||
.relation-manage-card-head { display: grid; gap: 2px; }
|
||||
.relation-manage-card-head > strong { color: var(--text-primary); font-size: var(--text-md); }
|
||||
|
||||
Reference in New Issue
Block a user