@aiquants/period-slider 0.2.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/LICENSE +21 -0
- package/README.md +389 -0
- package/dist/DateSelector.d.ts +45 -0
- package/dist/DateSelector.d.ts.map +1 -0
- package/dist/MonthSelector.d.ts +43 -0
- package/dist/MonthSelector.d.ts.map +1 -0
- package/dist/PeriodSlider.d.ts +384 -0
- package/dist/PeriodSlider.d.ts.map +1 -0
- package/dist/YearSelector.d.ts +36 -0
- package/dist/YearSelector.d.ts.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1770 -0
- package/dist/period-slider.css +1 -0
- package/dist/styles/period-slider.css +2 -0
- package/dist/styles/period-slider.standalone.css +3 -0
- package/dist/usePeriodSlider.d.ts +213 -0
- package/dist/usePeriodSlider.d.ts.map +1 -0
- package/package.json +98 -0
- package/src/DateSelector.tsx +414 -0
- package/src/MonthSelector.tsx +303 -0
- package/src/PeriodSlider.tsx +2557 -0
- package/src/YearSelector.tsx +168 -0
- package/src/index.ts +67 -0
- package/src/styles/components.entry.css +10 -0
- package/src/styles/period-slider.css +910 -0
- package/src/styles/standalone.entry.css +10 -0
- package/src/usePeriodSlider.ts +692 -0
|
@@ -0,0 +1,910 @@
|
|
|
1
|
+
/* PeriodSlider 用カスタムスライダー CSS */
|
|
2
|
+
|
|
3
|
+
/* ============================================================= */
|
|
4
|
+
/* カラーテーマ別 CSS カスタムプロパティ (ベースカラー切替) */
|
|
5
|
+
/* ============================================================= */
|
|
6
|
+
:root,
|
|
7
|
+
[data-color-scheme="blue-rose"] {
|
|
8
|
+
--aqps-macro-color: #0284c7;
|
|
9
|
+
--aqps-macro-light: #38bdf8;
|
|
10
|
+
--aqps-macro-glow: rgba(56, 189, 248, 0.4);
|
|
11
|
+
--aqps-micro-color: #e11d48;
|
|
12
|
+
--aqps-micro-light: #fb7185;
|
|
13
|
+
--aqps-micro-glow: rgba(244, 63, 94, 0.4);
|
|
14
|
+
--aqps-accent-color: #0284c7;
|
|
15
|
+
--aqps-accent-light: #38bdf8;
|
|
16
|
+
--aqps-accent-glow: rgba(56, 189, 248, 0.4);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-color-scheme="indigo-amber"] {
|
|
20
|
+
--aqps-macro-color: #4f46e5;
|
|
21
|
+
--aqps-macro-light: #818cf8;
|
|
22
|
+
--aqps-macro-glow: rgba(99, 102, 241, 0.4);
|
|
23
|
+
--aqps-micro-color: #d97706;
|
|
24
|
+
--aqps-micro-light: #fbbf24;
|
|
25
|
+
--aqps-micro-glow: rgba(217, 119, 6, 0.4);
|
|
26
|
+
--aqps-accent-color: #4f46e5;
|
|
27
|
+
--aqps-accent-light: #818cf8;
|
|
28
|
+
--aqps-accent-glow: rgba(99, 102, 241, 0.4);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-color-scheme="teal-emerald"] {
|
|
32
|
+
--aqps-macro-color: #0d9488;
|
|
33
|
+
--aqps-macro-light: #2dd4bf;
|
|
34
|
+
--aqps-macro-glow: rgba(13, 148, 136, 0.4);
|
|
35
|
+
--aqps-micro-color: #059669;
|
|
36
|
+
--aqps-micro-light: #34d399;
|
|
37
|
+
--aqps-micro-glow: rgba(5, 150, 105, 0.4);
|
|
38
|
+
--aqps-accent-color: #0d9488;
|
|
39
|
+
--aqps-accent-light: #2dd4bf;
|
|
40
|
+
--aqps-accent-glow: rgba(13, 148, 136, 0.4);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-color-scheme="violet-fuchsia"] {
|
|
44
|
+
--aqps-macro-color: #7c3aed;
|
|
45
|
+
--aqps-macro-light: #a78bfa;
|
|
46
|
+
--aqps-macro-glow: rgba(124, 58, 237, 0.4);
|
|
47
|
+
--aqps-micro-color: #c026d3;
|
|
48
|
+
--aqps-micro-light: #e879f9;
|
|
49
|
+
--aqps-micro-glow: rgba(192, 38, 211, 0.4);
|
|
50
|
+
--aqps-accent-color: #7c3aed;
|
|
51
|
+
--aqps-accent-light: #a78bfa;
|
|
52
|
+
--aqps-accent-glow: rgba(124, 58, 237, 0.4);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-color-scheme="slate-sky"] {
|
|
56
|
+
--aqps-macro-color: #475569;
|
|
57
|
+
--aqps-macro-light: #94a3b8;
|
|
58
|
+
--aqps-macro-glow: rgba(71, 85, 105, 0.4);
|
|
59
|
+
--aqps-micro-color: #0284c7;
|
|
60
|
+
--aqps-micro-light: #38bdf8;
|
|
61
|
+
--aqps-micro-glow: rgba(56, 189, 248, 0.4);
|
|
62
|
+
--aqps-accent-color: #475569;
|
|
63
|
+
--aqps-accent-light: #94a3b8;
|
|
64
|
+
--aqps-accent-glow: rgba(71, 85, 105, 0.4);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-color-scheme="monochrome"] {
|
|
68
|
+
--aqps-macro-color: #52525b;
|
|
69
|
+
--aqps-macro-light: #a1a1aa;
|
|
70
|
+
--aqps-macro-glow: rgba(82, 82, 91, 0.4);
|
|
71
|
+
--aqps-micro-color: #18181b;
|
|
72
|
+
--aqps-micro-light: #71717a;
|
|
73
|
+
--aqps-micro-glow: rgba(24, 24, 27, 0.4);
|
|
74
|
+
--aqps-accent-color: #27272a;
|
|
75
|
+
--aqps-accent-light: #71717a;
|
|
76
|
+
--aqps-accent-glow: rgba(39, 39, 42, 0.4);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* ============================================================= */
|
|
80
|
+
/* レールベース */
|
|
81
|
+
/* ============================================================= */
|
|
82
|
+
.period-slider-track {
|
|
83
|
+
position: relative;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 8px;
|
|
86
|
+
margin-top: 2px;
|
|
87
|
+
align-self: center;
|
|
88
|
+
background-color: #e2e8f0;
|
|
89
|
+
box-shadow: inset 0 0 0 1px #94a3b8;
|
|
90
|
+
border-radius: 4px;
|
|
91
|
+
cursor: ew-resize;
|
|
92
|
+
touch-action: none;
|
|
93
|
+
user-select: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.period-slider-track.is-vertical,
|
|
97
|
+
.period-slider-track[data-orientation="vertical"],
|
|
98
|
+
.period-slider[data-orientation="vertical"] .period-slider-track {
|
|
99
|
+
width: 8px;
|
|
100
|
+
height: 100%;
|
|
101
|
+
margin: 0;
|
|
102
|
+
cursor: ns-resize;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.dark .period-slider-track {
|
|
106
|
+
background-color: #1e293b;
|
|
107
|
+
box-shadow: inset 0 0 0 1px #64748b;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* 連結範囲バー (通常 Range モード) */
|
|
111
|
+
.period-slider-connect {
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: 0;
|
|
114
|
+
bottom: 0;
|
|
115
|
+
background-color: var(--aqps-accent-color, #0284c7);
|
|
116
|
+
border-radius: 4px;
|
|
117
|
+
cursor: ew-resize;
|
|
118
|
+
touch-action: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.period-slider-track.is-vertical .period-slider-connect,
|
|
122
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-connect,
|
|
123
|
+
.period-slider[data-orientation="vertical"] .period-slider-connect {
|
|
124
|
+
top: auto;
|
|
125
|
+
left: 0;
|
|
126
|
+
right: 0;
|
|
127
|
+
cursor: ns-resize;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.period-slider-connect:active {
|
|
131
|
+
cursor: ew-resize;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.period-slider-track.is-vertical .period-slider-connect:active,
|
|
135
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-connect:active,
|
|
136
|
+
.period-slider[data-orientation="vertical"] .period-slider-connect:active {
|
|
137
|
+
cursor: ns-resize;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.dark .period-slider-connect {
|
|
141
|
+
background-color: var(--aqps-accent-light, #38bdf8);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* つまみラッパー (位置決め) */
|
|
145
|
+
.period-slider-handle-wrapper {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 50%;
|
|
148
|
+
transform: translate(-50%, -50%);
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
align-items: center;
|
|
152
|
+
z-index: 2;
|
|
153
|
+
touch-action: none;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.period-slider-track.is-vertical .period-slider-handle-wrapper,
|
|
157
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-handle-wrapper,
|
|
158
|
+
.period-slider[data-orientation="vertical"] .period-slider-handle-wrapper {
|
|
159
|
+
top: auto;
|
|
160
|
+
left: 50%;
|
|
161
|
+
transform: translate(-50%, 50%);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.period-slider-handle-wrapper.is-active {
|
|
165
|
+
z-index: 10;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* つまみ丸グラフィック (.period-slider-knob) */
|
|
169
|
+
.period-slider-knob {
|
|
170
|
+
position: relative;
|
|
171
|
+
overflow: visible;
|
|
172
|
+
transition:
|
|
173
|
+
transform 0.15s cubic-bezier(0.2, 0, 0, 1),
|
|
174
|
+
background-color 0.15s ease,
|
|
175
|
+
box-shadow 0.2s ease;
|
|
176
|
+
transform-origin: center center;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.period-slider-handle:hover .period-slider-knob {
|
|
180
|
+
transform: scale(1.1);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* 「ぼわっ」と広がるソフトオーラ波紋 (疑似要素 ::before) */
|
|
184
|
+
.period-slider-knob::before,
|
|
185
|
+
.period-slider-tooltip::before {
|
|
186
|
+
content: "";
|
|
187
|
+
position: absolute;
|
|
188
|
+
top: 0;
|
|
189
|
+
left: 0;
|
|
190
|
+
width: 100%;
|
|
191
|
+
height: 100%;
|
|
192
|
+
border-radius: inherit;
|
|
193
|
+
background: radial-gradient(circle, rgba(56, 189, 248, 0.95) 0%, rgba(14, 165, 233, 0.6) 45%, rgba(56, 189, 248, 0) 80%);
|
|
194
|
+
filter: blur(2px);
|
|
195
|
+
opacity: 0;
|
|
196
|
+
pointer-events: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* 「キラッ」と光る斜めシャイン光線 (疑似要素 ::after) */
|
|
200
|
+
.period-slider-knob::after,
|
|
201
|
+
.period-slider-tooltip::after {
|
|
202
|
+
content: "";
|
|
203
|
+
position: absolute;
|
|
204
|
+
top: -50%;
|
|
205
|
+
left: -50%;
|
|
206
|
+
width: 200%;
|
|
207
|
+
height: 200%;
|
|
208
|
+
border-radius: inherit;
|
|
209
|
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0) 100%);
|
|
210
|
+
opacity: 0;
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/* 「キラッ」キーフレーム: 最初に中心で一瞬鮮やかに閃光がキラッと駆け抜ける (0.3s) */
|
|
215
|
+
@keyframes period-slider-kirat {
|
|
216
|
+
0% {
|
|
217
|
+
transform: translate(-120%, -120%) rotate(45deg);
|
|
218
|
+
opacity: 0;
|
|
219
|
+
}
|
|
220
|
+
20% {
|
|
221
|
+
opacity: 1;
|
|
222
|
+
}
|
|
223
|
+
100% {
|
|
224
|
+
transform: translate(120%, 120%) rotate(45deg);
|
|
225
|
+
opacity: 0;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* 「ぼわっ」キーフレーム: キラッ直後にオーラが周囲へぼわ〜っと広がって消える (0.5s) */
|
|
230
|
+
@keyframes period-slider-bowa {
|
|
231
|
+
0% {
|
|
232
|
+
transform: scale(0.8);
|
|
233
|
+
opacity: 0.95;
|
|
234
|
+
}
|
|
235
|
+
40% {
|
|
236
|
+
opacity: 0.85;
|
|
237
|
+
}
|
|
238
|
+
100% {
|
|
239
|
+
transform: scale(3.2);
|
|
240
|
+
opacity: 0;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* 掴んだ時 (data-active="true"): 16px 直径からバーの高さ (7px) へ中心基準でスケール収束 (scale 0.4375 = 7/16) */
|
|
245
|
+
.period-slider-handle[data-active="true"] .period-slider-knob {
|
|
246
|
+
transform: scale(0.4375) !important;
|
|
247
|
+
box-shadow:
|
|
248
|
+
0 0 0 2px #ffffff,
|
|
249
|
+
0 0 16px var(--aqps-accent-light, #38bdf8),
|
|
250
|
+
0 0 28px var(--aqps-accent-glow, rgba(56, 189, 248, 0.85));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.dark .period-slider-handle[data-active="true"] .period-slider-knob {
|
|
254
|
+
box-shadow:
|
|
255
|
+
0 0 0 2px #0f172a,
|
|
256
|
+
0 0 16px var(--aqps-accent-light, #38bdf8),
|
|
257
|
+
0 0 28px var(--aqps-accent-glow, rgba(56, 189, 248, 0.85));
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.period-slider-handle[data-active="true"] .period-slider-knob::after {
|
|
261
|
+
animation: period-slider-kirat 0.3s ease-out 0s forwards;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.period-slider-handle[data-active="true"] .period-slider-knob::before {
|
|
265
|
+
animation: period-slider-bowa 0.5s ease-out 0.08s forwards;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* つまみハンドル (.period-slider-handle) の階層 */
|
|
269
|
+
.period-slider-handle {
|
|
270
|
+
z-index: 30;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.period-slider-handle[data-front="true"],
|
|
274
|
+
.period-slider-handle[data-active="true"] {
|
|
275
|
+
z-index: 40 !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* インジケーターラベル (.period-slider-tooltip): ● (つまみ) の中心点 (top:50%, left:50%) を基準に配置 */
|
|
279
|
+
.period-slider-tooltip {
|
|
280
|
+
--ps-tooltip-origin: 50% 50%;
|
|
281
|
+
--ps-tooltip-tx: -50%;
|
|
282
|
+
--ps-tooltip-ty: -50%;
|
|
283
|
+
--ps-tooltip-rot: 0deg;
|
|
284
|
+
--ps-tooltip-scale: 1;
|
|
285
|
+
|
|
286
|
+
position: absolute !important;
|
|
287
|
+
top: 50% !important;
|
|
288
|
+
left: 50% !important;
|
|
289
|
+
bottom: auto !important;
|
|
290
|
+
right: auto !important;
|
|
291
|
+
transform-origin: var(--ps-tooltip-origin) !important;
|
|
292
|
+
transform: translate(var(--ps-tooltip-tx), var(--ps-tooltip-ty)) rotate(var(--ps-tooltip-rot)) scale(var(--ps-tooltip-scale)) !important;
|
|
293
|
+
white-space: nowrap !important;
|
|
294
|
+
pointer-events: none !important;
|
|
295
|
+
z-index: 31 !important;
|
|
296
|
+
transition:
|
|
297
|
+
transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
|
|
298
|
+
box-shadow 0.2s ease,
|
|
299
|
+
opacity 0.15s ease;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* 前面(クリック/操作中)ハンドルのツールチップ z-index */
|
|
303
|
+
.period-slider-handle[data-front="true"] .period-slider-tooltip,
|
|
304
|
+
.period-slider-handle[data-active="true"] .period-slider-tooltip {
|
|
305
|
+
z-index: 41 !important;
|
|
306
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* 掴んだ時 (data-active="true"): つまみの縮小に合わせて追従・拡大 */
|
|
310
|
+
.period-slider-handle[data-active="true"] .period-slider-tooltip {
|
|
311
|
+
--ps-tooltip-scale: 1.15;
|
|
312
|
+
box-shadow:
|
|
313
|
+
0 0 12px #38bdf8,
|
|
314
|
+
0 0 22px rgba(56, 189, 248, 0.75);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/* 垂直モード (isVertical) 時のインジケーターラベル配置: つまみの左側 8px に垂直中央揃えで配置 */
|
|
318
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-tooltip,
|
|
319
|
+
.period-slider[data-orientation="vertical"] .period-slider-tooltip {
|
|
320
|
+
--ps-tooltip-origin: 100% 50%;
|
|
321
|
+
--ps-tooltip-tx: 0px;
|
|
322
|
+
--ps-tooltip-ty: -50%;
|
|
323
|
+
top: 50% !important;
|
|
324
|
+
left: auto !important;
|
|
325
|
+
right: calc(100% + 8px) !important;
|
|
326
|
+
bottom: auto !important;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-handle[data-active="true"] .period-slider-tooltip,
|
|
330
|
+
.period-slider[data-orientation="vertical"] .period-slider-handle[data-active="true"] .period-slider-tooltip {
|
|
331
|
+
--ps-tooltip-scale: 1.15;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.period-slider-handle[data-active="true"] .period-slider-tooltip::after {
|
|
335
|
+
animation: period-slider-kirat 0.3s ease-out 0s forwards;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* トラック(バー)上ホバーツールチップ */
|
|
339
|
+
.period-slider-hover-tooltip {
|
|
340
|
+
position: absolute !important;
|
|
341
|
+
top: 0 !important;
|
|
342
|
+
left: 50% !important;
|
|
343
|
+
bottom: auto !important;
|
|
344
|
+
right: auto !important;
|
|
345
|
+
transform: translate(-50%, calc(-100% - 6px)) !important;
|
|
346
|
+
transform-origin: 50% 100% !important;
|
|
347
|
+
white-space: nowrap !important;
|
|
348
|
+
pointer-events: none !important;
|
|
349
|
+
z-index: 25 !important;
|
|
350
|
+
animation: period-slider-tooltip-pop 0.12s ease-out forwards;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.period-slider-hover-tooltip-bottom {
|
|
354
|
+
top: auto !important;
|
|
355
|
+
bottom: 0 !important;
|
|
356
|
+
transform: translate(-50%, calc(100% + 6px)) !important;
|
|
357
|
+
transform-origin: 50% 0% !important;
|
|
358
|
+
animation: period-slider-tooltip-pop-bottom 0.12s ease-out forwards;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-hover-tooltip,
|
|
362
|
+
.period-slider[data-orientation="vertical"] .period-slider-hover-tooltip {
|
|
363
|
+
top: 50% !important;
|
|
364
|
+
left: calc(100% + 8px) !important;
|
|
365
|
+
right: auto !important;
|
|
366
|
+
bottom: auto !important;
|
|
367
|
+
transform: translateY(-50%) !important;
|
|
368
|
+
transform-origin: 0% 50% !important;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
@keyframes period-slider-tooltip-pop {
|
|
372
|
+
from {
|
|
373
|
+
opacity: 0;
|
|
374
|
+
transform: translate(-50%, calc(-100% - 2px)) scale(0.92);
|
|
375
|
+
}
|
|
376
|
+
to {
|
|
377
|
+
opacity: 1;
|
|
378
|
+
transform: translate(-50%, calc(-100% - 6px)) scale(1);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
@keyframes period-slider-tooltip-pop-bottom {
|
|
383
|
+
from {
|
|
384
|
+
opacity: 0;
|
|
385
|
+
transform: translate(-50%, calc(100% + 2px)) scale(0.92);
|
|
386
|
+
}
|
|
387
|
+
to {
|
|
388
|
+
opacity: 1;
|
|
389
|
+
transform: translate(-50%, calc(100% + 6px)) scale(1);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.period-slider-handle[data-active="true"] .period-slider-tooltip::before {
|
|
394
|
+
animation: period-slider-bowa 0.5s ease-out 0.08s forwards;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/* ------------------------------------------------------------- */
|
|
398
|
+
/* ツールチップ (インジケーターラベル): Pill (既定) */
|
|
399
|
+
/* ------------------------------------------------------------- */
|
|
400
|
+
.period-slider-tooltip {
|
|
401
|
+
position: absolute;
|
|
402
|
+
bottom: 100%;
|
|
403
|
+
margin-bottom: 5px;
|
|
404
|
+
display: inline-flex;
|
|
405
|
+
align-items: center;
|
|
406
|
+
justify-content: center;
|
|
407
|
+
height: 16px;
|
|
408
|
+
min-width: max-content;
|
|
409
|
+
padding: 0 5px 1.5px 5px;
|
|
410
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
411
|
+
background-color: #0284c7;
|
|
412
|
+
color: #ffffff;
|
|
413
|
+
font-size: 10px;
|
|
414
|
+
font-weight: 600;
|
|
415
|
+
line-height: 1;
|
|
416
|
+
border-radius: 3px;
|
|
417
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
418
|
+
transition:
|
|
419
|
+
background-color 0.15s ease,
|
|
420
|
+
border-color 0.15s ease,
|
|
421
|
+
box-shadow 0.15s ease;
|
|
422
|
+
white-space: nowrap;
|
|
423
|
+
pointer-events: none;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.period-slider-track.is-vertical .period-slider-tooltip,
|
|
427
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-tooltip,
|
|
428
|
+
.period-slider[data-orientation="vertical"] .period-slider-tooltip {
|
|
429
|
+
bottom: auto;
|
|
430
|
+
right: 100%;
|
|
431
|
+
margin-bottom: 0;
|
|
432
|
+
margin-right: 8px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* 掴んだ時のツールチップ発光 */
|
|
436
|
+
.period-slider-tooltip.is-active {
|
|
437
|
+
background-color: #0369a1;
|
|
438
|
+
border-color: #ffffff;
|
|
439
|
+
box-shadow:
|
|
440
|
+
0 0 0 1.5px #38bdf8,
|
|
441
|
+
0 0 8px rgba(56, 189, 248, 0.9),
|
|
442
|
+
0 2px 6px rgba(0, 0, 0, 0.3);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.dark .period-slider-tooltip {
|
|
446
|
+
background-color: #0284c7;
|
|
447
|
+
color: #f8fafc;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.dark .period-slider-tooltip.is-active {
|
|
451
|
+
background-color: #0ea5e9;
|
|
452
|
+
color: #ffffff;
|
|
453
|
+
border-color: #ffffff;
|
|
454
|
+
box-shadow:
|
|
455
|
+
0 0 0 1.5px #38bdf8,
|
|
456
|
+
0 0 10px rgba(56, 189, 248, 0.9),
|
|
457
|
+
0 2px 6px rgba(0, 0, 0, 0.4);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* ------------------------------------------------------------- */
|
|
461
|
+
/* ツールチップ: Balloon スタイル (旧水滴バルーン風) */
|
|
462
|
+
/* ------------------------------------------------------------- */
|
|
463
|
+
[data-tooltip-style="balloon"] .period-slider-tooltip {
|
|
464
|
+
height: 28px;
|
|
465
|
+
width: 28px;
|
|
466
|
+
padding: 0;
|
|
467
|
+
border: none;
|
|
468
|
+
background-color: #5fc0f4;
|
|
469
|
+
color: #ffffff;
|
|
470
|
+
font-size: 10px;
|
|
471
|
+
border-radius: 50% 50% 50% 0;
|
|
472
|
+
transform: rotate(-45deg) translateY(-8px);
|
|
473
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
/* Balloon ツールチップ内の文字を水平に逆回転補正 */
|
|
477
|
+
[data-tooltip-style="balloon"] .period-slider-tooltip > * {
|
|
478
|
+
transform: rotate(45deg);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
[data-tooltip-style="balloon"] .period-slider-tooltip.is-active {
|
|
482
|
+
background-color: #0284c7;
|
|
483
|
+
box-shadow:
|
|
484
|
+
0 0 0 2px #ffffff,
|
|
485
|
+
0 0 8px rgba(56, 189, 248, 0.9);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/* ------------------------------------------------------------- */
|
|
489
|
+
/* ノギス (Vernier Caliper) 型 2 段スケール一体型スタイル */
|
|
490
|
+
/* ------------------------------------------------------------- */
|
|
491
|
+
|
|
492
|
+
/* マクロ選択帯 (上段: クールブルー系、中央に厳密に 1px の空隙スリットを確保) */
|
|
493
|
+
.period-slider-connect-macro {
|
|
494
|
+
position: absolute;
|
|
495
|
+
top: 0;
|
|
496
|
+
height: calc(50% - 0.5px);
|
|
497
|
+
background: linear-gradient(90deg, var(--aqps-macro-color, #0284c7), var(--aqps-macro-light, #38bdf8));
|
|
498
|
+
border-radius: 2px 2px 0 0;
|
|
499
|
+
cursor: ew-resize;
|
|
500
|
+
touch-action: none;
|
|
501
|
+
z-index: 2;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/* ミクロ選択帯 (下段: ウォームローズ系、中央に厳密に 1px の空隙スリットを確保) */
|
|
505
|
+
.period-slider-connect-micro {
|
|
506
|
+
position: absolute;
|
|
507
|
+
top: auto;
|
|
508
|
+
bottom: 0;
|
|
509
|
+
height: calc(50% - 0.5px);
|
|
510
|
+
background: linear-gradient(90deg, var(--aqps-micro-color, #e11d48), var(--aqps-micro-light, #fb7185));
|
|
511
|
+
border-radius: 0 0 2px 2px;
|
|
512
|
+
cursor: ew-resize;
|
|
513
|
+
touch-action: none;
|
|
514
|
+
z-index: 3;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* 上下反転時 (macro-bottom) の配置反転 */
|
|
518
|
+
[data-vernier-orientation="macro-bottom"] .period-slider-connect-macro {
|
|
519
|
+
top: auto;
|
|
520
|
+
bottom: 0;
|
|
521
|
+
border-radius: 0 0 2px 2px;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
[data-vernier-orientation="macro-bottom"] .period-slider-connect-micro {
|
|
525
|
+
top: 0;
|
|
526
|
+
bottom: auto;
|
|
527
|
+
border-radius: 2px 2px 0 0;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* 垂直ノギス用 コネクトバー (左右各レール、1px 縦スリット) */
|
|
531
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-connect-macro,
|
|
532
|
+
.period-slider-track.is-vertical .period-slider-connect-macro {
|
|
533
|
+
top: auto;
|
|
534
|
+
bottom: 0;
|
|
535
|
+
left: 0;
|
|
536
|
+
right: auto;
|
|
537
|
+
width: calc(50% - 0.5px);
|
|
538
|
+
background: linear-gradient(180deg, var(--aqps-macro-light, #38bdf8), var(--aqps-macro-color, #0284c7));
|
|
539
|
+
border-radius: 2px 0 0 2px;
|
|
540
|
+
cursor: ns-resize;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-connect-micro,
|
|
544
|
+
.period-slider-track.is-vertical .period-slider-connect-micro {
|
|
545
|
+
top: auto;
|
|
546
|
+
bottom: 0;
|
|
547
|
+
left: auto;
|
|
548
|
+
right: 0;
|
|
549
|
+
width: calc(50% - 0.5px);
|
|
550
|
+
background: linear-gradient(180deg, var(--aqps-micro-light, #fb7185), var(--aqps-micro-color, #e11d48));
|
|
551
|
+
border-radius: 0 2px 2px 0;
|
|
552
|
+
cursor: ns-resize;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/* 垂直時の反転 (macro-bottom または macro-right) */
|
|
556
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-bottom"] .period-slider-connect-macro,
|
|
557
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-right"] .period-slider-connect-macro,
|
|
558
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-bottom"] .period-slider-connect-macro,
|
|
559
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-right"] .period-slider-connect-macro {
|
|
560
|
+
left: auto;
|
|
561
|
+
right: 0;
|
|
562
|
+
border-radius: 0 2px 2px 0;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-bottom"] .period-slider-connect-micro,
|
|
566
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-right"] .period-slider-connect-micro,
|
|
567
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-bottom"] .period-slider-connect-micro,
|
|
568
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-right"] .period-slider-connect-micro {
|
|
569
|
+
left: 0;
|
|
570
|
+
right: auto;
|
|
571
|
+
border-radius: 2px 0 0 2px;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/* ノギス半円つまみハンドル要素の厳密な幾何学的境界定義 (幅 16px, 高さ 8px / 垂直: 幅 8px, 高さ 16px) */
|
|
575
|
+
.period-slider-handle-vernier {
|
|
576
|
+
width: 16px;
|
|
577
|
+
height: 8px;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.period-slider-handle-vernier.is-vertical {
|
|
581
|
+
width: 8px;
|
|
582
|
+
height: 16px;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/* SVG ベクター半円つまみ (.period-slider-knob-svg) */
|
|
586
|
+
.period-slider-knob-svg {
|
|
587
|
+
width: 16px;
|
|
588
|
+
height: 8px;
|
|
589
|
+
display: block;
|
|
590
|
+
overflow: visible;
|
|
591
|
+
transition:
|
|
592
|
+
transform 0.15s cubic-bezier(0.2, 0, 0, 1),
|
|
593
|
+
filter 0.2s ease;
|
|
594
|
+
transform-origin: center center;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.period-slider-knob-svg.is-vertical {
|
|
598
|
+
width: 8px;
|
|
599
|
+
height: 16px;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* ノギス半円つまみグロー: 全方位二重レイヤードグロー (Isotropic Double-Layer Radiant Glow) */
|
|
603
|
+
.period-slider-handle-vernier[data-handle-type^="macro-"] .period-slider-knob-svg {
|
|
604
|
+
filter: drop-shadow(0 0 2px var(--aqps-macro-glow, rgba(56, 189, 248, 0.45))) drop-shadow(0 0 6px var(--aqps-macro-glow, rgba(56, 189, 248, 0.2)));
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.period-slider-handle-vernier[data-handle-type^="micro-"] .period-slider-knob-svg {
|
|
608
|
+
filter: drop-shadow(0 0 2px var(--aqps-micro-glow, rgba(244, 63, 94, 0.45))) drop-shadow(0 0 6px var(--aqps-micro-glow, rgba(244, 63, 94, 0.2)));
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/* キーボードフォーカス時のアクセシブルなフォーカスリング (WCAG 2.1 AAA 準拠) */
|
|
612
|
+
.period-slider-handle-vernier:focus-visible .period-slider-knob-svg {
|
|
613
|
+
filter: drop-shadow(0 0 0 2px #3b82f6) drop-shadow(0 0 6px rgba(59, 130, 246, 0.8)) !important;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.period-slider-knob-path-macro {
|
|
617
|
+
fill: #ffffff;
|
|
618
|
+
stroke: var(--aqps-macro-color, #0284c7);
|
|
619
|
+
stroke-width: 1.25;
|
|
620
|
+
transition:
|
|
621
|
+
fill 0.15s ease,
|
|
622
|
+
stroke 0.15s ease;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.dark .period-slider-knob-path-macro {
|
|
626
|
+
fill: #0f172a;
|
|
627
|
+
stroke: var(--aqps-macro-light, #38bdf8);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.period-slider-knob-path-micro {
|
|
631
|
+
fill: var(--aqps-micro-color, #e11d48);
|
|
632
|
+
stroke: var(--aqps-micro-color, #e11d48);
|
|
633
|
+
stroke-width: 1.25;
|
|
634
|
+
transition:
|
|
635
|
+
fill 0.15s ease,
|
|
636
|
+
stroke 0.15s ease;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.dark .period-slider-knob-path-micro {
|
|
640
|
+
fill: var(--aqps-micro-light, #fb7185);
|
|
641
|
+
stroke: var(--aqps-micro-light, #fb7185);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/* 半円つまみアクティブ表示 (data-active="true") */
|
|
645
|
+
.period-slider-handle[data-active="true"] .period-slider-knob-svg {
|
|
646
|
+
transform: scale(0.95);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.period-slider-handle[data-active="true"] .period-slider-knob-path-macro {
|
|
650
|
+
fill: var(--aqps-macro-light, #38bdf8);
|
|
651
|
+
stroke: var(--aqps-macro-color, #0284c7);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.dark .period-slider-handle[data-active="true"] .period-slider-knob-path-macro {
|
|
655
|
+
fill: var(--aqps-macro-light, #38bdf8);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.period-slider-handle[data-active="true"] .period-slider-knob-path-micro {
|
|
659
|
+
fill: var(--aqps-micro-light, #fb7185);
|
|
660
|
+
stroke: var(--aqps-micro-color, #e11d48);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.dark .period-slider-handle[data-active="true"] .period-slider-knob-path-micro {
|
|
664
|
+
fill: var(--aqps-micro-light, #fb7185);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.period-slider-handle[data-active="true"][data-handle-type^="macro-"] .period-slider-knob-svg {
|
|
668
|
+
filter: drop-shadow(0 0 3px var(--aqps-macro-light, #38bdf8)) drop-shadow(0 0 10px var(--aqps-macro-glow, rgba(56, 189, 248, 0.5)));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.period-slider-handle[data-active="true"][data-handle-type^="micro-"] .period-slider-knob-svg {
|
|
672
|
+
filter: drop-shadow(0 0 3px var(--aqps-micro-light, #fb7185)) drop-shadow(0 0 10px var(--aqps-micro-glow, rgba(244, 63, 94, 0.5)));
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/* 精密ヘアライン針 (1px): 偶数幅 16px の幾何中心 8px にスナップし 0.5px サブピクセルぼやけを排除 */
|
|
676
|
+
.period-slider-hairline {
|
|
677
|
+
position: absolute;
|
|
678
|
+
width: 1px;
|
|
679
|
+
pointer-events: none;
|
|
680
|
+
z-index: 5;
|
|
681
|
+
left: 8px;
|
|
682
|
+
transform: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/* 針の配置方向 (上段つまみからは下へ、下段つまみからは上へ突出 / 垂直時は左右突出) */
|
|
686
|
+
.period-slider-handle-vernier[data-vernier-pos="top"] .period-slider-hairline {
|
|
687
|
+
bottom: -4px;
|
|
688
|
+
height: 4px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.period-slider-handle-vernier[data-vernier-pos="bottom"] .period-slider-hairline {
|
|
692
|
+
top: -4px;
|
|
693
|
+
height: 4px;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.period-slider-handle-vernier.is-vertical .period-slider-hairline {
|
|
697
|
+
top: 8px;
|
|
698
|
+
left: auto;
|
|
699
|
+
transform: none;
|
|
700
|
+
width: 4px;
|
|
701
|
+
height: 1px;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.period-slider-handle-vernier.is-vertical[data-vernier-pos="left"] .period-slider-hairline {
|
|
705
|
+
right: -4px;
|
|
706
|
+
left: auto;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.period-slider-handle-vernier.is-vertical[data-vernier-pos="right"] .period-slider-hairline {
|
|
710
|
+
left: -4px;
|
|
711
|
+
right: auto;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/* 針のセマンティック配色 (マクロ=マクロ色、ミクロ=ミクロ色) */
|
|
715
|
+
.period-slider-handle-vernier[data-handle-type^="macro-"] .period-slider-hairline {
|
|
716
|
+
background-color: var(--aqps-macro-color, #0284c7);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.dark .period-slider-handle-vernier[data-handle-type^="macro-"] .period-slider-hairline {
|
|
720
|
+
background-color: var(--aqps-macro-light, #38bdf8);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.period-slider-handle-vernier[data-handle-type^="micro-"] .period-slider-hairline {
|
|
724
|
+
background-color: var(--aqps-micro-color, #e11d48);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.dark .period-slider-handle-vernier[data-handle-type^="micro-"] .period-slider-hairline {
|
|
728
|
+
background-color: var(--aqps-micro-light, #fb7185);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/* 台形プロジェクション (光のコーン) */
|
|
732
|
+
.period-slider-vernier-projection {
|
|
733
|
+
position: absolute;
|
|
734
|
+
top: -12px;
|
|
735
|
+
bottom: -12px;
|
|
736
|
+
left: 0;
|
|
737
|
+
right: 0;
|
|
738
|
+
pointer-events: none;
|
|
739
|
+
z-index: 1;
|
|
740
|
+
overflow: visible;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.period-slider-vernier-projection.is-vertical {
|
|
744
|
+
top: 0;
|
|
745
|
+
bottom: 0;
|
|
746
|
+
left: -12px;
|
|
747
|
+
right: -12px;
|
|
748
|
+
width: 32px;
|
|
749
|
+
height: 100%;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/* アダプティブ目盛線 (Ticks) */
|
|
753
|
+
.period-slider-tick {
|
|
754
|
+
position: absolute;
|
|
755
|
+
width: 1px;
|
|
756
|
+
background-color: #cbd5e1;
|
|
757
|
+
pointer-events: none;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/* Vernier 目盛線の +0.5px 偏心補正 (サブピクセルアライメント) */
|
|
761
|
+
.period-slider-vernier-ticks .period-slider-tick {
|
|
762
|
+
transform: translateX(-0.5px);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.dark .period-slider-tick {
|
|
766
|
+
background-color: #475569;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.period-slider-tick-macro {
|
|
770
|
+
top: 0;
|
|
771
|
+
height: 2px;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.period-slider-tick-micro {
|
|
775
|
+
bottom: 0;
|
|
776
|
+
height: 2px;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/* 上下反転時 (macro-bottom) の目盛配置反転 */
|
|
780
|
+
[data-vernier-orientation="macro-bottom"] .period-slider-tick-macro {
|
|
781
|
+
top: auto;
|
|
782
|
+
bottom: 0;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
[data-vernier-orientation="macro-bottom"] .period-slider-tick-micro {
|
|
786
|
+
top: 0;
|
|
787
|
+
bottom: auto;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/* 垂直ノギス時の目盛線 */
|
|
791
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-tick,
|
|
792
|
+
.period-slider-track.is-vertical .period-slider-tick {
|
|
793
|
+
width: 2px;
|
|
794
|
+
height: 1px;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-vernier-ticks .period-slider-tick,
|
|
798
|
+
.period-slider-track.is-vertical .period-slider-vernier-ticks .period-slider-tick {
|
|
799
|
+
transform: translateY(0.5px);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-tick-macro,
|
|
803
|
+
.period-slider-track.is-vertical .period-slider-tick-macro {
|
|
804
|
+
left: 0;
|
|
805
|
+
right: auto;
|
|
806
|
+
top: auto;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.period-slider-track[data-orientation="vertical"] .period-slider-tick-micro,
|
|
810
|
+
.period-slider-track.is-vertical .period-slider-tick-micro {
|
|
811
|
+
left: auto;
|
|
812
|
+
right: 0;
|
|
813
|
+
top: auto;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-bottom"] .period-slider-tick-macro,
|
|
817
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-right"] .period-slider-tick-macro,
|
|
818
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-bottom"] .period-slider-tick-macro,
|
|
819
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-right"] .period-slider-tick-macro {
|
|
820
|
+
left: auto;
|
|
821
|
+
right: 0;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-bottom"] .period-slider-tick-micro,
|
|
825
|
+
.period-slider-track[data-orientation="vertical"][data-vernier-orientation="macro-right"] .period-slider-tick-micro,
|
|
826
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-bottom"] .period-slider-tick-micro,
|
|
827
|
+
.period-slider-track.is-vertical[data-vernier-orientation="macro-right"] .period-slider-tick-micro {
|
|
828
|
+
left: 0;
|
|
829
|
+
right: auto;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/* Vernier モードにおけるツールチップのクリアランス(上側 / 下側に 8px の数学的クリアランスを確保) */
|
|
833
|
+
.period-slider-handle-vernier[data-vernier-pos="top"] .period-slider-tooltip {
|
|
834
|
+
top: auto !important;
|
|
835
|
+
bottom: calc(100% + 8px) !important;
|
|
836
|
+
left: 50% !important;
|
|
837
|
+
right: auto !important;
|
|
838
|
+
margin: 0 !important;
|
|
839
|
+
--ps-tooltip-tx: -50%;
|
|
840
|
+
--ps-tooltip-ty: 0px;
|
|
841
|
+
--ps-tooltip-rot: 0deg;
|
|
842
|
+
transform: translate(var(--ps-tooltip-tx), var(--ps-tooltip-ty)) rotate(var(--ps-tooltip-rot)) scale(var(--ps-tooltip-scale)) !important;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.period-slider-handle-vernier[data-vernier-pos="bottom"] .period-slider-tooltip {
|
|
846
|
+
top: calc(100% + 8px) !important;
|
|
847
|
+
bottom: auto !important;
|
|
848
|
+
left: 50% !important;
|
|
849
|
+
right: auto !important;
|
|
850
|
+
margin: 0 !important;
|
|
851
|
+
--ps-tooltip-tx: -50%;
|
|
852
|
+
--ps-tooltip-ty: 0px;
|
|
853
|
+
--ps-tooltip-rot: 0deg;
|
|
854
|
+
transform: translate(var(--ps-tooltip-tx), var(--ps-tooltip-ty)) rotate(var(--ps-tooltip-rot)) scale(var(--ps-tooltip-scale)) !important;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/* 垂直ノギスにおけるツールチップ(左側 / 右側に 8px の数学的クリアランス、垂直中央揃えで相互衝突完全ゼロ) */
|
|
858
|
+
.period-slider-handle-vernier.is-vertical[data-vernier-pos="left"] .period-slider-tooltip {
|
|
859
|
+
top: 50% !important;
|
|
860
|
+
bottom: auto !important;
|
|
861
|
+
right: calc(100% + 8px) !important;
|
|
862
|
+
left: auto !important;
|
|
863
|
+
margin: 0 !important;
|
|
864
|
+
--ps-tooltip-tx: 0px;
|
|
865
|
+
--ps-tooltip-ty: -50%;
|
|
866
|
+
--ps-tooltip-rot: 0deg;
|
|
867
|
+
transform: translate(var(--ps-tooltip-tx), var(--ps-tooltip-ty)) rotate(var(--ps-tooltip-rot)) scale(var(--ps-tooltip-scale)) !important;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.period-slider-handle-vernier.is-vertical[data-vernier-pos="right"] .period-slider-tooltip {
|
|
871
|
+
top: 50% !important;
|
|
872
|
+
bottom: auto !important;
|
|
873
|
+
left: calc(100% + 8px) !important;
|
|
874
|
+
right: auto !important;
|
|
875
|
+
margin: 0 !important;
|
|
876
|
+
--ps-tooltip-tx: 0px;
|
|
877
|
+
--ps-tooltip-ty: -50%;
|
|
878
|
+
--ps-tooltip-rot: 0deg;
|
|
879
|
+
transform: translate(var(--ps-tooltip-tx), var(--ps-tooltip-ty)) rotate(var(--ps-tooltip-rot)) scale(var(--ps-tooltip-scale)) !important;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/* Vernier ツールチップのカラーセマンティクス連動 (マクロ=青系、ミクロ=赤系) */
|
|
883
|
+
.period-slider-handle-vernier[data-handle-type^="macro-"] .period-slider-tooltip {
|
|
884
|
+
background-color: var(--aqps-macro-color, #0284c7) !important;
|
|
885
|
+
border-color: var(--aqps-macro-light, #38bdf8) !important;
|
|
886
|
+
box-shadow: 0 2px 6px var(--aqps-macro-glow, rgba(56, 189, 248, 0.35)) !important;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.period-slider-handle-vernier[data-handle-type^="micro-"] .period-slider-tooltip {
|
|
890
|
+
background-color: var(--aqps-micro-color, #e11d48) !important;
|
|
891
|
+
border-color: var(--aqps-micro-light, #fb7185) !important;
|
|
892
|
+
box-shadow: 0 2px 6px var(--aqps-micro-glow, rgba(244, 63, 94, 0.35)) !important;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.period-slider-handle-vernier[data-active="true"][data-handle-type^="macro-"] .period-slider-tooltip {
|
|
896
|
+
box-shadow:
|
|
897
|
+
0 0 12px var(--aqps-macro-light, #38bdf8),
|
|
898
|
+
0 0 22px var(--aqps-macro-glow, rgba(56, 189, 248, 0.75)) !important;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.period-slider-handle-vernier[data-active="true"][data-handle-type^="micro-"] .period-slider-tooltip {
|
|
902
|
+
box-shadow:
|
|
903
|
+
0 0 12px var(--aqps-micro-light, #fb7185),
|
|
904
|
+
0 0 22px var(--aqps-micro-glow, rgba(244, 63, 94, 0.75)) !important;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.period-slider-handle,
|
|
908
|
+
.period-slider-tooltip {
|
|
909
|
+
will-change: transform;
|
|
910
|
+
}
|