-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.css
More file actions
103 lines (95 loc) · 4.65 KB
/
Copy pathoptions.css
File metadata and controls
103 lines (95 loc) · 4.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
:root {
--bg: #f7f7fb; --card: #ffffff; --ink: #1f2430; --muted: #6b7280;
--line: #e8e8f0; --brand: #059669; --brand-2: #10b981;
--brand-text: #047857; /* contrast-tuned green for text on surfaces */
--shadow: 0 6px 20px rgba(20, 20, 50, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--bg); color: var(--ink);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px; padding: 32px 16px;
}
.wrap { max-width: 720px; margin: 0 auto; }
header { margin-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
width: 40px; height: 40px; border-radius: 12px;
background: linear-gradient(135deg, var(--brand), var(--brand-2));
color: #fff; display: grid; place-items: center; font-weight: 800;
}
header h1 { font-size: 22px; }
.sub { color: var(--muted); margin-top: 8px; font-size: 13.5px; }
.group {
background: var(--card); border: 1px solid var(--line); border-radius: 16px;
padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.group h2 { font-size: 14px; margin-bottom: 14px; color: var(--brand-text); font-weight: 700; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
label.full { grid-column: 1 / -1; margin-bottom: 14px; }
label.full:last-child { margin-bottom: 0; }
input, select, textarea {
width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line);
border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink);
background: var(--bg); outline: none; transition: border 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12); background: var(--card);
}
textarea { resize: vertical; }
.footer {
position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px;
justify-content: flex-end; padding: 14px 4px;
background: linear-gradient(to top, var(--bg) 60%, transparent);
}
.save-state { margin-right: auto; font-size: 12.5px; color: var(--muted); }
.btn {
border: none; border-radius: 10px; cursor: pointer; font-size: 13.5px;
font-weight: 600; padding: 11px 20px; transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn.primary {
background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow);
}
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: #f0f0f7; }
.toast {
position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
background: #16a34a; color: #fff; padding: 11px 20px; border-radius: 12px;
font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none;
transition: opacity 0.2s, transform 0.2s; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.welcome {
position: relative;
background: linear-gradient(135deg, rgba(5,150,105,0.10), rgba(16,185,129,0.10));
border: 1px solid rgba(5,150,105,0.25);
border-radius: 16px; padding: 20px 22px; margin-bottom: 20px;
animation: welcomeIn 0.35s ease;
}
@keyframes welcomeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.welcome h2 { font-size: 17px; margin-bottom: 8px; color: var(--brand-text); }
.welcome p { font-size: 13.5px; color: var(--ink); margin-bottom: 8px; }
.welcome ol { margin: 8px 0 8px 20px; font-size: 13.5px; line-height: 1.7; }
.welcome-hint { font-size: 12px; color: var(--muted); margin-bottom: 0 !important; }
.welcome kbd { background: var(--line); border-radius: 5px; padding: 1px 6px; font-size: 11px; border: 1px solid var(--line); }
.welcome-close {
position: absolute; top: 12px; right: 14px; border: none; background: transparent;
font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0;
}
.welcome-close:hover { color: var(--ink); }
.resume-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.resume-info { font-size: 13px; color: var(--muted); }
.resume-info.has-file { color: var(--ink); font-weight: 600; }
.hint { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.hidden { display: none !important; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) {
:root {
--bg: #14151c; --card: #1e2029; --ink: #e8e8f0; --muted: #9aa0ad;
--line: #2c2e3a; --shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
--brand-text: #34d399; /* brighter green so text stays legible on dark surfaces */
}
.btn.ghost:hover { background: #262836; }
}