Добавить рейтинг и типы материалов в каналах

This commit is contained in:
AidarKC
2026-08-10 01:16:10 +04:00
parent 3552e05e4c
commit ee185cf20a
11 changed files with 409 additions and 40 deletions
+65
View File
@@ -4018,6 +4018,32 @@ textarea.input {
color: #f5f8ff;
}
.channel-message-kind-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
padding: 3px 8px;
border-radius: 999px;
font-size: 12px;
line-height: 1.2;
}
.channel-message-kind-badge--rating {
color: #ffe8b0;
background: rgba(124, 92, 28, 0.36);
border: 1px solid rgba(255, 214, 117, 0.28);
}
.channels-screen .channel-message-card.is-rating,
.thread-node-card.is-rating {
border-color: rgba(255, 214, 117, 0.34);
background:
linear-gradient(180deg, rgba(112, 84, 22, 0.12), rgba(20, 25, 35, 0.58)),
rgba(20, 25, 35, 0.55);
box-shadow: 0 0 38px rgba(181, 136, 42, 0.14);
}
.channel-message-body {
color: #ffffff;
line-height: 1.5;
@@ -4923,9 +4949,48 @@ textarea.input {
}
.author-line {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 6px;
width: 100%;
}
.author-line-main {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
flex-wrap: wrap;
}
.channel-message-type-chip {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 4px 9px;
border-radius: 9px;
border: 1px solid rgba(224, 190, 117, 0.38);
background: linear-gradient(180deg, rgba(57, 74, 119, 0.34), rgba(18, 29, 54, 0.34));
color: #f1d99c;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.channel-message-tools {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
align-items: center;
}
.channel-message-type-select {
min-width: 0;
min-height: 46px;
}
.author-line-login {