@appscode/design-system 1.0.43-alpha.10 → 1.0.43-alpha.103

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/_default.scss +275 -20
  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 -39
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +196 -14
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -33
  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 +61 -28
  25. package/components/_card-body-wrapper.scss +3 -3
  26. package/components/_dashboard-header.scss +1 -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 +103 -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 +8 -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/_widget-menu.scss +9 -9
  45. package/components/_wizard.scss +32 -20
  46. package/components/ac-toaster/_ac-toasted.scss +5 -5
  47. package/components/bbum/_card-team.scss +18 -10
  48. package/components/bbum/_information-center.scss +19 -5
  49. package/components/bbum/_mobile-desktop.scss +6 -6
  50. package/components/bbum/_post.scss +5 -4
  51. package/components/bbum/_sign-up-notification.scss +6 -6
  52. package/components/bbum/_single-post-preview.scss +9 -9
  53. package/components/bbum/_user-profile.scss +97 -90
  54. package/components/ui-builder/_ui-builder.scss +29 -10
  55. package/components/ui-builder/_vue-open-api.scss +98 -0
  56. package/layouts/_404.scss +2 -1
  57. package/layouts/_code-preview.scss +14 -7
  58. package/main.scss +4 -0
  59. package/package.json +2 -7
  60. package/plugins/theme.js +142 -0
  61. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +95 -0
  62. package/vue-components/v2/card/PaymentCards.vue +11 -2
  63. package/vue-components/v2/editor/Editor.vue +37 -17
  64. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +232 -0
  65. package/vue-components/v2/modal/Modal.vue +30 -11
  66. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  67. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  68. package/vue-components/v2/navbar/User.vue +3 -0
  69. package/vue-components/v2/preloader/Preloader.vue +5 -5
  70. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  71. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  72. package/vue-components/v2/table/TableRow.vue +17 -8
  73. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  74. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  75. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  76. package/vue-components/v3/editor/Editor.vue +39 -19
  77. package/vue-components/v3/modal/Modal.vue +10 -1
  78. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  79. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  80. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  81. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  82. package/vue-components/v3/table/TableRow.vue +1 -1
  83. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
  84. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -4,6 +4,7 @@
4
4
  grid-gap: 0px;
5
5
  grid-template-columns: 270px calc(100% - 270px);
6
6
  padding-top: 50px;
7
+
7
8
  &.is-fullwidth {
8
9
  grid-template-columns: auto !important;
9
10
 
@@ -22,27 +23,36 @@
22
23
  }
23
24
  }
24
25
 
