@enso-ui/ui 6.2.7 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/bulma/index.js +2 -2
- package/package.json +34 -31
- package/renderless/index.js +2 -2
- package/src/bulma/components/AppFooter.vue +11 -11
- package/src/bulma/components/Breadcrumbs.vue +32 -5
- package/src/bulma/components/VueAside.vue +7 -11
- package/src/bulma/components/menu/Sidebar.vue +26 -10
- package/src/bulma/components/navbar/AppUpdate.vue +38 -14
- package/src/bulma/components/navbar/Navbar.vue +17 -15
- package/src/bulma/components/navbar/NavbarItem.vue +2 -4
- package/src/bulma/components/navbar/Search.vue +6 -5
- package/src/bulma/components/navbar/SettingsControl.vue +6 -5
- package/src/bulma/components/settings/Settings.vue +17 -3
- package/src/bulma/components/settings/SidebarState.vue +1 -2
- package/src/bulma/layouts/Default.vue +8 -22
- package/src/bulma/pages/MaintenanceMode.vue +5 -7
- package/src/bulma/pages/NotFound.vue +6 -5
- package/src/bulma/pages/Unauthorized.vue +5 -4
- package/src/bulma/styles/components/form.scss +151 -0
- package/src/bulma/styles/components/tables.scss +695 -0
- package/src/bulma/styles/components/vue-filter.scss +173 -0
- package/src/bulma/styles/components.sass +3 -0
- package/src/core/Root.vue +26 -7
- package/src/core/app.js +1 -1
- package/src/core/components/AppFooter.vue +2 -6
- package/src/core/components/DocumentTitle.vue +8 -3
- package/src/core/components/PageHeader.vue +7 -3
- package/src/core/components/menu/Sidebar.vue +2 -6
- package/src/core/components/navbar/Navbar.vue +17 -19
- package/src/core/components/navbar/Search.vue +10 -3
- package/src/core/components/navbar/SettingsControl.vue +4 -2
- package/src/core/components/settings/Settings.vue +6 -20
- package/src/core/components/settings/SidebarState.vue +5 -7
- package/src/core/layouts/Default.vue +96 -65
- package/src/core/layouts/Home.vue +27 -28
- package/src/core/services/contexts.js +51 -11
- package/src/core/services/errorHandler.js +4 -4
- package/src/core/services/pinia.js +7 -0
- package/src/core/services/resources.js +22 -17
- package/src/core/services/router.js +2 -3
- package/src/icons.js +8 -2
- package/src/middleware/before/auth.js +9 -5
- package/src/middleware/before/guest.js +6 -2
- package/src/middleware/before.js +5 -4
- package/src/modules/importers/routeImporter.js +23 -0
- package/src/modules/plugins/bootEnums.js +10 -1
- package/src/modules/plugins/date-fns/format.js +11 -6
- package/src/modules/plugins/date-fns/formatDistance.js +2 -2
- package/src/modules/plugins/i18n.js +7 -5
- package/src/modules/plugins/route.js +3 -3
- package/src/pinia/app.js +75 -0
- package/src/pinia/layout.js +115 -0
- package/src/pinia/loadState.js +78 -0
- package/src/pinia/preferences.js +90 -0
- package/src/pinia/websockets.js +48 -0
- package/src/core/services/store.js +0 -26
- package/src/modules/importers/storeImporter.js +0 -8
- package/src/modules/importers/themeImporter.js +0 -5
- package/src/modules/store/layout/navbar.js +0 -8
- package/src/modules/store/layout/settings.js +0 -7
- package/src/modules/store/layout/sidebar.js +0 -22
- package/src/modules/store/layout.js +0 -72
- package/src/modules/store/preferences.js +0 -80
- package/src/modules/store/websockets.js +0 -39
- package/src/modules/store.js +0 -115
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
@mixin table-compact-trigger {
|
|
2
|
+
min-height: var(--bulma-control-height);
|
|
3
|
+
height: var(--bulma-control-height);
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 0.5rem;
|
|
7
|
+
padding-block: 0;
|
|
8
|
+
padding-inline-start: 0.65rem;
|
|
9
|
+
padding-inline-end: 1.55rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin table-compact-leading-icon {
|
|
13
|
+
margin: 0;
|
|
14
|
+
width: 1.25rem;
|
|
15
|
+
height: 1.25rem;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-self: center;
|
|
20
|
+
line-height: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin table-compact-indicator-offset {
|
|
24
|
+
[dir='ltr'] & {
|
|
25
|
+
right: 0.64rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[dir='rtl'] & {
|
|
29
|
+
left: 0.64rem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin table-icon-select-item {
|
|
34
|
+
display: flex;
|
|
35
|
+
position: relative;
|
|
36
|
+
width: 100%;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
gap: 0.75rem;
|
|
41
|
+
margin: 0;
|
|
42
|
+
padding: 0.5rem 1.15rem 0.5rem 0.75rem;
|
|
43
|
+
text-align: left;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
|
|
46
|
+
> span:not(.icon) {
|
|
47
|
+
display: block;
|
|
48
|
+
flex: 1 1 auto;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.icon.selected {
|
|
53
|
+
position: static;
|
|
54
|
+
flex: 0 0 auto;
|
|
55
|
+
margin: 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.vue-table {
|
|
60
|
+
.wrapper {
|
|
61
|
+
border-top-left-radius: inherit;
|
|
62
|
+
border-top-right-radius: inherit;
|
|
63
|
+
|
|
64
|
+
.top-controls {
|
|
65
|
+
background-color: var(--enso-table-toolbar-surface);
|
|
66
|
+
border-top-left-radius: inherit;
|
|
67
|
+
border-top-right-radius: inherit;
|
|
68
|
+
padding: 0.3em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media screen and (min-width: 1024px) {
|
|
72
|
+
.top-controls {
|
|
73
|
+
.table-controls {
|
|
74
|
+
display: flex;
|
|
75
|
+
order: 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.search {
|
|
79
|
+
order: 2;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.table-buttons {
|
|
83
|
+
order: 3;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.is-flex.is-align-items-center {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.top-controls,
|
|
95
|
+
.labels,
|
|
96
|
+
.scenarios,
|
|
97
|
+
.bottom-controls,
|
|
98
|
+
thead tr,
|
|
99
|
+
tfoot tr {
|
|
100
|
+
background-color: var(--enso-table-toolbar-surface);
|
|
101
|
+
color: var(--bulma-text-strong);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.top-controls,
|
|
105
|
+
.labels,
|
|
106
|
+
.scenarios,
|
|
107
|
+
.bottom-controls {
|
|
108
|
+
border-color: var(--enso-surface-border);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.top-controls .dropdown:not(.dropdown-actions) .button,
|
|
112
|
+
.labels .filter-container,
|
|
113
|
+
.scenarios .dropdown-content {
|
|
114
|
+
border-color: var(--enso-surface-border);
|
|
115
|
+
color: var(--bulma-input-color);
|
|
116
|
+
box-shadow: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.top-controls .dropdown:not(.dropdown-actions) .button:hover,
|
|
120
|
+
.top-controls .dropdown:not(.dropdown-actions) .button:focus {
|
|
121
|
+
border-color: var(--bulma-input-hover-border-color);
|
|
122
|
+
color: var(--bulma-text-strong);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.top-controls .table-search-input,
|
|
126
|
+
.filters.dropdown .table-filter-input {
|
|
127
|
+
color: var(--bulma-input-color);
|
|
128
|
+
|
|
129
|
+
&::placeholder {
|
|
130
|
+
color: var(--bulma-text-light);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.top-controls .table-toolbar-button,
|
|
135
|
+
.top-controls .table-action-control,
|
|
136
|
+
.filters.dropdown .table-filter-action,
|
|
137
|
+
.filters.dropdown .table-filter-mode-button {
|
|
138
|
+
color: var(--bulma-text-strong);
|
|
139
|
+
|
|
140
|
+
&:hover,
|
|
141
|
+
&:focus {
|
|
142
|
+
background-color: var(--enso-filter-surface);
|
|
143
|
+
color: var(--bulma-text-strong);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.top-controls .search .icon.is-left.has-active-filters {
|
|
148
|
+
color: var(--bulma-warning);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.top-controls .table-toolbar-action.button {
|
|
152
|
+
display: inline-flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
gap: 0.5rem;
|
|
155
|
+
min-height: var(--bulma-control-height);
|
|
156
|
+
padding-inline: 0.9rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.top-controls .table-toolbar-action .dropdown-action-label {
|
|
160
|
+
display: block;
|
|
161
|
+
flex: 0 1 auto;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.top-controls .table-toolbar-action .dropdown-action-icon {
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
flex: 0 0 auto;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
margin: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.top-controls .search .input {
|
|
175
|
+
padding-inline-end: 4.8rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.top-controls .is-right.icon {
|
|
179
|
+
pointer-events: all;
|
|
180
|
+
|
|
181
|
+
&.global-search-mode {
|
|
182
|
+
top: 1px;
|
|
183
|
+
bottom: 1px;
|
|
184
|
+
width: 2.7rem;
|
|
185
|
+
display: inline-flex;
|
|
186
|
+
align-items: center;
|
|
187
|
+
justify-content: center;
|
|
188
|
+
border-left: 1px solid var(--bulma-border);
|
|
189
|
+
color: var(--bulma-text-light);
|
|
190
|
+
|
|
191
|
+
[dir='ltr'] & {
|
|
192
|
+
right: 0.05rem;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[dir='rtl'] & {
|
|
196
|
+
left: 0.05rem;
|
|
197
|
+
border-left: 0;
|
|
198
|
+
border-right: 1px solid var(--bulma-border);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.icon {
|
|
202
|
+
margin: 0;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.top-controls .table-control-select {
|
|
208
|
+
--enso-select-width: auto;
|
|
209
|
+
--enso-select-trigger-container-width: auto;
|
|
210
|
+
--enso-select-trigger-surface: var(--bulma-scheme-main);
|
|
211
|
+
--enso-select-trigger-border: var(--bulma-border);
|
|
212
|
+
--enso-select-dropdown-width: auto;
|
|
213
|
+
--enso-select-dropdown-min-width: 100%;
|
|
214
|
+
--enso-select-dropdown-surface: var(--bulma-scheme-main-bis);
|
|
215
|
+
--enso-select-dropdown-border: var(--bulma-border);
|
|
216
|
+
--enso-select-dropdown-radius: var(--bulma-radius);
|
|
217
|
+
--enso-select-item-color: var(--bulma-dropdown-item-color);
|
|
218
|
+
--enso-select-item-hover-surface: var(--bulma-scheme-main-ter);
|
|
219
|
+
--enso-select-item-hover-color: var(--bulma-text-strong);
|
|
220
|
+
|
|
221
|
+
.dropdown.vue-dropdown .dropdown-content {
|
|
222
|
+
overflow: hidden;
|
|
223
|
+
|
|
224
|
+
.items {
|
|
225
|
+
width: 100%;
|
|
226
|
+
overflow-x: hidden;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.dropdown.vue-dropdown .dropdown-trigger {
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.dropdown.vue-dropdown .dropdown-trigger .button.input {
|
|
236
|
+
@include table-compact-trigger;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.dropdown.vue-dropdown .dropdown-trigger .button.input .icon:first-child,
|
|
240
|
+
.dropdown.vue-dropdown .dropdown-trigger .button.input .image:first-child {
|
|
241
|
+
@include table-compact-leading-icon;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.dropdown.vue-dropdown .dropdown-trigger .button.input .dropdown-indicator {
|
|
245
|
+
@include table-compact-indicator-offset;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.top-controls .table-compact-dropdown > .dropdown-trigger {
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.top-controls .table-compact-dropdown > .dropdown-trigger .button.input {
|
|
255
|
+
@include table-compact-trigger;
|
|
256
|
+
justify-content: center;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.top-controls .table-compact-dropdown > .dropdown-trigger .button.input > .icon:first-child {
|
|
260
|
+
@include table-compact-leading-icon;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.top-controls .table-compact-dropdown > .dropdown-trigger .button.input > .dropdown-indicator {
|
|
264
|
+
@include table-compact-indicator-offset;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.top-controls .table-control-select:not(.table-icon-select) {
|
|
268
|
+
.dropdown.vue-dropdown .dropdown-content .dropdown-item {
|
|
269
|
+
justify-content: flex-start;
|
|
270
|
+
padding: 0.45rem 0.75rem;
|
|
271
|
+
gap: 0.5rem;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.top-controls .length-menu.table-control-select {
|
|
276
|
+
--enso-select-dropdown-width: 4.5rem;
|
|
277
|
+
--enso-select-dropdown-min-width: 4.5rem;
|
|
278
|
+
--enso-select-dropdown-max-width: 4.5rem;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.top-controls .table-icon-select {
|
|
282
|
+
--enso-select-dropdown-width: fit-content;
|
|
283
|
+
--enso-select-dropdown-min-width: 10.5rem;
|
|
284
|
+
--enso-select-dropdown-max-width: 13rem;
|
|
285
|
+
|
|
286
|
+
.dropdown {
|
|
287
|
+
width: unset;
|
|
288
|
+
|
|
289
|
+
.icon:first-child:last-child {
|
|
290
|
+
margin-left: unset;
|
|
291
|
+
margin-right: unset;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.dropdown-menu {
|
|
295
|
+
width: unset;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.dropdown.vue-dropdown .dropdown-content .dropdown-item {
|
|
300
|
+
@include table-icon-select-item;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.top-controls .style-selector.table-icon-select {
|
|
305
|
+
--enso-select-dropdown-width: 8rem;
|
|
306
|
+
--enso-select-dropdown-min-width: 8rem;
|
|
307
|
+
--enso-select-dropdown-max-width: 8rem;
|
|
308
|
+
|
|
309
|
+
.dropdown.vue-dropdown .dropdown-content {
|
|
310
|
+
.items {
|
|
311
|
+
width: 100%;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.dropdown-item {
|
|
315
|
+
display: block;
|
|
316
|
+
width: 100%;
|
|
317
|
+
box-sizing: border-box;
|
|
318
|
+
padding: 0.5rem 2rem 0.5rem 0.75rem;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.dropdown-item .icon.selected {
|
|
322
|
+
position: absolute;
|
|
323
|
+
top: 50%;
|
|
324
|
+
transform: translateY(-50%);
|
|
325
|
+
|
|
326
|
+
[dir='ltr'] & {
|
|
327
|
+
right: 0.75rem;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
[dir='rtl'] & {
|
|
331
|
+
left: 0.75rem;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.dropdown.dropdown-actions {
|
|
338
|
+
width: unset;
|
|
339
|
+
|
|
340
|
+
.dropdown-menu {
|
|
341
|
+
width: unset;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.dropdown-content {
|
|
345
|
+
min-width: 9.9rem;
|
|
346
|
+
background: var(--bulma-scheme-main);
|
|
347
|
+
border: 1px solid var(--bulma-border);
|
|
348
|
+
border-radius: var(--bulma-radius);
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.dropdown-item {
|
|
353
|
+
padding: 0;
|
|
354
|
+
background: transparent !important;
|
|
355
|
+
border-bottom: 1px solid color-mix(in srgb, var(--bulma-border) 40%, transparent);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.dropdown-item:last-child {
|
|
359
|
+
border-bottom: 0;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.dropdown-action-control.button {
|
|
363
|
+
width: 100%;
|
|
364
|
+
min-height: unset;
|
|
365
|
+
display: flex;
|
|
366
|
+
align-items: center;
|
|
367
|
+
justify-content: space-between;
|
|
368
|
+
gap: 0.5rem;
|
|
369
|
+
padding: 0.6rem 0.85rem;
|
|
370
|
+
border: 0 !important;
|
|
371
|
+
border-radius: 0 !important;
|
|
372
|
+
box-shadow: none !important;
|
|
373
|
+
background: transparent !important;
|
|
374
|
+
color: var(--bulma-dropdown-item-color) !important;
|
|
375
|
+
font-weight: 500;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.dropdown-action-control.button.is-dark,
|
|
379
|
+
.dropdown-action-control.button.is-black,
|
|
380
|
+
.dropdown-action-control.button.has-background-dark,
|
|
381
|
+
.dropdown-action-control.button.has-background-black {
|
|
382
|
+
background: transparent !important;
|
|
383
|
+
background-color: transparent !important;
|
|
384
|
+
color: var(--bulma-dropdown-item-color) !important;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.dropdown-action-control.button:hover,
|
|
388
|
+
.dropdown-action-control.button:focus,
|
|
389
|
+
.dropdown-item.is-active .dropdown-action-control.button,
|
|
390
|
+
.dropdown-item.is-current .dropdown-action-control.button {
|
|
391
|
+
background: var(--bulma-scheme-main-ter) !important;
|
|
392
|
+
color: var(--bulma-text-strong) !important;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.dropdown-action-label {
|
|
396
|
+
flex: 1 1 auto;
|
|
397
|
+
min-width: 0;
|
|
398
|
+
text-align: left;
|
|
399
|
+
white-space: nowrap;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.dropdown-action-icon {
|
|
403
|
+
flex: 0 0 1.25rem;
|
|
404
|
+
width: 1.25rem;
|
|
405
|
+
justify-content: center;
|
|
406
|
+
margin-left: auto;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.filters.dropdown {
|
|
411
|
+
.table-filter-action,
|
|
412
|
+
.table-filter-mode-button {
|
|
413
|
+
box-shadow: none;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
> .dropdown-menu > .dropdown-content {
|
|
417
|
+
width: 12em;
|
|
418
|
+
background-color: var(--enso-table-toolbar-surface);
|
|
419
|
+
border: 1px solid var(--enso-surface-border);
|
|
420
|
+
box-shadow: none;
|
|
421
|
+
|
|
422
|
+
ul.filters > li {
|
|
423
|
+
padding: 0.2em 0.4em;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.items {
|
|
427
|
+
max-height: 250px;
|
|
428
|
+
overflow: scroll;
|
|
429
|
+
|
|
430
|
+
.dropdown-item {
|
|
431
|
+
padding: 0.5em 0.8em;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
&.has-filter > .dropdown-menu > .dropdown-content {
|
|
437
|
+
width: 24em;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
&.has-select > .dropdown-menu > .dropdown-content > .items {
|
|
441
|
+
overflow: visible;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.flatpickr-input,
|
|
445
|
+
.input {
|
|
446
|
+
border-color: var(--enso-surface-border);
|
|
447
|
+
box-shadow: none;
|
|
448
|
+
color: var(--bulma-text-strong);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.table-filters__surface {
|
|
452
|
+
background-color: var(--enso-filter-surface);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.vue-select {
|
|
456
|
+
--enso-select-trigger-surface: var(--enso-filter-control-surface);
|
|
457
|
+
--enso-select-trigger-border: var(--enso-surface-border);
|
|
458
|
+
--enso-select-trigger-color: var(--bulma-text-strong);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.labels,
|
|
463
|
+
.scenarios {
|
|
464
|
+
a.tag:hover {
|
|
465
|
+
text-decoration: none;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.labels .filter-container {
|
|
470
|
+
position: absolute;
|
|
471
|
+
top: 1.7em;
|
|
472
|
+
z-index: 100;
|
|
473
|
+
min-width: 18em;
|
|
474
|
+
max-width: 24em;
|
|
475
|
+
width: 100%;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.scenarios input.input.is-small {
|
|
479
|
+
height: 20px;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.bottom-controls {
|
|
483
|
+
align-items: center;
|
|
484
|
+
border-top: 1px solid var(--bulma-border);
|
|
485
|
+
border-bottom-left-radius: inherit;
|
|
486
|
+
border-bottom-right-radius: inherit;
|
|
487
|
+
|
|
488
|
+
> .column {
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: center;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
> .column.is-narrow {
|
|
494
|
+
justify-content: flex-end;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.bottom-controls .records-info {
|
|
499
|
+
background-color: inherit;
|
|
500
|
+
padding: 1em;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.pagination.is-small {
|
|
504
|
+
padding: 0.75em;
|
|
505
|
+
margin: 0;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.pagination,
|
|
509
|
+
.pagination-list {
|
|
510
|
+
align-items: center;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.pagination-link,
|
|
514
|
+
.pagination-previous,
|
|
515
|
+
.pagination-next,
|
|
516
|
+
.pagination-ellipsis {
|
|
517
|
+
display: inline-flex;
|
|
518
|
+
align-items: center;
|
|
519
|
+
justify-content: center;
|
|
520
|
+
vertical-align: middle;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.pagination-link,
|
|
524
|
+
.pagination-previous,
|
|
525
|
+
.pagination-next {
|
|
526
|
+
min-width: 1.75rem;
|
|
527
|
+
height: 1.75rem;
|
|
528
|
+
background-color: var(--bulma-input-background-color);
|
|
529
|
+
border-color: var(--bulma-pagination-border-color);
|
|
530
|
+
color: var(--bulma-pagination-color);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.pagination-link:hover,
|
|
534
|
+
.pagination-previous:hover,
|
|
535
|
+
.pagination-next:hover {
|
|
536
|
+
border-color: var(--bulma-input-hover-border-color);
|
|
537
|
+
color: var(--bulma-text-strong);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.bottom-controls .pagination-link.is-current,
|
|
541
|
+
.pagination .pagination-link.is-current {
|
|
542
|
+
font-weight: 600;
|
|
543
|
+
background-color: var(--bulma-dark) !important;
|
|
544
|
+
border-color: var(--bulma-dark) !important;
|
|
545
|
+
color: var(--bulma-dark-invert) !important;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.pagination-ellipsis,
|
|
549
|
+
.table-header,
|
|
550
|
+
.table-header .sorter,
|
|
551
|
+
.table-header .icon,
|
|
552
|
+
.bottom-controls,
|
|
553
|
+
.bottom-controls .records-info {
|
|
554
|
+
color: var(--bulma-text-light);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.table-header {
|
|
558
|
+
white-space: nowrap;
|
|
559
|
+
|
|
560
|
+
.is-clickable,
|
|
561
|
+
.sorter {
|
|
562
|
+
cursor: pointer;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.table-header-controls .sorter {
|
|
566
|
+
opacity: 0.5;
|
|
567
|
+
|
|
568
|
+
&:hover {
|
|
569
|
+
opacity: 1;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.table-header .is-clickable,
|
|
575
|
+
.table-header .sorter:hover,
|
|
576
|
+
.table-header .delete:hover {
|
|
577
|
+
color: var(--bulma-text-strong);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.table-responsive {
|
|
581
|
+
width: 100%;
|
|
582
|
+
overflow-x: auto;
|
|
583
|
+
-ms-overflow-style: none;
|
|
584
|
+
overflow: -moz-scrollbars-none;
|
|
585
|
+
|
|
586
|
+
&::-webkit-scrollbar {
|
|
587
|
+
display: none;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.table {
|
|
591
|
+
thead tr {
|
|
592
|
+
border-bottom: 1px solid var(--enso-surface-border);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
tfoot tr:first-child {
|
|
596
|
+
border-top: 1px solid var(--bulma-border);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
td,
|
|
600
|
+
th {
|
|
601
|
+
vertical-align: middle;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
tbody {
|
|
607
|
+
overflow-y: hidden;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.hidden-control,
|
|
611
|
+
.is-clickable {
|
|
612
|
+
cursor: pointer;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.hidden-control {
|
|
616
|
+
margin-left: auto;
|
|
617
|
+
margin-top: 0.1em;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
td .icon.hidden-control {
|
|
621
|
+
transition: transform .300s ease;
|
|
622
|
+
|
|
623
|
+
&[aria-visible='true'] {
|
|
624
|
+
transform: rotate(90deg);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
td.table-actions {
|
|
629
|
+
padding: 0.35em 0.5em;
|
|
630
|
+
|
|
631
|
+
span.action-buttons {
|
|
632
|
+
display: inline-flex;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.button.is-small {
|
|
636
|
+
&.is-table-button {
|
|
637
|
+
height: 1.6em;
|
|
638
|
+
padding: 0.4em;
|
|
639
|
+
font-size: 0.9em;
|
|
640
|
+
background: transparent !important;
|
|
641
|
+
background-color: transparent !important;
|
|
642
|
+
border-color: transparent !important;
|
|
643
|
+
box-shadow: none !important;
|
|
644
|
+
color: var(--bulma-text-weak) !important;
|
|
645
|
+
transition: color .2s ease, opacity .2s ease;
|
|
646
|
+
|
|
647
|
+
&:focus,
|
|
648
|
+
&:active {
|
|
649
|
+
box-shadow: none !important;
|
|
650
|
+
border-color: transparent !important;
|
|
651
|
+
background: transparent !important;
|
|
652
|
+
background-color: transparent !important;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
&:hover {
|
|
656
|
+
color: var(--bulma-text) !important;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&.is-row-button {
|
|
661
|
+
background: transparent;
|
|
662
|
+
border-color: transparent;
|
|
663
|
+
opacity: 0.6;
|
|
664
|
+
transition: opacity ease 0.3s;
|
|
665
|
+
|
|
666
|
+
&:focus {
|
|
667
|
+
box-shadow: unset;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
&:hover {
|
|
671
|
+
opacity: 1;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
li.child-row:not(:last-child) {
|
|
678
|
+
border-bottom: 1px solid var(--bulma-border);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
li.child-row {
|
|
682
|
+
padding: 0.5em 0;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.is-number {
|
|
686
|
+
font-family: var(--bulma-family-code, ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
687
|
+
font-size: 1rem;
|
|
688
|
+
white-space: pre;
|
|
689
|
+
font-variant-numeric: tabular-nums;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.no-records-found {
|
|
693
|
+
padding: 1em;
|
|
694
|
+
}
|
|
695
|
+
}
|