Files
v-iole-t--tab-harbor/assets/readme/mockups.css
T
2026-07-13 12:34:04 +08:00

464 lines
8.3 KiB
CSS

:root {
color-scheme: light;
--ink: #1f1914;
--paper: #f6f0e6;
--paper-strong: #fffaf3;
--line: rgba(109, 84, 51, 0.16);
--accent: #c6723e;
--accent-soft: rgba(198, 114, 62, 0.12);
--sage: #5f7761;
--mist: #63768a;
--rose: #b46a70;
--shadow: 0 24px 60px rgba(69, 48, 22, 0.12);
--shadow-soft: 0 12px 24px rgba(69, 48, 22, 0.08);
font-family: "SF Pro Text", "DM Sans", "Segoe UI", sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
width: 1440px;
height: 860px;
overflow: hidden;
}
body {
background:
radial-gradient(circle at top left, rgba(198, 114, 62, 0.16), transparent 30%),
radial-gradient(circle at bottom right, rgba(95, 119, 97, 0.15), transparent 28%),
linear-gradient(180deg, #f9f4ec 0%, #f3ece0 100%);
color: var(--ink);
}
.stage,
.scene {
width: 100%;
height: 100%;
}
.scene {
display: none;
padding: 28px;
}
html[data-scene="overview"] .scene[data-scene="overview"],
html[data-scene="saved"] .scene[data-scene="saved"],
html[data-scene="todos"] .scene[data-scene="todos"],
html[data-scene="themes"] .scene[data-scene="themes"] {
display: block;
}
.window {
height: 100%;
border: 1px solid rgba(151, 121, 83, 0.14);
border-radius: 32px;
background: rgba(255, 250, 243, 0.76);
backdrop-filter: blur(14px);
box-shadow: var(--shadow);
padding: 24px 24px 28px;
}
.banner {
display: flex;
align-items: center;
gap: 12px;
background: rgba(98, 129, 105, 0.12);
border: 1px solid rgba(98, 129, 105, 0.18);
color: #38533d;
border-radius: 999px;
padding: 10px 14px;
font-size: 14px;
}
.banner.warning {
background: rgba(198, 114, 62, 0.12);
border-color: rgba(198, 114, 62, 0.2);
color: #7a4422;
}
.banner-dot {
width: 9px;
height: 9px;
border-radius: 999px;
background: currentColor;
opacity: 0.7;
}
.banner-action {
margin-left: auto;
padding: 7px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.72);
font-weight: 600;
}
.hero {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 24px;
margin-top: 20px;
}
.hero.compact {
margin-bottom: 18px;
}
.eyebrow {
margin: 0 0 10px;
font-size: 12px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: rgba(70, 53, 35, 0.58);
}
h1,
h2 {
margin: 0;
font-family: "Iowan Old Style", "Georgia", serif;
font-weight: 600;
letter-spacing: -0.03em;
}
h1 {
max-width: 760px;
font-size: 52px;
line-height: 1;
}
h2 {
font-size: 30px;
line-height: 1.05;
}
.subcopy {
max-width: 760px;
margin: 16px 0 0;
color: rgba(48, 37, 26, 0.72);
font-size: 17px;
line-height: 1.6;
}
.search,
.theme-trigger,
.drawer-tabs {
flex-shrink: 0;
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 54px;
padding: 0 18px;
border-radius: 18px;
border: 1px solid var(--line);
background: rgba(255, 251, 245, 0.82);
box-shadow: var(--shadow-soft);
color: rgba(54, 41, 27, 0.7);
}
.search {
min-width: 340px;
justify-content: flex-start;
}
.search-icon {
font-size: 20px;
}
.shortcut-row {
display: flex;
gap: 12px;
margin-top: 22px;
}
.shortcut {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 92px;
padding: 12px 14px;
border-radius: 18px;
border: 1px solid rgba(111, 88, 58, 0.14);
background: rgba(255, 251, 246, 0.84);
box-shadow: var(--shadow-soft);
font-weight: 600;
}
.shortcut.github { color: #7c4a2d; }
.shortcut.docs { color: #4d6a7f; }
.shortcut.local { color: #456a52; }
.shortcut.read { color: #8a5260; }
.shortcut.add { min-width: 54px; }
.icon-rail {
display: flex;
gap: 10px;
margin-top: 22px;
}
.icon-rail.left {
margin-top: 18px;
}
.rail-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 56px;
height: 44px;
border-radius: 16px;
background: rgba(255, 248, 240, 0.8);
border: 1px solid rgba(111, 88, 58, 0.14);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.08em;
color: rgba(65, 49, 31, 0.76);
}
.rail-pill.active {
background: var(--accent-soft);
border-color: rgba(198, 114, 62, 0.24);
color: #874b27;
}
.content-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin-top: 22px;
}
.workspace-card,
.drawer,
.theme-panel {
border-radius: 26px;
border: 1px solid rgba(111, 88, 58, 0.14);
background: rgba(255, 251, 246, 0.86);
box-shadow: var(--shadow-soft);
}
.workspace-card {
padding: 20px 20px 18px;
}
.workspace-card.accent {
background:
linear-gradient(180deg, rgba(198, 114, 62, 0.11) 0%, rgba(255, 251, 246, 0.92) 100%);
}
.card-head,
.drawer-header,
.theme-header,
.archive-row,
.range-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
}
.label {
margin: 0 0 8px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
color: rgba(80, 60, 40, 0.52);
}
.badge,
.mini-action {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 0 12px;
border-radius: 999px;
background: rgba(198, 114, 62, 0.1);
color: #8a4d29;
font-size: 13px;
font-weight: 700;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 16px;
}
.chip {
display: inline-flex;
align-items: center;
min-height: 38px;
padding: 0 12px;
border-radius: 14px;
background: rgba(244, 237, 226, 0.92);
color: rgba(58, 44, 29, 0.76);
font-size: 14px;
}
.split-layout,
.theme-layout {
display: grid;
grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr);
gap: 20px;
margin-top: 12px;
height: calc(100% - 132px);
}
.left-stack {
display: grid;
gap: 18px;
align-content: start;
}
.drawer,
.theme-panel {
padding: 20px;
}
.list,
.todo-card {
display: grid;
gap: 12px;
margin-top: 16px;
}
.list-item,
.todo-row {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 14px;
border-radius: 18px;
background: rgba(243, 235, 224, 0.68);
}
.list-item p,
.todo-row p {
margin: 6px 0 0;
color: rgba(67, 51, 34, 0.66);
font-size: 13px;
}
.checkbox,
.todo-check {
width: 18px;
height: 18px;
margin-top: 2px;
border-radius: 999px;
border: 2px solid rgba(120, 94, 61, 0.4);
flex-shrink: 0;
}
.todo-check.checked {
background: var(--sage);
border-color: var(--sage);
box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.86);
}
.archive {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid rgba(111, 88, 58, 0.1);
color: rgba(64, 49, 32, 0.68);
font-size: 14px;
}
.drawer-tabs {
padding: 6px;
min-height: auto;
gap: 8px;
}
.drawer-tab {
padding: 10px 16px;
border-radius: 14px;
color: rgba(67, 51, 34, 0.66);
}
.drawer-tab.active {
background: rgba(198, 114, 62, 0.12);
color: #8a4d29;
font-weight: 700;
}
.theme-layout {
align-items: start;
}
.swatches {
display: flex;
gap: 12px;
margin-top: 16px;
}
.swatch {
width: 54px;
height: 54px;
border-radius: 18px;
border: 1px solid rgba(111, 88, 58, 0.14);
box-shadow: var(--shadow-soft);
}
.swatch.paper { background: linear-gradient(135deg, #fff8ef, #d99865); }
.swatch.sage { background: linear-gradient(135deg, #edf5e8, #7c9b81); }
.swatch.mist { background: linear-gradient(135deg, #eef3f8, #7d95ab); }
.swatch.blush { background: linear-gradient(135deg, #f8efef, #c78a8f); }
.swatch.active {
outline: 3px solid rgba(198, 114, 62, 0.24);
}
.range-block {
margin-top: 18px;
padding: 16px;
border-radius: 20px;
background: rgba(244, 237, 226, 0.72);
}
.range-track {
position: relative;
height: 8px;
margin-top: 14px;
border-radius: 999px;
background: linear-gradient(90deg, rgba(198, 114, 62, 0.28), rgba(198, 114, 62, 0.1));
}
.range-thumb {
position: absolute;
top: 50%;
left: 32%;
width: 18px;
height: 18px;
border-radius: 999px;
background: #9f5c33;
transform: translate(-50%, -50%);
box-shadow: 0 6px 16px rgba(94, 53, 25, 0.24);
}
.theme-preview {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin-top: 18px;
}
.preview-card {
height: 160px;
border-radius: 22px;
background:
radial-gradient(circle at top left, rgba(198, 114, 62, 0.16), transparent 34%),
rgba(255, 249, 242, 0.92);
border: 1px solid rgba(111, 88, 58, 0.12);
}
.preview-card.warm {
background:
radial-gradient(circle at bottom right, rgba(95, 119, 97, 0.18), transparent 34%),
rgba(250, 244, 236, 0.92);
}