@fiduswriter/frontend 0.1.68 → 0.1.70
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/css/two_factor.css +0 -52
- package/css/user_template_manager.css +6 -0
- package/dist/css/bibliography/colors.css +0 -4
- package/dist/css/bibliography/forms.css +3 -61
- package/dist/css/document-template-editor/document_template_designer.css +68 -68
- package/dist/css/fwtoolkit/action_chooser_dialog.css +66 -0
- package/dist/css/fwtoolkit/action_toolbar.css +132 -0
- package/dist/css/fwtoolkit/alerts.css +53 -19
- package/dist/css/fwtoolkit/application_menu_controller.css +28 -0
- package/dist/css/fwtoolkit/attachment_field.css +19 -0
- package/dist/css/fwtoolkit/attachment_list.css +118 -0
- package/dist/css/fwtoolkit/avatar_label.css +80 -0
- package/dist/css/fwtoolkit/boolean_switch.css +128 -0
- package/dist/css/fwtoolkit/buttons.css +181 -85
- package/dist/css/fwtoolkit/category_filter_controller.css +11 -0
- package/dist/css/fwtoolkit/checkable_list.css +39 -6
- package/dist/css/fwtoolkit/colors.css +71 -69
- package/dist/css/fwtoolkit/common.css +49 -17
- package/dist/css/fwtoolkit/content_menu.css +49 -27
- package/dist/css/fwtoolkit/data_table.css +278 -41
- package/dist/css/fwtoolkit/datatable_bulk.css +106 -0
- package/dist/css/fwtoolkit/destination_settings_form.css +67 -0
- package/dist/css/fwtoolkit/dialog.css +100 -25
- package/dist/css/fwtoolkit/dialog_presets.css +157 -0
- package/dist/css/fwtoolkit/dialog_table.css +63 -26
- package/dist/css/fwtoolkit/directory_navigator.css +244 -0
- package/dist/css/fwtoolkit/drop_up.css +36 -24
- package/dist/css/fwtoolkit/faq_dialog.css +28 -4
- package/dist/css/fwtoolkit/file_input_field.css +150 -0
- package/dist/css/fwtoolkit/file_selector.css +265 -12
- package/dist/css/fwtoolkit/form_error_summary.css +53 -0
- package/dist/css/fwtoolkit/forms.css +261 -54
- package/dist/css/fwtoolkit/fwtoolkit.css +6618 -1522
- package/dist/css/fwtoolkit/grid_size_picker.css +119 -0
- package/dist/css/fwtoolkit/icon_button_group.css +110 -0
- package/dist/css/fwtoolkit/image_preview_field.css +156 -0
- package/dist/css/fwtoolkit/inline_status.css +69 -0
- package/dist/css/fwtoolkit/inline_tools.css +47 -16
- package/dist/css/fwtoolkit/input_list.css +33 -2
- package/dist/css/fwtoolkit/loader.css +12 -2
- package/dist/css/fwtoolkit/media_card_grid.css +251 -0
- package/dist/css/fwtoolkit/navigation_drawer.css +172 -0
- package/dist/css/fwtoolkit/one_time_code_field.css +135 -0
- package/dist/css/fwtoolkit/overflow_action_bar.css +28 -0
- package/dist/css/fwtoolkit/overview_menu.css +35 -27
- package/dist/css/fwtoolkit/permission_badge.css +121 -0
- package/dist/css/fwtoolkit/progress_task.css +51 -27
- package/dist/css/fwtoolkit/pulldown.css +50 -22
- package/dist/css/fwtoolkit/pulldown_menu.css +22 -11
- package/dist/css/fwtoolkit/remote_options_field.css +297 -0
- package/dist/css/fwtoolkit/reset.css +4 -3
- package/dist/css/fwtoolkit/resource_field.css +134 -0
- package/dist/css/fwtoolkit/sortable_list.css +160 -0
- package/dist/css/fwtoolkit/text.css +54 -15
- package/dist/css/fwtoolkit/token_input.css +189 -0
- package/dist/css/fwtoolkit/tokens.css +158 -0
- package/dist/css/fwtoolkit/tree_view.css +165 -0
- package/dist/css/fwtoolkit/two_pane_selector.css +150 -9
- package/dist/css/fwtoolkit/ui_tabs.css +41 -13
- package/dist/css/image-manager/dialog_usermedia.css +41 -41
- package/dist/css/manifest.json +29 -0
- package/dist/css/two_factor.css +0 -52
- package/dist/css/user_template_manager.css +6 -0
- package/dist/document_templates/editor.d.ts +3 -0
- package/dist/document_templates/editor.d.ts.map +1 -1
- package/dist/document_templates/editor.js +35 -18
- package/dist/document_templates/editor.js.map +1 -1
- package/dist/user/auth/two_factor.d.ts.map +1 -1
- package/dist/user/auth/two_factor.js +133 -157
- package/dist/user/auth/two_factor.js.map +1 -1
- package/package.json +9 -9
- package/src/document_templates/editor.ts +41 -21
- package/src/user/auth/two_factor.ts +203 -228
|
@@ -1,28 +1,80 @@
|
|
|
1
1
|
.fw-button {
|
|
2
|
-
display: inline-
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: 8px;
|
|
3
6
|
width: auto;
|
|
7
|
+
min-height: 34px;
|
|
4
8
|
height: 34px;
|
|
5
|
-
line-height:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
line-height: 1.2;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0 16px;
|
|
12
|
+
font-family: inherit;
|
|
13
|
+
font-size: var(--fw-font-size-base);
|
|
14
|
+
font-weight: var(--fw-font-weight-medium);
|
|
15
|
+
color: var(--fw-text-primary);
|
|
16
|
+
border: 1px solid var(--fw-border-subtle);
|
|
17
|
+
border-radius: var(--fw-radius-pill);
|
|
11
18
|
cursor: pointer;
|
|
12
19
|
text-decoration: none;
|
|
13
|
-
background:
|
|
20
|
+
background: var(--fw-surface);
|
|
14
21
|
box-shadow: none;
|
|
15
|
-
box-sizing:
|
|
22
|
+
box-sizing: border-box;
|
|
16
23
|
position: relative;
|
|
24
|
+
transition:
|
|
25
|
+
background-color var(--fw-motion-fast) var(--fw-motion-ease),
|
|
26
|
+
border-color var(--fw-motion-fast) var(--fw-motion-ease),
|
|
27
|
+
color var(--fw-motion-fast) var(--fw-motion-ease);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Default (unstyled) buttons behave like a neutral pill. */
|
|
31
|
+
.fw-button:not(
|
|
32
|
+
.fw-light,
|
|
33
|
+
.fw-white,
|
|
34
|
+
.fw-green,
|
|
35
|
+
.fw-orange,
|
|
36
|
+
.fw-dark,
|
|
37
|
+
.fw-socialaccount
|
|
38
|
+
) {
|
|
39
|
+
background-color: var(--fw-neutral);
|
|
40
|
+
border-color: transparent;
|
|
41
|
+
color: var(--fw-neutral-text);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fw-button:not(
|
|
45
|
+
.fw-light,
|
|
46
|
+
.fw-white,
|
|
47
|
+
.fw-green,
|
|
48
|
+
.fw-orange,
|
|
49
|
+
.fw-dark,
|
|
50
|
+
.fw-socialaccount
|
|
51
|
+
):not(.fw-disabled):hover {
|
|
52
|
+
background-color: var(--fw-neutral-hover);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fw-button:not(
|
|
56
|
+
.fw-light,
|
|
57
|
+
.fw-white,
|
|
58
|
+
.fw-green,
|
|
59
|
+
.fw-orange,
|
|
60
|
+
.fw-dark,
|
|
61
|
+
.fw-socialaccount
|
|
62
|
+
):not(.fw-disabled):active {
|
|
63
|
+
background-color: var(--fw-neutral-active);
|
|
17
64
|
}
|
|
18
65
|
|
|
19
66
|
.fw-button label {
|
|
20
67
|
cursor: pointer;
|
|
21
68
|
}
|
|
22
69
|
|
|
23
|
-
.fw-button:focus
|
|
24
|
-
|
|
25
|
-
|
|
70
|
+
.fw-button:focus {
|
|
71
|
+
outline: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Single consistent focus indicator (WCAG 2.4.11/2.4.13, >=3:1). */
|
|
75
|
+
.fw-button:focus-visible {
|
|
76
|
+
outline: 2px solid var(--fw-focus);
|
|
77
|
+
outline-offset: 2px;
|
|
26
78
|
}
|
|
27
79
|
|
|
28
80
|
.fw-button.fw-uppercase {
|
|
@@ -30,122 +82,141 @@
|
|
|
30
82
|
}
|
|
31
83
|
|
|
32
84
|
.fw-button.fw-large {
|
|
33
|
-
height:
|
|
34
|
-
|
|
35
|
-
|
|
85
|
+
height: 44px;
|
|
86
|
+
min-height: 44px;
|
|
87
|
+
line-height: 1.2;
|
|
88
|
+
padding: 0 24px;
|
|
89
|
+
font-size: var(--fw-font-size-lg);
|
|
36
90
|
}
|
|
37
91
|
|
|
38
92
|
.fw-button.fw-small {
|
|
39
93
|
height: 26px;
|
|
40
|
-
|
|
41
|
-
|
|
94
|
+
min-height: 26px;
|
|
95
|
+
line-height: 1.2;
|
|
96
|
+
padding: 0 10px;
|
|
97
|
+
font-size: var(--fw-font-size-sm);
|
|
42
98
|
}
|
|
43
99
|
|
|
44
100
|
.fw-button.fw-square {
|
|
45
101
|
width: 34px;
|
|
102
|
+
min-width: 34px;
|
|
103
|
+
height: 34px;
|
|
104
|
+
min-height: 34px;
|
|
46
105
|
padding: 0;
|
|
47
106
|
text-align: center;
|
|
107
|
+
border-radius: var(--fw-radius-circle);
|
|
48
108
|
}
|
|
49
109
|
|
|
50
110
|
.fw-button.fw-large.fw-square {
|
|
51
|
-
width:
|
|
111
|
+
width: 44px;
|
|
112
|
+
min-width: 44px;
|
|
113
|
+
height: 44px;
|
|
114
|
+
min-height: 44px;
|
|
52
115
|
}
|
|
53
116
|
|
|
54
|
-
.fw-button
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.fw-button.fw-large .fw-button-icon::before {
|
|
60
|
-
line-height: 40px;
|
|
117
|
+
.fw-button.fw-small.fw-square {
|
|
118
|
+
width: 26px;
|
|
119
|
+
min-width: 26px;
|
|
120
|
+
height: 26px;
|
|
121
|
+
min-height: 26px;
|
|
61
122
|
}
|
|
62
123
|
|
|
63
|
-
.fw-button
|
|
64
|
-
line-height:
|
|
124
|
+
.fw-button .fw-button-icon::before {
|
|
125
|
+
line-height: 1;
|
|
126
|
+
margin: 0;
|
|
65
127
|
}
|
|
66
128
|
|
|
67
129
|
.fw-button.fw-large.fw-dropdown {
|
|
68
|
-
padding-right:
|
|
130
|
+
padding-right: 40px;
|
|
69
131
|
}
|
|
70
132
|
|
|
71
|
-
.fw-button.fw-
|
|
72
|
-
display: block;
|
|
133
|
+
.fw-button.fw-dropdown .fa-caret-down {
|
|
73
134
|
position: absolute;
|
|
74
|
-
right:
|
|
75
|
-
top:
|
|
135
|
+
right: 16px;
|
|
136
|
+
top: 50%;
|
|
137
|
+
transform: translateY(-50%);
|
|
76
138
|
}
|
|
77
139
|
|
|
78
140
|
.fw-button.fw-light {
|
|
79
|
-
border-color: var(--
|
|
80
|
-
background-color: var(--
|
|
81
|
-
color: var(--
|
|
141
|
+
border-color: var(--fw-border-subtle);
|
|
142
|
+
background-color: var(--fw-surface);
|
|
143
|
+
color: var(--fw-text-primary);
|
|
82
144
|
}
|
|
83
145
|
|
|
84
146
|
.fw-button.fw-white {
|
|
85
|
-
border:
|
|
86
|
-
background-color: var(--
|
|
87
|
-
color: var(--
|
|
147
|
+
border: 1px solid var(--fw-border-subtle);
|
|
148
|
+
background-color: var(--fw-surface);
|
|
149
|
+
color: var(--fw-text-primary);
|
|
88
150
|
}
|
|
89
151
|
|
|
90
152
|
.fw-button.fw-white.fw-state-active {
|
|
91
|
-
background-color: var(--
|
|
92
|
-
color: var(--
|
|
153
|
+
background-color: var(--fw-brand-tint);
|
|
154
|
+
border-color: var(--fw-brand);
|
|
155
|
+
color: var(--fw-text-on-brand);
|
|
93
156
|
}
|
|
94
157
|
|
|
95
158
|
.fw-button.fw-white:not(.fw-disabled):hover {
|
|
96
|
-
background-color: var(--
|
|
97
|
-
color: var(--
|
|
159
|
+
background-color: var(--fw-surface-2);
|
|
160
|
+
color: var(--fw-text-primary);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.fw-button.fw-light:not(.fw-disabled):hover {
|
|
164
|
+
background-color: var(--fw-surface-2);
|
|
165
|
+
color: var(--fw-text-primary);
|
|
98
166
|
}
|
|
99
167
|
|
|
100
|
-
.fw-button.fw-light:not(.fw-disabled):hover,
|
|
101
168
|
.fw-button.fw-light.fw-state-active {
|
|
102
|
-
background-color: var(--
|
|
103
|
-
color: var(--
|
|
169
|
+
background-color: var(--fw-brand-tint);
|
|
170
|
+
border-color: var(--fw-brand);
|
|
171
|
+
color: var(--fw-text-on-brand);
|
|
104
172
|
}
|
|
105
173
|
|
|
174
|
+
/* Brand green: FILL only. Dark text keeps contrast at ~6.8:1. */
|
|
106
175
|
.fw-button.fw-green {
|
|
107
|
-
color: var(--
|
|
108
|
-
border-color:
|
|
109
|
-
background-color: var(--
|
|
176
|
+
color: var(--fw-text-on-brand);
|
|
177
|
+
border-color: transparent;
|
|
178
|
+
background-color: var(--fw-brand);
|
|
110
179
|
}
|
|
111
180
|
|
|
112
181
|
.fw-button.fw-green:not(.fw-disabled):hover {
|
|
113
|
-
background-color: var(--
|
|
182
|
+
background-color: var(--fw-brand-hover);
|
|
183
|
+
color: var(--fw-text-on-brand);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.fw-button.fw-green:not(.fw-disabled):active {
|
|
187
|
+
background-color: var(--fw-brand-active);
|
|
188
|
+
color: var(--fw-text-inverse);
|
|
114
189
|
}
|
|
115
190
|
|
|
116
191
|
.fw-button.fw-orange {
|
|
117
|
-
color: var(--
|
|
118
|
-
background:
|
|
119
|
-
|
|
120
|
-
var(--cs-3-background-from),
|
|
121
|
-
var(--cs-3-background-to)
|
|
122
|
-
);
|
|
123
|
-
border-color: var(--cs-3-border);
|
|
192
|
+
color: var(--fw-text-inverse);
|
|
193
|
+
background-color: var(--fw-danger);
|
|
194
|
+
border-color: transparent;
|
|
124
195
|
}
|
|
125
196
|
|
|
126
197
|
.fw-button.fw-orange:not(.fw-disabled):hover {
|
|
127
|
-
background: var(--
|
|
198
|
+
background-color: var(--fw-danger-text);
|
|
199
|
+
color: var(--fw-text-inverse);
|
|
128
200
|
}
|
|
129
201
|
|
|
130
202
|
.fw-button.fw-dark {
|
|
131
|
-
color: var(--
|
|
132
|
-
background:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
var(--cs-dark-background-to)
|
|
136
|
-
);
|
|
137
|
-
box-shadow: 0 1px 1px 0 var(--cs-dark-box-shadow) inset;
|
|
138
|
-
border-color: var(--cs-dark-border);
|
|
203
|
+
color: var(--fw-text-inverse);
|
|
204
|
+
background-color: var(--fw-surface-inverse);
|
|
205
|
+
box-shadow: none;
|
|
206
|
+
border-color: transparent;
|
|
139
207
|
}
|
|
140
208
|
|
|
141
209
|
.fw-button.fw-dark:not(.fw-disabled):hover {
|
|
142
|
-
background:
|
|
210
|
+
background-color: #585858;
|
|
211
|
+
color: var(--fw-text-inverse);
|
|
143
212
|
}
|
|
144
213
|
|
|
145
|
-
.fw-button:disabled
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
214
|
+
.fw-button:disabled,
|
|
215
|
+
.fw-button[aria-disabled="true"] {
|
|
216
|
+
background: var(--fw-surface-2);
|
|
217
|
+
color: var(--fw-text-secondary);
|
|
218
|
+
border-color: var(--fw-border-subtle);
|
|
219
|
+
cursor: not-allowed;
|
|
149
220
|
}
|
|
150
221
|
|
|
151
222
|
.fw-button.fw-left {
|
|
@@ -165,14 +236,18 @@
|
|
|
165
236
|
}
|
|
166
237
|
|
|
167
238
|
.fw-button.fw-socialaccount {
|
|
168
|
-
display: inline-
|
|
239
|
+
display: inline-flex;
|
|
240
|
+
justify-content: flex-start;
|
|
241
|
+
gap: 0;
|
|
169
242
|
width: auto;
|
|
170
|
-
height:
|
|
171
|
-
|
|
243
|
+
height: 44px;
|
|
244
|
+
min-height: 44px;
|
|
245
|
+
border-radius: var(--fw-radius-pill);
|
|
172
246
|
font-size: 15px;
|
|
173
247
|
vertical-align: top;
|
|
174
|
-
line-height:
|
|
175
|
-
|
|
248
|
+
line-height: 1.2;
|
|
249
|
+
/* Left gutter reserved for the icon segment; the label follows it. */
|
|
250
|
+
padding: 0 20px 0 0;
|
|
176
251
|
background: linear-gradient(
|
|
177
252
|
to bottom left,
|
|
178
253
|
var(--cs-2-background-from),
|
|
@@ -189,33 +264,54 @@
|
|
|
189
264
|
}
|
|
190
265
|
|
|
191
266
|
.fw-button.fw-socialaccount > span {
|
|
192
|
-
display: inline-
|
|
193
|
-
|
|
267
|
+
display: inline-flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-content: center;
|
|
270
|
+
flex: 0 0 auto;
|
|
271
|
+
width: 44px;
|
|
194
272
|
height: 100%;
|
|
195
273
|
text-align: center;
|
|
196
|
-
font-size:
|
|
197
|
-
margin-right:
|
|
198
|
-
line-height:
|
|
274
|
+
font-size: 16px;
|
|
275
|
+
margin-right: 16px;
|
|
276
|
+
line-height: 1;
|
|
199
277
|
border-right: 1px solid var(--cs-2-border);
|
|
200
278
|
box-shadow: 1px 0 0 0 var(--cs-2-box-shadow);
|
|
201
279
|
}
|
|
202
280
|
|
|
203
281
|
.fw-plain-button {
|
|
204
282
|
display: block;
|
|
205
|
-
font-size:
|
|
283
|
+
font-size: var(--fw-font-size-xs);
|
|
206
284
|
line-height: 24px;
|
|
207
|
-
background-color: var(--
|
|
208
|
-
font-weight:
|
|
285
|
+
background-color: var(--fw-surface-2);
|
|
286
|
+
font-weight: var(--fw-font-weight-semibold);
|
|
209
287
|
text-align: center;
|
|
288
|
+
cursor: pointer;
|
|
289
|
+
border-radius: var(--fw-radius-sm);
|
|
210
290
|
}
|
|
211
291
|
|
|
212
292
|
.fw-plain-button:hover {
|
|
213
|
-
background-color: var(--
|
|
293
|
+
background-color: var(--fw-neutral-hover);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.fw-plain-button:focus-visible {
|
|
297
|
+
outline: 2px solid var(--fw-focus);
|
|
298
|
+
outline-offset: 2px;
|
|
214
299
|
}
|
|
215
300
|
|
|
216
301
|
.fw-button.fw-disabled {
|
|
217
|
-
color: var(--
|
|
302
|
+
color: var(--fw-text-secondary);
|
|
218
303
|
cursor: default;
|
|
304
|
+
opacity: 0.6;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.fw-button.fw-disabled:hover {
|
|
308
|
+
background-color: var(--fw-surface-2);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@media (prefers-reduced-motion: reduce) {
|
|
312
|
+
.fw-button {
|
|
313
|
+
transition: none;
|
|
314
|
+
}
|
|
219
315
|
}
|
|
220
316
|
|
|
221
317
|
/* The remainder of this file uses application specific colors */
|
|
@@ -4,17 +4,50 @@
|
|
|
4
4
|
|
|
5
5
|
.fw-checkable-label {
|
|
6
6
|
position: relative;
|
|
7
|
-
display:
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
box-sizing: border-box;
|
|
8
10
|
width: 462px;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
max-width: 100%;
|
|
12
|
+
min-height: var(--fw-hit-area);
|
|
13
|
+
line-height: var(--fw-line-height-tight);
|
|
14
|
+
border: solid 1px var(--fw-border);
|
|
15
|
+
border-radius: var(--fw-radius-md);
|
|
16
|
+
padding: 0 var(--fw-space-4);
|
|
13
17
|
margin-bottom: 10px;
|
|
18
|
+
font-family: var(--fw-font-sans);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
transition:
|
|
21
|
+
background-color var(--fw-motion-fast) var(--fw-motion-ease),
|
|
22
|
+
border-color var(--fw-motion-fast) var(--fw-motion-ease);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fw-checkable-label:hover {
|
|
26
|
+
border-color: var(--fw-border-strong);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fw-checkable-label.fw-checked {
|
|
30
|
+
background-color: var(--fw-brand-tint-3);
|
|
31
|
+
border-color: var(--fw-brand);
|
|
14
32
|
}
|
|
15
33
|
|
|
34
|
+
/* Kept visually hidden for backwards compatibility, but focusable and
|
|
35
|
+
announced: focus moves to it with the keyboard. */
|
|
16
36
|
.fw-checkable-input {
|
|
17
|
-
|
|
37
|
+
position: absolute;
|
|
38
|
+
width: 1px;
|
|
39
|
+
height: 1px;
|
|
40
|
+
margin: -1px;
|
|
41
|
+
padding: 0;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
clip-path: inset(50%);
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
border: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.fw-checkable-label:has(.fw-checkable-input:focus-visible) {
|
|
49
|
+
outline: 2px solid var(--fw-focus);
|
|
50
|
+
outline-offset: 2px;
|
|
18
51
|
}
|
|
19
52
|
|
|
20
53
|
.fw-checkable-label.fw-checked::after {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/* Legacy aliases: re-pointed at the Design 5 semantic layer in
|
|
3
|
+
tokens.css. Downstream repos keep working unchanged. */
|
|
4
|
+
--main-text-color: var(--fw-text-primary);
|
|
5
|
+
--main-background-color: var(--fw-surface-2);
|
|
4
6
|
--overlay-color: 170 170 170 / 0.3;
|
|
5
|
-
--input-focus-background-color:
|
|
6
|
-
--input-background-color:
|
|
7
|
-
--input-border-color:
|
|
8
|
-
--input-dialog-border-color:
|
|
9
|
-
--select-background-color:
|
|
7
|
+
--input-focus-background-color: var(--fw-surface);
|
|
8
|
+
--input-background-color: var(--fw-surface);
|
|
9
|
+
--input-border-color: var(--fw-border-strong);
|
|
10
|
+
--input-dialog-border-color: var(--fw-border-subtle);
|
|
11
|
+
--select-background-color: var(--fw-surface-2);
|
|
10
12
|
--wait-active-background-color: 240 240 240 / 0.7;
|
|
11
13
|
--wait-active-full-background-color: 240 240 240 / 1;
|
|
12
14
|
--alert-box-shadow-color: 240 240 240 / 1;
|
|
@@ -22,61 +24,61 @@
|
|
|
22
24
|
--error-border-color: #af3515;
|
|
23
25
|
--error-background-color: #cc3f1a;
|
|
24
26
|
--error-text-color: #ffffff;
|
|
25
|
-
--pulldown-header-text-color:
|
|
26
|
-
--pulldown-header-background-color:
|
|
27
|
-
--pulldown-separator-color:
|
|
27
|
+
--pulldown-header-text-color: var(--fw-text-primary);
|
|
28
|
+
--pulldown-header-background-color: var(--fw-surface);
|
|
29
|
+
--pulldown-separator-color: var(--fw-border-subtle);
|
|
28
30
|
--pulldown-box-shadow-color: 0 0 0 / 0.2;
|
|
29
|
-
--menu-cursor-border-color:
|
|
31
|
+
--menu-cursor-border-color: var(--fw-brand);
|
|
30
32
|
|
|
31
33
|
/* tabs */
|
|
32
|
-
--tabs-border-color:
|
|
33
|
-
--tabs-text-inactive:
|
|
34
|
-
--tabs-text-active:
|
|
35
|
-
--tabs-indicator-color:
|
|
34
|
+
--tabs-border-color: var(--fw-border-subtle);
|
|
35
|
+
--tabs-text-inactive: var(--fw-text-secondary);
|
|
36
|
+
--tabs-text-active: var(--fw-text-primary);
|
|
37
|
+
--tabs-indicator-color: var(--fw-brand);
|
|
36
38
|
|
|
37
39
|
/* Color Schemes (CS) */
|
|
38
40
|
|
|
39
41
|
/* red text */
|
|
40
|
-
--cs-1-text:
|
|
41
|
-
--cs-1-icon:
|
|
42
|
-
--cs-1-hover:
|
|
42
|
+
--cs-1-text: var(--fw-danger-text);
|
|
43
|
+
--cs-1-icon: var(--fw-danger);
|
|
44
|
+
--cs-1-hover: var(--fw-text-primary);
|
|
43
45
|
|
|
44
46
|
/* white on blue */
|
|
45
|
-
--cs-2-background-from:
|
|
46
|
-
--cs-2-background-to:
|
|
47
|
-
--cs-2-background:
|
|
48
|
-
--cs-2-border:
|
|
49
|
-
--cs-2-background-hover:
|
|
50
|
-
--cs-2-background-selected:
|
|
51
|
-
--cs-2-box-shadow:
|
|
52
|
-
--cs-2-text:
|
|
47
|
+
--cs-2-background-from: var(--fw-accent-hover);
|
|
48
|
+
--cs-2-background-to: var(--fw-accent);
|
|
49
|
+
--cs-2-background: var(--fw-accent); /* flat */
|
|
50
|
+
--cs-2-border: var(--fw-accent-active);
|
|
51
|
+
--cs-2-background-hover: var(--fw-accent-active);
|
|
52
|
+
--cs-2-background-selected: var(--fw-brand-active);
|
|
53
|
+
--cs-2-box-shadow: var(--fw-accent);
|
|
54
|
+
--cs-2-text: var(--fw-text-on-accent);
|
|
53
55
|
|
|
54
56
|
/* white on orange */
|
|
55
|
-
--cs-3-text:
|
|
56
|
-
--cs-3-background-from:
|
|
57
|
-
--cs-3-background-to:
|
|
58
|
-
--cs-3-background-hover:
|
|
59
|
-
--cs-3-border:
|
|
57
|
+
--cs-3-text: var(--fw-text-inverse);
|
|
58
|
+
--cs-3-background-from: var(--fw-danger);
|
|
59
|
+
--cs-3-background-to: var(--fw-danger-text);
|
|
60
|
+
--cs-3-background-hover: var(--fw-danger-text);
|
|
61
|
+
--cs-3-border: var(--fw-danger-text);
|
|
60
62
|
|
|
61
63
|
/* light green text */
|
|
62
|
-
--cs-4-text:
|
|
64
|
+
--cs-4-text: var(--fw-text-muted);
|
|
63
65
|
|
|
64
|
-
/* white on light green */
|
|
65
|
-
--cs-5-background:
|
|
66
|
-
--cs-5-text:
|
|
67
|
-
--cs-5-border:
|
|
68
|
-
--cs-5-background-hover:
|
|
66
|
+
/* dark on light green (formerly white on light green) */
|
|
67
|
+
--cs-5-background: var(--fw-brand-tint);
|
|
68
|
+
--cs-5-text: var(--fw-text-primary);
|
|
69
|
+
--cs-5-border: var(--fw-border-subtle);
|
|
70
|
+
--cs-5-background-hover: var(--fw-brand-tint-2);
|
|
69
71
|
|
|
70
|
-
/*
|
|
71
|
-
--cs-6-text:
|
|
72
|
-
--cs-6-background:
|
|
73
|
-
--cs-6-border:
|
|
74
|
-
--cs-6-background-focus:
|
|
75
|
-
--cs-6-background-hover:
|
|
72
|
+
/* dark on brand green */
|
|
73
|
+
--cs-6-text: var(--fw-text-on-brand);
|
|
74
|
+
--cs-6-background: var(--fw-brand);
|
|
75
|
+
--cs-6-border: var(--fw-brand-hover);
|
|
76
|
+
--cs-6-background-focus: var(--fw-brand-hover);
|
|
77
|
+
--cs-6-background-hover: var(--fw-brand-hover);
|
|
76
78
|
|
|
77
79
|
/* white on dark */
|
|
78
|
-
--cs-dark-text:
|
|
79
|
-
--cs-dark-hover:
|
|
80
|
+
--cs-dark-text: var(--fw-text-inverse);
|
|
81
|
+
--cs-dark-hover: var(--fw-surface-3);
|
|
80
82
|
--cs-dark-border: #4f4d4f;
|
|
81
83
|
--cs-dark-background-hover: #585858;
|
|
82
84
|
--cs-dark-background: #585858; /* flat */
|
|
@@ -85,36 +87,36 @@
|
|
|
85
87
|
--cs-dark-box-shadow: #7f7f7f;
|
|
86
88
|
|
|
87
89
|
/* dark on white-ish background */
|
|
88
|
-
--cs-light-text:
|
|
89
|
-
--cs-light-hover:
|
|
90
|
-
--cs-light-text-secondary:
|
|
91
|
-
--cs-light-border:
|
|
92
|
-
--cs-light-background:
|
|
93
|
-
--cs-light-background-hover:
|
|
94
|
-
--cs-light-box-shadow:
|
|
90
|
+
--cs-light-text: var(--fw-text-primary);
|
|
91
|
+
--cs-light-hover: var(--fw-text-primary);
|
|
92
|
+
--cs-light-text-secondary: var(--fw-text-muted);
|
|
93
|
+
--cs-light-border: var(--fw-border-subtle);
|
|
94
|
+
--cs-light-background: var(--fw-surface-1);
|
|
95
|
+
--cs-light-background-hover: var(--fw-surface-2);
|
|
96
|
+
--cs-light-box-shadow: var(--fw-border);
|
|
95
97
|
|
|
96
98
|
/* black on white */
|
|
97
|
-
--cs-white-text:
|
|
98
|
-
--cs-white-hover:
|
|
99
|
-
--cs-white-focus:
|
|
100
|
-
--cs-white-selected:
|
|
101
|
-
--cs-white-border:
|
|
102
|
-
--cs-white-header-border:
|
|
103
|
-
--cs-white-text-secondary:
|
|
104
|
-
--cs-white-placeholder-text:
|
|
105
|
-
--cs-white-background:
|
|
106
|
-
--cs-white-background-hover:
|
|
107
|
-
--cs-white-background-focus:
|
|
108
|
-
--cs-white-background-selected:
|
|
99
|
+
--cs-white-text: var(--fw-text-primary);
|
|
100
|
+
--cs-white-hover: var(--fw-text-on-brand);
|
|
101
|
+
--cs-white-focus: var(--fw-focus);
|
|
102
|
+
--cs-white-selected: var(--fw-text-on-brand);
|
|
103
|
+
--cs-white-border: var(--fw-border);
|
|
104
|
+
--cs-white-header-border: var(--fw-border-strong);
|
|
105
|
+
--cs-white-text-secondary: var(--fw-text-muted);
|
|
106
|
+
--cs-white-placeholder-text: var(--fw-text-secondary);
|
|
107
|
+
--cs-white-background: var(--fw-surface);
|
|
108
|
+
--cs-white-background-hover: var(--fw-surface-2);
|
|
109
|
+
--cs-white-background-focus: var(--fw-surface-2);
|
|
110
|
+
--cs-white-background-selected: var(--fw-brand-tint);
|
|
109
111
|
|
|
110
112
|
/* disabled */
|
|
111
|
-
--cs-disabled:
|
|
112
|
-
--cs-disabled-background:
|
|
113
|
-
--cs-disabled-border:
|
|
114
|
-
--overview-checkbox-color:
|
|
113
|
+
--cs-disabled: var(--fw-text-secondary);
|
|
114
|
+
--cs-disabled-background: var(--fw-surface-2);
|
|
115
|
+
--cs-disabled-border: var(--fw-border);
|
|
116
|
+
--overview-checkbox-color: var(--fw-text-on-brand);
|
|
115
117
|
--overview-checkbox-background-color-from: 255 255 255 / 1;
|
|
116
118
|
--overview-checkbox-background-color-to: 255 255 255 / 0;
|
|
117
|
-
--overview-checkbox-border:
|
|
119
|
+
--overview-checkbox-border: var(--fw-border-control);
|
|
118
120
|
|
|
119
121
|
/* template manager */
|
|
120
122
|
|