SHA256
UI: новый общий стиль, тёмная/светлая тема, настраиваемая палитра
- styles/main.css: роли цветов (по умолчанию «Индиго»), шкала отступов/скруглений/шрифтов, цвета отношений для обеих тем; жёсткие цвета в стилях заменены на роли. - Палитра: пресеты и личные правки, «Оформление» Авто/День/Ночь, долгое нажатие — редактор цветов с экспортом/импортом. - Каналы: пузыри постов автора, плашки дней, строка «Написать в канал…», «О канале», создание канала с адресом из названия; лента открывается на свежих постах. - Чаты: плоский список, чипы-фильтры, пузыри, плашки дней; нижняя панель скрыта в переписке. - Корневые разделы — единая шапка; профиль и чужой профиль — общая карточка; настройки, кошелёк, сеансы — меню-списки. - Нижняя панель: иконки без подписей, бейджи на иконках. - confirmDialog вместо window.confirm/alert; на телефоне диалоги — шторки снизу. - docs/UI-Design/ISSUES-for-dev.md — найденные ошибки сервера/UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
.notifications-screen {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
color: var(--text-primary);
|
||||
min-height: 100%;
|
||||
align-content: start;
|
||||
}
|
||||
@@ -17,15 +17,15 @@
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(320px 320px at 86% 12%, rgba(147, 112, 219, 0.2), transparent 72%),
|
||||
radial-gradient(280px 280px at 18% 82%, rgba(147, 112, 219, 0.14), transparent 72%),
|
||||
radial-gradient(260px 260px at 70% 65%, rgba(212, 175, 55, 0.12), transparent 75%),
|
||||
#05070A;
|
||||
radial-gradient(320px 320px at 86% 12%, color-mix(in srgb, var(--rel-contact) 20%, transparent), transparent 72%),
|
||||
radial-gradient(280px 280px at 18% 82%, color-mix(in srgb, var(--rel-contact) 14%, transparent), transparent 72%),
|
||||
radial-gradient(260px 260px at 70% 65%, color-mix(in srgb, var(--warning) 12%, transparent), transparent 75%),
|
||||
var(--surface);
|
||||
}
|
||||
|
||||
|
||||
.notifications-screen .tabs {
|
||||
background: rgba(20, 25, 35, 0.5);
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(18px);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
border: 1px solid transparent;
|
||||
@@ -34,24 +34,24 @@
|
||||
|
||||
|
||||
.notifications-screen .tab-btn {
|
||||
color: rgba(255, 255, 255, 0.65);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
|
||||
.notifications-screen .tab-btn.active {
|
||||
background: rgba(255, 180, 0, 0.12);
|
||||
background: color-mix(in srgb, var(--warning) 12%, transparent);
|
||||
border: 1px solid transparent;
|
||||
color: rgba(255, 200, 50, 0.92);
|
||||
color: var(--warning);
|
||||
}
|
||||
|
||||
|
||||
.notifications-screen .notifications-list > .card {
|
||||
background: rgba(20, 25, 35, 0.55);
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(24px);
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 0 60px rgba(80, 60, 180, 0.12);
|
||||
box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
}
|
||||
.notifications-screen::before {
|
||||
content: none;
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
|
||||
.notification-person-name {
|
||||
color: rgba(255, 255, 255, 0.96);
|
||||
color: var(--text-primary);
|
||||
font-weight: 700;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
@@ -109,7 +109,7 @@
|
||||
.notification-login,
|
||||
.notification-time-separator,
|
||||
.notification-time {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -121,13 +121,13 @@
|
||||
|
||||
|
||||
.notification-action {
|
||||
color: rgba(255, 255, 255, 0.66);
|
||||
color: var(--text-secondary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
.notification-content {
|
||||
color: rgba(255, 255, 255, 0.94);
|
||||
color: var(--text-primary);
|
||||
font-size: 15px;
|
||||
line-height: 1.45;
|
||||
white-space: pre-wrap;
|
||||
@@ -141,7 +141,7 @@
|
||||
gap: 18px;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 2px;
|
||||
color: rgba(255, 255, 255, 0.58);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
|
||||
@@ -169,8 +169,8 @@
|
||||
|
||||
.notifications-screen .notification-card--clickable:hover,
|
||||
.notifications-screen .notification-card--clickable:focus-visible {
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
border-color: var(--border-subtle);
|
||||
background: color-mix(in srgb, var(--text-primary) 6%, transparent);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
@@ -186,55 +186,6 @@
|
||||
|
||||
|
||||
|
||||
/* Уведомления: переключатели лент занимают место заголовка в закреплённом
|
||||
* TopBar и повторяют стеклянные чипы экрана «Связи». */
|
||||
.notifications-topbar {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .topbar__left,
|
||||
.notifications-topbar .topbar__right {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .topbar__center {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .notification-feed-tabs {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: nowrap;
|
||||
gap: 8px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
.notifications-topbar .notification-feed-tabs .notification-tab-btn {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
padding-inline: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* Высота панели остаётся стандартной: перенос фильтров не увеличивает TopBar. */
|
||||
.notifications-topbar .notification-feed-tabs.app-top-tabs {
|
||||
min-height: var(--app-primary-tab-min-height);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Уведомления: информационные блоки без рамок. Hover/focus не возвращает
|
||||
* обводку — различение сохраняется фоном и лёгкой реакцией на нажатие. */
|
||||
.notifications-screen .notifications-list > .notification-card,
|
||||
@@ -245,3 +196,8 @@
|
||||
border: 0;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.notifications-screen .notifications-list > .notification-empty-state.card, .notifications-screen .notification-empty-state { margin-top: var(--space-5); padding: var(--space-5) var(--space-4); border: 0; background: none; box-shadow: none; text-align: center; justify-items: center; }
|
||||
.notifications-screen .notification-empty-state strong { font-size: var(--text-md); color: var(--text-primary); }
|
||||
.notifications-screen .notification-empty-state .meta-muted { max-width: 30ch; font-size: var(--text-sm); }
|
||||
.notifications-screen .notification-feed-tabs { margin-bottom: var(--space-2); }
|
||||
|
||||
Reference in New Issue
Block a user