@appscode/design-system 1.0.43-alpha.16 → 1.0.43-alpha.162

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 (109) hide show
  1. package/base/utilities/_default.scss +269 -4
  2. package/base/utilities/_derived-variables.scss +0 -1
  3. package/base/utilities/_initial-variables.scss +17 -176
  4. package/base/utilities/_mixin.scss +1 -17
  5. package/base/utilities/_typography.scss +14 -4
  6. package/base/utilities/dark-theme.scss +25 -0
  7. package/components/_ac-alert-box.scss +13 -5
  8. package/components/_ac-card.scss +44 -8
  9. package/components/_ac-code-highlight.scss +5 -1
  10. package/components/_ac-content-layout.scss +2 -2
  11. package/components/_ac-input.scss +63 -23
  12. package/components/_ac-multi-select.scss +187 -5
  13. package/components/_ac-options.scss +24 -9
  14. package/components/_ac-select-box.scss +14 -4
  15. package/components/_ac-table.scss +5 -3
  16. package/components/_ac-tabs.scss +39 -3
  17. package/components/_ac-terminal.scss +270 -0
  18. package/components/_app-drawer.scss +2 -2
  19. package/components/_breadcumb.scss +2 -0
  20. package/components/_buttons.scss +39 -7
  21. package/components/_card-body-wrapper.scss +2 -2
  22. package/components/_dashboard-header.scss +32 -0
  23. package/components/_direct-deploy.scss +69 -0
  24. package/components/_go-to-top.scss +1 -1
  25. package/components/_graph.scss +45 -0
  26. package/components/_image-upload.scss +5 -3
  27. package/components/_left-sidebar-menu.scss +193 -39
  28. package/components/_monaco-editor.scss +1 -1
  29. package/components/_navbar.scss +108 -7
  30. package/components/_overview-info.scss +4 -4
  31. package/components/_pagination.scss +8 -0
  32. package/components/_payment-card.scss +10 -1
  33. package/components/_preview-modal.scss +15 -4
  34. package/components/_pricing-table.scss +1 -1
  35. package/components/_progress-bar.scss +4 -4
  36. package/components/_subscription-card.scss +12 -5
  37. package/components/_table-of-content.scss +1 -1
  38. package/components/_tfa.scss +69 -0
  39. package/components/_transitions.scss +261 -0
  40. package/components/_wizard.scss +15 -3
  41. package/components/ac-toaster/_ac-toasted.scss +1 -1
  42. package/components/bbum/_card-team.scss +15 -7
  43. package/components/bbum/_information-center.scss +15 -1
  44. package/components/bbum/_mobile-desktop.scss +1 -1
  45. package/components/bbum/_sign-up-notification.scss +3 -3
  46. package/components/bbum/_single-post-preview.scss +1 -1
  47. package/components/bbum/_user-profile.scss +97 -90
  48. package/components/ui-builder/_ui-builder.scss +19 -2
  49. package/components/ui-builder/_vue-open-api.scss +104 -0
  50. package/main.scss +4 -0
  51. package/package.json +2 -7
  52. package/plugins/theme.js +4 -0
  53. package/plugins/vue-toaster.js +3 -0
  54. package/vue-components/v2/banner/Banner.vue +2 -2
  55. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  56. package/vue-components/v2/button/Button.vue +5 -0
  57. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  58. package/vue-components/v2/card/PaymentCards.vue +11 -2
  59. package/vue-components/v2/content/ContentTable.vue +12 -7
  60. package/vue-components/v2/editor/Editor.vue +36 -5
  61. package/vue-components/v2/editor/FilteredFileEditor.vue +188 -0
  62. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  63. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  64. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  65. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  66. package/vue-components/v2/modal/Modal.vue +38 -13
  67. package/vue-components/v2/modals/DeleteConfirmationModal.vue +77 -0
  68. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  69. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  70. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  71. package/vue-components/v2/navbar/User.vue +202 -19
  72. package/vue-components/v2/preloader/Preloader.vue +5 -5
  73. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  74. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  75. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  76. package/vue-components/v2/table/Table.vue +44 -8
  77. package/vue-components/v2/table/TableRow.vue +17 -8
  78. package/vue-components/v2/table/table-cell/CellValue.vue +31 -4
  79. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  80. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  81. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  82. package/vue-components/v3/button/Button.vue +5 -0
  83. package/vue-components/v3/content/ContentTable.vue +5 -0
  84. package/vue-components/v3/editor/Editor.vue +50 -30
  85. package/vue-components/v3/editor/FilteredFileEditor.vue +166 -0
  86. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  87. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +124 -0
  88. package/vue-components/v3/form/Form.vue +63 -0
  89. package/vue-components/v3/form-fields/Input.vue +10 -10
  90. package/vue-components/v3/header/HeaderItem.vue +5 -0
  91. package/vue-components/v3/header/HeaderItems.vue +5 -0
  92. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  93. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  94. package/vue-components/v3/modal/Modal.vue +39 -16
  95. package/vue-components/v3/modals/DeleteConfirmationModal.vue +83 -0
  96. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  97. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  98. package/vue-components/v3/navbar/ThemeMode.vue +123 -0
  99. package/vue-components/v3/navbar/User.vue +176 -16
  100. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  101. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  102. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  103. package/vue-components/v3/table/Table.vue +34 -11
  104. package/vue-components/v3/table/TableContainer.vue +34 -0
  105. package/vue-components/v3/table/TableRow.vue +1 -1
  106. package/vue-components/v3/table/table-cell/CellValue.vue +26 -3
  107. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  108. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  109. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,11 +1,14 @@
