@fiduswriter/frontend 0.1.68 → 0.1.69
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 +8 -7
- package/src/document_templates/editor.ts +41 -21
- package/src/user/auth/two_factor.ts +203 -228
package/css/two_factor.css
CHANGED
|
@@ -44,48 +44,6 @@
|
|
|
44
44
|
border-top: 1px solid #eeeeee;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.two-factor-verify-section p {
|
|
48
|
-
margin-bottom: 15px;
|
|
49
|
-
color: #666666;
|
|
50
|
-
font-size: 14px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.two-factor-verify-section input[type="text"] {
|
|
54
|
-
width: 200px;
|
|
55
|
-
padding: 12px 15px;
|
|
56
|
-
font-size: 18px;
|
|
57
|
-
font-weight: bold;
|
|
58
|
-
letter-spacing: 2px;
|
|
59
|
-
text-align: center;
|
|
60
|
-
border: 2px solid #dddddd;
|
|
61
|
-
border-radius: 6px;
|
|
62
|
-
margin-right: 10px;
|
|
63
|
-
transition: border-color 0.3s ease;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.two-factor-verify-section input[type="text"]:focus {
|
|
67
|
-
border-color: #4a90e2;
|
|
68
|
-
outline: none;
|
|
69
|
-
box-shadow: 0 0 0 3px rgb(74 144 226 / 10%);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.two-factor-verify-section button {
|
|
73
|
-
padding: 12px 25px;
|
|
74
|
-
font-size: 14px;
|
|
75
|
-
font-weight: bold;
|
|
76
|
-
text-transform: uppercase;
|
|
77
|
-
border: none;
|
|
78
|
-
border-radius: 6px;
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
transition:
|
|
81
|
-
background-color 0.3s ease,
|
|
82
|
-
transform 0.1s ease;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.two-factor-verify-section button:active {
|
|
86
|
-
transform: scale(0.98);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
47
|
/* Two-Factor Status Indicators */
|
|
90
48
|
#two-factor-status {
|
|
91
49
|
display: inline-block;
|
|
@@ -186,16 +144,6 @@
|
|
|
186
144
|
max-width: 150px;
|
|
187
145
|
}
|
|
188
146
|
|
|
189
|
-
.two-factor-verify-section input[type="text"] {
|
|
190
|
-
width: 100%;
|
|
191
|
-
margin-bottom: 10px;
|
|
192
|
-
margin-right: 0;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.two-factor-verify-section button {
|
|
196
|
-
width: 100%;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
147
|
.two-factor-dialog {
|
|
200
148
|
padding: 20px;
|
|
201
149
|
margin: 10px;
|
|
@@ -38,65 +38,7 @@
|
|
|
38
38
|
pointer-events: none;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
/*
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.tokenfield {
|
|
45
|
-
width: 686px;
|
|
46
|
-
position: relative;
|
|
47
|
-
max-width: 80vw;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.tokenfield::before,
|
|
51
|
-
.tokenfield::after {
|
|
52
|
-
content: " ";
|
|
53
|
-
display: table;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.tokenfield::after {
|
|
57
|
-
clear: both;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.tokenfield.tokenfield-mode-tokens {
|
|
61
|
-
display: block;
|
|
62
|
-
position: relative;
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
line-height: 1.4286;
|
|
65
|
-
color: var(--tokenfield-color);
|
|
66
|
-
background-color: var(--cs-light-background-hover);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.tokenfield-set {
|
|
70
|
-
position: relative;
|
|
71
|
-
padding: 0 10px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.tokenfield .tokenfield-set > ul {
|
|
75
|
-
margin: 0;
|
|
76
|
-
padding: 0;
|
|
77
|
-
list-style-type: none;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.tokenfield .tokenfield-set > ul > li {
|
|
81
|
-
display: inline-block;
|
|
82
|
-
margin: 8px 5px 0 0;
|
|
83
|
-
padding: 0 5px;
|
|
84
|
-
border-radius: 3px;
|
|
85
|
-
line-height: 1.5;
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
color: var(--cs-6-text);
|
|
88
|
-
background: var(--cs-6-background);
|
|
89
|
-
border: 1px solid var(--cs-6-border);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.tokenfield .tokenfield-set > ul > li:last-child {
|
|
93
|
-
margin-bottom: 8px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.tokenfield .tokenfield-set > ul > li a {
|
|
97
|
-
color: var(--cs-6-text);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.tokenfield .tokenfield-input {
|
|
101
|
-
outline: none;
|
|
41
|
+
/* InfoRow already labels the field. */
|
|
42
|
+
.fw-entry-field .fw-token-input-label {
|
|
43
|
+
display: none;
|
|
102
44
|
}
|
|
@@ -3,89 +3,89 @@
|
|
|
3
3
|
standalone embeds get the canonical scheme so the drag & drop palette
|
|
4
4
|
stays readable. */
|
|
5
5
|
:root {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
--part-neutral-background-color: #f0f8ff;
|
|
7
|
+
--part-neutral-border-color: #000000;
|
|
8
|
+
--part-heading-background-color: #84c4fe;
|
|
9
|
+
--part-contributors-background-color: #928efe;
|
|
10
|
+
--part-richtext-background-color: #ffc87b;
|
|
11
|
+
--part-tags-background-color: #ffdf7b;
|
|
12
|
+
--part-table-background-color: #bfedc1;
|
|
13
|
+
--part-toc-background-color: #985f99;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
table td {
|
|
17
|
-
|
|
17
|
+
vertical-align: top;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.label {
|
|
21
|
-
|
|
21
|
+
padding: 5px 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.from-container,
|
|
25
25
|
.to-column,
|
|
26
26
|
.trash {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
border: 1px solid var(--cs-white-border);
|
|
28
|
+
background-color: var(--cs-white-background);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.to-container {
|
|
32
|
-
|
|
32
|
+
min-height: 500px;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.to-column .smooth-dnd-draggable-wrapper {
|
|
36
|
-
|
|
36
|
+
overflow: visible !important;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.to-column {
|
|
40
|
-
|
|
40
|
+
width: 650px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.to-column .doc-part table td {
|
|
44
|
-
|
|
44
|
+
border: 1px solid var(--cs-white-border);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.from-container {
|
|
48
|
-
|
|
48
|
+
width: 150px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.trash {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
background-color: var(--cs-dark-background);
|
|
53
|
+
width: 100px;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.doc-part-block {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
background-color: var(--part-neutral-background-color);
|
|
58
|
+
border-bottom: 3px dotted var(--part-neutral-border-color);
|
|
59
|
+
padding: 4px;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.doc-part-block[data-type="heading_part"] {
|
|
63
|
-
|
|
63
|
+
background-color: var(--part-heading-background-color);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.doc-part-block[data-type="contributors_part"] {
|
|
67
|
-
|
|
67
|
+
background-color: var(--part-contributors-background-color);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.doc-part-block[data-type="richtext_part"] {
|
|
71
|
-
|
|
71
|
+
background-color: var(--part-richtext-background-color);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.doc-part[data-type="tags_part"] {
|
|
75
|
-
|
|
75
|
+
background-color: var(--part-tags-background-color);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.doc-part-block[data-type="table_part"] {
|
|
79
|
-
|
|
79
|
+
background-color: var(--part-table-background-color);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.doc-part-block[data-type="table_of_contents"] {
|
|
83
|
-
|
|
83
|
+
background-color: var(--part-toc-background-color);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.from-container .doc-part-block,
|
|
87
87
|
.trash .doc-part-block {
|
|
88
|
-
|
|
88
|
+
height: 50px;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.from-container .attrs,
|
|
@@ -94,120 +94,120 @@ table td {
|
|
|
94
94
|
.trash .object-tools,
|
|
95
95
|
.from-container .doc-part-header .label,
|
|
96
96
|
.attrs.hidden {
|
|
97
|
-
|
|
97
|
+
display: none;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.attrs label {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
display: inline-block;
|
|
102
|
+
width: initial;
|
|
103
|
+
float: initial;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.doc-part-header {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
cursor: move; /* fallback if grab cursor is unsupported */
|
|
108
|
+
cursor: grab;
|
|
109
|
+
height: 60px;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.from-container .doc-part-header {
|
|
113
|
-
|
|
113
|
+
height: 100%;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.object-tools.right {
|
|
117
|
-
|
|
117
|
+
float: right;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ProseMirror {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
background-color: var(--cs-white-background);
|
|
122
|
+
color: var(--cs-white-text);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ProseMirror-menubar {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
background-color: inherit;
|
|
127
|
+
position: inherit;
|
|
128
|
+
min-height: 21px !important;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.doc-table th {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
background-color: var(--cs-6-background);
|
|
133
|
+
color: var(--cs-6-text);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.ProseMirror td.selectedCell {
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
background-color: var(--cs-2-background);
|
|
138
|
+
caret-color: transparent;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.error-element {
|
|
142
|
-
|
|
142
|
+
border: 3px solid var(--error-background-color);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
#template-editor .initial em,
|
|
146
146
|
#template-editor .instructions em {
|
|
147
|
-
|
|
147
|
+
font-style: italic;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
#template-editor .initial strong,
|
|
151
151
|
#template-editor .instructions strong {
|
|
152
|
-
|
|
152
|
+
font-weight: bold;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
#template-editor .initial code,
|
|
156
156
|
#template-editor .instructions code {
|
|
157
|
-
|
|
157
|
+
font-family: monospace;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
#template-editor .initial h1,
|
|
161
161
|
#template-editor .instructions h1 {
|
|
162
|
-
|
|
162
|
+
font-size: 28px;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
#template-editor .initial h2,
|
|
166
166
|
#template-editor .instructions h2 {
|
|
167
|
-
|
|
167
|
+
font-size: 24px;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
#template-editor .initial h3,
|
|
171
171
|
#template-editor .instructions h3 {
|
|
172
|
-
|
|
172
|
+
font-size: 20px;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
#template-editor .initial h4,
|
|
176
176
|
#template-editor .instructions h4 {
|
|
177
|
-
|
|
177
|
+
font-size: 16px;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
#template-editor .initial h5,
|
|
181
181
|
#template-editor .instructions h5 {
|
|
182
|
-
|
|
182
|
+
font-size: 14px;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
#template-editor .initial h6,
|
|
186
186
|
#template-editor .instructions h6 {
|
|
187
|
-
|
|
187
|
+
font-size: 12px;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
#template-editor .initial ul,
|
|
191
191
|
#template-editor .instructions ul {
|
|
192
|
-
|
|
192
|
+
list-style-type: disc;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
#template-editor .initial ol,
|
|
196
196
|
#template-editor .instructions ol {
|
|
197
|
-
|
|
197
|
+
list-style-type: decimal;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.object-tools span.link {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
display: block;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
border-radius: 15px;
|
|
204
|
+
background-color: var(--cs-2-background);
|
|
205
|
+
color: var(--cs-2-text);
|
|
206
|
+
padding: 3px 12px;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.id-types-value input[type="text"] {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
background-color: var(--cs-white-background);
|
|
211
|
+
border: 1px solid var(--cs-white-border);
|
|
212
|
+
padding: 2px 6px;
|
|
213
213
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.fw-action-chooser {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 0.85rem;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.fw-action-chooser-description,
|
|
7
|
+
.fw-action-chooser-empty {
|
|
8
|
+
margin: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.fw-action-chooser-description,
|
|
12
|
+
.fw-action-chooser-detail,
|
|
13
|
+
.fw-action-chooser-empty {
|
|
14
|
+
color: var(--muted-text-color, #666);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.fw-action-chooser-list {
|
|
18
|
+
display: grid;
|
|
19
|
+
gap: 0.55rem;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
list-style: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fw-action-chooser-choice {
|
|
26
|
+
display: grid;
|
|
27
|
+
gap: 0.2rem;
|
|
28
|
+
width: 100%;
|
|
29
|
+
padding: 0.8rem 0.9rem;
|
|
30
|
+
border: 1px solid var(--border-color, #d8d8d8);
|
|
31
|
+
border-radius: 0.55rem;
|
|
32
|
+
background: var(--background-color, #fff);
|
|
33
|
+
color: var(--text-color, #222);
|
|
34
|
+
font: inherit;
|
|
35
|
+
text-align: left;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fw-action-chooser-choice:hover:not(:disabled) {
|
|
40
|
+
border-color: var(--primary-color, #357a38);
|
|
41
|
+
background: var(--hover-background-color, #f3f8f3);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fw-action-chooser-choice:focus-visible {
|
|
45
|
+
outline: 3px solid var(--focus-color, #357a38);
|
|
46
|
+
outline-offset: 2px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.fw-action-chooser-choice:disabled {
|
|
50
|
+
cursor: not-allowed;
|
|
51
|
+
opacity: 0.55;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fw-action-chooser-label {
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.fw-action-chooser-detail {
|
|
59
|
+
font-size: 0.875rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@media (prefers-reduced-motion: reduce) {
|
|
63
|
+
.fw-action-chooser-choice {
|
|
64
|
+
transition: none;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
.fw-action-toolbar {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: var(--fw-space-1);
|
|
5
|
+
min-width: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fw-action-toolbar[aria-orientation="vertical"] {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.fw-action-toolbar__group {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: var(--fw-space-1);
|
|
18
|
+
min-width: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fw-action-toolbar[aria-orientation="vertical"] .fw-action-toolbar__group {
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fw-action-toolbar__separator {
|
|
26
|
+
flex: 0 0 1px;
|
|
27
|
+
align-self: stretch;
|
|
28
|
+
width: 1px;
|
|
29
|
+
min-height: var(--fw-hit-area);
|
|
30
|
+
margin: 0 var(--fw-space-1);
|
|
31
|
+
background: var(--fw-border);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fw-action-toolbar[aria-orientation="vertical"] .fw-action-toolbar__separator {
|
|
35
|
+
flex-basis: auto;
|
|
36
|
+
width: auto;
|
|
37
|
+
min-width: var(--fw-hit-area);
|
|
38
|
+
min-height: 1px;
|
|
39
|
+
margin: var(--fw-space-1) 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fw-action-toolbar__button {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
flex: 0 0 auto;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
gap: var(--fw-space-2);
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
min-width: var(--fw-hit-area);
|
|
50
|
+
min-height: var(--fw-hit-area);
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: var(--fw-space-2) var(--fw-space-3);
|
|
53
|
+
border: 1px solid transparent;
|
|
54
|
+
border-radius: var(--fw-radius-md);
|
|
55
|
+
background: transparent;
|
|
56
|
+
color: var(--fw-text-primary);
|
|
57
|
+
font: inherit;
|
|
58
|
+
font-size: var(--fw-font-size-base);
|
|
59
|
+
font-weight: var(--fw-font-weight-medium);
|
|
60
|
+
line-height: var(--fw-line-height-tight);
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
transition:
|
|
63
|
+
background-color var(--fw-motion-fast) var(--fw-motion-ease),
|
|
64
|
+
border-color var(--fw-motion-fast) var(--fw-motion-ease),
|
|
65
|
+
color var(--fw-motion-fast) var(--fw-motion-ease);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fw-action-toolbar__button--icon-only {
|
|
69
|
+
width: var(--fw-hit-area);
|
|
70
|
+
padding: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fw-action-toolbar__button:not(:disabled):hover {
|
|
74
|
+
border-color: var(--fw-border-subtle);
|
|
75
|
+
background: var(--fw-surface-2);
|
|
76
|
+
color: var(--fw-text-primary);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.fw-action-toolbar__button[aria-pressed="true"] {
|
|
80
|
+
border-color: var(--fw-brand);
|
|
81
|
+
background: var(--fw-brand-tint);
|
|
82
|
+
color: var(--fw-text-on-brand);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.fw-action-toolbar__button[aria-pressed="true"]:not(:disabled):hover {
|
|
86
|
+
background: var(--fw-brand-tint-2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.fw-action-toolbar__button:focus-visible {
|
|
90
|
+
outline: 2px solid var(--fw-focus);
|
|
91
|
+
outline-offset: 2px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.fw-action-toolbar__button:disabled {
|
|
95
|
+
border-color: var(--fw-border-subtle);
|
|
96
|
+
background: var(--fw-surface-2);
|
|
97
|
+
color: var(--fw-text-secondary);
|
|
98
|
+
cursor: not-allowed;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.fw-action-toolbar__icon {
|
|
102
|
+
display: inline-flex;
|
|
103
|
+
flex: 0 0 auto;
|
|
104
|
+
align-items: center;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
width: 1.25em;
|
|
107
|
+
font-size: var(--fw-font-size-lg);
|
|
108
|
+
font-style: normal;
|
|
109
|
+
line-height: 1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.fw-action-toolbar__icon[hidden] {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.fw-action-toolbar__button--icon-only .fw-action-toolbar__label {
|
|
117
|
+
position: absolute;
|
|
118
|
+
width: 1px;
|
|
119
|
+
height: 1px;
|
|
120
|
+
padding: 0;
|
|
121
|
+
margin: -1px;
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
clip: rect(0, 0, 0, 0);
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
border: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (prefers-reduced-motion: reduce) {
|
|
129
|
+
.fw-action-toolbar__button {
|
|
130
|
+
transition: none;
|
|
131
|
+
}
|
|
132
|
+
}
|