2026-05-31 13:02:58 +03:00
|
|
|
.download-view {
|
|
|
|
|
width: min(38rem, calc(100% - 2rem));
|
|
|
|
|
min-height: calc(100vh - 7.25rem);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 2.5rem 0;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-view-wide {
|
|
|
|
|
width: min(58rem, calc(100% - 2rem));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-card {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-emblem {
|
|
|
|
|
width: 4rem;
|
|
|
|
|
height: 4rem;
|
|
|
|
|
margin: 0 auto 1rem;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
color: var(--muted-foreground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-emblem svg {
|
|
|
|
|
width: 1.75rem;
|
|
|
|
|
height: 1.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-row {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.download-item {
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
text-align: left;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.view-toolbar {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.button.is-active {
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
color: var(--primary-foreground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser {
|
|
|
|
|
transition: opacity 160ms ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-card {
|
|
|
|
|
position: relative;
|
2026-06-02 11:30:33 +03:00
|
|
|
padding-bottom: 2.6rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-reaction-dock {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0.65rem;
|
|
|
|
|
bottom: 0.55rem;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
max-width: calc(100% - 1.3rem);
|
|
|
|
|
gap: 0.35rem;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-reactions {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-pill {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.2rem;
|
|
|
|
|
min-height: 1.6rem;
|
|
|
|
|
padding: 0.16rem 0.38rem;
|
|
|
|
|
border: 1px solid color-mix(in srgb, var(--border) 84%, var(--primary));
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: color-mix(in srgb, var(--card) 88%, #000);
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-pill img {
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-button {
|
|
|
|
|
width: 2.1rem;
|
|
|
|
|
height: 2.1rem;
|
|
|
|
|
display: inline-grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: color-mix(in srgb, var(--card) 92%, #000);
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(0.3rem) scale(0.94);
|
|
|
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
|
|
|
|
|
transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease, background 150ms ease;
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-button svg {
|
|
|
|
|
width: 1.15rem;
|
|
|
|
|
height: 1.15rem;
|
|
|
|
|
fill: none;
|
|
|
|
|
stroke: currentColor;
|
|
|
|
|
stroke-width: 1.9;
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-card:hover .reaction-button,
|
|
|
|
|
.file-card:focus-within .reaction-button,
|
|
|
|
|
.reaction-button:focus-visible {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0) scale(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-button:hover,
|
|
|
|
|
.reaction-button:focus-visible {
|
|
|
|
|
border-color: var(--primary);
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
color: var(--primary-foreground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 70;
|
|
|
|
|
width: min(21rem, calc(100vw - 1rem));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.reaction-picker-open,
|
|
|
|
|
html.reaction-picker-open body {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
touch-action: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker[hidden] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker.is-mobile {
|
|
|
|
|
inset: 0;
|
|
|
|
|
width: auto;
|
|
|
|
|
height: 100dvh;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: end center;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 0.75rem 0.75rem max(1.5rem, env(safe-area-inset-bottom));
|
|
|
|
|
background: rgba(0, 0, 0, 0.54);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker-panel {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
background: color-mix(in srgb, var(--card) 97%, #000);
|
|
|
|
|
box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker.is-mobile .reaction-picker-panel {
|
|
|
|
|
width: min(100%, 34rem);
|
|
|
|
|
height: 75dvh;
|
|
|
|
|
max-height: 75dvh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker-head {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.7rem;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker-close {
|
|
|
|
|
min-height: 2rem;
|
|
|
|
|
padding: 0.3rem 0.55rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker-tabs {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.35rem;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
padding: 0.55rem 0.7rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-tab {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
min-height: 1.8rem;
|
|
|
|
|
padding: 0.25rem 0.55rem;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
color: var(--muted-foreground);
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-tab.is-active {
|
|
|
|
|
border-color: var(--primary);
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
color: var(--primary-foreground);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-search {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 0.55rem 0.7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-search input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 2.15rem;
|
|
|
|
|
padding: 0.35rem 0.55rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-grid-wrap {
|
|
|
|
|
max-height: 18rem;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
padding: 0 0.7rem 0.7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker.is-mobile .reaction-grid-wrap {
|
|
|
|
|
max-height: none;
|
|
|
|
|
flex: 1;
|
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-grid {
|
|
|
|
|
display: none;
|
|
|
|
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
|
|
|
gap: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-grid.is-active {
|
|
|
|
|
display: grid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-picker.is-mobile .reaction-grid {
|
|
|
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-emoji {
|
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
padding: 0.18rem;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
border-radius: calc(var(--radius) - 0.25rem);
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-emoji:hover,
|
|
|
|
|
.reaction-emoji:focus-visible {
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-emoji[hidden] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reaction-emoji img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
object-fit: contain;
|
2026-05-31 13:02:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.thumb-link {
|
|
|
|
|
display: block;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex: 0 0 4.75rem;
|
|
|
|
|
width: 4.75rem;
|
|
|
|
|
aspect-ratio: 16 / 10;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: calc(var(--radius) - 0.125rem);
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.thumb-link img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-main {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
flex: 1;
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-actions {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-action [hidden] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs {
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs .file-card {
|
|
|
|
|
display: grid;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
align-content: start;
|
|
|
|
|
gap: 0.7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs .file-main {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs .thumb-link {
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex-basis: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs .button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.is-thumbs .file-actions {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-browser.images-only .file-card:not([data-kind="image"]) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu {
|
|
|
|
|
position: fixed;
|
|
|
|
|
z-index: 30;
|
|
|
|
|
width: 10.75rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: calc(var(--radius) - 0.125rem);
|
|
|
|
|
background: color-mix(in srgb, var(--card) 96%, #000);
|
|
|
|
|
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
|
|
|
|
|
padding: 0.4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu[hidden] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 2.05rem;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
border-radius: calc(var(--radius) - 0.25rem);
|
|
|
|
|
padding: 0.42rem 0.5rem;
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu button:hover,
|
|
|
|
|
.context-menu button:focus-visible,
|
|
|
|
|
.context-menu button.is-copied {
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu-top {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.1rem 0.1rem 0.2rem 0.45rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu-top small {
|
|
|
|
|
color: color-mix(in srgb, var(--muted-foreground) 74%, transparent);
|
|
|
|
|
font-size: 0.72rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu-icons {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu-icons button {
|
|
|
|
|
width: 1.9rem;
|
|
|
|
|
min-height: 1.9rem;
|
|
|
|
|
padding: 0;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.context-menu hr {
|
|
|
|
|
height: 1px;
|
|
|
|
|
margin: 0.35rem 0.2rem;
|
|
|
|
|
border: 0;
|
|
|
|
|
background: var(--border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sr-only {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.unlock-form {
|
|
|
|
|
margin: 1rem auto 0;
|
|
|
|
|
display: grid;
|
|
|
|
|
max-width: 22rem;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.manage-details {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin: 1rem 0 0;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.manage-details div {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
padding: 0.45rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.manage-details dt,
|
|
|
|
|
.manage-details dd {
|
|
|
|
|
margin: 0;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.manage-details dt {
|
|
|
|
|
color: var(--muted-foreground);
|
|
|
|
|
font-size: 0.78rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.manage-details dd {
|
|
|
|
|
color: var(--foreground);
|
|
|
|
|
font-size: 0.84rem;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-stage {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius);
|
|
|
|
|
background: var(--background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-stage img,
|
|
|
|
|
.preview-stage video {
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-height: 55vh;
|
|
|
|
|
display: block;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.preview-stage audio {
|
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
|
margin: 1rem;
|
|
|
|
|
}
|