Repository navigation
Expand file tree
/
Copy pathgenerator.css
More file actions
92 lines (84 loc) · 3.3 KB
/
Copy pathgenerator.css
File metadata and controls
92 lines (84 loc) · 3.3 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
:root {
--blue: #3168e0;
--blue-dark: #214ba9;
--violet: #6658d3;
--bg: #f5f7fb;
--card: #fff;
--text: #1e293b;
--muted: #607086;
--border: #dbe3ee;
--ok: #18794e;
--err: #c43d3d;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--text);
font-size: 14px;
}
.app-header {
display: flex;
align-items: center;
gap: 14px;
padding: 18px 28px;
background: linear-gradient(135deg, var(--blue), var(--violet));
color: #fff;
}
.logo {
width: 44px; height: 44px; border-radius: 12px;
display: flex; align-items: center; justify-content: center;
background: rgba(255,255,255,.18); font-weight: 800;
}
.app-header h1 { margin: 0; font-size: 20px; }
.subtitle { margin: 3px 0 0; opacity: .86; font-size: 13px; }
main { max-width: 800px; margin: 0 auto; padding: 18px 16px 40px; }
.card {
margin-bottom: 16px; padding: 18px 20px;
border: 1px solid var(--border); border-radius: 12px; background: var(--card);
}
.card h2 { margin: 0 0 4px; font-size: 16px; }
.hint { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.field label { color: var(--muted); font-size: 12px; font-weight: 650; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="text"], input[type="number"], textarea {
width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px;
color: var(--text); background: #fff; font: inherit;
}
input[type="file"] { font-size: 13px; }
.chain-row {
display: grid; grid-template-columns: 170px 1fr auto;
gap: 10px; align-items: start; margin-bottom: 10px;
}
.chain-row textarea {
min-height: 54px; resize: vertical; white-space: pre; overflow-wrap: normal; overflow-x: auto;
font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.chain-row .remove {
border: none; border-radius: 8px; padding: 9px 12px; cursor: pointer;
background: #fdebea; color: var(--err); font-weight: 700;
}
.csv-info { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.check { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.btn {
border: 1px solid var(--border); border-radius: 8px; padding: 9px 15px;
cursor: pointer; background: #fff; color: var(--blue); font-weight: 650; font-size: 13px;
}
.btn:hover:not(:disabled) { background: #f0f4ff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn.primary:hover:not(:disabled) { background: var(--blue-dark); }
.btn.ghost { background: transparent; }
.status { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.status.info { background: #eaf0fb; color: #33475b; }
.status.ok { background: #e8f5ed; color: var(--ok); }
.status.err { background: #fdebea; color: var(--err); }
#preview { min-height: 310px; white-space: pre; overflow: auto; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 620px) {
.grid2 { grid-template-columns: 1fr; }
.chain-row { grid-template-columns: 1fr auto; }
.chain-row .chain-name { grid-column: 1 / -1; }
}