@appscode/design-system 1.0.3-alpha.8 → 1.0.43-alpha.101

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 (114) hide show
  1. package/base/utilities/_default.scss +285 -23
  2. package/base/utilities/_derived-variables.scss +2 -15
  3. package/base/utilities/_initial-variables.scss +99 -64
  4. package/base/utilities/_mixin.scss +90 -10
  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 +47 -11
  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 +140 -38
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +220 -18
  16. package/components/_ac-options.scss +31 -16
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +88 -47
  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 +8 -3
  24. package/components/_buttons.scss +86 -33
  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 +206 -46
  32. package/components/_monaco-editor.scss +1 -1
  33. package/components/_navbar.scss +104 -27
  34. package/components/_overview-info.scss +4 -4
  35. package/components/_overview-page.scss +1 -2
  36. package/components/_pagination.scss +45 -7
  37. package/components/_payment-card.scss +28 -12
  38. package/components/_preloader.scss +1 -1
  39. package/components/_preview-modal.scss +8 -8
  40. package/components/_pricing-table.scss +1 -1
  41. package/components/_progress-bar.scss +5 -5
  42. package/components/_subscription-card.scss +15 -8
  43. package/components/_table-of-content.scss +1 -1
  44. package/components/_tfa.scss +69 -0
  45. package/components/_widget-menu.scss +9 -9
  46. package/components/_wizard.scss +32 -20
  47. package/components/ac-toaster/_ac-toasted.scss +40 -8
  48. package/components/bbum/_card-team.scss +18 -10
  49. package/components/bbum/_information-center.scss +19 -5
  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 +31 -12
  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 -6
  59. package/main.scss +4 -0
  60. package/package.json +2 -7
  61. package/plugins/theme.js +142 -0
  62. package/plugins/vue-toaster.js +7 -6
  63. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +95 -0
  64. package/vue-components/v2/card/CardContent.vue +5 -0
  65. package/vue-components/v2/card/CardHeader.vue +12 -0
  66. package/vue-components/v2/card/OverviewCard.vue +10 -0
  67. package/vue-components/v2/card/OverviewCards.vue +5 -0
  68. package/vue-components/v2/card/PaymentCards.vue +16 -10
  69. package/vue-components/v2/content/ContentHeader.vue +1 -1
  70. package/vue-components/v2/editor/Editor.vue +37 -17
  71. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +232 -0
  72. package/vue-components/v2/header/Header.vue +0 -1
  73. package/vue-components/v2/modal/Modal.vue +32 -14
  74. package/vue-components/v2/modals/JsonShowModal.vue +0 -1
  75. package/vue-components/v2/navbar/Appdrawer.vue +9 -6
  76. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  77. package/vue-components/v2/pagination/Pagination.vue +8 -1
  78. package/vue-components/v2/preloader/Preloader.vue +5 -5
  79. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  80. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  81. package/vue-components/v2/table/InfoTable.vue +13 -3
  82. package/vue-components/v2/table/Table.vue +75 -5
  83. package/vue-components/v2/table/TableRow.vue +17 -8
  84. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  85. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  86. package/vue-components/v3/button/Button.vue +73 -0
  87. package/vue-components/v3/content/ContentHeader.vue +54 -0
  88. package/vue-components/v3/content/ContentTable.vue +65 -0
  89. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  90. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  91. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  92. package/vue-components/v3/editor/Editor.vue +157 -0
  93. package/vue-components/v3/form-fields/Input.vue +21 -0
  94. package/vue-components/v3/header/Header.vue +45 -0
  95. package/vue-components/v3/modal/Modal.vue +135 -0
  96. package/vue-components/v3/modals/JsonShowModal.vue +87 -0
  97. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  98. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  99. package/vue-components/v3/navbar/User.vue +64 -0
  100. package/vue-components/v3/pagination/Pagination.vue +159 -0
  101. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  102. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  103. package/vue-components/v3/tab/TabItem.vue +17 -0
  104. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  105. package/vue-components/v3/table/InfoTable.vue +105 -0
  106. package/vue-components/v3/table/Table.vue +238 -0
  107. package/vue-components/v3/table/TableCell.vue +28 -0
  108. package/vue-components/v3/table/TableRow.vue +60 -0
  109. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  110. package/vue-components/v3/table/table-cell/CellValue.vue +117 -0
  111. package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
  112. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  113. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  114. package/vue-components/v3/tag/Tag.vue +17 -0
