Добавить состояние чтения каналов

This commit is contained in:
AidarKC
2026-09-09 18:59:54 +03:00
parent 2d059e9ff5
commit 8e86872aa7
29 changed files with 2538 additions and 231 deletions
+3
View File
@@ -696,6 +696,9 @@
.channel-like-popup {
position: fixed;
z-index: 1601;
left: 50%;
top: clamp(72px, 18vh, 180px);
transform: translateX(-50%);
padding: 14px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 18px;
+162
View File
@@ -1805,3 +1805,165 @@
.profiles-actions { margin-top: 4px; }
.profiles-close-all { margin-top: 4px; }
/* ===== 2026-09-09: profile layout — identity, social row, about card ===== */
.user-profile-identity {
width: min(88%, 340px);
margin: 12px auto 0;
text-align: center;
}
.user-profile-identity .user-profile-full-name {
width: 100%;
margin: 0;
color: rgba(244, 248, 255, 0.96);
font-size: clamp(17px, 4.8vw, 20px);
font-weight: 700;
line-height: 1.2;
}
.user-profile-login {
margin-top: 4px;
color: rgba(199, 211, 229, 0.62);
font-size: 12px;
font-weight: 500;
line-height: 1.2;
overflow-wrap: anywhere;
}
.user-profile-social-metrics {
width: min(92%, 360px);
margin: 22px auto 0;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
align-items: start;
justify-items: center;
gap: 4px;
}
.user-profile-social-metrics .user-profile-metric {
width: 100%;
min-height: 58px;
gap: 5px;
justify-content: flex-start;
}
.user-profile-social-metrics .user-profile-metric-circle,
.user-profile-metric-value-combined {
width: auto;
min-width: 0;
height: auto;
min-height: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
color: rgba(240, 246, 255, 0.95);
font-size: clamp(17px, 4.7vw, 20px);
font-weight: 800;
line-height: 1.1;
white-space: nowrap;
}
.user-profile-social-metrics .user-profile-metric-label {
position: static;
width: 100%;
min-height: 0;
transform: none;
color: rgba(203, 216, 236, 0.72);
font-size: 11px;
line-height: 1.15;
text-align: center;
}
.user-profile-about-card {
width: min(88%, 344px);
margin: 20px auto 0;
}
.user-profile-about-title {
margin: 0 0 7px 3px;
color: rgba(224, 233, 247, 0.82);
font-size: 12px;
font-weight: 650;
line-height: 1.2;
}
.user-profile-about-field {
min-height: 68px;
padding: 13px 14px;
border: 1px solid rgba(210, 220, 234, 0.14);
border-radius: 14px;
background: rgba(162, 172, 186, 0.16);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
color: rgba(236, 242, 251, 0.9);
font-size: 13px;
line-height: 1.5;
text-align: left;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.user-profile-about-field.is-empty {
color: rgba(199, 210, 226, 0.46);
}
.user-profile-detail-links.user-profile-detail-links--below-about {
width: min(88%, 344px);
margin: 10px auto 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: center;
gap: 10px;
}
.user-profile-detail-links--below-about > :first-child {
justify-self: start;
}
.user-profile-detail-links--below-about > :last-child {
justify-self: end;
}
.user-profile-detail-links--below-about button {
width: auto;
min-width: 0;
padding-left: 6px;
padding-right: 6px;
}
.profile-list-tabs {
width: min(92%, 360px);
margin: 4px auto 10px;
padding: 3px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 3px;
border: 1px solid rgba(205, 221, 244, 0.12);
border-radius: 14px;
background: rgba(14, 25, 43, 0.24);
}
.profile-list-tab {
min-height: 36px;
padding: 7px 10px;
border: 0;
border-radius: 11px;
background: transparent;
color: rgba(207, 219, 237, 0.72);
font: inherit;
font-size: 12px;
font-weight: 650;
cursor: pointer;
}
.profile-list-tab.is-active {
background: rgba(156, 177, 204, 0.18);
color: rgba(246, 249, 255, 0.97);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
@media (max-height: 700px) {
.user-profile-identity { margin-top: 8px; }
.user-profile-social-metrics { margin-top: 16px; }
.user-profile-about-card { margin-top: 15px; }
}