26
+ &.in-ui-builder {
27
+ grid-template-columns: calc(100% - 270px) 270px !important;
28
+ }
29
+
25
30
  &.has-ui-builder {
26
31
  grid-template-columns: 70px calc(100% - 70px);
27
32
  grid-gap: 0;
33
+
28
34
  .inner-header {
29
35
  position: sticky;
30
36
  top: 100px;
31
- background-color: #fff;
37
+ background-color: $ac-white;
32
38
  z-index: 997;
33
39
  }
40
+
34
41
  .ac-system-content {
35
42
  &.pr-15 {
36
43
  padding-right: 0 !important;
37
44
  }
45
+
38
46
  .ac-terminal {
39
47
  width: calc(100% - 290px);
40
48
  left: 289px;
41
49
  }
42
50
  }
51
+
43
52
  .ac-system-left-sidebar.is-expanded {
44
53
  z-index: 998;
45
54
  }
55
+
46
56
  &.expanded-sidebar {
47
57
  grid-gap: 0px;
48
58
  z-index: 9;
@@ -70,15 +80,18 @@
70
80
  .ac-system-body {
71
81
  padding-top: 0;
72
82
  grid-template-columns: 220px calc(100% - 440px) 220px;
83
+
73
84
  .ac-system-left-sidebar {
74
85
  border-right: none !important;
75
86
  height: calc(100vh - 60px);
87
+
76
88
  .ac-left-sidebar-wrapper {
77
89
  position: fixed;
78
90
  top: 140px;
79
91
  width: 219px;
80
- border-right: 1px solid #e7e7e7;
92
+ border-right: 1px solid $ac-white-light;
81
93
  height: 100%;
94
+
82
95
  ul.menu-list-wrapper {
83
96
  padding-top: 10px;
84
97
  }
@@ -92,9 +105,9 @@
92
105
  }
93
106
 
94
107
  .ac-system-left-sidebar {
95
- background-color: $ac-white;
96
108
  border-right: 1px solid $ac-white-light;
97
109
  box-shadow: none;
110
+
98
111
  &.is-expanded {
99
112
  z-index: 998;
100
113
 
@@ -130,10 +143,51 @@
130
143
  }
131
144
  }
132
145
  }
146
+
133
147
  .form-content {
134
148
  width: 720px;
135
149
  }
136
150
 
151
+ .dropdown-content {
152
+ background-color: $ac-white;
153
+ }
154
+
155
+ // color swatch start
156
+ input[type="color"] {
157
+ -webkit-appearance: none;
158
+ border: none;
159
+ width: 20px;
160
+ height: 20px;
161
+ border-radius: 50%;
162
+ border: 1px solid #777;
163
+ margin-left: 3px;
164
+ padding: 2px;
165
+ cursor: pointer;
166
+ }
167
+ input[type="color"]::-webkit-color-swatch-wrapper {
168
+ padding: 0;
169
+ }
170
+ // input[type="color"]::-moz-color-swatch,
171
+ input[type="color"]::-webkit-color-swatch {
172
+ border: none;
173
+ border-radius: 50%;
174
+ }
175
+ input[type="color"]::-moz-color-swatch {
176
+ border: none;
177
+ border-radius: 50%;
178
+ }
179
+ // color swatch end
180
+
181
+ .is-dark-theme {
182
+ .dropdown-content {
183
+ background-color: $dark-bg-light;
184
+ }
185
+ }
186
+
187
+ .ac-preloader {
188
+ color: $ac-color-text;
189
+ }
190
+
137
191
  .section-padding {
138
192
  padding: 100px 0;
139
193
  }
@@ -167,21 +221,27 @@
167
221
  .is-not-fixed {
168
222
  position: inherit !important;
169
223
  }
224
+
170
225
  .b-1 {
171
226
  border: 1px solid $ac-white-light;
172
227
  }
228
+
173
229
  .b-t-1 {
174
230
  border-top: 1px solid $ac-white-light;
175
231
  }
232
+
176
233
  .b-b-1 {
177
234
  border-bottom: 1px solid $ac-white-light;
178
235
  }
236
+
179
237
  .b-l-1 {
180
238
  border-left: 1px solid $ac-white-light;
181
239
  }
240
+
182
241
  .b-r-1 {
183
242
  border-right: 1px solid $ac-white-light;
184
243
  }
244
+
185
245
  // border none
186
246
  .is-border-none {
187
247
  border: none !important;
@@ -207,6 +267,7 @@
207
267
  opacity: 0.5;
208
268
  cursor: not-allowed;
209
269
  }
270
+
210
271
  .no-data-image {
211
272
  img {
212
273
  width: 250px;
@@ -227,6 +288,23 @@
227
288
  -webkit-box-orient: vertical;
228
289
  }
229
290
  }
291
+ // toast css third-party
292
+
293
+ .toasted-container {
294
+ .ac-toast-action.mr-10 {
295
+ text-decoration: underline !important;
296
+ }
297
+ .has-report-issue {
298
+ padding-right: 140px !important;
299
+ }
300
+ }
301
+ .is-dark-theme {
302
+ .toasted-container {
303
+ i.fa {
304
+ color: #ffffff !important;
305
+ }
306
+ }
307
+ }
230
308
 
231
309
  // flex start
232
310
  .is-middle-alignment {
@@ -268,13 +346,13 @@
268
346
  }
269
347
 
270
348
  &::-webkit-scrollbar-thumb {
271
- background-color: #929292;
349
+ background-color: $ac-gray-light;
272
350
  border-radius: 50px;
273
351
  height: 2px !important;
274
352
  }
275
353
 
276
354
  &::-webkit-scrollbar-thumb:hover {
277
- background-color: #929292;
355
+ background-color: $ac-gray-light;
278
356
  }
279
357
 
280
358
  &:hover::-webkit-scrollbar-corner {
@@ -315,33 +393,33 @@
315
393
  }
316
394
 
317
395
  &::-webkit-scrollbar-thumb {
318
- background-color: #929292;
396
+ background-color: $ac-gray-light;
319
397
  border-radius: 50px;
320
398
  height: 2px !important;
321
399
  }
322
400
 
323
401
  &::-moz-scrollbar-thumb {
324
- background-color: #929292;
402
+ background-color: $ac-gray-light;
325
403
  border-radius: 50px;
326
404
  height: 2px !important;
327
405
  }
328
406
 
329
407
  &::-ms-scrollbar-thumb {
330
- background-color: #929292;
408
+ background-color: $ac-gray-light;
331
409
  border-radius: 50px;
332
410
  height: 2px !important;
333
411
  }
334
412
 
335
413
  &::-webkit-scrollbar-thumb:hover {
336
- background-color: #929292;
414
+ background-color: $ac-gray-light;
337
415
  }
338
416
 
339
417
  &::-moz-scrollbar-thumb:hover {
340
- background-color: #929292;
418
+ background-color: $ac-gray-light;
341
419
  }
342
420
 
343
421
  &::-ms-scrollbar-thumb:hover {
344
- background-color: #929292;
422
+ background-color: $ac-gray-light;
345
423
  }
346
424
 
347
425
  &:hover::-webkit-scrollbar-corner {
@@ -372,13 +450,13 @@
372
450
  }
373
451
 
374
452
  &::-webkit-scrollbar-thumb {
375
- background-color: #929292;
453
+ background-color: $ac-gray-light;
376
454
  border-radius: 50px;
377
455
  width: 2px !important;
378
456
  }
379
457
 
380
458
  &::-webkit-scrollbar-thumb:hover {
381
- background-color: #929292;
459
+ background-color: $ac-gray-light;
382
460
  }
383
461
 
384
462
  &:hover::-webkit-scrollbar-corner {
@@ -401,7 +479,7 @@
401
479
 
402
480
  .is-transparent {
403
481
  border: none;
404
- background: transparent;
482
+ background-color: transparent;
405
483
  }
406
484
 
407
485
  .is-error {
@@ -410,9 +488,18 @@
410
488
  color: $ac-red;
411
489
  text-align: left;
412
490
  }
491
+
413
492
  code {
414
493
  color: $ac-color-heading;
415
494
  }
495
+
496
+ .is-dark-theme {
497
+ code {
498
+ background-color: $dark-bg-light;
499
+ color: $ac-full-white;
500
+ }
501
+ }
502
+
416
503
  .is-danger:not(.ac-button) {
417
504
  color: $ac-danger !important;
418
505
  }
@@ -429,42 +516,57 @@ button {
429
516
  }
430
517
 
431
518
  .tag:not(body) {
432
- background-color: #e5e9f2;
519
+ background-color: $ac-white-light;
433
520
  font-size: 11px;
434
521
  height: 18px;
435
522
  letter-spacing: 0.1px;
436
523
  color: $ac-color-heading;
524
+
525
+ a {
526
+ &:hover {
527
+ color: $ac-color-text;
528
+ }
529
+ }
530
+
437
531
  &.is-available {
438
532
  background-color: #27b064;
439
533
  color: $ac-white;
440
534
  }
535
+
441
536
  &.is-success {
442
537
  background-color: $ac-green;
443
538
  color: $ac-white;
539
+
444
540
  &.is-light {
445
541
  background-color: rgba(39, 176, 100, 0.2);
446
542
  color: $ac-green;
447
543
  }
448
544
  }
545
+
449
546
  &.is-primary {
450
547
  background-color: $ac-primary;
451
548
  color: $ac-white;
549
+
452
550
  &.is-light {
453
551
  background-color: rgba(25, 113, 189, 0.2);
454
552
  color: $ac-primary;
455
553
  }
456
554
  }
555
+
457
556
  &.is-gray {
458
557
  background-color: #e5e9f2;
459
- color: #666;
558
+ color: $ac-gray-darker;
460
559
  }
560
+
461
561
  &.is-warning {
462
562
  background-color: $ac-warning;
463
563
  color: $ac-white !important;
464
564
  }
565
+
465
566
  &.is-danger {
466
567
  background-color: $ac-red;
467
568
  color: $ac-white !important;
569
+
468
570
  &.is-light {
469
571
  background-color: rgba(234, 61, 47, 0.2);
470
572
  color: $ac-red !important;
@@ -476,6 +578,7 @@ button {
476
578
  .icon {
477
579
  margin-bottom: 0.5rem;
478
580
  }
581
+
479
582
  .tag {
480
583
  a {
481
584
  font-weight: 500;
@@ -496,12 +599,12 @@ button {
496
599
  top: 12px;
497
600
  width: 100%;
498
601
  height: 1px;
499
- background: $ac-white-light;
602
+ background-color: $ac-white-light;
500
603
  }
501
604
 
502
605
  h5 {
503
606
  color: $ac-color-text;
504
- background: $ac-white;
607
+ background-color: $ac-white;
505
608
  z-index: 2;
506
609
  display: inline-block;
507
610
  position: relative;
@@ -653,6 +756,147 @@ $border_color_4: transparent transparent #585d6e transparent;
653
756
  }
654
757
  }
655
758
  }
759
+ // tooltip in vue-open-api
760
+ .tooltip {
761
+ display: block !important;
762
+ z-index: 10000;
763
+
764
+ &.is-button-info {
765
+ .tooltip-inner {
766
+ background: $ac-white;
767
+ color: $ac-primary;
768
+ border-radius: 4px;
769
+ padding: 5px 20px 4px;
770
+ box-shadow: $ac-shadow-1;
771
+ font-weight: 500;
772
+ font-size: 13px;
773
+ }
774
+
775
+ .tooltip-arrow {
776
+ width: 0;
777
+ height: 0;
778
+ border-style: solid;
779
+ position: absolute;
780
+ margin: 5px;
781
+ border-color: $ac-white;
782
+ }
783
+ }
784
+
785
+ &.is-errors-tooltip {
786
+ .tooltip-inner {
787
+ background: $ac-white;
788
+ color: $ac-danger;
789
+ border-radius: 4px;
790
+ padding: 5px 20px 4px;
791
+ box-shadow: $ac-shadow-1;
792
+ font-weight: 500;
793
+ font-size: 13px;
794
+
795
+ .errors-wrapper {
796
+ .error-element {
797
+ padding: 5px 0;
798
+ }
799
+ }
800
+ }
801
+
802
+ .tooltip-arrow {
803
+ width: 0;
804
+ height: 0;
805
+ border-style: solid;
806
+ position: absolute;
807
+ margin: 5px;
808
+ border-color: $ac-white;
809
+ }
810
+ }
811
+
812
+ &[x-placement^="top"] {
813
+ margin-bottom: 5px;
814
+
815
+ .tooltip-arrow {
816
+ border-width: 5px 5px 0 5px;
817
+ border-left-color: transparent !important;
818
+ border-right-color: transparent !important;
819
+ border-bottom-color: transparent !important;
820
+ bottom: -5px;
821
+ left: calc(50% - 5px);
822
+ margin-top: 0;
823
+ margin-bottom: 0;
824
+ }
825
+ }
826
+
827
+ &[x-placement^="bottom"] {
828
+ margin-top: 5px;
829
+
830
+ .tooltip-arrow {
831
+ border-width: 0 5px 5px 5px;
832
+ border-left-color: transparent !important;
833
+ border-right-color: transparent !important;
834
+ border-top-color: transparent !important;
835
+ top: -5px;
836
+ left: calc(50% - 5px);
837
+ margin-top: 0;
838
+ margin-bottom: 0;
839
+ }
840
+ }
841
+
842
+ &[x-placement^="right"] {
843
+ margin-left: 5px;
844
+
845
+ .tooltip-arrow {
846
+ border-width: 5px 5px 5px 0;
847
+ border-left-color: transparent !important;
848
+ border-top-color: transparent !important;
849
+ border-bottom-color: transparent !important;
850
+ left: -5px;
851
+ top: calc(50% - 5px);
852
+ margin-left: 0;
853
+ margin-right: 0;
854
+ }
855
+ }
856
+
857
+ &[x-placement^="left"] {
858
+ margin-right: 5px;
859
+
860
+ .tooltip-arrow {
861
+ border-width: 5px 0 5px 5px;
862
+ border-top-color: transparent !important;
863
+ border-right-color: transparent !important;
864
+ border-bottom-color: transparent !important;
865
+ right: -5px;
866
+ top: calc(50% - 5px);
867
+ margin-left: 0;
868
+ margin-right: 0;
869
+ }
870
+ }
871
+
872
+ &.popover {
873
+ $color: #f9f9f9;
874
+
875
+ .popover-inner {
876
+ background: $color;
877
+ color: black;
878
+ padding: 24px;
879
+ border-radius: 4px;
880
+ box-shadow: $ac-shadow-1;
881
+ }
882
+
883
+ .popover-arrow {
884
+ border-color: $color;
885
+ }
886
+ }
887
+
888
+ &[aria-hidden="true"] {
889
+ visibility: hidden;
890
+ opacity: 0;
891
+ transition: opacity 0.15s, visibility 0.15s;
892
+ }
893
+
894
+ &[aria-hidden="false"] {
895
+ visibility: visible;
896
+ opacity: 1;
897
+ transition: opacity 0.15s;
898
+ }
899
+ }
656
900
 
657
901
  // Customize tooltip end
658
902
 
@@ -660,7 +904,7 @@ $border_color_4: transparent transparent #585d6e transparent;
660
904
  .ac-footer-action {
661
905
  margin-top: 10px;
662
906
  padding-top: 10px;
663
- background: $ac-white;
907
+ background-color: $ac-white;
664
908
  padding: 10px 20px;
665
909
  margin-left: 0;
666
910
  margin-right: 0;
@@ -686,7 +930,7 @@ $border_color_4: transparent transparent #585d6e transparent;
686
930
  height: 10px;
687
931
  width: 10px;
688
932
  border-radius: 50%;
689
- background: $ac-grey-lightest;
933
+ background-color: $ac-gray-lightest;
690
934
  border: 2px solid $ac-white;
691
935
  display: inline-flex;
692
936
 
@@ -702,6 +946,17 @@ $border_color_4: transparent transparent #585d6e transparent;
702
946
  // Status css
703
947
  // ac-footer sticky end
704
948
 
949
+
950
+
951
+ // terminal scss end
952
+ .is-dark-theme {
953
+ a {
954
+ &:hover {
955
+ color: #485fc7;
956
+ }
957
+ }
958
+ }
959
+
705
960
  /****************************************
706
961
  Responsive Classes
707
962
  *****************************************/
@@ -1,28 +1,15 @@
1
- // Typography
2
- $ac-size-small: $ac-size-7;
3
- $ac-size-normal: $ac-size-6;
4
- $ac-size-medium: $ac-size-5;
5
- $ac-size-large: $ac-size-4;
6
-
7
1
  // color
8
2
  $ac-info: $ac-blue;
9
3
  $ac-success: $ac-primary;
10
4
  $ac-warning: $ac-yellow;
11
5
  $ac-danger: $ac-red;
12
6
 
13
- // bg-color
14
- $ac-bg-dark: #2c2e42;
15
- $ac-modal-header-bg: #e8e8e8;
16
- $ac-input-bg-color: #eceff4;
17
- $ac-bg-light-gray: #f4f6f9;
18
- $table-header: #e4e8ef;
19
7
  // Text colors
20
8
  $ac-color-text: var(--ac-text);
21
9
  $ac-color-heading: var(--ac-text-heading);
22
10
 
23
11
  // Link colors
24
12
  $ac-link: $ac-blue;
25
- $ac-link-black: #32325d;
26
13
  $ac-link-visited: $ac-purple;
27
14
 
28
15
  // Box Shadow