Доработать UI до MVP

This commit is contained in:
AidarKC
2026-10-10 13:23:26 +03:00
parent e14e3dfa21
commit d138bd9464
8 changed files with 114 additions and 4 deletions
+10
View File
@@ -418,3 +418,13 @@
}
}
.channel-about-tiles:empty { display: none; }
/* Guest-only public preview, inspired by compact channel web viewers. */
.shine-public-sidebar { position:fixed; right:24px; top:110px; width:260px; box-sizing:border-box; padding:22px; border:1px solid var(--border-color, #ddd); border-radius:16px; background:var(--surface, #fff); z-index:5; display:flex; flex-direction:column; gap:14px; box-shadow:0 8px 30px #0000000c; }
.shine-public-sidebar__identity { display:flex; align-items:center; gap:12px; overflow-wrap:anywhere; }
.shine-public-sidebar__face { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#ececf3; color:#34343e; flex-shrink:0; font-weight:700; }
.shine-public-sidebar h2 { margin:0; font-size:19px; overflow-wrap:anywhere; }
.shine-public-sidebar p { margin:0; }
.shine-public-sidebar .primary-btn { width:100%; }
@media (min-width:1050px) { .channels-screen--channel:has(.shine-public-sidebar) .channel-feed, .channels-screen--thread:has(.shine-public-sidebar) .thread-block { max-width:calc(100% - 310px); } }
@media (max-width:1049px) { .shine-public-sidebar { position:relative; inset:auto; order:-1; width:100%; margin-bottom:14px; } }