blocklearning 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- blocklearning/__init__.py +1 -0
- blocklearning/__main__.py +6 -0
- blocklearning/analysis.py +133 -0
- blocklearning/anomaly.py +148 -0
- blocklearning/blocks.py +601 -0
- blocklearning/cli.py +46 -0
- blocklearning/codegen.py +1012 -0
- blocklearning/core.py +861 -0
- blocklearning/data/bearing_uottawa.SOURCE.txt +6 -0
- blocklearning/data/bearing_uottawa.npz +0 -0
- blocklearning/data/concrete.SOURCE.txt +4 -0
- blocklearning/data/concrete.npz +0 -0
- blocklearning/data/digits32.SOURCE.txt +4 -0
- blocklearning/data/digits32.npz +0 -0
- blocklearning/data/ecg_mitdb.SOURCE.txt +6 -0
- blocklearning/data/ecg_mitdb.npz +0 -0
- blocklearning/data/hydraulic.SOURCE.txt +6 -0
- blocklearning/data/hydraulic.npz +0 -0
- blocklearning/data/pcb_det.SOURCE.txt +6 -0
- blocklearning/data/pcb_det.npz +0 -0
- blocklearning/data/pneumatic_seg.SOURCE.txt +8 -0
- blocklearning/data/pneumatic_seg.npz +0 -0
- blocklearning/data/pneumonia28.SOURCE.txt +13 -0
- blocklearning/data/pneumonia28.npz +0 -0
- blocklearning/data/steel_plates.SOURCE.txt +5 -0
- blocklearning/data/steel_plates.npz +0 -0
- blocklearning/data/steel_power.SOURCE.txt +3 -0
- blocklearning/data/steel_power.npz +0 -0
- blocklearning/data/steelblast.SOURCE.txt +4 -0
- blocklearning/data/steelblast.npz +0 -0
- blocklearning/data.py +1158 -0
- blocklearning/detect.py +222 -0
- blocklearning/forecast.py +204 -0
- blocklearning/graph.py +602 -0
- blocklearning/jobs.py +501 -0
- blocklearning/labeling.py +1294 -0
- blocklearning/labeling_sources.py +217 -0
- blocklearning/layers.py +615 -0
- blocklearning/losses.py +199 -0
- blocklearning/multi.py +175 -0
- blocklearning/nn_extra.py +643 -0
- blocklearning/predict.py +344 -0
- blocklearning/pretrained/LICENSE-mnv3s.txt +202 -0
- blocklearning/pretrained/mnv3s.SOURCE.txt +6 -0
- blocklearning/pretrained/mnv3s.bin +0 -0
- blocklearning/pretrained/mnv3s.json +1 -0
- blocklearning/pretrained.py +56 -0
- blocklearning/project.py +120 -0
- blocklearning/segment.py +173 -0
- blocklearning/server.py +116 -0
- blocklearning/static/app.js +1986 -0
- blocklearning/static/boot.js +51 -0
- blocklearning/static/demo.jpg +0 -0
- blocklearning/static/demo.webm +0 -0
- blocklearning/static/engine.js +1326 -0
- blocklearning/static/graph.js +1902 -0
- blocklearning/static/index.html +301 -0
- blocklearning/static/label.html +158 -0
- blocklearning/static/label.js +1040 -0
- blocklearning/static/labels.js +227 -0
- blocklearning/static/projects.js +516 -0
- blocklearning/static/store.js +259 -0
- blocklearning/static/style.css +844 -0
- blocklearning/static/train-worker.js +41 -0
- blocklearning/static/web.js +602 -0
- blocklearning/tasks.py +351 -0
- blocklearning/web.py +412 -0
- blocklearning/weblabel.py +316 -0
- blocklearning-0.1.0.dist-info/METADATA +66 -0
- blocklearning-0.1.0.dist-info/RECORD +74 -0
- blocklearning-0.1.0.dist-info/WHEEL +4 -0
- blocklearning-0.1.0.dist-info/entry_points.txt +2 -0
- blocklearning-0.1.0.dist-info/licenses/LICENSE +25 -0
- blocklearning-0.1.0.dist-info/licenses/src/blocklearning/pretrained/LICENSE-mnv3s.txt +202 -0
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #f6f7fb; --card: #ffffff; --text: #0f172a; --text-2: #334155; --muted: #64748b; --muted-2: #94a3b8; --line: #e5e7eb; --line-2: #d0d5dd;
|
|
3
|
+
--accent: #4f46e5; --accent-2: #7c3aed; --accent-ink: #3730a3; --accent-bg: #eef2ff; --accent-hover: #4338ca;
|
|
4
|
+
--ok: #15803d; --ok-bg: #ecfdf3; --bad: #c0362c; --bad-bg: #fef3f2; --warn: #a15c07; --warn-bg: #fffaeb;
|
|
5
|
+
--r-sm: 8px; --r-md: 12px; --r-lg: 16px;
|
|
6
|
+
--shadow-xs: 0 1px 2px rgba(16, 24, 40, .05); --shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
|
|
7
|
+
--shadow-md: 0 8px 24px -6px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .05); --shadow-lg: 0 20px 40px -12px rgba(16, 24, 40, .22);
|
|
8
|
+
--ring: 0 0 0 4px rgba(79, 70, 229, .16);
|
|
9
|
+
--font: "Pretendard Variable", "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
|
|
10
|
+
}
|
|
11
|
+
* { box-sizing: border-box; }
|
|
12
|
+
[hidden] { display: none !important; } /* .row·label의 display: flex가 숨김을 덮어쓰지 않게 */
|
|
13
|
+
body { margin: 0; background: var(--bg); color: var(--text);
|
|
14
|
+
font-family: var(--font); font-size: 14.5px; line-height: 1.5; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
|
|
15
|
+
button { font: inherit; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
|
|
16
|
+
button:hover { border-color: #b8bfca; }
|
|
17
|
+
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
|
|
18
|
+
button.primary:hover { filter: brightness(1.05); }
|
|
19
|
+
button:disabled { opacity: .5; cursor: default; }
|
|
20
|
+
input, select { font: inherit; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
|
|
21
|
+
input[type=number] { width: 90px; }
|
|
22
|
+
input.path { flex: 1; min-width: 260px; }
|
|
23
|
+
h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
|
|
24
|
+
h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
|
|
25
|
+
.lead { color: var(--muted); margin: 0 0 14px; }
|
|
26
|
+
.muted { color: var(--muted); }
|
|
27
|
+
|
|
28
|
+
.top { display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line);
|
|
29
|
+
position: sticky; top: 0; z-index: 5; }
|
|
30
|
+
.brand { font-weight: 700; font-size: 17px; white-space: nowrap; }
|
|
31
|
+
.brand .sub { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
|
|
32
|
+
.steps { display: flex; gap: 6px; flex: 1; justify-content: center; }
|
|
33
|
+
.step { border-radius: 999px; padding: 6px 14px; color: var(--muted); white-space: nowrap; }
|
|
34
|
+
.step .n { display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: var(--line);
|
|
35
|
+
color: var(--text); font-size: 12px; text-align: center; margin-right: 6px; }
|
|
36
|
+
.step.active { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
|
|
37
|
+
.step.active .n { background: var(--accent); color: #fff; }
|
|
38
|
+
.step.done .n { background: var(--ok); color: #fff; }
|
|
39
|
+
.step.stale .n { background: var(--warn); color: #fff; }
|
|
40
|
+
.files { display: flex; gap: 6px; }
|
|
41
|
+
.guard { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 12px; border-radius: 8px;
|
|
42
|
+
background: var(--warn-bg); color: var(--warn); }
|
|
43
|
+
.guard span { flex: 1 1 280px; }
|
|
44
|
+
.toolbar { margin-bottom: 6px; }
|
|
45
|
+
.toolbar .grow { flex: 1; }
|
|
46
|
+
.viewopt { position: relative; }
|
|
47
|
+
.viewopt summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
|
|
48
|
+
.viewopt summary::-webkit-details-marker { display: none; }
|
|
49
|
+
.viewopt summary::after { content: " ▾"; color: var(--muted); }
|
|
50
|
+
.viewopt-box { position: absolute; z-index: 20; top: 38px; left: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px;
|
|
51
|
+
min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
|
|
52
|
+
.viewopt-box label { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
|
|
53
|
+
details.keys, details.adv { margin-top: 10px; }
|
|
54
|
+
details.keys summary, details.adv summary { cursor: pointer; color: var(--muted); font-size: 13px; }
|
|
55
|
+
details.adv[open] summary { margin-bottom: 6px; }
|
|
56
|
+
.dropzone { margin: 8px 0; padding: 14px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); text-align: center; }
|
|
57
|
+
#step-data.drag .dropzone { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); }
|
|
58
|
+
.fmt { margin: 6px 0 10px; }
|
|
59
|
+
.fmt summary { cursor: pointer; color: var(--accent); }
|
|
60
|
+
.fmt p { margin: 8px 0; }
|
|
61
|
+
.fmt table.tab { font-size: 13px; }
|
|
62
|
+
button.ex-sel { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); font-weight: 600; }
|
|
63
|
+
.flow-svg .row-grip { cursor: grab; }
|
|
64
|
+
.flow-svg .row-grip rect { fill: #fff; stroke: #9aa3af; stroke-dasharray: 3 2; }
|
|
65
|
+
.flow-svg .row-grip:hover rect { stroke: var(--accent); fill: var(--accent-bg); stroke-dasharray: none; }
|
|
66
|
+
.flow-svg .row-grip text { font-size: 12px; fill: #6b7280; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
|
|
67
|
+
.pitem.off { opacity: .62; }
|
|
68
|
+
.pitem .fit { display: block; font-style: normal; font-size: 11px; color: var(--warn); margin-top: 2px; }
|
|
69
|
+
.loading { padding: 18px 4px; }
|
|
70
|
+
.skip-task { margin: -6px 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
|
|
71
|
+
.auto-task { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--accent-bg); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
72
|
+
.auto-task button { padding: 3px 10px; font-size: 13px; }
|
|
73
|
+
.split-note { font-size: 13px; margin: 8px 0 0; }
|
|
74
|
+
.verdict { grid-column: 1 / -1; margin-top: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
|
|
75
|
+
.verdict div { color: var(--text); margin-top: 4px; }
|
|
76
|
+
.verdict.good { background: var(--ok-bg); color: var(--ok); }
|
|
77
|
+
.verdict.warn { background: var(--warn-bg); color: var(--warn); }
|
|
78
|
+
.verdict.bad { background: var(--bad-bg); color: var(--bad); }
|
|
79
|
+
|
|
80
|
+
.message { margin: 12px 20px 0; padding: 10px 40px 10px 14px; border-radius: 8px; background: var(--bad-bg); color: var(--bad); position: relative; }
|
|
81
|
+
.message.ok { background: var(--ok-bg); color: var(--ok); }
|
|
82
|
+
.message .hint { color: var(--text); }
|
|
83
|
+
.message pre { white-space: pre-wrap; font-size: 12px; color: var(--text); max-height: 240px; overflow: auto; }
|
|
84
|
+
.message .x { position: absolute; right: 6px; top: 6px; border: none; background: transparent; font-size: 18px; color: inherit; }
|
|
85
|
+
|
|
86
|
+
main { padding: 16px 20px 40px; }
|
|
87
|
+
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
|
|
88
|
+
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
|
|
89
|
+
.or { color: var(--muted); }
|
|
90
|
+
.status { color: var(--muted); font-size: 14px; }
|
|
91
|
+
.status.busy::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -2px;
|
|
92
|
+
border: 2px solid var(--accent-bg); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
|
|
93
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
94
|
+
.train-bar { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 2px 0 12px; }
|
|
95
|
+
.train-bar > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
|
|
96
|
+
.train-bar.indet > i { width: 30%; animation: slide 1.3s ease-in-out infinite; }
|
|
97
|
+
@keyframes slide { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
|
|
98
|
+
@media (prefers-reduced-motion: reduce) { .status.busy::before, .train-bar.indet > i { animation-duration: 3s; } }
|
|
99
|
+
.more { margin: 8px 0; }
|
|
100
|
+
.train-opts { margin: 12px 0; }
|
|
101
|
+
.more summary { cursor: pointer; color: var(--muted); }
|
|
102
|
+
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 16px; margin: 10px 0; align-items: end; }
|
|
103
|
+
.grid4 label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
|
|
104
|
+
.grid4 label.check { flex-direction: row; align-items: center; color: var(--text); }
|
|
105
|
+
.btn-cell { display: flex; align-items: end; }
|
|
106
|
+
.next { display: flex; justify-content: flex-end; margin-top: 14px; }
|
|
107
|
+
|
|
108
|
+
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
|
|
109
|
+
.card { background: var(--bg); border-radius: 8px; padding: 10px 12px; }
|
|
110
|
+
.card .k { font-size: 12px; color: var(--muted); }
|
|
111
|
+
.card .v { font-size: 20px; font-weight: 600; }
|
|
112
|
+
.preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
|
|
113
|
+
.preview .pv { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
|
|
114
|
+
.preview.table { display: block; overflow-x: auto; }
|
|
115
|
+
.preview.thumbs { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
|
|
116
|
+
.preview.thumbs .pv { display: flex; flex-direction: column; align-items: center; gap: 4px; }
|
|
117
|
+
svg.img { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
|
|
118
|
+
.chans { display: flex; flex-wrap: wrap; gap: 4px; }
|
|
119
|
+
table.tab { border-collapse: collapse; font-size: 13px; }
|
|
120
|
+
table.tab th, table.tab td { border: 1px solid var(--line); padding: 4px 8px; text-align: right; white-space: nowrap; }
|
|
121
|
+
table.tab th { background: var(--bg); font-weight: 600; }
|
|
122
|
+
table.tab .lab { font-weight: 600; background: var(--accent-bg); }
|
|
123
|
+
.tag { font-size: 13px; font-weight: 500; color: var(--accent); background: var(--accent-bg); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
|
|
124
|
+
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 8px 0 16px; }
|
|
125
|
+
.tcard { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--card); cursor: pointer; }
|
|
126
|
+
.tcard:hover { border-color: var(--accent); }
|
|
127
|
+
.tcard.sel { border: 2px solid var(--accent); background: #f5f7ff; padding: 11px 13px; }
|
|
128
|
+
.tcard.soon { opacity: .55; cursor: not-allowed; }
|
|
129
|
+
.tcard .ti { font-size: 24px; }
|
|
130
|
+
.tcard .tn { font-weight: 600; font-size: 15px; }
|
|
131
|
+
.tcard .td { font-size: 13px; color: var(--text); line-height: 1.4; }
|
|
132
|
+
.tcard .te { font-size: 12px; color: var(--muted); line-height: 1.4; }
|
|
133
|
+
.badge { display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; background: #eceef1; color: var(--muted); vertical-align: middle; }
|
|
134
|
+
.badge.rec { background: var(--accent); color: #fff; }
|
|
135
|
+
.badge.fast { background: #e1f5ee; color: #11734f; } .badge.mid { background: #fdf3dc; color: #8a5a00; } .badge.slow { background: #faece7; color: #a8401c; }
|
|
136
|
+
.scatter-box { margin-top: 10px; }
|
|
137
|
+
.series-box { margin: 8px 0; }
|
|
138
|
+
input.path.short { flex: 0 1 260px; min-width: 200px; }
|
|
139
|
+
.series-info { margin-bottom: 8px; }
|
|
140
|
+
.series-guide { background: var(--warn-bg); color: var(--text); border-radius: 8px; padding: 10px 14px; margin-top: 8px; font-size: 14px; }
|
|
141
|
+
.series-guide ol { margin: 6px 0 0; padding-left: 20px; }
|
|
142
|
+
.series-guide code { background: #fff; padding: 0 4px; border-radius: 4px; }
|
|
143
|
+
.preview .pv .lab { font-size: 12px; color: var(--muted); }
|
|
144
|
+
|
|
145
|
+
.issues { list-style: none; padding: 0; margin: 8px 0; }
|
|
146
|
+
.issues li { padding: 6px 10px; border-radius: 6px; background: var(--bad-bg); color: var(--bad); margin-bottom: 4px; font-size: 14px; }
|
|
147
|
+
.issues li .hint { color: var(--text); display: block; font-size: 13px; }
|
|
148
|
+
.issues li.muted { background: transparent; color: var(--muted); padding-left: 0; }
|
|
149
|
+
|
|
150
|
+
.model-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 320px; gap: 14px; margin-top: 8px; }
|
|
151
|
+
.side { display: flex; flex-direction: column; gap: 10px; max-height: 76vh; overflow: auto; }
|
|
152
|
+
.palette { display: flex; flex-direction: column; gap: 6px; max-height: 76vh; overflow: auto; }
|
|
153
|
+
.pcat { font-size: 12px; color: var(--muted); margin: 8px 0 0; font-weight: 600; }
|
|
154
|
+
.pitem { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; border: 1px solid var(--line);
|
|
155
|
+
border-left: 4px solid var(--line); border-radius: 6px; background: #fff; cursor: grab; user-select: none; }
|
|
156
|
+
.pitem:active { cursor: grabbing; }
|
|
157
|
+
.pitem { cursor: grab; user-select: none; }
|
|
158
|
+
.pitem.nudge { animation: nudge .5s; }
|
|
159
|
+
@keyframes nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(6px); } 75% { transform: translateX(-4px); } }
|
|
160
|
+
.canvas.dragging { outline: 2px dashed var(--accent); outline-offset: -4px; }
|
|
161
|
+
.flow-svg .drop { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
|
|
162
|
+
.flow-svg .band { fill: rgba(79, 70, 229, .08); stroke: var(--accent); stroke-dasharray: 4 3; }
|
|
163
|
+
.keys { font-size: 12px; line-height: 1.6; margin-top: 12px; }
|
|
164
|
+
.flow-svg .drop-dot { fill: var(--accent); }
|
|
165
|
+
.pitem b { font-weight: 600; font-size: 14px; }
|
|
166
|
+
.pitem span { font-size: 12px; color: var(--muted); line-height: 1.35; }
|
|
167
|
+
.pitem.p-cnn { border-left-color: #1d9e75; } .pitem.p-act { border-left-color: #7f77dd; }
|
|
168
|
+
.pitem.p-rnn { border-left-color: #d85a30; } .pitem.p-struct { border-left-color: #888780; }
|
|
169
|
+
.canvas { border: 1px solid var(--line); border-radius: 10px; background: #fbfbfc; overflow: auto; max-height: 76vh;
|
|
170
|
+
min-height: 420px; display: block; padding: 8px; }
|
|
171
|
+
.flow-svg { font-family: inherit; user-select: none; flex: none; display: block; }
|
|
172
|
+
.palette { user-select: none; }
|
|
173
|
+
.flow-svg .t1 { font-size: 13px; font-weight: 600; fill: #1d2330; text-anchor: middle; dominant-baseline: central; }
|
|
174
|
+
.flow-svg .t2 { font-size: 12px; fill: #6b7280; text-anchor: middle; dominant-baseline: central; }
|
|
175
|
+
.flow-svg .box { stroke-width: 1; }
|
|
176
|
+
.flow-svg .c-teal { fill: #e1f5ee; stroke: #1d9e75; } .flow-svg .c-purple { fill: #eeedfe; stroke: #7f77dd; }
|
|
177
|
+
.flow-svg .c-coral { fill: #faece7; stroke: #d85a30; } .flow-svg .c-gray { fill: #f1efe8; stroke: #888780; }
|
|
178
|
+
.flow-svg .c-add { fill: #ffffff; stroke: #888780; }
|
|
179
|
+
.flow-svg .fb, .flow-svg .fg { cursor: pointer; }
|
|
180
|
+
.flow-svg .fb:hover rect { stroke-width: 2; }
|
|
181
|
+
.flow-svg .fb.sel rect { stroke: var(--accent); stroke-width: 2.6; }
|
|
182
|
+
.flow-svg .fb.bad rect { stroke: #c0392b; stroke-width: 2; }
|
|
183
|
+
.flow-svg .fb.bad .t2 { fill: #c0392b; }
|
|
184
|
+
.flow-svg .fb.loose .box { stroke: #9aa3af; stroke-dasharray: 6 4; stroke-width: 1.6; }
|
|
185
|
+
.flow-svg .fb.loose .t2 { fill: #6b7280; }
|
|
186
|
+
.flow-svg .grp { fill: rgba(30, 40, 60, 0.025); stroke: #9aa3af; stroke-dasharray: 5 4; stroke-width: 1; }
|
|
187
|
+
.flow-svg .fg.sel .grp { stroke: var(--accent); stroke-width: 2; }
|
|
188
|
+
.flow-svg .fg.bad .grp { stroke: #c0392b; }
|
|
189
|
+
.flow-svg .glabel { font-size: 12px; font-weight: 600; fill: #4b5563; }
|
|
190
|
+
.flow-svg .edge { fill: none; stroke: #6b7280; stroke-width: 1.4; }
|
|
191
|
+
.flow-svg .edge.skip { stroke: #1d9e75; stroke-dasharray: 4 3; }
|
|
192
|
+
.flow-svg .slabel { font-size: 11px; fill: #1d9e75; }
|
|
193
|
+
.flow-svg .edge.sel { stroke: var(--accent); stroke-width: 2.6; }
|
|
194
|
+
.flow-svg .edge-hit { fill: none; stroke: transparent; stroke-width: 12; cursor: pointer; }
|
|
195
|
+
.flow-svg .port { fill: #ffffff; stroke: var(--accent); stroke-width: 1.5; cursor: crosshair; }
|
|
196
|
+
.flow-svg .port.in { stroke: #9aa3af; }
|
|
197
|
+
.flow-svg .rsz { fill: var(--accent); stroke: #fff; stroke-width: 1.5; cursor: nwse-resize; }
|
|
198
|
+
.size-fld .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
199
|
+
.size-fld input { width: 72px; }
|
|
200
|
+
.flow-svg .port:hover { fill: var(--accent); stroke: var(--accent); }
|
|
201
|
+
.ctx-menu { position: fixed; z-index: 70; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px;
|
|
202
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, .16); min-width: 210px; max-height: 72vh; overflow: auto; display: flex; flex-direction: column; }
|
|
203
|
+
.ctx-menu.layers { display: grid; grid-template-columns: 1fr 1fr; min-width: 340px; }
|
|
204
|
+
.ctx-menu.layers .ctx-title { grid-column: 1 / -1; }
|
|
205
|
+
.ctx-menu button { text-align: left; border: none; background: transparent; padding: 6px 10px; border-radius: 6px; font-size: 14px; cursor: pointer; }
|
|
206
|
+
.ctx-menu button:hover:not(:disabled) { background: var(--accent-bg); }
|
|
207
|
+
.ctx-menu button:disabled { color: #b0b4bb; cursor: default; }
|
|
208
|
+
.ctx-menu button.danger { color: var(--bad); }
|
|
209
|
+
.ctx-menu .ctx-title { font-size: 12px; color: var(--muted); padding: 6px 10px 2px; font-weight: 600; }
|
|
210
|
+
.ctx-menu hr { border: none; border-top: 1px solid var(--line); margin: 4px 0; grid-column: 1 / -1; }
|
|
211
|
+
.flow-svg .fb { cursor: grab; }
|
|
212
|
+
.flow-svg .grp-head { fill: transparent; cursor: grab; }
|
|
213
|
+
.flow-svg .edge.exit { stroke-dasharray: none; }
|
|
214
|
+
.flow-svg .brk { font-size: 12px; fill: var(--accent); font-weight: 700; }
|
|
215
|
+
.flow-svg .t2b { font-size: 12px; fill: #374151; text-anchor: middle; dominant-baseline: central; }
|
|
216
|
+
.flow-svg .t3 { font-size: 10px; fill: #6b7280; text-anchor: middle; dominant-baseline: central; }
|
|
217
|
+
.flow-svg .fb.sel circle.box { stroke: var(--accent); stroke-width: 2.6; }
|
|
218
|
+
.flow-svg .fb.bad circle.box { stroke: #c0392b; stroke-width: 2; }
|
|
219
|
+
.drag-ghost { position: fixed; pointer-events: none; z-index: 1000; padding: 6px 10px; border-radius: 8px; background: #fff;
|
|
220
|
+
border: 1px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); font-size: 13px; white-space: nowrap; }
|
|
221
|
+
.flow-svg .entry { fill: #9aa3af; }
|
|
222
|
+
.flow-svg .wire { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 4; }
|
|
223
|
+
.flow-svg .wire, .flow-svg .drop, .flow-svg .band, .flow-svg .entry, .flow-svg #snap { pointer-events: none; }
|
|
224
|
+
.flow-svg .snap { fill: rgba(79, 70, 229, .08); stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 4; }
|
|
225
|
+
.flow-svg .fb.sel .box.c-add { stroke: var(--accent); stroke-width: 2.6; }
|
|
226
|
+
.pitem.p-merge { border-left-color: var(--accent); }
|
|
227
|
+
.fld ol.ins { margin: 4px 0 0; padding-left: 20px; font-size: 13px; }
|
|
228
|
+
.fld ol.ins button { padding: 0 6px; margin-left: 4px; }
|
|
229
|
+
#settings h4 { margin: 0 0 4px; font-size: 15px; }
|
|
230
|
+
#settings .fld { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); margin: 8px 0; }
|
|
231
|
+
#settings .fld input, #settings .fld select { width: 100%; }
|
|
232
|
+
#settings .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
|
|
233
|
+
#settings .acts button { font-size: 13px; padding: 4px 8px; }
|
|
234
|
+
#settings .danger { color: var(--bad); }
|
|
235
|
+
#settings .err { color: var(--bad); font-size: 13px; background: var(--bad-bg); padding: 6px 8px; border-radius: 6px; }
|
|
236
|
+
.issues li { cursor: pointer; }
|
|
237
|
+
.box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; }
|
|
238
|
+
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
|
|
239
|
+
.kv .k { color: var(--muted); }
|
|
240
|
+
.kv .v { font-weight: 600; text-align: right; }
|
|
241
|
+
.kv .full { grid-column: 1 / -1; }
|
|
242
|
+
.bar { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
|
|
243
|
+
.bar > div { height: 100%; background: var(--accent); }
|
|
244
|
+
|
|
245
|
+
.flow { display: flex; flex-direction: column; gap: 6px; }
|
|
246
|
+
.flow .fs { border-left: 3px solid var(--line); padding: 2px 0 2px 8px; }
|
|
247
|
+
.flow .fs .name { font-size: 13px; font-weight: 600; }
|
|
248
|
+
.flow .fs .shape { font-size: 12px; color: var(--muted); }
|
|
249
|
+
.flow .fs.bad { border-left-color: var(--bad); }
|
|
250
|
+
.flow.wide .fs svg:not(.img) { width: 100%; max-width: 760px; }
|
|
251
|
+
|
|
252
|
+
.train-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; margin: 12px 0; }
|
|
253
|
+
.curve { width: 100%; height: 220px; }
|
|
254
|
+
|
|
255
|
+
.warns { list-style: none; padding: 0; margin: 8px 0 0; }
|
|
256
|
+
.warns li { padding: 6px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); margin-bottom: 4px; font-size: 13px; }
|
|
257
|
+
.warns li .hint { color: var(--text); display: block; }
|
|
258
|
+
table.cm { border-collapse: collapse; margin-top: 10px; font-size: 13px; }
|
|
259
|
+
table.cm th, table.cm td { border: 1px solid var(--line); padding: 4px 8px; text-align: right; }
|
|
260
|
+
table.cm th { background: var(--bg); font-weight: 600; }
|
|
261
|
+
table.cm td.diag { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
|
|
262
|
+
.cm-cap { font-size: 12px; color: var(--muted); margin-top: 4px; }
|
|
263
|
+
.checks { list-style: none; padding: 0; margin: 10px 0; }
|
|
264
|
+
.checks li { padding: 6px 10px; border-radius: 6px; margin-bottom: 4px; font-size: 14px; }
|
|
265
|
+
.checks li.ok { background: var(--ok-bg); color: var(--ok); }
|
|
266
|
+
.checks li.bad { background: var(--bad-bg); color: var(--bad); }
|
|
267
|
+
.checks li .hint { color: var(--text); display: block; font-size: 13px; }
|
|
268
|
+
.gpus { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
|
|
269
|
+
.gpu { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; min-width: 180px; }
|
|
270
|
+
.gpu.sel { border-color: var(--accent); background: var(--accent-bg); }
|
|
271
|
+
.gpu.busy { border-style: dashed; }
|
|
272
|
+
.gpu.off { opacity: .5; cursor: not-allowed; }
|
|
273
|
+
.gpu .t { font-weight: 600; }
|
|
274
|
+
.gpu .s { font-size: 12px; color: var(--muted); }
|
|
275
|
+
|
|
276
|
+
@media (max-width: 900px) {
|
|
277
|
+
.model-layout, .train-layout { grid-template-columns: 1fr; }
|
|
278
|
+
.palette { flex-direction: row; flex-wrap: wrap; }
|
|
279
|
+
.top { flex-wrap: wrap; }
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* ------------------------------------------------------------ 라벨링 작업실 */
|
|
283
|
+
.btn-link { font: inherit; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); text-decoration: none; }
|
|
284
|
+
.lab-progress { flex: 1; max-width: 640px; }
|
|
285
|
+
.lab-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; display: flex; }
|
|
286
|
+
.lab-bar .done { background: var(--ok); } .lab-bar .unconf { background: #e0b44c; }
|
|
287
|
+
.lab-bar-text { font-size: 12px; color: var(--muted); margin-top: 3px; }
|
|
288
|
+
.lab-title { font-weight: 600; margin-right: 8px; }
|
|
289
|
+
.lab-panel { margin: 8px 0; }
|
|
290
|
+
.lab-classes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
|
|
291
|
+
.lab-chip { border: 1px solid var(--c, var(--line)); border-left-width: 6px; border-radius: 999px; padding: 4px 12px; background: var(--card); cursor: pointer; }
|
|
292
|
+
.lab-chip .key { display: inline-block; min-width: 18px; font-size: 11px; color: var(--muted); }
|
|
293
|
+
.lab-chip .n { color: var(--muted); font-size: 12px; }
|
|
294
|
+
.lab-chip.on { background: var(--c); color: #fff; } .lab-chip.on .key { color: #fff; }
|
|
295
|
+
.lab-chip.add { border-style: dashed; border-left-width: 1px; color: var(--muted); }
|
|
296
|
+
.lab-class-help { font-size: 12px; }
|
|
297
|
+
.lab-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 12px; align-items: start; }
|
|
298
|
+
.lab-filters label { display: flex; align-items: center; gap: 4px; font-size: 13px; }
|
|
299
|
+
.lab-help { font-size: 12px; margin: 4px 0 8px; }
|
|
300
|
+
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; }
|
|
301
|
+
.lab-card { border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: var(--card); cursor: pointer; user-select: none; }
|
|
302
|
+
.lab-card:hover { border-color: #b8bfca; }
|
|
303
|
+
.lab-card.sel { outline: 2px solid var(--accent); outline-offset: -1px; background: #f5f7ff; }
|
|
304
|
+
.lab-card.cur { box-shadow: 0 0 0 3px rgba(79, 70, 229, .25); }
|
|
305
|
+
.lab-card.bad { border-color: var(--bad); }
|
|
306
|
+
.lab-card svg { width: 100%; height: 46px; display: block; }
|
|
307
|
+
.lab-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
308
|
+
.lab-err { font-size: 11px; color: var(--bad); height: 46px; overflow: hidden; }
|
|
309
|
+
.lab-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
|
|
310
|
+
.lab-tag { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--c); color: #fff; border: 1px solid var(--c); }
|
|
311
|
+
.lab-tag.unconf { background: #fff; color: var(--c); border-style: dashed; }
|
|
312
|
+
.lab-tag.none { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
|
|
313
|
+
.lab-note { font-size: 12px; color: var(--muted); }
|
|
314
|
+
.lab-p { font-size: 11px; color: var(--muted); }
|
|
315
|
+
.lab-thumb { height: 46px; display: flex; justify-content: center; }
|
|
316
|
+
.lab-thumb svg.lab-img { width: 46px; height: 46px; border: 1px solid var(--line); }
|
|
317
|
+
.lab-bigimg { width: 100%; max-height: 360px; object-fit: contain; display: block; margin: 0 auto; border: 1px solid var(--line); background: #fff; }
|
|
318
|
+
.lab-bigimg.px { image-rendering: pixelated; } /* 작은 그림은 크게, 픽셀 그대로 */
|
|
319
|
+
.lab-row { max-height: 320px; overflow: auto; }
|
|
320
|
+
.lab-numbar input { width: 120px; }
|
|
321
|
+
.lab-strip { display: block; width: 100%; height: 6px; margin-top: 2px; }
|
|
322
|
+
.lab-seglist { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
|
|
323
|
+
.lab-boxwrap { position: relative; width: 100%; line-height: 0; user-select: none; }
|
|
324
|
+
.lab-boximg { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
|
|
325
|
+
.lab-boximg.px { image-rendering: pixelated; }
|
|
326
|
+
#lab-boxsvg { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
|
|
327
|
+
.lab-tag.sel { outline: 2px solid var(--accent); }
|
|
328
|
+
.lab-conf { color: var(--warn); font-size: 13px; }
|
|
329
|
+
.lab-conflict { background: var(--warn-bg); border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
|
|
330
|
+
.lab-who { margin-left: auto; }
|
|
331
|
+
#lab-d-num { width: 160px; }
|
|
332
|
+
.lab-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 8px; }
|
|
333
|
+
.lab-group { border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
|
|
334
|
+
.lab-group svg { width: 100%; height: 40px; display: block; }
|
|
335
|
+
.lab-gl { font-size: 11px; color: var(--muted); margin: 2px 0; }
|
|
336
|
+
.lab-pager { justify-content: center; }
|
|
337
|
+
.lab-right { position: sticky; top: 8px; }
|
|
338
|
+
.lab-dhead { justify-content: space-between; }
|
|
339
|
+
.lab-dname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
340
|
+
.lab-big { cursor: grab; user-select: none; touch-action: none; }
|
|
341
|
+
.lab-dlabels { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
|
342
|
+
.lab-notefld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin: 8px 0; }
|
|
343
|
+
.lab-notefld textarea { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
|
|
344
|
+
.lab-stats { margin-top: 8px; }
|
|
345
|
+
.grid4 label.wide { grid-column: span 2; }
|
|
346
|
+
|
|
347
|
+
/* studio 화면: 창에 딱 맞게 (페이지는 스크롤 없음, 안쪽 칸만 스크롤). ③ 모델은 판이 남는 공간을 다 씀 */
|
|
348
|
+
body.app { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
|
|
349
|
+
body.app > .top { flex: none; }
|
|
350
|
+
body.app > .message { position: fixed; top: 62px; left: 50%; transform: translateX(-50%); z-index: 60; margin: 0;
|
|
351
|
+
width: max-content; max-width: min(960px, 92vw); box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
|
|
352
|
+
body.app > main { flex: 1; min-height: 0; overflow: auto; padding-bottom: 16px; }
|
|
353
|
+
body.app #step-model:not([hidden]) { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
|
|
354
|
+
body.app #step-model > h2, body.app #step-model > .lead, body.app #step-model > .row, body.app #step-model > .next { flex: none; }
|
|
355
|
+
body.app #step-model > .lead { margin: 4px 0 8px; }
|
|
356
|
+
body.app #step-model .model-layout { flex: 1; min-height: 0; }
|
|
357
|
+
body.app #step-model .model-layout > * { max-height: none; min-height: 0; height: 100%; box-sizing: border-box; }
|
|
358
|
+
label.inline { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
|
|
359
|
+
|
|
360
|
+
/* 좁은 창: 머리 단추 글자가 세로로 깨지지 않게, 자리가 모자라면 다음 줄로 */
|
|
361
|
+
.top { flex-wrap: wrap; row-gap: 8px; }
|
|
362
|
+
.files button { white-space: nowrap; }
|
|
363
|
+
|
|
364
|
+
/* 코드로 보기 창 */
|
|
365
|
+
.dialog { position: fixed; inset: 0; background: rgba(20, 24, 33, 0.45); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
|
|
366
|
+
.dialog-box { background: var(--card); border-radius: 12px; width: min(980px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
|
|
367
|
+
.dialog-head { display: flex; align-items: center; gap: 14px; }
|
|
368
|
+
.dialog-head .x { margin-left: auto; border: none; background: transparent; font-size: 20px; }
|
|
369
|
+
.tabs { display: flex; gap: 4px; }
|
|
370
|
+
.tab { border-radius: 999px; padding: 4px 12px; }
|
|
371
|
+
.tab.active { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
|
|
372
|
+
pre.code { margin: 0; flex: 1; min-height: 200px; overflow: auto; background: #f6f8fa; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
|
|
373
|
+
font: 12.5px/1.5 Consolas, "D2Coding", "Malgun Gothic", "Apple SD Gothic Neo", monospace; white-space: pre; tab-size: 4; }
|
|
374
|
+
#code-note { margin: 0; }
|
|
375
|
+
|
|
376
|
+
/* 웹 버전: 준비 중 알림 */
|
|
377
|
+
.web-boot { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); z-index: 60; background: var(--accent-bg);
|
|
378
|
+
color: var(--accent); border: 1px solid var(--accent); border-radius: 8px; padding: 10px 16px; max-width: calc(100% - 32px); }
|
|
379
|
+
body.web input[readonly] { background: #f6f7f9; }
|
|
380
|
+
|
|
381
|
+
/* 웹 버전: 내 프로젝트 */
|
|
382
|
+
.proj-btn { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-color: var(--accent); color: var(--accent); }
|
|
383
|
+
.proj-status { font-size: 12px; color: var(--muted); white-space: nowrap; align-self: center; }
|
|
384
|
+
.proj-status.bad { color: var(--bad); }
|
|
385
|
+
.proj-box { width: min(760px, 100%); }
|
|
386
|
+
.proj-where p { margin: 4px 0; }
|
|
387
|
+
.proj-list { list-style: none; margin: 0; padding: 0; overflow: auto; border-top: 1px solid var(--line); }
|
|
388
|
+
.proj-list li { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
|
|
389
|
+
.proj-list li.cur { background: var(--accent-bg); }
|
|
390
|
+
.proj-list .pn { flex: 1; min-width: 160px; font-weight: 600; }
|
|
391
|
+
.proj-list .pt { color: var(--muted); font-size: 12px; }
|
|
392
|
+
.proj-list .bad { color: var(--bad); }
|
|
393
|
+
.proj-status.link { color: var(--accent); text-decoration: underline; cursor: pointer; }
|
|
394
|
+
|
|
395
|
+
/* 첫 화면 '내 프로젝트' (웹) */
|
|
396
|
+
.home-start { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
|
|
397
|
+
.home-tabs { margin: 0 0 8px; }
|
|
398
|
+
.proj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 10px 0 16px; }
|
|
399
|
+
.proj-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
|
|
400
|
+
.proj-card:hover { border-color: var(--accent); }
|
|
401
|
+
.proj-card.cur { border-color: var(--accent); background: var(--accent-bg); }
|
|
402
|
+
.proj-card .pn { font-weight: 600; }
|
|
403
|
+
.proj-card .pm { font-size: 13px; }
|
|
404
|
+
.proj-card .pt { font-size: 12px; color: var(--muted); }
|
|
405
|
+
.proj-card .pa { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
|
|
406
|
+
.proj-card .pa button { padding: 3px 10px; font-size: 13px; }
|
|
407
|
+
.step.home-step .n { background: transparent; color: inherit; width: auto; margin-right: 4px; }
|
|
408
|
+
|
|
409
|
+
/* ④ 학습 기록, 틀린 샘플 모아 보기 */
|
|
410
|
+
.table-wrap { overflow-x: auto; }
|
|
411
|
+
table.runs td:nth-child(3) { text-align: left; }
|
|
412
|
+
table.runs tr.cur td { background: var(--accent-bg); }
|
|
413
|
+
table.runs tr.other td { color: var(--muted); }
|
|
414
|
+
table.runs .best { color: #b7791f; font-size: 12px; font-weight: 600; }
|
|
415
|
+
table.runs .acts-cell { text-align: left; }
|
|
416
|
+
table.runs .acts-cell button { padding: 2px 8px; font-size: 12px; }
|
|
417
|
+
button.x-small { border: none; background: transparent; color: var(--muted); }
|
|
418
|
+
#runs-box { margin-top: 14px; }
|
|
419
|
+
table.cm.pick td[data-cell] { cursor: pointer; }
|
|
420
|
+
table.cm.pick td[data-cell]:hover { outline: 2px solid var(--accent); }
|
|
421
|
+
.cm-pick { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
|
|
422
|
+
.cm-pick-head { display: flex; align-items: center; gap: 6px; }
|
|
423
|
+
.cm-pick-head .x { margin-left: auto; border: none; background: transparent; font-size: 16px; padding: 0 4px; }
|
|
424
|
+
.cm-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
|
425
|
+
.cm-items button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; font-size: 11px; }
|
|
426
|
+
|
|
427
|
+
/* ③ 블록 미리보기 */
|
|
428
|
+
.preview-box h3 { display: flex; align-items: center; gap: 6px; }
|
|
429
|
+
.preview-box .x { margin-left: auto; border: none; background: transparent; font-size: 16px; padding: 0 4px; }
|
|
430
|
+
#preview-body svg { max-width: 100%; height: auto; }
|
|
431
|
+
#preview-body p { font-size: 12px; margin: 6px 0 0; }
|
|
432
|
+
|
|
433
|
+
/* ⑤ 예측 */
|
|
434
|
+
.predict-table tr.bad td { background: var(--bad-bg); }
|
|
435
|
+
.predict-table td:first-child { text-align: left; }
|
|
436
|
+
#predict-result .table-wrap { max-height: 480px; overflow: auto; }
|
|
437
|
+
|
|
438
|
+
h3 .muted { font-weight: 400; font-size: 13px; }
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
/* ============================================================ 디자인 (사이드바 앱 틀 · 글꼴 · 단추 · 카드) */
|
|
442
|
+
a { color: var(--accent); }
|
|
443
|
+
button { min-height: 36px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--text-2);
|
|
444
|
+
font-weight: 500; box-shadow: var(--shadow-xs); transition: background .12s, border-color .12s, box-shadow .12s, color .12s; }
|
|
445
|
+
button:hover:not(:disabled) { background: #f9fafb; border-color: #c3c8d0; color: var(--text); }
|
|
446
|
+
button:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
|
|
447
|
+
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(79, 70, 229, .3); }
|
|
448
|
+
button.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; filter: none; }
|
|
449
|
+
button.lg { min-height: 44px; padding: 10px 20px; font-size: 15px; border-radius: 10px; }
|
|
450
|
+
button.ghost { border-color: transparent; background: transparent; box-shadow: none; color: var(--muted); }
|
|
451
|
+
button.ghost:hover:not(:disabled) { background: #f1f5f9; border-color: transparent; }
|
|
452
|
+
button.ghost.danger:hover:not(:disabled) { color: var(--bad); background: var(--bad-bg); }
|
|
453
|
+
button.x, button.x-small, .cm-pick-head .x, .preview-box .x, .message .x, .dialog-head .x { min-height: 0; box-shadow: none; }
|
|
454
|
+
input, select, textarea { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--text);
|
|
455
|
+
box-shadow: var(--shadow-xs); transition: border-color .12s, box-shadow .12s; }
|
|
456
|
+
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
|
|
457
|
+
input[type=checkbox] { min-height: 0; box-shadow: none; accent-color: var(--accent); width: 16px; height: 16px; }
|
|
458
|
+
details > summary { cursor: pointer; }
|
|
459
|
+
h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
|
|
460
|
+
h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
|
|
461
|
+
.lead { font-size: 15px; color: var(--muted); margin: 0 0 22px; max-width: 860px; }
|
|
462
|
+
.tag { background: var(--accent-bg); color: var(--accent-ink); font-weight: 600; font-size: 12px; padding: 3px 10px; }
|
|
463
|
+
.badge { font-weight: 600; padding: 2px 8px; background: #f1f5f9; color: var(--muted); }
|
|
464
|
+
.badge.rec { background: var(--accent-bg); color: var(--accent-ink); }
|
|
465
|
+
|
|
466
|
+
/* 앱 틀: 왼쪽 사이드바 + 오른쪽 내용 */
|
|
467
|
+
body.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 100vh; overflow: hidden; }
|
|
468
|
+
body.app > .top { grid-column: 1; grid-row: 1; position: static; display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap;
|
|
469
|
+
gap: 4px; padding: 18px 14px 14px; background: #fff; border-right: 1px solid var(--line); border-bottom: none; overflow-y: auto; }
|
|
470
|
+
body.app > main { grid-column: 2; grid-row: 1; min-height: 0; overflow: auto; padding: 28px 36px 40px; }
|
|
471
|
+
body.app .brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 14px; cursor: pointer; }
|
|
472
|
+
.brand svg { flex: none; border-radius: 9px; box-shadow: 0 4px 10px -2px rgba(99, 102, 241, .45); }
|
|
473
|
+
.brand .bt { display: flex; flex-direction: column; font-size: 16.5px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
|
|
474
|
+
.brand .sub { margin: 0; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
|
|
475
|
+
.proj-switch { display: flex; flex-direction: column; gap: 4px; padding: 10px; margin: 0 0 6px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fafbfc; }
|
|
476
|
+
.ps-label { font-size: 11px; font-weight: 600; color: var(--muted-2); letter-spacing: .04em; }
|
|
477
|
+
.proj-btn { max-width: none; width: 100%; text-align: left; border: none; background: transparent; box-shadow: none; padding: 0; min-height: 0;
|
|
478
|
+
color: var(--text); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
479
|
+
.proj-btn:hover:not(:disabled) { background: transparent; color: var(--accent); }
|
|
480
|
+
.proj-status { font-size: 11.5px; color: var(--muted); white-space: normal; }
|
|
481
|
+
.steps { display: flex; flex-direction: column; gap: 2px; flex: none; justify-content: flex-start; }
|
|
482
|
+
.nav-label { font-size: 11px; font-weight: 650; letter-spacing: .06em; color: var(--muted-2); padding: 14px 10px 6px; }
|
|
483
|
+
.step { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; text-align: left; border: none; border-radius: 10px;
|
|
484
|
+
padding: 7px 10px; background: transparent; box-shadow: none; color: var(--text-2); white-space: nowrap; }
|
|
485
|
+
.step:hover:not(:disabled) { background: #f4f5f8; border: none; }
|
|
486
|
+
.step.active, .step.active:hover:not(:disabled) { background: var(--accent-bg); color: var(--accent-ink); }
|
|
487
|
+
.step .n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; margin: 0; border-radius: 8px;
|
|
488
|
+
background: #f1f5f9; color: #475569; font-size: 12.5px; font-weight: 700; line-height: 1; }
|
|
489
|
+
.step.active .n { background: var(--accent); color: #fff; }
|
|
490
|
+
.step.done .n { background: var(--ok-bg); color: var(--ok); font-size: 0; }
|
|
491
|
+
.step.done .n::after { content: "✓"; font-size: 13px; }
|
|
492
|
+
.step.stale .n { background: var(--warn-bg); color: var(--warn); }
|
|
493
|
+
.step.home-step .n { width: 26px; margin: 0; background: #f1f5f9; color: #475569; }
|
|
494
|
+
.step.home-step.active .n { background: var(--accent); color: #fff; }
|
|
495
|
+
.step .sl { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.25; }
|
|
496
|
+
.step .sl small { font-size: 11.5px; font-weight: 450; color: var(--muted); }
|
|
497
|
+
.step.active .sl small { color: #6366f1; }
|
|
498
|
+
.files { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
|
|
499
|
+
.files button { width: 100%; }
|
|
500
|
+
|
|
501
|
+
/* 단계 화면: 흰 카드 하나 + 큰 제목 */
|
|
502
|
+
main > .panel { max-width: 1320px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
|
|
503
|
+
padding: 30px 34px 34px; box-shadow: var(--shadow-sm); }
|
|
504
|
+
main > #step-model { max-width: none; padding: 22px 24px 20px; }
|
|
505
|
+
main > #step-model > h2 { font-size: 21px; }
|
|
506
|
+
.box { border-radius: var(--r-md); border-color: var(--line); padding: 16px; box-shadow: var(--shadow-xs); }
|
|
507
|
+
.card { background: #f8fafc; border: 1px solid #eef0f4; border-radius: var(--r-md); padding: 12px 14px; }
|
|
508
|
+
.card .v { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
|
|
509
|
+
.next { margin-top: 22px; gap: 8px; }
|
|
510
|
+
.row { gap: 10px; margin: 10px 0; }
|
|
511
|
+
.tcards { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
|
|
512
|
+
.tcard { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; gap: 6px; box-shadow: var(--shadow-xs); min-height: 0;
|
|
513
|
+
transition: border-color .12s, box-shadow .15s, transform .15s; }
|
|
514
|
+
.tcard:hover:not(:disabled) { border-color: #c7d2fe; box-shadow: var(--shadow-md); transform: translateY(-1px); background: #fff; }
|
|
515
|
+
.tcard.sel { border: 2px solid var(--accent); background: #f8f9ff; padding: 15px; box-shadow: var(--ring); }
|
|
516
|
+
.tcard .ti { font-size: 26px; }
|
|
517
|
+
.tcard .tn { font-size: 15.5px; font-weight: 700; }
|
|
518
|
+
.tcard .td { color: var(--text-2); }
|
|
519
|
+
h3 { margin-top: 10px; }
|
|
520
|
+
.dropzone { border: 1.5px dashed #c7cdd6; border-radius: var(--r-md); background: #fafbfc; padding: 22px; font-weight: 500; }
|
|
521
|
+
.guard { border-radius: var(--r-md); background: var(--warn-bg); border: 1px solid #fedf89; }
|
|
522
|
+
.verdict { border-radius: var(--r-md); }
|
|
523
|
+
.issues li, .warns li { border-radius: var(--r-sm); }
|
|
524
|
+
table.tab th, table.tab td, table.cm th, table.cm td { border-color: #eaecf0; padding: 6px 10px; }
|
|
525
|
+
table.tab th, table.cm th { background: #f8fafc; color: var(--text-2); }
|
|
526
|
+
.canvas { border-radius: var(--r-md); background-color: #fbfcfd; background-image: radial-gradient(#dde1e8 1px, transparent 1px); background-size: 18px 18px; }
|
|
527
|
+
.pitem { border-radius: 10px; padding: 9px 11px; box-shadow: var(--shadow-xs); transition: box-shadow .12s, transform .12s; }
|
|
528
|
+
.pitem:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
|
|
529
|
+
.pcat { font-size: 11px; letter-spacing: .04em; color: var(--muted-2); margin: 12px 0 2px; }
|
|
530
|
+
.viewopt summary { border-color: var(--line-2); border-radius: var(--r-sm); min-height: 36px; display: flex; align-items: center; box-shadow: var(--shadow-xs); }
|
|
531
|
+
.viewopt-box { border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
|
|
532
|
+
.ctx-menu { border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
|
|
533
|
+
.dialog-box { border-radius: var(--r-lg); padding: 18px 20px; }
|
|
534
|
+
.tab { min-height: 32px; padding: 4px 14px; box-shadow: none; }
|
|
535
|
+
.tab.active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-bg); }
|
|
536
|
+
|
|
537
|
+
/* 알림: 오른쪽 아래 토스트 */
|
|
538
|
+
body.app > .message { position: fixed; top: auto; left: auto; right: 24px; bottom: 24px; transform: none; z-index: 60; margin: 0;
|
|
539
|
+
width: max-content; max-width: min(480px, calc(100vw - 32px)); background: #fff; color: var(--text); border: 1px solid var(--line);
|
|
540
|
+
border-left: 4px solid var(--bad); border-radius: var(--r-md); padding: 14px 42px 14px 16px; box-shadow: var(--shadow-lg); animation: toast .18s ease-out; }
|
|
541
|
+
body.app > .message.ok { border-left-color: var(--ok); }
|
|
542
|
+
.message #msg-text { font-weight: 650; }
|
|
543
|
+
.message .hint { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
|
|
544
|
+
.message .x { color: var(--muted); }
|
|
545
|
+
@keyframes toast { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
|
|
546
|
+
.web-boot { top: 24px; left: calc(50% + 128px); border: 1px solid #c7d2fe; background: #fff; color: var(--accent-ink); border-radius: var(--r-md);
|
|
547
|
+
box-shadow: var(--shadow-md); padding: 12px 18px; font-weight: 500; }
|
|
548
|
+
|
|
549
|
+
/* 첫 화면: 소개 + 기능 + 프로젝트 */
|
|
550
|
+
main > #step-home { background: transparent; border: none; box-shadow: none; padding: 4px 0 24px; max-width: 1180px; }
|
|
551
|
+
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 34px 40px;
|
|
552
|
+
border-radius: 22px; background: radial-gradient(1200px 400px at 0% 0%, #eef2ff 0%, rgba(238, 242, 255, 0) 60%), #fff;
|
|
553
|
+
border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
|
|
554
|
+
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 650; color: var(--accent-ink); background: var(--accent-bg); padding: 5px 12px; border-radius: 999px; }
|
|
555
|
+
.hero h1 { font-size: 40px; word-break: keep-all; line-height: 1.18; letter-spacing: -0.035em; font-weight: 800; margin: 16px 0 14px;
|
|
556
|
+
background: linear-gradient(90deg, #0f172a 30%, #4338ca); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
557
|
+
.hero p { word-break: keep-all; font-size: 16px; color: var(--text-2); margin: 0 0 24px; max-width: 520px; line-height: 1.6; }
|
|
558
|
+
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
559
|
+
.hero-art { aspect-ratio: 36 / 26; max-height: 280px; }
|
|
560
|
+
.video-box { width: min(1120px, 100%); }
|
|
561
|
+
.video-box video { display: block; width: 100%; max-height: calc(100vh - 110px); aspect-ratio: 16 / 10; border-radius: 8px; background: #0f172a; }
|
|
562
|
+
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 30px; }
|
|
563
|
+
.feature { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
|
|
564
|
+
.feature b { font-size: 15px; }
|
|
565
|
+
.feature span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
|
|
566
|
+
.fi { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-bg); color: var(--accent); }
|
|
567
|
+
.sec-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
|
|
568
|
+
.sec-head h2 { font-size: 20px; margin: 0 6px 0 0; }
|
|
569
|
+
.sec-head .grow { flex: 1; }
|
|
570
|
+
.proj-where p { font-size: 13px; color: var(--muted); }
|
|
571
|
+
.proj-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 12px 0 20px; }
|
|
572
|
+
.proj-card { border-radius: var(--r-md); padding: 16px; gap: 6px; box-shadow: var(--shadow-xs); transition: box-shadow .15s, border-color .15s, transform .15s; }
|
|
573
|
+
.proj-card:hover { border-color: #c7d2fe; box-shadow: var(--shadow-md); transform: translateY(-2px); }
|
|
574
|
+
.proj-card.cur { border-color: var(--accent); background: #fff; box-shadow: var(--ring); }
|
|
575
|
+
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
|
|
576
|
+
.pc-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; font-weight: 700;
|
|
577
|
+
background: linear-gradient(135deg, #6366f1, #8b5cf6); }
|
|
578
|
+
.proj-card .pn { font-size: 15px; font-weight: 700; line-height: 1.35; }
|
|
579
|
+
.proj-card .pm { font-size: 13px; color: var(--muted); }
|
|
580
|
+
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px solid #f1f2f5; }
|
|
581
|
+
.proj-card .pa { margin: 0; gap: 2px; }
|
|
582
|
+
.proj-card .pa button { min-height: 28px; padding: 2px 8px; font-size: 12.5px; }
|
|
583
|
+
.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 36px 16px;
|
|
584
|
+
border: 1.5px dashed #d5d9e0; border-radius: var(--r-md); background: #fff; color: var(--muted); }
|
|
585
|
+
.empty b { color: var(--text); font-size: 15px; }
|
|
586
|
+
.use-note { font-size: 12.5px; }
|
|
587
|
+
.tag:empty { display: none; }
|
|
588
|
+
/* ② 데이터: 예시 카드 + 넣는 방법 카드 */
|
|
589
|
+
.sec-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px; }
|
|
590
|
+
.sec-title h3 { margin: 0; font-size: 16px; }
|
|
591
|
+
.sec-title .muted { font-size: 13px; }
|
|
592
|
+
#step-data > .lead + .sec-title { margin-top: 4px; }
|
|
593
|
+
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
|
|
594
|
+
.ex-card { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 12px 14px; min-height: 64px;
|
|
595
|
+
border-radius: var(--r-md); color: var(--text); position: relative; }
|
|
596
|
+
.ex-card:hover:not(:disabled) { border-color: #c7d2fe; background: #fafaff; box-shadow: var(--shadow-md); }
|
|
597
|
+
.ex-card .ex-name { font-weight: 650; font-size: 14px; line-height: 1.35; padding-right: 54px; }
|
|
598
|
+
.ex-card .ex-meta { font-size: 12.5px; color: var(--muted); font-weight: 450; }
|
|
599
|
+
.ex-card.sel { border: 2px solid var(--accent); background: var(--accent-bg); padding: 11px 13px; }
|
|
600
|
+
.ex-check { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 650; color: var(--accent-ink); background: #fff;
|
|
601
|
+
border-radius: 999px; padding: 2px 8px; box-shadow: inset 0 0 0 1px #c7d2fe; }
|
|
602
|
+
.src-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
|
|
603
|
+
.src-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md);
|
|
604
|
+
background: #fff; box-shadow: var(--shadow-xs); }
|
|
605
|
+
.src-head { display: flex; flex-direction: column; gap: 2px; }
|
|
606
|
+
.src-head b { font-size: 14.5px; }
|
|
607
|
+
.src-head span { font-size: 12.5px; color: var(--muted); }
|
|
608
|
+
.src-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
609
|
+
.src-row input.path { flex: 1 1 160px; min-width: 0; }
|
|
610
|
+
.src-row .grow { flex: 1; }
|
|
611
|
+
.src-card .dropzone { margin: 0; padding: 16px; font-size: 13px; }
|
|
612
|
+
.src-card .fmt { margin: 0; font-size: 13.5px; }
|
|
613
|
+
#step-data .more { margin-top: 18px; }
|
|
614
|
+
.panel:not(.is-empty) > .empty-step { display: none; }
|
|
615
|
+
.panel.is-empty > :not(h2):not(.empty-step) { display: none !important; }
|
|
616
|
+
.empty-step { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 56px 24px 64px;
|
|
617
|
+
border: 1.5px dashed #d5d9e0; border-radius: var(--r-lg); background: #fafbfc; color: var(--muted); }
|
|
618
|
+
.empty-step b { font-size: 18px; color: var(--text); }
|
|
619
|
+
.empty-step > span { max-width: 520px; line-height: 1.6; }
|
|
620
|
+
.es-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px;
|
|
621
|
+
background: var(--accent-bg); color: var(--accent); margin-bottom: 4px; }
|
|
622
|
+
.es-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
|
|
623
|
+
.step.locked:not(.active) { opacity: .5; }
|
|
624
|
+
.step.locked:not(.active) .n { background: #f1f5f9; color: var(--muted-2); }
|
|
625
|
+
|
|
626
|
+
/* 좁은 창: 사이드바 → 위쪽 막대 */
|
|
627
|
+
@media (max-width: 1000px) {
|
|
628
|
+
body.app { display: flex; flex-direction: column; height: 100vh; }
|
|
629
|
+
body.app > .top { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 14px; border-right: none; border-bottom: 1px solid var(--line); overflow: visible; }
|
|
630
|
+
body.app > main { flex: 1; padding: 16px; }
|
|
631
|
+
.brand { padding: 0; } .brand .sub { display: none; }
|
|
632
|
+
.proj-switch { flex-direction: row; align-items: center; padding: 4px 10px; margin: 0; } .ps-label { display: none; } .proj-status { white-space: nowrap; }
|
|
633
|
+
.steps { flex-direction: row; flex-wrap: wrap; } .nav-label { display: none; }
|
|
634
|
+
.step { width: auto; min-height: 36px; padding: 4px 10px; } .step .sl small { display: none; }
|
|
635
|
+
.files { margin: 0; flex-direction: row; border: none; padding: 0; } .files button { width: auto; }
|
|
636
|
+
.hero { grid-template-columns: 1fr; padding: 24px; } .hero-art { display: none; } .hero h1 { font-size: 30px; }
|
|
637
|
+
.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
638
|
+
main > .panel { padding: 20px; }
|
|
639
|
+
.web-boot { left: 50%; }
|
|
640
|
+
}
|
|
641
|
+
.proj-card .pt { white-space: nowrap; }
|
|
642
|
+
.proj-card .pa { display: flex; flex-wrap: nowrap; }
|
|
643
|
+
button.icon { min-height: 30px; width: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
|
|
644
|
+
button.icon svg { width: 16px; height: 16px; }
|
|
645
|
+
body.app #step-model.is-empty:not([hidden]) { height: auto; display: block; }
|
|
646
|
+
|
|
647
|
+
/* 라벨링 페이지 (body.lab): 위쪽 막대 + 넓은 내용 */
|
|
648
|
+
body.lab { min-height: 100vh; }
|
|
649
|
+
body.lab > .top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 24px; background: #fff;
|
|
650
|
+
border-bottom: 1px solid var(--line); flex-wrap: wrap; }
|
|
651
|
+
body.lab .brand { display: flex; align-items: center; gap: 10px; }
|
|
652
|
+
body.lab .brand svg { border-radius: 9px; box-shadow: 0 4px 10px -2px rgba(99, 102, 241, .45); }
|
|
653
|
+
body.lab .brand .bt { display: flex; flex-direction: column; font-size: 16px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
|
|
654
|
+
body.lab .brand .sub { margin: 0; font-size: 11.5px; font-weight: 500; color: var(--muted); }
|
|
655
|
+
body.lab .files { display: flex; flex-direction: row; gap: 8px; margin-left: auto; align-items: center; }
|
|
656
|
+
body.lab .btn-link { min-height: 36px; display: inline-flex; align-items: center; border-radius: var(--r-sm); border-color: var(--line-2); font-weight: 500; }
|
|
657
|
+
body.lab > main { padding: 24px 28px 40px; }
|
|
658
|
+
body.lab main > .panel { max-width: 1480px; }
|
|
659
|
+
body.lab > .message { position: fixed; top: auto; left: auto; right: 24px; bottom: 24px; transform: none; z-index: 60; margin: 0;
|
|
660
|
+
width: max-content; max-width: min(480px, calc(100vw - 32px)); background: #fff; color: var(--text); border: 1px solid var(--line);
|
|
661
|
+
border-left: 4px solid var(--bad); border-radius: var(--r-md); padding: 14px 42px 14px 16px; box-shadow: var(--shadow-lg); }
|
|
662
|
+
body.lab > .message.ok { border-left-color: var(--ok); }
|
|
663
|
+
.lab-job { display: flex; flex-direction: column; min-width: 0; max-width: 280px; }
|
|
664
|
+
.lab-job-name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
665
|
+
.lab-progress { flex: 1; min-width: 220px; }
|
|
666
|
+
.lab-tools { gap: 8px; }
|
|
667
|
+
.lab-icon { background: linear-gradient(135deg, #10b981, #0ea5e9); }
|
|
668
|
+
.job-bar { height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; margin-top: 4px; }
|
|
669
|
+
.job-bar span { display: block; height: 100%; background: linear-gradient(90deg, #10b981, #0ea5e9); }
|
|
670
|
+
.lab-chip { min-height: 32px; box-shadow: none; }
|
|
671
|
+
/* studio ② 라벨링한 데이터 */
|
|
672
|
+
.label-jobs { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
|
|
673
|
+
.label-job { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid #eef0f4; border-radius: 10px; background: #fafbfc; }
|
|
674
|
+
.label-job > div { display: flex; flex-direction: column; min-width: 0; }
|
|
675
|
+
.label-job b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
676
|
+
.label-job .muted { font-size: 12px; }
|
|
677
|
+
.label-job button { min-height: 30px; padding: 3px 10px; font-size: 13px; flex: none; }
|
|
678
|
+
.lab-extra { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
|
|
679
|
+
.lab-extra-cols { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text); }
|
|
680
|
+
.lab-extra-cols label.check { display: inline-flex; align-items: center; gap: 4px; }
|
|
681
|
+
body.lab .files button, body.lab .btn-link { white-space: nowrap; }
|
|
682
|
+
.proj-card .pa button { white-space: nowrap; }
|
|
683
|
+
|
|
684
|
+
/* 라벨링: 도형 도구 (상자·다각형·점) */
|
|
685
|
+
.shape-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
|
|
686
|
+
.shape-tools .tool { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 10px; font-size: 13.5px; }
|
|
687
|
+
.shape-tools .tool.on { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
|
|
688
|
+
.shape-tools kbd { font: 600 10.5px/1 var(--font); color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 2px 4px; background: #fff; }
|
|
689
|
+
.tool-help { font-size: 12px; color: var(--muted); flex: 1 1 220px; line-height: 1.4; }
|
|
690
|
+
.lab-boxwrap #lab-boxsvg { cursor: crosshair; }
|
|
691
|
+
#lab-boxsvg [data-i] { cursor: move; }
|
|
692
|
+
#lab-boxsvg .shape-vertex { fill: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; cursor: grab; }
|
|
693
|
+
#lab-boxsvg .shape-mid { fill-opacity: .55; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: copy; }
|
|
694
|
+
#lab-boxsvg .shape-handle { cursor: nwse-resize; }
|
|
695
|
+
#lab-boxsvg .draft-first { cursor: pointer; }
|
|
696
|
+
#lab-boxsvg .shape-text { pointer-events: none; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
|
|
697
|
+
.shape-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
|
698
|
+
.shape-item { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 8px 3px 10px; font-size: 13px; border-radius: 999px; box-shadow: none; }
|
|
699
|
+
.shape-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
|
|
700
|
+
.shape-item .muted { font-size: 12px; }
|
|
701
|
+
.shape-item .x { color: var(--muted); padding: 0 2px; font-size: 15px; line-height: 1; }
|
|
702
|
+
.shape-item .x:hover { color: var(--bad); }
|
|
703
|
+
.shape-item.sel { border-color: var(--c); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
|
|
704
|
+
#lab-boxsvg .shape-hit { fill: transparent; stroke: none; cursor: grab; }
|
|
705
|
+
#lab-boxsvg .shape-hit.shape-handle { cursor: nwse-resize; }
|
|
706
|
+
#lab-boxsvg .shape-hit.shape-radius { cursor: ew-resize; }
|
|
707
|
+
#lab-boxsvg .shape-hit.draft-first { cursor: pointer; }
|
|
708
|
+
#lab-boxsvg .shape-vertex, #lab-boxsvg .shape-mid, #lab-boxsvg .shape-handle-look { pointer-events: none; }
|
|
709
|
+
|
|
710
|
+
/* 객체 탐지: 그림 위 상자 */
|
|
711
|
+
.det-img { border-radius: 6px; background: #111; display: block; }
|
|
712
|
+
.det-img .det-text { font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 2px; stroke-linejoin: round; }
|
|
713
|
+
.det-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin: 10px 0; }
|
|
714
|
+
.det-card { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
|
|
715
|
+
.det-card .det-img { width: 100%; height: auto; }
|
|
716
|
+
.det-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12.5px; margin: 6px 0; }
|
|
717
|
+
.det-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--c); margin-right: 5px; vertical-align: -1px; }
|
|
718
|
+
#det-box h3 { margin: 0; }
|
|
719
|
+
.det-th b { color: var(--ink, #111); min-width: 34px; display: inline-block; }
|
|
720
|
+
.det-head { justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
721
|
+
.det-head input[type=range] { vertical-align: middle; width: 140px; }
|
|
722
|
+
.det-help { font-size: 12px; line-height: 1.5; margin-top: 8px; }
|
|
723
|
+
#data-preview .det-legend { flex-basis: 100%; }
|
|
724
|
+
.preview.thumbs.det { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
|
|
725
|
+
.preview.thumbs.det .det-img { width: 100%; height: auto; max-width: 220px; }
|
|
726
|
+
|
|
727
|
+
/* 블록 목록: 범주를 누르면 펼침 · 위에 찾기 */
|
|
728
|
+
.palette { gap: 6px; }
|
|
729
|
+
.palette .psearch { width: 100%; min-height: 36px; padding: 6px 10px; border-radius: var(--r-sm); border-color: var(--line-2); position: sticky; top: 0; z-index: 1; }
|
|
730
|
+
.palette .psearch:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
|
|
731
|
+
.palette .plist { display: flex; flex-direction: column; gap: 4px; }
|
|
732
|
+
.pcat-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left;
|
|
733
|
+
padding: 8px 10px; border: 1px solid var(--line); border-left: 4px solid var(--cc, var(--line-2)); border-radius: var(--r-sm);
|
|
734
|
+
background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-xs); }
|
|
735
|
+
.pcat-btn:hover { border-color: var(--line-2); border-left-color: var(--cc, var(--line-2)); background: #fafbff; }
|
|
736
|
+
.pcat-btn em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--muted); background: #f2f4f7; border-radius: 999px; padding: 1px 8px; }
|
|
737
|
+
.pcat-btn::after { content: "▸"; color: var(--muted-2); font-size: 11px; margin-left: 2px; transition: transform .15s; }
|
|
738
|
+
.pcat-btn em { margin-left: auto; }
|
|
739
|
+
.pcat-btn.on { background: var(--accent-bg); color: var(--accent-ink); border-color: #c7d2fe; border-left-color: var(--cc, var(--accent)); }
|
|
740
|
+
.pcat-btn.on::after { transform: rotate(90deg); color: var(--accent); }
|
|
741
|
+
.pitems { display: flex; flex-direction: column; gap: 6px; padding: 4px 0 8px 8px; border-left: 2px solid #e0e7ff; margin-left: 6px; }
|
|
742
|
+
.p-dense { --cc: #888780; } .p-conv { --cc: #1d9e75; } .p-pool { --cc: #15a37a; } .p-up { --cc: #0e8a6a; } .p-rnn { --cc: #d85a30; }
|
|
743
|
+
.p-attn { --cc: #2563eb; } .p-tf { --cc: #4f46e5; } .p-norm { --cc: #d97706; } .p-act { --cc: #7f77dd; } .p-reg { --cc: #6b7280; }
|
|
744
|
+
.p-merge { --cc: var(--accent); } .p-shape { --cc: #94a3b8; } .p-prep { --cc: #db2777; } .p-aug { --cc: #e11d48; } .p-pack { --cc: #0f172a; }
|
|
745
|
+
.pitem[class*="p-"] { border-left-color: var(--cc); }
|
|
746
|
+
.flow-svg .c-blue { fill: #e8f0fe; stroke: #2563eb; } .flow-svg .c-amber { fill: #fef3e2; stroke: #d97706; }
|
|
747
|
+
.flow-svg .c-pink { fill: #fdeef4; stroke: #db2777; }
|
|
748
|
+
|
|
749
|
+
/* 어텐션 열지도 (샘플 따라가기) */
|
|
750
|
+
.attn { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 6px; padding: 6px 8px; background: #fef2f2; border-radius: 6px; }
|
|
751
|
+
.attn svg, .attn img { max-width: 100%; height: auto; }
|
|
752
|
+
.attn-top { border: 1px solid #fecaca; border-radius: 8px; padding: 8px; background: #fff7f7; }
|
|
753
|
+
.attn-top svg { max-width: 100%; height: auto; }
|
|
754
|
+
.attn-cols { border-collapse: collapse; font-size: 12px; }
|
|
755
|
+
.attn-cols td { padding: 1px 6px; white-space: nowrap; }
|
|
756
|
+
.attn-cols td:first-child { text-align: right; color: #374151; }
|
|
757
|
+
.attn-cols td:last-child { color: #6b7280; font-variant-numeric: tabular-nums; }
|
|
758
|
+
.attn-cols span { display: inline-block; height: 10px; border-radius: 2px; vertical-align: middle; }
|
|
759
|
+
|
|
760
|
+
/* 판 확대·축소 */
|
|
761
|
+
.zoom { display: inline-flex; gap: 0; }
|
|
762
|
+
.zoom button { border-radius: 0; margin: 0 -1px 0 0; min-width: 34px; }
|
|
763
|
+
.zoom button:first-child { border-radius: 8px 0 0 8px; }
|
|
764
|
+
.zoom button:last-child { border-radius: 0 8px 8px 0; }
|
|
765
|
+
#zoom-reset { min-width: 54px; font-variant-numeric: tabular-nums; }
|
|
766
|
+
.canvas { touch-action: pan-x pan-y; } /* 두 손가락 집기는 판만 확대 (페이지 확대 대신) */
|
|
767
|
+
|
|
768
|
+
/* 단계 아래 [← 이전] (왼쪽 끝) */
|
|
769
|
+
.next .back { margin-right: auto; }
|
|
770
|
+
|
|
771
|
+
/* 시계열 예측·이상 탐지 결과 */
|
|
772
|
+
.fc-box { margin: 10px 0; }
|
|
773
|
+
.fc-gallery, .ae-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
|
|
774
|
+
.fc-card { border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
|
|
775
|
+
.fc-card.ab { border-color: #fecaca; background: #fff7f7; }
|
|
776
|
+
.fc-card svg, .ae-hist { max-width: 100%; height: auto; }
|
|
777
|
+
.fc-legend { font-size: 12px; }
|
|
778
|
+
.ae-at { margin: 6px 0 10px; }
|
|
779
|
+
#det-box .det-head button { margin-left: 8px; }
|
|
780
|
+
|
|
781
|
+
/* 과제 큰 틀 아이콘: 내 프로젝트 화면과 같은 선 그림 상자 */
|
|
782
|
+
.tcard .fi.ti { font-size: 0; margin-bottom: 8px; }
|
|
783
|
+
.tcard.soon .fi.ti { background: #f1f5f9; color: #94a3b8; }
|
|
784
|
+
.tcard.sel .fi.ti { background: var(--accent); color: #fff; }
|
|
785
|
+
|
|
786
|
+
/* 내 프로젝트 카드: 고른 카드 */
|
|
787
|
+
.proj-card.sel { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .18); }
|
|
788
|
+
|
|
789
|
+
.ae-img { image-rendering: pixelated; border: 1px solid var(--line); border-radius: 4px; margin-right: 4px; }
|
|
790
|
+
.seg-strip { display: block; border-radius: 2px; margin-top: 2px; }
|
|
791
|
+
.seg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 10px; }
|
|
792
|
+
td.seg-cell { text-align: left; }
|
|
793
|
+
.loss-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
|
|
794
|
+
.loss-k { font-weight: 600; color: var(--text-2); }
|
|
795
|
+
.loss-term { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--accent-bg); }
|
|
796
|
+
.loss-term input.lw { width: 76px; } .loss-term .lopt input[type=number] { width: 56px; } .loss-term .lopt { font-size: 12.5px; color: var(--muted); }
|
|
797
|
+
.loss-term .ldel { border: 0; background: none; padding: 0 4px; color: var(--muted); }
|
|
798
|
+
.lplus { color: var(--muted); }
|
|
799
|
+
.loss-parts { margin-top: 6px; font-size: 12.5px; }
|
|
800
|
+
.loss-box .loss-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
|
|
801
|
+
.loss-row .loss-k { min-width: 92px; }
|
|
802
|
+
.loss-row .ladd { padding: 2px 8px; }
|
|
803
|
+
.head-tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
|
|
804
|
+
.head-tabs button { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: none; }
|
|
805
|
+
.head-tabs button[aria-selected="true"] { background: var(--accent-bg); border-color: var(--accent); }
|
|
806
|
+
.loss-box.multi { flex-direction: column; align-items: stretch; }
|
|
807
|
+
.loss-box.multi #loss-terms { display: flex; flex-direction: column; gap: 6px; }
|
|
808
|
+
.loss-box.multi > .loss-k { align-self: flex-start; }
|
|
809
|
+
.loss-row .loss-k { font-weight: 500; color: var(--text); }
|
|
810
|
+
.loss-box.multi > button, .loss-box.multi > select { align-self: flex-start; }
|
|
811
|
+
.ch-stack { display: flex; flex-direction: column; gap: 2px; }
|
|
812
|
+
.series-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
|
|
813
|
+
.series-cols .chk { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
|
|
814
|
+
.role-cols { display: flex; flex-wrap: wrap; gap: 6px; max-height: 180px; overflow: auto; }
|
|
815
|
+
.role-box .role, .csv-pick .role { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: 13px; }
|
|
816
|
+
.role-box .role span, .csv-pick .role span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
817
|
+
.role-box .role.r-target, .csv-pick .role.r-target { background: var(--accent-bg); border-color: var(--accent); }
|
|
818
|
+
.role-box .role.r-skip, .csv-pick .role.r-skip { opacity: .5; text-decoration: line-through; }
|
|
819
|
+
.role-box .row { margin-top: 8px; }
|
|
820
|
+
.runs-compare { margin-top: 10px; }
|
|
821
|
+
.tab.cmp th { text-align: left; color: var(--muted); font-weight: 500; }
|
|
822
|
+
.tab.cmp tr.diff td { font-weight: 700; background: var(--accent-bg); }
|
|
823
|
+
/* 휴대폰 폭: 위쪽 줄이 화면을 넘지 않게 (프로젝트 이름은 말줄임, 단계는 가로로 밀어 보기) */
|
|
824
|
+
@media (max-width: 600px) {
|
|
825
|
+
body.app > .top { gap: 6px; padding: 8px 10px; }
|
|
826
|
+
.proj-switch { min-width: 0; max-width: 100%; flex: 1 1 100%; }
|
|
827
|
+
.proj-switch .proj-btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
828
|
+
.proj-switch .proj-status { display: none; }
|
|
829
|
+
.steps { flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
|
|
830
|
+
.step { flex: none; padding: 4px 8px; }
|
|
831
|
+
body.app > main { padding: 10px; }
|
|
832
|
+
main > .panel { padding: 14px; }
|
|
833
|
+
.grid4 { grid-template-columns: 1fr 1fr; }
|
|
834
|
+
.loss-row .loss-k { min-width: 0; width: 100%; }
|
|
835
|
+
.head-tabs button { padding: 3px 8px; font-size: 13px; }
|
|
836
|
+
}
|
|
837
|
+
@media (max-width: 1000px) { /* 위쪽 줄: 프로젝트 이름이 길어도 화면을 넘지 않게 */
|
|
838
|
+
.proj-switch { min-width: 0; max-width: 100%; }
|
|
839
|
+
.proj-switch .proj-btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
840
|
+
}
|
|
841
|
+
.csv-pick { margin-top: 10px; padding: 10px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-bg); }
|
|
842
|
+
.csv-pick .pick-head { margin-bottom: 8px; }
|
|
843
|
+
.csv-pick .row { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
844
|
+
.csv-pick .role { background: var(--card, #fff); }
|