@appscode/design-system 1.1.0-beta.3 → 1.1.0-beta.30

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.
Files changed (84) hide show
  1. package/base/utilities/_colors.scss +81 -186
  2. package/base/utilities/_global.scss +24 -18
  3. package/base/utilities/_typography.scss +2 -2
  4. package/base/utilities/dark-theme.scss +2 -8
  5. package/components/_ac-alert-box.scss +8 -8
  6. package/components/_ac-code-highlight.scss +9 -12
  7. package/components/_ac-drag.scss +4 -4
  8. package/components/_ac-modal.scss +2 -2
  9. package/components/_ac-multi-select.scss +18 -18
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +10 -10
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +6 -4
  14. package/components/_buttons.scss +10 -10
  15. package/components/_image-upload.scss +6 -6
  16. package/components/_input-card.scss +232 -0
  17. package/components/_input.scss +947 -0
  18. package/components/_left-sidebar-menu.scss +9 -13
  19. package/components/_monaco-editor.scss +2 -2
  20. package/components/_navbar.scss +7 -7
  21. package/components/_nested-list.scss +2 -2
  22. package/components/_overview-info.scss +3 -3
  23. package/components/_pricing-table.scss +5 -5
  24. package/components/_progress-bar.scss +61 -74
  25. package/components/_subscription-card.scss +8 -10
  26. package/components/_table-of-content.scss +4 -4
  27. package/components/{_ac-terminal.scss → _terminal.scss} +55 -38
  28. package/components/_widget-menu.scss +7 -12
  29. package/components/_wizard.scss +518 -793
  30. package/components/ac-toaster/_ac-toasted.scss +6 -11
  31. package/components/bbum/_information-center.scss +8 -10
  32. package/components/bbum/_mobile-desktop.scss +9 -14
  33. package/components/bbum/_single-post-preview.scss +9 -9
  34. package/components/ui-builder/_ui-builder.scss +163 -9
  35. package/components/ui-builder/_vue-open-api.scss +3 -2
  36. package/layouts/_code-preview.scss +6 -7
  37. package/main.scss +4 -4
  38. package/package.json +1 -1
  39. package/plugins/theme.js +11 -9
  40. package/plugins/vue-toaster.js +1 -1
  41. package/vue-components/types/importFlow.ts +16 -0
  42. package/vue-components/v2/banner/Banner.vue +1 -1
  43. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  44. package/vue-components/v2/modal/Modal.vue +1 -1
  45. package/vue-components/v2/pagination/Pagination.vue +1 -0
  46. package/vue-components/v3/alert/Alert.vue +7 -7
  47. package/vue-components/v3/banner/Banner.vue +2 -2
  48. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
  49. package/vue-components/v3/button/Button.vue +26 -11
  50. package/vue-components/v3/cards/Cluster.vue +3 -4
  51. package/vue-components/v3/cards/Counter.vue +12 -0
  52. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  53. package/vue-components/v3/cards/InfoCard.vue +4 -9
  54. package/vue-components/v3/cards/Monitoring.vue +1 -1
  55. package/vue-components/v3/cards/Vendor.vue +67 -5
  56. package/vue-components/v3/content/ContentTable.vue +7 -2
  57. package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
  58. package/vue-components/v3/footer/Info.vue +10 -8
  59. package/vue-components/v3/footer/Status.vue +21 -23
  60. package/vue-components/v3/footer/Usage.vue +20 -30
  61. package/vue-components/v3/form/Form.vue +0 -3
  62. package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
  63. package/vue-components/v3/header/Header.vue +5 -4
  64. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  65. package/vue-components/v3/modal/Modal.vue +1 -1
  66. package/vue-components/v3/navbar/Navbar.vue +3 -1
  67. package/vue-components/v3/navbar/User.vue +4 -4
  68. package/vue-components/v3/notification/AlertBox.vue +234 -4
  69. package/vue-components/v3/option-dots/Options.vue +2 -1
  70. package/vue-components/v3/pagination/Pagination.vue +2 -1
  71. package/vue-components/v3/preloader/Preloader.vue +1 -1
  72. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  73. package/vue-components/v3/sidebar/ClusterSwitcher.vue +35 -31
  74. package/vue-components/v3/sidebar/Sidebar.vue +5 -9
  75. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  76. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  77. package/vue-components/v3/sidebar/Steps.vue +152 -0
  78. package/vue-components/v3/table/InfoTable.vue +6 -4
  79. package/vue-components/v3/table/Table.vue +38 -31
  80. package/vue-components/v3/table/TableRow.vue +2 -2
  81. package/components/_ac-card.scss +0 -589
  82. package/components/_ac-input.scss +0 -394
  83. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  84. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,589 +0,0 @@
