feat: photo/video capture-date pipeline + premium UI/UX overhaul
Backend — Photos timeline now groups by real capture date instead of upload time. New MediaMetadataService (FileLifecycleHook) extracts EXIF DateTimeOriginal from images and container creation_time from videos (mov/mp4/mkv) via nom-exif, timezone-correct (OffsetTimeOriginal), persisting captured_at so the existing media_sort_date trigger takes over. Adds POST /admin/photos/metadata/reextract to backfill existing media. Falls back to upload date when no embedded date exists. Frontend — premium grid cards: combined metadata line (relative date · size, owner avatar when shared), custom selection checkbox with a clear checked state, uniform full-width 4:3 thumbnail tiles independent of filename length, centered file-type icons, and a hit-test fix so checkbox/star/kebab clicks reach the controls (the decorative thumbnail no longer captures pointer events). Notification messages internationalised across all 16 locales. Broader polish: design tokens, a11y/focus-visible states, brand + PWA assets. Chore — bump semver-compatible dependencies (cargo upgrade); add nom-exif 3.6.1. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,146 @@
|
||||
/* ============================================================
|
||||
* Accessibility baseline — keyboard focus.
|
||||
*
|
||||
* Pointer / programmatic focus stays ring-free (no "ring on every
|
||||
* click" noise); KEYBOARD focus (:focus-visible) always gets a clear
|
||||
* accent ring. Every interactive element inherits this automatically,
|
||||
* so components only need their own :focus-visible rule when they want
|
||||
* a custom ring — and must never strip it for keyboard users.
|
||||
*
|
||||
* The outline follows the element's border-radius in modern browsers,
|
||||
* so rounded controls get a rounded ring for free.
|
||||
* ============================================================ */
|
||||
|
||||
:focus:not(:focus-visible) {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--color-focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Skip link — visually hidden until focused, then slides in at top-left.
|
||||
Lets keyboard users jump straight to <main id="main">. */
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
top: var(--space-2);
|
||||
left: var(--space-2);
|
||||
z-index: var(--z-max);
|
||||
padding: var(--space-2) var(--space-4);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-lg);
|
||||
transform: translateY(-150%);
|
||||
transition: transform var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ── prefers-reduced-motion ──────────────────────────────────
|
||||
Vestibular safety: near-instant transitions/animations and no
|
||||
smooth scroll for users who ask the OS to reduce motion. */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── prefers-contrast: more ──────────────────────────────────
|
||||
Collapse the muted text tiers up to the stronger secondary tier and
|
||||
thicken the focus ring. The high-contrast border ramp (raw colour) lives
|
||||
in base/variables.css — the token layer — so this file stays hex-free. */
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
--color-text-muted: var(--color-text-secondary);
|
||||
--color-text-subtle: var(--color-text-secondary);
|
||||
--color-text-faint: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline-width: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── forced-colors (Windows High Contrast) ───────────────────
|
||||
Custom colors are overridden by the OS; ensure the keyboard
|
||||
focus ring uses a real system colour. */
|
||||
@media (forced-colors: active) {
|
||||
:focus-visible {
|
||||
outline-color: Highlight;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Global error-boundary toast (js/core/errorBoundary.js) ─── */
|
||||
.error-toast {
|
||||
position: fixed;
|
||||
bottom: var(--space-5);
|
||||
left: 50%;
|
||||
z-index: var(--z-toast);
|
||||
max-width: min(90vw, 420px);
|
||||
padding: var(--space-3) var(--space-4);
|
||||
background: var(--color-error-bg);
|
||||
color: var(--color-error-text);
|
||||
border: 1px solid var(--color-badge-error-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
font-size: var(--text-sm);
|
||||
transform: translate(-50%, calc(100% + var(--space-5)));
|
||||
transition: transform var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.error-toast.is-visible {
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
|
||||
/* ── Print: drop the app chrome, show clean content ────────── */
|
||||
@media print {
|
||||
.sidebar,
|
||||
.sidebar-overlay,
|
||||
.top-bar,
|
||||
.actions-bar,
|
||||
.page-sticky-header,
|
||||
.cmdk-overlay,
|
||||
.skip-link,
|
||||
.error-toast {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.content-area,
|
||||
.main-content {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
* {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Touch targets ───────────────────────────────────────────
|
||||
≥44px hit areas for the key controls on touch/phone widths. */
|
||||
@media (max-width: 768px) {
|
||||
.sidebar-toggle,
|
||||
.search-toggle-btn,
|
||||
.search-back-btn,
|
||||
.notif-bell-btn,
|
||||
.user-avatar-btn {
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.files-list-view .file-item {
|
||||
min-height: 48px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/* ============================================================
|
||||
* Canonical keyframes — single source for shared animations.
|
||||
*
|
||||
* Loaded early via main.css so every component and view reuses
|
||||
* these by name instead of redefining them. This file replaced
|
||||
* 6 duplicate `@keyframes spin` definitions (spinner / admin /
|
||||
* music / photos / profile / share-public).
|
||||
*
|
||||
* NOTE: `oxi-spin` (icons.css) and `smdSpin` (shareModal.css) are
|
||||
* still defined locally — folding them in needs touching their
|
||||
* `animation-name` consumers, deferred to Fase 1.
|
||||
* ============================================================ */
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -4,18 +4,18 @@
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 500;
|
||||
margin-bottom: var(--space-2);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.form-group textarea {
|
||||
@@ -24,11 +24,11 @@
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 8px 16px;
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
/* Honor the user's browser font-size / zoom preference (rem-relative). */
|
||||
html {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
font-family: var(--font-sans);
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
height: 100vh; /* fallback for browsers without dvh */
|
||||
height: 100dvh;
|
||||
font-size: var(--text-base);
|
||||
line-height: var(--leading-normal);
|
||||
background-color: var(--color-bg-page);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -24,3 +32,26 @@ html[dir="rtl"] .fa-sign-out-alt {
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Brand-tinted text selection + caret. */
|
||||
::selection {
|
||||
background: var(--color-accent-ring-strong);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
:root {
|
||||
caret-color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Visually hidden but exposed to assistive tech (a11y-only labels/headings). */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
/* ============================================================
|
||||
* Typography utilities — Fase 0 foundations.
|
||||
*
|
||||
* Semantic heading roles DECOUPLED from element level, so any
|
||||
* h1–h6 can carry the correct visual weight while the document
|
||||
* keeps a correct, accessible heading order. All values route
|
||||
* through the type/leading/weight/tracking tokens in variables.css.
|
||||
*
|
||||
* Views are migrated onto these classes in Fase 1 (replacing the
|
||||
* per-page raw font-size/weight headings the audit flagged).
|
||||
* ============================================================ */
|
||||
|
||||
/* Page title — one per page (the h1 role). */
|
||||
.heading-page {
|
||||
font-size: var(--text-2xl);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
/* Section heading. */
|
||||
.heading-section {
|
||||
font-size: var(--text-xl);
|
||||
line-height: var(--leading-snug);
|
||||
font-weight: var(--weight-semibold);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
/* Card / panel heading. */
|
||||
.heading-card {
|
||||
font-size: var(--text-md);
|
||||
line-height: var(--leading-snug);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
/* Eyebrow / overline label (uppercase caps with tracking). */
|
||||
.heading-eyebrow {
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-normal);
|
||||
font-weight: var(--weight-semibold);
|
||||
letter-spacing: var(--tracking-widest);
|
||||
text-transform: uppercase;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
/* Constrain running text to a comfortable measure (~65ch). */
|
||||
.prose {
|
||||
max-width: var(--measure-prose);
|
||||
}
|
||||
|
||||
/* Headings wrap with balanced line lengths (no single orphan word). */
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
.heading-page,
|
||||
.heading-section,
|
||||
.heading-card,
|
||||
.page-title {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
/* Running prose wraps "pretty" (avoids orphans and short last lines). */
|
||||
.prose,
|
||||
.empty-state p,
|
||||
.about-description,
|
||||
.auth-subtitle,
|
||||
.auth-hint,
|
||||
.language-subtitle {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
/* Tabular figures for numeric UI so digits align and don't jitter as they
|
||||
change (storage readouts, badges, stat counters). */
|
||||
.storage-info,
|
||||
.user-menu-storage-text,
|
||||
.notif-badge,
|
||||
.stat-value {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
+315
-95
@@ -22,7 +22,177 @@
|
||||
/* Default: follow the OS preference. Overridden by html[data-color-scheme]. */
|
||||
color-scheme: light dark;
|
||||
|
||||
--sidebar-width: 250px;
|
||||
/* ════════════════════════════════════════════════════════════════
|
||||
* NON-COLOR DESIGN SCALES (Fase 0 — fundamentos)
|
||||
*
|
||||
* Single source of truth for spacing, radius, typography, z-index,
|
||||
* motion, elevation, breakpoints and density. Components are migrated
|
||||
* onto these in Fase 1; until then raw px still coexist. Do NOT add
|
||||
* raw px for spacing/radius/font-size in new code — consume a token.
|
||||
* ════════════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ── Layout shell ──────────────────────────────────────────── */
|
||||
/* Fluid sidebar: tracks viewport but clamped to a sane band. */
|
||||
--sidebar-width: clamp(220px, 18vw, 280px);
|
||||
--sidebar-width-min: 200px; /* resizable rail floor (Fase 1) */
|
||||
--sidebar-width-max: 320px; /* resizable rail ceiling (Fase 1) */
|
||||
--sidebar-width-collapsed: 72px; /* icon-rail mode (Fase 1) */
|
||||
--gutter: var(--space-6); /* shared topbar/content horizontal gutter (drops to 16px on phones) */
|
||||
--grid-card-min: 200px; /* min width of a grid card (tightens on phones) */
|
||||
|
||||
/* ── Spacing — 4px grid ────────────────────────────────────── */
|
||||
/* Direct steps are multiples of 4; half-steps (0-5/1-5/2-5/3-5)
|
||||
* cover the high-frequency 2/6/10/14px raw values found in audit. */
|
||||
--space-0: 0;
|
||||
--space-px: 1px;
|
||||
--space-0-5: 2px;
|
||||
--space-1: 4px;
|
||||
--space-1-5: 6px;
|
||||
--space-2: 8px;
|
||||
--space-2-5: 10px;
|
||||
--space-3: 12px;
|
||||
--space-3-5: 14px;
|
||||
--space-4: 16px;
|
||||
--space-5: 20px;
|
||||
--space-6: 24px;
|
||||
--space-7: 28px;
|
||||
--space-8: 32px;
|
||||
--space-9: 36px;
|
||||
--space-10: 40px;
|
||||
--space-11: 44px;
|
||||
--space-12: 48px;
|
||||
--space-14: 56px;
|
||||
--space-16: 64px;
|
||||
--space-20: 80px;
|
||||
--space-24: 96px;
|
||||
|
||||
/* ── Radius ─────────────────────────────────────────────────── */
|
||||
--radius-none: 0;
|
||||
--radius-xs: 2px;
|
||||
--radius-sm: 4px;
|
||||
--radius-md: 6px;
|
||||
--radius-lg: 8px;
|
||||
--radius-xl: 10px;
|
||||
--radius-2xl: 12px;
|
||||
--radius-3xl: 16px;
|
||||
--radius-4xl: 20px;
|
||||
--radius-full: 9999px;
|
||||
/* Semantic default — resolves the legacy `var(--radius, 12px)` fallbacks
|
||||
* in share-public.css / device-verify.css (token was never defined). */
|
||||
--radius: var(--radius-2xl);
|
||||
|
||||
/* ── Typography ────────────────────────────────────────────── */
|
||||
/* Font families (single source — reset.css `*` consumes --font-sans). */
|
||||
--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
||||
--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
||||
|
||||
/* Modular size scale in rem (root = 16px) so it honors user zoom.
|
||||
* --text-base (14px) is the app body default. */
|
||||
--text-2xs: 0.6875rem; /* 11px */
|
||||
--text-xs: 0.75rem; /* 12px */
|
||||
--text-sm: 0.8125rem; /* 13px */
|
||||
--text-base: 0.875rem; /* 14px */
|
||||
--text-md: 1rem; /* 16px */
|
||||
--text-lg: 1.125rem; /* 18px */
|
||||
--text-xl: 1.25rem; /* 20px */
|
||||
--text-2xl: 1.5rem; /* 24px */
|
||||
--text-3xl: 1.75rem; /* 28px */
|
||||
--text-4xl: 2rem; /* 32px */
|
||||
--text-5xl: 2.5rem; /* 40px */
|
||||
--text-6xl: 3rem; /* 48px */
|
||||
|
||||
/* Line-heights (leading) — unitless ratios. */
|
||||
--leading-none: 1;
|
||||
--leading-tight: 1.25;
|
||||
--leading-snug: 1.375;
|
||||
--leading-normal: 1.5;
|
||||
--leading-relaxed: 1.625;
|
||||
--leading-loose: 1.8;
|
||||
|
||||
/* Font weights — numeric only (no bold/normal keywords). */
|
||||
--weight-normal: 400;
|
||||
--weight-medium: 500;
|
||||
--weight-semibold: 600;
|
||||
--weight-bold: 700;
|
||||
--weight-extrabold: 800;
|
||||
|
||||
/* Letter-spacing (tracking) — em-relative. */
|
||||
--tracking-tighter: -0.02em;
|
||||
--tracking-tight: -0.01em;
|
||||
--tracking-normal: 0;
|
||||
--tracking-wide: 0.02em;
|
||||
--tracking-wider: 0.04em;
|
||||
--tracking-widest: 0.08em;
|
||||
|
||||
/* Prose measure — comfortable line length for running text. */
|
||||
--measure-prose: 65ch;
|
||||
|
||||
/* Icon glyph sizing — separate axis from the text scale. */
|
||||
--icon-xs: 12px;
|
||||
--icon-sm: 14px;
|
||||
--icon-md: 16px;
|
||||
--icon-lg: 20px;
|
||||
--icon-xl: 24px;
|
||||
|
||||
/* ── Z-index — semantic stacking layers ────────────────────── */
|
||||
/* Gaps left between layers so new surfaces slot in without renumber. */
|
||||
--z-below: -1;
|
||||
--z-base: 0;
|
||||
--z-raised: 10;
|
||||
--z-sticky: 100;
|
||||
--z-dropdown: 1000;
|
||||
--z-overlay: 2000;
|
||||
--z-drawer: 2500;
|
||||
--z-modal: 3000;
|
||||
--z-popover: 3500;
|
||||
--z-toast: 4000;
|
||||
--z-tooltip: 5000;
|
||||
--z-notification: 6000;
|
||||
--z-max: 9999;
|
||||
|
||||
/* ── Motion — durations + easing curves ────────────────────── */
|
||||
--motion-instant: 0ms;
|
||||
--motion-fast: 120ms;
|
||||
--motion-base: 160ms;
|
||||
--motion-moderate: 200ms;
|
||||
--motion-slow: 300ms;
|
||||
--motion-slower: 500ms;
|
||||
--motion-spinner: 1s;
|
||||
--spin-duration: var(--motion-spinner);
|
||||
/* Decelerate is the default for entrances / positive feedback. */
|
||||
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
||||
--ease-emphasized: cubic-bezier(0.3, 0, 0, 1);
|
||||
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
||||
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
||||
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
/* ── Elevation — composed box-shadow recipes ───────────────── */
|
||||
/* Full recipes (not bare alphas) layered on the --color-shadow-*
|
||||
* alpha tokens below, so they adapt to light/dark automatically. */
|
||||
--shadow-xs: 0 1px 2px var(--color-shadow-xs);
|
||||
--shadow-sm: 0 1px 3px var(--color-shadow-sm), 0 1px 2px var(--color-shadow-xs);
|
||||
--shadow-md: 0 4px 6px var(--color-shadow-sm), 0 2px 4px var(--color-shadow-xs);
|
||||
--shadow-lg: 0 10px 15px var(--color-shadow-md), 0 4px 6px var(--color-shadow-sm);
|
||||
--shadow-xl: 0 20px 25px var(--color-shadow-md), 0 8px 10px var(--color-shadow-sm);
|
||||
--shadow-2xl: 0 25px 50px var(--color-shadow-lg);
|
||||
|
||||
/* ── Breakpoints (reference tokens) ────────────────────────── */
|
||||
/* NOTE: @media cannot consume custom properties. These are the canonical
|
||||
* values for JS (matchMedia) and documentation; consuming them in @media
|
||||
* needs @custom-media via a postcss build step — pending dep approval. */
|
||||
--bp-xs: 480px;
|
||||
--bp-sm: 640px;
|
||||
--bp-md: 768px;
|
||||
--bp-lg: 1024px;
|
||||
--bp-xl: 1280px;
|
||||
|
||||
/* ── Density — comfortable (default) vs compact ────────────── */
|
||||
/* Gated by html[data-density="compact"] below. Consumed by list rows
|
||||
* and controls in Fase 1. */
|
||||
--density-row-py: var(--space-3); /* 12px */
|
||||
--density-row-px: var(--space-3-5); /* 14px */
|
||||
--density-gap: var(--space-3);
|
||||
--density-control-h: 40px;
|
||||
|
||||
/* Backgrounds */
|
||||
--color-bg-page: light-dark(#f5f7fa, #0f172a);
|
||||
@@ -44,25 +214,41 @@
|
||||
--color-border-xfaint: light-dark(#f0f0f0, #1e293b);
|
||||
--color-border-ddd: light-dark(#ddd, #334155);
|
||||
|
||||
/* Text */
|
||||
--color-text: light-dark(#2d3748, #e2e8f0);
|
||||
--color-text-heading: light-dark(#1e293b, #f1f5f9);
|
||||
--color-text-muted: light-dark(#718096, #94a3b8);
|
||||
--color-text-faint: light-dark(#94a3b8, #7a8a9f);
|
||||
--color-text-secondary: light-dark(#4a5568, #cbd5e1);
|
||||
--color-text-subtle: light-dark(#64748b, #94a3b8);
|
||||
--color-text-dark: light-dark(#334155, #cbd5e1);
|
||||
--color-text-placeholder: light-dark(#a0aec0, #64748b);
|
||||
--color-text-gray: light-dark(#6c757d, #94a3b8);
|
||||
--color-text-medium: light-dark(#666, #94a3b8);
|
||||
--color-text-faint2: light-dark(#888, #64748b);
|
||||
--color-text-light: light-dark(#999, #64748b);
|
||||
--color-text-black: light-dark(#333, #e2e8f0);
|
||||
--color-text-dim: light-dark(#555, #94a3b8);
|
||||
/* Text — collapsed to a few AA-passing tiers; every legacy name is kept as
|
||||
* an alias so no consumer breaks (migration to the canonical names → Fase 1).
|
||||
* Each tier clears WCAG AA 4.5:1 on #fff AND the page bg, light and dark. The
|
||||
* muted/faint/placeholder tiers used to FAIL (2.3–4.0:1) and are now darkened. */
|
||||
--color-text: light-dark(#2d3748, #e2e8f0); /* primary body */
|
||||
--color-text-heading: light-dark(#1e293b, #f1f5f9); /* headings */
|
||||
--color-text-secondary: light-dark(#475569, #cbd5e1); /* strong secondary */
|
||||
/* muted/subtle/faint converge: AA 4.5:1 on the grayish page/muted bgs AND
|
||||
* on the lighter dark hover bg leaves only a narrow passing window. */
|
||||
--color-text-muted: light-dark(#5e6a78, #9fadbe); /* muted */
|
||||
--color-text-subtle: light-dark(#5e6a78, #9fadbe); /* subtle */
|
||||
--color-text-faint: light-dark(#5e6a78, #9fadbe); /* faintest still-AA */
|
||||
/* legacy aliases → one of the tiers above */
|
||||
--color-text-dark: var(--color-text-secondary);
|
||||
--color-text-dim: var(--color-text-secondary);
|
||||
--color-text-black: var(--color-text);
|
||||
--color-text-gray: var(--color-text-muted);
|
||||
--color-text-medium: var(--color-text-muted);
|
||||
--color-text-faint2: var(--color-text-faint);
|
||||
--color-text-light: var(--color-text-faint);
|
||||
--color-text-placeholder: var(--color-text-faint);
|
||||
|
||||
/* Accent (orange) — mostly mode-agnostic. */
|
||||
--color-accent: #ff5e3a;
|
||||
--color-accent-hover: light-dark(#e04520, #ff7a5c);
|
||||
/* AA-compliant accent for TEXT/LINKS: bare #ff5e3a only reaches 3.04:1 on
|
||||
* white. Link/toggle-link consumers migrate onto this in Fase 2. */
|
||||
--color-accent-text: light-dark(#cc3a16, #ff8a5c);
|
||||
/* Solid foreground on accent fills (replaces reusing --color-danger-text). */
|
||||
--color-on-accent: #ffffff;
|
||||
/* Canonical keyboard focus-ring color (applied globally in Fase 2). */
|
||||
--color-focus-ring: #ff5e3a;
|
||||
/* Canonical logo gradient — unifies the divergent sidebar (#ff5e3a→#ff8a5c)
|
||||
* vs accent (#ff5e3a→#ff2d55) logo fills. Consumers migrate in Fase 1. */
|
||||
--color-logo-gradient: linear-gradient(135deg, #ff5e3a 0%, #ff8a5c 100%);
|
||||
--color-accent-gradient: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%);
|
||||
--color-accent-shadow: rgba(255, 94, 58, 0.3);
|
||||
--color-accent-ring: light-dark(rgba(255, 94, 58, 0.1), rgba(255, 94, 58, 0.15));
|
||||
@@ -75,69 +261,97 @@
|
||||
--color-accent-ring-strong: rgba(255, 94, 58, 0.2);
|
||||
--color-accent-ring-xl: rgba(255, 94, 58, 0.4);
|
||||
--color-accent-ring-xs: rgba(255, 94, 58, 0.05);
|
||||
--color-accent-glow: rgba(255, 94, 58, 0.2);
|
||||
--color-accent-glow-soft: rgba(255, 94, 58, 0.1);
|
||||
|
||||
/* Feedback */
|
||||
/* Ambient brand backdrop — shared by the external surfaces (login / share /
|
||||
device). A centred "spotlight" (surface is brighter than page in BOTH
|
||||
light and dark) seats the card in a pool of light; four warm brand blobs
|
||||
fill the field so it reads as a deliberate, dimensional canvas rather than
|
||||
flat near-white. Resolves through light-dark() automatically. */
|
||||
--brand-ambient:
|
||||
radial-gradient(55% 50% at 8% 4%, var(--color-accent-glow), transparent 60%),
|
||||
radial-gradient(55% 55% at 95% 98%, var(--color-accent-glow), transparent 58%),
|
||||
radial-gradient(48% 48% at 88% 12%, var(--color-accent-glow-soft), transparent 55%),
|
||||
radial-gradient(50% 45% at 6% 92%, var(--color-accent-glow-soft), transparent 55%),
|
||||
radial-gradient(78% 64% at 50% 33%, var(--color-bg-surface), transparent 70%),
|
||||
var(--color-bg-page);
|
||||
/* Desaturated fractal-noise grain — kills gradient banding and adds a
|
||||
tactile, "expensive" film. No colour inside the data-URI (token-safe);
|
||||
applied via a low-opacity overlay pseudo-element. */
|
||||
--brand-grain: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
|
||||
|
||||
/* Feedback — success unified to one restrained emerald; the 6 green variants
|
||||
* now alias the canonical bg/text. (error-* is the danger tint, kept.) */
|
||||
--color-error-bg: light-dark(#fee2e2, #3b1111);
|
||||
--color-error-text: light-dark(#b91c1c, #fca5a5);
|
||||
--color-success-bg: light-dark(#dcfce7, #052e16);
|
||||
--color-success-text: light-dark(#15803d, #86efac);
|
||||
--color-success-border: #48bb78;
|
||||
--color-success-alt: #34c759;
|
||||
--color-success-bg-alt: light-dark(#e6f4ea, #0a2015);
|
||||
--color-success-text-alt: #0d904f;
|
||||
--color-success-bg-green: light-dark(#e8f5e9, #0a2015);
|
||||
--color-success-text-green: #4eaa25;
|
||||
--color-success-border: #16a34a;
|
||||
--color-success-alt: #16a34a;
|
||||
--color-success-bg-alt: var(--color-success-bg);
|
||||
--color-success-text-alt: var(--color-success-text);
|
||||
--color-success-bg-green: var(--color-success-bg);
|
||||
--color-success-text-green: var(--color-success-text);
|
||||
|
||||
/* Dangerous actions */
|
||||
--color-danger-bg: #f56565;
|
||||
--color-danger-text: white;
|
||||
--color-danger-bg-hover: #e53e3e;
|
||||
/* Dangerous actions — unified on #ef4444 / #dc2626; danger text-alt now uses
|
||||
* the AA-passing error-text instead of a sub-4.5:1 red. */
|
||||
--color-danger-bg: #ef4444;
|
||||
--color-danger-text: #ffffff;
|
||||
--color-danger-bg-hover: #dc2626;
|
||||
--color-danger-alt: #ef4444;
|
||||
--color-danger-ring: rgba(239, 68, 68, 0.3);
|
||||
--color-danger-ring-lg: rgba(239, 68, 68, 0.4);
|
||||
--color-danger-light-bg: light-dark(#fef2f2, #2a0c0c);
|
||||
--color-danger-lighter: light-dark(#fef2f2, #2a0c0c);
|
||||
--color-danger-text-alt: #e53e3e;
|
||||
--color-danger-text-alt: var(--color-error-text);
|
||||
--color-danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
||||
|
||||
/* Warning/feedback */
|
||||
--color-warning-bg: light-dark(#ffeaa7, #3d2e00);
|
||||
--color-warning-bg-dark: light-dark(#fdcb6e, #5a4200);
|
||||
--color-warning-text: #ffc107;
|
||||
--color-warning-border: #ffc107;
|
||||
--color-warning-ring: rgba(255, 193, 7, 0.1);
|
||||
--color-warning-shadow: rgba(255, 193, 7, 0.5);
|
||||
--color-warning-orange-bg: light-dark(#fff3e0, #2a1c10);
|
||||
--color-warning-orange-border: #f57c00;
|
||||
--color-warning-orange-text: light-dark(#f57c00, #fb923c);
|
||||
--color-warning-bg-light: light-dark(#fef3c7, #2a2410);
|
||||
--color-warning-text-amber: light-dark(#f59e0b, #fbbf24);
|
||||
--color-warning-bg-orange: #fef3e2;
|
||||
--color-warning-text-orange: #d04423;
|
||||
/* Warning — unified to one restrained amber. Text tier (#b45309) clears AA;
|
||||
* the bright #ffc107 gold is replaced by amber-500 for borders/fills. Legacy
|
||||
* orange/amber variants alias the canonical tokens. */
|
||||
--color-warning-bg: light-dark(#fef3c7, #2a2410);
|
||||
--color-warning-text: light-dark(#b45309, #fbbf24);
|
||||
--color-warning-border: #f59e0b;
|
||||
--color-warning-bg-dark: light-dark(#fde68a, #3d2e00);
|
||||
--color-warning-ring: rgba(245, 158, 11, 0.12);
|
||||
--color-warning-shadow: rgba(245, 158, 11, 0.4);
|
||||
--color-warning-orange-bg: var(--color-warning-bg);
|
||||
--color-warning-orange-border: var(--color-warning-border);
|
||||
--color-warning-orange-text: var(--color-warning-text);
|
||||
--color-warning-bg-light: var(--color-warning-bg);
|
||||
--color-warning-text-amber: var(--color-warning-text);
|
||||
--color-warning-bg-orange: var(--color-warning-bg);
|
||||
--color-warning-text-orange: var(--color-warning-text);
|
||||
|
||||
/* Info */
|
||||
--color-info-bg: light-dark(#ebf5fb, #0c1e35);
|
||||
--color-info-border: #2b6cb0;
|
||||
--color-info-text: #2b6cb0;
|
||||
--color-info-bg-alt: light-dark(#e0ecff, #0c1e35);
|
||||
--color-info-text-alt: #3171d8;
|
||||
--color-info-surface: light-dark(#e0e7ff, #0c1e35);
|
||||
/* Info — unified to one blue (AA text #1d4ed8, with a light-dark dark tier).
|
||||
* Variants alias the canonical tokens. */
|
||||
--color-info-bg: light-dark(#eff6ff, #0c2d48);
|
||||
--color-info-text: light-dark(#1d4ed8, #93c5fd);
|
||||
--color-info-border: #3b82f6;
|
||||
--color-info-blue: #3b82f6;
|
||||
--color-info-bg-alt: var(--color-info-bg);
|
||||
--color-info-text-alt: var(--color-info-text);
|
||||
--color-info-surface: var(--color-info-bg);
|
||||
|
||||
/* Shadows — slightly stronger in dark mode for parity. */
|
||||
/* Shadows — stronger in dark mode for parity. Dark values form a
|
||||
* deliberate progression (base 0.3 < md 0.34 < lg 0.38) so elevation
|
||||
* levels stay perceptually distinct; they used to all collapse to 0.3. */
|
||||
--color-shadow: light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
|
||||
--color-shadow-lg: light-dark(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.3));
|
||||
--color-shadow-lg: light-dark(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38));
|
||||
--color-shadow-xs: rgba(0, 0, 0, 0.05);
|
||||
--color-shadow-sm: rgba(0, 0, 0, 0.08);
|
||||
--color-shadow-md: light-dark(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.3));
|
||||
--color-shadow-md: light-dark(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.34));
|
||||
--color-shadow-xl: rgba(0, 0, 0, 0.2);
|
||||
--color-shadow-2xl: rgba(0, 0, 0, 0.25);
|
||||
--color-shadow-3xl: rgba(0, 0, 0, 0.3);
|
||||
--color-shadow-4xl: rgba(0, 0, 0, 0.4);
|
||||
--color-shadow-5xl: rgba(0, 0, 0, 0.5);
|
||||
|
||||
/* Overlays — same in both modes; they sit on top of arbitrary content. */
|
||||
--color-overlay: rgba(0, 0, 0, 0.5);
|
||||
/* Frosted scrim behind overlay controls (favorite/kebab/checkbox) so they
|
||||
stay legible on top of any thumbnail, light or dark. */
|
||||
--color-scrim-control: light-dark(rgba(255, 255, 255, 0.92), rgba(15, 23, 42, 0.82));
|
||||
--color-overlay-light: rgba(0, 0, 0, 0.45);
|
||||
--color-overlay-heavy: rgba(0, 0, 0, 0.85);
|
||||
--color-overlay-darkest: rgba(0, 0, 0, 0.92);
|
||||
@@ -178,18 +392,20 @@
|
||||
--color-sidebar-shadow: rgba(255, 94, 58, 0.35);
|
||||
--color-sidebar-shadow-lg: rgba(255, 94, 58, 0.45);
|
||||
|
||||
/* Calendar dot colors */
|
||||
--color-cal-1: #ffa94d;
|
||||
--color-cal-2: #74b9ff;
|
||||
--color-cal-3: #81ecec;
|
||||
--color-cal-4: #ffd43b;
|
||||
--color-cal-5: #ff6b9d;
|
||||
--color-cal-6: #ff7675;
|
||||
--color-cal-7: #0984e3;
|
||||
--color-cal-8: #00cec9;
|
||||
--color-cal-9: #f0c800;
|
||||
--color-cal-10: #e84393;
|
||||
--color-cal-11: #e74c3c;
|
||||
/* Calendar dots — regenerated at fixed S=55% L=62%, hues evenly around the
|
||||
* wheel, so they read as one curated family (not confetti). These also tint
|
||||
* the sidebar nav icons (sidebar.css :nth-child rules). */
|
||||
--color-cal-1: #d36868;
|
||||
--color-cal-2: #d3a268;
|
||||
--color-cal-3: #c9d368;
|
||||
--color-cal-4: #8fd368;
|
||||
--color-cal-5: #68d37c;
|
||||
--color-cal-6: #68d3b6;
|
||||
--color-cal-7: #68b6d3;
|
||||
--color-cal-8: #687cd3;
|
||||
--color-cal-9: #8f68d3;
|
||||
--color-cal-10: #c968d3;
|
||||
--color-cal-11: #d368a2;
|
||||
|
||||
/* File type badge colors */
|
||||
--color-ft-html: #e34c26;
|
||||
@@ -274,17 +490,11 @@
|
||||
--color-lightbox-text-faint: rgba(255, 255, 255, 0.5);
|
||||
--color-lightbox-text-muted: rgba(255, 255, 255, 0.7);
|
||||
|
||||
/* Purple/special */
|
||||
--color-purple-bg: light-dark(#f3e8ff, #1a0a33);
|
||||
--color-purple-border: #7c3aed;
|
||||
--color-purple-text: #7c3aed;
|
||||
--color-purple-bg-gradient: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 50%, #fce7f3 100%);
|
||||
--color-purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
|
||||
--color-purple-shadow: rgba(139, 92, 246, 0.35);
|
||||
--color-purple-border-light: rgba(139, 92, 246, 0.15);
|
||||
/* (Removed: the --color-purple-* family had zero consumers. The music
|
||||
* gradient and the video file-type purple are separate, retained tokens.) */
|
||||
|
||||
/* OIDC / auth */
|
||||
--color-oidc-bg: #4f46e5;
|
||||
--color-oidc-bg: var(--color-info-blue);
|
||||
--color-oidc-shadow: rgba(79, 70, 229, 0.3);
|
||||
--color-oidc-shadow-lg: rgba(79, 70, 229, 0.4);
|
||||
|
||||
@@ -300,22 +510,22 @@
|
||||
--color-content-muted: #888;
|
||||
--color-content-bg-warn: light-dark(#ffeaa7, #3d2e00);
|
||||
--color-content-bg-warn-dark: light-dark(#fdcb6e, #5a4200);
|
||||
--color-content-debug-bg: red;
|
||||
--color-content-debug-text: white;
|
||||
|
||||
/* User menu */
|
||||
--color-user-menu-header-bg: light-dark(linear-gradient(135deg, #fef5f3 0%, #fdf2f8 100%), linear-gradient(135deg, #1a2332 0%, #1e2940 100%));
|
||||
--color-user-menu-header-border: light-dark(#fce7e1, #3a2520);
|
||||
|
||||
/* Share dialog */
|
||||
--color-share-link-text: #1565c0;
|
||||
--color-share-link-hover: #1565c0;
|
||||
--color-share-link-text: var(--color-info-text);
|
||||
--color-share-link-hover: var(--color-info-text);
|
||||
--color-share-remove-text: #b71c1c;
|
||||
--color-share-owner-text: #757575;
|
||||
|
||||
/* Primary (style.css) */
|
||||
--color-primary: light-dark(#2563eb, #60a5fa);
|
||||
--color-primary-hover: light-dark(#1d4ed8, #6fa8ee);
|
||||
/* Demoted: orange is the sole brand/primary — primary now aliases the accent
|
||||
* (was a competing blue #2563eb). Flips device-verify / share / userMenu to brand. */
|
||||
--color-primary: var(--color-accent);
|
||||
--color-primary-hover: var(--color-accent-hover);
|
||||
|
||||
/* Recent view */
|
||||
--color-recent-muted: #6c757d;
|
||||
@@ -432,19 +642,8 @@
|
||||
/* Status badge — gray/disabled */
|
||||
--color-badge-gray: #d1d5db;
|
||||
|
||||
/* FIXME: legacy dark-mode badge tokens — kept for now; can be folded into
|
||||
* the main badges once their last consumers migrate. */
|
||||
--color-badge-success-dark-bg: #052e16;
|
||||
--color-badge-success-dark-border: #065f46;
|
||||
--color-badge-error-dark-bg: #3b1111;
|
||||
--color-badge-error-dark-bg-hover: #4a1515;
|
||||
--color-badge-error-dark-text: #fca5a5;
|
||||
--color-badge-warning-dark-bg: #422006;
|
||||
--color-badge-warning-dark-border: #92400e;
|
||||
--color-badge-indigo-dark-bg: #2e1065;
|
||||
--color-badge-indigo-dark-text: #c4b5fd;
|
||||
--color-badge-blue-dark-bg: #0c2d48;
|
||||
--color-badge-blue-dark-text: #93c5fd;
|
||||
/* (Removed: the legacy dark-mode badge tokens that lived here had zero
|
||||
* consumers — the light-dark() badge tokens above are the single source.) */
|
||||
|
||||
/* Dark structural */
|
||||
--color-dark-footer: #162032;
|
||||
@@ -460,8 +659,8 @@
|
||||
--color-music-background: var(--color-bg-surface);
|
||||
--color-music-public-bg: rgba(74, 144, 217, 0.12);
|
||||
|
||||
--color-video-play: white;
|
||||
--color-video-play-shadow: black;
|
||||
--color-video-play: #ffffff;
|
||||
--color-video-play-shadow: #000000;
|
||||
}
|
||||
|
||||
/* Explicit user choice overrides the OS preference. `theme-init.js` writes
|
||||
@@ -473,3 +672,24 @@ html[data-color-scheme="light"] {
|
||||
html[data-color-scheme="dark"] {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Compact density — tighter rows/controls. Toggled by writing
|
||||
* data-density="compact" on <html>; consumed by list/control CSS in Fase 1. */
|
||||
html[data-density="compact"] {
|
||||
--density-row-py: var(--space-2); /* 8px */
|
||||
--density-row-px: var(--space-2-5); /* 10px */
|
||||
--density-gap: var(--space-2);
|
||||
--density-control-h: 32px;
|
||||
}
|
||||
|
||||
/* High-contrast border ramp (prefers-contrast: more). Lives here in the token
|
||||
* layer — the only place raw colour values belong — so the "no raw hex outside
|
||||
* variables/themes" invariant holds. The matching text-tier collapse + focus
|
||||
* ring (token/outline only) stay in base/a11y.css. */
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
--color-border: light-dark(#64748b, #94a3b8);
|
||||
--color-border-light: light-dark(#64748b, #94a3b8);
|
||||
--color-border-medium: light-dark(#475569, #cbd5e1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
gap: var(--space-4);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
align-items: center;
|
||||
background: var(--color-multiselect-bg);
|
||||
color: var(--color-multiselect-text);
|
||||
padding: 10px 20px;
|
||||
border-radius: 12px;
|
||||
padding: var(--space-2-5) var(--space-5);
|
||||
border-radius: var(--radius-2xl);
|
||||
overflow: hidden;
|
||||
margin-right: 12px;
|
||||
margin-right: var(--space-3);
|
||||
height: 60px;
|
||||
transform: translateY(-8px);
|
||||
transition:
|
||||
@@ -35,9 +35,9 @@
|
||||
border: none;
|
||||
color: var(--color-multiselect-text-faint);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 4px 6px;
|
||||
border-radius: 6px;
|
||||
font-size: var(--text-base);
|
||||
padding: var(--space-1) var(--space-1-5);
|
||||
border-radius: var(--radius-md);
|
||||
transition:
|
||||
background 0.15s,
|
||||
color 0.15s;
|
||||
@@ -49,28 +49,28 @@
|
||||
}
|
||||
|
||||
.batch-bar-count {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.batch-bar-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
|
||||
.batch-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 7px 14px;
|
||||
gap: var(--space-1-5);
|
||||
padding: 7px var(--space-3-5);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-multiselect-hover-bg);
|
||||
color: var(--color-multiselect-action-text);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
white-space: nowrap;
|
||||
@@ -96,6 +96,6 @@
|
||||
}
|
||||
|
||||
.batch-btn {
|
||||
padding: 7px 10px;
|
||||
padding: 7px var(--space-2-5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/* ============================================================
|
||||
* Canonical brand mark — the OxiCloud cloud glyph on the accent
|
||||
* gradient tile. Reusable lockup for external surfaces (share,
|
||||
* device-verify) so they present the real mark, not text/emoji.
|
||||
* Uses the single --color-logo-gradient token.
|
||||
* ============================================================ */
|
||||
|
||||
.brand-mark {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: var(--radius-3xl);
|
||||
background: var(--color-logo-gradient);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: var(--space-3);
|
||||
box-shadow: 0 4px 14px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
.brand-mark svg {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
fill: var(--color-on-accent);
|
||||
}
|
||||
@@ -4,14 +4,14 @@
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 15px;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-medium);
|
||||
gap: 2px;
|
||||
gap: var(--space-0-5);
|
||||
}
|
||||
|
||||
.breadcrumb-item {
|
||||
padding: 2px 4px;
|
||||
border-radius: 4px;
|
||||
padding: var(--space-0-5) var(--space-1);
|
||||
border-radius: var(--radius-sm);
|
||||
border: 2px solid transparent;
|
||||
transition:
|
||||
background 0.15s,
|
||||
@@ -35,15 +35,15 @@
|
||||
}
|
||||
|
||||
.breadcrumb-current {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-black);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.breadcrumb-separator {
|
||||
margin: 0 4px;
|
||||
margin: 0 var(--space-1);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@@ -53,11 +53,11 @@
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.breadcrumb-home i {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.breadcrumb-home.breadcrumb-link:hover {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
.btn {
|
||||
padding: 12px 24px;
|
||||
border-radius: 12px;
|
||||
padding: var(--space-3) var(--space-6);
|
||||
border-radius: var(--radius-2xl);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
gap: 8px;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
gap: var(--space-2);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -66,13 +66,65 @@
|
||||
box-shadow: 0 2px 10px var(--color-danger-ring);
|
||||
}
|
||||
|
||||
/* ── State matrix: focus / disabled / loading ───────────────── */
|
||||
|
||||
/* Keyboard focus ring (explicit so the gradient variants get a crisp ring;
|
||||
mirrors the global a11y baseline). */
|
||||
.btn:focus-visible {
|
||||
outline: 2px solid var(--color-focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Disabled — dimmed, no hover lift, non-interactive. */
|
||||
.btn:disabled,
|
||||
.btn[disabled],
|
||||
.btn.is-disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
filter: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Loading — hide the label, show an inline spinner, block interaction.
|
||||
Toggle with the `.is-loading` class or `aria-busy="true"`. */
|
||||
.btn.is-loading,
|
||||
.btn[aria-busy="true"] {
|
||||
position: relative;
|
||||
color: transparent;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.btn.is-loading::after,
|
||||
.btn[aria-busy="true"]::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: -8px 0 0 -8px;
|
||||
border: 2px solid var(--color-on-accent);
|
||||
border-top-color: transparent;
|
||||
border-radius: var(--radius-full);
|
||||
animation: spin var(--spin-duration) linear infinite;
|
||||
}
|
||||
|
||||
/* The secondary button's text isn't white — tint its spinner to the text. */
|
||||
.btn-secondary.is-loading::after,
|
||||
.btn-secondary[aria-busy="true"]::after {
|
||||
border-color: var(--color-text-secondary);
|
||||
border-top-color: transparent;
|
||||
}
|
||||
|
||||
/* View Toggle Buttons */
|
||||
.view-toggle {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
gap: var(--space-0-5);
|
||||
padding: 3px;
|
||||
background-color: var(--color-bg-muted);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
@@ -84,10 +136,10 @@
|
||||
height: 32px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-faint);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -113,7 +165,7 @@
|
||||
height: 20px;
|
||||
background: var(--color-border-medium);
|
||||
align-self: center;
|
||||
margin: 0 2px;
|
||||
margin: 0 var(--space-0-5);
|
||||
}
|
||||
|
||||
.view-toggle-separator.hidden {
|
||||
@@ -147,14 +199,14 @@
|
||||
.group-by-label {
|
||||
display: none;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* When a group-by is selected the label has text — expand the button to fit */
|
||||
.group-by-btn:has(.group-by-label:not(:empty)) {
|
||||
width: auto;
|
||||
padding: 0 8px;
|
||||
padding: 0 var(--space-2);
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
@@ -170,12 +222,12 @@
|
||||
min-width: 140px;
|
||||
background: var(--color-bg-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 4px 16px var(--color-shadow);
|
||||
padding: 4px;
|
||||
padding: var(--space-1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
gap: var(--space-0-5);
|
||||
}
|
||||
|
||||
.group-by-menu.hidden {
|
||||
@@ -185,11 +237,11 @@
|
||||
.group-by-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 10px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-1-5) var(--space-2-5);
|
||||
border: none;
|
||||
background: transparent;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-text);
|
||||
@@ -203,5 +255,5 @@
|
||||
|
||||
.group-by-option.active {
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
/* ============================================================
|
||||
* Command palette (Cmd / Ctrl + K). Injected into <body> by
|
||||
* js/app/commandPalette.js. Motion respects reduced-motion via
|
||||
* the global guard; focus rings via the global :focus-visible.
|
||||
* ============================================================ */
|
||||
|
||||
.cmdk-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: var(--z-modal);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: 12vh var(--space-4) var(--space-4);
|
||||
background: var(--color-overlay);
|
||||
backdrop-filter: blur(2px);
|
||||
opacity: 0;
|
||||
transition: opacity var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.cmdk-overlay.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.cmdk-overlay.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cmdk-panel {
|
||||
width: min(560px, 92vw);
|
||||
background: var(--color-bg-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow: var(--shadow-2xl);
|
||||
overflow: hidden;
|
||||
transform: translateY(-8px) scale(0.98);
|
||||
transition: transform var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.cmdk-overlay.active .cmdk-panel {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.cmdk-search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-5);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.cmdk-search i {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.cmdk-input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
font-size: var(--text-md);
|
||||
color: var(--color-text);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.cmdk-input::placeholder {
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.cmdk-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: var(--space-1-5);
|
||||
max-height: 56vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.cmdk-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-2-5) var(--space-3);
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.cmdk-item i {
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.cmdk-item.is-active {
|
||||
background: var(--color-accent-bg-sm);
|
||||
}
|
||||
|
||||
.cmdk-item.is-active i {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.cmdk-empty {
|
||||
padding: var(--space-5);
|
||||
text-align: center;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
box-shadow:
|
||||
0 10px 36px var(--color-shadow-lg),
|
||||
0 0 0 1px var(--color-shadow-xs);
|
||||
padding: 6px;
|
||||
padding: var(--space-1-5);
|
||||
min-width: 200px;
|
||||
z-index: 2000;
|
||||
display: block;
|
||||
@@ -26,14 +26,14 @@
|
||||
}
|
||||
|
||||
.context-menu-item {
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
color: var(--color-text-dark);
|
||||
font-size: 14px;
|
||||
border-radius: 8px;
|
||||
font-size: var(--text-base);
|
||||
border-radius: var(--radius-lg);
|
||||
transition: background 0.12s ease;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
.context-menu-item i {
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-subtle);
|
||||
|
||||
[dir="rtl"] & {
|
||||
@@ -72,5 +72,5 @@
|
||||
.context-menu-separator {
|
||||
height: 1px;
|
||||
background: var(--color-border-light);
|
||||
margin: 4px 8px;
|
||||
margin: var(--space-1) var(--space-2);
|
||||
}
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
|
||||
/* ── Empty state icons (large, muted) ── */
|
||||
.empty-state-icon {
|
||||
font-size: 48px;
|
||||
color: var(--color-border-ddd);
|
||||
margin-bottom: 16px;
|
||||
font-size: var(--text-6xl);
|
||||
color: var(--color-accent);
|
||||
margin-bottom: var(--space-4);
|
||||
opacity: 0.9;
|
||||
}
|
||||
.empty-state-icon.error {
|
||||
color: var(--color-danger-text-alt);
|
||||
@@ -23,8 +24,8 @@
|
||||
margin-right: 5px;
|
||||
}
|
||||
.icon-ml {
|
||||
margin-left: 4px;
|
||||
font-size: 12px;
|
||||
margin-left: var(--space-1);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
/* ── Success check icon ── */
|
||||
@@ -34,9 +35,9 @@
|
||||
|
||||
/* ── Move dialog ── */
|
||||
.move-dialog-hint {
|
||||
margin: 0 0 12px;
|
||||
margin: 0 0 var(--space-3);
|
||||
color: var(--color-text-muted);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
.folder-select-container {
|
||||
max-height: 220px;
|
||||
@@ -50,7 +51,7 @@
|
||||
|
||||
/* ── Search spinner ── */
|
||||
.search-spinner {
|
||||
margin-right: 8px;
|
||||
margin-right: var(--space-2);
|
||||
}
|
||||
|
||||
/* ── Search empty state text ── */
|
||||
@@ -60,7 +61,7 @@
|
||||
|
||||
/* ── Notification upload current file ── */
|
||||
.notif-upload-current {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-subtle);
|
||||
margin: 3px 0;
|
||||
white-space: nowrap;
|
||||
@@ -71,7 +72,7 @@
|
||||
/* ── Login auth hint ── */
|
||||
.auth-hint {
|
||||
color: var(--text-secondary, var(--color-text-medium));
|
||||
margin-top: 4px;
|
||||
margin-top: var(--space-1);
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -81,7 +82,7 @@
|
||||
}
|
||||
.about-modal-header {
|
||||
text-align: center;
|
||||
padding: 20px 20px 0;
|
||||
padding: var(--space-5) var(--space-5) 0;
|
||||
}
|
||||
.about-modal-avatar {
|
||||
width: 64px;
|
||||
@@ -92,27 +93,27 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
.about-modal-username {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
color: var(--color-text-navy);
|
||||
}
|
||||
.about-modal-email {
|
||||
margin: 4px 0 0;
|
||||
font-size: 13px;
|
||||
margin: var(--space-1) 0 0;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
.about-modal-role {
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
padding: 2px 10px;
|
||||
border-radius: 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
margin-top: var(--space-2);
|
||||
padding: var(--space-0-5) var(--space-2-5);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
.about-modal-role-admin {
|
||||
background: var(--color-role-admin-bg);
|
||||
@@ -123,48 +124,48 @@
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
.about-modal-storage {
|
||||
padding: 16px 20px;
|
||||
padding: var(--space-4) var(--space-5);
|
||||
}
|
||||
.about-modal-storage-label {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-subtle);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
.about-modal-storage-label i {
|
||||
margin-right: 4px;
|
||||
margin-right: var(--space-1);
|
||||
}
|
||||
.about-modal-bar-bg {
|
||||
background: var(--color-border-light);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
.about-modal-bar-fill {
|
||||
height: 100%;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
transition: width 0.3s;
|
||||
}
|
||||
.about-modal-bar-text {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-subtle);
|
||||
text-align: right;
|
||||
}
|
||||
.about-modal-footer {
|
||||
padding: 0 20px 16px;
|
||||
padding: 0 var(--space-5) var(--space-4);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.about-modal-close-btn {
|
||||
padding: 8px 24px;
|
||||
padding: var(--space-2) var(--space-6);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text-dark);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
+103
-103
@@ -37,7 +37,7 @@
|
||||
|
||||
.rename-dialog-content {
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
width: 420px;
|
||||
max-width: 90%;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-2xl);
|
||||
@@ -47,24 +47,24 @@
|
||||
|
||||
.rename-dialog-header {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
padding: 20px 24px;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.rename-dialog-body {
|
||||
padding: 24px;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.rename-dialog input {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: 15px;
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
@@ -85,8 +85,8 @@
|
||||
.rename-dialog-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
@@ -120,7 +120,7 @@
|
||||
|
||||
.share-dialog-content {
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
width: 480px;
|
||||
max-width: 90%;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-2xl);
|
||||
@@ -132,22 +132,22 @@
|
||||
|
||||
.share-dialog-header {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
padding: 20px 24px;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.share-dialog input,
|
||||
.share-dialog textarea {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-input);
|
||||
color: var(--color-text-heading);
|
||||
transition: all 0.15s ease;
|
||||
@@ -164,35 +164,35 @@
|
||||
.share-dialog-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.shared-item-info {
|
||||
padding: 12px 24px;
|
||||
padding: var(--space-3) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.share-options {
|
||||
padding: 20px 24px 20px;
|
||||
padding: var(--space-5) var(--space-6) var(--space-5);
|
||||
}
|
||||
|
||||
.share-options > #share-confirm-btn {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-top: 16px;
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.share-options h3,
|
||||
#existing-shares-section h3,
|
||||
#new-share-section h3 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-bottom: var(--space-2-5);
|
||||
color: var(--color-text-secondary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
#existing-shares-section,
|
||||
#new-share-section {
|
||||
padding: 0 24px;
|
||||
padding: 0 var(--space-6);
|
||||
}
|
||||
|
||||
.share-dialog .form-group {
|
||||
@@ -225,7 +225,7 @@
|
||||
|
||||
.shared-dialog-content {
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
width: 480px;
|
||||
max-width: 90%;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-2xl);
|
||||
@@ -238,13 +238,13 @@
|
||||
|
||||
.shared-dialog-header {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
padding: 20px 24px;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.shared-dialog-header .close-dialog-btn {
|
||||
@@ -254,8 +254,8 @@
|
||||
font-size: 22px;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-muted);
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
padding: var(--space-1) var(--space-2);
|
||||
border-radius: var(--radius-md);
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
@@ -269,30 +269,30 @@
|
||||
.shared-dialog .share-password-section,
|
||||
.shared-dialog .share-expiration-section,
|
||||
.shared-dialog .notification-form {
|
||||
padding: 16px 24px;
|
||||
padding: var(--space-4) var(--space-6);
|
||||
}
|
||||
|
||||
.shared-dialog .share-link-section label,
|
||||
.shared-dialog .share-permissions-section h4,
|
||||
.shared-dialog .notification-form label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-bottom: var(--space-2);
|
||||
color: var(--color-text);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.shared-dialog .share-link-input {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.shared-dialog .share-link-input input {
|
||||
flex: 1;
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-sm);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
@@ -302,42 +302,42 @@
|
||||
.shared-dialog .share-expiration-section label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
gap: var(--space-2);
|
||||
margin-bottom: var(--space-2);
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.shared-dialog .password-input-group {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.shared-dialog .password-input-group input {
|
||||
flex: 1;
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-sm);
|
||||
background: var(--color-bg-hover);
|
||||
}
|
||||
|
||||
.shared-dialog .share-expiration-section input[type="date"] {
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-sm);
|
||||
background: var(--color-bg-hover);
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.shared-dialog .share-actions,
|
||||
.shared-dialog .notification-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
@@ -345,10 +345,10 @@
|
||||
.shared-dialog .notification-form input,
|
||||
.shared-dialog .notification-form textarea {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
outline: none;
|
||||
@@ -373,20 +373,20 @@
|
||||
display: none; /* Hidden by default, shown via JS when navigating into subfolders */
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
padding: 8px 12px;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
background: var(--color-bg-hover);
|
||||
border-radius: 8px;
|
||||
margin-bottom: 12px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.move-breadcrumb-item {
|
||||
color: var(--color-text-secondary);
|
||||
cursor: pointer;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
padding: var(--space-0-5) var(--space-1-5);
|
||||
border-radius: var(--radius-sm);
|
||||
transition: all 0.15s ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -398,26 +398,26 @@
|
||||
|
||||
.move-breadcrumb-item.current {
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.move-breadcrumb-separator {
|
||||
color: var(--color-text-placeholder);
|
||||
margin: 0 2px;
|
||||
margin: 0 var(--space-0-5);
|
||||
}
|
||||
|
||||
/* Folder select items in move dialog */
|
||||
.folder-select-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px;
|
||||
gap: var(--space-2-5);
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.folder-select-item:hover {
|
||||
@@ -427,12 +427,12 @@
|
||||
.folder-select-item.selected {
|
||||
background-color: var(--color-accent-ring);
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
.folder-select-item i {
|
||||
color: var(--color-cal-1);
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.folder-select-item.selected i {
|
||||
@@ -443,7 +443,7 @@
|
||||
.folder-select-item.folder-select-current {
|
||||
background-color: var(--color-success-ring);
|
||||
color: var(--color-success-text-strong);
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
.folder-select-item.folder-select-current:hover {
|
||||
@@ -479,7 +479,7 @@
|
||||
|
||||
.folder-select-item.folder-navigate .folder-navigate-icon {
|
||||
color: var(--color-text-placeholder);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
@@ -493,20 +493,20 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 24px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-6);
|
||||
color: var(--color-text-placeholder);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.folder-select-empty i {
|
||||
font-size: 20px;
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
/* Playlist track count in selector */
|
||||
.playlist-track-count {
|
||||
margin-left: auto;
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
@@ -533,7 +533,7 @@
|
||||
|
||||
.confirm-dialog-content {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
width: 400px;
|
||||
max-width: 90%;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-2xl);
|
||||
@@ -543,32 +543,32 @@
|
||||
}
|
||||
|
||||
.confirm-dialog-icon {
|
||||
padding: 28px 24px 12px;
|
||||
padding: var(--space-7) var(--space-6) var(--space-3);
|
||||
}
|
||||
|
||||
.confirm-dialog-icon i {
|
||||
font-size: 40px;
|
||||
font-size: var(--text-5xl);
|
||||
color: var(--color-danger-bg);
|
||||
}
|
||||
|
||||
.confirm-dialog-title {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
padding: 0 24px 8px;
|
||||
padding: 0 var(--space-6) var(--space-2);
|
||||
}
|
||||
|
||||
.confirm-dialog-message {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-muted);
|
||||
padding: 0 24px 20px;
|
||||
line-height: 1.5;
|
||||
padding: 0 var(--space-6) var(--space-5);
|
||||
line-height: var(--leading-normal);
|
||||
}
|
||||
|
||||
.confirm-dialog-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-top: 1px solid var(--color-border);
|
||||
justify-content: flex-end;
|
||||
@@ -578,9 +578,9 @@
|
||||
background: linear-gradient(135deg, var(--color-danger-bg) 0%, var(--color-danger-bg-hover) 100%);
|
||||
color: var(--color-danger-text);
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 10px;
|
||||
font-weight: 500;
|
||||
padding: var(--space-2-5) var(--space-5);
|
||||
border-radius: var(--radius-xl);
|
||||
font-weight: var(--weight-medium);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
box-shadow: 0 2px 8px var(--color-danger-ring);
|
||||
@@ -607,7 +607,7 @@
|
||||
|
||||
.dialog-content {
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
box-shadow: 0 10px 25px var(--color-shadow);
|
||||
width: 500px;
|
||||
max-width: 90%;
|
||||
@@ -616,7 +616,7 @@
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
padding: 15px 20px;
|
||||
padding: 15px var(--space-5);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -624,7 +624,7 @@
|
||||
}
|
||||
|
||||
.dialog-header h3 {
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
color: var(--color-text);
|
||||
margin: 0;
|
||||
}
|
||||
@@ -632,31 +632,31 @@
|
||||
.close-dialog-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
font-size: var(--text-2xl);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-placeholder);
|
||||
}
|
||||
|
||||
.dialog-body {
|
||||
padding: 20px;
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.share-item-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
gap: var(--space-2-5);
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.share-link-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
|
||||
.share-link-container input {
|
||||
flex-grow: 1;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 4px;
|
||||
padding: 2px 7px;
|
||||
border-radius: 10px;
|
||||
font-size: 11px;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-0-5) 7px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-2xs);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
right: 0;
|
||||
height: 22%;
|
||||
background-color: var(--color-ft-folder-tab);
|
||||
border-radius: 8px 8px 0 0;
|
||||
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
||||
}
|
||||
|
||||
/* don't use FontAwesome / svg for folders and prefer CSS trick */
|
||||
@@ -57,7 +57,7 @@
|
||||
color: var(--color-video-play);
|
||||
text-shadow: 0 0 3px var(--color-video-play-shadow);
|
||||
z-index: 2; /* above the img */
|
||||
font-weight: bold;
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
|
||||
.code-icon {
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
.groups-modal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 16px 20px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-5);
|
||||
}
|
||||
|
||||
/* ── Common ─────────────────────────────────────────────────────────────── */
|
||||
@@ -22,36 +22,36 @@
|
||||
.groups-modal__status,
|
||||
.groups-modal__empty-line {
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 13px;
|
||||
padding: 8px 0;
|
||||
font-size: var(--text-sm);
|
||||
padding: var(--space-2) 0;
|
||||
}
|
||||
|
||||
.groups-modal__error {
|
||||
color: var(--color-danger-text);
|
||||
background: var(--color-danger-bg);
|
||||
border: 1px solid var(--color-danger-alt);
|
||||
border-radius: 6px;
|
||||
padding: 10px 12px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-2-5) var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.groups-modal__inline-error {
|
||||
margin: 0 0 8px 0;
|
||||
margin: 0 0 var(--space-2) 0;
|
||||
color: var(--color-danger-text);
|
||||
background: var(--color-danger-bg);
|
||||
border: 1px solid var(--color-danger-alt);
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.groups-modal__section-title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
/* ── List view ──────────────────────────────────────────────────────────── */
|
||||
@@ -60,11 +60,11 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.groups-modal__subtitle {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
.groups-modal__list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
gap: var(--space-1);
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -84,8 +84,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-2-5) var(--space-3);
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.12s ease;
|
||||
}
|
||||
@@ -99,15 +99,15 @@
|
||||
.groups-modal__row-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.groups-modal__row-desc {
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 12px;
|
||||
margin-left: 8px;
|
||||
font-size: var(--text-xs);
|
||||
margin-left: var(--space-2);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -118,40 +118,40 @@
|
||||
.groups-modal__row-badge {
|
||||
background: var(--color-bg-muted);
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
padding: var(--space-0-5) var(--space-2);
|
||||
border-radius: var(--radius-xl);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
flex-shrink: 0;
|
||||
margin-left: 8px;
|
||||
margin-left: var(--space-2);
|
||||
}
|
||||
|
||||
.groups-modal__row-count {
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
padding-left: 8px;
|
||||
padding-left: var(--space-2);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.groups-modal__load-more {
|
||||
align-self: center;
|
||||
margin-top: 12px;
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.groups-modal__empty {
|
||||
text-align: center;
|
||||
color: var(--color-text-subtle);
|
||||
padding: 32px 12px;
|
||||
padding: var(--space-8) var(--space-3);
|
||||
}
|
||||
|
||||
.groups-modal__empty-icon {
|
||||
font-size: 32px;
|
||||
font-size: var(--text-4xl);
|
||||
color: var(--color-text-faint);
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -160,8 +160,8 @@
|
||||
.groups-modal__detail-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding-bottom: 12px;
|
||||
gap: var(--space-3);
|
||||
padding-bottom: var(--space-3);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
.groups-modal__detail-title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -180,7 +180,7 @@
|
||||
.groups-modal__members {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
gap: var(--space-1);
|
||||
max-height: 40vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -189,8 +189,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 6px 8px;
|
||||
border-radius: 6px;
|
||||
padding: var(--space-1-5) var(--space-2);
|
||||
border-radius: var(--radius-md);
|
||||
transition: background-color 0.12s ease;
|
||||
}
|
||||
|
||||
@@ -216,17 +216,17 @@
|
||||
|
||||
.groups-modal__add-row {
|
||||
position: relative;
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.groups-modal__add-input {
|
||||
width: 100%;
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.groups-modal__add-input:focus {
|
||||
@@ -242,7 +242,7 @@
|
||||
right: 0;
|
||||
background: var(--color-bg-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: 0 4px 12px var(--color-shadow);
|
||||
max-height: 240px;
|
||||
overflow-y: auto;
|
||||
@@ -254,7 +254,7 @@
|
||||
}
|
||||
|
||||
.groups-modal__add-item {
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.12s ease;
|
||||
}
|
||||
@@ -270,9 +270,9 @@
|
||||
.groups-modal__footer {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
padding-top: 12px;
|
||||
padding-top: var(--space-3);
|
||||
border-top: 1px solid var(--color-border);
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
/* ── Inline create / rename / confirm-delete forms ──────────────────────── */
|
||||
@@ -283,24 +283,24 @@
|
||||
.groups-modal__form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 8px 0;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-2) 0;
|
||||
}
|
||||
|
||||
.groups-modal__form-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
gap: var(--space-1-5);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.groups-modal__form-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
margin-top: 4px;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
.groups-modal__inline-error.hidden {
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1em max-content 1fr;
|
||||
column-gap: 0.6em;
|
||||
row-gap: 6px;
|
||||
row-gap: var(--space-1-5);
|
||||
align-items: center;
|
||||
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--text-xs);
|
||||
|
||||
pointer-events: none;
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
/* Label column */
|
||||
.path-tooltip__label {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-secondary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -88,5 +88,5 @@
|
||||
}
|
||||
|
||||
.path-tooltip .user-vignette__name {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
.language-selector-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 14px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-3-5);
|
||||
background-color: var(--color-bg-muted);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
transition: all 0.2s ease;
|
||||
user-select: none;
|
||||
@@ -25,12 +25,12 @@
|
||||
}
|
||||
|
||||
.language-selector-toggle i {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.language-selector-toggle .lang-code {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
font-size: 10px;
|
||||
color: var(--color-text-muted);
|
||||
transition: transform 0.2s ease;
|
||||
margin-left: 2px;
|
||||
margin-left: var(--space-0-5);
|
||||
}
|
||||
|
||||
.language-selector.open .dropdown-arrow {
|
||||
@@ -53,7 +53,7 @@
|
||||
max-height: 420px;
|
||||
overflow-y: auto;
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
box-shadow: 0 4px 20px var(--color-shadow-lg);
|
||||
border: 1px solid var(--color-border);
|
||||
opacity: 0;
|
||||
@@ -72,10 +72,10 @@
|
||||
.language-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 12px 16px;
|
||||
gap: var(--space-2-5);
|
||||
padding: var(--space-3) var(--space-4);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-secondary);
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
@@ -86,12 +86,12 @@
|
||||
|
||||
.language-option.active {
|
||||
background-color: var(--color-accent-bg-sm);
|
||||
color: var(--color-accent);
|
||||
color: var(--color-accent-text);
|
||||
}
|
||||
|
||||
.language-option .lang-flag {
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
font-size: var(--text-lg);
|
||||
line-height: var(--leading-none);
|
||||
}
|
||||
|
||||
.language-option .lang-name {
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
.language-option .lang-check {
|
||||
color: var(--color-accent);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@@ -120,11 +120,10 @@
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
box-shadow: none !important;
|
||||
outline: none !important;
|
||||
padding: 12px 20px;
|
||||
gap: 12px;
|
||||
padding: var(--space-3) var(--space-5);
|
||||
gap: var(--space-3);
|
||||
color: var(--color-text-dark);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -132,7 +131,6 @@
|
||||
.user-menu .language-selector-toggle:focus {
|
||||
background: var(--color-bg-hover) !important;
|
||||
border: none !important;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.user-menu .language-selector-toggle i.fa-globe {
|
||||
@@ -143,8 +141,8 @@
|
||||
}
|
||||
|
||||
.user-menu .language-selector-toggle .lang-code {
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
font-weight: var(--weight-medium);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
|
||||
@@ -172,6 +170,6 @@
|
||||
|
||||
/* Language options inside user menu — compact rows */
|
||||
.user-menu .language-option {
|
||||
padding: 10px 20px 10px 28px;
|
||||
padding: var(--space-2-5) var(--space-5) var(--space-2-5) var(--space-7);
|
||||
font-size: 13.5px;
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
max-width: 100%;
|
||||
padding: 2px 0;
|
||||
padding: var(--space-0-5) 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
text-align: left;
|
||||
transition: color 0.12s;
|
||||
}
|
||||
@@ -29,7 +29,7 @@
|
||||
}
|
||||
|
||||
.link-chip__icon {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
flex-shrink: 0;
|
||||
transition: color 0.12s;
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
.about-modal {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 20px;
|
||||
padding: 40px;
|
||||
border-radius: var(--radius-4xl);
|
||||
padding: var(--space-10);
|
||||
max-width: 400px;
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
@@ -24,73 +24,74 @@
|
||||
.about-modal-logo {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
background: var(--color-accent-gradient);
|
||||
border-radius: 20px;
|
||||
background: var(--color-logo-gradient);
|
||||
border-radius: var(--radius-4xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 20px;
|
||||
margin: 0 auto var(--space-5);
|
||||
box-shadow: 0 8px 24px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
.about-modal-logo i {
|
||||
font-size: 32px;
|
||||
color: var(--color-danger-text);
|
||||
.about-modal-logo svg {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
fill: var(--color-on-accent);
|
||||
}
|
||||
|
||||
.about-modal h2 {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-text-heading);
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
|
||||
.about-modal .about-version {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-faint);
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.about-modal .about-description {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-subtle);
|
||||
line-height: 1.6;
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.about-modal .about-tech {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.about-modal .about-tech-badge {
|
||||
padding: 4px 12px;
|
||||
padding: var(--space-1) var(--space-3);
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 20px;
|
||||
font-size: 12px;
|
||||
border-radius: var(--radius-4xl);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-subtle);
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
.about-modal .about-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 16px;
|
||||
margin-bottom: 24px;
|
||||
gap: var(--space-4);
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.about-modal .about-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
color: var(--color-accent);
|
||||
gap: var(--space-1-5);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-accent-text);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
@@ -99,13 +100,13 @@
|
||||
}
|
||||
|
||||
.about-modal .about-close-btn {
|
||||
padding: 10px 32px;
|
||||
padding: var(--space-2-5) var(--space-8);
|
||||
background: var(--color-accent-gradient);
|
||||
color: var(--color-danger-text);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
transform 0.2s,
|
||||
@@ -141,7 +142,7 @@
|
||||
|
||||
.modal-container {
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
width: 420px;
|
||||
max-width: 90%;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-3xl);
|
||||
@@ -157,7 +158,7 @@
|
||||
.modal-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 20px 24px;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
position: relative;
|
||||
}
|
||||
@@ -166,27 +167,28 @@
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: var(--color-accent-gradient);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 14px;
|
||||
margin-right: var(--space-3-5);
|
||||
flex-shrink: 0;
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 14px;
|
||||
margin-left: var(--space-3-5);
|
||||
margin-right: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-icon i {
|
||||
color: var(--color-danger-text);
|
||||
font-size: 20px;
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
.modal-header h2,
|
||||
.modal-header h3 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
@@ -203,7 +205,7 @@
|
||||
height: 32px;
|
||||
border: none;
|
||||
background: var(--color-bg-muted);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -223,23 +225,23 @@
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 24px;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.modal-body label {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.modal-input {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
font-size: 15px;
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
transition: all 0.15s ease;
|
||||
@@ -261,25 +263,25 @@
|
||||
}
|
||||
|
||||
.modal-error {
|
||||
margin-top: 8px;
|
||||
font-size: 13px;
|
||||
margin-top: var(--space-2);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-error-text);
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 12px;
|
||||
padding: 16px 24px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4) var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.modal-footer .btn {
|
||||
padding: 10px 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border-radius: 10px;
|
||||
padding: var(--space-2-5) var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
border-radius: var(--radius-xl);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
right: 20px;
|
||||
background-color: var(--color-notification-bg);
|
||||
width: 250px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 5px 15px var(--color-shadow);
|
||||
padding: 15px;
|
||||
border-left: 4px solid var(--color-accent);
|
||||
@@ -21,14 +21,14 @@
|
||||
}
|
||||
|
||||
.notification-title {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
font-weight: var(--weight-bold);
|
||||
font-size: var(--text-base);
|
||||
margin-bottom: 5px;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.notification-message {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
padding: 15px 20px;
|
||||
padding: 15px var(--space-5);
|
||||
background-color: var(--color-notification-bg);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 4px 12px var(--color-shadow);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -69,10 +69,10 @@
|
||||
.close-notification-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-placeholder);
|
||||
margin-left: 10px;
|
||||
margin-left: var(--space-2-5);
|
||||
}
|
||||
|
||||
/* Notification Bell */
|
||||
@@ -84,7 +84,7 @@
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
color: var(--color-text-subtle);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
@@ -113,13 +113,13 @@
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-notification-badge);
|
||||
color: var(--color-notification-bg);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
text-align: center;
|
||||
padding: 0 4px;
|
||||
padding: 0 var(--space-1);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
width: 380px;
|
||||
max-height: 480px;
|
||||
background: var(--color-notification-bg);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow:
|
||||
0 12px 40px var(--color-shadow-md),
|
||||
0 0 0 1px var(--color-shadow-xs);
|
||||
@@ -192,12 +192,12 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 14px 16px;
|
||||
padding: var(--space-3-5) var(--space-4);
|
||||
border-bottom: 1px solid var(--color-border-xfaint);
|
||||
}
|
||||
|
||||
.notif-panel-title {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: 15px;
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
@@ -207,9 +207,9 @@
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-faint);
|
||||
font-size: 14px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
font-size: var(--text-base);
|
||||
padding: var(--space-1) var(--space-2);
|
||||
border-radius: var(--radius-md);
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
@@ -222,6 +222,23 @@
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
max-height: 400px;
|
||||
/* Thin, neutral scrollbar — replaces the heavy global accent bar that read
|
||||
as amateur in the panel. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-border-medium) transparent;
|
||||
}
|
||||
|
||||
.notif-panel-body::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.notif-panel-body::-webkit-scrollbar-thumb {
|
||||
background: var(--color-border-medium);
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
.notif-panel-body::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.notif-empty {
|
||||
@@ -229,25 +246,25 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px 20px;
|
||||
padding: var(--space-10) var(--space-5);
|
||||
color: var(--color-text-faint);
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.notif-empty i {
|
||||
font-size: 28px;
|
||||
font-size: var(--text-3xl);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.notif-empty span {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.notif-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding: 12px 16px;
|
||||
gap: 12px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
gap: var(--space-3);
|
||||
border-bottom: 1px solid var(--color-bg-subtle);
|
||||
transition: background 0.15s;
|
||||
cursor: default;
|
||||
@@ -264,12 +281,12 @@
|
||||
.notif-item-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.notif-item-icon.upload {
|
||||
@@ -293,14 +310,14 @@
|
||||
}
|
||||
|
||||
.notif-item-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
margin-bottom: 2px;
|
||||
margin-bottom: var(--space-0-5);
|
||||
}
|
||||
|
||||
.notif-item-text {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-subtle);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
@@ -308,19 +325,19 @@
|
||||
}
|
||||
|
||||
.notif-item-time {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-faint);
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.notif-upload-progress {
|
||||
margin-top: 6px;
|
||||
margin-top: var(--space-1-5);
|
||||
}
|
||||
|
||||
.notif-upload-bar {
|
||||
height: 3px;
|
||||
background: var(--color-bg-empty);
|
||||
border-radius: 2px;
|
||||
border-radius: var(--radius-xs);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -329,7 +346,7 @@
|
||||
background: var(--color-accent);
|
||||
width: 0%;
|
||||
transition: width 0.2s ease;
|
||||
border-radius: 2px;
|
||||
border-radius: var(--radius-xs);
|
||||
}
|
||||
|
||||
.notif-upload-fill.done {
|
||||
@@ -349,169 +366,6 @@
|
||||
|
||||
.notif-upload-pct,
|
||||
.notif-upload-stats {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
/* Upload Progress Toast (legacy — hidden, kept for compat) */
|
||||
.upload-toast {
|
||||
position: fixed;
|
||||
bottom: 24px;
|
||||
right: 24px;
|
||||
width: 360px;
|
||||
max-height: 400px;
|
||||
background: var(--color-notification-bg);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 30px var(--color-shadow-md);
|
||||
z-index: 10000;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
font-family: inherit;
|
||||
animation: uploadToastSlideIn 0.3s ease-out;
|
||||
}
|
||||
|
||||
.upload-toast.visible {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@keyframes uploadToastSlideIn {
|
||||
from {
|
||||
transform: translateY(20px);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.upload-toast-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12px 16px;
|
||||
background: var(--color-accent);
|
||||
color: var(--color-danger-text);
|
||||
}
|
||||
|
||||
.upload-toast-title {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.upload-toast-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-danger-text);
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
padding: 0 4px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.upload-toast-close:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.upload-toast-body {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 8px 0;
|
||||
max-height: 260px;
|
||||
}
|
||||
|
||||
.upload-toast-file {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 6px 16px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.upload-toast-file-icon {
|
||||
font-size: 16px;
|
||||
color: var(--color-text-light);
|
||||
flex-shrink: 0;
|
||||
width: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.upload-toast-file-icon.done {
|
||||
color: var(--color-notification-success);
|
||||
}
|
||||
|
||||
.upload-toast-file-icon.error {
|
||||
color: var(--color-notification-error);
|
||||
}
|
||||
|
||||
.upload-toast-file-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.upload-toast-file-name {
|
||||
font-size: 13px;
|
||||
color: var(--color-text-black);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.upload-toast-file-bar {
|
||||
height: 3px;
|
||||
background: var(--color-bg-empty);
|
||||
border-radius: 2px;
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.upload-toast-file-fill {
|
||||
height: 100%;
|
||||
background: var(--color-accent);
|
||||
width: 0%;
|
||||
transition: width 0.2s ease;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.upload-toast-file-fill.done {
|
||||
background: var(--color-notification-success);
|
||||
}
|
||||
|
||||
.upload-toast-file-fill.error {
|
||||
background: var(--color-notification-error);
|
||||
}
|
||||
|
||||
.upload-toast-file-pct {
|
||||
font-size: 12px;
|
||||
color: var(--color-text-light);
|
||||
flex-shrink: 0;
|
||||
width: 38px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.upload-toast-footer {
|
||||
padding: 10px 16px;
|
||||
border-top: 1px solid var(--color-border-xfaint);
|
||||
}
|
||||
|
||||
.upload-toast-overall-bar {
|
||||
height: 4px;
|
||||
background: var(--color-bg-empty);
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.upload-toast-overall-fill {
|
||||
height: 100%;
|
||||
background: var(--color-accent);
|
||||
width: 0%;
|
||||
transition: width 0.25s ease;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.upload-toast-stats {
|
||||
font-size: 12px;
|
||||
color: var(--color-text-faint2);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
.file-icon {
|
||||
width: 100px;
|
||||
height: 70px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -33,12 +33,25 @@
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
z-index: 1;
|
||||
/* The thumbnail is purely decorative — it must never be a hit-test target.
|
||||
In grid view it fills the whole tile UNDER the overlay controls (checkbox,
|
||||
favorite star, kebab); a loaded full-bleed thumbnail (promoted to its own
|
||||
stacking context by the hover scale transform) was capturing clicks meant
|
||||
for those controls, so they "did nothing" (the click fell through to
|
||||
open-file). Making it transparent to pointer events routes corner clicks
|
||||
to the controls and body clicks to the .file-icon (which still opens). */
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* ── Item states ─────────────────────────────────────────── */
|
||||
|
||||
.file-item {
|
||||
background-color: var(--color-item);
|
||||
/* Smooth the hover/selection tint (list rows used to snap). Grid cards
|
||||
override this with their own transform/shadow transition. */
|
||||
transition:
|
||||
background-color var(--motion-fast) var(--ease-standard),
|
||||
border-color var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
/* Brief pulse on rows that were just optimistically inserted (e.g.
|
||||
@@ -129,7 +142,7 @@
|
||||
height: 17px;
|
||||
cursor: pointer;
|
||||
accent-color: var(--color-accent);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.list-header.selection-mode {
|
||||
@@ -148,9 +161,9 @@
|
||||
.list-header {
|
||||
display: grid;
|
||||
grid-template-columns: var(--files-list-columns);
|
||||
column-gap: 12px;
|
||||
column-gap: var(--space-3);
|
||||
padding: 15px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text);
|
||||
background-color: var(--color-bg-subtle);
|
||||
border-bottom: 1px solid var(--color-border-faint);
|
||||
@@ -198,6 +211,42 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* ── Sortable column headers (flat Drive-style sort) ─────────── */
|
||||
.list-header-sort {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1-5);
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
/* Inherit the header row's weight + colour so it reads as a header. */
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
transition: color var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.list-header-sort:hover,
|
||||
.list-header-sort.is-active {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.list-header-sort__arrow {
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-accent);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Match the value-cell alignment so header and data line up. */
|
||||
.list-header-sort[data-sort-field="size"] {
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
.list-header-sort[data-sort-field="modified_at"] {
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
/* ── Owner column ────────────────────────────────────────── */
|
||||
|
||||
/* Styles applied whenever the cell is visible (hidden class absent).
|
||||
@@ -215,7 +264,7 @@
|
||||
plain-text fallback content (cells without a vignette child). */
|
||||
.owner-cell {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
@@ -234,7 +283,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
background-color: var(--color-item);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-xs);
|
||||
@@ -243,11 +292,21 @@
|
||||
.files-list-view .file-item {
|
||||
display: grid;
|
||||
grid-template-columns: var(--files-list-columns);
|
||||
column-gap: 12px;
|
||||
padding: 12px 15px;
|
||||
column-gap: var(--space-3);
|
||||
padding: var(--space-3) 15px;
|
||||
border-bottom: 1px solid var(--color-border-xfaint);
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background-color var(--motion-fast) var(--ease-standard),
|
||||
box-shadow var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
/* "This row" emphasis — a left accent bar on hover/selection (inset shadow,
|
||||
so it adds no width and never shifts the grid columns). */
|
||||
.files-list-view .file-item:hover,
|
||||
.files-list-view .file-item.selected {
|
||||
box-shadow: inset 3px 0 0 var(--color-accent);
|
||||
}
|
||||
|
||||
.files-list-view .file-item.drop-target {
|
||||
@@ -258,7 +317,7 @@
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -290,13 +349,16 @@
|
||||
}
|
||||
|
||||
.files-list-view .file-item .file-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
font-size: 16px;
|
||||
border-radius: var(--radius-lg);
|
||||
/* Hairline inner ring — consistent with the grid thumbnails so light
|
||||
previews don't bleed into the row. */
|
||||
box-shadow: inset 0 0 0 1px var(--color-border);
|
||||
font-size: var(--text-md);
|
||||
margin-bottom: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -309,20 +371,20 @@
|
||||
|
||||
.files-list-view .file-item .date-cell {
|
||||
color: var(--color-text-muted);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.files-list-view .file-item .size-cell {
|
||||
color: var(--color-text-muted);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
text-align: right;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.files-list-view .file-item .type-cell {
|
||||
color: var(--color-text-secondary);
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
font-weight: var(--weight-medium);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.files-list-view .file-item .action-cell {
|
||||
@@ -338,14 +400,14 @@
|
||||
display: inline;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: none;
|
||||
background: transparent;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.files-list-view .file-item .action-cell button:not(.btn-action):hover {
|
||||
@@ -363,12 +425,27 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Reveal the kebab on hover for cleaner rows — but only on hover-capable
|
||||
devices, so touch users (no hover) keep it always tappable. Stays visible
|
||||
on keyboard focus within the row. */
|
||||
@media (hover: hover) {
|
||||
.files-list-view .file-item .action-cell button.file-actions {
|
||||
opacity: 0;
|
||||
transition: opacity var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-list-view .file-item:hover .action-cell button.file-actions,
|
||||
.files-list-view .file-item:focus-within .action-cell button.file-actions {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Grid view ───────────────────────────────────────────── */
|
||||
|
||||
.files-grid-view {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 20px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(var(--grid-card-min), 1fr));
|
||||
gap: var(--space-5);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -377,18 +454,66 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ── Mobile reflow (≤ --bp-sm 640px) ──────────────────────────
|
||||
The 6-column grid can't fit a phone, so each list row collapses to a
|
||||
compact flex line (icon + name … size + actions) and the column header
|
||||
is hidden (sort controls live in the actions bar). One block covers
|
||||
files / trash / favorites / recent uniformly; flex ignores the grid
|
||||
tracks, so there's no header-vs-row misalignment to maintain. */
|
||||
@media (max-width: 640px) {
|
||||
/* Keep the selection-mode header (holds select-all); hide the plain one. */
|
||||
.list-header:not(.selection-mode) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.files-list-view .file-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.files-list-view .file-item .type-cell,
|
||||
.files-list-view .file-item .date-cell,
|
||||
.files-list-view .file-item .owner-cell,
|
||||
.files-list-view .file-item .path-cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.files-list-view .file-item .name-cell {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.files-list-view .file-item .checkbox-cell,
|
||||
.files-list-view .file-item .size-cell,
|
||||
.files-list-view .file-item .action-cell {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Tighter grid on phones (2 columns instead of 1). */
|
||||
.files-grid-view {
|
||||
--grid-card-min: 140px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
}
|
||||
|
||||
.files-grid-view .file-item {
|
||||
border-radius: 12px;
|
||||
border: 2px solid var(--color-border);
|
||||
padding: 16px;
|
||||
border-radius: var(--radius-2xl);
|
||||
/* Hairline at rest → accent on hover (gallery, not form). */
|
||||
border: 1px solid var(--color-border);
|
||||
padding: var(--space-3);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
box-shadow: 0 1px 3px var(--color-shadow-xs);
|
||||
box-shadow: 0 1px 2px var(--color-shadow-xs);
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
min-height: 160px;
|
||||
position: relative;
|
||||
transition:
|
||||
transform var(--motion-base) var(--ease-standard),
|
||||
box-shadow var(--motion-base) var(--ease-standard),
|
||||
border-color var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item.dragging {
|
||||
@@ -398,9 +523,19 @@
|
||||
}
|
||||
|
||||
.files-grid-view .file-item:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px var(--color-shadow-sm);
|
||||
border-color: var(--color-border-medium);
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 12px 28px -8px var(--color-shadow-md);
|
||||
border-color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* The thumbnail subtly zooms inside its clipped tile on hover — the "alive"
|
||||
feel of a premium gallery. */
|
||||
.files-grid-view .file-item .file-icon .file-thumb {
|
||||
transition: transform var(--motion-moderate) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item:hover .file-icon .file-thumb {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item.selected {
|
||||
@@ -416,63 +551,115 @@
|
||||
0 6px 18px var(--color-accent-ring-dark);
|
||||
}
|
||||
|
||||
/* elements hidden in grid view */
|
||||
/* elements hidden in grid view — the type label ("Imagen") is redundant under
|
||||
a thumbnail, so we drop it and surface the file size instead. */
|
||||
.files-grid-view .file-item .date-cell,
|
||||
.files-grid-view .file-item .size-cell,
|
||||
.files-grid-view .file-item .type-cell,
|
||||
.files-grid-view .file-item .owner-cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Selection checkbox */
|
||||
/* Overlay controls sit ON the thumbnail (offset by the card padding) over a
|
||||
frosted scrim, so they read as part of the media instead of floating on the
|
||||
card corner. */
|
||||
.files-grid-view .file-item .checkbox-cell {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 6px;
|
||||
background: var(--color-item);
|
||||
top: calc(var(--space-3) + 8px);
|
||||
left: calc(var(--space-3) + 8px);
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-scrim-control);
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
transition: opacity var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item:hover .checkbox-cell {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Visible whenever the card is hovered OR already selected, so the checked
|
||||
state stays on screen after the pointer leaves. */
|
||||
.files-grid-view .file-item:hover .checkbox-cell,
|
||||
.files-grid-view .file-item.selected .checkbox-cell {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Custom-drawn checkbox: an empty white box that fills with accent and shows a
|
||||
crisp white tick when checked. The native 17px control was invisible once the
|
||||
cell turned accent on selection (accent-on-accent), and the intended tick
|
||||
targeted a `.checkbox-cell i` the markup never renders — so a click read as
|
||||
"nothing happened". This makes the checked state unmistakable. */
|
||||
.files-grid-view .file-item .checkbox-cell input[type="checkbox"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
border: 2px solid var(--color-border-medium);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-bg-surface);
|
||||
display: grid;
|
||||
place-content: center;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background-color var(--motion-fast) var(--ease-standard),
|
||||
border-color var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .checkbox-cell input[type="checkbox"]::after {
|
||||
content: "";
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
margin-top: -1px;
|
||||
border: solid var(--color-danger-text);
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg) scale(0);
|
||||
transform-origin: center;
|
||||
transition: transform var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .checkbox-cell input[type="checkbox"]:checked {
|
||||
background: var(--color-accent);
|
||||
border-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item.selected .checkbox-cell i {
|
||||
color: var(--color-danger-text);
|
||||
font-size: 11px;
|
||||
.files-grid-view .file-item .checkbox-cell input[type="checkbox"]:checked::after {
|
||||
transform: rotate(45deg) scale(1);
|
||||
}
|
||||
|
||||
/* More actions button (three dots) */
|
||||
.files-grid-view .file-item .checkbox-cell input[type="checkbox"]:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* More actions button (three dots) — top-right of the thumbnail on a scrim. */
|
||||
.files-grid-view .file-item .file-actions {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
top: calc(var(--space-3) + 8px);
|
||||
right: calc(var(--space-3) + 8px);
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-full);
|
||||
border: none;
|
||||
background: transparent;
|
||||
background: var(--color-scrim-control);
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 16px;
|
||||
color: var(--color-text);
|
||||
font-size: var(--text-md);
|
||||
transition: opacity var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item:hover .file-actions {
|
||||
@@ -480,8 +667,7 @@
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .file-actions:hover {
|
||||
background: var(--color-border-light);
|
||||
color: var(--color-text-dark);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item.drop-target {
|
||||
@@ -489,44 +675,53 @@
|
||||
border: 2px dashed var(--color-warning-border);
|
||||
}
|
||||
|
||||
/* "Shared" indicator — top-left of the thumbnail. Sits below the checkbox
|
||||
(which only appears on hover), so the two never both compete for the eye. */
|
||||
.files-grid-view .file-item .file-badge-shared {
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
right: 38px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
top: calc(var(--space-3) + 8px);
|
||||
left: calc(var(--space-3) + 8px);
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: var(--radius-full);
|
||||
border: none;
|
||||
background: transparent;
|
||||
background: var(--color-scrim-control);
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 12;
|
||||
font-size: 15px;
|
||||
z-index: 9;
|
||||
font-size: var(--text-2xs);
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
line-height: var(--leading-none);
|
||||
}
|
||||
|
||||
/* Favorite star (mirrors file-actions button pattern) */
|
||||
/* Favorite star — top-right of the thumbnail, left of the kebab, on a scrim. */
|
||||
.files-grid-view .file-item button.favorite-star {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 38px;
|
||||
top: calc(var(--space-3) + 8px);
|
||||
right: calc(var(--space-3) + 8px + 34px);
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-full);
|
||||
border: none;
|
||||
background: transparent;
|
||||
background: var(--color-scrim-control);
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
z-index: 12;
|
||||
cursor: pointer;
|
||||
color: var(--color-border-medium);
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 15px;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
line-height: var(--leading-none);
|
||||
transition: opacity var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item:hover button.favorite-star {
|
||||
@@ -547,45 +742,120 @@
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .name-cell {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: 2px;
|
||||
color: var(--color-text);
|
||||
/* Span the full card width. The card is a centered flex column
|
||||
(`align-items: center`), so without an explicit width the name-cell —
|
||||
which wraps BOTH the thumbnail tile and the filename — shrink-wraps to
|
||||
the filename's length. That made `.file-icon { width: 100% }` track the
|
||||
NAME width, so a long name ("CURSO TERRAFORM") rendered a big tile and a
|
||||
short one ("Idiomas") a small one. Forcing 100% makes every thumbnail
|
||||
tile identical regardless of name length. */
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .name-cell span {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
/* Ellipsis must live on the span (the text node), not the flex parent,
|
||||
or long names clip with no "…". */
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding-top: var(--space-2);
|
||||
padding-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .name-cell svg.favorite-star-inline {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .type-cell {
|
||||
font-size: 12px;
|
||||
color: var(--color-text-muted);
|
||||
text-align: center;
|
||||
/* The grid card's secondary line is now the combined .grid-meta block
|
||||
("hace 2 días · 4,31 MB"), so the standalone size-cell is hidden here. */
|
||||
.files-grid-view .file-item .size-cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ── Grid metadata line — recency + size (+ owner avatar when shared) ──────
|
||||
Replaces the lone "4,31 MB": a top file app captions a thumbnail with WHEN
|
||||
it was touched (the dominant retrieval cue), not just bytes. Hidden
|
||||
everywhere except the grid — list view keeps its own date/size/owner
|
||||
columns, so a display:none here drops it cleanly out of the row grid. */
|
||||
.grid-meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .grid-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-1);
|
||||
max-width: 100%;
|
||||
margin-top: 2px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-muted);
|
||||
line-height: var(--leading-snug);
|
||||
}
|
||||
|
||||
/* On a narrow card the relative date truncates first; the size never clips. */
|
||||
.files-grid-view .file-item .grid-meta__date {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .grid-meta__size {
|
||||
flex: 0 0 auto;
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .grid-meta__size::before {
|
||||
content: "·";
|
||||
margin-right: var(--space-1);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
/* Owner avatar — only rendered when the item is shared; sits at the line end. */
|
||||
.files-grid-view .file-item .grid-meta .user-vignette {
|
||||
flex: 0 0 auto;
|
||||
margin-left: var(--space-1);
|
||||
}
|
||||
|
||||
/* Full-width thumbnail tile with a fixed aspect ratio — the image
|
||||
(`.file-thumb`, object-fit:cover) fills it edge-to-edge for a uniform,
|
||||
rich grid instead of a small letterboxed preview. Non-image files show
|
||||
their type icon centred on the placeholder fill. */
|
||||
.files-grid-view .file-item .file-icon {
|
||||
margin: auto;
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 4 / 3;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-input);
|
||||
/* Hairline inner ring so light thumbnails don't bleed into the card. */
|
||||
box-shadow: inset 0 0 0 1px var(--color-border);
|
||||
margin: 0 0 var(--space-3);
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
/* Type icon for non-thumbnail files (documents, etc.) — perfectly centered in
|
||||
the tile. `inset: 0` + `margin: auto` + a fixed size is the absolute-centering
|
||||
trick; the previous `top: auto` broke the vertical half, bottom-anchoring the
|
||||
icon so it sat low in the tile. */
|
||||
.files-grid-view .file-item .file-icon > i,
|
||||
.files-grid-view .file-item .file-icon > svg {
|
||||
top: 5px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
inset: 0;
|
||||
margin: auto;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
/* ── Drag ghost ──────────────────────────────────────────── */
|
||||
@@ -595,17 +865,17 @@
|
||||
flex-direction: column;
|
||||
background-color: transparent;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dragged-items .file-item {
|
||||
grid-template-columns: var(--dragged-files-list-columns);
|
||||
column-gap: 12px;
|
||||
column-gap: var(--space-3);
|
||||
align-items: center;
|
||||
background-color: var(--color-item);
|
||||
display: flex;
|
||||
padding: 4px;
|
||||
padding: var(--space-1);
|
||||
width: 360px;
|
||||
height: 46px;
|
||||
color: var(--color-text);
|
||||
@@ -633,17 +903,17 @@
|
||||
top: 0;
|
||||
right: 0;
|
||||
transform: translate(50%, -50%);
|
||||
background: var(--color-content-debug-bg);
|
||||
color: var(--color-content-debug-text);
|
||||
background: var(--color-notification-badge);
|
||||
color: var(--color-danger-text);
|
||||
border-radius: 50%;
|
||||
min-width: 20px;
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
padding: 2px;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-bold);
|
||||
padding: var(--space-0-5);
|
||||
}
|
||||
|
||||
/* ── Swimlane group header ───────────────────────────────── */
|
||||
@@ -652,14 +922,14 @@
|
||||
grid wraps it naturally. */
|
||||
.resource-list__swimlane-header {
|
||||
grid-column: 1 / -1;
|
||||
padding: 6px 12px 4px;
|
||||
padding: var(--space-1-5) var(--space-3) var(--space-1);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--color-text-faint);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
}
|
||||
@@ -675,11 +945,11 @@
|
||||
.resource-list__swimlane-header--node {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4px 12px;
|
||||
padding: var(--space-1) var(--space-3);
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
font-size: inherit;
|
||||
font-weight: normal;
|
||||
font-weight: var(--weight-normal);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -692,13 +962,13 @@
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
overflow: visible;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
|
||||
/* Each group is a self-contained card */
|
||||
.files-list-view .resource-list__swimlane-group {
|
||||
background-color: var(--color-item);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-xs);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -717,7 +987,7 @@
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: subgrid;
|
||||
gap: 20px;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
/* ── Section item modifiers ──────────────────────────────── */
|
||||
@@ -778,7 +1048,7 @@
|
||||
*/
|
||||
.files-list-view .file-item .path-cell {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -798,12 +1068,12 @@
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -813,5 +1083,5 @@
|
||||
}
|
||||
|
||||
.files-grid-view .file-item .btn-action {
|
||||
margin-top: 4px;
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
gap: 4px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-0-5) var(--space-2);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,37 +3,37 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 0;
|
||||
padding: var(--space-2-5) 0;
|
||||
margin-bottom: 15px;
|
||||
border-bottom: 1px solid var(--color-bg-empty);
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.search-results-header h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
color: var(--color-text-dim);
|
||||
}
|
||||
|
||||
.search-results-header .search-time {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-normal);
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.search-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.search-sort-select {
|
||||
padding: 4px 8px;
|
||||
padding: var(--space-1) var(--space-2);
|
||||
border: 1px solid var(--color-border-ddd);
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--text-sm);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text-black);
|
||||
cursor: pointer;
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
.existing-share-item {
|
||||
background-color: var(--color-bg-subtle);
|
||||
border-radius: 4px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
border-radius: var(--radius-sm);
|
||||
padding: var(--space-2-5);
|
||||
margin-bottom: var(--space-2-5);
|
||||
}
|
||||
|
||||
.share-url {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -27,10 +27,10 @@
|
||||
}
|
||||
|
||||
.share-info {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: var(--space-2-5);
|
||||
color: var(--color-share-owner-text);
|
||||
}
|
||||
|
||||
@@ -50,19 +50,19 @@
|
||||
|
||||
.share-link-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
font-size: 12px;
|
||||
padding: 5px 10px;
|
||||
font-size: var(--text-xs);
|
||||
padding: 5px var(--space-2-5);
|
||||
}
|
||||
|
||||
#notification-message {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
border: 1px solid var(--color-border-ddd);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
.smd-section {
|
||||
border-top: 0.5px solid var(--color-border);
|
||||
padding: 16px 20px;
|
||||
padding: var(--space-4) var(--space-5);
|
||||
}
|
||||
|
||||
.smd-section:first-child {
|
||||
@@ -27,12 +27,12 @@
|
||||
}
|
||||
|
||||
.smd-section-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
/* ── Loading skeleton ────────────────────────────────────────────────────────── */
|
||||
@@ -40,14 +40,14 @@
|
||||
.smd-skeleton {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 20px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.smd-skeleton-line {
|
||||
height: 14px;
|
||||
background: var(--color-bg-muted);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
animation: smdSkeletonPulse 1.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@@ -73,10 +73,10 @@
|
||||
|
||||
.smd-search-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
|
||||
.smd-search-wrap {
|
||||
@@ -87,10 +87,10 @@
|
||||
|
||||
.smd-search-input {
|
||||
width: 100%;
|
||||
padding: 9px 12px;
|
||||
font-size: 14px;
|
||||
padding: 9px var(--space-3);
|
||||
font-size: var(--text-base);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
outline: none;
|
||||
@@ -112,7 +112,7 @@
|
||||
right: 0;
|
||||
background: var(--color-bg-surface);
|
||||
border: 0.5px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 8px 24px var(--color-shadow-xl);
|
||||
z-index: 100;
|
||||
overflow: hidden;
|
||||
@@ -121,8 +121,8 @@
|
||||
.smd-suggestion-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 9px 12px;
|
||||
gap: var(--space-2-5);
|
||||
padding: 9px var(--space-3);
|
||||
cursor: pointer;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
@@ -149,17 +149,17 @@
|
||||
.smd-suggestion-hint {
|
||||
margin-left: auto;
|
||||
color: var(--color-text-faint);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
font-style: italic;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Role picker beside the search box */
|
||||
.smd-role-select {
|
||||
padding: 9px 10px;
|
||||
font-size: 13px;
|
||||
padding: 9px var(--space-2-5);
|
||||
font-size: var(--text-sm);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
cursor: pointer;
|
||||
@@ -170,10 +170,10 @@
|
||||
.smd-add-btn {
|
||||
min-height: 36px;
|
||||
min-width: 44px;
|
||||
padding: 8px 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-2) var(--space-3-5);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
/* ── Staged chips ────────────────────────────────────────────────────────────── */
|
||||
@@ -181,19 +181,19 @@
|
||||
.smd-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
gap: var(--space-1-5);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.smd-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 8px 4px 4px;
|
||||
gap: var(--space-1-5);
|
||||
padding: var(--space-1) var(--space-2) var(--space-1) var(--space-1);
|
||||
border: 0.5px solid var(--color-border-medium);
|
||||
border-radius: 20px;
|
||||
border-radius: var(--radius-4xl);
|
||||
background: var(--color-bg-hover);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@
|
||||
/* ── Member group headings ───────────────────────────────────────────────────── */
|
||||
|
||||
.smd-group {
|
||||
margin-top: 12px;
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.smd-group:first-child {
|
||||
@@ -232,13 +232,13 @@
|
||||
.smd-group-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-1-5);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
|
||||
.smd-group-badge {
|
||||
@@ -249,8 +249,8 @@
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
border-radius: 9px;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-bold);
|
||||
background: var(--color-bg-muted);
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
@@ -260,7 +260,7 @@
|
||||
.smd-member-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
padding: 7px 0;
|
||||
}
|
||||
|
||||
@@ -271,10 +271,10 @@
|
||||
}
|
||||
|
||||
.smd-member-role-select {
|
||||
font-size: 13px;
|
||||
padding: 4px 8px;
|
||||
font-size: var(--text-sm);
|
||||
padding: var(--space-1) var(--space-2);
|
||||
border: 0.5px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
cursor: pointer;
|
||||
@@ -291,7 +291,7 @@
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
color: var(--color-text-faint);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
padding: 0;
|
||||
transition:
|
||||
background 0.1s,
|
||||
@@ -309,10 +309,10 @@
|
||||
/* ── Fallback when user-directory is unavailable ────────────────────────────── */
|
||||
|
||||
.smd-directory-unavailable {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-faint);
|
||||
font-style: italic;
|
||||
padding: 4px 0 8px;
|
||||
padding: var(--space-1) 0 var(--space-2);
|
||||
}
|
||||
|
||||
/* ── Link rows ───────────────────────────────────────────────────────────────── */
|
||||
@@ -320,8 +320,8 @@
|
||||
.smd-link-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 0;
|
||||
gap: var(--space-2-5);
|
||||
padding: var(--space-2) 0;
|
||||
}
|
||||
|
||||
.smd-link-icon {
|
||||
@@ -335,7 +335,7 @@
|
||||
justify-content: center;
|
||||
color: var(--color-text-subtle);
|
||||
flex-shrink: 0;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.smd-link-info {
|
||||
@@ -346,7 +346,7 @@
|
||||
.smd-link-name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-heading);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -355,15 +355,15 @@
|
||||
|
||||
.smd-link-tags {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
margin-top: 3px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.smd-link-tag {
|
||||
font-size: 11px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-size: var(--text-2xs);
|
||||
padding: var(--space-0-5) var(--space-1-5);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-bg-muted);
|
||||
color: var(--color-text-subtle);
|
||||
border: 0.5px solid var(--color-border);
|
||||
@@ -372,37 +372,37 @@
|
||||
|
||||
.smd-link-actions {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
gap: var(--space-0-5);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ── Inline edit sub-panel ───────────────────────────────────────────────────── */
|
||||
|
||||
.smd-edit-panel {
|
||||
margin: 4px 0 8px 42px;
|
||||
padding: 12px;
|
||||
margin: var(--space-1) 0 var(--space-2) 42px;
|
||||
padding: var(--space-3);
|
||||
background: var(--color-bg-hover);
|
||||
border: 0.5px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
|
||||
.smd-edit-panel label {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
.smd-edit-input {
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
font-size: 13px;
|
||||
padding: var(--space-2) var(--space-2-5);
|
||||
font-size: var(--text-sm);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text-heading);
|
||||
outline: none;
|
||||
@@ -418,7 +418,7 @@
|
||||
.smd-edit-panel-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
/* ── New-link creation button + form ─────────────────────────────────────────── */
|
||||
@@ -427,15 +427,15 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin-top: 8px;
|
||||
font-size: 13px;
|
||||
padding: var(--space-2-5);
|
||||
margin-top: var(--space-2);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-subtle);
|
||||
background: none;
|
||||
border: 1.5px dashed var(--color-border-medium);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background 0.15s,
|
||||
@@ -454,8 +454,8 @@
|
||||
.smd-pw-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
gap: var(--space-2);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-secondary);
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
@@ -472,7 +472,7 @@
|
||||
border-radius: 50%;
|
||||
animation: smdSpin 0.6s linear infinite;
|
||||
vertical-align: middle;
|
||||
margin-left: 6px;
|
||||
margin-left: var(--space-1-5);
|
||||
}
|
||||
|
||||
@keyframes smdSpin {
|
||||
@@ -500,10 +500,10 @@
|
||||
gap: 5px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 4px 8px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-1) var(--space-2);
|
||||
font-size: var(--text-base);
|
||||
border: 1px dashed var(--color-border-medium);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
background: transparent;
|
||||
color: var(--color-text-faint);
|
||||
cursor: pointer;
|
||||
@@ -534,8 +534,8 @@
|
||||
}
|
||||
|
||||
.smd-expiry-chip-clear {
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
font-size: var(--text-sm);
|
||||
line-height: var(--leading-none);
|
||||
color: var(--color-text-faint);
|
||||
margin-left: auto;
|
||||
padding: 0;
|
||||
@@ -549,10 +549,10 @@
|
||||
.smd-expiry-date-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 4px 8px;
|
||||
font-size: 12px;
|
||||
padding: var(--space-1) var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
border: 1px solid var(--color-accent);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text-heading);
|
||||
outline: none;
|
||||
@@ -563,6 +563,6 @@
|
||||
Add button (both use padding: 9px, font-size: 13px). */
|
||||
.smd-search-row .smd-expiry-chip,
|
||||
.smd-search-row .smd-expiry-date-input {
|
||||
padding: 9px 10px;
|
||||
font-size: 13px;
|
||||
padding: 9px var(--space-2-5);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
Vendored
+93
@@ -0,0 +1,93 @@
|
||||
/* ============================================================
|
||||
* Reusable loading-skeleton primitive.
|
||||
*
|
||||
* A `.skeleton` element pulses; modifiers shape it into lines,
|
||||
* list rows (mirroring the file-list grid), or grid tiles. Used to
|
||||
* hold layout during first load instead of a centred spinner that
|
||||
* makes the list flash empty. Honors reduced-motion via the global
|
||||
* guard in base/a11y.css.
|
||||
*
|
||||
* (shareModal's bespoke .smd-skeleton predates this and can migrate
|
||||
* onto it when its loader is next touched.)
|
||||
* ============================================================ */
|
||||
|
||||
.skeleton {
|
||||
background: var(--color-bg-muted);
|
||||
border-radius: var(--radius-md);
|
||||
animation: skeletonPulse 1.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.skeleton-line {
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.skeleton-line--short {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.skeleton-line--medium {
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
.skeleton-line--full {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* A loading row shaped like a file-list row (inherits the list's grid
|
||||
columns; falls back to icon + name + meta when used standalone). */
|
||||
.skeleton-row {
|
||||
display: grid;
|
||||
grid-template-columns: var(--files-list-columns, 36px 1fr 90px);
|
||||
column-gap: var(--space-3);
|
||||
align-items: center;
|
||||
padding: var(--space-3) 15px;
|
||||
border-bottom: 1px solid var(--color-border-xfaint);
|
||||
}
|
||||
|
||||
/* A square loading tile for the photo/file grid. */
|
||||
.skeleton-tile {
|
||||
aspect-ratio: 1;
|
||||
width: 100%;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
/* File-grid loading card — mirrors the real grid card (4:3 thumbnail tile +
|
||||
name line + meta line). The card frame itself doesn't pulse; its inner
|
||||
`.skeleton` elements do. Dropped straight into `.files-grid-view`. */
|
||||
.skeleton-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-4);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: var(--radius-2xl);
|
||||
}
|
||||
|
||||
.skeleton-card .skeleton-thumb {
|
||||
width: 100%;
|
||||
aspect-ratio: 4 / 3;
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.skeleton-card .skeleton-line {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
/* Small leading icon block for list-row skeletons. */
|
||||
.skeleton-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
@keyframes skeletonPulse {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
@@ -4,8 +4,8 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 20px;
|
||||
gap: 16px;
|
||||
padding: var(--space-20) var(--space-5);
|
||||
gap: var(--space-4);
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
@@ -18,36 +18,61 @@
|
||||
animation: spin 0.7s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/* @keyframes spin → base/animations.css (canonical, loaded via main.css). */
|
||||
|
||||
.files-loading-spinner span {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-placeholder);
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
/* Full-area drop overlay. Hidden by default; shown over the content region
|
||||
(right of the sidebar) while files are dragged into the Files section
|
||||
(toggled in ui.js). Frosted backdrop + dashed border = a clear "drop here"
|
||||
affordance instead of a small inline box. */
|
||||
.dropzone {
|
||||
border: 2px dashed var(--color-border-ddd);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
position: fixed;
|
||||
top: var(--space-4);
|
||||
right: var(--space-4);
|
||||
bottom: var(--space-4);
|
||||
left: calc(var(--sidebar-width) + var(--space-4));
|
||||
z-index: var(--z-overlay);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
border: 3px dashed var(--color-border-medium);
|
||||
border-radius: var(--radius-3xl);
|
||||
background: var(--color-scrim-control);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--weight-semibold);
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
color: var(--color-text-medium);
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Children don't catch pointer events, so moving over the icon/text doesn't
|
||||
fire dragleave on the overlay (avoids show/hide flicker). */
|
||||
.dropzone > * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dropzone-icon {
|
||||
font-size: 32px;
|
||||
margin-bottom: 10px;
|
||||
font-size: var(--text-6xl);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.dropzone.active {
|
||||
border-color: var(--color-accent);
|
||||
background-color: var(--color-accent-ring-xs);
|
||||
color: var(--color-accent-text);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.dropzone {
|
||||
left: var(--space-4);
|
||||
}
|
||||
}
|
||||
|
||||
.upload-progress {
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
position: fixed;
|
||||
min-width: 0;
|
||||
max-width: 280px;
|
||||
padding: 6px 10px;
|
||||
padding: var(--space-1-5) var(--space-2-5);
|
||||
background-color: var(--color-text);
|
||||
color: var(--color-bg-page);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-normal);
|
||||
text-align: left;
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: 0 2px 8px var(--color-shadow);
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
@@ -76,13 +76,13 @@
|
||||
so the count reads as meta-information, not just another line. */
|
||||
.oxi-tooltip-popover__overflow {
|
||||
display: inline-block;
|
||||
margin-top: 4px;
|
||||
margin-top: var(--space-1);
|
||||
padding: 1px 7px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-bg-page);
|
||||
background-color: var(--color-text-faint);
|
||||
border-radius: 9999px;
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
/* Placeholder line shown briefly between the first hover and the
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
.upload-dropdown .btn-primary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
|
||||
.upload-dropdown-menu {
|
||||
@@ -17,7 +17,7 @@
|
||||
left: 0;
|
||||
min-width: 200px;
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
box-shadow: 0 8px 30px var(--color-shadow-md);
|
||||
border: 1px solid var(--color-border);
|
||||
z-index: 1000;
|
||||
@@ -39,13 +39,13 @@
|
||||
.upload-dropdown-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--color-text-dark);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease;
|
||||
text-align: left;
|
||||
@@ -71,6 +71,6 @@
|
||||
}
|
||||
|
||||
.upload-caret {
|
||||
margin-left: 4px;
|
||||
font-size: 12px;
|
||||
margin-left: var(--space-1);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
@@ -5,27 +5,32 @@
|
||||
|
||||
.user-avatar-btn {
|
||||
background: none;
|
||||
border: 2px solid transparent;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
padding: 2px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
transition: all 0.25s ease;
|
||||
transition: transform var(--motion-base) var(--ease-standard);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Premium hover: ONE soft accent ring hugging the avatar + a gentle warm glow
|
||||
+ a subtle pop — replaces the old heavy double halo (button border ring with
|
||||
a gap + a second avatar ring). */
|
||||
.user-avatar-btn:hover {
|
||||
border-color: var(--color-accent-ring-xl);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.user-avatar-btn:hover .user-vignette__avatar {
|
||||
box-shadow: 0 0 0 2px var(--color-accent-ring-strong);
|
||||
box-shadow:
|
||||
0 0 0 3px var(--color-accent-ring),
|
||||
0 3px 12px -2px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
.user-menu-wrapper.open .user-avatar-btn {
|
||||
border-color: var(--color-accent);
|
||||
/* Menu open: a slightly firmer ring (same clean single-ring language). */
|
||||
.user-menu-wrapper.open .user-avatar-btn .user-vignette__avatar {
|
||||
box-shadow: 0 0 0 3px var(--color-accent-ring-strong);
|
||||
}
|
||||
|
||||
/* ── Avatar vignette overrides ────────────────────────────────────────────── */
|
||||
@@ -37,6 +42,9 @@
|
||||
.user-avatar-btn .user-vignette__avatar {
|
||||
letter-spacing: 0.5px;
|
||||
user-select: none;
|
||||
/* Animate the ring/glow smoothly in AND out (transition on the base, not
|
||||
:hover). */
|
||||
transition: box-shadow var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
|
||||
.user-menu-header .user-vignette__avatar {
|
||||
@@ -52,7 +60,7 @@
|
||||
left: auto;
|
||||
width: 300px;
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow:
|
||||
0 12px 40px var(--color-shadow-md),
|
||||
0 0 0 1px var(--color-shadow-xs);
|
||||
@@ -84,8 +92,8 @@
|
||||
.user-menu-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 20px 20px 16px;
|
||||
gap: var(--space-3-5);
|
||||
padding: var(--space-5) var(--space-5) var(--space-4);
|
||||
background: var(--color-user-menu-header-bg);
|
||||
border-bottom: 1px solid var(--color-user-menu-header-border);
|
||||
}
|
||||
@@ -99,7 +107,7 @@
|
||||
/* Increase name prominence relative to the base vignette style. */
|
||||
.user-menu-header .user-vignette__name {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
@@ -109,23 +117,23 @@
|
||||
}
|
||||
|
||||
.user-menu-storage {
|
||||
padding: 14px 20px;
|
||||
padding: var(--space-3-5) var(--space-5);
|
||||
}
|
||||
|
||||
.user-menu-storage-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.user-menu-storage-label i {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
@@ -134,7 +142,7 @@
|
||||
background: var(--color-border-light);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
|
||||
.user-menu-storage-fill {
|
||||
@@ -153,25 +161,26 @@
|
||||
.user-menu-divider {
|
||||
height: 1px;
|
||||
background: var(--color-border-light);
|
||||
margin: 4px 0;
|
||||
margin: var(--space-1) 0;
|
||||
}
|
||||
|
||||
.user-menu-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
width: 100%;
|
||||
padding: 12px 20px;
|
||||
padding: var(--space-3) var(--space-5);
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--color-text-dark);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.user-menu-item:hover {
|
||||
.user-menu-item:hover,
|
||||
.user-menu-item:focus-visible {
|
||||
background: var(--color-bg-hover);
|
||||
}
|
||||
|
||||
@@ -200,9 +209,9 @@
|
||||
display: inline-flex;
|
||||
background: var(--color-bg-muted);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 999px;
|
||||
padding: 2px;
|
||||
gap: 2px;
|
||||
border-radius: var(--radius-full);
|
||||
padding: var(--space-0-5);
|
||||
gap: var(--space-0-5);
|
||||
}
|
||||
|
||||
.theme-segmented__opt {
|
||||
@@ -214,9 +223,9 @@
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--color-text-subtle);
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
padding: 0;
|
||||
transition:
|
||||
background 0.15s ease,
|
||||
@@ -249,17 +258,17 @@
|
||||
}
|
||||
|
||||
.user-menu-role-badge {
|
||||
padding: 0 20px 4px;
|
||||
padding: 0 var(--space-5) var(--space-1);
|
||||
}
|
||||
|
||||
.role-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 2px 10px;
|
||||
border-radius: 10px;
|
||||
gap: var(--space-1);
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
padding: var(--space-0-5) var(--space-2-5);
|
||||
border-radius: var(--radius-xl);
|
||||
}
|
||||
|
||||
.role-badge-admin {
|
||||
@@ -273,7 +282,7 @@
|
||||
|
||||
.user-menu-logout {
|
||||
color: var(--color-danger-alt);
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
.user-menu-logout i {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
.user-vignette {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -32,7 +32,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
flex-shrink: 0;
|
||||
/* Diameter comes from `--avatar-size`, declared per size variant on
|
||||
the wrapper so the origin badge (a wrapper sibling or an avatar
|
||||
@@ -50,7 +50,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
}
|
||||
|
||||
.user-vignette__email {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -102,14 +102,14 @@
|
||||
--avatar-size: 36px;
|
||||
}
|
||||
.user-vignette--list .user-vignette__avatar {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.user-vignette--md {
|
||||
--avatar-size: 32px;
|
||||
}
|
||||
.user-vignette--md .user-vignette__avatar {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.user-vignette--lg {
|
||||
@@ -123,7 +123,7 @@
|
||||
--avatar-size: 38px;
|
||||
}
|
||||
.user-vignette--menu .user-vignette__avatar {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.user-vignette--xl {
|
||||
@@ -220,7 +220,7 @@
|
||||
|
||||
.user-vignette__origin {
|
||||
flex-shrink: 0;
|
||||
line-height: 1;
|
||||
line-height: var(--leading-none);
|
||||
/* Default (sibling mode, with name): track the avatar's font-size
|
||||
so the badge matches the row's text scale. The overlay mode
|
||||
overrides this below with the explicit 30%-of-avatar-diameter
|
||||
|
||||
@@ -18,22 +18,40 @@
|
||||
/* Content area */
|
||||
.content-area {
|
||||
flex-grow: 1;
|
||||
padding: 20px;
|
||||
padding: var(--space-5) var(--gutter);
|
||||
overflow-y: scroll;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
/* Phones: tighten the shared gutter and let the actions bar wrap. */
|
||||
@media (max-width: 640px) {
|
||||
:root {
|
||||
--gutter: var(--space-4);
|
||||
}
|
||||
|
||||
/* Mobile uses overlay scrollbars — don't reserve a phantom gutter. */
|
||||
.content-area {
|
||||
scrollbar-gutter: auto;
|
||||
}
|
||||
|
||||
.actions-bar {
|
||||
flex-wrap: wrap;
|
||||
height: auto;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-5);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.page-sticky-header {
|
||||
position: sticky;
|
||||
margin: 0px;
|
||||
padding: 10px 0px;
|
||||
padding: var(--space-2-5) 0px;
|
||||
top: -20px; /* due to padding top of content-area */
|
||||
background-color: var(--color-bg-page);
|
||||
z-index: 100; /* ensure header is above image preview */
|
||||
@@ -42,15 +60,15 @@
|
||||
.actions-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 0 12px;
|
||||
margin: 0 0 var(--space-3);
|
||||
height: 60px;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
flex: auto;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
@@ -58,14 +76,33 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-12) var(--space-6);
|
||||
text-align: center;
|
||||
color: var(--color-content-muted);
|
||||
color: var(--color-text-muted);
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
min-height: 320px;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.empty-state p {
|
||||
margin: 0;
|
||||
max-width: 42ch;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
/* First paragraph acts as the title. */
|
||||
.empty-state p:first-of-type {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
/* Call-to-action button spacing. */
|
||||
.empty-state .btn {
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
/* invisible element, permits building of drag element without altering display */
|
||||
.drag-preview {
|
||||
position: absolute;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
height: 100%;
|
||||
flex-shrink: 0;
|
||||
box-shadow: 2px 0 12px var(--color-shadow-md);
|
||||
transition: transform 0.3s ease;
|
||||
transition: transform var(--motion-slow) var(--ease-emphasized);
|
||||
}
|
||||
|
||||
/* Sidebar overlay for mobile */
|
||||
@@ -56,11 +56,11 @@
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
padding: 22px 20px;
|
||||
padding: 22px var(--space-5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--color-sidebar-separator);
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
@@ -69,18 +69,18 @@
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: var(--color-sidebar-logo-gradient);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 12px;
|
||||
margin-right: var(--space-3);
|
||||
box-shadow: 0 3px 10px var(--color-sidebar-shadow);
|
||||
transition:
|
||||
transform 0.2s,
|
||||
box-shadow 0.2s;
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 12px;
|
||||
margin-left: var(--space-3);
|
||||
margin-right: unset;
|
||||
}
|
||||
}
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
.app-name {
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-sidebar-text-active);
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
@@ -107,21 +107,28 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
padding: 8px 12px;
|
||||
gap: 2px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
gap: var(--space-0-5);
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 11px 14px;
|
||||
border-radius: 10px;
|
||||
width: 100%;
|
||||
padding: 11px var(--space-3-5);
|
||||
border-radius: var(--radius-xl);
|
||||
cursor: pointer;
|
||||
color: var(--color-sidebar-text);
|
||||
font-size: 14.5px;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
/* Button resets — .nav-item is a <button> (keyboard-operable nav). */
|
||||
font-family: inherit;
|
||||
text-align: left;
|
||||
appearance: none;
|
||||
background: none;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
border: none;
|
||||
border-left: 3px solid transparent;
|
||||
|
||||
[dir="rtl"] & {
|
||||
@@ -139,7 +146,7 @@
|
||||
background-color: var(--color-sidebar-active-bg);
|
||||
color: var(--color-sidebar-text-active);
|
||||
border-left-color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
|
||||
[dir="rtl"] & {
|
||||
border-left-color: transparent;
|
||||
@@ -150,18 +157,18 @@
|
||||
.nav-item i,
|
||||
.nav-item .nav-icon,
|
||||
.nav-item .oxi-icon {
|
||||
margin-right: 14px;
|
||||
margin-right: var(--space-3-5);
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
transition:
|
||||
color 0.2s,
|
||||
transform 0.2s;
|
||||
flex-shrink: 0;
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 14px;
|
||||
margin-left: var(--space-3-5);
|
||||
margin-right: unset;
|
||||
}
|
||||
}
|
||||
@@ -192,30 +199,14 @@
|
||||
color: var(--color-cal-6);
|
||||
} /* Trash - red */
|
||||
|
||||
.nav-item.active:nth-child(1) i,
|
||||
.nav-item.active:nth-child(1) .oxi-icon {
|
||||
/* Colourful icons at rest, but the ACTIVE item is always accent — one
|
||||
coherent active state instead of a colour that changes per item.
|
||||
Same specificity as the per-child rest rules, so source order (this comes
|
||||
after them) makes it win for the active item. */
|
||||
.nav-item.active i,
|
||||
.nav-item.active .oxi-icon {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
.nav-item.active:nth-child(2) i,
|
||||
.nav-item.active:nth-child(2) .oxi-icon {
|
||||
color: var(--color-cal-7);
|
||||
}
|
||||
.nav-item.active:nth-child(3) i,
|
||||
.nav-item.active:nth-child(3) .oxi-icon {
|
||||
color: var(--color-cal-8);
|
||||
}
|
||||
.nav-item.active:nth-child(4) i,
|
||||
.nav-item.active:nth-child(4) .oxi-icon {
|
||||
color: var(--color-cal-9);
|
||||
}
|
||||
.nav-item.active:nth-child(5) i,
|
||||
.nav-item.active:nth-child(5) .oxi-icon {
|
||||
color: var(--color-cal-10);
|
||||
}
|
||||
.nav-item.active:nth-child(6) i,
|
||||
.nav-item.active:nth-child(6) .oxi-icon {
|
||||
color: var(--color-cal-11);
|
||||
}
|
||||
|
||||
.nav-item:hover i,
|
||||
.nav-item:hover .oxi-icon {
|
||||
@@ -224,21 +215,21 @@
|
||||
|
||||
/* Storage indicator */
|
||||
.storage-container {
|
||||
margin: auto 12px 16px 12px;
|
||||
margin: auto var(--space-3) var(--space-4) var(--space-3);
|
||||
background: var(--color-sidebar-storage-bg);
|
||||
border: 1px solid var(--color-sidebar-storage-border);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
border-radius: var(--radius-2xl);
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.storage-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 12px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-1-5);
|
||||
margin-bottom: var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-sidebar-storage-text);
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
@@ -248,7 +239,7 @@
|
||||
background-color: var(--color-sidebar-storage-bar);
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: var(--space-2-5);
|
||||
}
|
||||
|
||||
.storage-fill {
|
||||
@@ -263,5 +254,5 @@
|
||||
text-align: center;
|
||||
font-size: 11.5px;
|
||||
color: var(--color-sidebar-storage-faint);
|
||||
font-weight: 400;
|
||||
font-weight: var(--weight-normal);
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 30px;
|
||||
padding: 0 var(--gutter);
|
||||
justify-content: space-between;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -25,14 +25,14 @@
|
||||
display: none;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-secondary);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
transition:
|
||||
background-color 0.2s,
|
||||
color 0.2s;
|
||||
margin-right: 12px;
|
||||
margin-right: var(--space-3);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
|
||||
.sidebar-toggle i {
|
||||
font-size: 20px;
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
|
||||
/* Mobile search toggle button — hidden on desktop */
|
||||
@@ -50,11 +50,11 @@
|
||||
display: none;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-secondary);
|
||||
border-radius: 8px;
|
||||
font-size: 18px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-lg);
|
||||
transition:
|
||||
background-color 0.2s,
|
||||
color 0.2s;
|
||||
@@ -70,11 +70,11 @@
|
||||
display: none;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-secondary);
|
||||
border-radius: 8px;
|
||||
font-size: 18px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-lg);
|
||||
transition:
|
||||
background-color 0.2s,
|
||||
color 0.2s;
|
||||
@@ -92,13 +92,13 @@
|
||||
.search-slot {
|
||||
flex-grow: 1;
|
||||
max-width: 600px;
|
||||
margin-right: 20px;
|
||||
margin-right: var(--space-5);
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 20px;
|
||||
margin-left: var(--space-5);
|
||||
margin-right: unset;
|
||||
}
|
||||
}
|
||||
@@ -112,11 +112,11 @@
|
||||
|
||||
.search-container input {
|
||||
width: 100%;
|
||||
padding: 12px 50px 12px 44px;
|
||||
border-radius: 12px;
|
||||
padding: var(--space-3) 50px var(--space-3) var(--space-11);
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 2px solid var(--color-border);
|
||||
background-color: var(--color-bg-input);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
height: 46px;
|
||||
color: var(--color-text-heading);
|
||||
transition: all 0.2s ease;
|
||||
@@ -144,7 +144,7 @@
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-text-placeholder);
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
pointer-events: none;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
background: var(--color-accent-gradient);
|
||||
color: var(--color-danger-text);
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
cursor: pointer;
|
||||
@@ -193,19 +193,19 @@
|
||||
}
|
||||
|
||||
.search-button i {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.user-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
/* Mobile responsive styles for top bar */
|
||||
@media (max-width: 768px) {
|
||||
.top-bar {
|
||||
padding: 0 16px;
|
||||
padding: 0 var(--space-4);
|
||||
}
|
||||
|
||||
.sidebar-toggle {
|
||||
@@ -246,7 +246,7 @@
|
||||
}
|
||||
|
||||
.top-bar--search-active .search-container input {
|
||||
padding-left: 16px;
|
||||
padding-left: var(--space-4);
|
||||
}
|
||||
|
||||
.top-bar--search-active .sidebar-toggle,
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
@import url("./base/variables.css");
|
||||
|
||||
@import url("./base/reset.css");
|
||||
@import url("./base/typography.css");
|
||||
@import url("./base/animations.css");
|
||||
@import url("./base/a11y.css");
|
||||
@import url("./base/forms.css");
|
||||
|
||||
/* Layout */
|
||||
@@ -10,6 +13,7 @@
|
||||
@import url("./layout/content.css");
|
||||
|
||||
/* Components */
|
||||
@import url("./components/brandLogo.css");
|
||||
@import url("./components/breadcrumb.css");
|
||||
@import url("./components/buttons.css");
|
||||
@import url("./components/fileType.css");
|
||||
@@ -32,10 +36,12 @@
|
||||
@import url("./components/languageSelector.css");
|
||||
@import url("./components/batchToolbar.css");
|
||||
@import url("./components/spinner.css");
|
||||
@import url("./components/skeleton.css");
|
||||
@import url("./components/search.css");
|
||||
@import url("./components/icons.css");
|
||||
@import url("./components/csp-utilities.css");
|
||||
@import url("./components/itemTooltip.css");
|
||||
@import url("./components/commandPalette.css");
|
||||
|
||||
/* Theme */
|
||||
@import url("./themes/dark.css");
|
||||
|
||||
@@ -100,7 +100,6 @@
|
||||
--color-warning-text-amber: #fbbf24;
|
||||
--color-warning-orange-bg: #2a1c10;
|
||||
--color-warning-orange-text: #fb923c;
|
||||
--color-purple-bg: #1a0a33;
|
||||
--color-success-bg-alt: #0a2015;
|
||||
--color-success-bg-green: #0a2015;
|
||||
--color-content-bg-warn: #3d2e00;
|
||||
|
||||
+200
-204
@@ -7,7 +7,7 @@
|
||||
body {
|
||||
background: var(--color-bg-page);
|
||||
color: var(--color-text-heading);
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -29,56 +29,56 @@ body {
|
||||
color: inherit;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
.width-zero {
|
||||
width: 0%;
|
||||
}
|
||||
.mt-14 {
|
||||
margin-top: 14px;
|
||||
margin-top: var(--space-3-5);
|
||||
}
|
||||
.toggle-row-strong {
|
||||
margin-top: 10px;
|
||||
padding: 12px 0;
|
||||
margin-top: var(--space-2-5);
|
||||
padding: var(--space-3) 0;
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
.icon-muted-right {
|
||||
color: var(--color-text-subtle);
|
||||
margin-right: 6px;
|
||||
margin-right: var(--space-1-5);
|
||||
}
|
||||
.h2-space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.flex-gap-6 {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.oidc-discover-wrap {
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
.secret-icon {
|
||||
color: var(--color-secret-green);
|
||||
}
|
||||
.small-muted {
|
||||
font-weight: 400;
|
||||
font-weight: var(--weight-normal);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
.summary-icon-right {
|
||||
margin-right: 6px;
|
||||
margin-right: var(--space-1-5);
|
||||
}
|
||||
.oidc-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 24px;
|
||||
gap: var(--space-2-5);
|
||||
margin-top: var(--space-6);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.modal-title-icon {
|
||||
color: var(--color-accent);
|
||||
margin-right: 8px;
|
||||
margin-right: var(--space-2);
|
||||
}
|
||||
.quota-input-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
align-items: center;
|
||||
}
|
||||
.flex-1 {
|
||||
@@ -86,34 +86,34 @@ body {
|
||||
}
|
||||
.select-qm-unit {
|
||||
width: 90px;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-hover);
|
||||
}
|
||||
.form-row {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
.select-cu-role {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-hover);
|
||||
}
|
||||
.quota-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.select-cu-quota-unit {
|
||||
width: 70px;
|
||||
padding: 10px 8px;
|
||||
padding: var(--space-2-5) var(--space-2);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-sm);
|
||||
background: var(--color-bg-hover);
|
||||
}
|
||||
.alert-no-margin {
|
||||
@@ -121,21 +121,21 @@ body {
|
||||
}
|
||||
.table-loading-cell {
|
||||
text-align: center;
|
||||
padding: 28px;
|
||||
padding: var(--space-7);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
.table-status-error {
|
||||
color: var(--color-error-text-dark);
|
||||
padding: 20px;
|
||||
padding: var(--space-5);
|
||||
}
|
||||
.table-status-empty {
|
||||
text-align: center;
|
||||
padding: 28px;
|
||||
padding: var(--space-7);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
.user-self-badge {
|
||||
color: var(--color-text-faint);
|
||||
font-weight: 400;
|
||||
font-weight: var(--weight-normal);
|
||||
}
|
||||
.badge-admin-icon-small {
|
||||
font-size: 10px;
|
||||
@@ -144,14 +144,14 @@ body {
|
||||
width: 80px;
|
||||
}
|
||||
.user-last-login-cell {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
/* ── Top Header Bar ── */
|
||||
.admin-header {
|
||||
background: linear-gradient(135deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);
|
||||
padding: 0 32px;
|
||||
padding: 0 var(--space-8);
|
||||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -164,7 +164,7 @@ body {
|
||||
.admin-header-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
.admin-logo {
|
||||
width: 38px;
|
||||
@@ -183,24 +183,24 @@ body {
|
||||
}
|
||||
.admin-title-text {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-sidebar-text-active);
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.admin-title-separator {
|
||||
font-size: 17px;
|
||||
color: var(--color-sidebar-storage-faint);
|
||||
font-weight: 400;
|
||||
margin-left: 6px;
|
||||
font-weight: var(--weight-normal);
|
||||
margin-left: var(--space-1-5);
|
||||
}
|
||||
.admin-header-right a {
|
||||
color: var(--color-sidebar-text);
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.admin-header-right a:hover {
|
||||
@@ -211,7 +211,7 @@ body {
|
||||
.admin-container {
|
||||
max-width: 1080px;
|
||||
margin: 0 auto;
|
||||
padding: 28px 24px 60px;
|
||||
padding: var(--space-7) var(--space-6) 60px;
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
@@ -219,29 +219,29 @@ body {
|
||||
/* ── Tabs ── */
|
||||
.admin-tabs {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-bottom: 28px;
|
||||
gap: var(--space-1-5);
|
||||
margin-bottom: var(--space-7);
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 14px;
|
||||
padding: 6px;
|
||||
padding: var(--space-1-5);
|
||||
box-shadow: 0 1px 4px var(--color-shadow-xs);
|
||||
position: sticky;
|
||||
top: 64px;
|
||||
z-index: 50;
|
||||
}
|
||||
.admin-tab {
|
||||
padding: 10px 22px;
|
||||
padding: var(--space-2-5) 22px;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: 13.5px;
|
||||
color: var(--color-text-subtle);
|
||||
border: none;
|
||||
background: none;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
transition: all 0.2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.admin-tab:hover {
|
||||
color: var(--color-text-heading);
|
||||
@@ -256,7 +256,7 @@ body {
|
||||
color: var(--color-sidebar-text-active);
|
||||
}
|
||||
.admin-tab i {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
width: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -296,21 +296,21 @@ body {
|
||||
/* ── Cards ── */
|
||||
.admin-card {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow:
|
||||
0 1px 4px var(--color-shadow-xs),
|
||||
0 0 0 1px var(--color-shadow-xs);
|
||||
padding: 28px;
|
||||
padding: var(--space-7);
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.admin-card h2 {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 20px;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-5);
|
||||
color: var(--color-text-heading);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
.admin-card h2 i {
|
||||
color: var(--color-accent);
|
||||
@@ -335,11 +335,11 @@ body {
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.stat-card {
|
||||
padding: 20px;
|
||||
padding: var(--space-5);
|
||||
background: var(--color-bg-hover);
|
||||
border-radius: 14px;
|
||||
text-align: center;
|
||||
@@ -353,8 +353,8 @@ body {
|
||||
box-shadow: 0 4px 12px var(--color-shadow-xs);
|
||||
}
|
||||
.stat-value {
|
||||
font-size: 1.75rem;
|
||||
font-weight: 800;
|
||||
font-size: var(--text-3xl);
|
||||
font-weight: var(--weight-extrabold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
.stat-label {
|
||||
@@ -362,8 +362,8 @@ body {
|
||||
color: var(--color-text-faint);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
margin-top: 4px;
|
||||
font-weight: 600;
|
||||
margin-top: var(--space-1);
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
.stat-card.warn {
|
||||
border-color: var(--color-stat-warn-border);
|
||||
@@ -391,12 +391,12 @@ body {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
background: var(--color-border);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
}
|
||||
.progress-fill {
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
.progress-fill.green {
|
||||
@@ -412,7 +412,7 @@ body {
|
||||
/* ── Table ── */
|
||||
.table-wrap {
|
||||
overflow-x: auto;
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
table {
|
||||
@@ -422,18 +422,18 @@ table {
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
background: var(--color-bg-subtle);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
white-space: nowrap;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
td {
|
||||
padding: 14px 16px;
|
||||
padding: var(--space-3-5) var(--space-4);
|
||||
border-bottom: 1px solid var(--color-border-light);
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -446,14 +446,14 @@ tr:hover {
|
||||
.user-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
gap: var(--space-0-5);
|
||||
}
|
||||
.user-name {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
.user-email {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
@@ -461,11 +461,11 @@ tr:hover {
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 20px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-1);
|
||||
font-size: var(--text-2xs);
|
||||
padding: 3px var(--space-2-5);
|
||||
border-radius: var(--radius-4xl);
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
.badge-admin {
|
||||
background: var(--color-role-admin-bg);
|
||||
@@ -495,28 +495,28 @@ tr:hover {
|
||||
background: var(--color-warning-bg-light);
|
||||
color: var(--color-badge-warning-text);
|
||||
font-size: 10px;
|
||||
padding: 1px 6px;
|
||||
margin-left: 4px;
|
||||
padding: 1px var(--space-1-5);
|
||||
margin-left: var(--space-1);
|
||||
}
|
||||
|
||||
/* ── Buttons ── */
|
||||
.btn {
|
||||
padding: 8px 18px;
|
||||
padding: var(--space-2) 18px;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.btn-sm {
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-1-5) var(--space-3);
|
||||
font-size: var(--text-xs);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
.btn-primary {
|
||||
background: var(--color-accent-gradient);
|
||||
@@ -559,19 +559,19 @@ tr:hover {
|
||||
}
|
||||
.actions-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ── Forms ── */
|
||||
.form-group {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
.form-group label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-bottom: var(--space-1);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.form-group input[type="text"],
|
||||
@@ -580,10 +580,10 @@ tr:hover {
|
||||
.form-group input[type="number"],
|
||||
.form-group select {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-hover);
|
||||
transition: all 0.2s;
|
||||
font-family: inherit;
|
||||
@@ -598,7 +598,7 @@ tr:hover {
|
||||
}
|
||||
.form-group small {
|
||||
color: var(--color-text-faint);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
}
|
||||
@@ -607,11 +607,11 @@ tr:hover {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 0;
|
||||
padding: var(--space-2-5) 0;
|
||||
}
|
||||
.toggle-row label {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.switch {
|
||||
@@ -655,24 +655,24 @@ tr:hover {
|
||||
.readonly-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
background: var(--color-bg-hover);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
padding: 10px 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
font-family: "SF Mono", Monaco, Consolas, monospace;
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
word-break: break-all;
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.readonly-field button {
|
||||
flex-shrink: 0;
|
||||
padding: 6px 10px;
|
||||
padding: var(--space-1-5) var(--space-2-5);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-bg-surface);
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
transition: all 0.15s;
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
@@ -683,12 +683,12 @@ tr:hover {
|
||||
|
||||
/* ── Alerts ── */
|
||||
.alert {
|
||||
padding: 12px 16px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
margin-top: 14px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-sm);
|
||||
margin-top: var(--space-3-5);
|
||||
display: none;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
.alert-success {
|
||||
background: var(--color-badge-success-bg);
|
||||
@@ -711,23 +711,23 @@ tr:hover {
|
||||
.warning {
|
||||
background: var(--color-warning-bg-faint);
|
||||
border: 1px solid var(--color-badge-warning-border);
|
||||
border-radius: 10px;
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
border-radius: var(--radius-xl);
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-badge-warning-text);
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-weight: 500;
|
||||
gap: var(--space-1-5);
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
/* ── Discovery ── */
|
||||
.discovery-result {
|
||||
margin: 12px 0;
|
||||
padding: 14px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
margin: var(--space-3) 0;
|
||||
padding: var(--space-3-5);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.discovery-result.ok {
|
||||
background: var(--color-badge-success-bg);
|
||||
@@ -740,8 +740,8 @@ tr:hover {
|
||||
color: var(--color-error-text-dark);
|
||||
}
|
||||
.discovery-result dt {
|
||||
font-weight: 700;
|
||||
margin-top: 6px;
|
||||
font-weight: var(--weight-bold);
|
||||
margin-top: var(--space-1-5);
|
||||
}
|
||||
.discovery-result dd {
|
||||
margin-left: 0;
|
||||
@@ -750,16 +750,16 @@ tr:hover {
|
||||
|
||||
/* ── Details ── */
|
||||
details {
|
||||
margin-top: 14px;
|
||||
margin-top: var(--space-3-5);
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding-top: 12px;
|
||||
padding-top: var(--space-3);
|
||||
}
|
||||
details summary {
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-subtle);
|
||||
padding: 6px 0;
|
||||
padding: var(--space-1-5) 0;
|
||||
user-select: none;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
@@ -767,7 +767,7 @@ details summary:hover {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
details[open] summary {
|
||||
margin-bottom: 14px;
|
||||
margin-bottom: var(--space-3-5);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
@@ -785,8 +785,8 @@ details[open] summary {
|
||||
}
|
||||
.modal {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 20px;
|
||||
padding: 28px;
|
||||
border-radius: var(--radius-4xl);
|
||||
padding: var(--space-7);
|
||||
width: 420px;
|
||||
max-width: 90vw;
|
||||
box-shadow: 0 20px 60px var(--color-shadow-xl);
|
||||
@@ -811,7 +811,7 @@ details[open] summary {
|
||||
}
|
||||
.modal-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
justify-content: flex-end;
|
||||
margin-top: 18px;
|
||||
}
|
||||
@@ -820,14 +820,14 @@ details[open] summary {
|
||||
.quota-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
.quota-bar .progress-bar {
|
||||
flex: 1;
|
||||
height: 6px;
|
||||
}
|
||||
.quota-text {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -836,7 +836,7 @@ details[open] summary {
|
||||
#access-denied {
|
||||
display: none;
|
||||
text-align: center;
|
||||
padding: 80px 20px;
|
||||
padding: var(--space-20) var(--space-5);
|
||||
}
|
||||
#access-denied .access-icon {
|
||||
width: 80px;
|
||||
@@ -846,33 +846,33 @@ details[open] summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 20px;
|
||||
margin: 0 auto var(--space-5);
|
||||
}
|
||||
#access-denied .access-icon i {
|
||||
font-size: 32px;
|
||||
font-size: var(--text-4xl);
|
||||
color: var(--color-danger-alt);
|
||||
}
|
||||
#access-denied h2 {
|
||||
color: var(--color-error-text-dark);
|
||||
margin-bottom: 8px;
|
||||
font-size: 20px;
|
||||
margin-bottom: var(--space-2);
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
#access-denied p {
|
||||
color: var(--color-text-subtle);
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px;
|
||||
margin-bottom: var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
#access-denied a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 10px 24px;
|
||||
gap: var(--space-1-5);
|
||||
padding: var(--space-2-5) var(--space-6);
|
||||
background: var(--color-accent-gradient);
|
||||
color: var(--color-sidebar-text-active);
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: var(--text-base);
|
||||
box-shadow: 0 3px 12px var(--color-accent-shadow);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
@@ -882,35 +882,31 @@ details[open] summary {
|
||||
}
|
||||
#loading {
|
||||
text-align: center;
|
||||
padding: 80px;
|
||||
padding: var(--space-20);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 15px;
|
||||
}
|
||||
#loading i {
|
||||
font-size: 32px;
|
||||
font-size: var(--text-4xl);
|
||||
color: var(--color-accent);
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-3);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/* @keyframes spin → base/animations.css (canonical, loaded via main.css). */
|
||||
|
||||
/* ── Pagination ── */
|
||||
.pagination {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 14px;
|
||||
font-size: 13px;
|
||||
margin-top: var(--space-3-5);
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-faint);
|
||||
padding: 0 4px;
|
||||
padding: 0 var(--space-1);
|
||||
}
|
||||
.pagination button {
|
||||
padding: 6px 14px;
|
||||
padding: var(--space-1-5) var(--space-3-5);
|
||||
}
|
||||
|
||||
/* ── Confirm modal ── */
|
||||
@@ -921,8 +917,8 @@ details[open] summary {
|
||||
color: var(--color-error-text-dark);
|
||||
}
|
||||
.modal-confirm p {
|
||||
margin: 14px 0 22px;
|
||||
font-size: 14px;
|
||||
margin: var(--space-3-5) 0 22px;
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.55;
|
||||
color: var(--color-dark-mid);
|
||||
}
|
||||
@@ -930,9 +926,9 @@ details[open] summary {
|
||||
background: var(--color-danger-gradient);
|
||||
color: var(--color-danger-text);
|
||||
border: none;
|
||||
padding: 10px 22px;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
padding: var(--space-2-5) 22px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
@@ -945,28 +941,28 @@ details[open] summary {
|
||||
.storage-status-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
gap: 12px;
|
||||
margin-bottom: 24px;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
.storage-stat {
|
||||
padding: 14px;
|
||||
padding: var(--space-3-5);
|
||||
background: var(--color-bg-hover);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
text-align: center;
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
.storage-stat__label {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
.storage-stat__value {
|
||||
display: block;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
@@ -977,15 +973,15 @@ details[open] summary {
|
||||
.smtp-info-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: var(--space-6);
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
overflow: hidden;
|
||||
}
|
||||
.smtp-info-table th,
|
||||
.smtp-info-table td {
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
vertical-align: middle;
|
||||
@@ -997,7 +993,7 @@ details[open] summary {
|
||||
}
|
||||
.smtp-info-table th {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-secondary);
|
||||
width: 220px;
|
||||
white-space: nowrap;
|
||||
@@ -1011,8 +1007,8 @@ details[open] summary {
|
||||
|
||||
.storage-backend-selector {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-bottom: 20px;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
.storage-backend-option {
|
||||
flex: 1;
|
||||
@@ -1025,18 +1021,18 @@ details[open] summary {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 18px 14px;
|
||||
gap: var(--space-2);
|
||||
padding: 18px var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
transition:
|
||||
border-color 0.2s,
|
||||
background 0.2s;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
.storage-backend-option__card i {
|
||||
font-size: 1.5rem;
|
||||
font-size: var(--text-2xl);
|
||||
color: var(--color-text-secondary);
|
||||
transition: color 0.2s;
|
||||
}
|
||||
@@ -1049,29 +1045,29 @@ details[open] summary {
|
||||
}
|
||||
|
||||
.storage-form {
|
||||
margin-top: 8px;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.storage-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 24px;
|
||||
gap: var(--space-2-5);
|
||||
margin-top: var(--space-6);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.storage-migration-section {
|
||||
margin-top: 32px;
|
||||
padding-top: 20px;
|
||||
margin-top: var(--space-8);
|
||||
padding-top: var(--space-5);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
.storage-migration-section h3 {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 8px;
|
||||
font-size: var(--text-md);
|
||||
margin-bottom: var(--space-2);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
.storage-migration-section h3 i {
|
||||
color: var(--color-text-secondary);
|
||||
margin-right: 6px;
|
||||
margin-right: var(--space-1-5);
|
||||
}
|
||||
|
||||
/* ── Migration UI ── */
|
||||
@@ -1079,16 +1075,16 @@ details[open] summary {
|
||||
.migration-status-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
font-size: 14px;
|
||||
gap: var(--space-2);
|
||||
margin-bottom: var(--space-3-5);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.badge-migration {
|
||||
padding: 3px 10px;
|
||||
border-radius: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 3px var(--space-2-5);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
@@ -1117,39 +1113,39 @@ details[open] summary {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
background: var(--color-bg-hover);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
overflow: hidden;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
.migration-progress-bar__fill {
|
||||
height: 100%;
|
||||
background: var(--color-accent);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--radius-md);
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.migration-progress-text {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
.migration-failed-list {
|
||||
max-height: 150px;
|
||||
overflow-y: auto;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
background: var(--color-bg-hover);
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--color-border);
|
||||
margin-top: 6px;
|
||||
margin-top: var(--space-1-5);
|
||||
}
|
||||
|
||||
.migration-actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 16px;
|
||||
gap: var(--space-2-5);
|
||||
margin-top: var(--space-4);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
+362
-93
@@ -7,9 +7,33 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
width: 100%;
|
||||
background-color: var(--color-bg-page);
|
||||
position: relative;
|
||||
/* Spotlight + warm brand blobs — seats the card in a pool of light
|
||||
instead of a flat near-white field. */
|
||||
background: var(--brand-ambient);
|
||||
}
|
||||
|
||||
/* Fine film grain over the backdrop (not the card). `overlay` neutralises the
|
||||
mid-grey noise so it adds texture without shifting brightness; works in both
|
||||
light and dark. Tune the whole effect with `opacity`. */
|
||||
.auth-container::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
background-image: var(--brand-grain);
|
||||
background-size: 180px 180px;
|
||||
opacity: 0.6;
|
||||
mix-blend-mode: overlay;
|
||||
}
|
||||
|
||||
/* Keep the card (and every panel) above the grain layer. */
|
||||
.auth-panel {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.auth-panel {
|
||||
@@ -18,9 +42,9 @@
|
||||
margin: 0 auto;
|
||||
background-color: var(--color-bg-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 30px var(--color-shadow);
|
||||
padding: 36px;
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow: var(--shadow-xl);
|
||||
padding: var(--space-9);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -28,7 +52,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.auth-logo-icon {
|
||||
@@ -39,26 +63,27 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 12px;
|
||||
box-shadow: 0 4px 12px var(--color-accent-shadow);
|
||||
margin-right: var(--space-3);
|
||||
/* Tighter glow (negative spread) reads more premium than a wide halo. */
|
||||
box-shadow: 0 4px 14px -4px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
.auth-logo-icon svg {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
fill: var(--color-danger-text);
|
||||
fill: var(--color-on-accent);
|
||||
}
|
||||
|
||||
.auth-logo-text {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.auth-title {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 28px;
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-7);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
@@ -72,22 +97,23 @@
|
||||
}
|
||||
|
||||
.auth-input-group {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.auth-label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
margin-bottom: var(--space-2);
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-heading);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
.auth-input {
|
||||
width: 100%;
|
||||
padding: 14px 18px;
|
||||
border-radius: 12px;
|
||||
border: 2px solid var(--color-border);
|
||||
padding: var(--space-3-5) 18px;
|
||||
border-radius: var(--radius-2xl);
|
||||
/* Stronger resting border so fields read as crafted, not flat fills. */
|
||||
border: 2px solid var(--color-border-medium);
|
||||
font-size: 15px;
|
||||
background-color: var(--color-bg-input);
|
||||
color: var(--color-text);
|
||||
@@ -95,7 +121,7 @@
|
||||
}
|
||||
|
||||
.auth-input::placeholder {
|
||||
color: var(--color-text-faint);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.auth-input:hover {
|
||||
@@ -111,22 +137,26 @@
|
||||
}
|
||||
|
||||
.auth-input[readonly] {
|
||||
opacity: 0.7;
|
||||
cursor: default;
|
||||
/* A locked value, not a placeholder: full-strength text on a subtly
|
||||
distinct "locked" fill (no dimming that reads as empty). */
|
||||
color: var(--color-text);
|
||||
font-weight: var(--weight-semibold);
|
||||
background-color: var(--color-bg-input-alt);
|
||||
}
|
||||
|
||||
.auth-button {
|
||||
width: 100%;
|
||||
padding: 14px 18px;
|
||||
border-radius: 12px;
|
||||
padding: var(--space-3-5) 18px;
|
||||
border-radius: var(--radius-2xl);
|
||||
background: var(--color-accent-gradient);
|
||||
color: var(--color-danger-text);
|
||||
font-weight: 700;
|
||||
color: var(--color-on-accent);
|
||||
font-weight: var(--weight-bold);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
transition: all 0.3s ease;
|
||||
margin-top: 12px;
|
||||
margin-top: var(--space-3);
|
||||
box-shadow: 0 4px 12px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
@@ -137,7 +167,8 @@
|
||||
}
|
||||
|
||||
.auth-button:active {
|
||||
transform: translateY(0);
|
||||
/* Tactile press — the button dips slightly under the resting plane. */
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 2px 8px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
@@ -148,13 +179,37 @@
|
||||
filter: none;
|
||||
}
|
||||
|
||||
/* Loading — hide the label, show an inline spinner (toggled via .is-loading /
|
||||
aria-busy by auth.js on submit). */
|
||||
.auth-button.is-loading,
|
||||
.auth-button[aria-busy="true"] {
|
||||
color: transparent;
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.auth-button.is-loading::after,
|
||||
.auth-button[aria-busy="true"]::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: -9px 0 0 -9px;
|
||||
border: 2px solid var(--color-on-accent);
|
||||
border-top-color: transparent;
|
||||
border-radius: var(--radius-full);
|
||||
animation: spin var(--spin-duration) linear infinite;
|
||||
}
|
||||
|
||||
.auth-subtitle {
|
||||
margin: 20px 0;
|
||||
margin: var(--space-5) 0;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
.auth-action-wrap {
|
||||
margin-top: 20px;
|
||||
margin-top: var(--space-5);
|
||||
}
|
||||
|
||||
/* SSO / OIDC button */
|
||||
@@ -164,7 +219,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
|
||||
.auth-button-oidc:hover {
|
||||
@@ -180,14 +235,14 @@
|
||||
}
|
||||
|
||||
.auth-button-oidc i {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
/* Helper text above the magic-link form ("No password? Enter your
|
||||
email…"). Quieter visual weight than the form labels. */
|
||||
.auth-hint {
|
||||
margin: 0 0 12px;
|
||||
font-size: 13px;
|
||||
margin: 0 0 var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.4;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
@@ -196,10 +251,10 @@
|
||||
message rendered on every successful 2xx; error variant only used
|
||||
for the 503-not-configured branch or network failures. */
|
||||
.auth-status {
|
||||
margin-top: 12px;
|
||||
padding: 10px 14px;
|
||||
border-radius: 8px;
|
||||
font-size: 13px;
|
||||
margin-top: var(--space-3);
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-sm);
|
||||
line-height: 1.4;
|
||||
}
|
||||
.auth-status-success {
|
||||
@@ -217,9 +272,9 @@
|
||||
.auth-divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 20px 0;
|
||||
margin: var(--space-5) 0;
|
||||
color: var(--color-text-faint);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.auth-divider::before,
|
||||
@@ -231,7 +286,13 @@
|
||||
}
|
||||
|
||||
.auth-divider span {
|
||||
padding: 0 12px;
|
||||
padding: 0 var(--space-3);
|
||||
/* Quiet, deliberate label rather than a stray lowercase letter. */
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-wide, 0.08em);
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
/* OIDC-only mode: hide password form */
|
||||
@@ -241,15 +302,15 @@
|
||||
|
||||
.auth-toggle {
|
||||
margin-top: 22px;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.auth-toggle-link {
|
||||
color: var(--color-accent);
|
||||
color: var(--color-accent-text);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
.auth-toggle-link:hover {
|
||||
@@ -259,33 +320,49 @@
|
||||
.auth-error {
|
||||
background-color: var(--color-error-bg);
|
||||
color: var(--color-error-text);
|
||||
padding: 12px 18px;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-3) 18px;
|
||||
border-radius: var(--radius-2xl);
|
||||
margin-bottom: var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auth-success {
|
||||
background-color: var(--color-success-bg);
|
||||
color: var(--color-success-text);
|
||||
padding: 12px 18px;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-3) 18px;
|
||||
border-radius: var(--radius-2xl);
|
||||
margin-bottom: var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Admin setup panel styles — visibility controlled via .hidden class */
|
||||
|
||||
.setup-steps {
|
||||
margin-bottom: 28px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 32px;
|
||||
margin-bottom: var(--space-7);
|
||||
/* 3 equal columns → circle centres land at 1/6, 1/2, 5/6, so the
|
||||
connector track can be placed deterministically between them. */
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Connector track behind the step circles (z-index 0; circles sit above). */
|
||||
.setup-steps::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 17px; /* half of the 34px circle */
|
||||
left: 16.667%;
|
||||
right: 16.667%;
|
||||
height: 2px;
|
||||
background: var(--color-border);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.setup-step {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -301,28 +378,29 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-text-faint);
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
margin-bottom: 6px;
|
||||
font-weight: var(--weight-bold);
|
||||
font-size: var(--text-base);
|
||||
margin-bottom: var(--space-1-5);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.step-number.active {
|
||||
background: var(--color-accent-gradient);
|
||||
border-color: transparent;
|
||||
color: var(--color-danger-text);
|
||||
box-shadow: 0 2px 8px var(--color-accent-shadow);
|
||||
color: var(--color-on-accent);
|
||||
/* Subtle halo lifts the active step off the connector track. */
|
||||
box-shadow: 0 0 0 4px var(--color-accent-ring), 0 4px 12px var(--color-accent-shadow);
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
.step-title.active {
|
||||
color: var(--color-text-heading);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
/* Language selector panel styles */
|
||||
@@ -332,23 +410,23 @@
|
||||
|
||||
.language-subtitle {
|
||||
color: var(--color-text-muted);
|
||||
font-size: 16px;
|
||||
margin-bottom: 24px;
|
||||
font-size: var(--text-md);
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
/* ====== Compact Language Picker ====== */
|
||||
.lang-picker {
|
||||
position: relative;
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: var(--space-6);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.lang-picker-selected {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 14px 18px;
|
||||
padding: var(--space-3-5) 18px;
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
cursor: pointer;
|
||||
background-color: var(--color-bg-input);
|
||||
transition: all 0.2s ease;
|
||||
@@ -370,20 +448,20 @@
|
||||
|
||||
.lang-picker-flag {
|
||||
font-size: 26px;
|
||||
margin-right: 14px;
|
||||
margin-right: var(--space-3-5);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.lang-picker-name {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.lang-picker-arrow {
|
||||
color: var(--color-text-faint);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
transition: transform 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -402,8 +480,8 @@
|
||||
background: var(--color-bg-surface);
|
||||
border: 2px solid var(--color-accent);
|
||||
border-top: 1px solid var(--color-border-light);
|
||||
border-bottom-left-radius: 12px;
|
||||
border-bottom-right-radius: 12px;
|
||||
border-bottom-left-radius: var(--radius-2xl);
|
||||
border-bottom-right-radius: var(--radius-2xl);
|
||||
box-shadow: 0 12px 32px var(--color-shadow-lg);
|
||||
z-index: 100;
|
||||
overflow: hidden;
|
||||
@@ -428,7 +506,7 @@
|
||||
/* Search inside dropdown */
|
||||
.lang-picker-search {
|
||||
position: relative;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border-bottom: 1px solid var(--color-border-light);
|
||||
}
|
||||
|
||||
@@ -438,15 +516,15 @@
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.lang-picker-search input {
|
||||
width: 100%;
|
||||
padding: 8px 12px 8px 32px;
|
||||
padding: var(--space-2) var(--space-3) var(--space-2) var(--space-8);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: var(--text-base);
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
background-color: var(--color-bg-input);
|
||||
@@ -466,16 +544,16 @@
|
||||
.lang-picker-list {
|
||||
max-height: 240px;
|
||||
overflow-y: auto;
|
||||
padding: 6px;
|
||||
padding: var(--space-1-5);
|
||||
}
|
||||
|
||||
/* Language item in dropdown */
|
||||
.lang-picker-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
gap: var(--space-2-5);
|
||||
padding: var(--space-2-5) var(--space-3);
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition: all 0.12s ease;
|
||||
}
|
||||
@@ -495,40 +573,231 @@
|
||||
|
||||
.lang-picker-item-name {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
.lang-picker-item-english {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-faint);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.lang-picker-item-check {
|
||||
color: var(--color-accent);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.lang-picker-empty {
|
||||
text-align: center;
|
||||
color: var(--color-text-faint);
|
||||
padding: 20px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.auth-panel {
|
||||
width: 95%;
|
||||
padding: 24px;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.lang-picker-selected {
|
||||
padding: 12px 14px;
|
||||
padding: var(--space-3) var(--space-3-5);
|
||||
}
|
||||
|
||||
.lang-picker-list {
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Premium polish — brand lockup, CTA hierarchy, field icons,
|
||||
password reveal, progressive disclosure, match feedback.
|
||||
Icons are token-safe CSS masks (no inline SVG, no raw colour):
|
||||
the glyph alpha comes from the data-URI, the colour from a token.
|
||||
============================================================ */
|
||||
|
||||
/* — Brand wordmark: the ownable "Oxi" accent lockup (DESIGN-SYSTEM §3) — */
|
||||
.brand-oxi {
|
||||
background: var(--color-accent-gradient);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
/* — CTA hierarchy: exactly one primary per screen. The secondary action
|
||||
(magic-link, etc.) is a quiet tinted/ghost button, never a 2nd gradient. — */
|
||||
.auth-button-secondary {
|
||||
background: var(--color-accent-tint);
|
||||
color: var(--color-accent-text);
|
||||
border: 1.5px solid var(--color-border-medium);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.auth-button-secondary:hover {
|
||||
background: var(--color-bg-surface);
|
||||
border-color: var(--color-accent);
|
||||
box-shadow: none;
|
||||
filter: none;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.auth-button-secondary:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* — Leading field icons (user / mail / lock) via masked pseudo-element — */
|
||||
.auth-input-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.auth-input-wrap .auth-input {
|
||||
padding-left: 44px;
|
||||
}
|
||||
|
||||
.auth-input-wrap.has-toggle .auth-input {
|
||||
padding-right: 44px;
|
||||
}
|
||||
|
||||
.auth-input-wrap::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 50%;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
transform: translateY(-50%);
|
||||
background-color: var(--color-text-muted);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
transition: background-color 0.2s ease;
|
||||
-webkit-mask: var(--icon-url, none) center / contain no-repeat;
|
||||
mask: var(--icon-url, none) center / contain no-repeat;
|
||||
}
|
||||
|
||||
.auth-input-wrap:focus-within::before {
|
||||
background-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.auth-input-wrap--user {
|
||||
--icon-url: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
|
||||
}
|
||||
|
||||
.auth-input-wrap--mail {
|
||||
--icon-url: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m2 7 10 6 10-6'/></svg>");
|
||||
}
|
||||
|
||||
.auth-input-wrap--lock {
|
||||
--icon-url: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
|
||||
}
|
||||
|
||||
/* — Password show/hide toggle — */
|
||||
.auth-pw-toggle {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
border-radius: var(--radius-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.auth-pw-toggle::before {
|
||||
content: "";
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background-color: var(--color-text-muted);
|
||||
transition: background-color 0.2s ease;
|
||||
--eye: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/><circle cx='12' cy='12' r='3'/></svg>");
|
||||
-webkit-mask: var(--eye) center / contain no-repeat;
|
||||
mask: var(--eye) center / contain no-repeat;
|
||||
}
|
||||
|
||||
.auth-pw-toggle:hover::before {
|
||||
background-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.auth-pw-toggle[aria-pressed="true"]::before {
|
||||
--eye: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9.9 4.2A9 9 0 0 1 12 4c6.5 0 10 7 10 7a13 13 0 0 1-2 2.7M6.6 6.6A13 13 0 0 0 2 11s3.5 7 10 7a9 9 0 0 0 3.6-.7'/><path d='m2 2 20 20'/></svg>");
|
||||
}
|
||||
|
||||
/* — Progressive disclosure of the magic-link form — */
|
||||
.auth-magic-toggle {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: var(--space-1);
|
||||
padding: var(--space-2);
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-accent-text);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.auth-magic-toggle:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.auth-magic-reveal {
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.auth-magic-reveal:not(.hidden) {
|
||||
animation: langPickerSlideDown 0.2s ease;
|
||||
}
|
||||
|
||||
/* — Live password-match feedback (sits inside the confirm field group) — */
|
||||
.auth-match {
|
||||
margin-top: var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-medium);
|
||||
display: none;
|
||||
align-items: center;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
|
||||
.auth-match.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.auth-match::before {
|
||||
content: "";
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
flex-shrink: 0;
|
||||
background-color: currentColor;
|
||||
-webkit-mask: var(--match-icon) center / contain no-repeat;
|
||||
mask: var(--match-icon) center / contain no-repeat;
|
||||
}
|
||||
|
||||
.auth-match--ok {
|
||||
color: var(--color-success-text);
|
||||
--match-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
|
||||
}
|
||||
|
||||
.auth-match--bad {
|
||||
color: var(--color-error-text);
|
||||
--match-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
|
||||
}
|
||||
|
||||
/* "Caps Lock is on" hint under a password field (toggled by auth.js). */
|
||||
.auth-caps-warning {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1-5);
|
||||
margin-top: var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-warning-orange-text);
|
||||
}
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
}
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--color-bg-hover);
|
||||
/* Shared brand backdrop (centralised in --brand-ambient). */
|
||||
background: var(--brand-ambient);
|
||||
color: var(--color-text-heading);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
padding: 1rem;
|
||||
}
|
||||
.dag-card {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: var(--radius, 12px);
|
||||
box-shadow: 0 4px 24px var(--color-shadow-sm);
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow: var(--shadow-xl);
|
||||
padding: 2.5rem;
|
||||
max-width: 440px;
|
||||
width: 100%;
|
||||
@@ -27,8 +28,8 @@ body {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.dag-logo h1 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
.dag-logo span {
|
||||
color: var(--color-primary);
|
||||
@@ -44,7 +45,7 @@ p.subtitle {
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: 0.85rem;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
@@ -56,7 +57,7 @@ input[type="text"] {
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
@@ -65,7 +66,7 @@ input[type="text"]:focus {
|
||||
}
|
||||
.device-info {
|
||||
background: var(--color-border-light);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
@@ -79,7 +80,7 @@ input[type="text"]:focus {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.device-info .value {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.actions {
|
||||
@@ -91,22 +92,22 @@ button {
|
||||
flex: 1;
|
||||
padding: 0.75rem;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.btn-approve {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-danger-text);
|
||||
color: var(--color-on-accent);
|
||||
}
|
||||
.btn-approve:hover {
|
||||
background: var(--color-primary-hover);
|
||||
}
|
||||
.btn-deny {
|
||||
background: var(--color-error-text);
|
||||
color: var(--color-danger-text);
|
||||
background: var(--color-danger-bg);
|
||||
color: var(--color-on-accent);
|
||||
}
|
||||
.btn-deny:hover {
|
||||
background: var(--color-danger-bg-hover);
|
||||
@@ -118,9 +119,9 @@ button:disabled {
|
||||
.status {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
margin-top: 1rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
.status.success {
|
||||
background: var(--color-success-bg);
|
||||
|
||||
@@ -48,20 +48,20 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 50px 20px;
|
||||
padding: 50px var(--space-5);
|
||||
text-align: center;
|
||||
color: var(--color-text-gray);
|
||||
}
|
||||
|
||||
.favorites-empty-state i {
|
||||
font-size: 48px;
|
||||
font-size: var(--text-6xl);
|
||||
color: var(--color-warning-text);
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-5);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.favorites-empty-state p {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: var(--space-2-5);
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
@@ -98,13 +98,13 @@
|
||||
/* List view: small star next to the name */
|
||||
.favorite-star-inline {
|
||||
color: var(--color-warning-text);
|
||||
font-size: 11px;
|
||||
margin-left: 6px;
|
||||
font-size: var(--text-2xs);
|
||||
margin-left: var(--space-1-5);
|
||||
vertical-align: middle;
|
||||
filter: drop-shadow(0 0 1px var(--color-device-verify-drop-shadow));
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 0;
|
||||
margin-right: 6px;
|
||||
margin-right: var(--space-1-5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
height: 90%;
|
||||
max-width: 1200px;
|
||||
background-color: var(--color-bg-surface);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -38,14 +38,14 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
background-color: var(--color-bg-subtle);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.inline-viewer-title {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
@@ -55,7 +55,7 @@
|
||||
.inline-viewer-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
cursor: pointer;
|
||||
color: var(--color-text-muted);
|
||||
width: 36px;
|
||||
@@ -86,7 +86,7 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
background-color: var(--color-bg-subtle);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
@@ -95,14 +95,14 @@
|
||||
background-color: var(--color-accent);
|
||||
color: var(--color-danger-text);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
border-radius: var(--radius-sm);
|
||||
padding: var(--space-2) var(--space-4);
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-medium);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
@@ -112,13 +112,13 @@
|
||||
|
||||
.inline-viewer-controls {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.inline-viewer-controls button {
|
||||
background-color: var(--color-border-light);
|
||||
border: 1px solid var(--color-border-medium);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: flex;
|
||||
@@ -138,11 +138,38 @@
|
||||
.inline-viewer-image {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
/* The image is a flex item; without min-* = 0 the flexbox `min-width: auto`
|
||||
default keeps it at its natural size, so `max-width: 100%` is ignored and
|
||||
wide images overflow → a stray horizontal scrollbar and the picture only
|
||||
partly visible (looked like it "repeated" while scrolling). */
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
object-fit: contain;
|
||||
transform-origin: center;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
/* Subtle, thin scrollbar inside the viewer (shown only when zoomed in to pan) —
|
||||
replaces the heavy global accent scrollbar. */
|
||||
.inline-viewer-container {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-border-medium) transparent;
|
||||
}
|
||||
|
||||
.inline-viewer-container::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.inline-viewer-container::-webkit-scrollbar-thumb {
|
||||
background: var(--color-border-medium);
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
.inline-viewer-container::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* PDF viewer */
|
||||
.inline-viewer-pdf,
|
||||
.inline-viewer-pdf-fallback {
|
||||
@@ -176,10 +203,10 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 20px;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-5);
|
||||
background: var(--color-progress-overlay);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 2px 8px var(--color-shadow);
|
||||
}
|
||||
|
||||
@@ -188,7 +215,7 @@
|
||||
width: 200px;
|
||||
height: 8px;
|
||||
background: var(--color-border);
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -196,21 +223,21 @@
|
||||
.inline-viewer-progress-fill {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--color-info-blue), var(--color-admin-blue));
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: width 0.2s ease;
|
||||
}
|
||||
|
||||
/* Progress percentage text */
|
||||
.inline-viewer-progress-text {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-secondary);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
/* Error and unsupported message */
|
||||
.inline-viewer-message {
|
||||
padding: 32px;
|
||||
padding: var(--space-8);
|
||||
text-align: center;
|
||||
max-width: 400px;
|
||||
}
|
||||
@@ -218,7 +245,7 @@
|
||||
.inline-viewer-icon {
|
||||
font-size: 64px;
|
||||
color: var(--color-text-dark);
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.inline-viewer-text {
|
||||
@@ -227,7 +254,7 @@
|
||||
}
|
||||
|
||||
.inline-viewer-text p {
|
||||
margin: 0 0 16px;
|
||||
margin: 0 0 var(--space-4);
|
||||
}
|
||||
|
||||
/* Text viewer */
|
||||
@@ -235,9 +262,9 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 16px 24px;
|
||||
padding: var(--space-4) var(--space-6);
|
||||
font-family: "Courier New", Consolas, Monaco, monospace;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.6;
|
||||
color: var(--color-text);
|
||||
background-color: var(--color-bg-surface);
|
||||
@@ -254,7 +281,7 @@
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
background-color: var(--color-black);
|
||||
}
|
||||
|
||||
@@ -264,8 +291,8 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 24px;
|
||||
padding: 48px 32px;
|
||||
gap: var(--space-6);
|
||||
padding: var(--space-12) var(--space-8);
|
||||
max-width: 500px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -289,8 +316,8 @@
|
||||
}
|
||||
|
||||
.inline-viewer-audio-name {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-secondary);
|
||||
text-align: center;
|
||||
word-break: break-word;
|
||||
@@ -300,7 +327,7 @@
|
||||
.inline-viewer-audio {
|
||||
width: 100%;
|
||||
max-width: 460px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
||||
+172
-173
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@
|
||||
.ms-load-more-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 16px 0 8px;
|
||||
padding: var(--space-4) 0 var(--space-2);
|
||||
}
|
||||
|
||||
.ms-load-more-wrapper.hidden {
|
||||
@@ -23,7 +23,7 @@
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
overflow: visible;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
.ms-lane {
|
||||
background-color: var(--color-item);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-xs);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -44,14 +44,14 @@
|
||||
|
||||
/* Vignette lane headers need the same padding as the resource row */
|
||||
.ms-lane__header .user-vignette {
|
||||
padding: 10px 14px;
|
||||
font-weight: 600;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
.ms-lane__header .user-vignette .user-vignette__name {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-heading);
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
.ms-lane__body {
|
||||
@@ -63,16 +63,16 @@
|
||||
.ms-resource-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 14px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
}
|
||||
|
||||
/* Size the shared .file-icon component for inline use in myShares rows */
|
||||
.ms-resource-row .file-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-base);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -81,14 +81,14 @@
|
||||
.ms-link-identity__resource .file-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 4px;
|
||||
font-size: 11px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--text-2xs);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ms-resource-row__name {
|
||||
flex: 1;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text);
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
@@ -103,8 +103,8 @@
|
||||
|
||||
.ms-resource-row__edit {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
padding: 3px 8px;
|
||||
font-size: var(--text-xs);
|
||||
padding: 3px var(--space-2);
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.15s;
|
||||
}
|
||||
@@ -118,16 +118,16 @@
|
||||
.ms-link-lane-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 14px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
gap: var(--space-1-5);
|
||||
padding: var(--space-2) var(--space-3-5);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.ms-link-lane-label__icon {
|
||||
color: var(--color-text-faint);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
/* ── Grant row ───────────────────────────────────────────────────────────── */
|
||||
@@ -139,8 +139,8 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 110px 180px auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 7px 14px 7px 28px;
|
||||
gap: var(--space-2);
|
||||
padding: 7px var(--space-3-5) 7px var(--space-7);
|
||||
border-bottom: 1px solid var(--color-border-faint);
|
||||
transition: background 0.1s;
|
||||
}
|
||||
@@ -171,12 +171,12 @@
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
|
||||
.ms-identity__name {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -184,8 +184,8 @@
|
||||
}
|
||||
|
||||
.ms-identity__resource-name {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text);
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
@@ -201,13 +201,13 @@
|
||||
/* Token in sharedWith mode: arrow + resource link */
|
||||
|
||||
.ms-link-identity__arrow {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-faint);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ms-link-identity__resource {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-secondary);
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
@@ -235,11 +235,11 @@
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
color: var(--color-text-muted);
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
flex-shrink: 0;
|
||||
transition:
|
||||
background 0.12s,
|
||||
@@ -263,7 +263,7 @@
|
||||
/* ── Context menu current-item indicator ─────────────────────────────────── */
|
||||
|
||||
.ms-menu-item--current {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
/* ── Context menu expiry row ─────────────────────────────────────────────── */
|
||||
@@ -272,12 +272,12 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 6px 12px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-1-5) var(--space-3);
|
||||
}
|
||||
|
||||
.ms-menu-expiry-label {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-muted);
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
|
||||
+56
-53
@@ -13,61 +13,61 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding: 8px 8px 4px;
|
||||
padding: var(--space-2) var(--space-2) var(--space-1);
|
||||
}
|
||||
|
||||
/* Toggle buttons — wider for text labels */
|
||||
.photos-toolbar .toggle-btn {
|
||||
width: auto;
|
||||
padding: 0 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
padding: 0 var(--space-3-5);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
|
||||
/* Group header */
|
||||
.photos-day-header {
|
||||
padding: 16px 8px 10px;
|
||||
padding: var(--space-4) var(--space-2) var(--space-2-5);
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.photos-day-header .photos-day-count {
|
||||
font-weight: 400;
|
||||
font-weight: var(--weight-normal);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 13px;
|
||||
margin-left: 8px;
|
||||
font-size: var(--text-sm);
|
||||
margin-left: var(--space-2);
|
||||
}
|
||||
|
||||
/* Photo grid — base (daily mode) */
|
||||
.photos-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
||||
gap: 12px;
|
||||
padding: 0 8px;
|
||||
margin-bottom: 16px;
|
||||
gap: var(--space-3);
|
||||
padding: 0 var(--space-2);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
/* Monthly mode — larger tiles, more breathing room */
|
||||
.photos-group-monthly .photos-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
|
||||
.photos-group-monthly .photos-day-header {
|
||||
font-size: 17px;
|
||||
padding: 20px 8px 12px;
|
||||
padding: var(--space-5) var(--space-2) var(--space-3);
|
||||
}
|
||||
|
||||
/* Yearly mode — smaller tiles, more items visible */
|
||||
.photos-group-yearly .photos-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
|
||||
.photos-group-yearly .photos-day-header {
|
||||
font-size: 20px;
|
||||
padding: 24px 8px 14px;
|
||||
font-size: var(--text-xl);
|
||||
padding: var(--space-6) var(--space-2) var(--space-3-5);
|
||||
}
|
||||
|
||||
/* Individual photo tile */
|
||||
@@ -75,10 +75,10 @@
|
||||
position: relative;
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 2px solid var(--color-border);
|
||||
cursor: pointer;
|
||||
background: var(--color-bg-surface);
|
||||
background: var(--color-bg-muted);
|
||||
box-shadow: 0 1px 3px var(--color-shadow-xs);
|
||||
transition:
|
||||
transform 0.2s ease,
|
||||
@@ -90,8 +90,15 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
transition: transform 0.2s ease;
|
||||
border-radius: var(--radius-xl);
|
||||
opacity: 0;
|
||||
transition:
|
||||
opacity 0.4s ease,
|
||||
transform 0.2s ease;
|
||||
}
|
||||
|
||||
.photo-tile img.is-loaded {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.photo-tile:hover {
|
||||
@@ -120,7 +127,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-danger-text);
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@@ -159,7 +166,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-danger-text);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@@ -168,11 +175,11 @@
|
||||
position: absolute;
|
||||
bottom: 6px;
|
||||
left: 6px;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-danger-text);
|
||||
background: var(--color-overlay-video);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
padding: var(--space-0-5) var(--space-1-5);
|
||||
border-radius: var(--radius-sm);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@@ -182,25 +189,25 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 80px 20px;
|
||||
padding: var(--space-20) var(--space-5);
|
||||
text-align: center;
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.photos-empty i {
|
||||
font-size: 56px;
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: var(--space-4);
|
||||
color: var(--color-border-medium);
|
||||
}
|
||||
|
||||
.photos-empty p {
|
||||
margin: 4px 0;
|
||||
margin: var(--space-1) 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.photos-empty .photos-empty-title {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
|
||||
@@ -215,21 +222,17 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
padding: var(--space-6);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 14px;
|
||||
gap: 8px;
|
||||
font-size: var(--text-base);
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.photos-loading i {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/* @keyframes spin → base/animations.css (canonical, loaded via main.css). */
|
||||
|
||||
/* Selection bar */
|
||||
.photos-selection-bar {
|
||||
@@ -239,14 +242,14 @@
|
||||
transform: translateX(-50%);
|
||||
background: var(--color-multiselect-bg);
|
||||
color: var(--color-multiselect-text);
|
||||
padding: 10px 20px;
|
||||
border-radius: 12px;
|
||||
padding: var(--space-2-5) var(--space-5);
|
||||
border-radius: var(--radius-2xl);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
gap: var(--space-4);
|
||||
box-shadow: 0 8px 30px var(--color-shadow-3xl);
|
||||
z-index: 1000;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.photos-selection-bar button {
|
||||
@@ -254,9 +257,9 @@
|
||||
border: none;
|
||||
color: var(--color-multiselect-text);
|
||||
cursor: pointer;
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-1-5) var(--space-2-5);
|
||||
border-radius: var(--radius-md);
|
||||
font-size: var(--text-base);
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
@@ -265,16 +268,16 @@
|
||||
}
|
||||
|
||||
.photos-selection-bar .selection-count {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.photos-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
||||
gap: 2px;
|
||||
padding: 0 2px;
|
||||
margin-bottom: 8px;
|
||||
gap: var(--space-0-5);
|
||||
padding: 0 var(--space-0-5);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.photos-group-monthly .photos-grid {
|
||||
@@ -290,11 +293,11 @@
|
||||
}
|
||||
|
||||
.photos-day-header {
|
||||
font-size: 14px;
|
||||
padding: 10px 4px 6px;
|
||||
font-size: var(--text-base);
|
||||
padding: var(--space-2-5) var(--space-1) var(--space-1-5);
|
||||
}
|
||||
|
||||
.photos-toolbar {
|
||||
padding: 6px 4px 2px;
|
||||
padding: var(--space-1-5) var(--space-1) var(--space-0-5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
max-width: 90vw;
|
||||
max-height: 85vh;
|
||||
object-fit: contain;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
border: none;
|
||||
background: var(--color-lightbox-btn-bg);
|
||||
color: var(--color-lightbox-btn-text);
|
||||
font-size: 20px;
|
||||
font-size: var(--text-xl);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -80,7 +80,7 @@
|
||||
border: none;
|
||||
background: var(--color-lightbox-btn-bg);
|
||||
color: var(--color-lightbox-btn-text);
|
||||
font-size: 18px;
|
||||
font-size: var(--text-lg);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -99,7 +99,7 @@
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 16px 70px 16px 20px;
|
||||
padding: var(--space-4) 70px var(--space-4) var(--space-5);
|
||||
background: var(--color-lightbox-gradient-top);
|
||||
color: var(--color-lightbox-btn-text);
|
||||
z-index: 10001;
|
||||
@@ -107,18 +107,18 @@
|
||||
|
||||
.lightbox-filename {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 2px;
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-bottom: var(--space-0-5);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.lightbox-meta {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-lightbox-text-muted);
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
gap: var(--space-3);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -128,12 +128,12 @@
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 16px 20px;
|
||||
padding: var(--space-4) var(--space-5);
|
||||
background: var(--color-lightbox-gradient-bottom);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
bottom: 16px;
|
||||
left: 20px;
|
||||
color: var(--color-lightbox-text-faint);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
.lightbox-nav {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 16px;
|
||||
font-size: var(--text-md);
|
||||
}
|
||||
|
||||
.lightbox-prev {
|
||||
|
||||
+195
-199
@@ -7,7 +7,7 @@
|
||||
body {
|
||||
background: var(--color-bg-page);
|
||||
color: var(--color-text-heading);
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -19,7 +19,7 @@ body {
|
||||
color: inherit;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
.width-zero {
|
||||
width: 0%;
|
||||
@@ -30,7 +30,7 @@ body {
|
||||
/* ── Header ── */
|
||||
.profile-header {
|
||||
background: linear-gradient(135deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);
|
||||
padding: 0 32px;
|
||||
padding: 0 var(--space-8);
|
||||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -43,7 +43,7 @@ body {
|
||||
.profile-header-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
gap: var(--space-3-5);
|
||||
}
|
||||
.profile-logo {
|
||||
width: 38px;
|
||||
@@ -62,24 +62,24 @@ body {
|
||||
}
|
||||
.profile-title-text {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-sidebar-text-active);
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.profile-title-separator {
|
||||
font-size: 17px;
|
||||
color: var(--color-sidebar-storage-faint);
|
||||
font-weight: 400;
|
||||
margin-left: 6px;
|
||||
font-weight: var(--weight-normal);
|
||||
margin-left: var(--space-1-5);
|
||||
}
|
||||
.profile-header-right a {
|
||||
color: var(--color-sidebar-text);
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.profile-header-right a:hover {
|
||||
@@ -90,28 +90,28 @@ body {
|
||||
.profile-container {
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
padding: 32px 24px 60px;
|
||||
padding: var(--space-8) var(--space-6) 60px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ── Card ── */
|
||||
.profile-card {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: 16px;
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow:
|
||||
0 1px 4px var(--color-shadow-xs),
|
||||
0 0 0 1px var(--color-shadow-xs);
|
||||
padding: 32px;
|
||||
padding: var(--space-8);
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.profile-card h2 {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 20px;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-5);
|
||||
color: var(--color-text-heading);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: var(--space-2-5);
|
||||
}
|
||||
.profile-card h2 i {
|
||||
color: var(--color-accent);
|
||||
@@ -122,8 +122,8 @@ body {
|
||||
.avatar-section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
margin-bottom: 8px;
|
||||
gap: var(--space-6);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.avatar-large {
|
||||
width: 88px;
|
||||
@@ -134,31 +134,31 @@ body {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-sidebar-text-active);
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-4xl);
|
||||
font-weight: var(--weight-bold);
|
||||
letter-spacing: 1px;
|
||||
box-shadow: 0 6px 20px var(--color-accent-shadow);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.avatar-info h1 {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-text-heading);
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
.avatar-info .email {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
color: var(--color-text-subtle);
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.avatar-info .role-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
padding: var(--space-1) var(--space-3);
|
||||
border-radius: var(--radius-4xl);
|
||||
}
|
||||
.role-badge-admin {
|
||||
background: var(--color-role-admin-bg);
|
||||
@@ -173,7 +173,7 @@ body {
|
||||
.info-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 16px;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
@media (max-width: 560px) {
|
||||
.info-grid {
|
||||
@@ -181,9 +181,9 @@ body {
|
||||
}
|
||||
}
|
||||
.info-item {
|
||||
padding: 16px;
|
||||
padding: var(--space-4);
|
||||
background: var(--color-bg-alt);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
.info-item .info-label {
|
||||
@@ -191,31 +191,31 @@ body {
|
||||
color: var(--color-text-faint);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
font-weight: var(--weight-bold);
|
||||
margin-bottom: var(--space-1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.info-item .info-label i {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.info-item .info-value {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
|
||||
/* ── Storage ── */
|
||||
.storage-section {
|
||||
margin-top: 4px;
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
.storage-stats {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 14px;
|
||||
margin-bottom: 16px;
|
||||
gap: var(--space-3-5);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
@media (max-width: 560px) {
|
||||
.storage-stats {
|
||||
@@ -224,26 +224,26 @@ body {
|
||||
}
|
||||
.storage-stat {
|
||||
text-align: center;
|
||||
padding: 16px;
|
||||
padding: var(--space-4);
|
||||
background: var(--color-bg-hover);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
.storage-stat .stat-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-extrabold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
.storage-stat .stat-label {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
color: var(--color-text-faint);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
font-weight: 600;
|
||||
margin-top: 2px;
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-top: var(--space-0-5);
|
||||
}
|
||||
.storage-bar-wrap {
|
||||
margin-top: 4px;
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
.storage-bar {
|
||||
height: 10px;
|
||||
@@ -266,29 +266,29 @@ body {
|
||||
background: var(--color-storage-fill-red);
|
||||
}
|
||||
.storage-text {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
text-align: right;
|
||||
margin-top: 6px;
|
||||
margin-top: var(--space-1-5);
|
||||
}
|
||||
|
||||
/* ── Change Password ── */
|
||||
.form-group {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
.form-group label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-semibold);
|
||||
margin-bottom: var(--space-1);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.form-group input {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-input);
|
||||
transition: all 0.2s;
|
||||
font-family: inherit;
|
||||
@@ -305,23 +305,23 @@ body {
|
||||
}
|
||||
.form-group small {
|
||||
color: var(--color-text-faint);
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
display: block;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 10px 22px;
|
||||
padding: var(--space-2-5) 22px;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
white-space: nowrap;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.btn-primary {
|
||||
background: var(--color-accent-gradient);
|
||||
@@ -339,11 +339,11 @@ body {
|
||||
}
|
||||
|
||||
.alert {
|
||||
padding: 12px 16px;
|
||||
border-radius: 10px;
|
||||
font-size: 13px;
|
||||
margin-top: 14px;
|
||||
font-weight: 500;
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-sm);
|
||||
margin-top: var(--space-3-5);
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
.alert-success {
|
||||
background: var(--color-badge-success-bg);
|
||||
@@ -358,22 +358,22 @@ body {
|
||||
|
||||
/* ── App Passwords ── */
|
||||
.section-desc {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-subtle);
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.5;
|
||||
margin-bottom: var(--space-4);
|
||||
line-height: var(--leading-normal);
|
||||
}
|
||||
.scope-checkboxes {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
gap: var(--space-4);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: var(--weight-medium);
|
||||
color: var(--color-text-dark);
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -384,10 +384,10 @@ body {
|
||||
}
|
||||
.form-select {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-hover);
|
||||
color: var(--color-text-heading);
|
||||
font-family: inherit;
|
||||
@@ -418,28 +418,28 @@ body {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.btn-sm {
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-1-5) var(--space-3);
|
||||
font-size: var(--text-xs);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.app-pw-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.app-pw-table th {
|
||||
text-align: left;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--color-text-faint);
|
||||
font-weight: 700;
|
||||
padding: 8px 10px;
|
||||
font-weight: var(--weight-bold);
|
||||
padding: var(--space-2) var(--space-2-5);
|
||||
border-bottom: 2px solid var(--color-border);
|
||||
}
|
||||
.app-pw-table td {
|
||||
padding: 10px;
|
||||
padding: var(--space-2-5);
|
||||
border-bottom: 1px solid var(--color-border-light);
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -447,23 +447,23 @@ body {
|
||||
border-bottom: none;
|
||||
}
|
||||
.app-pw-label-cell {
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-heading);
|
||||
}
|
||||
.app-pw-prefix code {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
background: var(--color-border-light);
|
||||
padding: 2px 8px;
|
||||
border-radius: 6px;
|
||||
padding: var(--space-0-5) var(--space-2);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 2px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
padding: var(--space-0-5) var(--space-2-5);
|
||||
border-radius: var(--radius-2xl);
|
||||
}
|
||||
.badge-active {
|
||||
background: var(--color-badge-success-bg);
|
||||
@@ -476,7 +476,7 @@ body {
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.app-pw-table {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
.app-pw-table th:nth-child(3),
|
||||
.app-pw-table td:nth-child(3),
|
||||
@@ -487,83 +487,79 @@ body {
|
||||
}
|
||||
.app-pw-empty {
|
||||
text-align: center;
|
||||
padding: 24px;
|
||||
padding: var(--space-6);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.app-pw-empty i {
|
||||
margin-right: 6px;
|
||||
margin-right: var(--space-1-5);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
.app-pw-warn {
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.app-pw-dismiss {
|
||||
margin-top: 10px;
|
||||
margin-top: var(--space-2-5);
|
||||
}
|
||||
.app-pw-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.app-pw-new-btn {
|
||||
margin-top: 14px;
|
||||
margin-top: var(--space-3-5);
|
||||
}
|
||||
.app-pw-created-box {
|
||||
position: relative;
|
||||
}
|
||||
.app-pw-token-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.app-pw-token-input {
|
||||
flex: 1;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-badge-success-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
background: var(--color-badge-success-fill-faint);
|
||||
color: var(--color-badge-success-text);
|
||||
}
|
||||
.app-pw-instr-list {
|
||||
font-size: 12px;
|
||||
line-height: 1.8;
|
||||
margin-top: 8px;
|
||||
font-size: var(--text-xs);
|
||||
line-height: var(--leading-loose);
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
.app-pw-instr-list code {
|
||||
background: var(--color-badge-success-fill-faint);
|
||||
padding: 1px 6px;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
padding: 1px var(--space-1-5);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
/* ── Loading / Error ── */
|
||||
#loading {
|
||||
text-align: center;
|
||||
padding: 80px;
|
||||
padding: var(--space-20);
|
||||
color: var(--color-text-faint);
|
||||
font-size: 15px;
|
||||
}
|
||||
#loading i {
|
||||
font-size: 32px;
|
||||
font-size: var(--text-4xl);
|
||||
color: var(--color-accent);
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--space-3);
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/* @keyframes spin → base/animations.css (canonical, loaded via main.css). */
|
||||
#auth-error {
|
||||
text-align: center;
|
||||
padding: 80px 20px;
|
||||
padding: var(--space-20) var(--space-5);
|
||||
}
|
||||
#auth-error .err-icon {
|
||||
width: 80px;
|
||||
@@ -573,33 +569,33 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 20px;
|
||||
margin: 0 auto var(--space-5);
|
||||
}
|
||||
#auth-error .err-icon i {
|
||||
font-size: 32px;
|
||||
font-size: var(--text-4xl);
|
||||
color: var(--color-danger-alt);
|
||||
}
|
||||
#auth-error h2 {
|
||||
color: var(--color-error-text-dark);
|
||||
margin-bottom: 8px;
|
||||
font-size: 20px;
|
||||
margin-bottom: var(--space-2);
|
||||
font-size: var(--text-xl);
|
||||
}
|
||||
#auth-error p {
|
||||
color: var(--color-text-subtle);
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px;
|
||||
margin-bottom: var(--space-5);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
#auth-error a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 10px 24px;
|
||||
gap: var(--space-1-5);
|
||||
padding: var(--space-2-5) var(--space-6);
|
||||
background: var(--color-accent-gradient);
|
||||
color: var(--color-sidebar-text-active);
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-weight: var(--weight-semibold);
|
||||
font-size: var(--text-base);
|
||||
box-shadow: 0 3px 12px var(--color-accent-shadow);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
@@ -610,22 +606,22 @@ body {
|
||||
|
||||
/* ── App Passwords ── */
|
||||
.app-pw-desc {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-text-subtle);
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.5;
|
||||
margin-bottom: var(--space-4);
|
||||
line-height: var(--leading-normal);
|
||||
}
|
||||
.app-pw-create {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
gap: var(--space-2-5);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
.app-pw-create input {
|
||||
flex: 1;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
border-radius: var(--radius-xl);
|
||||
font-size: var(--text-base);
|
||||
background: var(--color-bg-input);
|
||||
transition: all 0.2s;
|
||||
font-family: inherit;
|
||||
@@ -645,42 +641,42 @@ body {
|
||||
.app-pw-created {
|
||||
background: var(--color-badge-success-bg);
|
||||
border: 1px solid var(--color-badge-success-border);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: var(--radius-2xl);
|
||||
padding: var(--space-4);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
.app-pw-created-label {
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
color: var(--color-badge-success-text);
|
||||
margin-bottom: 8px;
|
||||
font-weight: 500;
|
||||
margin-bottom: var(--space-2);
|
||||
font-weight: var(--weight-medium);
|
||||
}
|
||||
.app-pw-created-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 6px;
|
||||
gap: var(--space-2-5);
|
||||
margin-bottom: var(--space-1-5);
|
||||
}
|
||||
.app-pw-created-value code {
|
||||
font-family: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-md);
|
||||
font-weight: var(--weight-bold);
|
||||
color: var(--color-badge-success-text);
|
||||
letter-spacing: 1px;
|
||||
background: var(--color-badge-success-bg-medium);
|
||||
padding: 8px 14px;
|
||||
border-radius: 8px;
|
||||
padding: var(--space-2) var(--space-3-5);
|
||||
border-radius: var(--radius-lg);
|
||||
flex: 1;
|
||||
word-break: break-all;
|
||||
}
|
||||
.btn-copy {
|
||||
padding: 8px 12px;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-secret-green);
|
||||
color: var(--color-sidebar-text-active);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
transition: all 0.15s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -688,13 +684,13 @@ body {
|
||||
background: var(--color-badge-success-fill);
|
||||
}
|
||||
.app-pw-created small {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-badge-success-fill);
|
||||
}
|
||||
.app-pw-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
.app-pw-table thead th {
|
||||
text-align: left;
|
||||
@@ -702,12 +698,12 @@ body {
|
||||
color: var(--color-text-faint);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
font-weight: 700;
|
||||
padding: 8px 12px;
|
||||
font-weight: var(--weight-bold);
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
.app-pw-table tbody td {
|
||||
padding: 10px 12px;
|
||||
padding: var(--space-2-5) var(--space-3);
|
||||
border-bottom: 1px solid var(--color-border-light);
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
@@ -715,13 +711,13 @@ body {
|
||||
border-bottom: none;
|
||||
}
|
||||
.btn-danger-sm {
|
||||
padding: 6px 10px;
|
||||
padding: var(--space-1-5) var(--space-2-5);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--color-danger-light-bg);
|
||||
color: var(--color-error-text-dark);
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
transition: all 0.15s;
|
||||
}
|
||||
.btn-danger-sm:hover {
|
||||
@@ -731,23 +727,23 @@ body {
|
||||
.app-pw-empty {
|
||||
text-align: center;
|
||||
color: var(--color-text-faint);
|
||||
font-size: 14px;
|
||||
padding: 24px 0;
|
||||
font-size: var(--text-base);
|
||||
padding: var(--space-6) 0;
|
||||
}
|
||||
.app-pw-auto-section {
|
||||
margin-top: 20px;
|
||||
margin-top: var(--space-5);
|
||||
border-top: 1px solid var(--color-border);
|
||||
padding-top: 16px;
|
||||
padding-top: var(--space-4);
|
||||
}
|
||||
.app-pw-auto-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-base);
|
||||
font-weight: var(--weight-semibold);
|
||||
color: var(--color-text-subtle);
|
||||
padding: 0;
|
||||
transition: color 0.15s;
|
||||
@@ -757,23 +753,23 @@ body {
|
||||
color: var(--color-text-dark);
|
||||
}
|
||||
.app-pw-auto-toggle i {
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
transition: transform 0.15s;
|
||||
width: 12px;
|
||||
}
|
||||
.app-pw-auto-count {
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-2xs);
|
||||
font-weight: var(--weight-bold);
|
||||
background: var(--color-border);
|
||||
color: var(--color-text-subtle);
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
padding: var(--space-0-5) var(--space-2);
|
||||
border-radius: var(--radius-xl);
|
||||
margin-left: auto;
|
||||
}
|
||||
.app-pw-auto-desc {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
margin: 12px 0 8px;
|
||||
margin: var(--space-3) 0 var(--space-2);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@@ -807,7 +803,7 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
font-size: var(--text-2xs);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
opacity 0.15s,
|
||||
@@ -820,33 +816,33 @@ body {
|
||||
|
||||
/* OIDC note shown instead of edit button */
|
||||
.avatar-oidc-note {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
margin-top: 6px;
|
||||
margin-top: var(--space-1-5);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ── Photo edit panel ──────────────────────────────────────────────────────── */
|
||||
|
||||
.avatar-edit-panel {
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
margin-top: var(--space-5);
|
||||
padding-top: var(--space-5);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.avatar-edit-tabs {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-bottom: 16px;
|
||||
gap: var(--space-1);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.avatar-tab {
|
||||
padding: 6px 16px;
|
||||
padding: var(--space-1-5) var(--space-4);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 20px;
|
||||
border-radius: var(--radius-4xl);
|
||||
background: none;
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
background 0.15s,
|
||||
@@ -863,17 +859,17 @@ body {
|
||||
.avatar-tab-pane {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.avatar-url-input {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
padding: var(--space-2-5) var(--space-3-5);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
background: var(--color-bg-alt);
|
||||
color: var(--color-text-dark);
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -884,7 +880,7 @@ body {
|
||||
}
|
||||
|
||||
.avatar-hint {
|
||||
font-size: 12px;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
@@ -896,13 +892,13 @@ body {
|
||||
.avatar-file-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 20px;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2-5) var(--space-5);
|
||||
border: 1px dashed var(--color-border);
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
background: var(--color-bg-alt);
|
||||
color: var(--color-text-subtle);
|
||||
font-size: 13px;
|
||||
font-size: var(--text-sm);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 0.15s,
|
||||
@@ -925,11 +921,11 @@ body {
|
||||
|
||||
.avatar-edit-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
gap: var(--space-2);
|
||||
flex-wrap: wrap;
|
||||
margin-top: 16px;
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
#p-avatar-status {
|
||||
margin-top: 12px;
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
@@ -37,20 +37,20 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 50px 20px;
|
||||
padding: 50px var(--space-5);
|
||||
text-align: center;
|
||||
color: var(--color-recent-muted);
|
||||
}
|
||||
|
||||
.recents-empty-state i {
|
||||
font-size: 48px;
|
||||
font-size: var(--text-6xl);
|
||||
color: var(--color-recent-muted);
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-5);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.recents-empty-state p {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: var(--space-2-5);
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,33 +7,44 @@
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--color-bg-hover);
|
||||
/* Shared brand backdrop (centralised in --brand-ambient). */
|
||||
background: var(--brand-ambient);
|
||||
color: var(--color-text-heading);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: safe center;
|
||||
height: auto;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.share-card {
|
||||
background: var(--color-bg-surface);
|
||||
border-radius: var(--radius, 12px);
|
||||
box-shadow: 0 4px 24px var(--color-shadow-sm);
|
||||
border-radius: var(--radius-3xl);
|
||||
box-shadow: var(--shadow-xl);
|
||||
padding: 2.5rem;
|
||||
max-width: 480px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.share-trust {
|
||||
margin-top: 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-1-5);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-faint);
|
||||
}
|
||||
|
||||
.share-logo {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.share-logo h1 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
.share-logo span {
|
||||
color: var(--color-primary);
|
||||
@@ -64,18 +75,29 @@ p.subtitle {
|
||||
margin: 0 auto 1rem;
|
||||
animation: spin 0.7s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/* @keyframes spin → base/animations.css (canonical, loaded via main.css). */
|
||||
|
||||
/* Icons */
|
||||
.share-icon {
|
||||
font-size: 3rem;
|
||||
font-size: var(--text-6xl);
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
/* Inline SVG state icons (replaced the per-OS emoji). Colour comes from the
|
||||
container via stroke: currentColor. */
|
||||
.share-icon svg {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
#share-expired .share-icon {
|
||||
color: var(--color-error-text);
|
||||
}
|
||||
|
||||
#share-file .share-icon {
|
||||
color: var(--color-accent-text);
|
||||
}
|
||||
|
||||
/* Password form */
|
||||
#password-form {
|
||||
text-align: left;
|
||||
@@ -83,9 +105,9 @@ p.subtitle {
|
||||
#password-input {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 1rem;
|
||||
font-size: var(--text-md);
|
||||
border: 2px solid var(--color-border);
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
outline: none;
|
||||
background: var(--color-bg-surface);
|
||||
color: var(--color-text-heading);
|
||||
@@ -112,9 +134,9 @@ FIXME: use components/buttons.css ?
|
||||
background: var(--color-primary);
|
||||
color: var(--color-bg-surface);
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
font-weight: var(--weight-semibold);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
@@ -193,8 +215,8 @@ body.gallery-mode .share-logo {
|
||||
}
|
||||
.gallery-title {
|
||||
flex: 1 1 200px;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xl);
|
||||
font-weight: var(--weight-semibold);
|
||||
margin: 0;
|
||||
word-break: break-word;
|
||||
color: var(--color-text-heading);
|
||||
@@ -213,7 +235,7 @@ body.gallery-mode .share-logo {
|
||||
color: var(--color-text-heading);
|
||||
font-size: 0.85rem;
|
||||
padding: 0.4rem 0.85rem;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
transition: background 0.15s;
|
||||
@@ -226,7 +248,7 @@ body.gallery-mode .share-logo {
|
||||
display: inline-flex;
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
padding: 3px;
|
||||
}
|
||||
.gallery-view-toggle button {
|
||||
@@ -234,7 +256,7 @@ body.gallery-mode .share-logo {
|
||||
border: none;
|
||||
color: var(--color-text-gray);
|
||||
padding: 0.35rem 0.75rem;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
display: inline-flex;
|
||||
@@ -252,14 +274,14 @@ body.gallery-mode .share-logo {
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
padding: 0.55rem 1rem;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
width: auto;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.gallery-section-title {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
color: var(--color-text-gray);
|
||||
@@ -278,7 +300,7 @@ body.gallery-mode .share-logo {
|
||||
padding: 0.75rem 0.85rem;
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
color: var(--color-text-heading);
|
||||
text-decoration: none;
|
||||
transition:
|
||||
@@ -296,13 +318,13 @@ body.gallery-mode .share-logo {
|
||||
}
|
||||
.folder-card .card-name {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.folder-card .card-meta {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-gray);
|
||||
}
|
||||
|
||||
@@ -315,7 +337,7 @@ body.gallery-mode .share-logo {
|
||||
display: block;
|
||||
background: var(--color-bg-hover);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 12px;
|
||||
border-radius: var(--radius-2xl);
|
||||
color: var(--color-text-heading);
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
@@ -367,7 +389,7 @@ body.gallery-mode .share-logo {
|
||||
.file-thumb .video-marker::before {
|
||||
content: "▶";
|
||||
color: var(--color-on-overlay);
|
||||
font-size: 28px;
|
||||
font-size: var(--text-3xl);
|
||||
text-shadow: 0 2px 8px var(--color-overlay-shadow);
|
||||
}
|
||||
.file-card .card-body {
|
||||
@@ -376,15 +398,15 @@ body.gallery-mode .share-logo {
|
||||
}
|
||||
.file-card .card-name {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
font-weight: var(--weight-medium);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.file-card .card-meta {
|
||||
font-size: 0.75rem;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-gray);
|
||||
margin-top: 2px;
|
||||
margin-top: var(--space-0-5);
|
||||
}
|
||||
|
||||
/* ── List view ───────────────────────────────────────────────── */
|
||||
@@ -397,7 +419,7 @@ body[data-share-view="list"] .file-card {
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
margin-bottom: 0.35rem;
|
||||
border-radius: 10px;
|
||||
border-radius: var(--radius-xl);
|
||||
}
|
||||
body[data-share-view="list"] .file-card:hover {
|
||||
transform: none;
|
||||
@@ -407,14 +429,14 @@ body[data-share-view="list"] .file-thumb {
|
||||
height: 44px;
|
||||
aspect-ratio: 1 / 1;
|
||||
flex: none;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
body[data-share-view="list"] .file-thumb .file-type-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
body[data-share-view="list"] .file-thumb .video-marker::before {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
body[data-share-view="list"] .file-card .card-body {
|
||||
padding: 0;
|
||||
@@ -462,7 +484,7 @@ body[data-share-view="list"] .file-card .card-body {
|
||||
background: var(--color-overlay-button);
|
||||
color: var(--color-on-overlay);
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-full);
|
||||
padding: 0.5rem 0.85rem;
|
||||
font-size: 0.85rem;
|
||||
text-decoration: none;
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
.swm-load-more-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 16px 0 24px;
|
||||
padding: var(--space-4) 0 var(--space-6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user