SHA256
Добавить просмотр лайков сообщений канала
This commit is contained in:
@@ -683,3 +683,143 @@
|
||||
color: #ffb7c5;
|
||||
background: rgba(var(--shine-action-blue-rgb), 0.12);
|
||||
}
|
||||
|
||||
/* Channel message likes: compact popup + full user list modal. */
|
||||
.channel-like-popup-layer,
|
||||
.channel-likes-modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1600;
|
||||
background: rgba(5, 9, 18, 0.26);
|
||||
}
|
||||
|
||||
.channel-like-popup {
|
||||
position: fixed;
|
||||
z-index: 1601;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 18px;
|
||||
background: rgba(20, 27, 44, 0.96);
|
||||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
|
||||
backdrop-filter: blur(18px);
|
||||
-webkit-backdrop-filter: blur(18px);
|
||||
}
|
||||
|
||||
.channel-like-popup__title {
|
||||
margin-bottom: 10px;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.channel-like-popup__counts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.channel-like-count {
|
||||
min-width: 0;
|
||||
padding: 10px 6px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: inherit;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.channel-like-count b { font-size: 18px; }
|
||||
.channel-like-count span { font-size: 10px; opacity: .72; overflow-wrap: anywhere; }
|
||||
|
||||
.channel-like-popup__total {
|
||||
padding: 10px 2px 8px;
|
||||
font-size: 12px;
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
.channel-like-popup__action,
|
||||
.channel-like-popup__close {
|
||||
width: 100%;
|
||||
min-height: 40px;
|
||||
margin-top: 7px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.channel-like-popup__close { opacity: .72; }
|
||||
|
||||
.channel-likes-modal-overlay {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 14px;
|
||||
background: rgba(5, 9, 18, 0.58);
|
||||
}
|
||||
|
||||
.channel-likes-modal {
|
||||
width: min(560px, 100%);
|
||||
max-height: min(720px, calc(100vh - 28px));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 20px;
|
||||
background: rgba(18, 25, 42, 0.98);
|
||||
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
}
|
||||
|
||||
.channel-likes-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 14px 16px 8px;
|
||||
}
|
||||
|
||||
.channel-likes-modal__header h3 { margin: 0; }
|
||||
.channel-likes-modal__close { font-size: 24px; min-width: 38px; min-height: 38px; }
|
||||
|
||||
.channel-likes-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
padding: 8px 12px 10px;
|
||||
}
|
||||
|
||||
.channel-likes-tabs > button {
|
||||
min-width: 0;
|
||||
min-height: 40px;
|
||||
padding-inline: 8px;
|
||||
border-radius: 12px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.channel-likes-tabs > button.is-active {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.channel-likes-tabs span { margin-left: 3px; opacity: .68; }
|
||||
|
||||
.channel-likes-modal__status {
|
||||
min-height: 20px;
|
||||
padding: 0 16px 8px;
|
||||
font-size: 12px;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.channel-likes-modal__status.is-error { opacity: 1; }
|
||||
|
||||
.channel-likes-user-list {
|
||||
overflow-y: auto;
|
||||
padding: 0 10px 14px;
|
||||
}
|
||||
|
||||
.channel-like-user-row {
|
||||
width: 100%;
|
||||
margin: 4px 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user