@appscode/design-system 1.1.0-beta.7 → 1.1.0-beta.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/base/utilities/_all.scss +2 -2
- package/base/utilities/_colors.scss +105 -136
- package/base/utilities/_global.scss +25 -19
- package/base/utilities/_layouts.scss +0 -138
- package/base/utilities/_typography.scss +2 -2
- package/components/_ac-alert-box.scss +2 -2
- package/components/_ac-code-highlight.scss +9 -12
- package/components/_ac-drag.scss +4 -4
- package/components/_ac-modal.scss +2 -2
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +7 -7
- package/components/_ac-tabs.scss +29 -26
- package/components/_all.scss +8 -5
- package/components/_buttons.scss +10 -10
- package/components/_getkeeper.scss +110 -0
- package/components/_graph.scss +10 -10
- package/components/_image-upload.scss +4 -4
- package/components/_input-card.scss +232 -0
- package/components/{_ac-input.scss → _input.scss} +53 -7
- package/components/_left-sidebar-menu.scss +9 -13
- package/components/_monaco-editor.scss +2 -2
- package/components/_multi-select.scss +589 -0
- package/components/_navbar.scss +7 -7
- package/components/_nested-list.scss +2 -2
- package/components/_overview-info.scss +3 -3
- package/components/_pricing-table.scss +5 -5
- package/components/_progress-bar.scss +61 -74
- package/components/_subscription-card.scss +8 -10
- package/components/_table-of-content.scss +4 -4
- package/components/{_ac-terminal.scss → _terminal.scss} +63 -74
- package/components/_widget-menu.scss +7 -12
- package/components/_wizard.scss +13 -286
- package/components/bbum/_information-center.scss +8 -10
- package/components/bbum/_mobile-desktop.scss +9 -14
- package/components/bbum/_single-post-preview.scss +9 -9
- package/components/ui-builder/_ui-builder.scss +194 -10
- package/components/ui-builder/_vue-open-api.scss +58 -13
- package/icons/close-icon.svg +3 -0
- package/layouts/_code-preview.scss +6 -7
- package/package.json +1 -1
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/types/notification.ts +3 -3
- package/vue-components/types/table.ts +1 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/modal/Modal.vue +1 -1
- package/vue-components/v3/alert/Alert.vue +2 -2
- package/vue-components/v3/banner/Banner.vue +2 -2
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
- package/vue-components/v3/button/Button.vue +33 -11
- package/vue-components/v3/cards/Cluster.vue +6 -2
- package/vue-components/v3/cards/FeatureCard.vue +1 -1
- package/vue-components/v3/cards/FeatureCards.vue +1 -1
- package/vue-components/v3/cards/InfoCard.vue +1 -2
- package/vue-components/v3/cards/OverviewCard.vue +4 -0
- package/vue-components/v3/cards/OverviewCards.vue +10 -2
- package/vue-components/v3/cards/Vendor.vue +8 -5
- package/vue-components/v3/content/ContentTable.vue +1 -1
- package/vue-components/v3/editor/FilteredFileEditor.vue +5 -1
- package/vue-components/v3/footer/FooterArea.vue +8 -2
- package/vue-components/v3/footer/Info.vue +10 -8
- package/vue-components/v3/footer/Status.vue +24 -23
- package/vue-components/v3/footer/Usage.vue +20 -30
- package/vue-components/v3/form/Form.vue +0 -3
- package/vue-components/v3/form-fields/AcSingleInput.vue +3 -8
- package/vue-components/v3/header/Header.vue +1 -1
- package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
- package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
- package/vue-components/v3/modal/Modal.vue +6 -11
- package/vue-components/v3/navbar/Navbar.vue +0 -159
- package/vue-components/v3/navbar/NavbarItemContent.vue +5 -2
- package/vue-components/v3/navbar/User.vue +33 -16
- package/vue-components/v3/notification/AlertBox.vue +233 -3
- package/vue-components/v3/notification/Notification.vue +2 -2
- package/vue-components/v3/option-dots/Options.vue +3 -2
- package/vue-components/v3/pagination/Pagination.vue +2 -1
- package/vue-components/v3/preloader/Preloader.vue +1 -1
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -765
- package/vue-components/v3/sidebar/Sidebar.vue +3 -30
- package/vue-components/v3/sidebar/SidebarBody.vue +9 -2
- package/vue-components/v3/sidebar/SidebarFooter.vue +6 -3
- package/vue-components/v3/sidebar/SidebarHeader.vue +6 -2
- package/vue-components/v3/sidebar/Steps.vue +55 -51
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +12 -3
- package/vue-components/v3/table/Table.vue +14 -16
- package/vue-components/v3/table/TableCell.vue +1 -9
- package/vue-components/v3/table/TableRow.vue +2 -2
- package/vue-components/v3/table/table-cell/ArrayCell.vue +35 -32
- package/vue-components/v3/table/table-cell/CellValue.vue +14 -40
- package/vue-components/v3/table/table-cell/ObjectCell.vue +40 -38
- package/vue-components/v3/tag/Tag.vue +1 -0
- package/base/utilities/dark-theme.scss +0 -26
- package/components/_ac-card.scss +0 -0
- package/components/_ac-multi-select.scss +0 -780
- package/vue-components/text.vue +0 -1
- package/vue-components/types/longRunningTasks.ts +0 -20
- package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
- package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
- package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
- /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../input-card";
|
|
2
|
+
|
|
1
3
|
.ac-object-field-wrapper {
|
|
2
4
|
display: grid;
|
|
3
5
|
grid-template-columns: auto auto 45px;
|
|
@@ -11,7 +13,7 @@
|
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.ui-builders-wrapper {
|
|
14
|
-
width:
|
|
16
|
+
width: 800px;
|
|
15
17
|
|
|
16
18
|
h5 {
|
|
17
19
|
margin-bottom: 10px;
|
|
@@ -28,6 +30,10 @@
|
|
|
28
30
|
display: grid;
|
|
29
31
|
grid-template-columns: 1fr 1fr auto;
|
|
30
32
|
grid-gap: 15px;
|
|
33
|
+
|
|
34
|
+
&.has-close {
|
|
35
|
+
grid-template-columns: 1fr 1fr auto auto;
|
|
36
|
+
}
|
|
31
37
|
}
|
|
32
38
|
|
|
33
39
|
.key-value-save-check {
|
|
@@ -153,7 +159,7 @@
|
|
|
153
159
|
min-width: 630px;
|
|
154
160
|
|
|
155
161
|
.thead {
|
|
156
|
-
background-color: $
|
|
162
|
+
background-color: $primary-90;
|
|
157
163
|
|
|
158
164
|
.tr {
|
|
159
165
|
.th {
|
|
@@ -207,17 +213,100 @@
|
|
|
207
213
|
// details with checkradio
|
|
208
214
|
.details-with-checkradio-wrapper {
|
|
209
215
|
display: grid;
|
|
210
|
-
|
|
211
|
-
grid-
|
|
216
|
+
gap: 15px;
|
|
217
|
+
grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
|
|
218
|
+
}
|
|
219
|
+
.table {
|
|
220
|
+
tr {
|
|
221
|
+
&.is-selected {
|
|
222
|
+
background-color: $primary-97;
|
|
223
|
+
strong {
|
|
224
|
+
color: $primary;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
212
228
|
}
|
|
213
|
-
|
|
214
229
|
// dark theme start
|
|
215
|
-
.is-dark-theme {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
230
|
+
// .is-dark-theme {
|
|
231
|
+
// .nested-body {
|
|
232
|
+
// code {
|
|
233
|
+
// background-color: var(--dark-bg-light);
|
|
234
|
+
// }
|
|
235
|
+
// }
|
|
236
|
+
// }
|
|
237
|
+
|
|
238
|
+
// label action start
|
|
239
|
+
.label-action {
|
|
240
|
+
align-items: center;
|
|
241
|
+
height: 21px;
|
|
242
|
+
|
|
243
|
+
.ac-single-input {
|
|
244
|
+
label {
|
|
245
|
+
margin-top: 2px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
button:not(.is-text) {
|
|
250
|
+
opacity: 0;
|
|
251
|
+
visibility: hidden;
|
|
252
|
+
transition: 0.3s ease-in-out;
|
|
253
|
+
|
|
254
|
+
img {
|
|
255
|
+
width: 15px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&.label-icon {
|
|
259
|
+
border: none;
|
|
260
|
+
background-color: transparent;
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
padding: 0;
|
|
263
|
+
transition: 0.3s ease-in-out;
|
|
264
|
+
|
|
265
|
+
&:hover {
|
|
266
|
+
opacity: 0.8;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&:hover {
|
|
272
|
+
button {
|
|
273
|
+
opacity: 1;
|
|
274
|
+
visibility: visible;
|
|
219
275
|
}
|
|
220
276
|
}
|
|
277
|
+
|
|
278
|
+
.ms-close-button,
|
|
279
|
+
.ac-modal-footer {
|
|
280
|
+
.buttons {
|
|
281
|
+
button {
|
|
282
|
+
opacity: 1;
|
|
283
|
+
visibility: visible;
|
|
284
|
+
|
|
285
|
+
&:hover {
|
|
286
|
+
opacity: 0.7;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.label-icon {
|
|
293
|
+
display: flex;
|
|
294
|
+
align-items: center;
|
|
295
|
+
margin-right: 10px;
|
|
296
|
+
|
|
297
|
+
img {
|
|
298
|
+
width: 16px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
strong {
|
|
303
|
+
font-style: normal;
|
|
304
|
+
font-weight: 500;
|
|
305
|
+
font-size: 13px;
|
|
306
|
+
line-height: 16px;
|
|
307
|
+
color: $primary-10;
|
|
308
|
+
margin-right: 16px;
|
|
309
|
+
}
|
|
221
310
|
}
|
|
222
311
|
|
|
223
312
|
//For resource input from
|
|
@@ -243,7 +332,102 @@
|
|
|
243
332
|
top: 7px;
|
|
244
333
|
}
|
|
245
334
|
|
|
246
|
-
|
|
335
|
+
.ac-final-state {
|
|
336
|
+
margin-bottom: 10px;
|
|
337
|
+
|
|
338
|
+
&:last-child {
|
|
339
|
+
margin-bottom: 0;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.state-left {
|
|
343
|
+
h5 {
|
|
344
|
+
font-style: normal;
|
|
345
|
+
font-weight: 500;
|
|
346
|
+
font-size: 14px;
|
|
347
|
+
line-height: 19px;
|
|
348
|
+
color: $primary-10;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
button {
|
|
352
|
+
&.ac-button {
|
|
353
|
+
opacity: 0;
|
|
354
|
+
visibility: hidden;
|
|
355
|
+
transition: 0.3s ease-in-out;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
&:hover {
|
|
361
|
+
.state-left {
|
|
362
|
+
button {
|
|
363
|
+
&.ac-button {
|
|
364
|
+
opacity: 1;
|
|
365
|
+
visibility: visible;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.up-down-buttons {
|
|
373
|
+
border-radius: 4px;
|
|
374
|
+
overflow: hidden;
|
|
375
|
+
position: relative;
|
|
376
|
+
z-index: 1;
|
|
377
|
+
max-width: 36px;
|
|
378
|
+
margin-bottom: 0 !important;
|
|
379
|
+
button {
|
|
380
|
+
width: 36px;
|
|
381
|
+
height: 18px;
|
|
382
|
+
cursor: pointer;
|
|
383
|
+
border: none;
|
|
384
|
+
color: $primary;
|
|
385
|
+
background-color: $primary-90;
|
|
386
|
+
transition: 0.3s ease-in-out;
|
|
387
|
+
&:hover {
|
|
388
|
+
background-color: $primary-80;
|
|
389
|
+
}
|
|
390
|
+
&.is-primary {
|
|
391
|
+
background-color: $primary;
|
|
392
|
+
color: $white-100;
|
|
393
|
+
&:hover {
|
|
394
|
+
background-color: $primary-30;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
.icon {
|
|
398
|
+
margin: 0;
|
|
399
|
+
padding: 0;
|
|
400
|
+
width: auto;
|
|
401
|
+
height: auto;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
// buttons
|
|
406
|
+
.button {
|
|
407
|
+
&.ac-button {
|
|
408
|
+
&.is-medium {
|
|
409
|
+
font-size: 1rem;
|
|
410
|
+
height: 36px;
|
|
411
|
+
}
|
|
412
|
+
&.is-tinny {
|
|
413
|
+
height: 24px;
|
|
414
|
+
padding: 0 8px;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.button[disabled] {
|
|
420
|
+
&.is-ghost {
|
|
421
|
+
border-color: transparent !important;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
p.is-error,
|
|
426
|
+
span.is-error {
|
|
427
|
+
color: $danger;
|
|
428
|
+
font-weight: 400;
|
|
429
|
+
}
|
|
430
|
+
|
|
247
431
|
/****************************************
|
|
248
432
|
Responsive Classes
|
|
249
433
|
*****************************************/
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
|
|
66
66
|
.vue-form-scema-body {
|
|
67
67
|
.left-content {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
background-color: $primary-97;
|
|
69
|
+
border-right: 1px solid $primary-90;
|
|
70
70
|
padding: 30px;
|
|
71
|
+
width: 500px;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
.right-content {
|
|
74
|
-
width: 100%;
|
|
75
75
|
margin-top: 30px;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -91,7 +91,6 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.is-collapsed {
|
|
94
|
-
|
|
95
94
|
&.ac-nested-elements::before,
|
|
96
95
|
&.ac-nested-elements::after {
|
|
97
96
|
display: none;
|
|
@@ -100,7 +99,7 @@
|
|
|
100
99
|
|
|
101
100
|
.ui-builders-wrapper {
|
|
102
101
|
.ac-nested-elements::before {
|
|
103
|
-
bottom:
|
|
102
|
+
bottom: 10px !important;
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
|
|
@@ -137,7 +136,6 @@
|
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
&.is-success {
|
|
140
|
-
|
|
141
139
|
input,
|
|
142
140
|
.ac-card,
|
|
143
141
|
textarea {
|
|
@@ -150,7 +148,6 @@
|
|
|
150
148
|
}
|
|
151
149
|
|
|
152
150
|
&.is-danger {
|
|
153
|
-
|
|
154
151
|
input,
|
|
155
152
|
.ac-card,
|
|
156
153
|
textarea {
|
|
@@ -163,7 +160,6 @@
|
|
|
163
160
|
}
|
|
164
161
|
|
|
165
162
|
&.is-loading {
|
|
166
|
-
|
|
167
163
|
input,
|
|
168
164
|
.ac-card,
|
|
169
165
|
textarea {
|
|
@@ -216,6 +212,10 @@
|
|
|
216
212
|
height: 45px;
|
|
217
213
|
width: 45px;
|
|
218
214
|
margin-top: 0;
|
|
215
|
+
&:focus {
|
|
216
|
+
outline: none;
|
|
217
|
+
box-shadow: none;
|
|
218
|
+
}
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -485,10 +485,12 @@
|
|
|
485
485
|
transition: 0.3s;
|
|
486
486
|
|
|
487
487
|
&:hover {
|
|
488
|
-
background-color: hsla(
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
488
|
+
background-color: hsla(
|
|
489
|
+
var(--hsl-hue),
|
|
490
|
+
var(--hsl-saturation),
|
|
491
|
+
var(--hsl-lightness),
|
|
492
|
+
0.2
|
|
493
|
+
);
|
|
492
494
|
color: $primary;
|
|
493
495
|
}
|
|
494
496
|
}
|
|
@@ -614,4 +616,47 @@
|
|
|
614
616
|
width: 200px !important;
|
|
615
617
|
padding-right: 10px;
|
|
616
618
|
}
|
|
617
|
-
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// button scss
|
|
622
|
+
.button {
|
|
623
|
+
&.ac-button {
|
|
624
|
+
padding: 8px 16px;
|
|
625
|
+
font-weight: 500;
|
|
626
|
+
line-height: 1;
|
|
627
|
+
|
|
628
|
+
&.is-light {
|
|
629
|
+
&.is-loading {
|
|
630
|
+
&::after {
|
|
631
|
+
border-color: transparent transparent #1c1c1c #1c1c1c !important;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
&.is-ghost {
|
|
636
|
+
border-color: transparent !important;
|
|
637
|
+
}
|
|
638
|
+
&.is-square {
|
|
639
|
+
border: 1px solid $primary-95;
|
|
640
|
+
}
|
|
641
|
+
&.is-small {
|
|
642
|
+
padding: 4px 9px;
|
|
643
|
+
}
|
|
644
|
+
&.is-medium {
|
|
645
|
+
font-size: 1rem;
|
|
646
|
+
height: 36px;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
&:focus {
|
|
650
|
+
outline: none;
|
|
651
|
+
box-shadow: none;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
button.is-primary {
|
|
655
|
+
background-color: $primary;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.is-refresh {
|
|
659
|
+
i.fa {
|
|
660
|
+
color: $primary-10;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
background-color: $white-100;
|
|
10
10
|
|
|
11
11
|
&.ac-bg {
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&.is-fullwidth {
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
|
|
59
59
|
/* Handle */
|
|
60
60
|
&::-webkit-scrollbar-thumb {
|
|
61
|
-
background-color: $
|
|
61
|
+
background-color: $black-50;
|
|
62
62
|
border-radius: 10px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* Handle on hover */
|
|
66
66
|
&::-webkit-scrollbar-thumb:hover {
|
|
67
|
-
background-color: $
|
|
67
|
+
background-color: $black-50;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.number {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
// new code preview
|
|
111
111
|
.ac-components {
|
|
112
112
|
margin: 20px;
|
|
113
|
+
|
|
113
114
|
.single-component {
|
|
114
115
|
// box-shadow: $ac-shadow-1;
|
|
115
116
|
border: 1px solid $primary-90;
|
|
@@ -253,9 +254,7 @@ Responsive Classes
|
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
// Large devices (desktops, 992px and up)
|
|
256
|
-
@media (min-width: 992px) and (max-width: 1199.98px) {
|
|
257
|
-
}
|
|
257
|
+
@media (min-width: 992px) and (max-width: 1199.98px) {}
|
|
258
258
|
|
|
259
259
|
// Extra large devices (large desktops, 1200px and up)
|
|
260
|
-
@media (min-width: 1200px) {
|
|
261
|
-
}
|
|
260
|
+
@media (min-width: 1200px) {}
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Substep {
|
|
2
|
+
component: string;
|
|
3
|
+
identifier: number;
|
|
4
|
+
title: string;
|
|
5
|
+
isVisible: boolean;
|
|
6
|
+
isValid: () => boolean;
|
|
7
|
+
nextStep: () => void;
|
|
8
|
+
nextStepButtonText?: () => string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface Step {
|
|
12
|
+
identifier: number;
|
|
13
|
+
title: string;
|
|
14
|
+
isVisible: boolean;
|
|
15
|
+
substeps: Substep[];
|
|
16
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
v-if="isPreviewLoading || (!isPreviewLoading && previewYamls)"
|
|
8
8
|
class="left-content"
|
|
9
9
|
>
|
|
10
|
-
<div class="ac-files ac-hscrollbar pt-0">
|
|
10
|
+
<div class="ac-files ac-hscrollbar ac-vscrollbar pt-0">
|
|
11
11
|
<ul v-if="!isPreviewLoading">
|
|
12
12
|
<li
|
|
13
13
|
v-for="(previewYaml, idx) in filteredYamls"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
</template>
|
|
61
61
|
<script>
|
|
62
|
-
import Preloader from "../preloader/Preloader.vue";
|
|
63
62
|
import Banner from "../banner/Banner.vue";
|
|
63
|
+
import Preloader from "../preloader/Preloader.vue";
|
|
64
64
|
export default {
|
|
65
65
|
components: {
|
|
66
66
|
Editor: () => ({
|
|
@@ -20,7 +20,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
20
20
|
// for alert message
|
|
21
21
|
.ac-notification {
|
|
22
22
|
background-color: #dee7f5;
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: 13px;
|
|
24
24
|
color: $primary;
|
|
25
25
|
min-height: 36px;
|
|
26
26
|
display: flex;
|
|
@@ -232,7 +232,7 @@ AC Toast
|
|
|
232
232
|
// dark theme start
|
|
233
233
|
// .is-dark-theme {
|
|
234
234
|
// .ac-notification.is-danger {
|
|
235
|
-
// background-color: $
|
|
235
|
+
// background-color: $black-80;
|
|
236
236
|
// }
|
|
237
237
|
// }
|
|
238
238
|
</style>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
<template>
|
|
4
4
|
<div class="sign-up-notification mb-20">
|
|
5
|
-
<div class="
|
|
6
|
-
<h3><slot name="banner-title">Error!</slot></h3>
|
|
5
|
+
<div class="has-text-centered">
|
|
6
|
+
<h3 class="has-text-danger"><slot name="banner-title">Error!</slot></h3>
|
|
7
7
|
<slot><p>Oops!! There was an error while loading!</p></slot>
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
@@ -54,8 +54,10 @@ const createBreadcrumbs = () => {
|
|
|
54
54
|
pathReplaceWithParam(element.path)
|
|
55
55
|
);
|
|
56
56
|
|
|
57
|
-
//
|
|
58
|
-
listPaths.
|
|
57
|
+
// If there is duplicate value in arrays last element remove it
|
|
58
|
+
const length = listPaths.length;
|
|
59
|
+
if (length > 1 && listPaths[length - 1] === listPaths[length - 2])
|
|
60
|
+
listPaths.pop();
|
|
59
61
|
|
|
60
62
|
//Createing the breadcrumb name
|
|
61
63
|
const listName = createList(listPaths);
|
|
@@ -94,11 +96,71 @@ watch(
|
|
|
94
96
|
class="router-link-active"
|
|
95
97
|
:class="{ 'is-active': idx === list.length - 1 }"
|
|
96
98
|
:to="item.path"
|
|
97
|
-
|
|
99
|
+
>
|
|
100
|
+
<span v-if="idx === 0" class="icon is-flex-start p-0 m-0">
|
|
101
|
+
<svg
|
|
102
|
+
width="12"
|
|
103
|
+
height="12"
|
|
104
|
+
viewBox="0 0 12 12"
|
|
105
|
+
fill="none"
|
|
106
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
107
|
+
>
|
|
108
|
+
<path
|
|
109
|
+
d="M1 4.5L5.5 1L10 4.5V10C10 10.2652 9.89464 10.5196 9.70711 10.7071C9.51957 10.8946 9.26522 11 9 11H2C1.73478 11 1.48043 10.8946 1.29289 10.7071C1.10536 10.5196 1 10.2652 1 10V4.5Z"
|
|
110
|
+
stroke="#666666"
|
|
111
|
+
stroke-width="1.5"
|
|
112
|
+
stroke-linecap="round"
|
|
113
|
+
stroke-linejoin="round"
|
|
114
|
+
/>
|
|
115
|
+
<path
|
|
116
|
+
d="M4 11V6H7V11"
|
|
117
|
+
stroke="#666666"
|
|
118
|
+
stroke-width="1.5"
|
|
119
|
+
stroke-linecap="round"
|
|
120
|
+
stroke-linejoin="round"
|
|
121
|
+
/>
|
|
122
|
+
</svg>
|
|
123
|
+
</span>
|
|
124
|
+
{{ item.name }}
|
|
98
125
|
</router-link>
|
|
99
126
|
</li>
|
|
100
127
|
</ul>
|
|
101
128
|
</nav>
|
|
102
129
|
</div>
|
|
103
130
|
</template>
|
|
104
|
-
|
|
131
|
+
|
|
132
|
+
<style lang="scss" scoped>
|
|
133
|
+
/* breadcumb style */
|
|
134
|
+
.ac-breadcrumb {
|
|
135
|
+
padding: 8px 20px;
|
|
136
|
+
border-bottom: 1px solid $primary-95;
|
|
137
|
+
position: sticky;
|
|
138
|
+
top: 50px;
|
|
139
|
+
height: auto;
|
|
140
|
+
background-color: $white-100;
|
|
141
|
+
z-index: 998;
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: center;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.breadcrumb {
|
|
147
|
+
a {
|
|
148
|
+
color: $primary-20;
|
|
149
|
+
font-size: 13px;
|
|
150
|
+
padding: 0 3px;
|
|
151
|
+
font-weight: 500;
|
|
152
|
+
font-style: normal;
|
|
153
|
+
|
|
154
|
+
&:hover {
|
|
155
|
+
color: $primary-10;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
li.is-active {
|
|
160
|
+
a {
|
|
161
|
+
color: $primary-10;
|
|
162
|
+
font-weight: 500;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
</style>
|