@eliceio/cdk-cli 1.6.1 → 1.7.1-entryqa.0
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.
- package/es/commands/create/scaffold.d.ts +1 -1
- package/es/commands/create/scaffold.js +1 -1
- package/es/commands/dev/index.d.ts +1 -1
- package/es/commands/dev/index.js +1 -1
- package/es/dev/host-page.js +19 -3
- package/es/dev/kv-public-mock.d.ts +101 -0
- package/es/dev/kv-public-mock.js +489 -0
- package/es/dev/mock-api.d.ts +28 -6
- package/es/dev/mock-api.js +57 -59
- package/es/dev/mock-http.d.ts +28 -0
- package/es/dev/mock-http.js +53 -0
- package/es/dev/server.js +8 -3
- package/package.json +2 -2
- package/skills/_shared/references/17-using-the-entry-template.md +6 -4
- package/templates/_shared/lib/cdk-mock.d.ts +37 -0
- package/templates/_shared/lib/cdk-mock.js +89 -1
- package/templates/_shared/lib/elice-content.d.ts +5 -0
- package/templates/_shared/lib/elice-content.js +7 -0
- package/templates/board/README.md +118 -0
- package/templates/board/commentary.txt +6 -0
- package/templates/board/core/board.d.ts +176 -0
- package/templates/board/core/board.js +732 -0
- package/templates/board/core/dom.d.ts +13 -0
- package/templates/board/core/dom.js +83 -0
- package/templates/board/core/model.d.ts +58 -0
- package/templates/board/core/model.js +217 -0
- package/templates/board/core/settings.d.ts +44 -0
- package/templates/board/core/settings.js +131 -0
- package/templates/board/edit.html +23 -0
- package/templates/board/gitignore +4 -0
- package/templates/board/index.html +22 -0
- package/templates/board/instructor.html +23 -0
- package/templates/board/metadata.json +9 -0
- package/templates/board/package.json +13 -0
- package/templates/board/screens/board.js +318 -0
- package/templates/board/screens/edit.js +631 -0
- package/templates/board/screens/instructor.js +16 -0
- package/templates/board/screens/learn.js +14 -0
- package/templates/board/template.json +14 -0
- package/templates/board/ui/background.css +8 -0
- package/templates/board/ui/board-bg.webp +0 -0
- package/templates/board/ui/board.css +1124 -0
- package/templates/board/ui/card.js +141 -0
- package/templates/board/ui/composer.js +329 -0
- package/templates/board/ui/dropdown.js +185 -0
- package/templates/board/ui/icons.js +36 -0
- package/templates/board/ui/learn.css +141 -0
- package/templates/board/ui/menu.js +104 -0
- package/templates/board/ui/texts.d.ts +3 -0
- package/templates/board/ui/texts.js +162 -0
- package/templates/entry/README.md +5 -5
- package/templates/entry/core/grading.js +1 -1
- package/templates/entry/docs/storage.md +2 -2
- package/templates/entry/screens/edit/panels/answer-project.js +1 -1
- package/templates/entry/screens/edit/panels/grading.d.ts +2 -1
- package/templates/entry/screens/edit/panels/grading.js +15 -11
- package/templates/entry/screens/edit/panels/index.js +6 -5
- package/templates/entry/screens/edit/panels/preference.d.ts +15 -0
- package/templates/entry/screens/edit/panels/preference.js +9 -21
- package/templates/entry/screens/edit/panels/project-panel.js +3 -6
- package/templates/entry/screens/edit.js +39 -10
- package/templates/entry/styles.css +226 -210
- package/templates/entry/template.json +1 -1
- package/templates/entry/ui/templates/page.js +22 -4
- package/templates/entry/ui/texts.js +11 -13
- package/templates/entry/ui/theme.css +19 -2
|
@@ -0,0 +1,1124 @@
|
|
|
1
|
+
/* 칸반 보드 공통 (편집 · 학생 · 교육자 화면): 연주님 디자인. 학생 · 교육자 화면만 다른 부분은 learn.css */
|
|
2
|
+
.bw {
|
|
3
|
+
--bw-primary: #7353ea;
|
|
4
|
+
--bw-primary-dark: #613dd6;
|
|
5
|
+
--bw-selected: rgba(133, 103, 254, 0.08);
|
|
6
|
+
--bw-muted: #eae5fc;
|
|
7
|
+
--bw-text: #191f28;
|
|
8
|
+
--bw-text2: #343e4b;
|
|
9
|
+
--bw-text3: #66717e;
|
|
10
|
+
--bw-border: #d6dae1;
|
|
11
|
+
--bw-border-strong: #bec4cd; /* EDS bluegray-400 */
|
|
12
|
+
--bw-divider: #e9ebf0;
|
|
13
|
+
--bw-gray: #f3f5f8;
|
|
14
|
+
--bw-danger: #c62828;
|
|
15
|
+
--bw-head-h: 56px;
|
|
16
|
+
min-height: 100vh;
|
|
17
|
+
background: transparent;
|
|
18
|
+
color: var(--bw-text);
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
padding-bottom: 96px;
|
|
21
|
+
position: relative;
|
|
22
|
+
}
|
|
23
|
+
/* 킷의 편집 페이지는 본문을 720px 가운데 열로 제한한다. 보드는 화면 전체 폭을 쓴다 */
|
|
24
|
+
body.ec-edit-page:has(.bw) {
|
|
25
|
+
padding: 0;
|
|
26
|
+
}
|
|
27
|
+
body.ec-edit-page:has(.bw) main#app {
|
|
28
|
+
max-width: none;
|
|
29
|
+
width: 100%;
|
|
30
|
+
margin: 0;
|
|
31
|
+
gap: 0;
|
|
32
|
+
padding-bottom: 0;
|
|
33
|
+
}
|
|
34
|
+
body.ec-edit-page:has(.bw) .ec-submitbar {
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 8px 24px;
|
|
37
|
+
} /* 저장 버튼을 가운데 열이 아니라 화면 오른쪽 끝에 */
|
|
38
|
+
.bw *,
|
|
39
|
+
.bw *::before,
|
|
40
|
+
.bw *::after {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
}
|
|
43
|
+
/* 킷이 모든 button에 거는 min-height: 44px를 이 화면에서는 풀어 둔다 (각 버튼은 자기 높이를 직접 정한다) */
|
|
44
|
+
:where(.bw) button {
|
|
45
|
+
min-height: 0;
|
|
46
|
+
}
|
|
47
|
+
.bw button,
|
|
48
|
+
.bw input,
|
|
49
|
+
.bw select,
|
|
50
|
+
.bw textarea {
|
|
51
|
+
font-family: inherit;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bw-top {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: 16px;
|
|
58
|
+
padding: 16px 24px;
|
|
59
|
+
margin: 24px 24px 0;
|
|
60
|
+
background: rgba(255, 255, 255, 0.55);
|
|
61
|
+
border-radius: 16px;
|
|
62
|
+
}
|
|
63
|
+
.bw-titles {
|
|
64
|
+
flex: 1;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
gap: 2px;
|
|
69
|
+
}
|
|
70
|
+
.bw-title {
|
|
71
|
+
font-size: 20px;
|
|
72
|
+
font-weight: 800;
|
|
73
|
+
letter-spacing: -0.01em;
|
|
74
|
+
border: 1px solid transparent;
|
|
75
|
+
border-radius: 8px;
|
|
76
|
+
padding: 6px 8px;
|
|
77
|
+
margin: 0 -8px;
|
|
78
|
+
background: transparent;
|
|
79
|
+
color: var(--bw-text);
|
|
80
|
+
width: calc(100% + 16px);
|
|
81
|
+
}
|
|
82
|
+
.bw-desc {
|
|
83
|
+
font-size: 13px;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
color: var(--bw-text3);
|
|
86
|
+
border: 1px solid transparent;
|
|
87
|
+
border-radius: 8px;
|
|
88
|
+
padding: 4px 8px;
|
|
89
|
+
margin: 0 -8px;
|
|
90
|
+
background: transparent;
|
|
91
|
+
resize: none;
|
|
92
|
+
width: calc(100% + 16px);
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
line-height: 1.5;
|
|
95
|
+
}
|
|
96
|
+
.bw-title:hover,
|
|
97
|
+
.bw-desc:hover {
|
|
98
|
+
background: var(--bw-gray);
|
|
99
|
+
}
|
|
100
|
+
.bw-title:focus,
|
|
101
|
+
.bw-desc:focus {
|
|
102
|
+
outline: none;
|
|
103
|
+
background: #fff;
|
|
104
|
+
border-color: var(--bw-primary);
|
|
105
|
+
box-shadow: 0 0 0 3px rgba(115, 83, 234, 0.12);
|
|
106
|
+
}
|
|
107
|
+
.bw-title::placeholder,
|
|
108
|
+
.bw-desc::placeholder {
|
|
109
|
+
color: rgba(25, 31, 40, 0.38);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.bw-btn {
|
|
113
|
+
height: 36px;
|
|
114
|
+
padding: 0 14px;
|
|
115
|
+
border-radius: 8px;
|
|
116
|
+
border: 1px solid var(--bw-border);
|
|
117
|
+
background: #fff;
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
gap: 8px;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
color: var(--bw-text);
|
|
125
|
+
flex: none;
|
|
126
|
+
}
|
|
127
|
+
.bw-btn:hover {
|
|
128
|
+
background: var(--bw-gray);
|
|
129
|
+
}
|
|
130
|
+
.bw-btn[aria-expanded='true'] {
|
|
131
|
+
background: var(--bw-selected);
|
|
132
|
+
border-color: var(--bw-primary);
|
|
133
|
+
color: var(--bw-primary);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* 보드 설정 드로워 */
|
|
137
|
+
.bw-scrim {
|
|
138
|
+
position: absolute;
|
|
139
|
+
inset: 0;
|
|
140
|
+
background: rgba(25, 31, 40, 0.45);
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transition: opacity 225ms cubic-bezier(0, 0, 0.2, 1);
|
|
143
|
+
}
|
|
144
|
+
@media (prefers-reduced-motion: reduce) {
|
|
145
|
+
.bw-scrim,
|
|
146
|
+
.bw-panel {
|
|
147
|
+
transition: none;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
.bw-lab {
|
|
151
|
+
display: block;
|
|
152
|
+
font-size: 13px;
|
|
153
|
+
font-weight: 700;
|
|
154
|
+
color: var(--bw-text2);
|
|
155
|
+
margin-bottom: 8px;
|
|
156
|
+
}
|
|
157
|
+
.bw-help {
|
|
158
|
+
font-size: 12px;
|
|
159
|
+
font-weight: 500;
|
|
160
|
+
color: var(--bw-text3);
|
|
161
|
+
margin: 6px 0 0;
|
|
162
|
+
line-height: 1.5;
|
|
163
|
+
}
|
|
164
|
+
.bw-check {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
gap: 8px;
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
}
|
|
172
|
+
.bw-check input {
|
|
173
|
+
width: 18px;
|
|
174
|
+
height: 18px;
|
|
175
|
+
accent-color: var(--bw-primary);
|
|
176
|
+
}
|
|
177
|
+
.bw-field {
|
|
178
|
+
height: 40px;
|
|
179
|
+
border: 1px solid var(--bw-border);
|
|
180
|
+
border-radius: 8px;
|
|
181
|
+
padding: 0 12px;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
font-weight: 500;
|
|
184
|
+
background: #fff;
|
|
185
|
+
width: 100%;
|
|
186
|
+
max-width: 240px;
|
|
187
|
+
color: var(--bw-text);
|
|
188
|
+
}
|
|
189
|
+
.bw-field:focus {
|
|
190
|
+
outline: 2px solid var(--bw-primary);
|
|
191
|
+
outline-offset: -1px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* 섹션은 가운데에서 양옆으로 늘고, 폭이 모자라면 다음 줄로 (가로 스크롤 없음). '섹션 추가'는 마지막 줄 끝 */
|
|
195
|
+
.bw-board {
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-wrap: wrap;
|
|
198
|
+
justify-content: center;
|
|
199
|
+
align-content: flex-start;
|
|
200
|
+
gap: 24px 16px;
|
|
201
|
+
align-items: flex-start;
|
|
202
|
+
padding: 24px;
|
|
203
|
+
}
|
|
204
|
+
.bw-col {
|
|
205
|
+
width: 296px;
|
|
206
|
+
flex: none;
|
|
207
|
+
position: relative;
|
|
208
|
+
border-radius: 12px;
|
|
209
|
+
}
|
|
210
|
+
/* 머리는 섹션 이름이 길면 줄바꿈해 높이가 는다 (아이콘 · 카드 수는 첫 줄에 맞춤) */
|
|
211
|
+
.bw-col-h {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: flex-start;
|
|
214
|
+
gap: 2px;
|
|
215
|
+
padding: 12px 6px 12px 4px;
|
|
216
|
+
background: #fff;
|
|
217
|
+
border-radius: 12px;
|
|
218
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
|
|
219
|
+
min-height: var(--bw-head-h);
|
|
220
|
+
}
|
|
221
|
+
.bw-icon {
|
|
222
|
+
width: 32px;
|
|
223
|
+
height: 32px;
|
|
224
|
+
border: 0;
|
|
225
|
+
border-radius: 8px;
|
|
226
|
+
background: transparent;
|
|
227
|
+
color: var(--bw-text3);
|
|
228
|
+
display: inline-grid;
|
|
229
|
+
place-items: center;
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
flex: none;
|
|
232
|
+
padding: 0;
|
|
233
|
+
}
|
|
234
|
+
.bw-icon:hover,
|
|
235
|
+
.bw-icon[aria-expanded='true'] {
|
|
236
|
+
background: rgba(0, 0, 0, 0.04);
|
|
237
|
+
color: var(--bw-text);
|
|
238
|
+
}
|
|
239
|
+
.bw-icon:focus-visible,
|
|
240
|
+
.bw-mi:focus-visible,
|
|
241
|
+
.bw-btn:focus-visible,
|
|
242
|
+
.bw-add-sec:focus-visible {
|
|
243
|
+
outline: 2px solid var(--bw-primary);
|
|
244
|
+
outline-offset: 2px;
|
|
245
|
+
}
|
|
246
|
+
.bw-grip {
|
|
247
|
+
width: 20px;
|
|
248
|
+
cursor: grab;
|
|
249
|
+
color: var(--bw-border);
|
|
250
|
+
}
|
|
251
|
+
.bw-col-h:hover .bw-grip,
|
|
252
|
+
.bw-grip:focus-visible {
|
|
253
|
+
color: var(--bw-text3);
|
|
254
|
+
}
|
|
255
|
+
.bw-grip:active {
|
|
256
|
+
cursor: grabbing;
|
|
257
|
+
}
|
|
258
|
+
.bw-col-title {
|
|
259
|
+
flex: 1;
|
|
260
|
+
min-width: 0;
|
|
261
|
+
font: inherit;
|
|
262
|
+
font-size: 16px;
|
|
263
|
+
font-weight: 800;
|
|
264
|
+
line-height: 22px;
|
|
265
|
+
letter-spacing: -0.01em;
|
|
266
|
+
color: var(--bw-text);
|
|
267
|
+
border: 2px solid transparent;
|
|
268
|
+
border-radius: 8px;
|
|
269
|
+
background: transparent;
|
|
270
|
+
height: 32px;
|
|
271
|
+
padding: 3px 6px;
|
|
272
|
+
resize: none;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
overflow-wrap: anywhere;
|
|
275
|
+
display: block;
|
|
276
|
+
}
|
|
277
|
+
.bw-col-title:hover {
|
|
278
|
+
background: var(--bw-gray);
|
|
279
|
+
}
|
|
280
|
+
.bw-col-title:focus {
|
|
281
|
+
outline: none;
|
|
282
|
+
background: #fff;
|
|
283
|
+
border-color: var(--bw-primary);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.bw-add-sec {
|
|
287
|
+
width: 296px;
|
|
288
|
+
flex: none;
|
|
289
|
+
height: var(--bw-head-h);
|
|
290
|
+
border: 1px dashed var(--bw-border-strong);
|
|
291
|
+
border-radius: 12px;
|
|
292
|
+
background: rgba(255, 255, 255, 0.3);
|
|
293
|
+
color: var(--bw-text2);
|
|
294
|
+
font-size: 14px;
|
|
295
|
+
font-weight: 700;
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
justify-content: center;
|
|
299
|
+
gap: 8px;
|
|
300
|
+
cursor: pointer;
|
|
301
|
+
}
|
|
302
|
+
.bw-add-sec:hover:not(:disabled) {
|
|
303
|
+
border-color: var(--bw-primary);
|
|
304
|
+
color: var(--bw-primary);
|
|
305
|
+
background: #fff;
|
|
306
|
+
}
|
|
307
|
+
.bw-add-sec:disabled {
|
|
308
|
+
opacity: 0.5;
|
|
309
|
+
cursor: not-allowed;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.bw-menu {
|
|
313
|
+
position: fixed;
|
|
314
|
+
width: 232px;
|
|
315
|
+
background: #fff;
|
|
316
|
+
border: 1px solid var(--bw-divider);
|
|
317
|
+
border-radius: 8px;
|
|
318
|
+
box-shadow:
|
|
319
|
+
0 8px 10px rgba(0, 0, 0, 0.05),
|
|
320
|
+
0 6px 24px rgba(0, 0, 0, 0.06);
|
|
321
|
+
padding: 4px;
|
|
322
|
+
z-index: 30;
|
|
323
|
+
}
|
|
324
|
+
.bw-mi {
|
|
325
|
+
width: 100%;
|
|
326
|
+
min-height: 36px;
|
|
327
|
+
padding: 6px 10px;
|
|
328
|
+
display: flex;
|
|
329
|
+
gap: 10px;
|
|
330
|
+
align-items: center;
|
|
331
|
+
border: 0;
|
|
332
|
+
border-radius: 4px;
|
|
333
|
+
background: transparent;
|
|
334
|
+
font-size: 13px;
|
|
335
|
+
font-weight: 600;
|
|
336
|
+
color: var(--bw-text);
|
|
337
|
+
text-align: left;
|
|
338
|
+
cursor: pointer;
|
|
339
|
+
}
|
|
340
|
+
.bw-mi svg {
|
|
341
|
+
flex: none;
|
|
342
|
+
color: var(--bw-text3);
|
|
343
|
+
}
|
|
344
|
+
.bw-mi:hover:not(:disabled),
|
|
345
|
+
.bw-mi:focus-visible {
|
|
346
|
+
background: rgba(0, 0, 0, 0.04);
|
|
347
|
+
}
|
|
348
|
+
/* 메뉴 항목은 배경으로 표시 (키트의 굵은 포커스 테두리 대신) */
|
|
349
|
+
.bw-mi:focus-visible {
|
|
350
|
+
outline: none;
|
|
351
|
+
box-shadow: inset 0 0 0 1px var(--bw-divider);
|
|
352
|
+
}
|
|
353
|
+
.bw-mi:disabled {
|
|
354
|
+
opacity: 0.38;
|
|
355
|
+
cursor: not-allowed;
|
|
356
|
+
}
|
|
357
|
+
.bw-mi.is-danger,
|
|
358
|
+
.bw-mi.is-danger svg {
|
|
359
|
+
color: var(--bw-danger);
|
|
360
|
+
}
|
|
361
|
+
.bw-mi > span {
|
|
362
|
+
flex: 1;
|
|
363
|
+
min-width: 0;
|
|
364
|
+
/* 설명(small)이 메뉴 폭 안에서 줄바꿈되게 (button의 nowrap을 풂) */
|
|
365
|
+
white-space: normal;
|
|
366
|
+
overflow-wrap: anywhere;
|
|
367
|
+
}
|
|
368
|
+
.bw-mi small {
|
|
369
|
+
display: block;
|
|
370
|
+
font-weight: 500;
|
|
371
|
+
font-size: 11px;
|
|
372
|
+
color: var(--bw-text3);
|
|
373
|
+
line-height: 1.4;
|
|
374
|
+
margin-top: 1px;
|
|
375
|
+
}
|
|
376
|
+
.bw-sep {
|
|
377
|
+
height: 1px;
|
|
378
|
+
background: var(--bw-divider);
|
|
379
|
+
margin: 4px 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.bw-col.is-dragging {
|
|
383
|
+
opacity: 0.4;
|
|
384
|
+
}
|
|
385
|
+
.bw-col.drop-before::before,
|
|
386
|
+
.bw-col.drop-after::after {
|
|
387
|
+
content: '';
|
|
388
|
+
position: absolute;
|
|
389
|
+
top: 0;
|
|
390
|
+
bottom: 0;
|
|
391
|
+
width: 4px;
|
|
392
|
+
border-radius: 4px;
|
|
393
|
+
background: var(--bw-primary);
|
|
394
|
+
}
|
|
395
|
+
.bw-col.drop-before::before {
|
|
396
|
+
left: -10px;
|
|
397
|
+
}
|
|
398
|
+
.bw-col.drop-after::after {
|
|
399
|
+
right: -10px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.bw-live {
|
|
403
|
+
position: absolute;
|
|
404
|
+
width: 1px;
|
|
405
|
+
height: 1px;
|
|
406
|
+
overflow: hidden;
|
|
407
|
+
clip: rect(0 0 0 0);
|
|
408
|
+
white-space: nowrap;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@media (max-width: 640px) {
|
|
412
|
+
.bw-board {
|
|
413
|
+
flex-direction: column;
|
|
414
|
+
flex-wrap: nowrap;
|
|
415
|
+
justify-content: flex-start;
|
|
416
|
+
align-items: stretch;
|
|
417
|
+
gap: 16px;
|
|
418
|
+
padding: 16px;
|
|
419
|
+
}
|
|
420
|
+
.bw-col,
|
|
421
|
+
.bw-add-sec {
|
|
422
|
+
width: 100%;
|
|
423
|
+
}
|
|
424
|
+
.bw-top {
|
|
425
|
+
padding: 12px 16px;
|
|
426
|
+
margin: 16px 16px 0;
|
|
427
|
+
}
|
|
428
|
+
body.ec-edit-page:has(.bw) .ec-submitbar {
|
|
429
|
+
padding: 8px 16px;
|
|
430
|
+
}
|
|
431
|
+
.bw-btn span {
|
|
432
|
+
display: none;
|
|
433
|
+
}
|
|
434
|
+
.bw-btn {
|
|
435
|
+
padding: 0 10px;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* 카드 추가 */
|
|
440
|
+
.bw-add-card {
|
|
441
|
+
margin-top: 8px;
|
|
442
|
+
width: 100%;
|
|
443
|
+
height: 44px;
|
|
444
|
+
border: 1px dashed var(--bw-border-strong);
|
|
445
|
+
border-radius: 12px;
|
|
446
|
+
background: rgba(255, 255, 255, 0.3);
|
|
447
|
+
color: var(--bw-text2);
|
|
448
|
+
display: flex;
|
|
449
|
+
align-items: center;
|
|
450
|
+
justify-content: center;
|
|
451
|
+
gap: 8px;
|
|
452
|
+
font-size: 14px;
|
|
453
|
+
font-weight: 700;
|
|
454
|
+
cursor: pointer;
|
|
455
|
+
}
|
|
456
|
+
.bw-add-card:hover {
|
|
457
|
+
background: #fff;
|
|
458
|
+
border-color: var(--bw-primary);
|
|
459
|
+
color: var(--bw-primary);
|
|
460
|
+
}
|
|
461
|
+
.bw-add-card:focus-visible {
|
|
462
|
+
outline: 2px solid var(--bw-primary);
|
|
463
|
+
outline-offset: 2px;
|
|
464
|
+
}
|
|
465
|
+
.bw-cards {
|
|
466
|
+
display: flex;
|
|
467
|
+
flex-direction: column;
|
|
468
|
+
gap: 12px;
|
|
469
|
+
margin-top: 12px;
|
|
470
|
+
}
|
|
471
|
+
.bw-card {
|
|
472
|
+
position: relative;
|
|
473
|
+
background: #fff;
|
|
474
|
+
border-radius: 16px;
|
|
475
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
|
|
476
|
+
padding: 16px;
|
|
477
|
+
display: flex;
|
|
478
|
+
flex-direction: column;
|
|
479
|
+
gap: 10px;
|
|
480
|
+
}
|
|
481
|
+
.bw-card-p {
|
|
482
|
+
margin: 0;
|
|
483
|
+
font-size: 13px;
|
|
484
|
+
line-height: 1.5;
|
|
485
|
+
color: var(--bw-text2);
|
|
486
|
+
word-break: break-word;
|
|
487
|
+
}
|
|
488
|
+
.bw-card-link {
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: center;
|
|
491
|
+
gap: 8px;
|
|
492
|
+
padding: 10px 12px;
|
|
493
|
+
border-radius: 12px;
|
|
494
|
+
background: var(--bw-gray);
|
|
495
|
+
color: var(--bw-primary-dark);
|
|
496
|
+
font-size: 13px;
|
|
497
|
+
font-weight: 600;
|
|
498
|
+
text-decoration: none;
|
|
499
|
+
min-width: 0;
|
|
500
|
+
}
|
|
501
|
+
.bw-card-link span {
|
|
502
|
+
overflow: hidden;
|
|
503
|
+
text-overflow: ellipsis;
|
|
504
|
+
white-space: nowrap;
|
|
505
|
+
}
|
|
506
|
+
.bw-card-x {
|
|
507
|
+
position: absolute;
|
|
508
|
+
top: 8px;
|
|
509
|
+
right: 8px;
|
|
510
|
+
width: 28px;
|
|
511
|
+
height: 28px;
|
|
512
|
+
opacity: 0;
|
|
513
|
+
}
|
|
514
|
+
.bw-card:hover .bw-card-x,
|
|
515
|
+
.bw-card-x:focus-visible {
|
|
516
|
+
opacity: 1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.bw-fabwrap {
|
|
520
|
+
position: fixed;
|
|
521
|
+
right: 24px;
|
|
522
|
+
bottom: 76px;
|
|
523
|
+
z-index: 20;
|
|
524
|
+
display: flex;
|
|
525
|
+
align-items: center;
|
|
526
|
+
gap: 12px;
|
|
527
|
+
}
|
|
528
|
+
.bw-fab {
|
|
529
|
+
height: 52px;
|
|
530
|
+
padding: 0 22px 0 18px;
|
|
531
|
+
border-radius: 32px;
|
|
532
|
+
background: var(--bw-primary);
|
|
533
|
+
color: #fff;
|
|
534
|
+
border: 0;
|
|
535
|
+
box-shadow:
|
|
536
|
+
0 8px 10px rgba(0, 0, 0, 0.05),
|
|
537
|
+
0 8px 30px rgba(0, 0, 0, 0.08);
|
|
538
|
+
font-size: 15px;
|
|
539
|
+
font-weight: 700;
|
|
540
|
+
display: inline-flex;
|
|
541
|
+
align-items: center;
|
|
542
|
+
gap: 8px;
|
|
543
|
+
cursor: pointer;
|
|
544
|
+
}
|
|
545
|
+
.bw-fab:hover {
|
|
546
|
+
background: var(--bw-primary-dark);
|
|
547
|
+
}
|
|
548
|
+
.bw-fab:focus-visible {
|
|
549
|
+
outline: 2px solid var(--bw-primary);
|
|
550
|
+
outline-offset: 3px;
|
|
551
|
+
}
|
|
552
|
+
.bw-tip {
|
|
553
|
+
max-width: 300px;
|
|
554
|
+
padding: 10px 14px;
|
|
555
|
+
border-radius: 8px;
|
|
556
|
+
background: #191f28;
|
|
557
|
+
color: #fff;
|
|
558
|
+
font-size: 13px;
|
|
559
|
+
font-weight: 500;
|
|
560
|
+
line-height: 1.5;
|
|
561
|
+
opacity: 0;
|
|
562
|
+
visibility: hidden;
|
|
563
|
+
transition: opacity 150ms;
|
|
564
|
+
pointer-events: none;
|
|
565
|
+
}
|
|
566
|
+
.bw-fabwrap:hover .bw-tip,
|
|
567
|
+
.bw-fabwrap:has(.bw-fab:focus-visible) .bw-tip {
|
|
568
|
+
opacity: 1;
|
|
569
|
+
visibility: visible;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.bw-modal {
|
|
573
|
+
position: fixed;
|
|
574
|
+
inset: 0;
|
|
575
|
+
z-index: 70;
|
|
576
|
+
display: flex;
|
|
577
|
+
align-items: center;
|
|
578
|
+
justify-content: center;
|
|
579
|
+
padding: 16px;
|
|
580
|
+
visibility: hidden;
|
|
581
|
+
transition: visibility 0s linear 150ms;
|
|
582
|
+
}
|
|
583
|
+
.bw-modal.is-open {
|
|
584
|
+
visibility: visible;
|
|
585
|
+
transition-delay: 0s;
|
|
586
|
+
}
|
|
587
|
+
.bw-modal .bw-scrim {
|
|
588
|
+
opacity: 0;
|
|
589
|
+
transition: opacity 150ms;
|
|
590
|
+
}
|
|
591
|
+
.bw-modal.is-open .bw-scrim {
|
|
592
|
+
opacity: 1;
|
|
593
|
+
}
|
|
594
|
+
.bw-dlg {
|
|
595
|
+
position: relative;
|
|
596
|
+
width: 520px;
|
|
597
|
+
max-width: 100%;
|
|
598
|
+
max-height: 100%;
|
|
599
|
+
overflow-y: auto;
|
|
600
|
+
background: #fff;
|
|
601
|
+
border-radius: 24px;
|
|
602
|
+
box-shadow:
|
|
603
|
+
0 8px 10px rgba(0, 0, 0, 0.05),
|
|
604
|
+
0 8px 30px rgba(0, 0, 0, 0.08);
|
|
605
|
+
padding: 24px;
|
|
606
|
+
display: flex;
|
|
607
|
+
flex-direction: column;
|
|
608
|
+
gap: 16px;
|
|
609
|
+
}
|
|
610
|
+
.bw-dlg h2 {
|
|
611
|
+
margin: 0;
|
|
612
|
+
font-size: 20px;
|
|
613
|
+
font-weight: 800;
|
|
614
|
+
letter-spacing: -0.01em;
|
|
615
|
+
}
|
|
616
|
+
.bw-fld {
|
|
617
|
+
display: flex;
|
|
618
|
+
flex-direction: column;
|
|
619
|
+
gap: 6px;
|
|
620
|
+
}
|
|
621
|
+
.bw-fld label {
|
|
622
|
+
font-size: 13px;
|
|
623
|
+
font-weight: 700;
|
|
624
|
+
color: var(--bw-text2);
|
|
625
|
+
}
|
|
626
|
+
.bw-dlg .bw-field {
|
|
627
|
+
max-width: none;
|
|
628
|
+
}
|
|
629
|
+
.bw-ta {
|
|
630
|
+
height: auto;
|
|
631
|
+
min-height: 96px;
|
|
632
|
+
padding: 10px 12px;
|
|
633
|
+
line-height: 1.5;
|
|
634
|
+
resize: vertical;
|
|
635
|
+
}
|
|
636
|
+
/* 카드 제목 칸: 두 줄 높이로 시작, 굵게 (카드의 제목처럼) */
|
|
637
|
+
.bw-ta.bw-ta-title {
|
|
638
|
+
min-height: 0;
|
|
639
|
+
font-weight: 700;
|
|
640
|
+
}
|
|
641
|
+
.bw-err {
|
|
642
|
+
margin: 0;
|
|
643
|
+
font-size: 12px;
|
|
644
|
+
font-weight: 600;
|
|
645
|
+
color: var(--bw-danger);
|
|
646
|
+
}
|
|
647
|
+
.bw-err[hidden] {
|
|
648
|
+
display: none;
|
|
649
|
+
}
|
|
650
|
+
.bw-acts {
|
|
651
|
+
display: flex;
|
|
652
|
+
justify-content: flex-end;
|
|
653
|
+
gap: 8px;
|
|
654
|
+
}
|
|
655
|
+
.bw-btn.bw-primary {
|
|
656
|
+
background: var(--bw-primary);
|
|
657
|
+
border-color: var(--bw-primary);
|
|
658
|
+
color: #fff;
|
|
659
|
+
}
|
|
660
|
+
.bw-btn.bw-primary:hover {
|
|
661
|
+
background: var(--bw-primary-dark);
|
|
662
|
+
}
|
|
663
|
+
@media (prefers-reduced-motion: reduce) {
|
|
664
|
+
.bw-tip,
|
|
665
|
+
.bw-modal .bw-scrim {
|
|
666
|
+
transition: none;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
@media (max-width: 640px) {
|
|
670
|
+
.bw-tip {
|
|
671
|
+
display: none;
|
|
672
|
+
}
|
|
673
|
+
.bw-fabwrap {
|
|
674
|
+
right: 16px;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/* 색상 */
|
|
679
|
+
.bw-sw {
|
|
680
|
+
display: flex;
|
|
681
|
+
align-items: center;
|
|
682
|
+
gap: 8px;
|
|
683
|
+
flex-wrap: wrap;
|
|
684
|
+
padding: 4px 3px;
|
|
685
|
+
}
|
|
686
|
+
.bw-swatch {
|
|
687
|
+
flex: none;
|
|
688
|
+
box-sizing: border-box;
|
|
689
|
+
width: 32px;
|
|
690
|
+
height: 32px;
|
|
691
|
+
aspect-ratio: 1;
|
|
692
|
+
border-radius: 50%;
|
|
693
|
+
border: 1px solid rgba(25, 31, 40, 0.16);
|
|
694
|
+
padding: 0;
|
|
695
|
+
cursor: pointer;
|
|
696
|
+
}
|
|
697
|
+
.bw-swatch[aria-checked='true'] {
|
|
698
|
+
outline: 2px solid var(--bw-primary);
|
|
699
|
+
outline-offset: 2px;
|
|
700
|
+
}
|
|
701
|
+
.bw-swatch:focus-visible {
|
|
702
|
+
outline: 2px solid var(--bw-primary);
|
|
703
|
+
outline-offset: 2px;
|
|
704
|
+
}
|
|
705
|
+
.bw-ta {
|
|
706
|
+
transition: background-color 150ms;
|
|
707
|
+
}
|
|
708
|
+
.bw-card-link {
|
|
709
|
+
background: rgba(255, 255, 255, 0.7);
|
|
710
|
+
}
|
|
711
|
+
@media (prefers-reduced-motion: reduce) {
|
|
712
|
+
.bw-ta {
|
|
713
|
+
transition: none;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/* 카드 본문: 목록 */
|
|
718
|
+
.bw-card-p p {
|
|
719
|
+
margin: 0 0 6px;
|
|
720
|
+
}
|
|
721
|
+
.bw-card-p ul,
|
|
722
|
+
.bw-card-p ol {
|
|
723
|
+
margin: 0 0 6px;
|
|
724
|
+
padding-left: 20px;
|
|
725
|
+
}
|
|
726
|
+
.bw-card-p li {
|
|
727
|
+
margin: 2px 0;
|
|
728
|
+
}
|
|
729
|
+
.bw-card-p > :last-child {
|
|
730
|
+
margin-bottom: 0;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* 작성 창의 섹션 선택: 라벨과 한 줄로, 낮고 좁게 */
|
|
734
|
+
.bw-fld-inline {
|
|
735
|
+
flex-direction: row;
|
|
736
|
+
align-items: center;
|
|
737
|
+
gap: 12px;
|
|
738
|
+
}
|
|
739
|
+
.bw-fld-inline label {
|
|
740
|
+
flex: none;
|
|
741
|
+
}
|
|
742
|
+
.bw-dlg .bw-fld-inline .bw-field {
|
|
743
|
+
width: auto;
|
|
744
|
+
min-width: 140px;
|
|
745
|
+
max-width: 220px;
|
|
746
|
+
height: 32px;
|
|
747
|
+
padding: 0 8px;
|
|
748
|
+
font-size: 13px;
|
|
749
|
+
font-weight: 600;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/* 하트 반응 */
|
|
753
|
+
.bw-card-react {
|
|
754
|
+
border-top: 1px solid rgba(25, 31, 40, 0.12);
|
|
755
|
+
padding-top: 8px;
|
|
756
|
+
display: flex;
|
|
757
|
+
}
|
|
758
|
+
.bw-heart {
|
|
759
|
+
display: inline-flex;
|
|
760
|
+
align-items: center;
|
|
761
|
+
gap: 6px;
|
|
762
|
+
height: 32px;
|
|
763
|
+
padding: 0 8px 0 6px;
|
|
764
|
+
margin-left: -6px;
|
|
765
|
+
border: 0;
|
|
766
|
+
border-radius: 16px;
|
|
767
|
+
background: transparent;
|
|
768
|
+
color: var(--bw-text3);
|
|
769
|
+
font-size: 13px;
|
|
770
|
+
font-weight: 700;
|
|
771
|
+
cursor: pointer;
|
|
772
|
+
}
|
|
773
|
+
.bw-heart:hover {
|
|
774
|
+
background: rgba(0, 0, 0, 0.05);
|
|
775
|
+
color: var(--bw-text2);
|
|
776
|
+
}
|
|
777
|
+
.bw-heart:focus-visible {
|
|
778
|
+
outline: 2px solid var(--bw-primary);
|
|
779
|
+
outline-offset: 2px;
|
|
780
|
+
}
|
|
781
|
+
.bw-heart.is-on {
|
|
782
|
+
color: #e91e63;
|
|
783
|
+
}
|
|
784
|
+
.bw-heart.is-on svg {
|
|
785
|
+
fill: currentColor;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* 셀렉터: 화살표를 직접 그려 드롭다운이라는 것이 보이게 한다 */
|
|
789
|
+
.bw select.bw-field {
|
|
790
|
+
-webkit-appearance: none;
|
|
791
|
+
appearance: none;
|
|
792
|
+
padding-right: 30px;
|
|
793
|
+
background-color: #fff;
|
|
794
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366717e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
|
|
795
|
+
background-repeat: no-repeat;
|
|
796
|
+
background-position: right 8px center;
|
|
797
|
+
background-size: 16px;
|
|
798
|
+
cursor: pointer;
|
|
799
|
+
}
|
|
800
|
+
.bw select.bw-field:hover {
|
|
801
|
+
border-color: var(--bw-border-strong);
|
|
802
|
+
}
|
|
803
|
+
.bw-dlg .bw-fld-inline .bw-field {
|
|
804
|
+
min-width: 160px;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/* 카드 맨 위 제목: 굵게, 본문(13px)보다 조금 크게. 학생이 쓴 줄바꿈을 그대로 보임 */
|
|
808
|
+
.bw-card-title {
|
|
809
|
+
margin: 0;
|
|
810
|
+
font-size: 15px;
|
|
811
|
+
font-weight: 800;
|
|
812
|
+
line-height: 1.4;
|
|
813
|
+
letter-spacing: -0.01em;
|
|
814
|
+
color: var(--bw-text);
|
|
815
|
+
white-space: pre-line;
|
|
816
|
+
word-break: break-word;
|
|
817
|
+
}
|
|
818
|
+
/* 지우기 · 메뉴 버튼(오른쪽 위)과 맨 위 줄이 겹치지 않게 */
|
|
819
|
+
.bw-card-x + .bw-card-title,
|
|
820
|
+
.bw-card-x + .bw-badges,
|
|
821
|
+
.bw-card-x + .bw-card-p {
|
|
822
|
+
padding-right: 28px;
|
|
823
|
+
}
|
|
824
|
+
.bw-card-x + .bw-card-link {
|
|
825
|
+
margin-right: 28px;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/* 하트 줄이 있는 카드는 아래 여백을 줄인다 (16px -> 6px) */
|
|
829
|
+
.bw-card:has(.bw-card-react) {
|
|
830
|
+
padding-bottom: 6px;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/* 작성 창 섹션 셀렉터: 남는 너비를 모두 채우고, 긴 섹션 이름은 말줄임 */
|
|
834
|
+
.bw-dlg .bw-fld-inline .bw-field {
|
|
835
|
+
flex: 1;
|
|
836
|
+
width: 100%;
|
|
837
|
+
min-width: 0;
|
|
838
|
+
max-width: none;
|
|
839
|
+
text-overflow: ellipsis;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/* EDS Menu 모양 드롭다운 (패널: 1px 테두리, 그림자 3단계, 8px 모서리, 안쪽 여백 8px, 행 40px) */
|
|
843
|
+
.bw-dd {
|
|
844
|
+
position: relative;
|
|
845
|
+
flex: 1;
|
|
846
|
+
min-width: 0;
|
|
847
|
+
}
|
|
848
|
+
.bw-dd-btn {
|
|
849
|
+
display: flex;
|
|
850
|
+
align-items: center;
|
|
851
|
+
justify-content: space-between;
|
|
852
|
+
gap: 8px;
|
|
853
|
+
width: 100%;
|
|
854
|
+
height: 40px;
|
|
855
|
+
padding: 0 10px 0 12px;
|
|
856
|
+
border: 1px solid var(--bw-border);
|
|
857
|
+
border-radius: 8px;
|
|
858
|
+
background: #fff;
|
|
859
|
+
color: var(--bw-text);
|
|
860
|
+
font-size: 14px;
|
|
861
|
+
font-weight: 500;
|
|
862
|
+
line-height: 1.4;
|
|
863
|
+
text-align: left;
|
|
864
|
+
cursor: pointer;
|
|
865
|
+
}
|
|
866
|
+
.bw-dd-btn:hover {
|
|
867
|
+
border-color: var(--bw-border-strong);
|
|
868
|
+
}
|
|
869
|
+
.bw-dd-btn:focus-visible {
|
|
870
|
+
outline: 2px solid var(--bw-primary);
|
|
871
|
+
outline-offset: -1px;
|
|
872
|
+
}
|
|
873
|
+
.bw-dd-btn[aria-expanded='true'] {
|
|
874
|
+
border-color: var(--bw-primary);
|
|
875
|
+
}
|
|
876
|
+
.bw-dd-t {
|
|
877
|
+
flex: 1;
|
|
878
|
+
min-width: 0;
|
|
879
|
+
overflow: hidden;
|
|
880
|
+
text-overflow: ellipsis;
|
|
881
|
+
white-space: nowrap;
|
|
882
|
+
}
|
|
883
|
+
.bw-dd-btn svg {
|
|
884
|
+
flex: none;
|
|
885
|
+
color: var(--bw-text3);
|
|
886
|
+
transition: transform 150ms;
|
|
887
|
+
}
|
|
888
|
+
.bw-dd-btn[aria-expanded='true'] svg {
|
|
889
|
+
transform: rotate(180deg);
|
|
890
|
+
}
|
|
891
|
+
.bw-fld-inline .bw-dd-btn {
|
|
892
|
+
height: 32px;
|
|
893
|
+
padding: 0 8px 0 10px;
|
|
894
|
+
font-size: 13px;
|
|
895
|
+
font-weight: 600;
|
|
896
|
+
}
|
|
897
|
+
.bw-dd-list {
|
|
898
|
+
position: fixed;
|
|
899
|
+
z-index: 80;
|
|
900
|
+
max-height: 256px;
|
|
901
|
+
overflow-y: auto;
|
|
902
|
+
padding: 8px;
|
|
903
|
+
background: #fff;
|
|
904
|
+
border: 1px solid var(--bw-divider);
|
|
905
|
+
border-radius: 8px;
|
|
906
|
+
box-shadow:
|
|
907
|
+
0 8px 10px rgba(0, 0, 0, 0.05),
|
|
908
|
+
0 6px 24px rgba(0, 0, 0, 0.06);
|
|
909
|
+
}
|
|
910
|
+
.bw-dd-list[hidden] {
|
|
911
|
+
display: none;
|
|
912
|
+
}
|
|
913
|
+
.bw-dd-opt {
|
|
914
|
+
display: flex;
|
|
915
|
+
align-items: center;
|
|
916
|
+
gap: 8px;
|
|
917
|
+
min-height: 40px;
|
|
918
|
+
padding: 0 12px;
|
|
919
|
+
border-radius: 4px;
|
|
920
|
+
font-size: 14px;
|
|
921
|
+
font-weight: 500;
|
|
922
|
+
color: var(--bw-text);
|
|
923
|
+
cursor: pointer;
|
|
924
|
+
transition: background-color 300ms;
|
|
925
|
+
}
|
|
926
|
+
.bw-dd-opt span {
|
|
927
|
+
flex: 1;
|
|
928
|
+
min-width: 0;
|
|
929
|
+
overflow: hidden;
|
|
930
|
+
text-overflow: ellipsis;
|
|
931
|
+
white-space: nowrap;
|
|
932
|
+
}
|
|
933
|
+
.bw-dd-opt svg {
|
|
934
|
+
flex: none;
|
|
935
|
+
color: var(--bw-primary);
|
|
936
|
+
}
|
|
937
|
+
.bw-dd-opt.is-active {
|
|
938
|
+
background: rgba(0, 0, 0, 0.04);
|
|
939
|
+
}
|
|
940
|
+
.bw-dd-opt[aria-selected='true'] {
|
|
941
|
+
background: var(--bw-selected);
|
|
942
|
+
}
|
|
943
|
+
.bw-dd-opt[aria-selected='true'].is-active {
|
|
944
|
+
background: rgba(133, 103, 254, 0.16);
|
|
945
|
+
}
|
|
946
|
+
@media (prefers-reduced-motion: reduce) {
|
|
947
|
+
.bw-dd-btn svg,
|
|
948
|
+
.bw-dd-opt {
|
|
949
|
+
transition: none;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/* 보드 설정 묶음: 제목과 설명이 있는 그룹, 그룹 사이는 구분선 */
|
|
954
|
+
.bw-grp {
|
|
955
|
+
display: flex;
|
|
956
|
+
flex-direction: column;
|
|
957
|
+
gap: 20px;
|
|
958
|
+
}
|
|
959
|
+
.bw-grp + .bw-grp {
|
|
960
|
+
margin-top: 24px;
|
|
961
|
+
padding-top: 24px;
|
|
962
|
+
border-top: 1px solid var(--bw-divider);
|
|
963
|
+
}
|
|
964
|
+
.bw-grp-h {
|
|
965
|
+
display: flex;
|
|
966
|
+
flex-direction: column;
|
|
967
|
+
gap: 2px;
|
|
968
|
+
}
|
|
969
|
+
.bw-grp-t {
|
|
970
|
+
margin: 0;
|
|
971
|
+
font-size: 16px;
|
|
972
|
+
font-weight: 800;
|
|
973
|
+
letter-spacing: -0.01em;
|
|
974
|
+
color: var(--bw-text);
|
|
975
|
+
}
|
|
976
|
+
.bw-grp-d {
|
|
977
|
+
margin: 0;
|
|
978
|
+
font-size: 13px;
|
|
979
|
+
font-weight: 500;
|
|
980
|
+
color: var(--bw-text3);
|
|
981
|
+
line-height: 1.5;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/* 보드 | 설정 탭과 설정 화면 */
|
|
985
|
+
.bw-tabs {
|
|
986
|
+
display: inline-flex;
|
|
987
|
+
flex: none;
|
|
988
|
+
padding: 3px;
|
|
989
|
+
border-radius: 10px;
|
|
990
|
+
background: rgba(102, 113, 126, 0.1);
|
|
991
|
+
}
|
|
992
|
+
.bw-tab {
|
|
993
|
+
height: 32px;
|
|
994
|
+
padding: 0 16px;
|
|
995
|
+
border: 0;
|
|
996
|
+
border-radius: 8px;
|
|
997
|
+
background: transparent;
|
|
998
|
+
color: var(--bw-text3);
|
|
999
|
+
font-size: 14px;
|
|
1000
|
+
font-weight: 600;
|
|
1001
|
+
cursor: pointer;
|
|
1002
|
+
}
|
|
1003
|
+
.bw-tab:hover {
|
|
1004
|
+
color: var(--bw-text);
|
|
1005
|
+
}
|
|
1006
|
+
.bw-tab[aria-selected='true'] {
|
|
1007
|
+
background: #fff;
|
|
1008
|
+
color: var(--bw-text);
|
|
1009
|
+
font-weight: 800;
|
|
1010
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
|
|
1011
|
+
}
|
|
1012
|
+
.bw-tab:focus-visible {
|
|
1013
|
+
outline: 2px solid var(--bw-primary);
|
|
1014
|
+
outline-offset: 2px;
|
|
1015
|
+
}
|
|
1016
|
+
.bw-board[hidden],
|
|
1017
|
+
.bw-set-view[hidden],
|
|
1018
|
+
.bw-fabwrap[hidden] {
|
|
1019
|
+
display: none;
|
|
1020
|
+
}
|
|
1021
|
+
.bw-set-view {
|
|
1022
|
+
padding: 24px;
|
|
1023
|
+
}
|
|
1024
|
+
.bw-set-card {
|
|
1025
|
+
max-width: 640px;
|
|
1026
|
+
margin: 0 auto;
|
|
1027
|
+
padding: 28px;
|
|
1028
|
+
background: rgba(255, 255, 255, 0.85);
|
|
1029
|
+
border-radius: 16px;
|
|
1030
|
+
}
|
|
1031
|
+
.bw-set-card .bw-dd {
|
|
1032
|
+
max-width: 240px;
|
|
1033
|
+
}
|
|
1034
|
+
@media (max-width: 640px) {
|
|
1035
|
+
.bw-set-view {
|
|
1036
|
+
padding: 16px;
|
|
1037
|
+
}
|
|
1038
|
+
.bw-set-card {
|
|
1039
|
+
padding: 20px;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/* 카드 색 (core/model.js COLORS, 흰색이 기본). 카드 · 색 고르기 · 내용 칸이 같이 씀 */
|
|
1044
|
+
.bw [data-color='white'] {
|
|
1045
|
+
--bw-card-bg: #ffffff;
|
|
1046
|
+
}
|
|
1047
|
+
.bw [data-color='yellow'] {
|
|
1048
|
+
--bw-card-bg: #fef9d3;
|
|
1049
|
+
}
|
|
1050
|
+
.bw [data-color='pink'] {
|
|
1051
|
+
--bw-card-bg: #fde8ee;
|
|
1052
|
+
}
|
|
1053
|
+
.bw [data-color='green'] {
|
|
1054
|
+
--bw-card-bg: #e4faec;
|
|
1055
|
+
}
|
|
1056
|
+
.bw [data-color='blue'] {
|
|
1057
|
+
--bw-card-bg: #e7f1ff;
|
|
1058
|
+
}
|
|
1059
|
+
.bw [data-color='purple'] {
|
|
1060
|
+
--bw-card-bg: #f1ebff;
|
|
1061
|
+
}
|
|
1062
|
+
.bw [data-color='peach'] {
|
|
1063
|
+
--bw-card-bg: #feeee2;
|
|
1064
|
+
}
|
|
1065
|
+
.bw-card[data-color],
|
|
1066
|
+
.bw-swatch[data-color],
|
|
1067
|
+
.bw-ta[data-color] {
|
|
1068
|
+
background: var(--bw-card-bg, #fff);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/* 내 카드 지우기: 한 번 누르면 "삭제"로 바뀌고 다시 누르면 지움 */
|
|
1072
|
+
.bw-card-x.is-confirm {
|
|
1073
|
+
opacity: 1;
|
|
1074
|
+
width: auto;
|
|
1075
|
+
padding: 0 10px;
|
|
1076
|
+
background: var(--bw-danger);
|
|
1077
|
+
color: #fff;
|
|
1078
|
+
font-size: 12px;
|
|
1079
|
+
font-weight: 700;
|
|
1080
|
+
}
|
|
1081
|
+
@media (hover: none) {
|
|
1082
|
+
.bw-card-x {
|
|
1083
|
+
opacity: 1;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/* 카드 표시: 고정 · 승인 대기 · 숨김 */
|
|
1088
|
+
.bw-badges {
|
|
1089
|
+
display: flex;
|
|
1090
|
+
flex-wrap: wrap;
|
|
1091
|
+
gap: 6px;
|
|
1092
|
+
}
|
|
1093
|
+
.bw-badge {
|
|
1094
|
+
display: inline-flex;
|
|
1095
|
+
align-items: center;
|
|
1096
|
+
gap: 4px;
|
|
1097
|
+
padding: 2px 8px;
|
|
1098
|
+
border-radius: 6px;
|
|
1099
|
+
font-size: 11px;
|
|
1100
|
+
font-weight: 700;
|
|
1101
|
+
line-height: 18px;
|
|
1102
|
+
background: var(--bw-gray);
|
|
1103
|
+
color: var(--bw-text3);
|
|
1104
|
+
}
|
|
1105
|
+
.bw-badge.is-pending {
|
|
1106
|
+
background: rgba(239, 108, 0, 0.12);
|
|
1107
|
+
color: #bf360c;
|
|
1108
|
+
}
|
|
1109
|
+
.bw-badge.is-pin {
|
|
1110
|
+
background: var(--bw-selected);
|
|
1111
|
+
color: var(--bw-primary-dark);
|
|
1112
|
+
}
|
|
1113
|
+
.bw-card.is-pinned {
|
|
1114
|
+
box-shadow:
|
|
1115
|
+
0 0 0 2px var(--bw-primary),
|
|
1116
|
+
0 1px 3px rgba(0, 0, 0, 0.12);
|
|
1117
|
+
}
|
|
1118
|
+
.bw-card.is-hidden > :not(.bw-card-x):not(.bw-badges) {
|
|
1119
|
+
opacity: 0.45;
|
|
1120
|
+
}
|
|
1121
|
+
/* 교육자 카드 메뉴 버튼은 늘 보임 (지우기 버튼처럼 숨기지 않음) */
|
|
1122
|
+
.bw-card-x.bw-card-menu {
|
|
1123
|
+
opacity: 1;
|
|
1124
|
+
}
|