@appscode/design-system 1.0.43-alpha.13 → 1.0.43-alpha.132

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 (104) hide show
  1. package/base/utilities/_default.scss +283 -21
  2. package/base/utilities/_derived-variables.scss +0 -13
  3. package/base/utilities/_initial-variables.scss +78 -56
  4. package/base/utilities/_mixin.scss +10 -17
  5. package/base/utilities/_typography.scss +23 -7
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-accordion.scss +1 -0
  8. package/components/_ac-alert-box.scss +18 -10
  9. package/components/_ac-card.scss +55 -20
  10. package/components/_ac-code-highlight.scss +7 -1
  11. package/components/_ac-content-layout.scss +4 -4
  12. package/components/_ac-drag.scss +6 -6
  13. package/components/_ac-input.scss +74 -40
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +195 -13
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -36
  19. package/components/_ac-tabs.scss +72 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +272 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +60 -27
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +33 -1
  27. package/components/_direct-deploy.scss +69 -0
  28. package/components/_go-to-top.scss +1 -1
  29. package/components/_graph.scss +45 -0
  30. package/components/_image-upload.scss +6 -4
  31. package/components/_left-sidebar-menu.scss +200 -46
  32. package/components/_monaco-editor.scss +1 -1
  33. package/components/_navbar.scss +129 -26
  34. package/components/_overview-info.scss +4 -4
  35. package/components/_overview-page.scss +1 -2
  36. package/components/_pagination.scss +10 -2
  37. package/components/_payment-card.scss +28 -12
  38. package/components/_preview-modal.scss +19 -8
  39. package/components/_pricing-table.scss +1 -1
  40. package/components/_progress-bar.scss +5 -5
  41. package/components/_subscription-card.scss +15 -8
  42. package/components/_table-of-content.scss +1 -1
  43. package/components/_tfa.scss +69 -0
  44. package/components/_transitions.scss +261 -0
  45. package/components/_widget-menu.scss +9 -9
  46. package/components/_wizard.scss +31 -19
  47. package/components/ac-toaster/_ac-toasted.scss +5 -5
  48. package/components/bbum/_card-team.scss +18 -10
  49. package/components/bbum/_information-center.scss +17 -3
  50. package/components/bbum/_mobile-desktop.scss +6 -6
  51. package/components/bbum/_post.scss +5 -4
  52. package/components/bbum/_sign-up-notification.scss +6 -6
  53. package/components/bbum/_single-post-preview.scss +9 -9
  54. package/components/bbum/_user-profile.scss +97 -90
  55. package/components/ui-builder/_ui-builder.scss +29 -10
  56. package/components/ui-builder/_vue-open-api.scss +98 -0
  57. package/layouts/_404.scss +2 -1
  58. package/layouts/_code-preview.scss +14 -7
  59. package/main.scss +4 -0
  60. package/package.json +2 -7
  61. package/plugins/theme.js +130 -128
  62. package/vue-components/v2/banner/Banner.vue +2 -2
  63. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  64. package/vue-components/v2/button/Button.vue +5 -0
  65. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  66. package/vue-components/v2/card/PaymentCards.vue +11 -2
  67. package/vue-components/v2/content/ContentTable.vue +12 -7
  68. package/vue-components/v2/editor/Editor.vue +29 -1
  69. package/vue-components/v2/editor/FilteredFileEditor.vue +153 -0
  70. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +196 -0
  71. package/vue-components/v2/loaders/ResourceLoader.vue +90 -0
  72. package/vue-components/v2/loaders/SidebarLoader.vue +32 -0
  73. package/vue-components/v2/modal/Modal.vue +33 -12
  74. package/vue-components/v2/modals/DeleteConfirmationModal.vue +77 -0
  75. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  76. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  77. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  78. package/vue-components/v2/navbar/User.vue +154 -12
  79. package/vue-components/v2/preloader/Preloader.vue +5 -5
  80. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  81. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  82. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  83. package/vue-components/v2/table/Table.vue +43 -8
  84. package/vue-components/v2/table/TableRow.vue +17 -8
  85. package/vue-components/v2/table/table-cell/CellValue.vue +31 -4
  86. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  87. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  88. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  89. package/vue-components/v3/button/Button.vue +5 -0
  90. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  91. package/vue-components/v3/editor/Editor.vue +32 -11
  92. package/vue-components/v3/modal/Modal.vue +10 -1
  93. package/vue-components/v3/modals/JsonShowModal.vue +13 -4
  94. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  95. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  96. package/vue-components/v3/navbar/User.vue +154 -12
  97. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  98. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  99. package/vue-components/v3/table/Table.vue +27 -5
  100. package/vue-components/v3/table/TableRow.vue +1 -1
  101. package/vue-components/v3/table/table-cell/CellValue.vue +26 -3
  102. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  103. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  104. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,6 +1,8 @@
