SHA256
CORE/CONTENT test5593 и адаптация UI
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
/* Обсуждение (макет V4): контекст записи, «Комментарии · N», плоский список, строка ввода. */
|
||||
.channels-screen--thread { gap: 0; }
|
||||
.thread-block { display: grid; gap: 0; min-width: 0; }
|
||||
|
||||
.thread-section-title { margin: 12px 0 4px; font-size: .8125rem; font-weight: 600; color: var(--text-primary); }
|
||||
.thread-group { position: relative; padding: 12px 0 6px; }
|
||||
.thread-group + .thread-group { border-top: 1px solid var(--border-subtle); }
|
||||
.channels-screen .thread-comment { cursor: pointer; position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; scroll-margin: 16px; }
|
||||
.channels-screen .thread-comment--nested { grid-template-columns: 28px minmax(0, 1fr); margin-top: 10px; }
|
||||
.thread-comment.is-highlight { background: var(--surface-selected); box-shadow: 0 0 0 6px var(--surface-selected); border-radius: 4px; }
|
||||
.thread-comment__who { align-self: start; padding: 0; border: 0; background: transparent; cursor: pointer; }
|
||||
.thread-comment__who .avatar.thread-comment__avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; font-size: 14px; }
|
||||
.thread-comment--nested .thread-comment__who .avatar.thread-comment__avatar { width: 28px; height: 28px; min-width: 28px; min-height: 28px; font-size: 12px; }
|
||||
.thread-comment__main { min-width: 0; }
|
||||
.thread-comment__head { display: flex; align-items: center; gap: 6px; min-height: 22px; }
|
||||
.thread-comment__name { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text-primary); font: inherit; font-size: .9375rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
|
||||
.thread-comment__badge { padding: 1px 6px; border-radius: 6px; background: var(--surface-selected); color: var(--action); font-size: .6875rem; white-space: nowrap; }
|
||||
.thread-comment__head time { flex-shrink: 0; color: var(--text-secondary); font-size: .875rem; }
|
||||
.thread-comment__head .thread-comment__more { width: 36px; min-width: 36px; height: 28px; min-height: 28px; margin: -4px -8px -4px auto; padding: 0; border: 0; background: transparent; color: var(--text-secondary); }
|
||||
.thread-comment__head .thread-comment__more svg { width: 20px; height: 20px; }
|
||||
.thread-comment__mention { display: inline-flex; align-items: center; gap: 3px; margin: 1px 0 0; padding: 0; border: 0; background: transparent; color: var(--action); font: inherit; font-size: .8125rem; cursor: pointer; }
|
||||
.thread-comment__mention svg { width: 14px; height: 14px; }
|
||||
.thread-comment__text { margin: 2px 0 0; font-size: .9375rem; line-height: 1.4375rem; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.thread-comment__actions { display: flex; align-items: center; gap: 4px; margin: 2px 0 0 -10px; color: var(--text-secondary); }
|
||||
.thread-comment__actions > button { min-height: 36px; min-width: 40px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: .8125rem; cursor: pointer; }
|
||||
.thread-comment__actions svg { width: 19px; height: 19px; }
|
||||
.thread-comment__actions span:empty { display: none; }
|
||||
|
||||
/* Ветка: ответы на ответы одной колонкой со сдвигом под аватар, от аватара родителя – линия с изгибом к каждому ответу. */
|
||||
.thread-replies { position: relative; margin-left: 46px; }
|
||||
.thread-replies > .thread-comment::before { content: ''; position: absolute; top: -10px; left: -29px; width: 22px; height: 24px; border-left: 2px solid var(--border-control); border-bottom: 2px solid var(--border-control); border-bottom-left-radius: 12px; pointer-events: none; }
|
||||
.thread-replies > :not(:last-child)::after { content: ''; position: absolute; top: 0; bottom: -10px; left: -29px; border-left: 2px solid var(--border-control); pointer-events: none; }
|
||||
.thread-group.has-replies > .thread-comment:first-child::after { content: ''; position: absolute; top: 40px; bottom: -12px; left: 17px; border-left: 2px solid var(--border-control); pointer-events: none; }
|
||||
.thread-replies:not(.is-expanded) > .is-collapsed { display: none; }
|
||||
.thread-more { position: relative; display: block; min-height: 36px; margin-top: 6px; padding: 0; border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
|
||||
.thread-replies > .thread-more::before { content: ''; position: absolute; top: -6px; left: -29px; width: 22px; height: 24px; border-left: 2px solid var(--border-control); border-bottom: 2px solid var(--border-control); border-bottom-left-radius: 12px; }
|
||||
.thread-more:active { color: var(--text-primary); }
|
||||
@media (hover: hover) { .thread-more:hover { color: var(--text-primary); } }
|
||||
.thread-more--deeper { color: var(--action); font-weight: 500; }
|
||||
|
||||
/* Цепочка над открытым ответом: звенья соединены линией от аватара к следующему. */
|
||||
.thread-block--ancestors { padding-top: 12px; }
|
||||
.channels-screen .thread-comment--ancestor { padding-bottom: 14px; }
|
||||
.thread-comment--ancestor::after { content: ''; position: absolute; top: 42px; bottom: 0; left: 17px; border-left: 2px solid var(--border-control); pointer-events: none; }
|
||||
.thread-comment--ancestor .avatar.channel-profile-avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; border-radius: 50%; font-size: 15px; }
|
||||
.thread-block--ancestors + .thread-block--focus .channel-message-card--threads-focus { padding-top: 0; }
|
||||
|
||||
.thread-quote { display: block; width: 100%; margin: 0 0 7px; padding: 5px 9px; border: 0; border-left: 2px solid var(--quote-line); border-radius: 0 6px 6px 0; background: var(--quote-bg); color: var(--text-secondary); font: inherit; font-size: .75rem; line-height: 1.125rem; text-align: left; cursor: pointer; }
|
||||
.thread-quote strong { display: block; color: var(--action); font-weight: 500; }
|
||||
.thread-quote span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
button.thread-quote:active { background: var(--surface); }
|
||||
@media (hover: hover) { button.thread-quote:hover { background: var(--surface); } }
|
||||
.thread-return { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; padding: 9px 12px; border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--surface-raised); color: var(--text-primary); font: inherit; font-size: .75rem; white-space: nowrap; cursor: pointer; }
|
||||
.thread-empty { padding: 36px 20px; text-align: center; }
|
||||
|
||||
|
||||
/* Отдельная публикация в обсуждении использует карточку и действия из ленты. */
|
||||
.thread-block--focus > .channel-message-card { margin-bottom: 8px; }
|
||||
|
||||
/* Строка ответа внизу обсуждения (как в Threads): аватар, поле-кнопка, «прикрепить», «развернуть». */
|
||||
.thread-reply-bar { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 48px; padding: 0 6px 0 8px; border: 1px solid var(--border-control); border-radius: 24px; background: var(--surface); }
|
||||
.thread-reply-bar .avatar.thread-reply-bar__avatar { width: 30px; height: 30px; min-width: 30px; min-height: 30px; font-size: 12px; }
|
||||
.thread-reply-bar__field { flex: 1; min-width: 0; min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--text-secondary); font: inherit; font-size: 1rem; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: text; }
|
||||
.thread-reply-bar__icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary); cursor: pointer; }
|
||||
.thread-reply-bar__icon:active { color: var(--text-primary); background: var(--surface-selected); }
|
||||
@media (hover: hover) { .thread-reply-bar__icon:hover { color: var(--text-primary); background: var(--surface-selected); } }
|
||||
.thread-reply-bar__icon svg { width: 22px; height: 22px; }
|
||||
.thread-reply-bar__field:focus-visible, .thread-reply-bar__icon:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.thread-reply-guest { width: 100%; display: grid; }
|
||||
|
||||
.thread-comment__actions > .thread-comment__like-count { min-width: 28px; padding-inline: 4px; font-variant-numeric: tabular-nums; text-decoration: underline dotted; text-underline-offset: 3px; }
|
||||
@@ -0,0 +1,430 @@
|
||||
/* Геометрия ленты канала и сопутствующих экранов. */
|
||||
.channel-feed { gap: 0; min-width: 0; }
|
||||
.channels-screen .channel-unread-line { display: flex; align-items: center; justify-content: center; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font-size: .75rem; }
|
||||
.channel-head-meta, .channel-note { color: var(--text-secondary); font-size: .8125rem; line-height: 1.5; }
|
||||
.channel-message-target-preview { display: grid; gap: 4px; padding: 12px; border-left: 2px solid var(--accent); background: var(--surface); font-size: .8125rem; overflow-wrap: anywhere; }
|
||||
.channels-screen .channel-message-card.is-focus-flash { background: var(--surface-selected); }
|
||||
.channel-system-event-card { padding: 8px; margin: 8px auto; width: fit-content; max-width: 100%; color: var(--text-secondary); font-size: .75rem; text-align: center; }
|
||||
.channel-meta-details-grid { display: grid; grid-template-columns: minmax(0, 128px) minmax(0,1fr); gap: 10px 12px; align-items: start; overflow-wrap: anywhere; }
|
||||
.channel-meta-details-grid > span:nth-child(2n + 1) { color: var(--text-secondary); }
|
||||
.channel-meta-details-grid code { overflow-wrap: anywhere; }
|
||||
.channel-meta-avatar-slot { display: flex; justify-content: center; margin: 4px 0 12px; }
|
||||
.channel-profile-avatar { width: var(--channel-avatar-size, 96px); height: var(--channel-avatar-size, 96px); min-width: var(--channel-avatar-size, 96px); border-radius: 50%; overflow: hidden; color: var(--accent); font-size: calc(var(--channel-avatar-size, 96px) * .5); }
|
||||
.channel-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.channel-profile-modal-head { display: flex; gap: 12px; align-items: center; }
|
||||
.channel-main-action { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 0 16px; color: var(--on-accent); background: var(--accent); font-weight: 600; }
|
||||
.channel-main-action svg { width: 20px; height: 20px; }
|
||||
.channel-back-btn { min-height: 44px; color: var(--accent); }
|
||||
.entrypoint-history-list { display: grid; gap: 8px; max-height: 58vh; overflow: auto; }
|
||||
.entrypoint-history-item { display: grid; gap: 8px; text-align: left; padding: 12px; border-radius: 12px; background: var(--surface); color: var(--text-primary); }
|
||||
.entrypoint-history-item p { white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.entrypoint-history-item span { font-size: .75rem; color: var(--text-secondary); }
|
||||
.channels-screen--channel-about {
|
||||
padding-bottom: calc(24px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.channel-about-card { padding: 0; border: 0; border-radius: 0; background: transparent; }
|
||||
.channel-about-content { gap: 16px; }
|
||||
|
||||
.channel-about-hero { display: grid; justify-items: center; gap: 4px; padding: 8px 16px 0; text-align: center; }
|
||||
.channel-about-avatar-slot { margin-bottom: 8px; }
|
||||
.channel-about-avatar.avatar { width: 80px; height: 80px; min-width: 80px; min-height: 80px; border-radius: 50%; font-size: 36px; color: var(--accent); }
|
||||
.channel-about-title { margin: 0; color: var(--text-primary); font-size: 1.375rem; line-height: 1.75rem; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.channel-about-subline { color: var(--text-secondary); font-size: .875rem; line-height: 1.25rem; overflow-wrap: anywhere; }
|
||||
|
||||
.channel-about-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
|
||||
.channel-about-tile {
|
||||
min-height: 64px;
|
||||
padding: 10px 4px 8px;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-content: center;
|
||||
gap: 4px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 14px;
|
||||
color: var(--accent);
|
||||
background: var(--surface);
|
||||
font: inherit;
|
||||
font-size: .75rem;
|
||||
line-height: 1rem;
|
||||
cursor: pointer;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
.channel-about-tile svg { width: 22px; height: 22px; }
|
||||
.channel-about-tile span { color: var(--text-primary); }
|
||||
.channel-about-tile:active { background: var(--surface-selected); }
|
||||
@media (hover: hover) { .channel-about-tile:hover { background: var(--surface-selected); } }
|
||||
.channel-about-tile.is-active { background: var(--surface-selected); }
|
||||
.channel-about-tile:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.channel-about-tile:disabled { opacity: .6; cursor: wait; }
|
||||
|
||||
.channel-about-list { display: grid; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--surface); overflow: hidden; }
|
||||
.channel-about-row {
|
||||
width: 100%;
|
||||
min-height: 56px;
|
||||
padding: 10px 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.channel-about-row--static { display: grid; gap: 4px; cursor: default; }
|
||||
.channel-about-row:not(.channel-about-row--static):active { background: var(--surface-selected); }
|
||||
@media (hover: hover) { .channel-about-row:not(.channel-about-row--static):hover { background: var(--surface-selected); } }
|
||||
.channel-about-row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
.channel-about-row-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
|
||||
.channel-about-row-main strong { font-size: .9375rem; line-height: 1.375rem; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.channel-about-row-label { color: var(--text-secondary); font-size: .75rem; line-height: 1.125rem; }
|
||||
.channel-about-row-chevron { color: var(--text-secondary); display: inline-flex; }
|
||||
.channel-about-row-chevron svg { width: 18px; height: 18px; }
|
||||
.channel-about-owner-avatar .avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 16px; }
|
||||
.channel-about-description { margin: 0; font-size: .9375rem; line-height: 1.375rem; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.channel-about-link { color: var(--accent); font-size: .875rem; line-height: 1.25rem; overflow-wrap: anywhere; }
|
||||
.channel-about-technical { padding: 10px 14px; color: var(--text-secondary); font-size: .75rem; line-height: 1.125rem; overflow-wrap: anywhere; }
|
||||
|
||||
/* ===== Channel unsubscribe confirmation ===== */
|
||||
#channel-unsubscribe-confirm-modal {
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
#channel-unsubscribe-confirm-modal .channel-unsubscribe-confirm-card {
|
||||
width: min(100%, 390px);
|
||||
gap: 14px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-card .modal-title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-text {
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-actions button {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-yes {
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: var(--surface);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.channel-unsubscribe-confirm-yes:focus-visible,
|
||||
.channel-unsubscribe-confirm-yes:active {
|
||||
background: var(--surface);
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.channel-unsubscribe-confirm-yes:hover {
|
||||
background: var(--surface);
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Channel support transfer ===== */
|
||||
#channel-support-modal {
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
#channel-support-modal .channel-support-modal-card {
|
||||
width: min(100%, 430px);
|
||||
max-height: min(88vh, 720px);
|
||||
overflow-y: auto;
|
||||
gap: 9px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.channel-support-modal-head {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.channel-support-modal-head .modal-title {
|
||||
margin: 0 0 3px;
|
||||
}
|
||||
|
||||
.channel-support-subtitle {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.channel-support-close {
|
||||
width: 38px;
|
||||
min-width: 38px;
|
||||
height: 38px;
|
||||
min-height: 38px;
|
||||
padding: 0;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.channel-support-address {
|
||||
min-height: 36px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 10px;
|
||||
background: var(--surface);
|
||||
color: var(--text-secondary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 11px;
|
||||
line-height: 1.45;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.channel-support-balance-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.channel-support-balance-row strong {
|
||||
color: var(--text-primary);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.channel-support-refresh {
|
||||
min-height: 36px;
|
||||
padding-block: 6px;
|
||||
}
|
||||
|
||||
.channel-support-amount-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.channel-support-amount-row span {
|
||||
color: var(--text-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.channel-support-status {
|
||||
min-height: 18px;
|
||||
margin: 2px 0 0;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.channel-support-status.is-error {
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.channel-support-result {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.channel-support-result[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.channel-support-result strong {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.channel-support-result span,
|
||||
.channel-support-result code {
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.channel-support-submit {
|
||||
min-height: 48px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.channel-support-balance-row {
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.channel-support-balance-row .meta-muted {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Channel donation view ===== */
|
||||
.channels-screen--channel-donate {
|
||||
padding-bottom: calc(24px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.channel-donate-card {
|
||||
width: min(100%, 680px);
|
||||
margin-inline: auto;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.channel-donate-content {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.channel-donate-hero {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 5px;
|
||||
padding: 28px 20px 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.channel-donate-hero h2 {
|
||||
margin: 0 0 4px;
|
||||
color: var(--text-primary);
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.875rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.channel-donate-hero strong {
|
||||
color: var(--text-primary);
|
||||
font-size: 17px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.channel-donate-hero span {
|
||||
color: var(--text-secondary);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.channel-donate-section {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
padding: 18px 20px;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.channel-donate-address {
|
||||
min-height: 38px;
|
||||
padding: 9px 10px;
|
||||
border-radius: 10px;
|
||||
background: var(--surface);
|
||||
color: var(--text-secondary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 11px;
|
||||
line-height: 1.45;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.channel-donate-balance-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 44px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.channel-donate-balance-row strong {
|
||||
color: var(--text-primary);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.channel-donate-refresh {
|
||||
min-height: 36px;
|
||||
padding-block: 6px;
|
||||
}
|
||||
|
||||
.channel-donate-amount-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.channel-donate-amount-row span {
|
||||
color: var(--text-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.channel-donate-status {
|
||||
min-height: 18px;
|
||||
margin: 14px 20px 0;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.channel-donate-status.is-error {
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.channel-donate-result {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: 12px 20px 0;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.channel-donate-result[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.channel-donate-result strong {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.channel-donate-result span,
|
||||
.channel-donate-result code {
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.channel-donate-submit {
|
||||
min-height: 50px;
|
||||
margin: 16px 20px 22px;
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.channel-donate-section {
|
||||
padding-inline: 16px;
|
||||
}
|
||||
|
||||
.channel-donate-status,
|
||||
.channel-donate-result,
|
||||
.channel-donate-submit {
|
||||
margin-inline: 16px;
|
||||
}
|
||||
|
||||
.channel-donate-balance-row {
|
||||
grid-template-columns: 1fr auto;
|
||||
}
|
||||
|
||||
.channel-donate-balance-row .meta-muted {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
.channel-about-tiles:empty { display: none; }
|
||||
@@ -0,0 +1,192 @@
|
||||
/* Общий контракт публикаций и ответов. */
|
||||
.channels-screen .channel-message-card {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 16px 0 8px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--border-subtle);
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
animation: none;
|
||||
}
|
||||
.channel-message-head-row { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
|
||||
.channel-message-author-tile { display: flex; flex: 1; gap: 12px; align-items: center; min-width: 0; min-height: 44px; padding: 0; text-align: left; cursor: pointer; }
|
||||
.channel-message-author { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
|
||||
.channel-message-avatar.avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; font-size: 14px; }
|
||||
.channel-message-card .author-line-num { display: none; }
|
||||
.channel-message-author .channel-message-time::before { content: '·'; margin-right: 6px; }
|
||||
.channel-message-title, .author-line-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-width: 0; }
|
||||
.author-line-login { font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--text-primary); overflow-wrap: anywhere; }
|
||||
.author-line-num, .channel-message-time { font-size: .75rem; line-height: 1.125rem; color: var(--text-secondary); }
|
||||
.channel-message-body { margin: 0; font-size: .9375rem; line-height: 1.4375rem; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
|
||||
.channel-message-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
|
||||
.channel-action-item { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 12px; color: var(--text-secondary); cursor: pointer; font-size: .75rem; }
|
||||
.channel-action-item:active { color: var(--text-primary); background: var(--surface); }
|
||||
@media (hover: hover) { .channel-action-item:hover { color: var(--text-primary); background: var(--surface); } }
|
||||
.channel-action-item.is-liked { color: var(--reaction-active); }
|
||||
.channel-action-item:disabled { opacity: .5; cursor: wait; }
|
||||
.channel-action-icon { display: inline-flex; font-size: 22px; line-height: 1; }
|
||||
.channel-action-icon svg { width: 22px; height: 22px; }
|
||||
.channel-action-counter { color: inherit; font-size: .75rem; }
|
||||
.channel-action-counter:empty { display: none; } /* ноль не показываем — только иконку */
|
||||
.channel-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
|
||||
.channel-action-reply, .thread-reply-btn { margin-left: auto; color: var(--accent); }
|
||||
.channel-action-reply .channel-action-label, .thread-reply-btn .channel-action-label { position: static; width: auto; height: auto; clip: auto; }
|
||||
.channel-action-reply .channel-action-icon, .channel-action-reply .channel-action-counter, .thread-reply-btn .channel-action-icon, .thread-reply-btn .channel-action-counter { display: none; }
|
||||
.channel-message-more { width: 44px; height: 44px; margin-left: auto; font-size: 24px; color: var(--text-secondary); }
|
||||
.channel-message-kind-badge, .channel-message-type-button { min-height: 28px; padding: 6px 10px; border-radius: 8px; color: var(--accent); background: var(--surface-selected); font-size: .75rem; }
|
||||
.channel-message-type-button:not(:disabled) { min-height: 44px; cursor: pointer; }
|
||||
.message-edited-marker { font-size: .75rem; color: var(--text-secondary); }
|
||||
.deleted-message-pill { min-height: 44px; text-align: left; color: var(--text-secondary); padding: 8px 0; }
|
||||
.channel-header-title, .channel-header-owner { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.channel-header-owner { color: var(--text-secondary); font-size: .75rem; line-height: 1rem; font-weight: 400; }
|
||||
/* Нижняя панель экранов канала: поверхность с линией сверху, как шапка */
|
||||
.channel-composer { display: flex; gap: 8px; margin: 0 -12px; padding: 9px 12px calc(11px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border-subtle); }
|
||||
.channel-compose-bar {
|
||||
width: 100%;
|
||||
min-height: 48px;
|
||||
padding: 0 6px 0 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border: 1px solid var(--border-control);
|
||||
border-radius: 24px;
|
||||
color: var(--text-secondary);
|
||||
background: var(--surface);
|
||||
font: inherit;
|
||||
font-size: 1rem;
|
||||
text-align: left;
|
||||
cursor: text;
|
||||
transition: border-color 160ms ease;
|
||||
}
|
||||
.channel-compose-bar:active { border-color: var(--accent); }
|
||||
@media (hover: hover) { .channel-compose-bar:hover { border-color: var(--accent); } }
|
||||
.channel-compose-bar:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.channel-compose-bar__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.channel-compose-bar__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--on-accent); background: var(--accent); flex-shrink: 0; }
|
||||
.channel-compose-bar__icon svg { width: 20px; height: 20px; stroke-width: 2.2; }
|
||||
|
||||
.channel-day-separator { display: flex; justify-content: center; margin: 8px 0 10px; }
|
||||
.channel-day-separator span { padding: 3px 10px; border-radius: 999px; color: var(--text-secondary); background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border-subtle); font-size: .75rem; line-height: 1.125rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
|
||||
.blockchain-details-grid { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; font-size: .75rem; }
|
||||
.blockchain-details-grid code, .blockchain-raw-block { overflow-wrap: anywhere; white-space: pre-wrap; }
|
||||
.blockchain-raw-block { max-height: 40vh; overflow: auto; padding: 12px; background: var(--background); }
|
||||
.draft-attachments { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.draft-attachment-chip { max-width: 100%; overflow-wrap: anywhere; }
|
||||
.modal-danger-action { width: 100%; color: var(--danger); }
|
||||
.thread-reply-context { color: var(--text-secondary); font-size: .75rem; line-height: 1.125rem; border-left: 2px solid var(--border-control); padding-left: 10px; overflow-wrap: anywhere; }
|
||||
@media (prefers-reduced-motion: reduce) { .channels-screen *, .channel-composer * { animation: none; scroll-behavior: auto; transition: none; } }
|
||||
|
||||
/* Запись автора в его канале (макет V4): плоская, на всю ширину, между записями — линия с отступами */
|
||||
.channels-screen .channel-message-card.channel-message-card--owner { gap: 0; margin: 0; padding: 20px 0 8px; border: 0; position: relative; }
|
||||
.channels-screen .channel-message-card--owner + .channel-message-card--owner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border-subtle); }
|
||||
.channels-screen .channel-message-card--owner .channel-message-body { font-size: 1rem; line-height: 1.52; }
|
||||
.channel-message-card--owner .channel-message-head-row[hidden] { display: none; }
|
||||
.channel-message-card--owner .message-attachment-carousel { width: calc(100% + 2 * var(--page-gutter)); max-width: none; margin: 0 calc(-1 * var(--page-gutter)) 14px; }
|
||||
.channel-message-card--owner .message-attachment-carousel-viewport { border: 0; border-radius: 0; }
|
||||
.topbar-identity .avatar.channel-profile-avatar { --channel-avatar-size: 40px; width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 22px; border-radius: 50%; }
|
||||
.channel-message-card--owner .channel-message-actions { gap: 0; margin: 6px -8px 0; min-height: 50px; flex-wrap: nowrap; }
|
||||
/* Равный шаг иконок: каждое действие – ячейка 56 px, иконка у левого края, счётчик внутри ячейки (влезает и «999»). */
|
||||
.channel-message-card--owner .channel-action-item { width: 56px; min-width: 56px; min-height: 44px; padding: 0 0 0 8px; gap: 5px; justify-content: flex-start; border-radius: 10px; font-variant-numeric: tabular-nums; }
|
||||
.channel-message-card--owner .channel-action-discussion { width: auto; padding-right: 8px; }
|
||||
.channel-message-card--owner .channel-action-icon svg { width: 23px; height: 23px; }
|
||||
.channel-message-card--owner .channel-action-share .channel-action-icon svg { width: 25px; height: 25px; }
|
||||
.channel-action-item.is-liked svg { fill: currentColor; }
|
||||
.channel-action-faces { display: inline-flex; align-items: center; margin-left: 2px; padding-right: 3px; }
|
||||
.channel-action-faces .avatar.channel-action-face { width: 22px; height: 22px; min-width: 22px; min-height: 22px; font-size: 10px; border: 2px solid var(--background); }
|
||||
.channel-action-faces .channel-action-face + .channel-action-face { margin-left: -6px; }
|
||||
.channel-message-meta { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; min-width: 0; padding-left: 4px; }
|
||||
.channel-message-meta .channel-message-time { white-space: nowrap; }
|
||||
.channel-message-meta .channel-message-time::before { content: none; }
|
||||
.channel-message-meta .channel-message-more { display: inline-grid; place-items: center; width: 36px; height: 44px; min-height: 44px; margin: 0 -4px 0 0; padding: 0; }
|
||||
.channel-message-more svg { display: block; width: 20px; height: 20px; }
|
||||
@media (max-width: 360px) { .channel-message-card--owner .channel-action-item { width: 50px; min-width: 50px; } .channel-message-meta .channel-message-time { font-size: .6875rem; } }
|
||||
|
||||
/* Нижняя панель ленты: «Новая запись» у владельца, «Подписаться» у читателя */
|
||||
.channel-new-post { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: var(--surface-selected); color: var(--action); font: inherit; font-weight: 600; cursor: pointer; }
|
||||
.channel-new-post svg { width: 21px; height: 21px; }
|
||||
.channel-new-post:active { background: color-mix(in srgb, var(--surface-selected) 85%, var(--text-primary)); }
|
||||
@media (hover: hover) { .channel-new-post:hover { background: color-mix(in srgb, var(--surface-selected) 85%, var(--text-primary)); } }
|
||||
.channel-new-post:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
|
||||
.channels-screen--channel, .channels-screen--thread { padding-bottom: 8px; }
|
||||
.channel-message-card--owner .message-attachment-media { height: auto; max-height: 70vh; object-fit: cover; }
|
||||
|
||||
/* Запись открывается нажатием – курсор как у ссылки. */
|
||||
.channels-screen .channel-message-card.is-openable { cursor: pointer; }
|
||||
/* Запись канала в раскладке Threads: аватар канала слева, название и возраст сверху, текст и действия – колонкой под названием. */
|
||||
.channels-screen .channel-message-card.channel-message-card--threads { padding: 14px 0 4px 48px; }
|
||||
.channel-message-card--threads .channel-message-head-row { flex-wrap: nowrap; min-height: 22px; }
|
||||
.channel-message-card--threads .channel-message-author-tile { gap: 0; min-height: 22px; }
|
||||
.channel-message-card--threads .avatar.channel-message-avatar { position: absolute; top: 14px; left: 0; }
|
||||
/* Общий :hover кнопок – filter: brightness(); фильтр делает плитку автора контейнером для
|
||||
абсолютного аватара, и при наведении (на телефоне – после касания) аватар прыгал на текст. */
|
||||
.channel-message-card--threads .channel-message-author-tile:is(:hover, :active) { filter: none; }
|
||||
.channel-message-card--threads .channel-message-author-tile:active .author-line-login { color: var(--accent); }
|
||||
@media (hover: hover) { .channel-message-card--threads .channel-message-author-tile:hover .author-line-login { color: var(--accent); } }
|
||||
.channel-message-card--threads .avatar.channel-profile-avatar { width: 36px; height: 36px; min-width: 36px; min-height: 36px; border-radius: 50%; font-size: 15px; }
|
||||
.channel-message-card--threads .author-line-login { font-size: .9375rem; }
|
||||
.channel-message-card--threads .channel-message-author .channel-message-time::before { content: none; }
|
||||
.channel-message-card--threads .channel-message-time { font-size: .875rem; line-height: 1.25rem; }
|
||||
.channel-message-card--threads .channel-message-more { width: 36px; height: 28px; margin: -4px -8px -4px auto; display: inline-grid; place-items: center; }
|
||||
.channels-screen .channel-message-card--threads .channel-message-body { margin-top: 2px; font-size: .9375rem; line-height: 1.4375rem; }
|
||||
.channel-message-card--threads .message-attachment-carousel { width: 100%; margin: 8px 0 2px; }
|
||||
.channel-message-card--threads .message-attachment-carousel-viewport { border: 1px solid var(--border-subtle); border-radius: 12px; }
|
||||
.channel-message-card--threads .channel-message-actions { min-height: 40px; margin: 2px 0 0 -10px; }
|
||||
.channel-message-card--threads .channel-action-item { width: auto; min-width: 44px; min-height: 40px; padding: 0 12px 0 10px; gap: 5px; }
|
||||
.channel-message-card--threads .channel-action-icon svg, .channel-message-card--threads .channel-action-share .channel-action-icon svg { width: 21px; height: 21px; }
|
||||
.channel-message-card--threads .channel-action-counter { font-size: .8125rem; }
|
||||
/* Открытая запись в обсуждении: аватар в шапке, текст на всю ширину и крупнее. */
|
||||
.channels-screen .channel-message-card.channel-message-card--threads-focus { padding: 14px 0 4px; }
|
||||
.channel-message-card--threads-focus .channel-message-head-row { min-height: 40px; }
|
||||
.channel-message-card--threads-focus .channel-message-author-tile { gap: 10px; }
|
||||
.channel-message-card--threads-focus .avatar.channel-message-avatar { position: relative; top: auto; }
|
||||
.channels-screen .channel-message-card--threads-focus .channel-message-body { margin-top: 10px; font-size: 1.0625rem; line-height: 1.55; }
|
||||
.channel-message-card--threads-focus .channel-message-actions { margin-top: 6px; }
|
||||
|
||||
/* Число лайков отдельно от действия: нажатие открывает статистику, а не меняет лайк. */
|
||||
.channel-action-like-stats { min-width: 28px; padding-inline: 4px; font-variant-numeric: tabular-nums; text-decoration: underline dotted; text-underline-offset: 3px; }
|
||||
.channel-message-card--owner .channel-action-like-stats { width: auto; min-width: 28px; padding-inline: 4px; }
|
||||
|
||||
/* Данные и проверка блока: единый диалог ленты и обсуждения. */
|
||||
.block-proof-card { width: min(100%, 540px); max-height: min(90dvh, 920px); overflow-y: auto; gap: 14px; }
|
||||
.block-proof-header { display: flex; align-items: center; gap: 14px; }
|
||||
.block-proof-header .modal-title { margin: 0 0 4px; }
|
||||
.block-proof-header .meta-muted { margin: 0; line-height: 1.4; }
|
||||
.block-proof-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); font-size: 1.4rem; }
|
||||
.block-proof-facts { display: grid; border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
|
||||
.block-proof-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; font-size: .85rem; }
|
||||
.block-proof-row + .block-proof-row { border-top: 1px solid var(--border-subtle); }
|
||||
.block-proof-row > span, .block-proof-hash > span { color: var(--text-secondary); }
|
||||
.block-proof-row > strong, .block-proof-row > code { text-align: right; overflow-wrap: anywhere; min-width: 0; font-size: inherit; font-weight: 600; }
|
||||
.block-proof-status { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 20px; border: 1px solid var(--border-subtle); font-size: .8rem; font-weight: 600; }
|
||||
.block-proof-status--success { color: #228b66; }
|
||||
.block-proof-status--pending { color: #b47a1a; }
|
||||
.block-proof-status--unknown { color: var(--text-secondary); }
|
||||
.block-proof-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
|
||||
.block-proof-hash { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border: 1px solid var(--border-subtle); border-radius: 12px; font-size: .8rem; }
|
||||
.block-proof-hash > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
||||
.block-proof-hash code { font-size: .84rem; overflow-wrap: anywhere; }
|
||||
.block-proof-copy-icon { flex: none; min-width: 34px; min-height: 34px; border: 1px solid var(--border-subtle); background: var(--surface); border-radius: 10px; color: var(--text-secondary); cursor: pointer; }
|
||||
.block-proof-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
||||
.block-proof-actions .secondary-btn { min-width: 0; padding: 10px 9px; text-align: center; font-size: .82rem; }
|
||||
.block-proof-actions .block-proof-link { display: flex; justify-content: center; align-items: center; text-decoration: none; }
|
||||
.block-proof-actions .block-proof-link[hidden] { display: none; }
|
||||
.block-proof-actions .block-proof-verify { grid-column: 1 / -1; }
|
||||
.block-proof-results { display: flex; flex-direction: column; gap: 8px; }
|
||||
.block-proof-results[hidden] { display: none; }
|
||||
.block-proof-check { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border-subtle); font-size: .82rem; }
|
||||
.block-proof-check > span { font-weight: 800; font-size: 1rem; }
|
||||
.block-proof-check--valid > span { color: #228b66; }
|
||||
.block-proof-check--invalid > span { color: var(--danger); }
|
||||
.block-proof-check > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
||||
.block-proof-check small { overflow-wrap: anywhere; color: var(--text-secondary); }
|
||||
.block-proof-raw { border-top: 1px solid var(--border-subtle); padding-top: 10px; }
|
||||
.block-proof-raw summary { cursor: pointer; color: var(--text-secondary); font-size: .83rem; }
|
||||
.block-proof-raw pre { margin: 10px 0; font-size: .72rem; }
|
||||
@media (max-width: 380px) { .block-proof-actions { grid-template-columns: 1fr; } .block-proof-actions .block-proof-verify { grid-column: auto; } }
|
||||
|
||||
.block-proof-warning { margin: 0; padding: 8px 12px; border: 1px solid var(--danger); border-radius: 10px; font-size: .8rem; }
|
||||
@@ -0,0 +1,307 @@
|
||||
/* Список каналов, поиск и форма создания. Визуальный owner этих экранов. */
|
||||
|
||||
.channels-screen {
|
||||
position: relative;
|
||||
width: min(100%, 640px);
|
||||
margin-inline: auto;
|
||||
gap: 12px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.channels-screen::before { content: none; }
|
||||
|
||||
.channels-screen .meta-muted { color: var(--text-secondary); }
|
||||
|
||||
.channels-create-btn {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
color: var(--accent);
|
||||
font-size: 28px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.channels-list-controls {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding-top: var(--page-top-gap);
|
||||
}
|
||||
|
||||
.channels-inline-search {
|
||||
min-height: 44px;
|
||||
padding: 0 6px 0 12px;
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 12px;
|
||||
color: var(--text-secondary);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.channels-inline-search:focus-within {
|
||||
border-color: var(--focus-ring);
|
||||
outline: 2px solid color-mix(in srgb, var(--focus-ring) 24%, transparent);
|
||||
}
|
||||
|
||||
.channels-inline-search__icon { display: inline-flex; color: var(--text-secondary); }
|
||||
.channels-inline-search__icon svg { width: 20px; height: 20px; }
|
||||
|
||||
.channels-inline-search input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
height: 42px;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.channels-inline-search input::placeholder { color: color-mix(in srgb, var(--text-secondary) 62%, var(--surface)); opacity: 1; }
|
||||
|
||||
.channels-server-search {
|
||||
min-height: 44px;
|
||||
padding: 0 8px;
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.channels-list-content,
|
||||
.channels-groups {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.channel-row {
|
||||
text-align: left;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 76px;
|
||||
padding: 14px 0;
|
||||
display: grid;
|
||||
grid-template-columns: 48px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: var(--text-primary);
|
||||
background: linear-gradient(var(--border-subtle), var(--border-subtle)) right bottom / calc(100% - 60px) 1px no-repeat;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
|
||||
@media (hover: hover) { .channel-row:hover { background-color: color-mix(in srgb, var(--surface) 66%, transparent); } }
|
||||
.channel-row:active { background-color: var(--surface-selected); }
|
||||
.channel-row:focus-within { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
|
||||
.channels-screen--list .channel-row .avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
min-width: 48px;
|
||||
min-height: 48px;
|
||||
/* Аватары каналов, как и пользователей, всегда круглые. */
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.channel-row-main {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.channel-row-title-line,
|
||||
.channel-row-preview-line {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.channel-row-title {
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--text-primary);
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.channel-row-time {
|
||||
flex: 0 0 auto;
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.channel-row-technical,
|
||||
.channel-row-message {
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.channel-row-message { font-size: 13px; }
|
||||
.channel-row-message.is-empty { font-style: italic; }
|
||||
.channel-row-technical[hidden] { display: none; }
|
||||
.channel-row { min-height: 68px; padding: 12px 0; }
|
||||
.channel-row-description,
|
||||
.channel-row-owner { display: none; }
|
||||
|
||||
.channel-row-controls {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 14px;
|
||||
display: grid;
|
||||
justify-items: end;
|
||||
}
|
||||
.channel-row:has(.channel-row-count:not([hidden])) .channel-row-message { padding-right: 36px; }
|
||||
|
||||
.channel-row-count {
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
padding: 0 7px;
|
||||
border: 0;
|
||||
color: var(--on-accent);
|
||||
background: var(--accent);
|
||||
box-shadow: none;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.channel-row-count[hidden] { display: none; }
|
||||
|
||||
.channels-empty-state,
|
||||
.channels-status {
|
||||
min-height: 180px;
|
||||
padding: 32px 20px;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
justify-items: center;
|
||||
gap: 12px;
|
||||
border: 0;
|
||||
text-align: center;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.channels-empty-state--compact { min-height: 132px; }
|
||||
|
||||
.channels-status .primary-btn,
|
||||
.channels-bottom-action {
|
||||
min-height: 44px;
|
||||
padding: 0 18px;
|
||||
border-radius: 12px;
|
||||
color: var(--on-accent);
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.channels-status p {
|
||||
max-width: 30ch;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.channels-status .primary-btn,
|
||||
.channels-status .secondary-btn {
|
||||
width: min(100%, 280px);
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
|
||||
.channels-search-suggest {
|
||||
max-height: 240px;
|
||||
padding: 6px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.channel-search-item {
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
padding: 9px 10px;
|
||||
border-radius: 9px;
|
||||
color: var(--text-primary);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.channels-screen--add > .card { gap: 20px; padding: 8px 0 16px; border: 0; border-radius: 0; background: transparent; }
|
||||
|
||||
.channel-create-avatar-head {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.channel-create-avatar-side,
|
||||
.channel-create-avatar-status { min-width: 0; display: grid; gap: 8px; }
|
||||
|
||||
.channel-create-avatar-status-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.channel-avatar-status-text,
|
||||
.channel-avatar-status-line,
|
||||
.channel-avatar-txid {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.channel-avatar-remove-btn { width: 44px; height: 44px; padding: 0; color: var(--danger); }
|
||||
.channel-avatar-remove-btn[hidden] { display: none; }
|
||||
.channel-create-login-hint, .channel-link-preview { font-size: 12px; line-height: 18px; }
|
||||
|
||||
.channels-screen--add :is(.primary-btn, .secondary-btn) {
|
||||
min-height: 44px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.channels-screen--add .primary-btn { color: var(--on-accent); background: var(--accent); }
|
||||
.channels-screen--add .secondary-btn { color: var(--text-primary); border: 1px solid var(--border-control); background: var(--surface); }
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.channel-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
|
||||
.channels-screen--list .channel-row .avatar { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
|
||||
.channels-server-search { padding-inline: 4px; }
|
||||
.channel-create-avatar-head { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.channel-row { animation: none; transition: none; }
|
||||
}
|
||||
|
||||
/* Единый поиск каналов и людей */
|
||||
.shine-search-screen { width: min(100%, 640px); margin-inline: auto; gap: 14px; padding-top: var(--page-top-gap); }
|
||||
/* Поле, переключатель и строки людей – общие (.search-field, .tabs, person-row). */
|
||||
.shine-search-result:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.shine-search-status { margin: 0; color: var(--text-secondary); font-size: 13px; }
|
||||
.shine-search-status:empty { display: none; }
|
||||
.shine-search-results { display: grid; gap: 2px; padding-bottom: 30px; }
|
||||
.shine-search-section-heading { margin: 0; padding: var(--space-4) 0 var(--space-1) 4px; color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-xs); font-weight: var(--weight-bold); letter-spacing: 0.02em; }
|
||||
.shine-search-result { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--border-subtle); background: transparent; color: var(--text-primary); text-align: left; cursor: pointer; }
|
||||
.shine-search-result:active { background: var(--surface); }
|
||||
@media (hover: hover) { .shine-search-result:hover { background: var(--surface); } }
|
||||
.shine-search-result .avatar { flex-shrink: 0; }
|
||||
.shine-search-result__text { display: grid; gap: 3px; min-width: 0; }
|
||||
.shine-search-result__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
|
||||
.shine-search-result__address, .shine-search-result__description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); font-size: 12px; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,184 @@
|
||||
/* Diagnostics/admin/developer UI styles. */
|
||||
|
||||
|
||||
.pwa-diag-list {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto 10px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-key {
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-value {
|
||||
color: var(--text-primary);
|
||||
font-size: 13px;
|
||||
text-align: right;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-indicator {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-indicator.is-ok {
|
||||
background: var(--success);
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-indicator.is-warn {
|
||||
background: var(--warning);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-indicator.is-bad {
|
||||
background: var(--danger);
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-indicator.is-neutral {
|
||||
background: var(--text-primary);
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-recommendations {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
|
||||
.pwa-diag-json {
|
||||
margin: 0;
|
||||
max-height: 260px;
|
||||
overflow: auto;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.35;
|
||||
color: var(--text-primary);
|
||||
background: var(--surface);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-screen {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
padding-top: 3.25rem;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-toolbar {
|
||||
align-items: center;
|
||||
background: linear-gradient(135deg, var(--surface), var(--surface));
|
||||
border-bottom: 1px solid transparent;
|
||||
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
gap: 0.42rem;
|
||||
grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem 2.4rem;
|
||||
justify-content: stretch;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: max(0.35rem, env(safe-area-inset-top)) 0.45rem 0.45rem;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-back,
|
||||
.arweave-uploads-add,
|
||||
.arweave-uploads-menu-btn {
|
||||
align-items: center;
|
||||
aspect-ratio: 1;
|
||||
display: inline-flex;
|
||||
font-size: 1.2rem;
|
||||
height: 2.35rem;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-title {
|
||||
align-self: center;
|
||||
color: var(--text-primary);
|
||||
font-size: 0.94rem;
|
||||
font-weight: 800;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-menu {
|
||||
background: var(--surface);
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.85rem;
|
||||
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
|
||||
display: grid;
|
||||
min-width: 13rem;
|
||||
padding: 0.35rem;
|
||||
position: absolute;
|
||||
right: 0.45rem;
|
||||
top: calc(100% + 0.35rem);
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-menu[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-menu .text-btn {
|
||||
color: var(--text-primary);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
.arweave-uploads-list {
|
||||
max-height: calc(100vh - 4.1rem);
|
||||
min-height: calc(100vh - 4.1rem);
|
||||
width: 100%;
|
||||
}
|
||||
.arweave-uploads-menu-btn .app-overflow-dots {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Проверка Solana RPC: длинные адреса узлов переносятся, а не раздвигают экран */
|
||||
.solana-rpc-card { min-width: 0; }
|
||||
.solana-rpc-url, .solana-rpc-details { min-width: 0; overflow-wrap: anywhere; }
|
||||
@@ -0,0 +1,401 @@
|
||||
/* Device/session/pairing feature styles. */
|
||||
|
||||
.qr-card {
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
|
||||
.qr-code {
|
||||
width: min(220px, 100%);
|
||||
aspect-ratio: 1;
|
||||
fill: var(--text-primary);
|
||||
background: var(--surface);
|
||||
border-radius: 22px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
|
||||
.camera-shell {
|
||||
position: relative;
|
||||
min-height: 380px;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
|
||||
.camera-video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 380px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.camera-frame {
|
||||
position: absolute;
|
||||
inset: 70px 40px 110px;
|
||||
border: 3px solid color-mix(in srgb, var(--accent) 85%, transparent);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 0 0 999px rgba(5, 9, 16, 0.38);
|
||||
}
|
||||
|
||||
|
||||
.camera-hint,
|
||||
.camera-error {
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
text-align: center;
|
||||
padding: 10px 12px;
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
|
||||
.camera-hint {
|
||||
bottom: 18px;
|
||||
}
|
||||
|
||||
|
||||
.camera-error {
|
||||
top: 18px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
|
||||
.camera-placeholder {
|
||||
width: 100%;
|
||||
min-height: 380px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--text-primary);
|
||||
background:
|
||||
radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 48%),
|
||||
linear-gradient(180deg, var(--surface), var(--surface));
|
||||
}
|
||||
|
||||
|
||||
.session-status {
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
.session-status--online {
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
|
||||
.session-item {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.nav-list > .session-item + .session-item { border-top: 1px solid var(--border-subtle); }
|
||||
.session-item:active { background: var(--surface-selected); }
|
||||
@media (hover: hover) { .session-item:hover { background: var(--surface-selected); } }
|
||||
.session-item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
|
||||
|
||||
|
||||
|
||||
.session-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
.session-tab {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background: color-mix(in srgb, var(--text-primary) 3%, transparent);
|
||||
color: var(--text-muted);
|
||||
min-height: 36px;
|
||||
padding: 6px 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.session-tab.is-active {
|
||||
color: var(--text);
|
||||
border-color: color-mix(in srgb, var(--accent) 45%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 15%, transparent);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.qr-demo {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 8px;
|
||||
border: 2px solid var(--border-control);
|
||||
background:
|
||||
linear-gradient(
|
||||
90deg,
|
||||
var(--text-primary) 0 8px,
|
||||
var(--surface) 8px 16px,
|
||||
var(--text-primary) 16px 24px,
|
||||
var(--surface) 24px 32px,
|
||||
var(--text-primary) 32px 40px,
|
||||
var(--surface) 40px 48px,
|
||||
var(--text-primary) 48px 56px,
|
||||
var(--surface) 56px 64px
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* QR для второго устройства: по центру карточки, во всю доступную ширину до 280 px.
|
||||
* Фон всегда светлый — тёмный QR на тёмном фоне камеры читают плохо. */
|
||||
.qr-image {
|
||||
width: min(280px, 100%);
|
||||
aspect-ratio: 1;
|
||||
padding: 12px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: #ffffff;
|
||||
}
|
||||
.qr-image svg { display: block; width: 100%; height: 100%; }
|
||||
|
||||
|
||||
/* Pairing approve/reject use their semantic button roles; legacy green/red surfaces were not observable in Stage 3.1. */
|
||||
|
||||
.pairing-request-actions > button {
|
||||
flex: 1 1 140px;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-dialog {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 13000;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-dialog__backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-dialog__card {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: min(calc(100vw - 28px), 390px);
|
||||
transform: translate(-50%, -50%);
|
||||
padding: 16px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-key-list {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-key {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
min-height: 58px;
|
||||
padding: 9px 12px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 14px;
|
||||
background: color-mix(in srgb, var(--text-primary) 4%, transparent);
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-key span {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-key small {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-key.is-required {
|
||||
opacity: .82;
|
||||
}
|
||||
|
||||
|
||||
.pairing-transfer-dialog__actions {
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
|
||||
/* Pairing actions retain the exact Stage 3.1 focus-only approve/reject variant. */
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn,
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn {
|
||||
border-radius: 14px;
|
||||
padding-inline: 12px;
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn {
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn:hover {
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
background-image: none;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
filter: brightness(1.12);
|
||||
}
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn:active {
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--surface) 12%, transparent);
|
||||
background-image: none;
|
||||
border: 0;
|
||||
box-shadow:
|
||||
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
||||
inset 0 -1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);
|
||||
transform: none;
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn:focus,
|
||||
.screen-content.settings-bordered-actions .pairing-approve-btn:focus-visible {
|
||||
background: linear-gradient(180deg, color-mix(in srgb, var(--success) 92%, transparent), var(--surface));
|
||||
border: 1px solid color-mix(in srgb, var(--success) 55%, transparent);
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 18%, transparent), 0 8px 22px color-mix(in srgb, var(--success) 20%, transparent);
|
||||
transform: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn {
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn:hover {
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
transform: translateY(-1px);
|
||||
filter: brightness(1.12);
|
||||
}
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn:active {
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--surface) 12%, transparent);
|
||||
border: 0;
|
||||
box-shadow:
|
||||
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
||||
inset 0 -1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);
|
||||
transform: translateY(1px) scale(0.97);
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn:focus,
|
||||
.screen-content.settings-bordered-actions .pairing-reject-btn:focus-visible {
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--danger) 28%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--danger) 42%, transparent);
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.session-item { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); padding: 12px 14px; text-align: left; }
|
||||
.session-item__main { display: grid; gap: 2px; min-width: 0; }
|
||||
.session-item__title { color: var(--text-primary); font-size: var(--text-md); font-weight: var(--weight-bold); overflow-wrap: anywhere; }
|
||||
.session-item__main .meta-muted { font-size: var(--text-xs); }
|
||||
.session-item__side { display: grid; justify-items: end; gap: 6px; flex-shrink: 0; font-size: var(--text-xs); }
|
||||
.session-status--online { color: var(--success); }
|
||||
.key-card__hint { display: block; margin-top: 2px; color: var(--text-secondary); font-size: var(--text-xs); font-weight: 400; }
|
||||
.key-card .field-label { font-weight: var(--weight-bold); color: var(--text-primary); }
|
||||
|
||||
.key-list > .key-card { padding: 12px 14px; border: 0; border-radius: 0; background: transparent; }
|
||||
.key-list > .key-card + .key-card { border-top: 1px solid var(--border-subtle); }
|
||||
.key-list .key-card__hint { font-size: var(--text-sm); }
|
||||
|
||||
|
||||
/* Единственный видимый сценарий подключения другого устройства. */
|
||||
.pairing-guide-card {
|
||||
gap: 16px;
|
||||
overflow: hidden;
|
||||
border-color: color-mix(in srgb, var(--accent) 24%, var(--border-subtle));
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
|
||||
var(--surface);
|
||||
}
|
||||
|
||||
.pairing-guide__heading {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.pairing-guide__eyebrow {
|
||||
color: var(--accent);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: .08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.pairing-guide__title {
|
||||
margin: 0;
|
||||
font-size: var(--text-lg);
|
||||
}
|
||||
|
||||
.pairing-guide__steps {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pairing-guide__steps li {
|
||||
display: grid;
|
||||
grid-template-columns: 30px minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: 11px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.pairing-guide__step-number {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border-subtle));
|
||||
border-radius: 999px;
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--accent) 12%, var(--surface));
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
@@ -0,0 +1,745 @@
|
||||
/* Поиск контактов относится к feature «Личные/Контакты». */
|
||||
.contact-search-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
.contact-search-form-card,
|
||||
.contact-search-results-card {
|
||||
margin: 0 6px;
|
||||
padding: 14px;
|
||||
border-radius: 24px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border-subtle);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
|
||||
.contact-search-input {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
|
||||
.contact-search-results-title {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: var(--text-secondary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.contact-search-result-main {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Personal messages list and DM-list styles. */
|
||||
|
||||
/* ===== Direct Messages Glass Theme (DM-only) ===== */
|
||||
.dm-screen {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
color: var(--text-primary);
|
||||
min-height: 100%;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
|
||||
.screen-content .dm-screen {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
|
||||
@keyframes dm-orbs-drift {
|
||||
from { transform: translate3d(0, 0, 0) scale(1); }
|
||||
to { transform: translate3d(0, -8px, 0) scale(1.02); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.dm-dialog-card {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 60px minmax(0, 1fr) auto;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
min-height: 74px;
|
||||
padding: 10px 12px 10px 10px;
|
||||
border-radius: 26px;
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(24px);
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
border: 1px solid color-mix(in srgb, var(--rel-contact) 32%, transparent); /* оконтовка = цвет линии связи; default = violet (контакт) */
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dm-dialog-card:focus-visible { outline: 2px solid var(--rel-link); outline-offset: 2px; }
|
||||
|
||||
.dm-card--family { border-color: transparent; }
|
||||
/* линия связи: gold (семья) */
|
||||
.dm-card--shining { border-color: color-mix(in srgb, var(--rel-shining) 45%, transparent); }
|
||||
/* линия связи: cyan (сияющий) */
|
||||
|
||||
.dm-screen .list-item .avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
|
||||
.dm-screen .list-item {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
|
||||
.dm-screen .meta-muted {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
|
||||
/* ===== «Личные сообщения» v2 — списочная форма «Связей» ===== */
|
||||
/* Токены-мост: НЕ придумываем цвета, наследуем канонический язык «Связей» (network-graph.css :root). */
|
||||
.dm-screen {
|
||||
--dm-tone-default: var(--rel-contact);
|
||||
--dm-tone-family: var(--rel-family);
|
||||
--dm-tone-shining: var(--rel-shining);
|
||||
}
|
||||
|
||||
|
||||
/* DM-шапка через grid 1fr auto 1fr: бренд слева, title строго по центру, «+» справа. */
|
||||
|
||||
.dm-head-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
||||
|
||||
.dm-head-logo-wrap { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 auto; }
|
||||
|
||||
.dm-head-logo {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
filter: drop-shadow(0 0 7px color-mix(in srgb, var(--rel-shining) 38%, transparent));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Центр шапки — светящийся бренд «Shine» */
|
||||
|
||||
@keyframes dm-shine-pulse {
|
||||
0%, 100% { text-shadow: 0 0 5px color-mix(in srgb, var(--rel-family) 42%, transparent), 0 0 12px color-mix(in srgb, var(--rel-family) 26%, transparent); }
|
||||
50% { text-shadow: 0 0 9px color-mix(in srgb, var(--rel-family) 68%, transparent), 0 0 20px color-mix(in srgb, var(--rel-family) 46%, transparent); }
|
||||
}
|
||||
|
||||
|
||||
.dm-divider { position: relative; height: 18px; margin: 6px 14px 8px; }
|
||||
|
||||
.dm-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rel-family) 50%, transparent), transparent); }
|
||||
|
||||
.dm-divider::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%, -50%) rotate(45deg); background: var(--rel-family); box-shadow: 0 0 8px var(--rel-family-glow); }
|
||||
|
||||
|
||||
/* список: скролл внутри контента, карточки не ужимаем, отступ снизу под bottom nav (86px) + 16px */
|
||||
.dm-list { display: flex; flex-direction: column; gap: 8px; padding: 0 6px; padding-bottom: calc(86px + 16px); }
|
||||
|
||||
|
||||
/* текст карточки */
|
||||
.dm-row-main { min-width: 0; }
|
||||
|
||||
.dm-row-titleline { display: flex; align-items: center; gap: 6px; min-width: 0; }
|
||||
|
||||
.dm-row-titlewrap { flex-wrap: wrap; row-gap: 6px; }
|
||||
|
||||
.dm-dialog-card .dm-row-title { font-size: 16px; font-weight: 600; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.dm-dialog-card .dm-row-last-message { font-size: 14px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.dm-contact-note {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 22px;
|
||||
padding: 0 8px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: var(--surface-selected);
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* галочка-подтверждён у имени (золотая, без слова «Подтверждён») */
|
||||
.dm-name-check { display: inline-flex; flex: 0 0 auto; color: var(--rel-family); }
|
||||
|
||||
.dm-name-check svg { width: 16px; height: 16px; }
|
||||
|
||||
|
||||
/* AvatarRing — обод/свечение по тону (адаптация орбов «Связей», без тяжёлой магии) */
|
||||
.dm-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; }
|
||||
|
||||
.dm-av .avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border: none; box-shadow: none; }
|
||||
|
||||
/* Цветные обводки вокруг аватаров (violet/gold) убраны по просьбе. Свечение оставляем только у сияющих (ниже). */
|
||||
.dm-av--default { box-shadow: none; }
|
||||
|
||||
.dm-av--family { box-shadow: none; }
|
||||
|
||||
/* Сияющий аватар = АДАПТАЦИЯ сияющего узла экрана «Связи»: та же небесная палитра, тот же небесный rim,
|
||||
тот же двойной «дышащий» пульс. Переиспользуем ОБЩИЕ keyframes графа (fg-shine-glow — пульс box-shadow,
|
||||
fg-shine-halo — дыхание радиального ореола; объявлены в network-graph.css, грузится глобально), а не рисуем
|
||||
второй похожий эффект. Радиальный ореол повторяет стопы узла графа; SVG-фильтр #fg-shine-glow есть только на
|
||||
стр. «Связи», поэтому здесь мягкий CSS-blur. Мини-сфера компактная — не размывает текст/соседей. */
|
||||
.dm-av--shining {
|
||||
border: 1px solid color-mix(in srgb, var(--rel-shining) 62%, transparent);
|
||||
animation: fg-shine-glow 3.6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.dm-av--shining::before {
|
||||
content: ""; position: absolute; inset: -12px; border-radius: 50%; z-index: -1; pointer-events: none;
|
||||
background: radial-gradient(circle, color-mix(in srgb, var(--rel-shining) 50%, transparent) 0%, color-mix(in srgb, var(--rel-shining) 18%, transparent) 46%, transparent 72%);
|
||||
filter: blur(3.4px); /* = stdDeviation 3.4 SVG-фильтра #fg-shine-glow графа; геометрия inset −12px тоже как у узла (58px↔56px, scale≈1) */
|
||||
animation: fg-shine-halo 3.6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.dm-av--shining { animation: none; }
|
||||
.dm-av--shining::before { animation: none; }
|
||||
}
|
||||
|
||||
|
||||
.dm-row-meta-col {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
align-self: stretch;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.dm-row-meta-line {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
.dm-row-meta-spacer {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.dm-row-time {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.dm-row-time--empty {
|
||||
width: 0;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* непрочитанные — отдельная violet-сфера (НЕ изумруд) */
|
||||
.dm-unread-badge {
|
||||
min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px;
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
font-size: 12px; font-weight: 700; color: var(--text);
|
||||
color: var(--on-accent); background: var(--accent); border: 0;
|
||||
}
|
||||
|
||||
.dm-chevron { display: inline-flex; color: var(--text-secondary); }
|
||||
|
||||
.dm-chevron svg { width: 16px; height: 16px; }
|
||||
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.dm-dialog-card {
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
row-gap: 10px;
|
||||
}
|
||||
.dm-row-meta-col {
|
||||
grid-column: 2;
|
||||
justify-self: end;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Значок «связь через кого» — ТОЛЬКО иконка (кликабельная); детали пути в попапе ниже */
|
||||
.dm-via {
|
||||
display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
|
||||
width: 24px; height: 24px; padding: 0; border-radius: 8px; cursor: pointer;
|
||||
color: var(--rel-link); border: 1px solid color-mix(in srgb, var(--rel-link) 50%, transparent); background: color-mix(in srgb, var(--rel-link) 8%, transparent);
|
||||
}
|
||||
|
||||
.dm-via-icon { display: inline-flex; }
|
||||
|
||||
.dm-via-icon svg { width: 14px; height: 14px; }
|
||||
|
||||
/* попап пути связи: Ты → …посредники… → он; узлы = аватар+имя, кликабельные → профиль */
|
||||
.dm-via-path {
|
||||
display: none; position: absolute; left: 14px; right: 14px; top: 46px; z-index: 6;
|
||||
flex-wrap: wrap; align-items: center; gap: 6px; padding: 9px 11px; border-radius: 12px;
|
||||
background: var(--surface); border: 1px solid color-mix(in srgb, var(--rel-link) 35%, transparent);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.dm-via-path.is-open { display: flex; }
|
||||
|
||||
.dm-via-node {
|
||||
display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 4px; border-radius: 11px;
|
||||
background: var(--surface); border: 1px solid var(--border-subtle);
|
||||
color: var(--text); font-size: 12px; cursor: default;
|
||||
}
|
||||
|
||||
button.dm-via-node { cursor: pointer; }
|
||||
|
||||
button.dm-via-node:active { border-color: color-mix(in srgb, var(--rel-link) 50%, transparent); }
|
||||
@media (hover: hover) { button.dm-via-node:hover { border-color: color-mix(in srgb, var(--rel-link) 50%, transparent); } }
|
||||
|
||||
.dm-via-node-ava { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
|
||||
|
||||
.dm-via-node-ava .avatar { width: 20px; height: 20px; min-width: 20px; min-height: 20px; border: none; box-shadow: none; }
|
||||
|
||||
.dm-via-node-ava .avatar-fallback { font-size: 9px; font-weight: 700; }
|
||||
|
||||
.dm-via-me { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--rel-family); color: var(--background); font-size: 10px; font-weight: 700; }
|
||||
|
||||
.dm-via-node-name { white-space: nowrap; }
|
||||
|
||||
.dm-via-arrow { font-size: 12px; color: var(--rel-link); }
|
||||
|
||||
|
||||
.screen-content:has(> .dm-screen) {
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
|
||||
.screen-content:has(> .dm-screen)::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
margin-bottom: -4px;
|
||||
opacity: 0;
|
||||
transform: translateY(-8px);
|
||||
transition: opacity 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader__pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--border-subtle);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader__spinner {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--border-subtle);
|
||||
border-top-color: var(--accent);
|
||||
animation: dm-history-loader-spin 0.85s linear infinite;
|
||||
}
|
||||
|
||||
|
||||
@keyframes dm-history-loader-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.dm-actions-col {
|
||||
position: relative;
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
|
||||
.dm-screen .input {
|
||||
background: var(--surface);
|
||||
border: 1px solid transparent;
|
||||
border-radius: 14px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
|
||||
.dm-floating-menu-layer {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 120;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
.dm-confirm-check {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 14px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border-subtle);
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
.dm-confirm-check input {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
|
||||
/* ===== Empty states alignment + transparent wrappers cleanup ===== */
|
||||
|
||||
|
||||
.dm-screen::before {
|
||||
position: absolute;
|
||||
inset: -12px -12px 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background: none;
|
||||
animation: dm-orbs-drift 16s ease-in-out infinite alternate;
|
||||
content: none;
|
||||
}
|
||||
|
||||
|
||||
.dm-screen .dm-list > .card.meta-muted {
|
||||
margin: 0 20px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 14px;
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(25px);
|
||||
-webkit-backdrop-filter: blur(25px);
|
||||
border: 1px solid transparent;
|
||||
color: var(--text-secondary);
|
||||
box-shadow: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
width: calc(100% - 40px);
|
||||
}
|
||||
|
||||
|
||||
/* «Личные»: вместо жёлтого шестиугольника — текущий аватар пользователя. */
|
||||
|
||||
|
||||
|
||||
|
||||
/* Список личных чатов: без цветной границы карточки, компактная ава как в шапке
|
||||
* самого чата, а дата/время стоит на строке превью. */
|
||||
|
||||
|
||||
.dm-list-screen .dm-card--family,
|
||||
.dm-list-screen .dm-card--shining {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-av {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
min-width: 60px;
|
||||
min-height: 60px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-av .avatar,
|
||||
.dm-list-screen .list-item .avatar {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
min-width: 56px;
|
||||
min-height: 56px;
|
||||
font-size: 18px;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-main {
|
||||
display: grid;
|
||||
grid-template-rows: 22px 20px;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-titlewrap {
|
||||
flex-wrap: nowrap;
|
||||
min-height: 22px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-last-message {
|
||||
align-self: center;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-unread-badge,
|
||||
.dm-list-screen .dm-row-meta-spacer {
|
||||
grid-row: 1;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-time {
|
||||
grid-row: 2;
|
||||
align-self: center;
|
||||
line-height: 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-meta-line {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-chevron {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.dm-list-screen .dm-dialog-card {
|
||||
grid-template-columns: 60px minmax(0, 1fr) auto;
|
||||
}
|
||||
.dm-list-screen .dm-row-meta-col {
|
||||
grid-column: 3;
|
||||
justify-self: end;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ===== DM + Channels polish (2026-08-22 13:22) ===== */
|
||||
/* «Личные»: аватар основной вкладки стоит ровно на той же горизонтальной позиции,
|
||||
* что и аватар собеседника в открытом чате: после 40px back-slot + 8px gap. */
|
||||
|
||||
|
||||
|
||||
/* ===== DM avatar + channel row visual alignment fix (2026-08-22 13:29) ===== */
|
||||
/* Шапка «Личных» переносится в topbar-slot отдельно от .dm-list-screen,
|
||||
* поэтому позиционируем аватар по реальной DOM-структуре. 48px = back 40px + gap 8px
|
||||
* в открытом чате, что даёт одинаковую абсолютную X-позицию. */
|
||||
|
||||
|
||||
/* «Контакты»: верхняя аватарка убрана полностью. Пустая левая колонка сохраняет
|
||||
* строгий центр заголовка относительно правого overflow-меню. */
|
||||
.topbar-slot .dm-head-brand {
|
||||
margin-left: 0;
|
||||
min-width: 40px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.dm-menu-icon,
|
||||
.dm-menu-image-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
min-width: 18px;
|
||||
flex: 0 0 18px;
|
||||
object-fit: contain;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
|
||||
.dm-user-identity-menu {
|
||||
width: 196px;
|
||||
}
|
||||
|
||||
|
||||
.dm-user-menu-layer {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Спиннер висит над началом ленты и не занимает места в сетке .chat-wrap:
|
||||
* при его появлении и скрытии сообщения не сдвигаются. */
|
||||
.dm-chat-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader {
|
||||
position: absolute;
|
||||
top: calc(var(--topbar-height, 64px) + 8px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Пустой чат: истории на экране нет, спиннер – по центру. */
|
||||
.dm-history-loader.is-centered {
|
||||
top: 45%;
|
||||
}
|
||||
|
||||
|
||||
.dm-history-loader__pill {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
|
||||
/* «Личные»: широкие, низкие и более плотные плитки. */
|
||||
.dm-list-screen .dm-list {
|
||||
width: 100%;
|
||||
margin-inline: 0;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-dialog-card {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
background: var(--surface);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
grid-template-columns: 50px minmax(0, 1fr) auto;
|
||||
min-height: 54px;
|
||||
margin: 0;
|
||||
padding: 5px 6px 5px 4px;
|
||||
gap: 8px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-av,
|
||||
.dm-list-screen .dm-av .avatar,
|
||||
.dm-list-screen .list-item .avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
min-width: 48px;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-main {
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
|
||||
.dm-list-screen .dm-row-meta-col {
|
||||
display: grid;
|
||||
grid-template-rows: 22px 20px;
|
||||
align-items: center;
|
||||
gap: 0;
|
||||
align-self: center;
|
||||
justify-items: end;
|
||||
justify-content: initial;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.dm-list-screen .dm-dialog-card {
|
||||
grid-template-columns: 50px minmax(0, 1fr) auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ===== Personal chat row layout: time top-right, unread bottom-right ===== */
|
||||
.dm-list-screen .dm-row-time {
|
||||
grid-row: 1;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.dm-list-screen .dm-unread-badge,
|
||||
.dm-list-screen .dm-row-meta-spacer {
|
||||
grid-row: 2;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.dm-list { gap: 0; margin-inline: 0; padding: 0; padding-bottom: calc(86px + 16px); }
|
||||
.dm-list-screen .dm-dialog-card,
|
||||
.dm-dialog-card {
|
||||
min-height: 68px;
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
gap: 12px;
|
||||
grid-template-columns: 48px minmax(0, 1fr) auto;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: linear-gradient(var(--border-subtle), var(--border-subtle)) right bottom / calc(100% - 60px) 1px no-repeat;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
transition: background-color var(--duration-fast) ease;
|
||||
}
|
||||
@media (hover: hover) { .dm-dialog-card:hover { background-color: color-mix(in srgb, var(--surface) 66%, transparent); } }
|
||||
.dm-dialog-card:active { background-color: var(--surface-selected); }
|
||||
.dm-dialog-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
.dm-card--family .dm-av .avatar { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--rel-family); }
|
||||
.dm-card--shining .dm-av .avatar { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--rel-shining); }
|
||||
.dm-dialog-card .dm-row-title { font-size: var(--text-md); font-weight: var(--weight-bold); }
|
||||
.dm-dialog-card .dm-row-last-message { font-size: var(--text-sm); }
|
||||
.dm-row-time { font-size: var(--text-xs); font-weight: 400; color: var(--text-secondary); }
|
||||
.dm-contact-note { flex-shrink: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--rel-contact); font-size: var(--text-xs); font-weight: var(--weight-medium); }
|
||||
.dm-contact-note--close_friend { color: var(--rel-family); }
|
||||
.dm-row-meta-col { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; }
|
||||
.dm-row-meta-line { display: flex; align-items: center; gap: 0; }
|
||||
.dm-unread-badge { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--radius-pill); color: var(--on-accent); background: var(--accent); border: 0; font-size: var(--text-xs); font-weight: var(--weight-bold); }
|
||||
.dm-list-screen > .card.meta-muted, .dm-list > .card.meta-muted { margin: var(--space-6) 0; padding: 0; border: 0; background: none; box-shadow: none; text-align: center; color: var(--text-secondary); }
|
||||
.dm-divider { height: auto; margin: 0; padding: var(--space-4) 0 var(--space-1); color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-xs); font-weight: var(--weight-bold); }
|
||||
.dm-divider::before, .dm-divider::after { content: none; }
|
||||
.contact-search-results { gap: 0; margin-top: var(--space-3); }
|
||||
.contact-search-results .contact-search-results-title { margin: 0 0 var(--space-1); color: var(--text-secondary); font-size: var(--text-xs); }
|
||||
.dm-row-last-message.is-encrypted { font-style: italic; }
|
||||
|
||||
|
||||
/* Закреплённые и «без звука» (настройки этого устройства) */
|
||||
.dm-list-screen { position: relative; }
|
||||
.dm-row-muted { display: inline-flex; flex: 0 0 auto; color: var(--text-secondary); }
|
||||
.dm-row-muted svg { width: 15px; height: 15px; }
|
||||
.dm-list-screen .dm-row-pin { grid-row: 1; align-self: center; display: inline-flex; justify-content: center; min-width: 24px; color: var(--text-secondary); }
|
||||
.dm-row-pin svg { width: 17px; height: 17px; transform: rotate(35deg); }
|
||||
.dm-unread-badge.dm-unread-badge--muted { color: var(--text-primary); background: var(--surface-selected); }
|
||||
.dm-row-menu-anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }
|
||||
|
||||
/* Строка без переписки: «Нет сообщений» – тише обычного превью. */
|
||||
.dm-row-last-message.is-empty { color: color-mix(in srgb, var(--text-secondary) 72%, transparent); }
|
||||
@@ -0,0 +1,290 @@
|
||||
/* «Связи»: раскладка экрана – карта или список на всю высоту между шапкой и нижним меню,
|
||||
* поверх – чипы фильтров, переключатель «Списком / На карте», состояния. Стили самой карты,
|
||||
* карточки человека и масштаба – в styles/network-graph.css. */
|
||||
|
||||
.network-screen {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--rel-shining) 7%, transparent), transparent 70%);
|
||||
}
|
||||
|
||||
.network-version-switcher {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.network-version-switcher select {
|
||||
max-width: 98px;
|
||||
padding: 3px 4px;
|
||||
border: 1px solid var(--border-control);
|
||||
border-radius: 7px;
|
||||
background: var(--surface);
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.network-screen[data-view='list'] {
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
.network-stage {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.network-board--full {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.network-board--full[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Фильтры – тот же переключатель, что в чатах, под шапкой, поверх карты и над списком. */
|
||||
.net-filters {
|
||||
position: absolute;
|
||||
top: var(--topbar-height, 64px);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: var(--app-primary-tabs-top-gap, 14px) var(--page-gutter) 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.net-filters__tabs {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* В списке строки уезжают под фильтры – подложка до самой шапки. */
|
||||
.network-screen[data-view='list'] .net-filters {
|
||||
padding-bottom: var(--space-2);
|
||||
background: var(--background);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* «Ещё ▾»: выбранный фильтр из меню показывается здесь же; точка – включены друзья друзей. */
|
||||
.net-filters__more {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.net-filters__more-label {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.net-filters__more svg {
|
||||
flex: 0 0 auto;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.net-filters__more.has-dot::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
/* Список: свой скролл (страница «Связей» не прокручивается), отступы сверху и снизу
|
||||
* под чипы и нижнее меню задаёт JS. */
|
||||
.net-list {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding-inline: var(--page-gutter);
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.net-list::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.net-list[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Загрузка, ошибка, «пока нет связей» – по центру свободной части экрана. */
|
||||
.net-overlay {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 32%;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-inline: var(--page-gutter);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.net-overlay > * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.net-overlay--below-center {
|
||||
top: 56%;
|
||||
}
|
||||
|
||||
.network-screen.is-blank .net-filters,
|
||||
.network-screen.is-blank .net-zoom,
|
||||
.network-screen.is-blank .net-mode-pill {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.net-overlay .state-message {
|
||||
border-radius: var(--radius-lg);
|
||||
background: color-mix(in srgb, var(--background) 88%, transparent);
|
||||
}
|
||||
|
||||
.net-overlay[hidden],
|
||||
.net-busy[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Подгрузка поверх уже показанной карты: маленький кружок, появляется с задержкой. */
|
||||
.net-busy {
|
||||
position: absolute;
|
||||
top: calc(var(--topbar-height, 64px) + 64px);
|
||||
left: 50%;
|
||||
z-index: 12;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-left: -18px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 50%;
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-sm);
|
||||
opacity: 0;
|
||||
animation: loading-state-in 160ms ease 300ms forwards;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Сбор знакомств или подписок: кружок вытягивается в плашку «Узнаю знакомства · 37 из 233». */
|
||||
.net-busy__text:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.net-busy--text {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: auto;
|
||||
height: 36px;
|
||||
margin-left: 0;
|
||||
padding: 0 14px 0 10px;
|
||||
transform: translateX(-50%);
|
||||
border-radius: var(--radius-pill);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.net-busy__text {
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-sm);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
/* Разделы списка по компаниям и интересам – с цветной точкой, как на карте. */
|
||||
.net-list-section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* «Списком / На карте» – внизу по центру, над нижним меню (bottom задаёт JS). */
|
||||
.net-mode-pill {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
z-index: 12;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
height: 40px;
|
||||
padding: 0 18px 0 14px;
|
||||
transform: translateX(-50%);
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow);
|
||||
color: var(--text-primary);
|
||||
font: inherit;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-bold);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.net-mode-pill svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.net-mode-pill:hover {
|
||||
background: var(--surface-raised);
|
||||
}
|
||||
}
|
||||
|
||||
.net-mode-pill:active {
|
||||
transform: translateX(-50%) scale(0.97);
|
||||
}
|
||||
|
||||
.net-mode-pill:focus-visible {
|
||||
outline: 2px solid var(--focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.net-mode-pill[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.net-row-menu-anchor {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* V4: два Canvas поверх статичного фона. Старый анимированный ::before
|
||||
* принадлежит DOM-движку V1/V3 и не должен работать на Canvas-странице. */
|
||||
.network-explorer--canvas .fg-stage::before { display: none; }
|
||||
.network-explorer--canvas .fg-canvas-v4 {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: block;
|
||||
z-index: 1;
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
}
|
||||
.network-explorer--canvas .fg-canvas-v4--edges { pointer-events: none; }
|
||||
.network-explorer--canvas .fg-canvas-v4--nodes {
|
||||
z-index: 2;
|
||||
cursor: grab;
|
||||
}
|
||||
.network-explorer--canvas .fg-canvas-v4--nodes.is-over-node { cursor: pointer; }
|
||||
.network-explorer--canvas .fg-canvas-v4--nodes:active { cursor: grabbing; }
|
||||
@@ -0,0 +1,105 @@
|
||||
/* Уведомления: плоский список как в чатах – аватар, имя и время, ниже текст; тонкие разделители от текста. */
|
||||
.notifications-screen { align-content: start; }
|
||||
.notifications-screen .notification-feed-tabs { margin-bottom: var(--space-1); }
|
||||
|
||||
.notifications-list { display: grid; }
|
||||
|
||||
.notification-group-title {
|
||||
margin: 0;
|
||||
padding: var(--space-3) 0 var(--space-1);
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-xs);
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
|
||||
.notification-card {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 40px minmax(0, 1fr);
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3) 0 0;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.notification-avatar { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
|
||||
|
||||
.notification-card__body {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 1px solid var(--divider-soft);
|
||||
}
|
||||
|
||||
.notification-card__head { display: flex; align-items: start; gap: var(--space-2); min-width: 0; }
|
||||
|
||||
.notification-card__identity { display: grid; flex: 1 1 auto; min-width: 0; gap: 1px; }
|
||||
|
||||
.notification-card__name {
|
||||
min-width: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-bold);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.notification-card__login {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-xs);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.notification-card__time { flex: 0 0 auto; padding-top: 2px; color: var(--text-secondary); font-size: var(--text-xs); }
|
||||
|
||||
/* Непрочитанное: точка-акцент перед временем. */
|
||||
.notification-card--new .notification-card__time::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin-right: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
vertical-align: 1px;
|
||||
}
|
||||
|
||||
.notification-card__action { margin: 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-sm); }
|
||||
|
||||
.notification-card__text {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: var(--text-md);
|
||||
line-height: var(--leading-md);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.notification-engagement { display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-1); color: var(--text-secondary); }
|
||||
.notification-engagement-item { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); line-height: 1; }
|
||||
.notification-engagement-icon { display: inline-flex; }
|
||||
.notification-engagement-icon svg { width: 14px; height: 14px; }
|
||||
|
||||
.notification-card--clickable { cursor: pointer; }
|
||||
.notification-card--clickable:active { background: color-mix(in srgb, var(--surface-selected) 45%, transparent); }
|
||||
@media (hover: hover) { .notification-card--clickable:hover { background: color-mix(in srgb, var(--surface-selected) 45%, transparent); } }
|
||||
.notification-card--clickable:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
|
||||
.notification-empty-state { margin-top: var(--space-5); padding: var(--space-5) var(--space-4); text-align: center; justify-items: center; }
|
||||
.notification-empty-state strong { color: var(--text-primary); font-size: var(--text-md); }
|
||||
.notification-empty-state .meta-muted { max-width: 30ch; font-size: var(--text-sm); }
|
||||
|
||||
/* «Дружить в ответ» прямо в уведомлении о дружбе. */
|
||||
.notification-card__answer { justify-self: start; min-height: 34px; margin-top: var(--space-2); padding: 0 14px; border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: var(--weight-bold); }
|
||||
.notification-card__answered { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); color: var(--success); font-size: var(--text-sm); font-weight: var(--weight-medium); }
|
||||
.notification-card__answered svg { width: 16px; height: 16px; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,221 @@
|
||||
/* Карточка профиля (js/components/profile-card.js): свой и чужой профиль в одной системе с «О канале».
|
||||
* Селекторы привязаны к .user-profile-screen, чтобы перекрыть старую геометрию profile.css. */
|
||||
.user-profile-screen { gap: 0; min-height: 0; overflow-x: clip; }
|
||||
.user-profile-screen::before { content: none; }
|
||||
.user-profile-screen .user-profile-body { display: grid; gap: var(--space-4); padding: var(--space-2) 0 var(--space-5); }
|
||||
.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-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; }
|
||||
.user-profile-screen .pf-avatar .user-profile-hero-avatar.avatar-framed > .avatar-fallback,
|
||||
.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; } }
|
||||
|
||||
/* Статусы по бокам аватара: слева «Официальный», справа «Сияющий» (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-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); }
|
||||
.user-profile-screen .pf-city { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-sm); }
|
||||
.user-profile-screen .pf-city svg { width: 15px; height: 15px; flex: 0 0 auto; }
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.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-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; }
|
||||
.user-profile-screen .pf-stat { min-height: 64px; padding: var(--space-2) var(--space-1); display: grid; align-content: center; justify-items: center; gap: 2px; border: 0; border-left: 1px solid var(--border-subtle); background: transparent; color: var(--text-primary); font: inherit; cursor: pointer; }
|
||||
.user-profile-screen .pf-stat:first-child { border-left: 0; }
|
||||
.user-profile-screen .pf-stat:active { background: var(--surface-selected); }
|
||||
@media (hover: hover) { .user-profile-screen .pf-stat:hover { background: var(--surface-selected); } }
|
||||
.user-profile-screen .pf-stat:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
|
||||
.user-profile-screen .pf-stat-value { font-size: var(--text-lg); line-height: var(--leading-lg); font-weight: var(--weight-bold); }
|
||||
.user-profile-screen .pf-stat-value small { color: var(--text-secondary); font-size: var(--text-xs); font-weight: var(--weight-medium); }
|
||||
.user-profile-screen .pf-stat-label { color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-xs); }
|
||||
|
||||
.user-profile-screen .pf-tiles-wrap { position: relative; width: 100%; margin: 0; }
|
||||
.user-profile-screen .pf-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-2); width: 100%; margin: 0; padding: 0; }
|
||||
.user-profile-screen .pf-tile {
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-height: 64px;
|
||||
padding: 10px 4px 8px;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
align-content: center;
|
||||
gap: 4px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 14px;
|
||||
color: var(--accent);
|
||||
background: var(--surface);
|
||||
box-shadow: none;
|
||||
font: inherit;
|
||||
font-size: var(--text-xs);
|
||||
cursor: pointer;
|
||||
transform: none;
|
||||
width: 100%;
|
||||
justify-self: stretch;
|
||||
}
|
||||
.user-profile-screen .pf-tile::before,
|
||||
.user-profile-screen .pf-tile::after { content: none; }
|
||||
.user-profile-screen .pf-tile svg { width: 22px; height: 22px; }
|
||||
.user-profile-screen .pf-tile span { color: var(--text-primary); }
|
||||
.user-profile-screen .pf-tile:active,
|
||||
.user-profile-screen .pf-tile.is-active { background: var(--surface-selected); box-shadow: none; transform: none; }
|
||||
@media (hover: hover) { .user-profile-screen .pf-tile:hover { background: var(--surface-selected); box-shadow: none; transform: none; } }
|
||||
.user-profile-screen .pf-tile:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.user-profile-screen .pf-tile .pf-tile-mandala,
|
||||
.user-profile-screen .pf-tile img { width: 24px; height: 24px; object-fit: contain; filter: none; }
|
||||
|
||||
.user-profile-screen .pf-list { display: grid; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
|
||||
.user-profile-screen .pf-row { display: grid; gap: 2px; padding: 12px 14px; border-top: 1px solid var(--border-subtle); }
|
||||
.user-profile-screen .pf-row:first-child { border-top: 0; }
|
||||
.user-profile-screen .pf-row-label { color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-xs); }
|
||||
.user-profile-screen .pf-row-value,
|
||||
.user-profile-screen .pf-row-text { margin: 0; color: var(--text-primary); font-size: var(--text-md); line-height: var(--leading-md); white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.user-profile-screen .pf-row-text.is-empty { color: var(--text-secondary); }
|
||||
|
||||
.profile-edit-card { gap: var(--space-3); }
|
||||
.profile-edit-statuses { flex-wrap: wrap; overflow: visible; }
|
||||
|
||||
.profiles-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2); padding: 6px 6px 6px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface); }
|
||||
.profiles-row.is-active { border-color: color-mix(in srgb, var(--accent) 55%, var(--border-control)); }
|
||||
.screen-content .profiles-row .profiles-select { min-height: var(--control-height); display: flex; align-items: center; gap: var(--space-2); padding: 0; border: 0; background: transparent; color: var(--text-primary); font: inherit; text-align: left; cursor: pointer; }
|
||||
.screen-content .profiles-row .profiles-select:disabled { opacity: 1; cursor: default; }
|
||||
.profiles-login { font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--text-primary); }
|
||||
.profiles-active-badge { padding: 2px 8px; border-radius: var(--radius-pill); color: var(--accent); background: var(--accent-soft); font-size: .6875rem; font-weight: var(--weight-bold); }
|
||||
.screen-content .profiles-row .profiles-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius-md); color: var(--text-secondary); background: transparent; font-size: 22px; cursor: pointer; }
|
||||
.screen-content .profiles-row .profiles-close:active { background: var(--surface-selected); color: var(--danger); }
|
||||
@media (hover: hover) { .screen-content .profiles-row .profiles-close:hover { background: var(--surface-selected); color: var(--danger); } }
|
||||
|
||||
/* Экран управления отношениями с другим пользователем. */
|
||||
.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 { 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); }
|
||||
.relation-manage-card-head > span { color: var(--text-secondary); font-size: var(--text-xs); }
|
||||
.relation-manage-current { display: grid; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
|
||||
.relation-manage-current-row { min-height: 48px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); border-top: 1px solid var(--border-subtle); }
|
||||
.relation-manage-current-row:first-child { border-top: 0; }
|
||||
.relation-manage-current-row > span { color: var(--text-secondary); font-size: var(--text-sm); }
|
||||
.relation-manage-current-row > strong { color: var(--text-primary); font-size: var(--text-sm); text-align: right; }
|
||||
.relation-manage-mutual { min-height: 52px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--surface-selected); }
|
||||
.relation-manage-mutual-label { color: var(--text-secondary); }
|
||||
.relation-manage-mutual > strong { color: var(--text-primary); }
|
||||
.relation-manage-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
|
||||
.relation-manage-choice { width: 100%; min-width: 0; }
|
||||
.relation-manage-choice.is-active { background: var(--surface-selected); border-color: var(--accent); color: var(--accent); }
|
||||
.relation-manage-confirmations { display: grid; gap: 6px; }
|
||||
.relation-manage-confirmations:empty { display: none; }
|
||||
.relation-manage-confirmation { padding: 9px 11px; border-radius: var(--radius-md); background: var(--surface-selected); color: var(--text-primary); font-size: var(--text-sm); line-height: var(--leading-sm); }
|
||||
.relation-manage-confirm-btn { width: 100%; }
|
||||
.relation-manage-card--official { border-color: color-mix(in srgb, var(--rel-family) 45%, var(--border-subtle)); }
|
||||
.relation-manage-card--shine { border-color: color-mix(in srgb, var(--rel-shining) 45%, var(--border-subtle)); }
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.relation-manage-choices { grid-template-columns: 1fr; }
|
||||
.relation-manage-current-row { align-items: flex-start; }
|
||||
}
|
||||
|
||||
/* Личная заметка о человеке под кнопками действий (видна только владельцу аккаунта). */
|
||||
.user-profile-screen .user-profile-note-add {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-self: start;
|
||||
gap: 8px;
|
||||
padding-inline: 4px;
|
||||
color: var(--text-secondary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.user-profile-screen .user-profile-note-add:active {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.user-profile-screen .user-profile-note-add:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.user-profile-screen .user-profile-note-add:focus-visible {
|
||||
outline: 2px solid var(--focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.user-profile-screen .user-profile-note-add svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
/* Чужой профиль: плитка связи показывает текущую связь, над плитками – «хочет с вами дружить». */
|
||||
.pf-tile.is-related svg { color: var(--success); }
|
||||
.user-profile-relation-hint { margin: 0 0 var(--space-2); color: var(--accent); font-size: var(--text-sm); font-weight: var(--weight-medium); text-align: center; }
|
||||
|
||||
/* Пошаговое публичное заявление — часть редактирования профиля. */
|
||||
.profile-consent-flow { gap: 16px; }
|
||||
.profile-consent-progress { font-size: .75rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
|
||||
.profile-consent-heading { margin: 0; color: var(--text-primary); font-size: 1.15rem; line-height: 1.4; }
|
||||
.profile-consent-description { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
|
||||
.profile-consent-accept { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--border-control); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--text-primary); font-size: .9rem; line-height: 1.4; cursor: pointer; }
|
||||
.profile-consent-accept[hidden] { display: none; }
|
||||
.profile-consent-accept > input { width: 19px; height: 19px; min-width: 19px; margin-top: 1px; accent-color: var(--accent); }
|
||||
.profile-consent-sheet .sheet__card { width: min(100%, 470px); }
|
||||
.profile-consent-flow .form-actions-grid { margin-top: 4px; }
|
||||
.profile-consent-flow .primary-btn:disabled { opacity: .45; cursor: not-allowed; }
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,548 @@
|
||||
/* Settings/language feature styles. */
|
||||
|
||||
.settings-developer-card {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
|
||||
.settings-developer-panel {
|
||||
margin-top: 2px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
|
||||
}
|
||||
|
||||
|
||||
.settings-dev-avatar-modal-card {
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
|
||||
.settings-dev-avatar-meta {
|
||||
min-height: 18px;
|
||||
font-size: 13px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
|
||||
.settings-dev-avatar-error {
|
||||
min-height: 18px;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
|
||||
.settings-dev-avatar-result {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
||||
/* ===== Выбор языка со стартового экрана ===== */
|
||||
.language-screen {
|
||||
width: min(100%, 430px);
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
|
||||
.language-choice-card {
|
||||
padding: 16px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
|
||||
.language-choice-hint {
|
||||
margin: 0 0 4px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.language-choice-grid {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
|
||||
.language-choice-option {
|
||||
min-height: 64px;
|
||||
padding: 0 16px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
|
||||
border-radius: 16px;
|
||||
background: color-mix(in srgb, var(--text-primary) 4%, transparent);
|
||||
box-shadow: none;
|
||||
color: var(--text-primary);
|
||||
text-shadow: none;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
text-align: left;
|
||||
transform: none;
|
||||
transition: transform 90ms ease, box-shadow 90ms ease, background-color 90ms ease, filter 120ms ease;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.language-choice-option:hover {
|
||||
border-color: color-mix(in srgb, var(--accent) 16%, transparent);
|
||||
background: color-mix(in srgb, var(--text-primary) 4%, transparent);
|
||||
box-shadow: none;
|
||||
color: var(--text-primary);
|
||||
transform: none;
|
||||
filter: brightness(1.12);
|
||||
}
|
||||
}
|
||||
|
||||
.language-choice-option:active {
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--surface) 12%, transparent);
|
||||
border: 0;
|
||||
box-shadow:
|
||||
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
||||
inset 0 -1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);
|
||||
transform: translateY(1px) scale(0.97);
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.language-choice-option:focus-visible {
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
|
||||
background: color-mix(in srgb, var(--text-primary) 4%, transparent);
|
||||
box-shadow: none;
|
||||
color: var(--text-primary);
|
||||
outline: 2px solid var(--border-control);
|
||||
outline-offset: 2px;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.language-choice-option.is-selected,
|
||||
.language-choice-option.is-selected:focus-visible {
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 8%, transparent), 0 0 20px color-mix(in srgb, var(--accent) 10%, transparent);
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.language-choice-option.is-selected:hover {
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 8%, transparent), 0 0 20px color-mix(in srgb, var(--accent) 10%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
.language-choice-option.is-selected:active {
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 8%, transparent), 0 0 20px color-mix(in srgb, var(--accent) 10%, transparent);
|
||||
transform: translateY(1px) scale(0.97);
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
|
||||
.language-choice-name {
|
||||
font-size: 17px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
|
||||
.language-choice-code {
|
||||
color: var(--text-secondary);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: .08em;
|
||||
}
|
||||
|
||||
|
||||
/* Второстепенные действия – та же роль, что во всём приложении: прозрачная кнопка, рамка, цвет «действия». */
|
||||
.screen-content.settings-bordered-actions .profile-relative-suggest-item {
|
||||
min-height: var(--control-height);
|
||||
padding-inline: 14px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--surface);
|
||||
color: var(--text-primary);
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
.screen-content.settings-bordered-actions :is(.secondary-btn, .ghost-btn, .text-btn, .shine-btn, .settings-bordered-btn) {
|
||||
min-height: var(--control-height);
|
||||
padding-inline: 14px;
|
||||
border: 1px solid var(--border-control);
|
||||
border-radius: var(--radius-md);
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: var(--action);
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-medium);
|
||||
text-shadow: none;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
transform: none;
|
||||
}
|
||||
.screen-content.settings-bordered-actions .primary-btn {
|
||||
min-height: var(--control-height);
|
||||
border: 0;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--accent);
|
||||
color: var(--on-accent);
|
||||
box-shadow: none;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
.screen-content.settings-bordered-actions .destructive-btn {
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-medium);
|
||||
min-height: var(--control-height);
|
||||
border: 1px solid var(--border-control);
|
||||
border-radius: var(--radius-md);
|
||||
background: transparent;
|
||||
color: var(--danger);
|
||||
box-shadow: none;
|
||||
}
|
||||
@media (hover: hover) { .screen-content.settings-bordered-actions :is(.secondary-btn, .ghost-btn, .text-btn, .shine-btn, .settings-bordered-btn, .profile-relative-suggest-item, .destructive-btn):hover { background: var(--surface-selected); filter: none; } }
|
||||
.screen-content.settings-bordered-actions :is(.primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .text-btn, .shine-btn, .settings-bordered-btn):active { transform: scale(0.98); filter: none; }
|
||||
.screen-content.settings-bordered-actions :is(.primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .text-btn, .shine-btn, .settings-bordered-btn):disabled { color: var(--text-secondary); background: var(--surface-selected); border-color: transparent; }
|
||||
|
||||
|
||||
/* Language selector: actual two-position switch with explicit confirmation. */
|
||||
.language-segmented-control {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0;
|
||||
padding: 4px;
|
||||
min-height: 58px;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
|
||||
border-radius: 18px;
|
||||
background: var(--surface);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.language-segmented-thumb {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
top: 4px;
|
||||
bottom: 4px;
|
||||
left: 4px;
|
||||
width: calc(50% - 4px);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 28%, transparent), color-mix(in srgb, var(--accent) 20%, transparent));
|
||||
box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-primary) 10%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 14%, transparent);
|
||||
transition: transform 180ms ease;
|
||||
}
|
||||
|
||||
.language-choice-card[data-language="en"] .language-segmented-thumb { transform: translateX(100%); }
|
||||
|
||||
.language-segment {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
min-height: 50px;
|
||||
padding: 0 12px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
color: var(--text-primary);
|
||||
text-shadow: none;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
font-size: 16px;
|
||||
font-weight: 650;
|
||||
transition:
|
||||
transform 90ms ease,
|
||||
box-shadow 90ms ease,
|
||||
background-color 90ms ease,
|
||||
filter 120ms ease;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.language-segment:hover {
|
||||
color: var(--text-primary);
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
filter: brightness(1.12);
|
||||
}
|
||||
}
|
||||
|
||||
.language-segment:active {
|
||||
color: var(--text-primary);
|
||||
background: color-mix(in srgb, var(--surface) 12%, transparent);
|
||||
border: 0;
|
||||
box-shadow:
|
||||
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
||||
inset 0 -1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);
|
||||
transform: translateY(1px) scale(0.97);
|
||||
filter: brightness(0.9);
|
||||
}
|
||||
|
||||
.language-segment:focus-visible {
|
||||
outline: 2px solid var(--border-control);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.language-segment::before,
|
||||
.language-segment::after {
|
||||
background: transparent;
|
||||
background-image: none;
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.language-choice-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.language-choice-actions .shine-btn { height: 50px; }
|
||||
|
||||
/* ===== Скрытые расширенные настройки ===== */
|
||||
.settings-feature-toggle-row {
|
||||
min-height: 76px;
|
||||
padding: 15px 16px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.settings-feature-toggle-copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.settings-feature-toggle-title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.settings-feature-toggle-hint {
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.settings-sections { gap: var(--space-4); }
|
||||
.settings-theme-card { gap: var(--space-2); }
|
||||
.settings-theme-editor { width: 100%; }
|
||||
.settings-intro { padding-top: var(--space-3); }
|
||||
.settings-intro > p { margin: 0; padding-inline: var(--space-1); font-size: var(--text-sm); line-height: var(--leading-sm); }
|
||||
|
||||
/* ===== Мой блокчейн ===== */
|
||||
.my-blockchain-list {
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__head {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 30px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__title {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
font-weight: 650;
|
||||
line-height: 1.35;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__meta {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
line-height: 1.3;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__toggle {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
min-height: 30px;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__toggle:active {
|
||||
background: var(--surface-selected);
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.my-blockchain-entry__toggle:hover {
|
||||
background: var(--surface-selected);
|
||||
}
|
||||
}
|
||||
|
||||
.my-blockchain-entry__triangle {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-top: 7px solid currentColor;
|
||||
transform-origin: 50% 45%;
|
||||
transition: transform 140ms ease;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__toggle[aria-expanded="true"] .my-blockchain-entry__triangle {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.my-blockchain-entry__details {
|
||||
min-width: 0;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid var(--border-subtle);
|
||||
}
|
||||
|
||||
.my-blockchain-entry__details[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__detail-title {
|
||||
display: block;
|
||||
margin-bottom: 7px;
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__full-text {
|
||||
max-height: 45vh;
|
||||
overflow: auto;
|
||||
margin-bottom: 8px;
|
||||
padding: 9px 10px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--text-primary) 4%, transparent);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__attachments {
|
||||
margin-bottom: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 6px 14px;
|
||||
margin: 2px 0 9px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__action {
|
||||
min-height: 30px;
|
||||
padding: 4px 0;
|
||||
color: var(--action);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__external:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@media (hover: hover) {
|
||||
.my-blockchain-entry__external:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.my-blockchain-entry__detail-grid {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__detail-row {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(92px, 0.32fr) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: start;
|
||||
font-size: 11px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.my-blockchain-entry__detail-key {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.my-blockchain-entry__detail-value {
|
||||
min-width: 0;
|
||||
color: var(--text-primary);
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.my-blockchain-entry__detail-row {
|
||||
grid-template-columns: 84px minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
/* «Оформление»: тема и образцы палитр (js/pages/appearance-view.js). */
|
||||
.appearance-hint { margin: calc(-1 * var(--space-1)) 0 var(--space-2); font-size: var(--text-xs); }
|
||||
.palette-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
|
||||
gap: 14px 10px;
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
.palette-swatch {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 6px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: var(--text-secondary);
|
||||
font: inherit;
|
||||
font-size: var(--text-xs);
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Образец: фон палитры, полоска «поверхности», «пузырь» исходящего сообщения и точка акцента. */
|
||||
.palette-swatch__sample {
|
||||
position: relative;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 18px;
|
||||
background: var(--swatch-bg);
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text-primary) 14%, transparent);
|
||||
overflow: hidden;
|
||||
}
|
||||
.palette-swatch__bar { position: absolute; left: 8px; right: 8px; top: 9px; height: 10px; border-radius: 5px; background: var(--swatch-surface); }
|
||||
.palette-swatch__bubble { position: absolute; right: 8px; top: 26px; width: 30px; height: 14px; border-radius: 8px 8px 3px 8px; background: var(--swatch-bubble); }
|
||||
.palette-swatch__dot { position: absolute; left: 9px; bottom: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--swatch-accent); }
|
||||
.palette-swatch__check { position: absolute; right: 6px; bottom: 6px; display: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--swatch-accent); color: var(--swatch-on-accent); }
|
||||
.palette-swatch__check svg { width: 13px; height: 13px; stroke-width: 2.6; }
|
||||
.palette-swatch[aria-checked='true'] .palette-swatch__sample { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent); }
|
||||
.palette-swatch[aria-checked='true'] .palette-swatch__check { display: grid; }
|
||||
.palette-swatch[aria-checked='true'] .palette-swatch__label { color: var(--text-primary); font-weight: var(--weight-bold); }
|
||||
.palette-swatch:focus-visible { outline: none; }
|
||||
.palette-swatch:focus-visible .palette-swatch__sample { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--focus-ring); }
|
||||
.palette-swatch__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.about-sheet__copy { width: 100%; }
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/* Jupiter beta exchange uses the same surfaces and button styles as wallet transfer. */
|
||||
.wallet-swap-beta-tag { background: rgba(237, 150, 20, .14); border: 1px solid rgba(237,150,20,.55); padding: 8px 12px; border-radius: 10px; margin: 0; font-weight: 700; }
|
||||
.wallet-swap-warning { background: var(--surface, #262a30); border: 1px solid var(--border, rgba(150,150,150,.35)); padding: 14px; border-radius: 12px; line-height: 1.55; margin: 0; white-space: pre-line; }
|
||||
.wallet-swap-quote-box { background: var(--surface, #262a30); border: 1px solid var(--border, rgba(150,150,150,.35)); border-radius: 12px; padding: 14px; }
|
||||
.wallet-swap-quote-box > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
|
||||
.wallet-swap-quote-box strong { overflow-wrap: anywhere; text-align: end; }
|
||||
.wallet-swap-quote-box p { margin: 8px 0 0; line-height: 1.45; }
|
||||
.wallet-swap-quote-button, .wallet-swap-confirm, .wallet-swap-check { width: 100%; min-height: 47px; font-weight: 700; }
|
||||
.wallet-swap-explorer { font-size: .85rem; overflow-wrap: anywhere; }
|
||||
.wallet-swap-limit { margin: -8px 0 0; font-size: .85rem; }
|
||||
.wallet-swap-consent { background: rgba(237, 150, 20, .08); padding: 10px; border-radius: 10px; }
|
||||
.wallet-jupiter-link { background: var(--surface, #262a30); border: 1px solid var(--border, rgba(150,150,150,.4)); color: inherit; font-weight: 700; cursor: pointer; }
|
||||
.wallet-jupiter-link:hover { border-color: var(--accent, #52abff); }
|
||||
@@ -0,0 +1,22 @@
|
||||
/* Dedicated user-to-user Solana transfer screen. No new shell or dropdown owner. */
|
||||
.wallet-transfer-screen { width: 100%; max-width: 640px; margin: 0 auto; padding: 16px 12px 40px; }
|
||||
.wallet-transfer-card { gap: 15px; padding: 19px; }
|
||||
.wallet-transfer-heading { margin: 0; font-size: 1.45rem; }
|
||||
.wallet-transfer-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
||||
.wallet-transfer-balance { display: flex; flex-direction: column; gap: 7px; padding: 13px; background: var(--surface, #262a30); border: 1px solid var(--border, rgba(150,150,150,.24)); border-radius: 12px; min-width: 0; }
|
||||
.wallet-transfer-balance span { font-weight: 600; opacity: .78; }
|
||||
.wallet-transfer-balance strong { font-size: 1rem; overflow-wrap: anywhere; }
|
||||
.wallet-transfer-field { display: flex; flex-direction: column; gap: 7px; width: 100%; font-weight: 600; }
|
||||
.wallet-transfer-field input, .wallet-transfer-field select { width: 100%; min-height: 44px; box-sizing: border-box; }
|
||||
.wallet-transfer-select { cursor: pointer; }
|
||||
.wallet-transfer-selected { padding: 9px; font-weight: 600; background: var(--surface, #262a30); border-radius: 9px; }
|
||||
.wallet-transfer-notice { display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
|
||||
.wallet-transfer-notice input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
|
||||
.wallet-transfer-submit { width: 100%; min-height: 46px; }
|
||||
.wallet-transfer-hint, .wallet-transfer-status { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.wallet-multi-usdt-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 1.1rem; }
|
||||
.wallet-jupiter-link { display: flex; justify-content: center; text-align: center; align-items: center; min-height: 44px; text-decoration: none; }
|
||||
.wallet-jupiter-hint { margin: 0; font-size: 12px; line-height: 1.5; }
|
||||
|
||||
.wallet-transfer-field input[readonly] { cursor: default; opacity: .82; background: var(--surface, #262a30); }
|
||||
.wallet-transfer-notice[hidden] { display: none; }
|
||||
Reference in New Issue
Block a user