accessibility-plugin-react 2.29.2 → 2.30.1
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/NOTICE +6 -3
- package/dist/fonts/Manrope-VariableFont_wght.ttf +0 -0
- package/dist/fonts/OFL.txt +93 -0
- package/dist/index.d.mts +53 -3
- package/dist/index.d.ts +53 -3
- package/dist/index.js +3756 -2703
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3715 -2663
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1283 -92
- package/docs/API.md +5 -2
- package/docs/CSP.md +22 -10
- package/docs/DESIGN.md +1 -1
- package/docs/SECURITY_AUDIT.md +9 -9
- package/docs/TRANSLATION.md +20 -12
- package/package.json +3 -2
package/dist/style.css
CHANGED
|
@@ -1,31 +1,66 @@
|
|
|
1
1
|
/* Historical filename retained: scoped plain CSS, no Tailwind runtime or reset. */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "Manrope";
|
|
4
|
+
src: url("./fonts/Manrope-VariableFont_wght.ttf") format("truetype");
|
|
5
|
+
font-weight: 200 800;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
}
|
|
2
9
|
.arap-root {
|
|
3
|
-
--arap-surface: #
|
|
4
|
-
--arap-text: #
|
|
10
|
+
--arap-surface: #ffffff;
|
|
11
|
+
--arap-text: #0f172a;
|
|
5
12
|
--arap-muted: #475569;
|
|
6
13
|
--arap-border: #cbd5e1;
|
|
7
14
|
--arap-divider: #e2e8f0;
|
|
8
15
|
--arap-accent: #1d4ed8;
|
|
9
16
|
--arap-accent-hover: #1e40af;
|
|
17
|
+
--arap-primary: #1d4ed8;
|
|
10
18
|
--arap-selected: #eff6ff;
|
|
11
19
|
--arap-control: #f8fafc;
|
|
20
|
+
--arap-bg: #ffffff;
|
|
21
|
+
--arap-card-bg: #f8fafc;
|
|
22
|
+
--arap-success: #15803d;
|
|
23
|
+
--arap-error: #b91c1c;
|
|
24
|
+
--arap-focus: #1d4ed8;
|
|
25
|
+
--arap-font-default:
|
|
26
|
+
"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
27
|
+
"Noto Sans Sinhala", "Iskoola Pota", "Noto Sans Tamil", "Latha",
|
|
28
|
+
"Nirmala UI", sans-serif;
|
|
29
|
+
--arap-font-legible:
|
|
30
|
+
"Atkinson Hyperlegible", "Segoe UI", "Helvetica Neue", Arial, system-ui,
|
|
31
|
+
-apple-system, "Noto Sans Sinhala", "Noto Sans Tamil", sans-serif;
|
|
32
|
+
--arap-font-dyslexia:
|
|
33
|
+
"OpenDyslexic", "Comic Sans MS", "Trebuchet MS", Verdana,
|
|
34
|
+
"Noto Sans Sinhala", "Noto Sans Tamil", sans-serif;
|
|
35
|
+
--arap-font-family: var(--arap-font-default);
|
|
12
36
|
color-scheme: light;
|
|
13
|
-
font:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
BlinkMacSystemFont,
|
|
17
|
-
"Segoe UI",
|
|
18
|
-
Roboto,
|
|
19
|
-
"Noto Sans Sinhala",
|
|
20
|
-
"Iskoola Pota",
|
|
21
|
-
"Noto Sans Tamil",
|
|
22
|
-
"Latha",
|
|
23
|
-
"Nirmala UI",
|
|
24
|
-
sans-serif;
|
|
37
|
+
font-family: var(--arap-font-family);
|
|
38
|
+
font-size: 15px;
|
|
39
|
+
line-height: 1.5;
|
|
25
40
|
color: var(--arap-text);
|
|
26
41
|
text-align: start;
|
|
27
42
|
letter-spacing: normal;
|
|
28
43
|
}
|
|
44
|
+
.arap-root[data-arap-font="legible"] {
|
|
45
|
+
--arap-font-family: var(--arap-font-legible);
|
|
46
|
+
}
|
|
47
|
+
.arap-root[data-arap-font="dyslexia-option"],
|
|
48
|
+
.arap-root[data-arap-font="dyslexia"] {
|
|
49
|
+
--arap-font-family: var(--arap-font-dyslexia);
|
|
50
|
+
}
|
|
51
|
+
.arap-root input,
|
|
52
|
+
.arap-root select,
|
|
53
|
+
.arap-root textarea,
|
|
54
|
+
.arap-root output {
|
|
55
|
+
font-family: inherit;
|
|
56
|
+
}
|
|
57
|
+
.arap-root input[type="search"]::-webkit-search-decoration,
|
|
58
|
+
.arap-root input[type="search"]::-webkit-search-cancel-button,
|
|
59
|
+
.arap-root input[type="search"]::-webkit-search-results-button,
|
|
60
|
+
.arap-root input[type="search"]::-webkit-search-results-decoration {
|
|
61
|
+
-webkit-appearance: none;
|
|
62
|
+
appearance: none;
|
|
63
|
+
}
|
|
29
64
|
.arap-root *,
|
|
30
65
|
.arap-root *::before,
|
|
31
66
|
.arap-root *::after {
|
|
@@ -85,7 +120,13 @@
|
|
|
85
120
|
z-index: 2147483000;
|
|
86
121
|
bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px));
|
|
87
122
|
right: max(16px, env(safe-area-inset-right));
|
|
88
|
-
width: min(
|
|
123
|
+
width: min(
|
|
124
|
+
460px,
|
|
125
|
+
calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))
|
|
126
|
+
);
|
|
127
|
+
max-width: calc(
|
|
128
|
+
100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)
|
|
129
|
+
);
|
|
89
130
|
max-height: calc(100vh - 120px);
|
|
90
131
|
max-height: calc(100dvh - 120px - env(safe-area-inset-bottom));
|
|
91
132
|
overflow: auto;
|
|
@@ -124,9 +165,10 @@
|
|
|
124
165
|
}
|
|
125
166
|
.arap-heading h2 {
|
|
126
167
|
margin: 0;
|
|
127
|
-
font:
|
|
128
|
-
|
|
129
|
-
|
|
168
|
+
font-family: var(--arap-font-family);
|
|
169
|
+
font-weight: 700;
|
|
170
|
+
font-size: 22px;
|
|
171
|
+
line-height: 1.3;
|
|
130
172
|
letter-spacing: -0.025em;
|
|
131
173
|
color: var(--arap-text);
|
|
132
174
|
overflow-wrap: anywhere;
|
|
@@ -134,26 +176,38 @@
|
|
|
134
176
|
.arap-description {
|
|
135
177
|
margin: 6px 0 0;
|
|
136
178
|
color: var(--arap-muted);
|
|
137
|
-
font:
|
|
138
|
-
|
|
139
|
-
|
|
179
|
+
font-family: var(--arap-font-family);
|
|
180
|
+
font-size: 14px;
|
|
181
|
+
line-height: 1.5;
|
|
140
182
|
overflow-wrap: anywhere;
|
|
141
183
|
}
|
|
142
|
-
.arap-heading button
|
|
184
|
+
.arap-heading button,
|
|
185
|
+
.arap-root .arap-close-btn {
|
|
143
186
|
flex: none;
|
|
187
|
+
display: inline-flex;
|
|
188
|
+
align-items: center;
|
|
189
|
+
justify-content: center;
|
|
144
190
|
width: 44px;
|
|
145
191
|
height: 44px;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
192
|
+
min-width: 44px;
|
|
193
|
+
min-height: 44px;
|
|
194
|
+
padding: 0;
|
|
195
|
+
border: 1px solid var(--arap-divider);
|
|
196
|
+
border-radius: 10px;
|
|
197
|
+
background: var(--arap-control);
|
|
198
|
+
color: var(--arap-text);
|
|
199
|
+
font-size: 24px;
|
|
200
|
+
font-weight: 500;
|
|
152
201
|
line-height: 1;
|
|
153
202
|
}
|
|
154
|
-
.arap-heading button
|
|
155
|
-
|
|
156
|
-
|
|
203
|
+
.arap-heading button {
|
|
204
|
+
margin-top: -4px;
|
|
205
|
+
}
|
|
206
|
+
.arap-heading button:hover,
|
|
207
|
+
.arap-root .arap-close-btn:hover {
|
|
208
|
+
background: var(--arap-selected);
|
|
209
|
+
border-color: var(--arap-accent);
|
|
210
|
+
color: var(--arap-accent);
|
|
157
211
|
}
|
|
158
212
|
.arap-feature {
|
|
159
213
|
display: grid;
|
|
@@ -191,15 +245,41 @@
|
|
|
191
245
|
background: var(--arap-control);
|
|
192
246
|
}
|
|
193
247
|
.arap-root .arap-btn-sm {
|
|
248
|
+
flex: none;
|
|
249
|
+
display: inline-flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
justify-content: center;
|
|
252
|
+
gap: 6px;
|
|
253
|
+
min-width: 44px;
|
|
254
|
+
min-height: 44px;
|
|
255
|
+
padding: 8px 14px;
|
|
256
|
+
border: 1px solid var(--arap-border);
|
|
257
|
+
border-radius: 10px;
|
|
258
|
+
background: var(--arap-surface);
|
|
259
|
+
color: var(--arap-text);
|
|
260
|
+
font-family: var(--arap-font-family);
|
|
261
|
+
font-size: 13px;
|
|
262
|
+
font-weight: 600;
|
|
263
|
+
line-height: 1.25;
|
|
264
|
+
}
|
|
265
|
+
.arap-root .arap-btn-sm:hover:not(:disabled) {
|
|
266
|
+
background: var(--arap-selected);
|
|
267
|
+
border-color: var(--arap-accent);
|
|
268
|
+
color: var(--arap-accent);
|
|
269
|
+
}
|
|
270
|
+
.arap-root .arap-controls .arap-btn-sm {
|
|
194
271
|
flex: none;
|
|
195
272
|
width: 44px;
|
|
196
273
|
height: 44px;
|
|
274
|
+
padding: 0;
|
|
197
275
|
border: 0;
|
|
198
276
|
border-radius: 0;
|
|
199
277
|
background: transparent;
|
|
278
|
+
color: inherit;
|
|
200
279
|
font-size: 22px;
|
|
280
|
+
font-weight: 400;
|
|
201
281
|
}
|
|
202
|
-
.arap-root .arap-btn-sm:hover:not(:disabled) {
|
|
282
|
+
.arap-root .arap-controls .arap-btn-sm:hover:not(:disabled) {
|
|
203
283
|
background: var(--arap-selected);
|
|
204
284
|
color: var(--arap-accent);
|
|
205
285
|
}
|
|
@@ -318,16 +398,20 @@
|
|
|
318
398
|
gap: 10px;
|
|
319
399
|
width: 100%;
|
|
320
400
|
min-height: 48px;
|
|
321
|
-
padding: 10px;
|
|
322
|
-
border: 1px solid var(--arap-
|
|
401
|
+
padding: 10px 16px;
|
|
402
|
+
border: 1px solid var(--arap-accent);
|
|
323
403
|
border-radius: 10px;
|
|
324
|
-
background: var(--arap-
|
|
325
|
-
color:
|
|
404
|
+
background: var(--arap-accent);
|
|
405
|
+
color: #ffffff;
|
|
326
406
|
font-weight: 600;
|
|
327
407
|
}
|
|
408
|
+
.arap-root .arap-reset-btn .arap-icon {
|
|
409
|
+
color: #ffffff;
|
|
410
|
+
stroke: currentColor;
|
|
411
|
+
}
|
|
328
412
|
.arap-root .arap-reset-btn:hover {
|
|
329
|
-
background: var(--arap-
|
|
330
|
-
border-color: var(--arap-accent);
|
|
413
|
+
background: var(--arap-accent-hover);
|
|
414
|
+
border-color: var(--arap-accent-hover);
|
|
331
415
|
}
|
|
332
416
|
@media (max-width: 380px) {
|
|
333
417
|
.arap-root .arap-panel {
|
|
@@ -583,7 +667,7 @@
|
|
|
583
667
|
font-size: 0.9375rem;
|
|
584
668
|
font-weight: 600;
|
|
585
669
|
text-decoration: none;
|
|
586
|
-
color: var(--arap-accent, #
|
|
670
|
+
color: var(--arap-accent, #1d4ed8);
|
|
587
671
|
background: var(--arap-surface, #ffffff);
|
|
588
672
|
border-radius: 8px;
|
|
589
673
|
box-shadow:
|
|
@@ -601,8 +685,8 @@
|
|
|
601
685
|
overflow: visible;
|
|
602
686
|
white-space: normal;
|
|
603
687
|
pointer-events: auto;
|
|
604
|
-
border: 2px solid var(--arap-accent, #
|
|
605
|
-
outline: 3px solid var(--arap-accent, #
|
|
688
|
+
border: 2px solid var(--arap-accent, #1d4ed8);
|
|
689
|
+
outline: 3px solid var(--arap-accent, #1d4ed8);
|
|
606
690
|
outline-offset: 3px;
|
|
607
691
|
display: inline-flex;
|
|
608
692
|
align-items: center;
|
|
@@ -723,7 +807,7 @@
|
|
|
723
807
|
min-height: 48px;
|
|
724
808
|
font-size: 32px;
|
|
725
809
|
}
|
|
726
|
-
.arap-root .arap-panel[data-large-controls="true"] .arap-btn-sm {
|
|
810
|
+
.arap-root .arap-panel[data-large-controls="true"] .arap-controls .arap-btn-sm {
|
|
727
811
|
width: 48px;
|
|
728
812
|
height: 48px;
|
|
729
813
|
min-width: 48px;
|
|
@@ -1108,27 +1192,55 @@
|
|
|
1108
1192
|
position: fixed !important;
|
|
1109
1193
|
left: 0 !important;
|
|
1110
1194
|
right: 0 !important;
|
|
1195
|
+
width: 100vw !important;
|
|
1196
|
+
max-width: none !important;
|
|
1197
|
+
min-width: 0 !important;
|
|
1198
|
+
min-height: 0 !important;
|
|
1199
|
+
margin: 0 !important;
|
|
1200
|
+
padding: 0 !important;
|
|
1201
|
+
transform: none !important;
|
|
1202
|
+
filter: none !important;
|
|
1203
|
+
opacity: 1 !important;
|
|
1204
|
+
transition: none !important;
|
|
1205
|
+
animation: none !important;
|
|
1206
|
+
box-sizing: border-box !important;
|
|
1111
1207
|
pointer-events: none !important;
|
|
1112
1208
|
user-select: none !important;
|
|
1113
1209
|
-webkit-user-select: none !important;
|
|
1114
1210
|
touch-action: none !important;
|
|
1115
|
-
z-index:
|
|
1211
|
+
z-index: 2147482000 !important;
|
|
1116
1212
|
}
|
|
1117
1213
|
|
|
1118
1214
|
.arap-reading-guide {
|
|
1119
1215
|
position: fixed !important;
|
|
1120
1216
|
left: 0 !important;
|
|
1121
1217
|
right: 0 !important;
|
|
1218
|
+
width: 100vw !important;
|
|
1219
|
+
max-width: none !important;
|
|
1220
|
+
min-width: 0 !important;
|
|
1221
|
+
min-height: 0 !important;
|
|
1222
|
+
margin: 0 !important;
|
|
1223
|
+
padding: 0 !important;
|
|
1224
|
+
transform: none !important;
|
|
1225
|
+
filter: none !important;
|
|
1226
|
+
opacity: 1 !important;
|
|
1227
|
+
transition: none !important;
|
|
1228
|
+
animation: none !important;
|
|
1229
|
+
box-sizing: border-box !important;
|
|
1122
1230
|
pointer-events: none !important;
|
|
1123
1231
|
user-select: none !important;
|
|
1124
1232
|
-webkit-user-select: none !important;
|
|
1125
1233
|
touch-action: none !important;
|
|
1126
|
-
z-index:
|
|
1234
|
+
z-index: 2147482000 !important;
|
|
1127
1235
|
}
|
|
1128
1236
|
|
|
1129
1237
|
.arap-feature-expandable {
|
|
1238
|
+
display: flex !important;
|
|
1239
|
+
grid-template-columns: none !important;
|
|
1130
1240
|
flex-direction: column !important;
|
|
1131
1241
|
align-items: stretch !important;
|
|
1242
|
+
gap: 10px !important;
|
|
1243
|
+
min-width: 0;
|
|
1132
1244
|
}
|
|
1133
1245
|
|
|
1134
1246
|
/* Accessible Tooltips (A11Y-302) */
|
|
@@ -1141,9 +1253,13 @@
|
|
|
1141
1253
|
padding: 6px 12px !important;
|
|
1142
1254
|
background: #0f172a !important;
|
|
1143
1255
|
color: #ffffff !important;
|
|
1144
|
-
font-family:
|
|
1145
|
-
-
|
|
1146
|
-
|
|
1256
|
+
font-family: var(
|
|
1257
|
+
--arap-font-family,
|
|
1258
|
+
"Manrope",
|
|
1259
|
+
system-ui,
|
|
1260
|
+
-apple-system,
|
|
1261
|
+
sans-serif
|
|
1262
|
+
) !important;
|
|
1147
1263
|
font-size: 13px !important;
|
|
1148
1264
|
line-height: 1.4 !important;
|
|
1149
1265
|
font-weight: 500 !important;
|
|
@@ -1229,8 +1345,8 @@
|
|
|
1229
1345
|
}
|
|
1230
1346
|
|
|
1231
1347
|
.arap-navigator-tab-active {
|
|
1232
|
-
color: var(--arap-accent, #
|
|
1233
|
-
background: var(--arap-selected, #
|
|
1348
|
+
color: var(--arap-accent, #1d4ed8) !important;
|
|
1349
|
+
background: var(--arap-selected, #eff6ff) !important;
|
|
1234
1350
|
}
|
|
1235
1351
|
|
|
1236
1352
|
.arap-navigator-search-box {
|
|
@@ -1249,7 +1365,7 @@
|
|
|
1249
1365
|
}
|
|
1250
1366
|
|
|
1251
1367
|
.arap-navigator-search:focus {
|
|
1252
|
-
outline: 2px solid var(--arap-accent, #
|
|
1368
|
+
outline: 2px solid var(--arap-accent, #1d4ed8);
|
|
1253
1369
|
outline-offset: 1px;
|
|
1254
1370
|
}
|
|
1255
1371
|
|
|
@@ -1295,9 +1411,9 @@
|
|
|
1295
1411
|
|
|
1296
1412
|
.arap-navigator-jump-btn:hover,
|
|
1297
1413
|
.arap-navigator-jump-btn:focus-visible {
|
|
1298
|
-
background: var(--arap-selected, #
|
|
1299
|
-
border-color: var(--arap-accent, #
|
|
1300
|
-
outline: 2px solid var(--arap-accent, #
|
|
1414
|
+
background: var(--arap-selected, #eff6ff);
|
|
1415
|
+
border-color: var(--arap-accent, #1d4ed8);
|
|
1416
|
+
outline: 2px solid var(--arap-accent, #1d4ed8);
|
|
1301
1417
|
outline-offset: -1px;
|
|
1302
1418
|
}
|
|
1303
1419
|
|
|
@@ -1345,9 +1461,12 @@
|
|
|
1345
1461
|
}
|
|
1346
1462
|
|
|
1347
1463
|
.arap-navigator-item-text {
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
white-space:
|
|
1464
|
+
flex: 1 1 auto;
|
|
1465
|
+
min-width: 0;
|
|
1466
|
+
white-space: normal;
|
|
1467
|
+
overflow-wrap: anywhere;
|
|
1468
|
+
text-align: start;
|
|
1469
|
+
line-height: 1.45;
|
|
1351
1470
|
}
|
|
1352
1471
|
|
|
1353
1472
|
.arap-navigator-empty {
|
|
@@ -1553,16 +1672,24 @@
|
|
|
1553
1672
|
|
|
1554
1673
|
.arap-search-clear {
|
|
1555
1674
|
position: absolute;
|
|
1556
|
-
inset-inline-end:
|
|
1675
|
+
inset-inline-end: 4px;
|
|
1557
1676
|
top: 50%;
|
|
1558
1677
|
transform: translateY(-50%);
|
|
1559
|
-
|
|
1678
|
+
display: inline-flex;
|
|
1679
|
+
align-items: center;
|
|
1680
|
+
justify-content: center;
|
|
1681
|
+
width: 36px;
|
|
1682
|
+
height: 36px;
|
|
1683
|
+
min-width: 36px;
|
|
1684
|
+
min-height: 36px;
|
|
1685
|
+
border: 1px solid transparent;
|
|
1560
1686
|
background: transparent;
|
|
1561
1687
|
cursor: pointer;
|
|
1562
|
-
padding:
|
|
1563
|
-
font-size:
|
|
1564
|
-
|
|
1565
|
-
|
|
1688
|
+
padding: 0;
|
|
1689
|
+
font-size: 16px;
|
|
1690
|
+
line-height: 1;
|
|
1691
|
+
color: var(--arap-muted, #475569);
|
|
1692
|
+
border-radius: 6px;
|
|
1566
1693
|
}
|
|
1567
1694
|
|
|
1568
1695
|
.arap-search-clear:hover {
|
|
@@ -1608,15 +1735,7 @@
|
|
|
1608
1735
|
flex-direction: column;
|
|
1609
1736
|
outline: none;
|
|
1610
1737
|
box-sizing: border-box;
|
|
1611
|
-
font-family:
|
|
1612
|
-
system-ui,
|
|
1613
|
-
-apple-system,
|
|
1614
|
-
BlinkMacSystemFont,
|
|
1615
|
-
"Segoe UI",
|
|
1616
|
-
Roboto,
|
|
1617
|
-
"Noto Sans Sinhala",
|
|
1618
|
-
"Noto Sans Tamil",
|
|
1619
|
-
sans-serif;
|
|
1738
|
+
font-family: var(--arap-font-family, "Manrope", system-ui, sans-serif);
|
|
1620
1739
|
transition:
|
|
1621
1740
|
background-color 0.2s ease,
|
|
1622
1741
|
color 0.2s ease;
|
|
@@ -2003,9 +2122,9 @@
|
|
|
2003
2122
|
}
|
|
2004
2123
|
|
|
2005
2124
|
.arap-category-pill-active {
|
|
2006
|
-
background: var(--arap-selected, #
|
|
2007
|
-
color: var(--arap-accent, #
|
|
2008
|
-
border-color: var(--arap-accent, #
|
|
2125
|
+
background: var(--arap-selected, #eff6ff);
|
|
2126
|
+
color: var(--arap-accent, #1d4ed8);
|
|
2127
|
+
border-color: var(--arap-accent, #1d4ed8);
|
|
2009
2128
|
font-weight: 600;
|
|
2010
2129
|
}
|
|
2011
2130
|
|
|
@@ -2052,7 +2171,7 @@
|
|
|
2052
2171
|
font-family: ui-monospace, monospace;
|
|
2053
2172
|
background: #ffffff;
|
|
2054
2173
|
color: #0f172a;
|
|
2055
|
-
border: 2px solid var(--arap-accent, #
|
|
2174
|
+
border: 2px solid var(--arap-accent, #1d4ed8);
|
|
2056
2175
|
border-radius: 6px;
|
|
2057
2176
|
outline: none;
|
|
2058
2177
|
}
|
|
@@ -2156,7 +2275,7 @@
|
|
|
2156
2275
|
.arap-btn-link {
|
|
2157
2276
|
background: transparent;
|
|
2158
2277
|
border: none;
|
|
2159
|
-
color: var(--arap-accent, #
|
|
2278
|
+
color: var(--arap-accent, #1d4ed8);
|
|
2160
2279
|
cursor: pointer;
|
|
2161
2280
|
font-size: 0.8125rem;
|
|
2162
2281
|
text-decoration: underline;
|
|
@@ -2220,8 +2339,8 @@
|
|
|
2220
2339
|
display: inline-flex;
|
|
2221
2340
|
align-items: center;
|
|
2222
2341
|
gap: 6px;
|
|
2223
|
-
background:
|
|
2224
|
-
color: var(--arap-accent, #
|
|
2342
|
+
background: var(--arap-selected, #eff6ff);
|
|
2343
|
+
color: var(--arap-accent, #1d4ed8);
|
|
2225
2344
|
padding: 3px 10px;
|
|
2226
2345
|
border-radius: 9999px;
|
|
2227
2346
|
font-size: 0.75rem;
|
|
@@ -2234,11 +2353,12 @@
|
|
|
2234
2353
|
height: 8px;
|
|
2235
2354
|
border-radius: 50%;
|
|
2236
2355
|
background: currentColor;
|
|
2237
|
-
box-shadow: 0 0 0 2px rgba(
|
|
2356
|
+
box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.25);
|
|
2238
2357
|
}
|
|
2239
2358
|
|
|
2240
2359
|
.arap-read-aloud-controls {
|
|
2241
2360
|
display: flex;
|
|
2361
|
+
flex-wrap: wrap;
|
|
2242
2362
|
gap: 8px;
|
|
2243
2363
|
margin-bottom: 12px;
|
|
2244
2364
|
}
|
|
@@ -2246,12 +2366,12 @@
|
|
|
2246
2366
|
.arap-read-aloud-play-btn,
|
|
2247
2367
|
.arap-read-aloud-pause-btn,
|
|
2248
2368
|
.arap-read-aloud-resume-btn {
|
|
2249
|
-
flex: 1;
|
|
2369
|
+
flex: 1 1 140px;
|
|
2250
2370
|
display: inline-flex;
|
|
2251
2371
|
align-items: center;
|
|
2252
2372
|
justify-content: center;
|
|
2253
2373
|
gap: 6px;
|
|
2254
|
-
background: var(--arap-accent, #
|
|
2374
|
+
background: var(--arap-accent, #1d4ed8);
|
|
2255
2375
|
color: #ffffff;
|
|
2256
2376
|
border: none;
|
|
2257
2377
|
border-radius: 6px;
|
|
@@ -2330,7 +2450,7 @@
|
|
|
2330
2450
|
|
|
2331
2451
|
.arap-read-aloud-pill-active {
|
|
2332
2452
|
background: var(--arap-surface, #ffffff);
|
|
2333
|
-
color: var(--arap-accent, #
|
|
2453
|
+
color: var(--arap-accent, #1d4ed8);
|
|
2334
2454
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
|
|
2335
2455
|
}
|
|
2336
2456
|
|
|
@@ -2354,10 +2474,10 @@
|
|
|
2354
2474
|
/* Floating Mini-Player Bar */
|
|
2355
2475
|
.arap-read-aloud-bar {
|
|
2356
2476
|
position: fixed;
|
|
2357
|
-
bottom:
|
|
2477
|
+
bottom: max(16px, env(safe-area-inset-bottom));
|
|
2358
2478
|
left: 50%;
|
|
2359
2479
|
transform: translateX(-50%);
|
|
2360
|
-
z-index:
|
|
2480
|
+
z-index: 2147483050;
|
|
2361
2481
|
background: var(--arap-surface, #ffffff);
|
|
2362
2482
|
color: var(--arap-text, #0f172a);
|
|
2363
2483
|
border: 1px solid var(--arap-border, #cbd5e1);
|
|
@@ -2366,7 +2486,7 @@
|
|
|
2366
2486
|
0 10px 25px -5px rgba(0, 0, 0, 0.2),
|
|
2367
2487
|
0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
2368
2488
|
padding: 8px 14px;
|
|
2369
|
-
max-width:
|
|
2489
|
+
max-width: calc(100vw - 32px);
|
|
2370
2490
|
width: 440px;
|
|
2371
2491
|
animation: arapFadeSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2372
2492
|
}
|
|
@@ -2378,7 +2498,7 @@
|
|
|
2378
2498
|
}
|
|
2379
2499
|
|
|
2380
2500
|
.arap-read-aloud-bar-icon {
|
|
2381
|
-
color: var(--arap-accent, #
|
|
2501
|
+
color: var(--arap-accent, #1d4ed8);
|
|
2382
2502
|
display: flex;
|
|
2383
2503
|
align-items: center;
|
|
2384
2504
|
}
|
|
@@ -2415,9 +2535,12 @@
|
|
|
2415
2535
|
background: var(--arap-control, #f1f5f9);
|
|
2416
2536
|
color: var(--arap-text, #0f172a);
|
|
2417
2537
|
border: 1px solid var(--arap-border, #cbd5e1);
|
|
2418
|
-
border-radius:
|
|
2419
|
-
width:
|
|
2420
|
-
height:
|
|
2538
|
+
border-radius: 8px;
|
|
2539
|
+
width: 44px;
|
|
2540
|
+
height: 44px;
|
|
2541
|
+
min-width: 44px;
|
|
2542
|
+
min-height: 44px;
|
|
2543
|
+
font-family: var(--arap-font-family);
|
|
2421
2544
|
display: flex;
|
|
2422
2545
|
align-items: center;
|
|
2423
2546
|
justify-content: center;
|
|
@@ -2430,8 +2553,13 @@
|
|
|
2430
2553
|
background: var(--arap-border, #e2e8f0);
|
|
2431
2554
|
}
|
|
2432
2555
|
|
|
2556
|
+
.arap-read-aloud-bar-btn:focus-visible {
|
|
2557
|
+
outline: 3px solid var(--arap-accent, #1d4ed8);
|
|
2558
|
+
outline-offset: 2px;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2433
2561
|
.arap-read-aloud-bar-btn.astop:hover {
|
|
2434
|
-
color: #
|
|
2562
|
+
color: #b91c1c;
|
|
2435
2563
|
}
|
|
2436
2564
|
|
|
2437
2565
|
@keyframes arapFadeSlideUp {
|
|
@@ -2454,7 +2582,7 @@
|
|
|
2454
2582
|
inset: 0;
|
|
2455
2583
|
background-color: rgba(15, 23, 42, 0.45);
|
|
2456
2584
|
backdrop-filter: blur(2px);
|
|
2457
|
-
z-index:
|
|
2585
|
+
z-index: 2147483100;
|
|
2458
2586
|
display: flex;
|
|
2459
2587
|
align-items: center;
|
|
2460
2588
|
justify-content: center;
|
|
@@ -3273,6 +3401,8 @@
|
|
|
3273
3401
|
display: flex;
|
|
3274
3402
|
flex-direction: column;
|
|
3275
3403
|
gap: 8px;
|
|
3404
|
+
min-width: 0;
|
|
3405
|
+
max-width: 100%;
|
|
3276
3406
|
}
|
|
3277
3407
|
|
|
3278
3408
|
.arap-voice-toggle-row {
|
|
@@ -3413,7 +3543,7 @@
|
|
|
3413
3543
|
|
|
3414
3544
|
.arap-action-grid {
|
|
3415
3545
|
display: grid;
|
|
3416
|
-
grid-template-columns: repeat(
|
|
3546
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
|
|
3417
3547
|
gap: 6px;
|
|
3418
3548
|
}
|
|
3419
3549
|
|
|
@@ -3603,3 +3733,1064 @@
|
|
|
3603
3733
|
border: 1px solid CanvasText;
|
|
3604
3734
|
}
|
|
3605
3735
|
}
|
|
3736
|
+
|
|
3737
|
+
/* ==========================================================================
|
|
3738
|
+
Unified Clean Light Buttons, Inputs, Cards, Modals & Desktop Resizing
|
|
3739
|
+
========================================================================== */
|
|
3740
|
+
|
|
3741
|
+
.arap-root .arap-panel,
|
|
3742
|
+
.arap-root .arap-tools {
|
|
3743
|
+
overflow-x: clip;
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
.arap-root .arap-feature-row-between {
|
|
3747
|
+
display: flex;
|
|
3748
|
+
align-items: center;
|
|
3749
|
+
justify-content: space-between;
|
|
3750
|
+
gap: 12px;
|
|
3751
|
+
width: 100%;
|
|
3752
|
+
min-width: 0;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
.arap-root .arap-nav-actions {
|
|
3756
|
+
display: inline-flex;
|
|
3757
|
+
align-items: center;
|
|
3758
|
+
gap: 6px;
|
|
3759
|
+
flex-shrink: 0;
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
.arap-root .arap-label-title {
|
|
3763
|
+
display: block;
|
|
3764
|
+
font-size: 15px;
|
|
3765
|
+
font-weight: 600;
|
|
3766
|
+
color: var(--arap-text);
|
|
3767
|
+
line-height: 1.35;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
.arap-root .arap-label-sub {
|
|
3771
|
+
display: block;
|
|
3772
|
+
font-size: 12px;
|
|
3773
|
+
font-weight: 400;
|
|
3774
|
+
color: var(--arap-muted);
|
|
3775
|
+
margin-top: 2px;
|
|
3776
|
+
line-height: 1.45;
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
.arap-root .arap-profile-inline-active {
|
|
3780
|
+
color: var(--arap-accent);
|
|
3781
|
+
font-weight: 600;
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3784
|
+
.arap-root .arap-btn-primary,
|
|
3785
|
+
.arap-root .arap-btn-action,
|
|
3786
|
+
.arap-root .arap-button.arap-voice-toggle-btn {
|
|
3787
|
+
display: inline-flex;
|
|
3788
|
+
align-items: center;
|
|
3789
|
+
justify-content: center;
|
|
3790
|
+
gap: 8px;
|
|
3791
|
+
min-height: 44px;
|
|
3792
|
+
min-width: 44px;
|
|
3793
|
+
padding: 10px 16px;
|
|
3794
|
+
border: 1px solid var(--arap-accent);
|
|
3795
|
+
border-radius: 10px;
|
|
3796
|
+
background: var(--arap-accent);
|
|
3797
|
+
color: #ffffff;
|
|
3798
|
+
font-family: var(--arap-font-family);
|
|
3799
|
+
font-size: 14px;
|
|
3800
|
+
font-weight: 600;
|
|
3801
|
+
line-height: 1.25;
|
|
3802
|
+
text-decoration: none;
|
|
3803
|
+
cursor: pointer;
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
.arap-root .arap-btn-primary .arap-icon,
|
|
3807
|
+
.arap-root .arap-btn-action .arap-icon,
|
|
3808
|
+
.arap-root .arap-button.arap-voice-toggle-btn .arap-icon {
|
|
3809
|
+
color: #ffffff;
|
|
3810
|
+
stroke: currentColor;
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
.arap-root .arap-btn-primary:hover:not(:disabled),
|
|
3814
|
+
.arap-root .arap-btn-action:hover:not(:disabled),
|
|
3815
|
+
.arap-root .arap-button.arap-voice-toggle-btn:hover:not(:disabled) {
|
|
3816
|
+
background: var(--arap-accent-hover);
|
|
3817
|
+
border-color: var(--arap-accent-hover);
|
|
3818
|
+
color: #ffffff;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
.arap-root .arap-btn-secondary,
|
|
3822
|
+
.arap-root .arap-action-btn:not(.arap-btn-primary),
|
|
3823
|
+
.arap-root .arap-button:not(.arap-btn-primary) {
|
|
3824
|
+
display: inline-flex;
|
|
3825
|
+
align-items: center;
|
|
3826
|
+
justify-content: center;
|
|
3827
|
+
gap: 6px;
|
|
3828
|
+
min-height: 44px;
|
|
3829
|
+
min-width: 44px;
|
|
3830
|
+
padding: 8px 14px;
|
|
3831
|
+
border: 1px solid var(--arap-border);
|
|
3832
|
+
border-radius: 10px;
|
|
3833
|
+
background: var(--arap-surface);
|
|
3834
|
+
color: var(--arap-text);
|
|
3835
|
+
font-family: var(--arap-font-family);
|
|
3836
|
+
font-size: 13px;
|
|
3837
|
+
font-weight: 600;
|
|
3838
|
+
line-height: 1.25;
|
|
3839
|
+
cursor: pointer;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
.arap-root .arap-btn-secondary:hover:not(:disabled),
|
|
3843
|
+
.arap-root .arap-action-btn:not(.arap-btn-primary):hover:not(:disabled),
|
|
3844
|
+
.arap-root .arap-button:not(.arap-btn-primary):hover:not(:disabled) {
|
|
3845
|
+
background: var(--arap-selected);
|
|
3846
|
+
border-color: var(--arap-accent);
|
|
3847
|
+
color: var(--arap-accent);
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
.arap-root .arap-btn-danger {
|
|
3851
|
+
display: inline-flex;
|
|
3852
|
+
align-items: center;
|
|
3853
|
+
justify-content: center;
|
|
3854
|
+
gap: 6px;
|
|
3855
|
+
min-height: 44px;
|
|
3856
|
+
min-width: 44px;
|
|
3857
|
+
padding: 8px 14px;
|
|
3858
|
+
border: 1px solid #fecaca;
|
|
3859
|
+
border-radius: 10px;
|
|
3860
|
+
background: #fef2f2;
|
|
3861
|
+
color: #b91c1c;
|
|
3862
|
+
font-family: var(--arap-font-family);
|
|
3863
|
+
font-size: 13px;
|
|
3864
|
+
font-weight: 600;
|
|
3865
|
+
line-height: 1.25;
|
|
3866
|
+
cursor: pointer;
|
|
3867
|
+
}
|
|
3868
|
+
|
|
3869
|
+
.arap-root .arap-btn-danger:hover:not(:disabled) {
|
|
3870
|
+
background: #fee2e2;
|
|
3871
|
+
border-color: #dc2626;
|
|
3872
|
+
color: #991b1b;
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
.arap-root .arap-btn-compact {
|
|
3876
|
+
min-height: 44px;
|
|
3877
|
+
min-width: 44px;
|
|
3878
|
+
width: auto;
|
|
3879
|
+
height: auto;
|
|
3880
|
+
padding: 8px 14px;
|
|
3881
|
+
font-size: 13px;
|
|
3882
|
+
font-weight: 600;
|
|
3883
|
+
white-space: nowrap;
|
|
3884
|
+
flex: none;
|
|
3885
|
+
}
|
|
3886
|
+
|
|
3887
|
+
.arap-root .arap-btn-ghost,
|
|
3888
|
+
.arap-root .arap-unsupported-toggle {
|
|
3889
|
+
display: inline-flex;
|
|
3890
|
+
align-items: center;
|
|
3891
|
+
justify-content: center;
|
|
3892
|
+
gap: 6px;
|
|
3893
|
+
width: 100%;
|
|
3894
|
+
min-height: 44px;
|
|
3895
|
+
padding: 8px 12px;
|
|
3896
|
+
border: 1px dashed var(--arap-border);
|
|
3897
|
+
border-radius: 10px;
|
|
3898
|
+
background: transparent;
|
|
3899
|
+
color: var(--arap-accent);
|
|
3900
|
+
font-family: var(--arap-font-family);
|
|
3901
|
+
font-size: 13px;
|
|
3902
|
+
font-weight: 600;
|
|
3903
|
+
text-decoration: none;
|
|
3904
|
+
cursor: pointer;
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
.arap-root .arap-btn-ghost:hover:not(:disabled),
|
|
3908
|
+
.arap-root .arap-unsupported-toggle:hover:not(:disabled) {
|
|
3909
|
+
background: var(--arap-selected);
|
|
3910
|
+
border-style: solid;
|
|
3911
|
+
border-color: var(--arap-accent);
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
.arap-root .arap-feature-btn {
|
|
3915
|
+
display: flex;
|
|
3916
|
+
align-items: center;
|
|
3917
|
+
gap: 12px;
|
|
3918
|
+
width: 100%;
|
|
3919
|
+
min-height: 52px;
|
|
3920
|
+
padding: 10px 14px;
|
|
3921
|
+
border: 1.5px solid var(--arap-border);
|
|
3922
|
+
border-radius: 12px;
|
|
3923
|
+
background: var(--arap-control);
|
|
3924
|
+
color: var(--arap-text);
|
|
3925
|
+
font-family: var(--arap-font-family);
|
|
3926
|
+
text-align: start;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
.arap-root .arap-feature-btn:hover:not(:disabled) {
|
|
3930
|
+
background: var(--arap-selected);
|
|
3931
|
+
border-color: var(--arap-accent);
|
|
3932
|
+
}
|
|
3933
|
+
|
|
3934
|
+
.arap-root .arap-feature-btn-icon {
|
|
3935
|
+
display: inline-flex;
|
|
3936
|
+
align-items: center;
|
|
3937
|
+
justify-content: center;
|
|
3938
|
+
width: 36px;
|
|
3939
|
+
height: 36px;
|
|
3940
|
+
flex: none;
|
|
3941
|
+
border-radius: 10px;
|
|
3942
|
+
background: var(--arap-selected);
|
|
3943
|
+
color: var(--arap-accent);
|
|
3944
|
+
}
|
|
3945
|
+
|
|
3946
|
+
.arap-root .arap-feature-btn-content {
|
|
3947
|
+
flex: 1 1 auto;
|
|
3948
|
+
min-width: 0;
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
.arap-root .arap-feature-btn-label {
|
|
3952
|
+
display: block;
|
|
3953
|
+
font-size: 15px;
|
|
3954
|
+
font-weight: 600;
|
|
3955
|
+
color: var(--arap-text);
|
|
3956
|
+
line-height: 1.35;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
.arap-root .arap-feature-btn-desc {
|
|
3960
|
+
display: block;
|
|
3961
|
+
font-size: 12px;
|
|
3962
|
+
color: var(--arap-muted);
|
|
3963
|
+
line-height: 1.45;
|
|
3964
|
+
margin-top: 2px;
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
.arap-root .arap-feature-item {
|
|
3968
|
+
display: flex;
|
|
3969
|
+
flex-direction: column;
|
|
3970
|
+
gap: 10px;
|
|
3971
|
+
padding: 16px 0;
|
|
3972
|
+
border-bottom: 1px solid var(--arap-divider);
|
|
3973
|
+
min-width: 0;
|
|
3974
|
+
}
|
|
3975
|
+
|
|
3976
|
+
.arap-root .arap-feature-item:last-child {
|
|
3977
|
+
border-bottom: 0;
|
|
3978
|
+
padding-bottom: 0;
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
.arap-root .arap-feature-item > .arap-feature-header {
|
|
3982
|
+
display: flex;
|
|
3983
|
+
flex-direction: column;
|
|
3984
|
+
gap: 4px;
|
|
3985
|
+
min-width: 0;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.arap-root .arap-feature-title-row {
|
|
3989
|
+
display: flex;
|
|
3990
|
+
align-items: center;
|
|
3991
|
+
flex-wrap: wrap;
|
|
3992
|
+
gap: 8px;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
.arap-root .arap-feature-name {
|
|
3996
|
+
font-size: 15px;
|
|
3997
|
+
font-weight: 600;
|
|
3998
|
+
color: var(--arap-text);
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
.arap-root .arap-feature-desc {
|
|
4002
|
+
margin: 0;
|
|
4003
|
+
font-size: 12px;
|
|
4004
|
+
color: var(--arap-muted);
|
|
4005
|
+
line-height: 1.45;
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
.arap-root .arap-prototype-notice {
|
|
4009
|
+
margin: 0;
|
|
4010
|
+
padding: 10px 12px;
|
|
4011
|
+
border-radius: 10px;
|
|
4012
|
+
border: 1px solid #bfdbfe;
|
|
4013
|
+
background: #eff6ff;
|
|
4014
|
+
color: #1e3a8a;
|
|
4015
|
+
font-size: 12px;
|
|
4016
|
+
line-height: 1.45;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
.arap-root .arap-translation-status-banner {
|
|
4020
|
+
padding: 9px 12px;
|
|
4021
|
+
border-radius: 10px;
|
|
4022
|
+
border: 1px solid var(--arap-divider);
|
|
4023
|
+
background: var(--arap-control);
|
|
4024
|
+
color: var(--arap-muted);
|
|
4025
|
+
font-size: 12px;
|
|
4026
|
+
font-weight: 500;
|
|
4027
|
+
line-height: 1.45;
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
.arap-root .arap-translation-status-banner.arap-is-active {
|
|
4031
|
+
background: #f0fdf4;
|
|
4032
|
+
border-color: #bbf7d0;
|
|
4033
|
+
color: #166534;
|
|
4034
|
+
font-weight: 600;
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
.arap-root .arap-input,
|
|
4038
|
+
.arap-root .arap-select,
|
|
4039
|
+
.arap-root .arap-search-input,
|
|
4040
|
+
.arap-root .arap-dict-input,
|
|
4041
|
+
.arap-root .arap-translation-select,
|
|
4042
|
+
.arap-root .arap-read-aloud-select {
|
|
4043
|
+
width: 100%;
|
|
4044
|
+
max-width: 100%;
|
|
4045
|
+
min-height: 44px;
|
|
4046
|
+
padding: 10px 14px;
|
|
4047
|
+
border: 1.5px solid var(--arap-border);
|
|
4048
|
+
border-radius: 10px;
|
|
4049
|
+
background: var(--arap-surface);
|
|
4050
|
+
color: var(--arap-text);
|
|
4051
|
+
font-family: var(--arap-font-family);
|
|
4052
|
+
font-size: 14px;
|
|
4053
|
+
line-height: 1.4;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
.arap-root .arap-navigator-search,
|
|
4057
|
+
.arap-root .arap-navigator-search-box,
|
|
4058
|
+
.arap-root .arap-shortcuts-search,
|
|
4059
|
+
.arap-root .arap-dict-search-wrapper {
|
|
4060
|
+
position: relative;
|
|
4061
|
+
display: flex;
|
|
4062
|
+
align-items: center;
|
|
4063
|
+
width: 100%;
|
|
4064
|
+
min-width: 0;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
.arap-root .arap-navigator-search > .arap-search-input,
|
|
4068
|
+
.arap-root .arap-navigator-search-box > .arap-search-input,
|
|
4069
|
+
.arap-root .arap-shortcuts-search > .arap-search-input,
|
|
4070
|
+
.arap-root .arap-dict-search-wrapper > .arap-dict-input {
|
|
4071
|
+
padding-inline-end: 48px;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
.arap-root .arap-navigator-search-box > input.arap-navigator-search {
|
|
4075
|
+
padding-inline-end: 48px;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
.arap-root .arap-search-clear {
|
|
4079
|
+
width: 44px;
|
|
4080
|
+
height: 44px;
|
|
4081
|
+
min-width: 44px;
|
|
4082
|
+
min-height: 44px;
|
|
4083
|
+
inset-inline-end: 2px;
|
|
4084
|
+
}
|
|
4085
|
+
|
|
4086
|
+
.arap-root .arap-input:focus-visible,
|
|
4087
|
+
.arap-root .arap-select:focus-visible,
|
|
4088
|
+
.arap-root .arap-search-input:focus-visible,
|
|
4089
|
+
.arap-root .arap-dict-input:focus-visible,
|
|
4090
|
+
.arap-root .arap-translation-select:focus-visible,
|
|
4091
|
+
.arap-root .arap-read-aloud-select:focus-visible {
|
|
4092
|
+
outline: 3px solid var(--arap-accent);
|
|
4093
|
+
outline-offset: 2px;
|
|
4094
|
+
border-color: var(--arap-accent);
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
/* Feature Groups & Collapsible Accordions (#197) */
|
|
4098
|
+
.arap-root .arap-feature-group {
|
|
4099
|
+
margin: 14px 0;
|
|
4100
|
+
padding: 12px 14px;
|
|
4101
|
+
border: 1px solid var(--arap-divider);
|
|
4102
|
+
border-radius: 14px;
|
|
4103
|
+
background: var(--arap-surface);
|
|
4104
|
+
min-width: 0;
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
.arap-root .arap-feature-group:first-child {
|
|
4108
|
+
margin-top: 8px;
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
.arap-root .arap-group-header {
|
|
4112
|
+
margin: 0;
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
.arap-root .arap-group-header-static {
|
|
4116
|
+
padding-bottom: 8px;
|
|
4117
|
+
border-bottom: 1px solid var(--arap-divider);
|
|
4118
|
+
margin-bottom: 4px;
|
|
4119
|
+
}
|
|
4120
|
+
|
|
4121
|
+
.arap-root .arap-group-toggle {
|
|
4122
|
+
display: flex;
|
|
4123
|
+
align-items: center;
|
|
4124
|
+
justify-content: space-between;
|
|
4125
|
+
gap: 12px;
|
|
4126
|
+
width: 100%;
|
|
4127
|
+
min-height: 44px;
|
|
4128
|
+
padding: 4px 2px;
|
|
4129
|
+
border: 0;
|
|
4130
|
+
border-radius: 8px;
|
|
4131
|
+
background: transparent;
|
|
4132
|
+
color: var(--arap-text);
|
|
4133
|
+
text-align: start;
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
.arap-root .arap-group-toggle:hover {
|
|
4137
|
+
background: var(--arap-control);
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
.arap-root .arap-group-heading-block {
|
|
4141
|
+
flex: 1 1 auto;
|
|
4142
|
+
min-width: 0;
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
.arap-root .arap-group-title-row {
|
|
4146
|
+
display: flex;
|
|
4147
|
+
align-items: center;
|
|
4148
|
+
flex-wrap: wrap;
|
|
4149
|
+
gap: 8px;
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
.arap-root .arap-group-title {
|
|
4153
|
+
margin: 0;
|
|
4154
|
+
font-family: var(--arap-font-family);
|
|
4155
|
+
font-size: 14px;
|
|
4156
|
+
font-weight: 700;
|
|
4157
|
+
color: var(--arap-text);
|
|
4158
|
+
letter-spacing: -0.01em;
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
.arap-root .arap-group-badge {
|
|
4162
|
+
display: inline-flex;
|
|
4163
|
+
align-items: center;
|
|
4164
|
+
padding: 2px 8px;
|
|
4165
|
+
border-radius: 999px;
|
|
4166
|
+
font-size: 11px;
|
|
4167
|
+
font-weight: 600;
|
|
4168
|
+
background: var(--arap-selected);
|
|
4169
|
+
color: var(--arap-accent);
|
|
4170
|
+
border: 1px solid #bfdbfe;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
.arap-root .arap-group-desc {
|
|
4174
|
+
display: block;
|
|
4175
|
+
margin: 2px 0 0;
|
|
4176
|
+
font-size: 12px;
|
|
4177
|
+
font-weight: 400;
|
|
4178
|
+
color: var(--arap-muted);
|
|
4179
|
+
line-height: 1.4;
|
|
4180
|
+
}
|
|
4181
|
+
|
|
4182
|
+
.arap-root .arap-group-chevron {
|
|
4183
|
+
width: 18px;
|
|
4184
|
+
height: 18px;
|
|
4185
|
+
flex: none;
|
|
4186
|
+
color: var(--arap-muted);
|
|
4187
|
+
transition: transform 0.15s ease;
|
|
4188
|
+
}
|
|
4189
|
+
|
|
4190
|
+
.arap-root .arap-group-chevron.arap-is-open {
|
|
4191
|
+
transform: rotate(180deg);
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
.arap-root .arap-group-body {
|
|
4195
|
+
padding-top: 4px;
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
.arap-root .arap-group-body[hidden] {
|
|
4199
|
+
display: none !important;
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4202
|
+
/* Shared Spacious Modal Dialog (#183, #185, #195, #197) */
|
|
4203
|
+
.arap-root .arap-modal-overlay {
|
|
4204
|
+
position: fixed;
|
|
4205
|
+
inset: 0;
|
|
4206
|
+
z-index: 2147483100;
|
|
4207
|
+
display: flex;
|
|
4208
|
+
align-items: center;
|
|
4209
|
+
justify-content: center;
|
|
4210
|
+
padding: max(16px, env(safe-area-inset-top))
|
|
4211
|
+
max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom))
|
|
4212
|
+
max(16px, env(safe-area-inset-left));
|
|
4213
|
+
background: rgba(15, 23, 42, 0.48);
|
|
4214
|
+
backdrop-filter: blur(3px);
|
|
4215
|
+
overscroll-behavior: contain;
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
.arap-root .arap-modal {
|
|
4219
|
+
width: 100%;
|
|
4220
|
+
max-height: calc(100dvh - 32px);
|
|
4221
|
+
display: flex;
|
|
4222
|
+
flex-direction: column;
|
|
4223
|
+
border: 1px solid var(--arap-divider);
|
|
4224
|
+
border-radius: 18px;
|
|
4225
|
+
background: var(--arap-surface);
|
|
4226
|
+
color: var(--arap-text);
|
|
4227
|
+
font-family: var(--arap-font-family);
|
|
4228
|
+
box-shadow:
|
|
4229
|
+
0 20px 25px -5px rgba(15, 23, 42, 0.16),
|
|
4230
|
+
0 8px 10px -6px rgba(15, 23, 42, 0.08);
|
|
4231
|
+
overflow: hidden;
|
|
4232
|
+
outline: none;
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4235
|
+
.arap-root .arap-modal-md {
|
|
4236
|
+
max-width: 560px;
|
|
4237
|
+
}
|
|
4238
|
+
|
|
4239
|
+
.arap-root .arap-modal-lg {
|
|
4240
|
+
max-width: 780px;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4243
|
+
.arap-root .arap-modal-full {
|
|
4244
|
+
width: min(960px, 100%);
|
|
4245
|
+
height: min(760px, calc(100dvh - 32px));
|
|
4246
|
+
}
|
|
4247
|
+
|
|
4248
|
+
.arap-root .arap-modal-header {
|
|
4249
|
+
flex: none;
|
|
4250
|
+
display: flex;
|
|
4251
|
+
align-items: flex-start;
|
|
4252
|
+
justify-content: space-between;
|
|
4253
|
+
gap: 14px;
|
|
4254
|
+
padding: 18px 22px;
|
|
4255
|
+
border-bottom: 1px solid var(--arap-divider);
|
|
4256
|
+
background: var(--arap-control);
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
.arap-root .arap-modal-title-group {
|
|
4260
|
+
display: flex;
|
|
4261
|
+
align-items: flex-start;
|
|
4262
|
+
gap: 12px;
|
|
4263
|
+
min-width: 0;
|
|
4264
|
+
flex: 1 1 auto;
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4267
|
+
.arap-root .arap-modal-header-icon {
|
|
4268
|
+
display: inline-flex;
|
|
4269
|
+
align-items: center;
|
|
4270
|
+
justify-content: center;
|
|
4271
|
+
width: 40px;
|
|
4272
|
+
height: 40px;
|
|
4273
|
+
flex: none;
|
|
4274
|
+
border-radius: 10px;
|
|
4275
|
+
background: var(--arap-selected);
|
|
4276
|
+
color: var(--arap-accent);
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
.arap-root .arap-modal-heading-text {
|
|
4280
|
+
min-width: 0;
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
.arap-root .arap-modal-title {
|
|
4284
|
+
margin: 0;
|
|
4285
|
+
font-family: var(--arap-font-family);
|
|
4286
|
+
font-size: 20px;
|
|
4287
|
+
font-weight: 700;
|
|
4288
|
+
line-height: 1.3;
|
|
4289
|
+
color: var(--arap-text);
|
|
4290
|
+
}
|
|
4291
|
+
|
|
4292
|
+
.arap-root .arap-modal-subtitle {
|
|
4293
|
+
margin: 2px 0 0;
|
|
4294
|
+
font-size: 13px;
|
|
4295
|
+
color: var(--arap-muted);
|
|
4296
|
+
line-height: 1.45;
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
.arap-root .arap-modal-body {
|
|
4300
|
+
flex: 1 1 auto;
|
|
4301
|
+
min-height: 0;
|
|
4302
|
+
overflow-y: auto;
|
|
4303
|
+
overflow-x: hidden;
|
|
4304
|
+
overscroll-behavior: contain;
|
|
4305
|
+
padding: 20px 22px;
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
.arap-root .arap-modal-footer {
|
|
4309
|
+
flex: none;
|
|
4310
|
+
padding: 14px 22px;
|
|
4311
|
+
border-top: 1px solid var(--arap-divider);
|
|
4312
|
+
background: var(--arap-control);
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
/* Modal Interiors: Profiles, Presets, Navigator, Dictionary, Shortcuts */
|
|
4316
|
+
.arap-root .arap-profiles-panel,
|
|
4317
|
+
.arap-root .arap-presets-panel,
|
|
4318
|
+
.arap-root .arap-shortcuts-dialog-body,
|
|
4319
|
+
.arap-root .arap-dict-dialog-body {
|
|
4320
|
+
display: flex;
|
|
4321
|
+
flex-direction: column;
|
|
4322
|
+
gap: 14px;
|
|
4323
|
+
min-width: 0;
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
.arap-root .arap-profile-active-banner {
|
|
4327
|
+
padding: 12px 14px;
|
|
4328
|
+
border-radius: 12px;
|
|
4329
|
+
background: var(--arap-selected);
|
|
4330
|
+
border: 1px solid #bfdbfe;
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
.arap-root .arap-profile-active-banner-title {
|
|
4334
|
+
display: block;
|
|
4335
|
+
font-size: 14px;
|
|
4336
|
+
font-weight: 700;
|
|
4337
|
+
color: var(--arap-accent);
|
|
4338
|
+
}
|
|
4339
|
+
|
|
4340
|
+
.arap-root .arap-profile-active-banner-sub {
|
|
4341
|
+
display: block;
|
|
4342
|
+
font-size: 12px;
|
|
4343
|
+
color: var(--arap-muted);
|
|
4344
|
+
margin-top: 2px;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
.arap-root .arap-profiles-grid,
|
|
4348
|
+
.arap-root .arap-presets-grid {
|
|
4349
|
+
display: grid;
|
|
4350
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
|
|
4351
|
+
gap: 12px;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
.arap-root .arap-profile-apply-btn,
|
|
4355
|
+
.arap-root .arap-profile-revert-btn {
|
|
4356
|
+
width: 100%;
|
|
4357
|
+
margin-top: 8px;
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
.arap-root .arap-presets-save-row {
|
|
4361
|
+
display: flex;
|
|
4362
|
+
align-items: stretch;
|
|
4363
|
+
gap: 8px;
|
|
4364
|
+
flex-wrap: wrap;
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
.arap-root .arap-presets-save-row > .arap-input {
|
|
4368
|
+
flex: 1 1 200px;
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
.arap-root .arap-presets-transfer-section {
|
|
4372
|
+
display: grid;
|
|
4373
|
+
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
4374
|
+
gap: 10px;
|
|
4375
|
+
}
|
|
4376
|
+
|
|
4377
|
+
.arap-root .arap-field-label {
|
|
4378
|
+
display: block;
|
|
4379
|
+
font-size: 13px;
|
|
4380
|
+
font-weight: 600;
|
|
4381
|
+
margin-bottom: 6px;
|
|
4382
|
+
color: var(--arap-text);
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
.arap-root .arap-preset-card {
|
|
4386
|
+
padding: 14px;
|
|
4387
|
+
border-radius: 12px;
|
|
4388
|
+
border: 1px solid var(--arap-border);
|
|
4389
|
+
background: var(--arap-surface);
|
|
4390
|
+
display: flex;
|
|
4391
|
+
flex-direction: column;
|
|
4392
|
+
gap: 10px;
|
|
4393
|
+
}
|
|
4394
|
+
|
|
4395
|
+
.arap-root .arap-preset-card-top {
|
|
4396
|
+
display: flex;
|
|
4397
|
+
align-items: flex-start;
|
|
4398
|
+
justify-content: space-between;
|
|
4399
|
+
gap: 10px;
|
|
4400
|
+
flex-wrap: wrap;
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
.arap-root .arap-preset-card-title {
|
|
4404
|
+
display: block;
|
|
4405
|
+
font-size: 14px;
|
|
4406
|
+
font-weight: 700;
|
|
4407
|
+
color: var(--arap-text);
|
|
4408
|
+
}
|
|
4409
|
+
|
|
4410
|
+
.arap-root .arap-preset-card-date {
|
|
4411
|
+
display: block;
|
|
4412
|
+
font-size: 11px;
|
|
4413
|
+
color: var(--arap-muted);
|
|
4414
|
+
}
|
|
4415
|
+
|
|
4416
|
+
.arap-root .arap-preset-card-actions {
|
|
4417
|
+
display: inline-flex;
|
|
4418
|
+
gap: 8px;
|
|
4419
|
+
flex-wrap: wrap;
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
.arap-root .arap-presets-status-success {
|
|
4423
|
+
padding: 8px 12px;
|
|
4424
|
+
border-radius: 8px;
|
|
4425
|
+
background: #f0fdf4;
|
|
4426
|
+
border: 1px solid #bbf7d0;
|
|
4427
|
+
color: #166534;
|
|
4428
|
+
font-size: 13px;
|
|
4429
|
+
font-weight: 600;
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
.arap-root .arap-presets-status-error {
|
|
4433
|
+
padding: 8px 12px;
|
|
4434
|
+
border-radius: 8px;
|
|
4435
|
+
background: #fef2f2;
|
|
4436
|
+
border: 1px solid #fecaca;
|
|
4437
|
+
color: #b91c1c;
|
|
4438
|
+
font-size: 13px;
|
|
4439
|
+
font-weight: 600;
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4442
|
+
.arap-root .arap-navigator-dialog {
|
|
4443
|
+
margin: 0;
|
|
4444
|
+
padding: 0;
|
|
4445
|
+
border: 0;
|
|
4446
|
+
background: transparent;
|
|
4447
|
+
max-height: none;
|
|
4448
|
+
display: flex;
|
|
4449
|
+
flex-direction: column;
|
|
4450
|
+
gap: 14px;
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
.arap-root .arap-navigator-tabs {
|
|
4454
|
+
gap: 8px;
|
|
4455
|
+
flex-wrap: wrap;
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
.arap-root .arap-navigator-tab {
|
|
4459
|
+
min-height: 44px;
|
|
4460
|
+
padding: 8px 14px;
|
|
4461
|
+
font-size: 13px;
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
.arap-root .arap-navigator-content {
|
|
4465
|
+
max-height: none;
|
|
4466
|
+
overflow: visible;
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
.arap-root .arap-navigator-jump-btn {
|
|
4470
|
+
min-height: 44px;
|
|
4471
|
+
padding: 10px 14px;
|
|
4472
|
+
font-size: 14px;
|
|
4473
|
+
border-radius: 10px;
|
|
4474
|
+
}
|
|
4475
|
+
|
|
4476
|
+
.arap-root .arap-navigator-jump-btn.arap-is-active {
|
|
4477
|
+
background: var(--arap-selected);
|
|
4478
|
+
border-color: var(--arap-accent);
|
|
4479
|
+
box-shadow: 0 0 0 1px var(--arap-accent);
|
|
4480
|
+
}
|
|
4481
|
+
|
|
4482
|
+
.arap-root .arap-navigator-status {
|
|
4483
|
+
padding: 8px 12px;
|
|
4484
|
+
border-radius: 8px;
|
|
4485
|
+
background: var(--arap-selected);
|
|
4486
|
+
border: 1px solid #bfdbfe;
|
|
4487
|
+
color: var(--arap-accent);
|
|
4488
|
+
font-size: 13px;
|
|
4489
|
+
font-weight: 500;
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
.arap-root .arap-dict-starter-chips {
|
|
4493
|
+
margin-top: 12px;
|
|
4494
|
+
}
|
|
4495
|
+
|
|
4496
|
+
.arap-root .arap-dict-suggestion-chip {
|
|
4497
|
+
min-height: 44px;
|
|
4498
|
+
padding: 8px 14px;
|
|
4499
|
+
border-radius: 999px;
|
|
4500
|
+
border: 1px solid var(--arap-border);
|
|
4501
|
+
background: var(--arap-control);
|
|
4502
|
+
color: var(--arap-text);
|
|
4503
|
+
font-size: 13px;
|
|
4504
|
+
font-weight: 500;
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
.arap-root .arap-dict-suggestion-chip:hover {
|
|
4508
|
+
background: var(--arap-selected);
|
|
4509
|
+
border-color: var(--arap-accent);
|
|
4510
|
+
color: var(--arap-accent);
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4513
|
+
.arap-root .arap-reading-mode-backdrop,
|
|
4514
|
+
.arap-root .arap-shortcuts-backdrop {
|
|
4515
|
+
z-index: 2147483100;
|
|
4516
|
+
}
|
|
4517
|
+
|
|
4518
|
+
.arap-root .arap-reading-mode-dialog {
|
|
4519
|
+
font-family: var(--arap-font-family);
|
|
4520
|
+
}
|
|
4521
|
+
|
|
4522
|
+
.arap-root .arap-shortcuts-toolbar {
|
|
4523
|
+
display: flex;
|
|
4524
|
+
flex-wrap: wrap;
|
|
4525
|
+
gap: 10px;
|
|
4526
|
+
align-items: center;
|
|
4527
|
+
justify-content: space-between;
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
.arap-root .arap-shortcuts-categories {
|
|
4531
|
+
display: flex;
|
|
4532
|
+
flex-wrap: wrap;
|
|
4533
|
+
gap: 6px;
|
|
4534
|
+
}
|
|
4535
|
+
|
|
4536
|
+
.arap-root .arap-category-pill {
|
|
4537
|
+
min-height: 44px;
|
|
4538
|
+
padding: 8px 14px;
|
|
4539
|
+
border-radius: 999px;
|
|
4540
|
+
border: 1px solid var(--arap-border);
|
|
4541
|
+
background: var(--arap-surface);
|
|
4542
|
+
color: var(--arap-text);
|
|
4543
|
+
font-size: 13px;
|
|
4544
|
+
font-weight: 600;
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
.arap-root .arap-category-pill.arap-category-pill-active {
|
|
4548
|
+
background: var(--arap-accent);
|
|
4549
|
+
border-color: var(--arap-accent);
|
|
4550
|
+
color: #ffffff;
|
|
4551
|
+
}
|
|
4552
|
+
|
|
4553
|
+
.arap-root .arap-shortcuts-list-container {
|
|
4554
|
+
max-height: none;
|
|
4555
|
+
overflow: visible;
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
.arap-root .arap-shortcuts-footer {
|
|
4559
|
+
display: flex;
|
|
4560
|
+
justify-content: flex-end;
|
|
4561
|
+
gap: 10px;
|
|
4562
|
+
padding: 0;
|
|
4563
|
+
border: 0;
|
|
4564
|
+
background: transparent;
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
/* Desktop-only Panel Resize Handle (#186) */
|
|
4568
|
+
.arap-root
|
|
4569
|
+
.arap-panel[data-resizable="true"][data-corner$="right"]
|
|
4570
|
+
.arap-heading-copy {
|
|
4571
|
+
padding-inline-start: 16px;
|
|
4572
|
+
}
|
|
4573
|
+
|
|
4574
|
+
.arap-root .arap-resize-handle {
|
|
4575
|
+
position: absolute;
|
|
4576
|
+
width: 24px;
|
|
4577
|
+
height: 24px;
|
|
4578
|
+
border-radius: 6px;
|
|
4579
|
+
z-index: 5;
|
|
4580
|
+
touch-action: none;
|
|
4581
|
+
background: transparent;
|
|
4582
|
+
display: flex;
|
|
4583
|
+
align-items: center;
|
|
4584
|
+
justify-content: center;
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
.arap-root .arap-resize-handle[data-anchor-x="left"] {
|
|
4588
|
+
left: 6px;
|
|
4589
|
+
}
|
|
4590
|
+
|
|
4591
|
+
.arap-root .arap-resize-handle[data-anchor-x="right"] {
|
|
4592
|
+
right: 6px;
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
.arap-root .arap-resize-handle[data-anchor-y="top"] {
|
|
4596
|
+
top: 6px;
|
|
4597
|
+
}
|
|
4598
|
+
|
|
4599
|
+
.arap-root .arap-resize-handle[data-anchor-y="bottom"] {
|
|
4600
|
+
bottom: 6px;
|
|
4601
|
+
}
|
|
4602
|
+
|
|
4603
|
+
.arap-root .arap-resize-handle[data-anchor-x="left"][data-anchor-y="top"],
|
|
4604
|
+
.arap-root .arap-resize-handle[data-anchor-x="right"][data-anchor-y="bottom"] {
|
|
4605
|
+
cursor: nwse-resize;
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4608
|
+
.arap-root .arap-resize-handle[data-anchor-x="left"][data-anchor-y="bottom"],
|
|
4609
|
+
.arap-root .arap-resize-handle[data-anchor-x="right"][data-anchor-y="top"] {
|
|
4610
|
+
cursor: nesw-resize;
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
.arap-root .arap-resize-handle::after {
|
|
4614
|
+
content: "";
|
|
4615
|
+
width: 10px;
|
|
4616
|
+
height: 10px;
|
|
4617
|
+
border-inline-start: 2px solid var(--arap-muted);
|
|
4618
|
+
border-top: 2px solid var(--arap-muted);
|
|
4619
|
+
border-radius: 2px 0 0 0;
|
|
4620
|
+
opacity: 0.7;
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
.arap-root .arap-resize-handle[data-anchor-x="right"]::after {
|
|
4624
|
+
border-inline-start: 0;
|
|
4625
|
+
border-inline-end: 2px solid var(--arap-muted);
|
|
4626
|
+
}
|
|
4627
|
+
|
|
4628
|
+
.arap-root .arap-resize-handle[data-anchor-y="bottom"]::after {
|
|
4629
|
+
border-top: 0;
|
|
4630
|
+
border-bottom: 2px solid var(--arap-muted);
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4633
|
+
.arap-root .arap-resize-handle:hover::after,
|
|
4634
|
+
.arap-root .arap-resize-handle:focus-visible::after {
|
|
4635
|
+
border-color: var(--arap-accent);
|
|
4636
|
+
opacity: 1;
|
|
4637
|
+
}
|
|
4638
|
+
|
|
4639
|
+
.arap-root .arap-resize-handle:focus-visible {
|
|
4640
|
+
outline: 3px solid var(--arap-accent);
|
|
4641
|
+
outline-offset: 2px;
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4644
|
+
@media (max-width: 1023px), (hover: none) {
|
|
4645
|
+
.arap-root .arap-resize-handle {
|
|
4646
|
+
display: none !important;
|
|
4647
|
+
}
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
@media (max-width: 640px) {
|
|
4651
|
+
.arap-root .arap-modal-overlay {
|
|
4652
|
+
padding: 0;
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
.arap-root .arap-modal-full,
|
|
4656
|
+
.arap-root .arap-modal-lg,
|
|
4657
|
+
.arap-root .arap-modal-md {
|
|
4658
|
+
width: 100vw;
|
|
4659
|
+
max-width: 100vw;
|
|
4660
|
+
height: 100dvh;
|
|
4661
|
+
max-height: 100dvh;
|
|
4662
|
+
border-radius: 0;
|
|
4663
|
+
border: 0;
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
.arap-root .arap-modal-header,
|
|
4667
|
+
.arap-root .arap-modal-body,
|
|
4668
|
+
.arap-root .arap-modal-footer {
|
|
4669
|
+
padding: 14px 16px;
|
|
4670
|
+
}
|
|
4671
|
+
|
|
4672
|
+
.arap-root .arap-profiles-grid,
|
|
4673
|
+
.arap-root .arap-presets-grid {
|
|
4674
|
+
grid-template-columns: minmax(0, 1fr);
|
|
4675
|
+
}
|
|
4676
|
+
|
|
4677
|
+
.arap-root .arap-dict-search-form {
|
|
4678
|
+
flex-direction: column;
|
|
4679
|
+
align-items: stretch;
|
|
4680
|
+
}
|
|
4681
|
+
|
|
4682
|
+
.arap-root .arap-dict-submit-btn {
|
|
4683
|
+
width: 100%;
|
|
4684
|
+
}
|
|
4685
|
+
|
|
4686
|
+
.arap-root .arap-feature-row-between {
|
|
4687
|
+
flex-wrap: wrap;
|
|
4688
|
+
}
|
|
4689
|
+
|
|
4690
|
+
.arap-root .arap-shortcut-item {
|
|
4691
|
+
flex-direction: column;
|
|
4692
|
+
align-items: stretch;
|
|
4693
|
+
gap: 8px;
|
|
4694
|
+
}
|
|
4695
|
+
|
|
4696
|
+
.arap-root .arap-shortcut-actions {
|
|
4697
|
+
justify-content: space-between;
|
|
4698
|
+
}
|
|
4699
|
+
}
|
|
4700
|
+
|
|
4701
|
+
/* External Reading Aid Nudge Controls (#199) */
|
|
4702
|
+
.arap-root .arap-reading-aid-nudge {
|
|
4703
|
+
position: fixed;
|
|
4704
|
+
inset-inline-end: max(16px, env(safe-area-inset-right));
|
|
4705
|
+
top: 50%;
|
|
4706
|
+
transform: translateY(-50%);
|
|
4707
|
+
z-index: 2147482999;
|
|
4708
|
+
display: flex;
|
|
4709
|
+
flex-direction: column;
|
|
4710
|
+
gap: 6px;
|
|
4711
|
+
padding: 6px;
|
|
4712
|
+
border: 1px solid var(--arap-border);
|
|
4713
|
+
border-radius: 14px;
|
|
4714
|
+
background: var(--arap-surface);
|
|
4715
|
+
box-shadow:
|
|
4716
|
+
0 8px 16px rgba(15, 23, 42, 0.08),
|
|
4717
|
+
0 16px 32px rgba(15, 23, 42, 0.12);
|
|
4718
|
+
}
|
|
4719
|
+
|
|
4720
|
+
.arap-root .arap-reading-aid-nudge[data-aid="guide"] {
|
|
4721
|
+
top: 38%;
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
.arap-root .arap-reading-aid-nudge[data-aid="mask"] {
|
|
4725
|
+
top: 62%;
|
|
4726
|
+
}
|
|
4727
|
+
|
|
4728
|
+
.arap-root .arap-reading-aid-nudge-btn {
|
|
4729
|
+
width: 44px;
|
|
4730
|
+
height: 44px;
|
|
4731
|
+
min-width: 44px;
|
|
4732
|
+
min-height: 44px;
|
|
4733
|
+
padding: 0;
|
|
4734
|
+
font-size: 16px;
|
|
4735
|
+
font-weight: 700;
|
|
4736
|
+
}
|
|
4737
|
+
|
|
4738
|
+
@media (max-height: 480px) {
|
|
4739
|
+
.arap-root .arap-reading-aid-nudge {
|
|
4740
|
+
flex-direction: row;
|
|
4741
|
+
transform: none;
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4744
|
+
.arap-root .arap-reading-aid-nudge[data-aid="guide"] {
|
|
4745
|
+
top: max(16px, env(safe-area-inset-top));
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
.arap-root .arap-reading-aid-nudge[data-aid="mask"] {
|
|
4749
|
+
top: max(80px, calc(env(safe-area-inset-top) + 64px));
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
.arap-root .arap-modal-overlay {
|
|
4753
|
+
padding: 0;
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
.arap-root .arap-modal,
|
|
4757
|
+
.arap-root .arap-modal-full,
|
|
4758
|
+
.arap-root .arap-modal-lg,
|
|
4759
|
+
.arap-root .arap-modal-md {
|
|
4760
|
+
max-height: 100dvh;
|
|
4761
|
+
height: 100dvh;
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4764
|
+
.arap-root .arap-modal-header,
|
|
4765
|
+
.arap-root .arap-modal-body,
|
|
4766
|
+
.arap-root .arap-modal-footer {
|
|
4767
|
+
padding: 10px 14px;
|
|
4768
|
+
}
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4772
|
+
.arap-root .arap-group-chevron {
|
|
4773
|
+
transition: none !important;
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
@media (forced-colors: active) {
|
|
4778
|
+
.arap-root .arap-btn-primary,
|
|
4779
|
+
.arap-root .arap-reset-btn,
|
|
4780
|
+
.arap-root .arap-btn-action,
|
|
4781
|
+
.arap-root .arap-button.arap-voice-toggle-btn {
|
|
4782
|
+
background: Highlight;
|
|
4783
|
+
color: HighlightText;
|
|
4784
|
+
border: 1px solid ButtonText;
|
|
4785
|
+
forced-color-adjust: none;
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4788
|
+
.arap-root .arap-btn-secondary,
|
|
4789
|
+
.arap-root .arap-btn-danger,
|
|
4790
|
+
.arap-root .arap-btn-ghost,
|
|
4791
|
+
.arap-root .arap-close-btn,
|
|
4792
|
+
.arap-root .arap-feature-btn,
|
|
4793
|
+
.arap-root .arap-modal {
|
|
4794
|
+
border: 1px solid CanvasText;
|
|
4795
|
+
}
|
|
4796
|
+
}
|