1
1
  .ac-code-highlight {
2
2
  pre {
3
3
  font-size: $font-size-small;
4
+ color: $ac-color-text;
5
+ background-color: $ac-white-lighter;
4
6
  }
5
7
  &.is-dark {
6
8
  pre {
@@ -9,11 +11,15 @@
9
11
  }
10
12
  }
11
13
  }
14
+ code[class*="language-"],
15
+ pre[class*="language-"] {
16
+ font-size: 14px !important;
17
+ }
12
18
 
13
19
  .editor-writable {
14
20
  width: 100%;
15
21
  border-radius: 4px !important;
16
- border: 1px solid #f1f1f1 !important;
22
+ border: 1px solid $ac-white-light !important;
17
23
  }
18
24
 
19
25
  .monaco-editor {
@@ -1,18 +1,18 @@
1
1
  .ac-content-layout {
2
- background: transparent;
2
+ background-color: transparent;
3
3
  padding: 0;
4
4
  border-radius: 0;
5
5
  height: 100%;
6
6
  border: none;
7
7
 
8
8
  &.style-2 {
9
- border: 1px solid $table-header;
9
+ border: 1px solid $ac-white-light;
10
10
  box-shadow: none;
11
11
  padding: 0;
12
12
  border-radius: 4px;
13
13
 
14
14
  .ac-content-header {
15
- background: $table-header;
15
+ background-color: $ac-white-light;
16
16
 
17
17
  &.is-bg-white {
18
18
  .ac-cheader-left {
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  &.is-dark {
39
- background-color: $ac-bg-dark;
39
+ background-color: $ac-color-heading;
40
40
 
41
41
  .ac-content-header {
42
42
  &.drag-n-drop {
@@ -19,13 +19,13 @@
19
19
  }
20
20
 
21
21
  .dragable-list-items {
22
- background: $ac-bg-light-gray;
22
+ background-color: $ac-white-lighter;
23
23
  border-radius: 4px;
24
24
  max-height: 400px;
25
25
 
26
26
  .is-highlight {
27
27
  background-color: $ac-white;
28
- border: 1px dashed $ac-border-hover;
28
+ border: 1px dashed $ac-gray-lightest;
29
29
  border-radius: 4px;
30
30
  margin: 4px 0;
31
31
  overflow: hidden;
@@ -36,7 +36,7 @@
36
36
  padding-left: 40px;
37
37
 
38
38
  &.is-not-change {
39
- background-color: $ac-bg-light-gray;
39
+ background-color: $ac-white-lighter;
40
40
  margin-left: -40px !important;
41
41
  padding-left: 80px;
42
42
  }
@@ -66,7 +66,7 @@
66
66
  margin-left: -35px;
67
67
 
68
68
  &:hover {
69
- background: $ac-white;
69
+ background-color: $ac-white;
70
70
  box-shadow: $ac-shadow-1;
71
71
  cursor: move;
72
72
 
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  input[type="text"] {
85
- background: $ac-white-light;
85
+ background-color: $ac-white-light;
86
86
  border: none;
87
87
  font-weight: 500;
88
88
  padding: 4px 5px;
@@ -113,7 +113,7 @@
113
113
 
114
114
  button {
115
115
  border: none;
116
- background: transparent;
116
+ background-color: transparent;
117
117
  display: block;
118
118
  cursor: pointer;
119
119
  padding: 0 5px;
@@ -32,7 +32,7 @@
32
32
  input,
33
33
  .ac-card,
34
34
  textarea {
35
- border: 1px solid $ac-primary;
35
+ border: 1px solid $ac-primary !important;
36
36
  }
37
37
 
38
38
  p {
@@ -72,7 +72,7 @@
72
72
  font-size: $font-size-small;
73
73
  padding: 4px 7px;
74
74
  height: 30px;
75
- background: $ac-white;
75
+ background-color: $ac-white;
76
76
  padding-right: 30px;
77
77
 
78
78
  &[type="password"] {
@@ -123,8 +123,10 @@
123
123
 
124
124
  &.show-label {
125
125
  font-size: 12px;
126
+ color: $ac-color-value;
126
127
  top: -9px;
127
128
  font-weight: 500;
129
+ background-color: $ac-white;
128
130
  }
129
131
  }
130
132
 
@@ -174,6 +176,12 @@
174
176
  font-size: 12px;
175
177
  top: -9px;
176
178
  font-weight: 500;
179
+ color: $ac-color-value;
180
+ &.is-required {
181
+ &:after {
182
+ width: calc(100% + 10px);
183
+ }
184
+ }
177
185
  }
178
186
  }
179
187
 
@@ -242,7 +250,7 @@
242
250
 
243
251
  &.is-dark {
244
252
  input {
245
- background: $ac-bg-dark;
253
+ background-color: $ac-color-heading;
246
254
  border-color: transparent;
247
255
  color: $ac-white;
248
256
 
@@ -263,7 +271,7 @@
263
271
  left: 15px;
264
272
  top: 11px;
265
273
  cursor: text;
266
- color: $ac-border;
274
+ color: $ac-label-text;
267
275
  position: absolute;
268
276
  z-index: 2;
269
277
  transition: 0.3s ease-in-out;
@@ -283,14 +291,14 @@
283
291
  left: 10px;
284
292
  padding: 0 5px;
285
293
  font-size: $font-size-small;
286
- color: $ac-black;
294
+ color: $ac-color-value;
287
295
 
288
296
  &:after {
289
297
  position: absolute;
290
298
  content: "";
291
299
  left: 0;
292
300
  top: 50%;
293
- background: $ac-white;
301
+ background-color: $ac-white;
294
302
  width: 100%;
295
303
  height: 2px;
296
304
  margin-top: -1px;
@@ -307,7 +315,7 @@
307
315
 
308
316
  .button {
309
317
  &.is-information {
310
- background: transparent;
318
+ background-color: transparent;
311
319
  border: none;
312
320
  position: absolute;
313
321
  right: 0;
@@ -318,14 +326,14 @@
318
326
  &:focus {
319
327
  outline: none;
320
328
  box-shadow: none;
321
- background: #e4e8ef;
329
+ background-color: #e4e8ef;
322
330
  transform: scale(0.8);
323
331
  }
324
332
  }
325
333
  }
326
334
 
327
335
  .ac-search-button {
328
- background: transparent;
336
+ background-color: transparent;
329
337
  border: none;
330
338
  position: absolute;
331
339
  left: 0;
@@ -333,13 +341,13 @@
333
341
  width: 35px;
334
342
  height: 100%;
335
343
  margin-top: -22.5px;
336
- color: $ac-border;
344
+ color: $ac-label-text;
337
345
  cursor: pointer;
338
346
  }
339
347
 
340
348
  .ac-dropdown-content {
341
349
  position: absolute;
342
- background: $ac-input-bg-color;
350
+ background-color: $ac-blue-light;
343
351
  width: 100%;
344
352
  height: auto;
345
353
  box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
@@ -356,7 +364,7 @@
356
364
  transition: 0.3s;
357
365
 
358
366
  &:hover {
359
- background: hsla(
367
+ background-color: hsla(
360
368
  var(--hsl-hue),
361
369
  var(--hsl-saturation),
362
370
  var(--hsl-lightness),
@@ -370,25 +378,25 @@
370
378
  }
371
379
 
372
380
  .ac-textarea {
373
- border: 1px solid $ac-border;
374
- border-radius: 4px;
375
- padding: 10px 0 5px 0;
376
- // background-color: $ac-input-bg-color;
377
- transition: background-color 0.3s ease-in-out;
378
-
381
+ .ac-label {
382
+ &.is-required {
383
+ &:after {
384
+ width: calc(100% + 10px);
385
+ }
386
+ }
387
+ }
379
388
  textarea {
380
- border: none;
389
+ border: 1px solid $ac-label-text;
381
390
  background-color: transparent;
382
- padding-top: 0;
383
- padding-bottom: 0;
384
-
391
+ padding: 10px 15px;
392
+ min-height: 50px;
385
393
  &.bg-white {
386
394
  background-color: transparent;
387
395
  }
388
396
 
389
397
  &:focus {
390
398
  outline: none;
391
- border: none;
399
+ border: 1px solid $ac-primary;
392
400
  }
393
401
  }
394
402
  }
@@ -397,22 +405,25 @@
397
405
  .ac-card,
398
406
  textarea {
399
407
  background-color: $ac-white;
408
+ color: $ac-color-text;
400
409
  height: 45px;
401
410
  font-weight: 400;
402
411
  width: 100%;
403
412
  border-radius: 4px;
404
- border: 1px solid $ac-border;
413
+ border: 1px solid $ac-label-text;
405
414
  padding: 8px 15px;
406
415
  font-size: $font-size-small;
407
416
 
408
417
  &:hover {
409
- border-color: $ac-border-hover;
418
+ border-color: $ac-gray-lightest;
410
419
  }
411
420
 
412
421
  &.bg-white {
413
422
  background-color: $ac-white;
414
423
  }
415
-
424
+ &.StripeElement--focus {
425
+ border: 1px solid $ac-primary;
426
+ }
416
427
  &:focus {
417
428
  border: 1px solid $ac-primary;
418
429
  outline: none;
@@ -449,11 +460,12 @@
449
460
 
450
461
  span.eye {
451
462
  i.fa {
452
- color: $ac-border;
463
+ color: $ac-label-text;
453
464
  position: absolute;
454
465
  cursor: pointer;
455
466
  padding: 15px;
456
467
  right: 0;
468
+ top: 0;
457
469
  }
458
470
  }
459
471
 
@@ -488,7 +500,7 @@
488
500
  top: 10px;
489
501
  z-index: 1;
490
502
  font-size: $font-size-small;
491
- color: $ac-border;
503
+ color: $ac-label-text;
492
504
  font-weight: 400;
493
505
  }
494
506
  }
@@ -508,11 +520,11 @@
508
520
  }
509
521
 
510
522
  label {
511
- background-color: $ac-input-bg-color;
523
+ background-color: transparent;
512
524
  height: 36px;
513
525
  font-weight: 400;
514
526
  border-radius: 4px;
515
- border: 1px solid $ac-border;
527
+ border: 1px solid $ac-label-text;
516
528
  font-size: $font-size-small;
517
529
 
518
530
  .file-cta {
@@ -521,7 +533,7 @@
521
533
  }
522
534
 
523
535
  &:hover {
524
- border-color: $ac-border-hover;
536
+ border-color: $ac-gray-lightest;
525
537
  }
526
538
 
527
539
  &.bg-white {
@@ -537,19 +549,19 @@
537
549
  }
538
550
 
539
551
  input#captcha {
540
- background-color: #ffffff;
552
+ background-color: $ac-white;
541
553
  height: 36px;
542
554
  font-weight: 400;
543
555
  width: 100%;
544
556
  border-radius: 4px;
545
- border: 1px solid #a6abbd;
557
+ border: 1px solid $ac-white-light;
546
558
  padding: 8px 15px;
547
559
  font-size: 13px;
548
560
  transition: background-color 0.3s ease-in-out;
549
561
 
550
562
  &:focus {
551
563
  outline: none;
552
- border-bottom: 1px solid $ac-border;
564
+ border-bottom: 1px solid $ac-label-text;
553
565
  }
554
566
  }
555
567
 
@@ -573,7 +585,7 @@ input#captcha {
573
585
  .is-checkradio[type="checkbox"].ac-checkbox + label::after {
574
586
  top: 6px;
575
587
  left: 6px;
576
- border-color: #54657e;
588
+ border-color: $ac-gray-lightest;
577
589
  width: 0.3rem;
578
590
  height: 0.5rem;
579
591
  }
@@ -583,7 +595,7 @@ input#captcha {
583
595
  }
584
596
 
585
597
  .is-checkradio[type="checkbox"].ac-checkbox + label {
586
- color: $ac-link-black;
598
+ color: $ac-color-text;
587
599
  font-size: 13px !important;
588
600
  padding-left: 25px;
589
601
  user-select: none;
@@ -594,7 +606,7 @@ input#captcha {
594
606
  }
595
607
 
596
608
  .is-checkradio[type="checkbox"].ac-checkbox + label {
597
- color: $ac-link-black;
609
+ color: $ac-color-text;
598
610
  font-size: 13px;
599
611
  padding-left: 25px;
600
612
  user-select: none;
@@ -625,6 +637,7 @@ input#captcha {
625
637
  user-select: none;
626
638
  font-size: 13px;
627
639
  font-weight: 400;
640
+ color: $ac-color-text;
628
641
 
629
642
  &::before {
630
643
  background-color: #cad3df;
@@ -643,6 +656,7 @@ input#captcha {
643
656
  font-size: 13px;
644
657
  padding-top: 0;
645
658
  padding-left: 40px;
659
+ height: auto;
646
660
 
647
661
  &::before {
648
662
  width: 30px;
@@ -667,6 +681,9 @@ input#captcha {
667
681
  .switch {
668
682
  &[type="checkbox"] + label {
669
683
  padding-top: 3px;
684
+ &::before {
685
+ background-color: $ac-gray-light;
686
+ }
670
687
  }
671
688
 
672
689
  &.ac-switch {
@@ -709,17 +726,17 @@ input#captcha {
709
726
 
710
727
  input {
711
728
  border: none;
712
- background: transparent;
729
+ background-color: transparent;
713
730
  font-size: 18px;
714
731
  font-weight: 400;
715
732
  font-family: $ac-family-heading;
716
- color: #333;
733
+ color: $ac-color-value;
717
734
  width: 100%;
718
735
  padding: 5px 0;
719
736
 
720
737
  &:focus {
721
738
  outline: none;
722
- border-bottom: 1px solid $ac-border;
739
+ border-bottom: 1px solid $ac-label-text;
723
740
  }
724
741
  }
725
742
  }
@@ -768,7 +785,24 @@ input#captcha {
768
785
  }
769
786
  }
770
787
  }
788
+ // dark theme start
789
+ .is-dark-theme {
790
+ .ac-single-input {
791
+ input,
792
+ .file-input,
793
+ .ac-dropdown-content {
794
+ background-color: transparent;
795
+ }
771
796
 
797
+ label {
798
+ color: $ac-label-text;
799
+ }
800
+ .button.is-information:focus {
801
+ background-color: $dark-bg-light;
802
+ }
803
+ }
804
+ }
805
+ // dark theme end
772
806
  /****************************************
773
807
  Responsive Classes
774
808
  *****************************************/
@@ -15,7 +15,7 @@
15
15
  top: 0;
16
16
  width: 100%;
17
17
  height: 100%;
18
- background: #000;
18
+ background-color: $ac-black;
19
19
  z-index: -1;
20
20
  opacity: 0.5;
21
21
  }
@@ -47,13 +47,13 @@
47
47
 
48
48
  .ac-modal-inner {
49
49
  margin: 0 auto;
50
- background: $ac-white;
50
+ background-color: $ac-white;
51
51
  border-radius: 4px;
52
52
  overflow: hidden;
53
53
  box-shadow: 12px 26px 118px rgba(0, 0, 0, 0.16);
54
54
 
55
55
  .ac-modal-header {
56
- background: $ac-white;
56
+ background-color: $ac-white;
57
57
  padding: 10px 20px;
58
58
  display: flex;
59
59
  align-items: center;
@@ -96,6 +96,7 @@
96
96
  &.is-description {
97
97
  font-family: $ac-family-heading;
98
98
  font-weight: 400;
99
+ color: $ac-color-value;
99
100
 
100
101
  strong {
101
102
  font-weight: 500;
@@ -107,7 +108,7 @@
107
108
  }
108
109
 
109
110
  .ac-modal-footer {
110
- border-top: 1px solid $ac-modal-header-bg;
111
+ border-top: 1px solid $ac-white-light;
111
112
  padding: 10px 20px;
112
113
  }
113
114
  }