Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
76 lines (76 loc) · 7.05 KB
/
Copy pathstyles.css
File metadata and controls
76 lines (76 loc) · 7.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
:root { color-scheme: dark; --bg: #0b100d; --panel: #131a16; --line: #2b352d; --text: #f1f5eb; --muted: #a9b6aa; --accent: #b8ef72; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-underline-offset: 4px; }
button, select, input[type='file'], input[type='color'], input[type='range'] { cursor: pointer; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.header { min-height: 84px; padding: 20px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--text); font-weight: 750; text-decoration: none; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--accent); color: #15231a; border-radius: 9px; font-size: 18px; }
.brand-detail { color: var(--muted); font-weight: 450; }
.source-link { font-size: 14px; text-decoration: none; white-space: nowrap; }
main { max-width: 1480px; padding: 46px clamp(20px, 5vw, 72px) 28px; margin: auto; }
.intro { margin-bottom: 34px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .025em; color: var(--accent); margin: 0 0 16px; }
.eyebrow span { margin-right: 7px; font-size: 9px; }
h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
h1 span { color: var(--accent); }
.intro > p:last-child { margin: 0; color: var(--muted); }
.workspace { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; animation: appear 400ms ease-out both; }
.controls { padding: 26px; background: var(--panel); border-right: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; gap: 10px; }
h2 { font-size: 17px; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.step { color: var(--accent); font-size: 12px; font-weight: 700; border: 1px solid #455c37; border-radius: 6px; padding: 2px 6px; }
.controls > .section-heading { margin-bottom: 26px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 17px 0 8px; }
input:not([type='range']), select, textarea { width: 100%; color: var(--text); background: #0d130f; border: 1px solid #3a473d; border-radius: 8px; padding: 11px 12px; min-height: 46px; }
select { padding-right: 28px; }
textarea { resize: vertical; line-height: 1.5; }
input[type='file'] { font-size: 14px; padding: 8px; }
input[type='file']::file-selector-button { border: 0; border-radius: 4px; background: #29362d; color: var(--text); padding: 7px 9px; margin-right: 9px; }
input[type='color'] { padding: 5px; }
input[type='range'] { width: 100%; accent-color: var(--accent); }
output { float: right; color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 9px 0 0; overflow-wrap: anywhere; }
.input-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#image-requirement { color: var(--muted); font-size: 12px; font-weight: 450; margin-left: 4px; }
.text-button { color: var(--accent); background: none; border: 0; padding: 8px 0; font-size: 13px; }
.field-pair { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; }
.run-actions { display: flex; gap: 9px; margin-top: 26px; }
button, .primary, .secondary { transition: background 160ms ease, border-color 160ms ease; }
.primary, .secondary { min-height: 46px; border-radius: 8px; padding: 11px 15px; text-decoration: none; font-size: 14px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 16px; }
.primary { color: #172313; background: var(--accent); border: 1px solid var(--accent); }
.primary:hover { background: #c9fa91; border-color: #c9fa91; }
.secondary { color: var(--text); background: #1b261e; border: 1px solid #435247; }
.secondary:hover { background: #29382c; }
#run { flex: 1; justify-content: space-between; }
.status { font-size: 13px; color: var(--muted); margin: 13px 0 0; min-height: 40px; }
.status.error { color: #ffbcad; }
.preview-panel { background: #0e1510; display: flex; flex-direction: column; min-width: 0; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px; }
.local-label { color: var(--muted); font-size: 12px; white-space: nowrap; }
.preview-stage { flex: 1; min-height: 420px; display: grid; place-items: center; padding: 28px; background: radial-gradient(ellipse at center, #25332766, #0b100d00 70%); }
#preview { display: block; max-width: 100%; max-height: 640px; width: auto; height: auto; object-fit: contain; border: 1px solid #3a473d; box-shadow: 0 18px 48px #0005; }
.compare-frame { position: relative; max-width: 100%; line-height: 0; }
.compare-frame .before { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }
.divider { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--text); box-shadow: 0 0 10px #0009; pointer-events: none; }
.before[hidden] + .divider { display: none; }
.compare { padding: 0 26px 18px; }
.compare label { margin-top: 0; }
.compare output { float: none; display: block; margin-top: 2px; font-size: 13px; }
.empty-preview { width: min(100%, 450px); text-align: center; }
.empty-preview img { display: block; width: 100%; height: auto; border-radius: 12px; opacity: .8; }
.empty-preview p { margin: 20px 0 0; font-weight: 600; }
.empty-preview span { color: var(--muted); font-weight: 400; font-size: 14px; }
.result-bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 21px 26px; border-top: 1px solid var(--line); }
#output-detail { font-size: 13px; color: var(--muted); margin: 0; }
.export-actions { display: flex; flex-wrap: wrap; gap: 9px; }
footer { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 25px; font-size: 12px; color: var(--muted); }
footer p { margin: 0; }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { .workspace { grid-template-columns: 1fr; } .controls { border-right: 0; border-bottom: 1px solid var(--line); } main { padding-top: 30px; } .preview-stage { min-height: 300px; padding: 20px; } #preview { max-height: 540px; } .header { min-height: 72px; } }
@media (max-width: 440px) { .brand-detail { display: none; } .source-link { font-size: 12px; } .controls, .preview-heading { padding: 20px; } .local-label { display: none; } .result-bar { padding: 20px; } .desktop-break { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }