SHA256
Добавить текстовые ссылки SHiNE
This commit is contained in:
@@ -652,3 +652,12 @@ body { overflow-x: hidden; }
|
||||
cursor: default;
|
||||
opacity: .55;
|
||||
}
|
||||
|
||||
/* Ссылки в текстах каналов, обсуждений и личных сообщений. */
|
||||
.shine-inline-link {
|
||||
color: var(--accent, #5684d8);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.shine-inline-link:focus-visible { outline: 2px solid var(--focus-ring, currentColor); outline-offset: 2px; }
|
||||
|
||||
@@ -42,3 +42,6 @@ button.thread-quote:hover { background: var(--surface); }
|
||||
.thread-replying__cancel { width: 32px; height: 32px; flex-shrink: 0; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; }
|
||||
.thread-replying__cancel svg { width: 20px; height: 20px; }
|
||||
.thread-composer__emoji { max-height: 260px; overflow: auto; }
|
||||
|
||||
/* Отдельная публикация в обсуждении использует карточку и действия из ленты. */
|
||||
.thread-block--focus > .channel-message-card { margin-bottom: 8px; }
|
||||
|
||||
@@ -418,13 +418,3 @@
|
||||
}
|
||||
}
|
||||
.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; } }
|
||||
|
||||
Reference in New Issue
Block a user