1
- body,
2
- html {
1
+ html,
2
+ body {
3
3
  background-color: $ac-bg;
4
4
  font-family: $ac-family-paragraph;
5
5
  font-weight: 400;
6
- font-size: 83%;
6
+ font-size: 13px;
7
+ color: $ac-color-text;
8
+ }
9
+ p {
10
+ font-size: 13px;
7
11
  }
8
-
9
12
  h1,
10
13
  h2,
11
14
  h3,
@@ -92,6 +95,10 @@ hr {
92
95
  margin: 15px 0;
93
96
  }
94
97
 
98
+ strong {
99
+ color: $ac-color-value;
100
+ }
101
+
95
102
  .is-font-medium {
96
103
  font-weight: 500;
97
104
  }
@@ -99,3 +106,6 @@ hr {
99
106
  .is-font-bold {
100
107
  font-weight: 700;
101
108
  }
109
+ .material-icons{
110
+ font-size: 1em;
111
+ }
@@ -0,0 +1,25 @@
1
+ $dark-bg: var(--dark-bg);
2
+ $dark-bg-light: var(--dark-bg-light);
3
+
4
+ .is-dark-theme {
5
+ --ac-bg: var(--dark-bg);
6
+ --ac-white: #21272e;
7
+ --ac-link-black: #6969c0;
8
+ --ac-black: var(--ac-white-text);
9
+ --ac-text-heading: var(--ac-white-text);
10
+ --ac-text: #98a6b4;
11
+ --ac-blue-light: #2e323c;
12
+ --ac-gray-darker: #a6a6a6;
13
+ --ac-gray-light: #424242;
14
+ --ac-gray-lightest: #777777;
15
+ --ac-white-light: #3f3f3f;
16
+ --ac-white-lighter: #2e323c;
17
+ --ac-label-text: #8c8c8c;
18
+ --ac-bg-light-gray: #252830;
19
+
20
+ --ac-color-value: hsl(
21
+ var(--font-hsl-hue),
22
+ var(--font-hsl-saturation),
23
+ calc(var(--font-hsl-lightness) + 60%)
24
+ );
25
+ }
@@ -17,8 +17,9 @@
17
17
  p {
18
18
  color: $ac-primary;
19
19
 
20
- i.fa {
20
+ .close-icon {
21
21
  padding-right: 10px;
22
+ font-size: 15px;
22
23
  }
23
24
 
24
25
  a {
@@ -134,7 +135,7 @@ AC Toast
134
135
  margin-bottom: 10px;
135
136
 
136
137
  * {
137
- color: #fff;
138
+ color: $ac-white;
138
139
  }
139
140
 
140
141
  p {
@@ -157,10 +158,10 @@ AC Toast
157
158
 
158
159
  button.close-button {
159
160
  border-radius: 0px;
160
- border-left: 1px solid #fff;
161
+ border-left: 1px solid $ac-white;
161
162
  background-color: transparent;
162
163
  border: none;
163
- color: #fff;
164
+ color: $ac-white;
164
165
  position: absolute;
165
166
  right: 0;
166
167
  top: 0;
@@ -169,7 +170,7 @@ AC Toast
169
170
  width: 30px;
170
171
  z-index: 1;
171
172
  cursor: pointer;
172
- border-left: 1px solid #fff;
173
+ border-left: 1px solid $ac-white;
173
174
  }
174
175
  }
175
176
 
@@ -205,6 +206,13 @@ AC Toast
205
206
  @include acToast($ac-warning);
206
207
  }
207
208
 
209
+ // dark theme start
210
+ .is-dark-theme {
211
+ .ac-notification.is-error {
212
+ background-color: $dark-bg-light;
213
+ }
214
+ }
215
+ // dark theme end
208
216
  /****************************************
209
217
  Responsive Classes
210
218
  *****************************************/
@@ -8,8 +8,14 @@
8
8
  display: block;
9
9
  padding: 20px;
10
10
  border-radius: 4px;
11
+ border: 1px solid $ac-white-light;
11
12
  overflow: hidden;
12
- background-color: $ac-input-bg-color;
13
+ background-color: hsla(
14
+ var(--hsl-hue),
15
+ var(--hsl-saturation),
16
+ var(--hsl-lightness),
17
+ 0.03
18
+ );
13
19
  transition: 0.3s ease-in-out;
14
20
 
15
21
  &.is-selected {
@@ -44,6 +50,7 @@
44
50
  height: 10px;
45
51
  border-radius: 50%;
46
52
  right: 0;
53
+ top: 5px;
47
54
  }
48
55
  }
49
56
 
@@ -70,12 +77,13 @@
70
77
  }
71
78
 
72
79
  &.style-three {
73
- background-color: $ac-input-bg-color;
80
+ background-color: $ac-blue-light;
74
81
  width: 190px;
75
82
  margin-bottom: 20px;
76
83
  margin-right: 20px;
77
84
  padding: 30px 20px 20px;
78
85
  height: 140px;
86
+ cursor: pointer;
79
87
 
80
88
  .ac-card-logo {
81
89
  max-width: 50px;
@@ -102,7 +110,7 @@
102
110
  }
103
111
 
104
112
  &:hover {
105
- background-color: $ac-white;
113
+ background-color: $ac-bg-light-gray;
106
114
  }
107
115
  }
108
116
 
@@ -129,7 +137,7 @@
129
137
  font-size: 36px;
130
138
  line-height: 1;
131
139
  font-weight: 600;
132
- color: #003466;
140
+ color: $ac-color-heading;
133
141
  display: inline-block;
134
142
  position: relative;
135
143
  z-index: 1;
@@ -137,7 +145,7 @@
137
145
  &:after {
138
146
  position: absolute;
139
147
  content: "";
140
- left: 10px;
148
+ left: 0;
141
149
  bottom: 0;
142
150
  width: 100%;
143
151
  height: 5px;
@@ -166,7 +174,7 @@
166
174
  }
167
175
 
168
176
  &:hover {
169
- box-shadow: 0px 8px 57px rgba(0, 0, 0, 0.16);
177
+ border: 1px solid $ac-primary;
170
178
 
171
179
  .ac-card-title {
172
180
  h4 {
@@ -230,13 +238,14 @@
230
238
  height: 10px;
231
239
  border-radius: 50%;
232
240
  right: 0;
241
+ top: 5px;
233
242
  }
234
243
  }
235
244
 
236
245
  // offer card scss start
237
246
  .pricing-card-wrpper {
238
247
  &.offer-card {
239
- background-color: #fafafa;
248
+ background-color: $ac-white-lighter;
240
249
  border: 1px solid $ac-white-light;
241
250
  border-radius: 4px;
242
251
  display: flex;
@@ -407,7 +416,7 @@
407
416
  }
408
417
 
409
418
  &.style-three {
410
- background-color: #fafafa;
419
+ background-color: $ac-white-lighter;
411
420
  width: 183px;
412
421
  padding: 15px 15px 20px;
413
422
  height: 115px;
@@ -506,7 +515,33 @@
506
515
  }
507
516
 
508
517
  // features card end
518
+ // dark theme start
519
+ .is-dark-theme {
520
+ .ac-single-card {
521
+ background-color: var(--dark-bg-light);
522
+
523
+ &.style-three {
524
+ background-color: var(--dark-bg-light);
525
+ }
509
526
 
527
+ .ac-card-body {
528
+ p {
529
+ color: $ac-label-text;
530
+ }
531
+ }
532
+ }
533
+
534
+ .pricing-card-wrpper {
535
+ &.offer-card {
536
+ background-color: var(--dark-bg-light);
537
+ }
538
+
539
+ .ac-card {
540
+ background-color: var(--dark-bg-light);
541
+ }
542
+ }
543
+ }
544
+ // dark theme end
510
545
  /****************************************
511
546
  Responsive Classes
512
547
  *****************************************/
@@ -540,6 +575,7 @@ Responsive Classes
540
575
  }
541
576
  }
542
577
  }
578
+
543
579
  .ac-single-card {
544
580
  &.card-counter {
545
581
  .card-header {
@@ -11,11 +11,15 @@
11
11
  }
12
12
  }
13
13
  }
14
+ code[class*="language-"],
15
+ pre[class*="language-"] {
16
+ font-size: 14px !important;
17
+ }
14
18
 
15
19
  .editor-writable {
16
20
  width: 100%;
17
21
  border-radius: 4px !important;
18
- border: 1px solid #f1f1f1 !important;
22
+ border: 1px solid $ac-white-light !important;
19
23
  }
20
24
 
21
25
  .monaco-editor {
@@ -6,13 +6,13 @@
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-color: $table-header;
15
+ background-color: $ac-white-light;
16
16
 
17
17
  &.is-bg-white {
18
18
  .ac-cheader-left {
@@ -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 {
@@ -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
 
@@ -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,7 +291,7 @@
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;
@@ -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-color: $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);
@@ -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
  }
@@ -402,7 +410,7 @@
402
410
  font-weight: 400;
403
411
  width: 100%;
404
412
  border-radius: 4px;
405
- border: 1px solid $ac-border;
413
+ border: 1px solid $ac-label-text;
406
414
  padding: 8px 15px;
407
415
  font-size: $font-size-small;
408
416
 
@@ -413,7 +421,9 @@
413
421
  &.bg-white {
414
422
  background-color: $ac-white;
415
423
  }
416
-
424
+ &.StripeElement--focus {
425
+ border: 1px solid $ac-primary;
426
+ }
417
427
  &:focus {
418
428
  border: 1px solid $ac-primary;
419
429
  outline: none;
@@ -450,11 +460,12 @@
450
460
 
451
461
  span.eye {
452
462
  i.fa {
453
- color: $ac-border;
463
+ color: $ac-label-text;
454
464
  position: absolute;
455
465
  cursor: pointer;
456
466
  padding: 15px;
457
467
  right: 0;
468
+ top: 0;
458
469
  }
459
470
  }
460
471
 
@@ -489,7 +500,7 @@
489
500
  top: 10px;
490
501
  z-index: 1;
491
502
  font-size: $font-size-small;
492
- color: $ac-border;
503
+ color: $ac-label-text;
493
504
  font-weight: 400;
494
505
  }
495
506
  }
@@ -513,7 +524,7 @@
513
524
  height: 36px;
514
525
  font-weight: 400;
515
526
  border-radius: 4px;
516
- border: 1px solid $ac-border;
527
+ border: 1px solid $ac-label-text;
517
528
  font-size: $font-size-small;
518
529
 
519
530
  .file-cta {
@@ -550,7 +561,7 @@ input#captcha {
550
561
 
551
562
  &:focus {
552
563
  outline: none;
553
- border-bottom: 1px solid $ac-border;
564
+ border-bottom: 1px solid $ac-label-text;
554
565
  }
555
566
  }
556
567
 
@@ -645,6 +656,7 @@ input#captcha {
645
656
  font-size: 13px;
646
657
  padding-top: 0;
647
658
  padding-left: 40px;
659
+ height: auto;
648
660
 
649
661
  &::before {
650
662
  width: 30px;
@@ -669,6 +681,9 @@ input#captcha {
669
681
  .switch {
670
682
  &[type="checkbox"] + label {
671
683
  padding-top: 3px;
684
+ &::before {
685
+ background-color: $ac-gray-light;
686
+ }
672
687
  }
673
688
 
674
689
  &.ac-switch {
@@ -699,6 +714,14 @@ input#captcha {
699
714
  }
700
715
  }
701
716
 
717
+ .ac-single-switch.is-small .switch[type="checkbox"] + label,
718
+ .buttons.are-small
719
+ .ac-single-switch.button.ac-button
720
+ .switch[type="checkbox"]
721
+ + label {
722
+ height: 19px;
723
+ }
724
+
702
725
  // transparent input
703
726
  .transparent-input {
704
727
  display: flex;
@@ -721,7 +744,7 @@ input#captcha {
721
744
 
722
745
  &:focus {
723
746
  outline: none;
724
- border-bottom: 1px solid $ac-border;
747
+ border-bottom: 1px solid $ac-label-text;
725
748
  }
726
749
  }
727
750
  }
@@ -770,7 +793,24 @@ input#captcha {
770
793
  }
771
794
  }
772
795
  }
796
+ // dark theme start
797
+ .is-dark-theme {
798
+ .ac-single-input {
799
+ input,
800
+ .file-input,
801
+ .ac-dropdown-content {
802
+ background-color: transparent;
803
+ }
773
804
 
805
+ label {
806
+ color: $ac-label-text;
807
+ }
808
+ .button.is-information:focus {
809
+ background-color: $dark-bg-light;
810
+ }
811
+ }
812
+ }
813
+ // dark theme end
774
814
  /****************************************
775
815
  Responsive Classes
776
816
  *****************************************/