1
- .ac-card-wrapper {
2
- display: flex;
3
- align-items: center;
4
- flex-wrap: wrap;
5
- }
6
-
7
- .ac-single-card {
8
- border: 1px solid $primary-90;
9
- transition: 0.3s ease-in-out;
10
-
11
- &.is-selected {
12
- border: 1px solid $primary !important;
13
- }
14
-
15
- // &.style-two {
16
- // padding: 10px;
17
-
18
- // .ac-card-header {
19
- // margin-bottom: 13px;
20
-
21
- // .ac-card-logo {
22
- // margin-right: 10px;
23
- // position: relative;
24
- // z-index: 1;
25
-
26
- // img {
27
- // width: 100%;
28
- // }
29
-
30
- // .card-status {
31
- // position: absolute;
32
- // content: "";
33
- // background-color: #27ae60;
34
- // border: 2px solid $white-100;
35
- // box-sizing: border-box;
36
- // box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
37
- // width: 10px;
38
- // height: 10px;
39
- // border-radius: 50%;
40
- // right: 0;
41
- // top: 5px;
42
- // }
43
- // }
44
-
45
- // .ac-card-title {
46
- // h4 {
47
- // font-size: 12px;
48
- // font-family: $font-paragraph;
49
- // line-height: 140%;
50
- // }
51
- // }
52
- // }
53
-
54
- // .ac-card-body {
55
- // p {
56
- // font-size: 12px;
57
- // color: $primary-10;
58
- // font-weight: 400;
59
-
60
- // &:not(:last-child) {
61
- // margin-bottom: 8px;
62
- // }
63
- // }
64
- // }
65
- // }
66
-
67
- &.vendor-card {
68
- background-color: $primary-97;
69
- width: 190px;
70
- margin-bottom: 20px;
71
- margin-right: 20px;
72
- padding: 30px 20px 20px;
73
- height: 140px;
74
- cursor: pointer;
75
-
76
- .ac-card-logo {
77
- max-width: 50px;
78
- // margin: 0 auto 20px;
79
- margin-inline: auto;
80
- margin-bottom: 10px;
81
- display: flex;
82
- align-items: center;
83
-
84
- img {
85
- width: 100%;
86
- }
87
- }
88
-
89
- .ac-card-name {
90
- p {
91
- font-size: 13px;
92
- color: $primary-10;
93
- line-height: 1;
94
-
95
- &.free {
96
- color: $primary;
97
- }
98
- }
99
- }
100
-
101
- // &:hover {
102
- // background-color: $black-60;
103
- // }
104
- }
105
-
106
- &.card-counter {
107
-
108
- padding: 16px;
109
-
110
- .card-header {
111
- display: flex;
112
- justify-content: space-between;
113
- align-items: center;
114
- box-shadow: none;
115
- background-color: transparent;
116
- margin-bottom: 60px;
117
-
118
- h3 {
119
- font-size: 16px;
120
- line-height: 1;
121
- font-family: $font-paragraph;
122
- }
123
- }
124
-
125
- .card-body {
126
- text-align: left;
127
-
128
- .count {
129
- font-size: 36px;
130
- line-height: 1;
131
- font-weight: 600;
132
- color: $primary-5;
133
- display: inline-block;
134
- position: relative;
135
- z-index: 1;
136
-
137
- &:after {
138
- position: absolute;
139
- content: "";
140
- left: 0;
141
- bottom: 0;
142
- width: 100%;
143
- height: 5px;
144
- background-color: #fceaee;
145
- }
146
-
147
- &.subscription {
148
- &:after {
149
- background-color: #fceaee;
150
- }
151
- }
152
-
153
- &.member {
154
- &:after {
155
- background-color: #e5f6ee;
156
- }
157
- }
158
-
159
- &.active-product {
160
- &:after {
161
- background-color: #ededfa;
162
- }
163
- }
164
- }
165
- }
166
- }
167
-
168
- &.is-disabled {
169
- opacity: 0.5;
170
- cursor: not-allowed;
171
- }
172
-
173
- &:hover {
174
- border: 1px solid $primary;
175
-
176
- .ac-card-title {
177
- h4 {
178
- a {
179
- color: $primary;
180
- }
181
- }
182
- }
183
- }
184
-
185
- .ac-card-header {
186
- display: flex;
187
- align-items: center;
188
- margin-bottom: 16px;
189
-
190
- .ac-card-logo {
191
- width: 40px;
192
- overflow: hidden;
193
- margin-right: 15px;
194
- background: $white-100;
195
- padding: 8px;
196
- height: 40px;
197
- border-radius: 50%;
198
- display: flex;
199
- align-items: center;
200
- border: 1px solid $primary-90;
201
- }
202
-
203
- .ac-card-title {
204
- width: calc(100% - 55px);
205
-
206
- h4 {
207
- a {
208
- color: $primary-5;
209
- }
210
-
211
- font-size: 16px;
212
- margin-bottom: 0;
213
- line-height: 24px;
214
- }
215
-
216
- p {
217
- font-size: 13px;
218
- color: $ac-gray;
219
- }
220
- }
221
- }
222
-
223
- .ac-card-body {
224
- p {
225
- color: $black-30;
226
- font-size: 13px;
227
- line-height: 140%;
228
- }
229
- }
230
- }
231
-
232
- .ac-card-logo {
233
- position: relative;
234
- z-index: 1;
235
-
236
- .card-status {
237
- position: absolute;
238
- content: "";
239
- background-color: #27ae60;
240
- border: 2px solid $white-100;
241
- box-sizing: border-box;
242
- box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
243
- width: 10px;
244
- height: 10px;
245
- border-radius: 50%;
246
- right: 0;
247
- top: 5px;
248
- }
249
- }
250
-
251
- // offer card scss start
252
- .pricing-card-wrpper {
253
- &.offer-card {
254
- background-color: $white-100-lighter;
255
- border: 1px solid $primary-90;
256
- border-radius: 4px;
257
- display: flex;
258
- position: relative;
259
- z-index: 1;
260
-
261
- &:after {
262
- @include absulate-shape($primary, 100%, 4px);
263
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
264
- }
265
-
266
- .offer-highlight {
267
- width: 25%;
268
-
269
- .offer-discount {
270
- p {
271
- font-size: 24px;
272
- font-weight: 600;
273
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
274
- background-clip: text;
275
- -webkit-background-clip: text;
276
- -webkit-text-fill-color: transparent;
277
- }
278
- }
279
- }
280
- }
281
-
282
- .ac-card {
283
- padding: 0 10px 10px;
284
- width: 100%;
285
- position: relative;
286
- z-index: 1;
287
-
288
- &.offer-pricing {
289
- width: 75%;
290
- }
291
-
292
- &.is-primary {
293
- &:after {
294
- @include absulate-shape($primary, 100%, 4px);
295
- border-radius: 4px 4px 0 0;
296
- }
297
- }
298
-
299
- &.is-warning {
300
- &.is-selected {
301
- &.pricing {
302
- border: 1px solid $warning;
303
- }
304
- }
305
-
306
- &:after {
307
- @include absulate-shape($warning, 100%, 4px);
308
- border-radius: 4px 4px 0 0;
309
- }
310
- }
311
-
312
- &.is-green {
313
- &.is-selected {
314
- &.pricing {
315
- border: 1px solid $success;
316
- }
317
- }
318
-
319
- &:after {
320
- @include absulate-shape($success, 100%, 4px);
321
- border-radius: 4px 4px 0 0;
322
- }
323
- }
324
-
325
- &.is-danger {
326
- &.is-selected {
327
- &.pricing {
328
- border: 1px solid $danger;
329
- }
330
- }
331
-
332
- &:after {
333
- @include absulate-shape($danger, 100%, 4px);
334
- border-radius: 4px 4px 0 0;
335
- }
336
- }
337
-
338
- &.pricing {
339
- border: 1px solid $primary-90;
340
- border-radius: 4px;
341
-
342
- &.is-selected {
343
- border: 1px solid $primary;
344
- }
345
- }
346
-
347
- ul {
348
- li {
349
- display: flex;
350
- justify-content: space-between;
351
- padding: 10px;
352
- border-bottom: 1px solid $primary-90;
353
-
354
- &:last-child {
355
- border-bottom: 1px dashed $primary-90;
356
- }
357
-
358
- a.inline-button {
359
- font-size: 12px;
360
- color: $primary-10;
361
- text-decoration: underline;
362
- }
363
-
364
- span {
365
- color: $primary-10;
366
- font-size: 12px;
367
- font-weight: 600;
368
- }
369
-
370
- p {
371
- font-weight: 500;
372
- font-size: 13px;
373
- color: $primary-10;
374
-
375
- span {
376
- font-size: 12px;
377
- font-weight: 300;
378
- }
379
- }
380
- }
381
- }
382
- }
383
- }
384
-
385
- .button.ac-button {
386
- &.grediant-1 {
387
- border-radius: 4px;
388
- color: $white-100;
389
- letter-spacing: 0;
390
- font-size: 12px;
391
- border: none;
392
- background-color: #f99a00;
393
- /* Old browsers */
394
- background: -moz-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
395
- /* FF3.6-15 */
396
- background: -webkit-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
397
- /* Chrome10-25,Safari5.1-6 */
398
- background: linear-gradient(to right, #f99a00 0%, #3f19ad 100%);
399
- /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
400
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f99a00', endColorstr='#3f19ad', GradientType=1);
401
- /* IE6-9 */
402
- background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
403
-
404
- &:hover {
405
- opacity: 0.8;
406
- letter-spacing: 0.2px;
407
- }
408
- }
409
- }
410
-
411
- // offer card scss end
412
-
413
- // recent card start
414
- .recent-cluster-wrapper {
415
- flex-wrap: wrap;
416
-
417
- .ac-single-card {
418
- border: 1px solid $primary-90;
419
-
420
- &:hover {
421
- border: 1px solid transparent;
422
- }
423
-
424
- &.vendor-card {
425
- background-color: $white-100-lighter;
426
- width: 183px;
427
- padding: 15px 15px 20px;
428
- height: 115px;
429
-
430
- .ac-card-logo {
431
- max-width: 36px;
432
- height: auto;
433
- margin: 0 auto 15px;
434
-
435
- .card-status {
436
- width: 16px;
437
- height: 16px;
438
- right: -5px;
439
- top: 0;
440
- }
441
- }
442
-
443
- .ac-card-name {
444
- p {
445
- font-weight: normal;
446
- font-size: 12px;
447
- line-height: 14px;
448
- text-align: center;
449
- color: $primary-10;
450
- }
451
- }
452
- }
453
- }
454
- }
455
-
456
- // recent card end
457
-
458
- // features card start
459
- .features-card-wrapper {
460
- background-color: $white-100;
461
- padding: 10px;
462
- border-radius: 4px;
463
- border: 1px solid $primary-90;
464
-
465
- .f-header {
466
- display: grid;
467
- grid-template-columns: 40px auto 20px;
468
- grid-gap: 15px;
469
- border-bottom: 1px solid $primary-90;
470
- padding-bottom: 10px;
471
- margin-bottom: 10px;
472
- align-items: flex-start;
473
-
474
- .f-title-tag {
475
- .tag {
476
- background-color: $primary;
477
- color: $white-100;
478
- }
479
- }
480
- }
481
-
482
- p {
483
- font-style: normal;
484
- font-weight: normal;
485
- font-size: 13px;
486
- line-height: 160%;
487
- color: $primary-10;
488
- margin-bottom: 25px;
489
- }
490
-
491
- .features-name {
492
- display: flex;
493
- justify-content: space-between;
494
-
495
- .name,
496
- .f-number {
497
- font-weight: 500;
498
- font-size: 13px;
499
- line-height: 16px;
500
- color: $primary-10;
501
- margin-bottom: 10px;
502
- }
503
- }
504
-
505
- .features-list {
506
- ul {
507
- li {
508
- font-style: normal;
509
- font-weight: normal;
510
- font-size: 13px;
511
- line-height: 163%;
512
- color: $primary-10;
513
- margin-bottom: 5px;
514
-
515
- i.fa {
516
- padding-right: 10px;
517
- }
518
- }
519
- }
520
- }
521
- }
522
-
523
- // features card end
524
- // dark theme start
525
- .is-dark-theme {
526
- .ac-single-card {
527
- background-color: var(--dark-bg-light);
528
-
529
- &.vendor-card {
530
- background-color: var(--dark-bg-light);
531
- }
532
-
533
- .ac-card-body {
534
- p {
535
- color: $ac-label-text;
536
- }
537
- }
538
- }
539
-
540
- .pricing-card-wrpper {
541
- &.offer-card {
542
- background-color: var(--dark-bg-light);
543
- }
544
-
545
- .ac-card {
546
- background-color: var(--dark-bg-light);
547
- }
548
- }
549
- }
550
-
551
- // dark theme end
552
- /****************************************
553
- Responsive Classes
554
- *****************************************/
555
- // Extra small devices (portrait phones, less than 576px)
556
- @media (max-width: 575.98px) {}
557
-
558
- // Small devices (landscape phones, 576px and up)
559
- @media (min-width: 576px) and (max-width: 767.98px) {}
560
-
561
- // Medium devices (tablets, 768px and up)
562
- @media (min-width: 768px) and (max-width: 991.98px) {}
563
-
564
- // Large devices (desktops, 992px and up)
565
- @media (min-width: 992px) and (max-width: 1199.98px) {}
566
-
567
- // Extra large devices (large desktops, 1200px and up)
568
- @media (min-width: 1200px) {
569
- .pricing-card-wrpper {
570
- .ac-card {
571
- ul {
572
- li {
573
- p {
574
- font-size: 13px;
575
- line-height: 1;
576
- }
577
- }
578
- }
579
- }
580
- }
581
-
582
- .ac-single-card {
583
- &.card-counter {
584
- .card-header {
585
- margin-bottom: 30px;
586
- }
587
- }
588
- }
589
- }