Касания: подсветка наведения больше не залипает на телефоне

На сенсорном экране :hover после касания остаётся на элементе: после перехода в настройках
строка под пальцем выглядела выбранной, кнопка «назад» на следующем экране – нажатой.
Все правила с :hover (77) теперь внутри @media (hover: hover): с мышью всё как было, на
телефоне подсветки наведения нет. Чтобы нажатие оставалось заметным, там, где у элемента не
было своего :active, а наведение меняло только цвет, фон или рамку, тот же вид получает
:active (46 правил: строки настроек, кнопки шапки, строки уведомлений, поиск и т. д.).
Порядок правил и специфичность не менялись, !important не добавлялось.
This commit is contained in:
q
2026-10-13 04:25:26 +03:00
parent a7a600035a
commit edc3d50136
34 changed files with 319 additions and 152 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
client.version=1.19.18
client.version=1.19.19
server.version=1.15.0
+1 -1
View File
@@ -39,7 +39,7 @@
}());
</script>
<script>
window.__SHINE_BUILD_HASH__ = '20261013100000';
window.__SHINE_BUILD_HASH__ = '20261013103000';
window.__SHINE_CLIENT_VERSION__ = '1.2.10';
</script>
<script>
+3 -2
View File
@@ -4,7 +4,7 @@
/* Второстепенное действие: прозрачная, тонкая рамка, текст цвета «вторичного действия». */
.secondary-btn { color: var(--action); background: transparent; border: 1px solid var(--border-control); }
.destructive-btn { color: var(--danger); }
:is(.ui-button, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .icon-btn, .text-btn, .shine-btn):hover { filter: brightness(.96); }
@media (hover: hover) { :is(.ui-button, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .icon-btn, .text-btn, .shine-btn):hover { filter: brightness(.96); } }
:is(.ui-button, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .icon-btn, .text-btn, .shine-btn):active { filter: brightness(.9); }
:is(.ui-button, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .icon-btn, .text-btn, .shine-btn):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
:is(.ui-button, .primary-btn, .secondary-btn, .destructive-btn, .ghost-btn, .icon-btn, .text-btn, .shine-btn):disabled { opacity: .5; cursor: not-allowed; filter: none; }
@@ -73,7 +73,8 @@
font-size: 22px;
line-height: 1;
}
.screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings:hover { background: var(--surface-selected); }
.screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings:active { background: var(--surface-selected); }
@media (hover: hover) { .screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings:hover { background: var(--surface-selected); } }
.screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings strong { font-weight: var(--weight-bold); }
.screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings .meta-muted { color: var(--text-secondary); font-size: var(--text-xs); font-weight: 400; }
.screen-content:is(.filled-action-buttons, .settings-bordered-actions) .shine-btn.shine-btn--settings.shine-btn--danger { justify-content: center; padding-right: 14px; color: var(--danger); }
+2 -1
View File
@@ -328,7 +328,8 @@
background: var(--surface);
cursor: pointer;
}
.ar-attachment-file-picker:hover { border-color: var(--accent); }
.ar-attachment-file-picker:active { border-color: var(--accent); }
@media (hover: hover) { .ar-attachment-file-picker:hover { border-color: var(--accent); } }
.ar-attachment-file-picker:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ar-attachment-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ar-attachment-file-btn {
+23 -17
View File
@@ -59,9 +59,11 @@
}
.call-minimized-bar-text:hover {
color: var(--text-primary);
filter: brightness(1.12);
@media (hover: hover) {
.call-minimized-bar-text:hover {
color: var(--text-primary);
filter: brightness(1.12);
}
}
.call-minimized-bar-text:active {
@@ -118,13 +120,15 @@
}
.call-icon-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
transform: translateY(-1px);
filter: brightness(1.12);
@media (hover: hover) {
.call-icon-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
transform: translateY(-1px);
filter: brightness(1.12);
}
}
@@ -446,13 +450,15 @@
}
.call-accept-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
transform: translateY(-1px);
filter: brightness(1.12);
@media (hover: hover) {
.call-accept-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
transform: translateY(-1px);
filter: brightness(1.12);
}
}
@@ -234,7 +234,8 @@
/* Нижняя панель: «прикрепить» и тип записи слева, счётчик (только у предела) и отправка – справа; ничего не вылезает за край. */
.channel-editor__footer { display: flex; align-items: center; gap: 8px; }
.channel-editor__footer .channel-editor__attach { flex: none; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--accent); }
.channel-editor__footer .channel-editor__attach:hover { background: var(--surface-selected); }
.channel-editor__footer .channel-editor__attach:active { background: var(--surface-selected); }
@media (hover: hover) { .channel-editor__footer .channel-editor__attach:hover { background: var(--surface-selected); } }
.channel-editor__footer .channel-editor__attach svg { width: 24px; height: 24px; }
.channel-editor__footer .channel-editor__type { flex: 0 1 auto; min-width: 0; }
.channel-editor__footer .channel-editor__type-select { width: 100%; max-width: 9.5rem; min-width: 0; text-overflow: ellipsis; }
+6 -2
View File
@@ -34,8 +34,12 @@
-webkit-backdrop-filter: none;
transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.chip:hover,
.fg-filter-chip:hover { color: var(--text-primary); }
.chip:active,
.fg-filter-chip:active { color: var(--text-primary); }
@media (hover: hover) {
.chip:hover,
.fg-filter-chip:hover { color: var(--text-primary); }
}
.chip[aria-pressed='true'],
.chip.is-active,
.fg-filter-chip.is-active {
+1 -1
View File
@@ -8,7 +8,7 @@
.compose-field__emoji svg { width: 22px; height: 22px; }
.compose-send { width: 44px; height: 44px; min-width: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.compose-send svg { width: 22px; height: 22px; stroke-width: 2.2; }
.compose-send:hover:not(:disabled) { background: var(--accent-hover); }
@media (hover: hover) { .compose-send:hover:not(:disabled) { background: var(--accent-hover); } }
.compose-send:active:not(:disabled) { background: var(--accent-pressed); }
.compose-send:disabled { background: var(--disabled-bg); color: var(--disabled-text); cursor: default; }
.compose-send:focus-visible, .compose-field__emoji:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
+1 -1
View File
@@ -3,7 +3,7 @@
.dropdown-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); pointer-events: auto; background: var(--scrim); }
.dropdown-menu { position: fixed; z-index: var(--z-dropdown); display: grid; gap: 2px; padding: 6px; min-width: 196px; max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; border: 1px solid var(--border-control); border-radius: 14px; background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow); pointer-events: auto; }
.dropdown-menu__item { width: 100%; min-height: 44px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-primary); font: inherit; font-size: .875rem; line-height: 1.4; text-align: left; cursor: pointer; }
.dropdown-menu__item:hover { background: var(--surface-raised); }
@media (hover: hover) { .dropdown-menu__item:hover { background: var(--surface-raised); } }
.dropdown-menu__item.is-selected { background: var(--surface-selected); }
.dropdown-menu__item:active { background: var(--surface-selected); }
.dropdown-menu__item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
+9 -7
View File
@@ -105,13 +105,15 @@
}
.emoji-picker-tab:hover,
.emoji-picker-item:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
@media (hover: hover) {
.emoji-picker-tab:hover,
.emoji-picker-item:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
}
+6 -1
View File
@@ -166,9 +166,14 @@
cursor: pointer;
}
.toast__action:hover {
.toast__action:active {
background: var(--surface-selected);
}
@media (hover: hover) {
.toast__action:hover {
background: var(--surface-selected);
}
}
@media (prefers-reduced-motion: reduce) {
.spinner { animation-duration: 1.6s; }
+4 -2
View File
@@ -69,9 +69,11 @@
}
.media-viewer__btn svg { width: 22px; height: 22px; }
.media-viewer__btn:hover { background: rgb(255 255 255 / 12%); }
.media-viewer__btn:active { background: rgb(255 255 255 / 12%); }
@media (hover: hover) { .media-viewer__btn:hover { background: rgb(255 255 255 / 12%); } }
.media-viewer__btn--round { background: rgb(255 255 255 / 16%); }
.media-viewer__btn--round:hover { background: rgb(255 255 255 / 26%); }
.media-viewer__btn--round:active { background: rgb(255 255 255 / 26%); }
@media (hover: hover) { .media-viewer__btn--round:hover { background: rgb(255 255 255 / 26%); } }
.media-viewer__btn:focus-visible,
.media-viewer__nav:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
+2 -1
View File
@@ -48,7 +48,8 @@
.sheet__title { margin: 0; font-size: 1rem; }
.sheet__close { width: 36px; height: 36px; min-width: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--text-secondary); }
.sheet__close svg { width: 22px; height: 22px; }
.sheet__close:hover { background: var(--surface-raised); color: var(--text-primary); }
.sheet__close:active { background: var(--surface-raised); color: var(--text-primary); }
@media (hover: hover) { .sheet__close:hover { background: var(--surface-raised); color: var(--text-primary); } }
.sheet__body { display: grid; gap: 12px; font-size: .875rem; line-height: 1.3125rem; }
.sheet__body > p { margin: 0; }
.sheet__footer { display: flex; gap: 8px; margin-top: 18px; }
+8 -4
View File
@@ -22,7 +22,8 @@
}
.nav-row:first-child { border-top: 0; }
.nav-row::after { content: '›'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 22px; line-height: 1; }
.nav-row:hover { background: var(--surface-selected); }
.nav-row:active { background: var(--surface-selected); }
@media (hover: hover) { .nav-row:hover { background: var(--surface-selected); } }
.nav-row:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.nav-row__label { font-size: var(--text-md); line-height: var(--leading-md); font-weight: var(--weight-medium); }
.nav-row__hint { color: var(--text-secondary); font-size: var(--text-xs); line-height: var(--leading-xs); }
@@ -31,7 +32,8 @@
.nav-row__label.is-empty { color: var(--text-secondary); font-weight: 400; }
.nav-list > .nav-row.profile-param-item { margin: 0; border-radius: 0; background: transparent; box-shadow: none; }
.nav-list > .nav-row.profile-param-item:hover { background: var(--surface-selected); }
.nav-list > .nav-row.profile-param-item:active { background: var(--surface-selected); }
@media (hover: hover) { .nav-list > .nav-row.profile-param-item:hover { background: var(--surface-selected); } }
.language-row::after { content: none; }
.language-row[aria-checked='true']::after { content: '✓'; color: var(--accent); font-size: 18px; font-weight: var(--weight-bold); }
@@ -44,9 +46,11 @@
/* Строка-сведение без перехода (версия, состояние разрешения). */
.nav-row--static { cursor: default; padding-right: 14px; }
.nav-row--static::after { content: none; }
.nav-row--static:hover { background: transparent; }
.nav-row--static:active { background: transparent; }
@media (hover: hover) { .nav-row--static:hover { background: transparent; } }
/* Строка с кнопкой справа («Разрешить», «Включить звук»). */
.nav-row--action { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding-right: 10px; cursor: default; }
.nav-row--action::after { content: none; }
.nav-row--action:hover { background: transparent; }
.nav-row--action:active { background: transparent; }
@media (hover: hover) { .nav-row--action:hover { background: transparent; } }
.nav-row__button { min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: var(--weight-bold); }
@@ -20,7 +20,8 @@
border-radius: 12px;
cursor: pointer;
}
.palette-editor__role:hover { background: var(--surface-selected); }
.palette-editor__role:active { background: var(--surface-selected); }
@media (hover: hover) { .palette-editor__role:hover { background: var(--surface-selected); } }
.palette-editor__role input[type='color'] {
width: 36px;
height: 36px;
+11 -3
View File
@@ -35,8 +35,10 @@
transition: background-color var(--duration-fast) ease;
}
.person-row__main:hover {
background-color: color-mix(in srgb, var(--surface) 66%, transparent);
@media (hover: hover) {
.person-row__main:hover {
background-color: color-mix(in srgb, var(--surface) 66%, transparent);
}
}
.person-row__main:active {
@@ -150,10 +152,16 @@
color: var(--text-secondary);
}
.person-row__action:hover {
.person-row__action:active {
color: var(--accent);
background: var(--surface);
}
@media (hover: hover) {
.person-row__action:hover {
color: var(--accent);
background: var(--surface);
}
}
.person-row__action svg {
width: 21px;
+7 -4
View File
@@ -347,9 +347,11 @@ label.meta-muted[for] {
}
.page-label-toggle:hover {
background: transparent;
filter: brightness(1.12);
@media (hover: hover) {
.page-label-toggle:hover {
background: transparent;
filter: brightness(1.12);
}
}
.page-label-toggle:active {
@@ -638,7 +640,8 @@ body { overflow-x: hidden; }
.search-field__input { width: 100%; min-width: 0; height: 42px; border: 0; outline: 0; color: var(--text-primary); background: transparent; font-size: 16px; }
.search-field__input::placeholder { color: color-mix(in srgb, var(--text-secondary) 62%, var(--surface)); }
.search-field__action { min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); color: var(--accent); background: transparent; font: inherit; font-size: var(--text-sm); font-weight: var(--weight-bold); cursor: pointer; }
.search-field__action:hover { background: var(--surface-selected); }
.search-field__action:active { background: var(--surface-selected); }
@media (hover: hover) { .search-field__action:hover { background: var(--surface-selected); } }
.search-field__action:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 0; }
.empty-note { padding: var(--space-5) var(--space-4); text-align: center; color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-sm, 1.45); }
@@ -32,7 +32,7 @@
transform: translateY(0);
}
.scroll-to-bottom-btn:hover { background: var(--surface-selected); }
@media (hover: hover) { .scroll-to-bottom-btn:hover { background: var(--surface-selected); } }
.scroll-to-bottom-btn:active { transform: scale(0.95); }
.scroll-to-bottom-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
+1 -1
View File
@@ -41,7 +41,7 @@
font-weight: 600;
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, var(--border-control));
}
.tab-btn:hover { color: var(--text-primary); }
@media (hover: hover) { .tab-btn:hover { color: var(--text-primary); } }
.tab-btn:active { transform: scale(.98); }
.tab-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
+4 -2
View File
@@ -7,7 +7,8 @@
.topbar__left-label { font-size: .75rem; color: var(--text-secondary); }
.topbar__back, .topbar__action { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px; border: 0; border-radius: 12px; background: transparent; color: var(--text-primary); font-size: 22px; cursor: pointer; }
.topbar__center .app-topbar-title-action, .topbar__center .channels-top-title, .topbar__center .dm-head-filter-title { display: flex; flex-direction: column; justify-content: center; max-width: 100%; min-width: 0; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--text-primary); font-size: var(--app-topbar-title-size); font-weight: 600; text-align: center; overflow: hidden; }
.topbar__back:hover, .topbar__action:hover, .topbar__center button:hover { color: var(--accent); background: var(--surface); }
.topbar__back:active, .topbar__action:active, .topbar__center button:active { color: var(--accent); background: var(--surface); }
@media (hover: hover) { .topbar__back:hover, .topbar__action:hover, .topbar__center button:hover { color: var(--accent); background: var(--surface); } }
.topbar button:active, .topbar button[aria-expanded='true'] { background: var(--surface-selected); }
.topbar button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.topbar button:disabled { color: var(--text-secondary); cursor: default; }
@@ -41,6 +42,7 @@
.topbar-search__counter { flex: 0 0 auto; padding-right: 4px; font-size: var(--text-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.topbar-search__counter.is-empty { color: var(--danger); }
.topbar .topbar-search__clear { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary); cursor: pointer; }
.topbar .topbar-search__clear:hover { color: var(--text-primary); background: var(--surface-selected); }
.topbar .topbar-search__clear:active { color: var(--text-primary); background: var(--surface-selected); }
@media (hover: hover) { .topbar .topbar-search__clear:hover { color: var(--text-primary); background: var(--surface-selected); } }
.topbar-search__clear svg { width: 16px; height: 16px; }
.topbar-search__clear[hidden] { display: none; }
+6 -3
View File
@@ -34,7 +34,8 @@
.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:hover { color: var(--text-primary); }
.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; }
/* Цепочка над открытым ответом: звенья соединены линией от аватара к следующему. */
@@ -47,7 +48,8 @@
.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:hover { background: var(--surface); }
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; }
@@ -60,7 +62,8 @@ button.thread-quote:hover { 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:hover { color: var(--text-primary); background: var(--surface-selected); }
.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; }
+11 -4
View File
@@ -49,7 +49,8 @@
}
.channel-about-tile svg { width: 22px; height: 22px; }
.channel-about-tile span { color: var(--text-primary); }
.channel-about-tile:hover, .channel-about-tile:active { background: var(--surface-selected); }
.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; }
@@ -71,7 +72,8 @@
cursor: pointer;
}
.channel-about-row--static { display: grid; gap: 4px; cursor: default; }
.channel-about-row:not(.channel-about-row--static):hover { background: var(--surface-selected); }
.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; }
@@ -120,10 +122,15 @@
color: var(--text-primary);
}
.channel-unsubscribe-confirm-yes:hover,
.channel-unsubscribe-confirm-yes:focus-visible {
.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 {
+8 -4
View File
@@ -24,7 +24,8 @@
.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:hover { color: var(--text-primary); background: var(--surface); }
.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; }
@@ -61,7 +62,8 @@
cursor: text;
transition: border-color 160ms ease;
}
.channel-compose-bar:hover { border-color: var(--accent); }
.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; }
@@ -106,7 +108,8 @@
/* Нижняя панель ленты: «Новая запись» у владельца, «Подписаться» у читателя */
.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:hover { background: color-mix(in srgb, var(--surface-selected) 85%, var(--text-primary)); }
.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; }
@@ -122,7 +125,8 @@
/* Общий :hover кнопок – filter: brightness(); фильтр делает плитку автора контейнером для
абсолютного аватара, и при наведении (на телефоне – после касания) аватар прыгал на текст. */
.channel-message-card--threads .channel-message-author-tile:is(:hover, :active) { filter: none; }
.channel-message-card--threads .channel-message-author-tile:hover .author-line-login { color: var(--accent); }
.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: 10px; 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; }
+3 -2
View File
@@ -95,7 +95,7 @@
transition: background-color 160ms ease;
}
.channel-row:hover { background-color: color-mix(in srgb, var(--surface) 66%, transparent); }
@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; }
@@ -299,7 +299,8 @@
.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:hover { background: var(--surface); }
.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; }
+45 -14
View File
@@ -627,11 +627,9 @@
}
.chat-header-connections-btn:hover,
.chat-header-connections-btn:active,
.chat-header-connections-btn:focus,
.chat-header-connections-btn:focus-visible,
.chat-header-avatar-btn:hover,
.chat-header-avatar-btn:active,
.chat-header-avatar-btn:focus,
.chat-header-avatar-btn:focus-visible {
@@ -640,6 +638,15 @@
box-shadow: none;
transform: none;
}
@media (hover: hover) {
.chat-header-connections-btn:hover,
.chat-header-avatar-btn:hover {
border: 0;
background: transparent;
box-shadow: none;
transform: none;
}
}
.chat-header-connections-btn {
@@ -655,11 +662,16 @@
}
.chat-header-connections-btn:hover,
.chat-header-connections-btn:focus-visible {
border-color: color-mix(in srgb, var(--accent) 38%, transparent);
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 16px color-mix(in srgb, var(--accent) 28%, transparent);
}
@media (hover: hover) {
.chat-header-connections-btn:hover {
border-color: color-mix(in srgb, var(--accent) 38%, transparent);
box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 16px color-mix(in srgb, var(--accent) 28%, transparent);
}
}
.chat-header-connections-logo {
@@ -793,11 +805,16 @@
text-align: left;
white-space: nowrap;
}
.dm-message-action-btn:hover,
.dm-message-action-btn:focus-visible {
outline: none;
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
@media (hover: hover) {
.dm-message-action-btn:hover {
outline: none;
background: color-mix(in srgb, var(--accent) 12%, transparent);
}
}
.dm-message-action-btn--danger {
color: var(--text-primary);
background: transparent;
@@ -870,12 +887,18 @@
/* Composer icon actions own their white/blue interaction surface. */
.dm-chat-input :is(.dm-emoji-btn, .dm-send-btn, .dm-edit-banner__close),
.dm-chat-input :is(.dm-emoji-btn, .dm-send-btn, .dm-edit-banner__close):hover,
.dm-chat-input :is(.dm-emoji-btn, .dm-send-btn, .dm-edit-banner__close):focus {
color: var(--text-primary);
text-shadow: 0 0 5px color-mix(in srgb, var(--accent) 72%, transparent), 0 0 12px color-mix(in srgb, var(--accent) 34%, transparent);
filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 46%, transparent));
}
@media (hover: hover) {
.dm-chat-input :is(.dm-emoji-btn, .dm-send-btn, .dm-edit-banner__close):hover {
color: var(--text-primary);
text-shadow: 0 0 5px color-mix(in srgb, var(--accent) 72%, transparent), 0 0 12px color-mix(in srgb, var(--accent) 34%, transparent);
filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 46%, transparent));
}
}
/* ===== Зашифрованные вложения в личных сообщениях ===== */
.dm-file-btn {
@@ -1231,11 +1254,16 @@
background: transparent;
}
.dm-forward-chat-row:hover,
.dm-forward-chat-row:focus-visible {
outline: none;
background: color-mix(in srgb, var(--accent) 11%, transparent);
}
@media (hover: hover) {
.dm-forward-chat-row:hover {
outline: none;
background: color-mix(in srgb, var(--accent) 11%, transparent);
}
}
.dm-forward-chat-copy {
min-width: 0;
@@ -1360,7 +1388,8 @@
line-height: 1;
}
.dm-chat-input .dm-field .dm-emoji-btn__glyph { font-size: 23px; }
.dm-chat-input .dm-field .dm-emoji-btn:hover { background: var(--surface-selected); }
.dm-chat-input .dm-field .dm-emoji-btn:active { background: var(--surface-selected); }
@media (hover: hover) { .dm-chat-input .dm-field .dm-emoji-btn:hover { background: var(--surface-selected); } }
.dm-chat-input .dm-actions-col { display: flex; align-items: flex-end; gap: 6px; }
.dm-chat-input .dm-send-btn svg { width: 24px; height: 24px; }
.dm-chat-input .dm-send-btn[data-mode='send'] svg { transform: translateX(-1px) rotate(0deg); }
@@ -1439,14 +1468,16 @@
}
.dm-chat-input .dm-composer-bar :is(.dm-bar-icon, .dm-send-btn)[hidden] { display: none; }
.dm-chat-input .dm-composer-bar :is(.dm-bar-icon, .dm-send-btn) svg { width: 22px; height: 22px; transform: none; }
.dm-chat-input .dm-composer-bar :is(.dm-bar-icon, .dm-send-btn[data-mode='voice']):hover {
color: var(--text-primary);
background: var(--surface-selected);
text-shadow: none;
filter: none;
@media (hover: hover) {
.dm-chat-input .dm-composer-bar :is(.dm-bar-icon, .dm-send-btn[data-mode='voice']):hover {
color: var(--text-primary);
background: var(--surface-selected);
text-shadow: none;
filter: none;
}
}
.dm-chat-input .dm-composer-bar .dm-send-btn[data-mode='send'] { color: var(--on-accent); background: var(--accent); }
.dm-chat-input .dm-composer-bar .dm-send-btn[data-mode='send']:hover { color: var(--on-accent); background: var(--accent-pressed); filter: none; text-shadow: none; }
@media (hover: hover) { .dm-chat-input .dm-composer-bar .dm-send-btn[data-mode='send']:hover { color: var(--on-accent); background: var(--accent-pressed); filter: none; text-shadow: none; } }
.dm-chat-input .dm-composer-bar .dm-send-btn.is-recording { color: var(--text-primary); }
.dm-chat-input .dm-composer-bar .dm-send-btn.is-locked { background: color-mix(in srgb, var(--danger) 28%, transparent); }
.dm-chat-input .dm-composer-bar :is(.dm-bar-icon, .dm-send-btn):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
@@ -1514,7 +1545,7 @@
font-size: .9375rem;
}
.dm-date-jump__day.has-messages { opacity: 1; color: var(--text-primary); font-weight: 600; background: var(--accent-soft); cursor: pointer; }
.dm-date-jump__day.has-messages:hover { background: var(--surface-selected); }
@media (hover: hover) { .dm-date-jump__day.has-messages:hover { background: var(--surface-selected); } }
.dm-date-jump__day.has-messages:active { background: var(--accent); color: var(--on-accent); }
.dm-date-jump__day:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.dm-date-jump__day.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); }
+21 -16
View File
@@ -98,7 +98,8 @@
cursor: pointer;
}
.nav-list > .session-item + .session-item { border-top: 1px solid var(--border-subtle); }
.session-item:hover { background: var(--surface-selected); }
.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; }
@@ -255,14 +256,16 @@
transform: none;
}
.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);
@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 {
@@ -293,13 +296,15 @@
box-shadow: none;
}
.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);
@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 {
+3 -2
View File
@@ -306,7 +306,8 @@
button.dm-via-node { cursor: pointer; }
button.dm-via-node:hover { border-color: color-mix(in srgb, var(--rel-link) 50%, transparent); }
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; }
@@ -728,7 +729,7 @@ button.dm-via-node:hover { border-color: color-mix(in srgb, var(--rel-link) 50%,
-webkit-backdrop-filter: none;
transition: background-color var(--duration-fast) ease;
}
.dm-dialog-card:hover { background-color: color-mix(in srgb, var(--surface) 66%, transparent); }
@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); }
+4 -2
View File
@@ -165,8 +165,10 @@
color: var(--accent);
}
.net-mode-pill:hover {
background: var(--surface-raised);
@media (hover: hover) {
.net-mode-pill:hover {
background: var(--surface-raised);
}
}
.net-mode-pill:active {
+2 -1
View File
@@ -80,7 +80,8 @@
.notification-engagement-icon svg { width: 14px; height: 14px; }
.notification-card--clickable { cursor: pointer; }
.notification-card--clickable:hover { background: color-mix(in srgb, var(--surface-selected) 45%, transparent); }
.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; }
+19 -4
View File
@@ -244,9 +244,14 @@
}
.shine-local-demo-btn:hover {
.shine-local-demo-btn:active {
color: var(--text-primary);
}
@media (hover: hover) {
.shine-local-demo-btn:hover {
color: var(--text-primary);
}
}
@keyframes shine-logo-breathe {
@@ -522,9 +527,14 @@
}
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card:hover {
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card:active {
border-color: transparent;
}
@media (hover: hover) {
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .link-card:hover {
border-color: transparent;
}
}
.screen-content.preauth-flow:not(:has(> .auth-screen--welcome)) .registration-toggle,
@@ -691,10 +701,15 @@
}
.registration-finish-tx-link:hover,
.registration-finish-tx-link:focus-visible {
.registration-finish-tx-link:focus-visible,
.registration-finish-tx-link:active {
color: var(--text-primary);
}
@media (hover: hover) {
.registration-finish-tx-link:hover {
color: var(--text-primary);
}
}
.registration-toggle {
+11 -4
View File
@@ -57,7 +57,8 @@
.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:hover { background: var(--surface-selected); }
.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); }
@@ -90,9 +91,9 @@
.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:hover,
.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; }
@@ -115,7 +116,8 @@
.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:hover { background: var(--surface-selected); color: var(--danger); }
.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); }
@@ -162,9 +164,14 @@
font-weight: 500;
}
.user-profile-screen .user-profile-note-add:hover {
.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);
+41 -23
View File
@@ -32,12 +32,14 @@
filter 120ms ease;
}
.badge.profile-toggle-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
@media (hover: hover) {
.badge.profile-toggle-btn:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
}
.badge.profile-toggle-btn:active {
@@ -453,9 +455,14 @@
}
.profile-top-icon-btn:hover {
.profile-top-icon-btn:active {
border-color: var(--border-subtle);
}
@media (hover: hover) {
.profile-top-icon-btn:hover {
border-color: var(--border-subtle);
}
}
.profile-info-modal {
@@ -523,9 +530,14 @@
}
.profile-info-modal__close:hover {
.profile-info-modal__close:active {
background: color-mix(in srgb, var(--accent) 20%, transparent);
}
@media (hover: hover) {
.profile-info-modal__close:hover {
background: color-mix(in srgb, var(--accent) 20%, transparent);
}
}
.profile-info-modal__content {
@@ -862,8 +874,10 @@
filter 120ms ease;
}
.user-profile-metric:hover {
filter: brightness(1.12);
@media (hover: hover) {
.user-profile-metric:hover {
filter: brightness(1.12);
}
}
.user-profile-metric:active {
@@ -1007,13 +1021,15 @@
}
.user-profile-action-btn:hover {
opacity: 1;
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
@media (hover: hover) {
.user-profile-action-btn:hover {
opacity: 1;
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
}
.user-profile-action-btn:focus-visible {
@@ -1127,12 +1143,14 @@
filter 120ms ease;
}
.user-profile-add-option:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
@media (hover: hover) {
.user-profile-add-option:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
}
.user-profile-add-option:active {
+37 -17
View File
@@ -81,13 +81,15 @@
transition: transform 90ms ease, box-shadow 90ms ease, background-color 90ms ease, filter 120ms ease;
}
.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);
@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 {
@@ -112,12 +114,18 @@
}
.language-choice-option.is-selected,
.language-choice-option.is-selected:hover,
.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);
@@ -187,7 +195,7 @@
color: var(--danger);
box-shadow: none;
}
.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; }
@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; }
@@ -244,12 +252,14 @@
filter 120ms ease;
}
.language-segment:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
@media (hover: hover) {
.language-segment:hover {
color: var(--text-primary);
background: transparent;
border: 0;
box-shadow: none;
filter: brightness(1.12);
}
}
.language-segment:active {
@@ -375,9 +385,14 @@
border-radius: 50%;
}
.my-blockchain-entry__toggle:hover {
.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;
@@ -446,9 +461,14 @@
text-decoration: none;
}
.my-blockchain-entry__external:hover {
.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;
+13 -2
View File
@@ -89,10 +89,16 @@
border-top: 1px solid var(--border-subtle);
}
.net-zoom__btn:hover {
.net-zoom__btn:active {
color: var(--text-primary);
background: var(--surface-raised);
}
@media (hover: hover) {
.net-zoom__btn:hover {
color: var(--text-primary);
background: var(--surface-raised);
}
}
.net-zoom__btn:focus-visible {
outline: 2px solid var(--focus-ring);
@@ -225,9 +231,14 @@
height: 20px;
}
.net-card__action:hover {
.net-card__action:active {
background: var(--surface-selected);
}
@media (hover: hover) {
.net-card__action:hover {
background: var(--surface-selected);
}
}
.net-card__action:focus-visible {
outline: 2px solid var(--focus-ring);