710 lines
12 KiB
CSS
710 lines
12 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #efe7dc;
|
|
--bg-strong: #f8f4ec;
|
|
--panel: rgba(255, 251, 246, 0.94);
|
|
--panel-strong: rgba(255, 255, 255, 0.85);
|
|
--line: rgba(30, 35, 31, 0.1);
|
|
--line-strong: rgba(30, 35, 31, 0.18);
|
|
--ink: #1a241f;
|
|
--muted: #5f6a63;
|
|
--accent: #0f766e;
|
|
--accent-strong: #0c5f59;
|
|
--gold: #9b6b18;
|
|
--danger: #b24637;
|
|
--success: #1f7a45;
|
|
--shadow: 0 28px 60px rgba(31, 35, 32, 0.14);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: "Segoe UI Variable Text", "Segoe UI", "Noto Sans SC", sans-serif;
|
|
color: var(--ink);
|
|
background:
|
|
radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 24%),
|
|
radial-gradient(circle at right top, rgba(155, 107, 24, 0.16), transparent 22%),
|
|
linear-gradient(180deg, #faf6f0 0%, var(--bg) 100%);
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
code {
|
|
padding: 0.15em 0.35em;
|
|
border-radius: 0.45em;
|
|
background: rgba(15, 118, 110, 0.08);
|
|
}
|
|
|
|
.shell {
|
|
width: min(1260px, calc(100vw - 30px));
|
|
margin: 0 auto;
|
|
padding: 28px 0 72px;
|
|
}
|
|
|
|
.crumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
color: var(--muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.crumbs a {
|
|
text-decoration: none;
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
gap: 16px;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.hero-home {
|
|
grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
|
|
align-items: end;
|
|
}
|
|
|
|
.hero-compact {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.eyebrow,
|
|
.section-label {
|
|
margin: 0 0 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.16em;
|
|
font-size: 12px;
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
.source-name {
|
|
margin: 0;
|
|
font-family: Georgia, "Times New Roman", serif;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(34px, 5vw, 56px);
|
|
line-height: 0.98;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 30px;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.lead,
|
|
.panel-copy,
|
|
.source-meta,
|
|
.browse-summary,
|
|
.browse-meta,
|
|
.summary-row span,
|
|
.summary-row strong,
|
|
.empty-state,
|
|
.empty-state-card,
|
|
.video-frame::before {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.lead {
|
|
width: min(780px, 100%);
|
|
margin: 0;
|
|
font-size: 17px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.panel-copy {
|
|
margin: 0 0 18px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.page-grid,
|
|
.stack-column,
|
|
.stack-gap,
|
|
.source-list,
|
|
.summary-stack,
|
|
.stats-grid,
|
|
.card-grid,
|
|
.detail-stack,
|
|
.browse-list,
|
|
.upload-form,
|
|
.secret-form,
|
|
.browse-form {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.page-grid-home {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.workspace-shell {
|
|
display: grid;
|
|
grid-template-columns: 250px minmax(0, 1fr);
|
|
gap: 22px;
|
|
align-items: start;
|
|
}
|
|
|
|
.workspace-content,
|
|
.workspace-panel {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.workspace-panel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.workspace-nav {
|
|
position: sticky;
|
|
top: 18px;
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 18px;
|
|
border-radius: 26px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.workspace-nav-link {
|
|
display: block;
|
|
padding: 12px 14px;
|
|
border-radius: 16px;
|
|
text-decoration: none;
|
|
color: var(--muted);
|
|
background: rgba(255, 255, 255, 0.58);
|
|
border: 1px solid transparent;
|
|
transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
|
|
}
|
|
|
|
.workspace-nav-link:hover {
|
|
transform: translateY(-1px);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.workspace-nav-link.is-active {
|
|
color: var(--accent-strong);
|
|
background: rgba(15, 118, 110, 0.12);
|
|
border-color: rgba(15, 118, 110, 0.22);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.page-grid-source {
|
|
grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
|
|
}
|
|
|
|
.page-grid-file {
|
|
grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
|
|
}
|
|
|
|
.stack-column {
|
|
align-content: start;
|
|
}
|
|
|
|
.toolbar-cluster {
|
|
display: grid;
|
|
gap: 14px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.file-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.path-trail {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
border: 1px solid rgba(26, 36, 31, 0.08);
|
|
}
|
|
|
|
.path-chip {
|
|
appearance: none;
|
|
border: none;
|
|
background: rgba(15, 118, 110, 0.1);
|
|
color: var(--accent-strong);
|
|
border-radius: 999px;
|
|
padding: 8px 12px;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.path-separator {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.panel,
|
|
.source-card,
|
|
.summary-card,
|
|
.empty-state-card,
|
|
.browse-row,
|
|
.video-frame {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.panel,
|
|
.source-card,
|
|
.summary-card,
|
|
.empty-state-card,
|
|
.video-frame {
|
|
border-radius: 26px;
|
|
}
|
|
|
|
.panel,
|
|
.source-card {
|
|
padding: 24px;
|
|
}
|
|
|
|
.panel-spacious {
|
|
min-height: 320px;
|
|
}
|
|
|
|
.summary-card,
|
|
.empty-state-card {
|
|
padding: 18px;
|
|
}
|
|
|
|
.panel-header,
|
|
.source-main,
|
|
.form-actions,
|
|
.card-actions,
|
|
.browse-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.panel-header {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.file-picker,
|
|
.secret-form label,
|
|
.browse-field {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.file-picker {
|
|
padding: 18px;
|
|
border-radius: 18px;
|
|
border: 1px dashed rgba(15, 118, 110, 0.34);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.file-picker span,
|
|
.secret-form span,
|
|
.browse-field span,
|
|
.checkbox-row span {
|
|
font-weight: 600;
|
|
}
|
|
|
|
input,
|
|
select {
|
|
width: 100%;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(26, 36, 31, 0.14);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
padding: 12px 14px;
|
|
font: inherit;
|
|
color: var(--ink);
|
|
}
|
|
|
|
input:focus,
|
|
select:focus {
|
|
outline: 2px solid rgba(15, 118, 110, 0.18);
|
|
border-color: rgba(15, 118, 110, 0.4);
|
|
}
|
|
|
|
.checkbox-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.checkbox-row input {
|
|
width: auto;
|
|
}
|
|
|
|
.ghost-button,
|
|
.primary-button,
|
|
.button-link {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
padding: 12px 18px;
|
|
font: inherit;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: transform 140ms ease, opacity 140ms ease, background 140ms ease;
|
|
}
|
|
|
|
.ghost-button,
|
|
.button-link {
|
|
border: 1px solid var(--line-strong);
|
|
background: transparent;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.primary-button {
|
|
border: none;
|
|
background: linear-gradient(135deg, var(--accent) 0%, #138579 100%);
|
|
color: white;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.danger-button {
|
|
border-color: rgba(178, 70, 55, 0.3);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.ghost-button:hover,
|
|
.primary-button:hover,
|
|
.button-link:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.danger-button:hover {
|
|
background: rgba(178, 70, 55, 0.08);
|
|
}
|
|
|
|
.ghost-button:disabled,
|
|
.primary-button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.feedback {
|
|
margin-bottom: 22px;
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.feedback-info {
|
|
background: rgba(15, 118, 110, 0.1);
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.feedback-success {
|
|
background: rgba(31, 122, 69, 0.12);
|
|
color: var(--success);
|
|
}
|
|
|
|
.feedback-error {
|
|
background: rgba(178, 70, 55, 0.12);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.source-name {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.source-meta {
|
|
margin: 8px 0 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.summary-chip {
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(15, 118, 110, 0.1);
|
|
color: var(--accent-strong);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-ready {
|
|
background: rgba(31, 122, 69, 0.12);
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-idle {
|
|
background: rgba(15, 118, 110, 0.1);
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.status-busy {
|
|
background: rgba(155, 107, 24, 0.14);
|
|
color: var(--gold);
|
|
}
|
|
|
|
.status-error {
|
|
background: rgba(178, 70, 55, 0.12);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.stats-grid,
|
|
.card-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
}
|
|
|
|
.stat,
|
|
.summary-row,
|
|
.browse-row {
|
|
border-radius: 18px;
|
|
background: var(--panel-strong);
|
|
border: 1px solid rgba(26, 36, 31, 0.06);
|
|
}
|
|
|
|
.stat,
|
|
.summary-row {
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.stat span,
|
|
.summary-row span {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stat strong,
|
|
.summary-row strong {
|
|
display: block;
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.browse-shell {
|
|
min-height: 220px;
|
|
}
|
|
|
|
.browse-list {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.browse-toolbar {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.browse-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.browse-row-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.browse-row-main strong {
|
|
display: inline-block;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.browse-row-clickable {
|
|
cursor: pointer;
|
|
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
|
|
}
|
|
|
|
.browse-row-clickable:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(15, 118, 110, 0.26);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.browse-type {
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.browse-thumbnail {
|
|
width: 84px;
|
|
height: 56px;
|
|
flex-shrink: 0;
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(26, 36, 31, 0.08);
|
|
background: rgba(255, 255, 255, 0.82);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.browse-thumbnail-placeholder {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.browse-thumbnail-folder {
|
|
background:
|
|
linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(15, 118, 110, 0.04)),
|
|
rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
.browse-thumbnail-image,
|
|
.thumbnail-preview-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.browse-meta {
|
|
display: grid;
|
|
gap: 6px;
|
|
align-items: end;
|
|
text-align: right;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.browse-nav-button {
|
|
justify-self: end;
|
|
}
|
|
|
|
.video-frame {
|
|
position: relative;
|
|
min-height: 320px;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 24%),
|
|
linear-gradient(160deg, rgba(17, 24, 39, 0.92), rgba(38, 48, 62, 0.95));
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
min-height: 320px;
|
|
background: transparent;
|
|
}
|
|
|
|
.thumbnail-card {
|
|
min-height: 260px;
|
|
padding: 18px;
|
|
border-radius: 26px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
box-shadow: var(--shadow);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.thumbnail-placeholder {
|
|
width: 100%;
|
|
min-height: 220px;
|
|
display: grid;
|
|
place-items: center;
|
|
text-align: center;
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
border: 1px dashed rgba(15, 118, 110, 0.28);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.hero-home,
|
|
.page-grid-home,
|
|
.page-grid-source,
|
|
.page-grid-file,
|
|
.workspace-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.workspace-nav {
|
|
position: static;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.shell {
|
|
width: min(100vw - 18px, 1260px);
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.panel,
|
|
.source-card {
|
|
padding: 18px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.panel-header,
|
|
.source-main,
|
|
.form-actions,
|
|
.card-actions,
|
|
.browse-toolbar,
|
|
.browse-row,
|
|
.browse-row-main {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.browse-meta {
|
|
align-items: start;
|
|
text-align: left;
|
|
}
|
|
|
|
.ghost-button,
|
|
.primary-button,
|
|
.button-link,
|
|
.workspace-nav-link {
|
|
width: 100%;
|
|
}
|
|
|
|
.workspace-nav {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
video,
|
|
.video-frame {
|
|
min-height: 220px;
|
|
}
|
|
}
|