SHA256
Добавлен умный поиск в каналах
This commit is contained in:
@@ -279,3 +279,20 @@
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.channels-list-body-fade, .channel-row { animation: none; transition: none; }
|
||||
}
|
||||
|
||||
/* Единый поиск каналов и людей */
|
||||
.shine-search-screen { width: min(100%, 640px); margin-inline: auto; gap: 14px; padding-top: var(--page-top-gap); }
|
||||
.shine-search-input { width: 100%; min-height: 48px; border-radius: 14px; font-size: 16px; }
|
||||
.shine-search-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface); }
|
||||
.shine-search-tab { flex: 1; padding: 10px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--text-secondary); cursor: pointer; }
|
||||
.shine-search-tab.is-active { background: var(--surface-selected); color: var(--text-primary); font-weight: 600; }
|
||||
.shine-search-tab:focus-visible, .shine-search-result:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
|
||||
.shine-search-status { margin: 0; min-height: 18px; color: var(--text-secondary); font-size: 13px; }
|
||||
.shine-search-results { display: grid; gap: 2px; padding-bottom: 30px; }
|
||||
.shine-search-section-heading { margin: 14px 0 4px; color: var(--text-secondary); font-size: 13px; font-weight: 600; }
|
||||
.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 .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; }
|
||||
|
||||
Reference in New Issue
Block a user