@ihabdevteam/core 0.376.0 → 0.379.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/CHANGELOG.md +222 -0
- package/dist/components.cjs.js +181 -181
- package/dist/components.esm.css +5 -5
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +193 -193
- package/dist/ihabdevteam-core.d.ts +19 -8
- package/dist/packages/core/src/components/Badge.css +0 -76
- package/dist/packages/core/src/components/Badge.d.ts +1 -0
- package/dist/packages/core/src/components/Badge.js +4 -0
- package/dist/packages/core/src/components/BarChart.css +29 -29
- package/dist/packages/core/src/components/BarChart.js +20 -19
- package/dist/packages/core/src/components/BottomNav.js +3 -2
- package/dist/packages/core/src/components/ChartSection.css +70 -45
- package/dist/packages/core/src/components/ChartSection.d.ts +3 -3
- package/dist/packages/core/src/components/ChartSection.js +8 -7
- package/dist/packages/core/src/components/CircleBadge.css +87 -0
- package/dist/packages/core/src/components/CircleBadge.d.ts +1 -0
- package/dist/packages/core/src/components/CircleBadge.js +1 -0
- package/dist/packages/core/src/components/CountTile.js +1 -1
- package/dist/packages/core/src/components/Header.js +3 -2
- package/dist/packages/core/src/components/RingChart.js +6 -5
- package/dist/packages/core/src/components/Section.css +1 -1
- package/dist/packages/core/src/components/SectionHeadFloat.d.ts +1 -1
- package/dist/packages/core/src/components/SectionHeadFloat.js +1 -1
- package/dist/packages/core/src/components/StatChart.css +17 -17
- package/dist/packages/core/src/components/StatChart.d.ts +1 -1
- package/dist/packages/core/src/components/StatChart.js +3 -2
- package/dist/packages/core/src/components/Toolbar.css +1 -1
- package/dist/packages/core/src/components/Tooltip/DescriptionTooltip.css +9 -9
- package/dist/packages/core/src/components/Tooltip/DescriptionTooltip.js +3 -2
- package/dist/packages/core/src/components/Tooltip/InfoTooltip.css +6 -6
- package/dist/packages/core/src/components/Tooltip/InfoTooltip.js +2 -1
- package/dist/packages/core/src/components/Tooltip/MenuTooltip.css +15 -15
- package/dist/packages/core/src/components/Tooltip/MenuTooltip.js +2 -1
- package/dist/packages/core/src/components/Tooltip/TextBoxTooltip.css +15 -15
- package/dist/packages/core/src/components/Tooltip/TextBoxTooltip.js +4 -3
- package/dist/packages/core/src/components/Tooltip/Tooltip.css +21 -21
- package/dist/packages/core/src/components/Tooltip/Tooltip.js +4 -3
- package/dist/packages/core/src/components/Tooltip/TrainingTooltip.css +20 -5
- package/dist/packages/core/src/components/Tooltip/TrainingTooltip.d.ts +1 -1
- package/dist/packages/core/src/components/Tooltip/TrainingTooltip.js +5 -4
- package/dist/packages/core/src/components/Tooltip/WordImageTooltip.css +7 -7
- package/dist/packages/core/src/components/Tooltip/WordImageTooltip.js +5 -4
- package/dist/packages/core/src/components/Training/NoiseSettingsTooltip.css +15 -15
- package/dist/packages/core/src/components/Training/NoiseSettingsTooltip.js +3 -2
- package/dist/packages/core/src/components/Training/TrainingPagePopupBottom.js +1 -1
- package/dist/packages/core/src/components/Training/TrainingStepTextBox.css +1 -1
- package/dist/packages/core/src/components/Training/TrainingStepTitle.js +2 -2
- package/dist/packages/core/src/components/Training/useFloatingFocus.d.ts +1 -1
- package/dist/packages/core/src/components/Training/useFloatingFocus.js +2 -2
- package/dist/packages/core/src/components/Word/WordSearchResultBlock.css +0 -7
- package/dist/packages/core/src/components/Word/WordSearchResultBlock.js +1 -1
- package/dist/packages/core/src/components/Word/wordTablePrint.js +4 -4
- package/dist/packages/core/src/components/WordTable.css +112 -85
- package/dist/packages/core/src/components/WordTable.js +59 -37
- package/dist/packages/core/src/components/barChartTypes.d.ts +1 -1
- package/dist/packages/core/src/components/wordTableLayout.js +2 -2
- package/dist/packages/core/src/hooks/touchToggle.d.ts +1 -1
- package/dist/packages/core/src/hooks/touchToggle.js +2 -2
- package/dist/packages/core/src/types/wordSearch.d.ts +11 -0
- package/dist/packages/core/src/utils/legacyBlocks.d.ts +53 -0
- package/dist/packages/core/src/utils/legacyBlocks.js +131 -0
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* ── 콘텐츠(절취선) 영역 ──────────────────────────────── */
|
|
23
|
-
.word-
|
|
23
|
+
.word-table__content {
|
|
24
24
|
position: relative;
|
|
25
25
|
display: grid;
|
|
26
26
|
width: 100%;
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
|
|
44
44
|
그래서 **번호가 있을 때만** 격자가 아래를 그만큼 비운다. 칸은 그만큼 낮아지는데, 그게
|
|
45
45
|
번호가 설 자리다. 번호가 없는 표는 한 픽셀도 안 바뀐다. */
|
|
46
|
-
.word-
|
|
46
|
+
.word-table__content--page-number {
|
|
47
47
|
padding-bottom: 28px;
|
|
48
48
|
}
|
|
49
49
|
/* 절취선 바탕은 **칸이 있는 데까지만** 칠한다 — 안 그러면 비워 둔 띠가 선 색으로 꽉 찬다
|
|
50
50
|
(`--cut-show` 는 격자 바탕을 선 색으로 깔고 칸이 그 위를 덮는 꼴이다). 칸 사이 틈은
|
|
51
51
|
content-box 안이라 그대로 남는다. */
|
|
52
|
-
.word-
|
|
52
|
+
.word-table__content--page-number.word-table__content--cut-show {
|
|
53
53
|
background-clip: content-box;
|
|
54
54
|
}
|
|
55
55
|
/* 외곽선도 칸이 있는 데까지 — 비워 둔 띠까지 두르면 번호가 표 안에 든 것처럼 보인다 */
|
|
56
|
-
.word-
|
|
56
|
+
.word-table__content--page-number.word-table__content--outline::after {
|
|
57
57
|
bottom: 28px;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -91,22 +91,22 @@
|
|
|
91
91
|
**비우는 여백과 테두리 자리는 띠 높이에서 스스로 나온다.** 따로 박아 두었더니 띠만
|
|
92
92
|
키웠을 때 띠가 표를 파고들고(위 −4px · 아래 −6px), 테두리가 칸 없는 빈 자리에 그려졌다.
|
|
93
93
|
한 값에서 나오게 두면 그 둘이 다시 안 어긋난다. */
|
|
94
|
-
.word-
|
|
94
|
+
.word-table__content--brand-top {
|
|
95
95
|
padding-top: calc(var(--wt-band-top-height, 36px) + 4px);
|
|
96
96
|
}
|
|
97
|
-
.word-
|
|
97
|
+
.word-table__content--brand-bottom {
|
|
98
98
|
padding-bottom: calc(var(--wt-band-bottom-height, 28px) + 4px);
|
|
99
99
|
}
|
|
100
100
|
/* 절취선 바탕·외곽선은 칸이 있는 데까지만 — 띠까지 두르면 로고가 표 안에 든 것처럼 보인다 */
|
|
101
|
-
.word-
|
|
102
|
-
.word-
|
|
101
|
+
.word-table__content--brand-top.word-table__content--cut-show,
|
|
102
|
+
.word-table__content--brand-bottom.word-table__content--cut-show {
|
|
103
103
|
background-clip: content-box;
|
|
104
104
|
}
|
|
105
105
|
/* 위 여백과 **같은 셈**이다 — 따로 적지 않는다(그래서 어긋날 수가 없다) */
|
|
106
|
-
.word-
|
|
106
|
+
.word-table__content--brand-top.word-table__content--outline::after {
|
|
107
107
|
top: calc(var(--wt-band-top-height, 36px) + 4px);
|
|
108
108
|
}
|
|
109
|
-
.word-
|
|
109
|
+
.word-table__content--brand-bottom.word-table__content--outline::after {
|
|
110
110
|
bottom: calc(var(--wt-band-bottom-height, 28px) + 4px);
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
.word-table__page-number--center { left: 50%; transform: translateX(-50%); }
|
|
286
286
|
|
|
287
287
|
/* 절취선: 표시 (solid, 내부 선만) */
|
|
288
|
-
.word-
|
|
288
|
+
.word-table__content--cut-show {
|
|
289
289
|
gap: 1px;
|
|
290
290
|
background: var(--color-whiteLine);
|
|
291
291
|
print-color-adjust: exact;
|
|
@@ -293,10 +293,10 @@
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
/* 외곽선 */
|
|
296
|
-
.word-
|
|
296
|
+
.word-table__content--outline {
|
|
297
297
|
position: relative;
|
|
298
298
|
}
|
|
299
|
-
.word-
|
|
299
|
+
.word-table__content--outline::after {
|
|
300
300
|
content: '';
|
|
301
301
|
position: absolute;
|
|
302
302
|
inset: 0;
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
/* 절취선: 코너 */
|
|
309
|
-
.word-
|
|
309
|
+
.word-table__content--cut-corner .word-table__card {
|
|
310
310
|
print-color-adjust: exact;
|
|
311
311
|
-webkit-print-color-adjust: exact;
|
|
312
312
|
background:
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
/* ── 카드 ───────────────────────────────────────────────── */
|
|
325
|
-
.word-
|
|
325
|
+
.word-table__card {
|
|
326
326
|
display: flex;
|
|
327
327
|
/* 칸(.word-table-cell)은 투명이고 **이 카드가 면을 쥔다** — 그래서 `--cut-show` 의 선 바탕 위에
|
|
328
328
|
카드가 덮이고 `gap: 1px` 틈으로 선만 남는다. 면은 순백, 선은 선대로. */
|
|
@@ -333,25 +333,25 @@
|
|
|
333
333
|
transition: box-shadow 0.15s;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
.word-
|
|
336
|
+
.word-table__card--filler {
|
|
337
337
|
align-items: center;
|
|
338
338
|
justify-content: center;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
.word-
|
|
341
|
+
.word-table__card:not(.word-table__card--filler):hover {
|
|
342
342
|
box-shadow: var(--shadow-dropdown);
|
|
343
343
|
z-index: 1;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
.word-
|
|
346
|
+
.word-table__card--draggable {
|
|
347
347
|
cursor: grab;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
.word-
|
|
350
|
+
.word-table__card--draggable:active {
|
|
351
351
|
cursor: grabbing;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
.word-
|
|
354
|
+
.word-table__card--drag-over {
|
|
355
355
|
outline: 2px solid var(--color-main);
|
|
356
356
|
outline-offset: -2px;
|
|
357
357
|
z-index: 2;
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
touch-action: none 은 **끌기가 익은 뒤에만** 걸린다 — 늘 걸어 두면 표 위에서 화면이
|
|
362
362
|
스크롤되지 않는다. 그래서 이 클래스에만 둔다(막는 몫의 대부분은 WordTable.tsx 가
|
|
363
363
|
passive:false 로 단 touchmove 가 하고, 이건 뒤늦게 오는 손짓을 막는 보탬이다). */
|
|
364
|
-
.word-
|
|
364
|
+
.word-table__card--dragging {
|
|
365
365
|
touch-action: none;
|
|
366
366
|
opacity: 0.6;
|
|
367
367
|
transform: scale(0.97);
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
/* 옮기기 손잡이 — 빼기 단추와 같은 규칙(평소엔 숨고 hover·초점에 드러난다), 자리만 왼쪽이다 */
|
|
374
|
-
.word-
|
|
374
|
+
.word-table__card-handle {
|
|
375
375
|
position: absolute;
|
|
376
376
|
top: 20px;
|
|
377
377
|
left: 20px;
|
|
@@ -381,14 +381,14 @@
|
|
|
381
381
|
cursor: grab;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
.word-
|
|
385
|
-
.word-
|
|
386
|
-
.word-
|
|
387
|
-
.word-
|
|
384
|
+
.word-table__card:focus-within .word-table__card-handle,
|
|
385
|
+
.word-table__card-handle:focus-within,
|
|
386
|
+
.word-table__card-handle:focus-visible,
|
|
387
|
+
.word-table__card:hover .word-table__card-handle {
|
|
388
388
|
opacity: 1;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
.word-
|
|
391
|
+
.word-table__card-close {
|
|
392
392
|
position: absolute;
|
|
393
393
|
top: 20px;
|
|
394
394
|
right: 20px;
|
|
@@ -397,44 +397,53 @@
|
|
|
397
397
|
transition: opacity 0.15s;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
/* **오른쪽
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
400
|
+
/* **오른쪽 기둥**(말귀 청 (331), 2026-10-28) — 빼기 → 부르는 쪽이 얹은 것
|
|
401
|
+
(`renderCellAction`) → 옮기기 손잡이 차례로 **쌓인다.**
|
|
402
|
+
|
|
403
|
+
전에는 이것이 **한 줄**이었고 손잡이는 왼쪽 위에 따로 서서 **재생 단추와 겹쳤다.**
|
|
404
|
+
사장님이 세로를 세 번 이르셔서 앱이 줄 밖으로 하나씩 꺼내 `top: calc(20+40+40+8)` 처럼
|
|
405
|
+
**숫자로 쌓아** 두었는데, 그 숫자가 단어표에 맞춘 것이라 끼어들 단추가 없는 표에서
|
|
406
|
+
구멍이 났다(활용표: ✕ 밑이 48px 비고 손잡이만 홀로 내려가 있었다).
|
|
407
|
+
|
|
408
|
+
**자리를 수로 못 박지 않는다** — 쌓으면 몇 개가 들든 붙어 선다. 틈은 왼쪽 기둥과 같은
|
|
409
|
+
0 이라, 재생과 빼기가 같은 높이에 선다. */
|
|
410
|
+
.word-table__card-actions {
|
|
405
411
|
position: absolute;
|
|
406
412
|
top: 20px;
|
|
407
413
|
right: 20px;
|
|
408
414
|
z-index: 1;
|
|
409
415
|
display: flex;
|
|
410
|
-
|
|
411
|
-
|
|
416
|
+
flex-direction: column;
|
|
417
|
+
align-items: flex-end;
|
|
418
|
+
gap: 0;
|
|
412
419
|
opacity: 0;
|
|
413
420
|
transition: opacity 0.15s;
|
|
414
421
|
}
|
|
415
|
-
/*
|
|
416
|
-
혼자 서므로 위 규칙이 그대로 산다. */
|
|
417
|
-
.word-
|
|
422
|
+
/* 기둥 안에 들면 제 자리를 안 잡는다 — 기둥이 잡아 준다. 편집 모드(`cells`)의 빼기는
|
|
423
|
+
기둥 없이 혼자 서므로 위 규칙이 그대로 산다. */
|
|
424
|
+
.word-table__card-actions .word-table__card-close,
|
|
425
|
+
.word-table__card-actions .word-table__card-handle {
|
|
418
426
|
position: static;
|
|
419
427
|
top: auto;
|
|
420
428
|
right: auto;
|
|
429
|
+
left: auto;
|
|
421
430
|
opacity: 1;
|
|
422
431
|
}
|
|
423
432
|
|
|
424
433
|
/* 키보드 대응 — opacity:0인 채로 포커스가 가면 사용자는 보이지 않는 버튼을 누르게 된다 */
|
|
425
|
-
.word-
|
|
426
|
-
.word-
|
|
427
|
-
.word-
|
|
428
|
-
.word-
|
|
434
|
+
.word-table__card:focus-within .word-table__card-actions,
|
|
435
|
+
.word-table__card-actions:focus-within,
|
|
436
|
+
.word-table__card:hover .word-table__card-actions,
|
|
437
|
+
.word-table__card:focus-within .word-table__card-close,
|
|
429
438
|
/* 이 요소들은 **버튼을 감싼 div**라 자신은 포커스를 못 받는다 — :focus-visible이 아니라
|
|
430
439
|
:focus-within으로 봐야 안의 버튼이 포커스를 받았을 때 드러난다(실측으로 확인). */
|
|
431
|
-
.word-
|
|
432
|
-
.word-
|
|
433
|
-
.word-
|
|
440
|
+
.word-table__card-close:focus-within,
|
|
441
|
+
.word-table__card-close:focus-visible,
|
|
442
|
+
.word-table__card:hover .word-table__card-close {
|
|
434
443
|
opacity: 1;
|
|
435
444
|
}
|
|
436
445
|
|
|
437
|
-
.word-
|
|
446
|
+
.word-table__pair-divider {
|
|
438
447
|
display: none;
|
|
439
448
|
flex-shrink: 0;
|
|
440
449
|
width: 1px;
|
|
@@ -445,12 +454,12 @@
|
|
|
445
454
|
-webkit-print-color-adjust: exact;
|
|
446
455
|
}
|
|
447
456
|
|
|
448
|
-
.word-
|
|
457
|
+
.word-table__content--div-line .word-table__pair-divider {
|
|
449
458
|
display: block;
|
|
450
459
|
}
|
|
451
460
|
|
|
452
461
|
/* ── 편집 모드 셀 ──────────────────────────────────────── */
|
|
453
|
-
.word-
|
|
462
|
+
.word-table__edit-cell {
|
|
454
463
|
display: flex;
|
|
455
464
|
flex-direction: row;
|
|
456
465
|
align-items: stretch;
|
|
@@ -461,28 +470,28 @@
|
|
|
461
470
|
transition: box-shadow 0.15s;
|
|
462
471
|
}
|
|
463
472
|
|
|
464
|
-
.word-
|
|
473
|
+
.word-table__edit-cell--filled:hover {
|
|
465
474
|
box-shadow: var(--shadow-dropdown);
|
|
466
475
|
z-index: 1;
|
|
467
476
|
}
|
|
468
477
|
|
|
469
|
-
.word-
|
|
470
|
-
.word-
|
|
478
|
+
.word-table__edit-cell--filled:focus-within .word-table__card-close,
|
|
479
|
+
.word-table__edit-cell--filled:hover .word-table__card-close {
|
|
471
480
|
opacity: 1;
|
|
472
481
|
}
|
|
473
482
|
|
|
474
|
-
.word-
|
|
483
|
+
.word-table__edit-cell--empty {
|
|
475
484
|
align-items: center;
|
|
476
485
|
justify-content: center;
|
|
477
486
|
}
|
|
478
487
|
|
|
479
|
-
.word-
|
|
488
|
+
.word-table__edit-cell--active {
|
|
480
489
|
background: rgba(var(--color-main-rgb, 73, 156, 223), 0.04);
|
|
481
490
|
outline: 2px solid var(--color-main);
|
|
482
491
|
outline-offset: -2px;
|
|
483
492
|
}
|
|
484
493
|
|
|
485
|
-
.word-
|
|
494
|
+
.word-table__content--cut-corner .word-table__edit-cell {
|
|
486
495
|
print-color-adjust: exact;
|
|
487
496
|
-webkit-print-color-adjust: exact;
|
|
488
497
|
background:
|
|
@@ -555,61 +564,79 @@
|
|
|
555
564
|
font-weight: var(--wt-cell-sub-weight, var(--text-h3-weight));
|
|
556
565
|
}
|
|
557
566
|
|
|
558
|
-
/*
|
|
559
|
-
|
|
560
|
-
|
|
567
|
+
/* **낱말 위 이름표** — 활용표의 `[양보] -아/어도` 가 서는 자리(청 (328), 2026-10-28).
|
|
568
|
+
배지와 꼬리가 한 줄이다. 가운뎃점은 안 쓴다 — 배지가 이미 경계다.
|
|
569
|
+
낱말 **위**인 까닭은 이것이 *이 칸이 무슨 꼴인가* 를 말하는 **머리말**이어서다. 아래에
|
|
570
|
+
두면 발음과 나란히 서서 둘 다 낱말에 딸린 설명처럼 읽힌다. */
|
|
561
571
|
.word-table-cell__caption {
|
|
562
|
-
|
|
572
|
+
display: flex;
|
|
573
|
+
align-items: center;
|
|
574
|
+
justify-content: center;
|
|
575
|
+
gap: var(--spacing-xs);
|
|
563
576
|
text-align: center;
|
|
564
577
|
white-space: nowrap;
|
|
565
578
|
}
|
|
566
579
|
|
|
580
|
+
/* 꼬리(`captionLabel`) — 사장님이 `--color-lightGray` 를 이르셨다(2026-10-28).
|
|
581
|
+
배지가 무게를 들고 있으니 꼬리는 물러선다. */
|
|
582
|
+
.word-table-cell__caption-tail {
|
|
583
|
+
color: var(--color-lightGray);
|
|
584
|
+
}
|
|
585
|
+
|
|
567
586
|
.word-table-cell__colloquial {
|
|
568
587
|
color: var(--color-lightGray);
|
|
569
588
|
text-align: center;
|
|
570
589
|
white-space: nowrap;
|
|
571
590
|
}
|
|
572
591
|
|
|
573
|
-
|
|
592
|
+
/* **왼쪽 기둥**(말귀 청 (331), 2026-10-28) — 재생 → 정보 차례로 쌓인다.
|
|
593
|
+
전에는 둘이 저마다 `top: 20px` · `top: 60px` 으로 **자리를 수로 못 박아** 섰다. 하나가
|
|
594
|
+
없으면 빈자리가 남고, 끼어들 것이 생기면 수를 다시 세야 한다. 틈은 0 이다 — 단추가
|
|
595
|
+
40px 이라 20·60 이던 옛 자리와 **같은 자리**에 선다. 오른쪽 기둥도 같은 틈이라,
|
|
596
|
+
재생과 빼기 · 정보와 그 아래 것이 서로 같은 높이에 선다(사장님 2026-10-12). */
|
|
597
|
+
.word-table-cell__side {
|
|
574
598
|
position: absolute;
|
|
575
599
|
top: 20px;
|
|
576
600
|
left: 20px;
|
|
577
601
|
z-index: 1;
|
|
602
|
+
display: flex;
|
|
603
|
+
flex-direction: column;
|
|
604
|
+
align-items: flex-start;
|
|
605
|
+
gap: 0;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.word-table-cell__play-button {
|
|
578
609
|
opacity: 0;
|
|
579
610
|
transition: opacity 0.15s;
|
|
580
611
|
}
|
|
581
612
|
|
|
582
|
-
.word-
|
|
583
|
-
.word-
|
|
613
|
+
.word-table__card:hover .word-table-cell__play-button,
|
|
614
|
+
.word-table__edit-cell:focus-within .word-table-cell__play-button,
|
|
584
615
|
.word-table-cell__play-button:focus-within,
|
|
585
616
|
.word-table-cell__play-button:focus-visible,
|
|
586
|
-
.word-
|
|
617
|
+
.word-table__edit-cell:hover .word-table-cell__play-button {
|
|
587
618
|
opacity: 1;
|
|
588
619
|
}
|
|
589
620
|
|
|
590
621
|
.word-table-cell__info-button {
|
|
591
|
-
position: absolute;
|
|
592
|
-
top: 60px;
|
|
593
|
-
left: 20px;
|
|
594
|
-
z-index: 1;
|
|
595
622
|
opacity: 0;
|
|
596
623
|
transition: opacity 0.15s;
|
|
597
624
|
}
|
|
598
625
|
|
|
599
|
-
.word-
|
|
600
|
-
.word-
|
|
626
|
+
.word-table__card:hover .word-table-cell__info-button,
|
|
627
|
+
.word-table__edit-cell:focus-within .word-table-cell__info-button,
|
|
601
628
|
.word-table-cell__info-button:focus-within,
|
|
602
629
|
.word-table-cell__info-button:focus-visible,
|
|
603
|
-
.word-
|
|
630
|
+
.word-table__edit-cell:hover .word-table-cell__info-button {
|
|
604
631
|
opacity: 1;
|
|
605
632
|
}
|
|
606
633
|
|
|
607
634
|
/* 터치 기기에는 hover 가 없다 — 위 규칙들이 :hover 로만 드러내 손가락으로는 빼기·재생·정보 단추가 보이지 않았다
|
|
608
635
|
(보이지 않는 단추를 짐작으로 눌러야 했다). 늘 보이게만 한다 — 색·모양은 그대로. 인쇄에서는 아래 @media print 가 치운다. */
|
|
609
636
|
@media (hover: none) {
|
|
610
|
-
.word-
|
|
611
|
-
.word-
|
|
612
|
-
.word-
|
|
637
|
+
.word-table__card-close,
|
|
638
|
+
.word-table__card-actions,
|
|
639
|
+
.word-table__card-handle,
|
|
613
640
|
.word-table-cell__play-button,
|
|
614
641
|
.word-table-cell__info-button {
|
|
615
642
|
opacity: 1;
|
|
@@ -619,12 +646,12 @@
|
|
|
619
646
|
/* 움직임을 줄여 달라고 한 사람에게는 끌기 중 움직임 효과를 뺀다 — 자리가 바뀌었다는 것은
|
|
620
647
|
테두리(--drag-over)와 흐려짐만으로도 알 수 있다. 크기가 튀는 것이 어지럼을 부른다. */
|
|
621
648
|
@media (prefers-reduced-motion: reduce) {
|
|
622
|
-
.word-
|
|
623
|
-
.word-
|
|
624
|
-
.word-
|
|
649
|
+
.word-table__card,
|
|
650
|
+
.word-table__card-handle,
|
|
651
|
+
.word-table__card-close {
|
|
625
652
|
transition: none;
|
|
626
653
|
}
|
|
627
|
-
.word-
|
|
654
|
+
.word-table__card--dragging {
|
|
628
655
|
transform: none;
|
|
629
656
|
transition: none;
|
|
630
657
|
}
|
|
@@ -704,9 +731,9 @@
|
|
|
704
731
|
transform: none !important;
|
|
705
732
|
}
|
|
706
733
|
|
|
707
|
-
.word-
|
|
708
|
-
.word-
|
|
709
|
-
.word-
|
|
734
|
+
.word-table__card-close,
|
|
735
|
+
.word-table__card-actions,
|
|
736
|
+
.word-table__card-handle { display: none; }
|
|
710
737
|
|
|
711
738
|
.word-table-cell__play-button,
|
|
712
739
|
.word-table-cell__info-button,
|
|
@@ -763,10 +790,10 @@
|
|
|
763
790
|
/* 고른 것은 늘 보인다 — 표를 훑어 "어디를 어떻게 봤는지"가 한눈에 들어와야 한다.
|
|
764
791
|
마우스를 올리거나 포커스를 받으면 셋이 함께 나타나 고를 수 있다. */
|
|
765
792
|
.word-table-cell__score-slot--on,
|
|
766
|
-
.word-
|
|
767
|
-
.word-
|
|
768
|
-
.word-
|
|
769
|
-
.word-
|
|
793
|
+
.word-table__card:hover .word-table-cell__score-slot,
|
|
794
|
+
.word-table__card:focus-within .word-table-cell__score-slot,
|
|
795
|
+
.word-table__edit-cell:hover .word-table-cell__score-slot,
|
|
796
|
+
.word-table__edit-cell:focus-within .word-table-cell__score-slot,
|
|
770
797
|
.word-table-cell__score:focus-within .word-table-cell__score-slot {
|
|
771
798
|
/* 잘라 둔 것을 되돌린다 — 위 다섯 줄을 모두 거둬야 제자리에 선다 */
|
|
772
799
|
position: static;
|
|
@@ -879,8 +906,8 @@
|
|
|
879
906
|
/* 인쇄에는 **고른 표시만** 나간다. 위 규칙이 이미 그렇게 하지만, 인쇄 순간 마우스가
|
|
880
907
|
어느 칸 위에 있으면 그 칸만 단추 셋이 찍힌다 — 호버 규칙을 인쇄에서 끈다. */
|
|
881
908
|
@media print {
|
|
882
|
-
.word-
|
|
883
|
-
.word-
|
|
909
|
+
.word-table__card:hover .word-table-cell__score-slot:not(.word-table-cell__score-slot--on),
|
|
910
|
+
.word-table__edit-cell:hover .word-table-cell__score-slot:not(.word-table-cell__score-slot--on) {
|
|
884
911
|
display: none;
|
|
885
912
|
}
|
|
886
913
|
}
|
|
@@ -923,6 +950,6 @@
|
|
|
923
950
|
걸치는 자리는 칸 수에 따라 달라지므로 인라인으로 걸고, 여기서는 면과 결만 쥔다.
|
|
924
951
|
`--filler` 와 달리 속을 가운데로 모으지 않는다 — 속의 `WordCell` 이 제 상자를 꽉 쓴다.
|
|
925
952
|
옮기기·초점 셈에서 이 칸은 빠진다(`WordTable.tsx` 의 카드 쿼리가 `:not()` 으로 뺀다). */
|
|
926
|
-
.word-
|
|
953
|
+
.word-table__card--base {
|
|
927
954
|
align-items: stretch;
|
|
928
955
|
}
|