@@ -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-white;
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 {
@@ -36,7 +42,7 @@
36
42
  .card-status {
37
43
  position: absolute;
38
44
  content: "";
39
- background: #27ae60;
45
+ background-color: #27ae60;
40
46
  border: 2px solid $ac-white;
41
47
  box-sizing: border-box;
42
48
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
@@ -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,7 +77,7 @@
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;
@@ -92,7 +99,7 @@
92
99
  .ac-card-name {
93
100
  p {
94
101
  font-size: $font-size-small;
95
- color: $ac-link-black;
102
+ color: $ac-color-text;
96
103
  line-height: 1;
97
104
 
98
105
  &.free {
@@ -112,7 +119,7 @@
112
119
  justify-content: space-between;
113
120
  align-items: center;
114
121
  box-shadow: none;
115
- background: transparent;
122
+ background-color: transparent;
116
123
  margin-bottom: 60px;
117
124
 
118
125
  h3 {
@@ -129,7 +136,7 @@
129
136
  font-size: 36px;
130
137
  line-height: 1;
131
138
  font-weight: 600;
132
- color: #003466;
139
+ color: $ac-color-heading;
133
140
  display: inline-block;
134
141
  position: relative;
135
142
  z-index: 1;
@@ -137,7 +144,7 @@
137
144
  &:after {
138
145
  position: absolute;
139
146
  content: "";
140
- left: 10px;
147
+ left: 0;
141
148
  bottom: 0;
142
149
  width: 100%;
143
150
  height: 5px;
@@ -166,7 +173,7 @@
166
173
  }
167
174
 
168
175
  &:hover {
169
- box-shadow: 0px 8px 57px rgba(0, 0, 0, 0.16);
176
+ border: 1px solid $ac-primary;
170
177
 
171
178
  .ac-card-title {
172
179
  h4 {
@@ -201,14 +208,14 @@
201
208
 
202
209
  p {
203
210
  font-size: $font-size-small;
204
- color: $ac-border-hover;
211
+ color: $ac-gray-lightest;
205
212
  }
206
213
  }
207
214
  }
208
215
 
209
216
  .ac-card-body {
210
217
  p {
211
- color: $ac-border-hover;
218
+ color: $ac-gray-dark;
212
219
  font-size: $font-size-small;
213
220
  line-height: 140%;
214
221
  }
@@ -222,7 +229,7 @@
222
229
  .card-status {
223
230
  position: absolute;
224
231
  content: "";
225
- background: #27ae60;
232
+ background-color: #27ae60;
226
233
  border: 2px solid $ac-white;
227
234
  box-sizing: border-box;
228
235
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
@@ -230,13 +237,14 @@
230
237
  height: 10px;
231
238
  border-radius: 50%;
232
239
  right: 0;
240
+ top: 5px;
233
241
  }
234
242
  }
235
243
 
236
244
  // offer card scss start
237
245
  .pricing-card-wrpper {
238
246
  &.offer-card {
239
- background: #fafafa;
247
+ background-color: $ac-white-lighter;
240
248
  border: 1px solid $ac-white-light;
241
249
  border-radius: 4px;
242
250
  display: flex;
@@ -245,7 +253,7 @@
245
253
 
246
254
  &:after {
247
255
  @include absulate-shape($ac-primary, 100%, 4px);
248
- background-color: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
256
+ background: linear-gradient(90deg, #f99a00 0%, #3f19ad 98.84%);
249
257
  }
250
258
 
251
259
  .offer-highlight {
@@ -342,12 +350,12 @@
342
350
 
343
351
  a.inline-button {
344
352
  font-size: 12px;
345
- color: $ac-link-black;
353
+ color: $ac-color-text;
346
354
  text-decoration: underline;
347
355
  }
348
356
 
349
357
  span {
350
- color: $ac-link-black;
358
+ color: $ac-color-text;
351
359
  font-size: 12px;
352
360
  font-weight: 600;
353
361
  }
@@ -355,7 +363,7 @@
355
363
  p {
356
364
  font-weight: 500;
357
365
  font-size: $font-size-small;
358
- color: $ac-link-black;
366
+ color: $ac-color-text;
359
367
 
360
368
  span {
361
369
  font-size: 12px;
@@ -374,7 +382,7 @@
374
382
  letter-spacing: 0;
375
383
  font-size: 12px;
376
384
  border: none;
377
- background: #f99a00;
385
+ background-color: #f99a00;
378
386
  /* Old browsers */
379
387
  background: -moz-linear-gradient(left, #f99a00 0%, #3f19ad 100%);
380
388
  /* FF3.6-15 */
@@ -407,7 +415,7 @@
407
415
  }
408
416
 
409
417
  &.style-three {
410
- background: #fafafa;
418
+ background-color: $ac-white-lighter;
411
419
  width: 183px;
412
420
  padding: 15px 15px 20px;
413
421
  height: 115px;
@@ -431,7 +439,7 @@
431
439
  font-size: 12px;
432
440
  line-height: 14px;
433
441
  text-align: center;
434
- color: $ac-link-black;
442
+ color: $ac-color-text;
435
443
  }
436
444
  }
437
445
  }
@@ -482,7 +490,7 @@
482
490
  font-weight: 500;
483
491
  font-size: $font-size-small;
484
492
  line-height: 16px;
485
- color: $ac-link-black;
493
+ color: $ac-color-text;
486
494
  margin-bottom: 10px;
487
495
  }
488
496
  }
@@ -506,7 +514,33 @@
506
514
  }
507
515
 
508
516
  // features card end
517
+ // dark theme start
518
+ .is-dark-theme {
519
+ .ac-single-card {
520
+ background-color: var(--dark-bg-light);
509
521
 
522
+ &.style-three {
523
+ background-color: var(--dark-bg-light);
524
+ }
525
+
526
+ .ac-card-body {
527
+ p {
528
+ color: $ac-label-text;
529
+ }
530
+ }
531
+ }
532
+
533
+ .pricing-card-wrpper {
534
+ &.offer-card {
535
+ background-color: var(--dark-bg-light);
536
+ }
537
+
538
+ .ac-card {
539
+ background-color: var(--dark-bg-light);
540
+ }
541
+ }
542
+ }
543
+ // dark theme end
510
544
  /****************************************
511
545
  Responsive Classes
512
546
  *****************************************/
@@ -540,6 +574,7 @@ Responsive Classes
540
574
  }
541
575
  }
542
576
  }
577
+
543
578
  .ac-single-card {
544
579
  &.card-counter {
545
580
  .card-header {
@@ -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;