SHA256
Первая версия вложенных файлов работает
This commit is contained in:
@@ -1275,3 +1275,101 @@
|
||||
text-shadow: 0 0 5px rgba(92, 190, 255, 0.72), 0 0 12px rgba(72, 145, 255, 0.34);
|
||||
filter: drop-shadow(0 0 4px rgba(92, 190, 255, 0.46));
|
||||
}
|
||||
|
||||
/* ===== Зашифрованные вложения в личных сообщениях ===== */
|
||||
.dm-file-btn {
|
||||
position: absolute;
|
||||
right: 45px;
|
||||
bottom: 52px;
|
||||
z-index: 6;
|
||||
min-width: 43px;
|
||||
width: 43px;
|
||||
height: 43px;
|
||||
padding: 0;
|
||||
border-radius: 14px;
|
||||
font-size: 21px;
|
||||
line-height: 1;
|
||||
background: rgba(13, 28, 54, 0.94);
|
||||
border: 1px solid rgba(183, 207, 242, 0.28);
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,.08);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.dm-file-btn[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dm-file-btn:disabled {
|
||||
opacity: 0.7;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.dm-file-card {
|
||||
min-width: min(285px, 72vw);
|
||||
max-width: min(330px, 76vw);
|
||||
display: grid;
|
||||
grid-template-columns: 36px minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.dm-file-card__icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
.dm-file-card__copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.dm-file-card__name {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
font-weight: 680;
|
||||
}
|
||||
|
||||
.dm-file-card__meta {
|
||||
font-size: 11px;
|
||||
color: rgba(205, 219, 242, 0.67);
|
||||
}
|
||||
|
||||
.dm-file-card__download {
|
||||
min-height: 34px;
|
||||
padding: 0 10px;
|
||||
border-radius: 11px;
|
||||
font-size: 12px;
|
||||
font-weight: 650;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dm-file-card__download:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.dm-screen .dm-file-card {
|
||||
min-width: min(264px, 76vw);
|
||||
grid-template-columns: 32px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.dm-screen .dm-file-card__download {
|
||||
grid-column: 2;
|
||||
justify-self: start;
|
||||
}
|
||||
}
|
||||
|
||||
.dm-chat-input--multiline .dm-file-btn {
|
||||
right: 0;
|
||||
bottom: 104px;
|
||||
}
|
||||
|
||||
@@ -404,6 +404,7 @@ button.dm-via-node:hover { border-color: rgba(25, 229, 138, 0.5); }
|
||||
|
||||
|
||||
.dm-actions-col {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 46px);
|
||||
grid-template-rows: 46px;
|
||||
|
||||
@@ -270,3 +270,113 @@
|
||||
}
|
||||
|
||||
.language-choice-actions .shine-btn { height: 50px; }
|
||||
|
||||
/* ===== Скрытые расширенные настройки ===== */
|
||||
.settings-shine-logo-button {
|
||||
width: min(72vw, 280px);
|
||||
min-height: 118px;
|
||||
margin: 2px auto 10px;
|
||||
padding: 6px 12px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.settings-shine-logo-button:hover,
|
||||
.settings-shine-logo-button:focus,
|
||||
.settings-shine-logo-button:active {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.settings-shine-logo-button:focus-visible {
|
||||
outline: 2px solid rgba(167, 205, 255, 0.7);
|
||||
outline-offset: 4px;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.settings-shine-logo {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-height: 126px;
|
||||
object-fit: contain;
|
||||
pointer-events: none;
|
||||
filter: drop-shadow(0 12px 30px rgba(73, 126, 216, 0.16));
|
||||
}
|
||||
|
||||
.settings-feature-toggle-row {
|
||||
min-height: 76px;
|
||||
padding: 15px 16px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.settings-feature-toggle-copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.settings-feature-toggle-title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: rgba(246, 250, 255, 0.96);
|
||||
}
|
||||
|
||||
.settings-feature-toggle-hint {
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
color: rgba(194, 210, 236, 0.68);
|
||||
}
|
||||
|
||||
.settings-feature-switch {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 48px;
|
||||
height: 28px;
|
||||
margin: 0;
|
||||
padding: 2px;
|
||||
border: 1px solid rgba(189, 207, 238, 0.26);
|
||||
border-radius: 999px;
|
||||
background: rgba(8, 17, 34, 0.72);
|
||||
box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.28);
|
||||
cursor: pointer;
|
||||
transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
|
||||
}
|
||||
|
||||
.settings-feature-switch::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: rgba(235, 243, 255, 0.9);
|
||||
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
|
||||
transition: transform 150ms ease;
|
||||
}
|
||||
|
||||
.settings-feature-switch:checked {
|
||||
border-color: rgba(86, 174, 255, 0.6);
|
||||
background: rgba(38, 132, 237, 0.48);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 16px rgba(58, 148, 255, 0.12);
|
||||
}
|
||||
|
||||
.settings-feature-switch:checked::after {
|
||||
transform: translateX(20px);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.settings-feature-switch:focus-visible {
|
||||
outline: 2px solid rgba(190, 220, 255, 0.82);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user