@appscode/design-system 1.0.43-alpha.21 → 1.0.43-alpha.211

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 (132) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +313 -67
  4. package/base/utilities/_derived-variables.scss +6 -1
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +27 -17
  7. package/base/utilities/_mixin.scss +1 -17
  8. package/base/utilities/_typography.scss +18 -14
  9. package/base/utilities/dark-theme.scss +9 -145
  10. package/components/_ac-accordion.scss +14 -5
  11. package/components/_ac-alert-box.scss +41 -7
  12. package/components/_ac-card.scss +48 -10
  13. package/components/_ac-code-highlight.scss +5 -1
  14. package/components/_ac-content-layout.scss +2 -2
  15. package/components/_ac-drag.scss +2 -0
  16. package/components/_ac-input.scss +64 -23
  17. package/components/_ac-modal.scss +1 -1
  18. package/components/_ac-multi-select.scss +247 -9
  19. package/components/_ac-options.scss +24 -9
  20. package/components/_ac-select-box.scss +13 -3
  21. package/components/_ac-table.scss +7 -5
  22. package/components/_ac-tabs.scss +46 -5
  23. package/components/_ac-terminal.scss +270 -0
  24. package/components/_all.scss +27 -0
  25. package/components/_app-drawer.scss +2 -2
  26. package/components/_breadcumb.scss +2 -0
  27. package/components/_buttons.scss +50 -37
  28. package/components/_card-body-wrapper.scss +2 -2
  29. package/components/_dashboard-header.scss +32 -0
  30. package/components/_direct-deploy.scss +69 -0
  31. package/components/_go-to-top.scss +1 -1
  32. package/components/_graph.scss +45 -0
  33. package/components/_image-upload.scss +5 -3
  34. package/components/_left-sidebar-menu.scss +124 -73
  35. package/components/_monaco-editor.scss +1 -1
  36. package/components/_navbar.scss +170 -10
  37. package/components/_overview-info.scss +3 -3
  38. package/components/_pagination.scss +8 -0
  39. package/components/_payment-card.scss +10 -1
  40. package/components/_preview-modal.scss +18 -5
  41. package/components/_pricing-table.scss +1 -1
  42. package/components/_progress-bar.scss +4 -4
  43. package/components/_subscription-card.scss +11 -4
  44. package/components/_table-of-content.scss +1 -1
  45. package/components/_tfa.scss +69 -0
  46. package/components/_transitions.scss +261 -0
  47. package/components/_wizard.scss +16 -3
  48. package/components/bbum/_all.scss +9 -0
  49. package/components/bbum/_card-team.scss +1 -1
  50. package/components/bbum/_information-center.scss +15 -1
  51. package/components/bbum/_sign-up-notification.scss +1 -1
  52. package/components/bbum/_single-post-preview.scss +2 -2
  53. package/components/bbum/_user-profile.scss +2 -3
  54. package/components/ui-builder/_ui-builder.scss +76 -1
  55. package/components/ui-builder/_vue-open-api.scss +104 -0
  56. package/layouts/_all.scss +2 -0
  57. package/layouts/_code-preview.scss +5 -2
  58. package/main.scss +6 -54
  59. package/package.json +2 -7
  60. package/plugins/theme.js +4 -0
  61. package/plugins/time-convert.js +49 -0
  62. package/plugins/vue-toaster.js +3 -0
  63. package/vue-components/v2/banner/Banner.vue +2 -2
  64. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  65. package/vue-components/v2/button/Button.vue +5 -0
  66. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  67. package/vue-components/v2/card/Card.vue +1 -0
  68. package/vue-components/v2/card/PaymentCards.vue +11 -2
  69. package/vue-components/v2/content/ContentTable.vue +12 -7
  70. package/vue-components/v2/editor/Editor.vue +43 -24
  71. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  72. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  73. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  74. package/vue-components/v2/form-fields/Input.vue +1 -1
  75. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  76. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  77. package/vue-components/v2/modal/Modal.vue +38 -4
  78. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  79. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  80. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  81. package/vue-components/v2/navbar/ThemeMode.vue +50 -44
  82. package/vue-components/v2/navbar/User.vue +229 -17
  83. package/vue-components/v2/notification/Notification.vue +101 -0
  84. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  85. package/vue-components/v2/pagination/Pagination.vue +16 -3
  86. package/vue-components/v2/preloader/Preloader.vue +5 -5
  87. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  88. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  89. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  90. package/vue-components/v2/tab/TabItem.vue +1 -1
  91. package/vue-components/v2/table/Table.vue +44 -8
  92. package/vue-components/v2/table/TableRow.vue +12 -2
  93. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  94. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  95. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  96. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  97. package/vue-components/v3/button/Button.vue +6 -1
  98. package/vue-components/v3/content/ContentTable.vue +17 -2
  99. package/vue-components/v3/editor/Editor.vue +42 -33
  100. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  101. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  102. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  103. package/vue-components/v3/form/Form.vue +63 -0
  104. package/vue-components/v3/form-fields/Input.vue +11 -10
  105. package/vue-components/v3/header/HeaderItem.vue +5 -0
  106. package/vue-components/v3/header/HeaderItems.vue +5 -0
  107. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  108. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  109. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  110. package/vue-components/v3/modal/Modal.vue +38 -6
  111. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  112. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  113. package/vue-components/v3/modals/LongRunningTasksModal.vue +337 -0
  114. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  115. package/vue-components/v3/navbar/ThemeMode.vue +49 -47
  116. package/vue-components/v3/navbar/User.vue +242 -18
  117. package/vue-components/v3/notification/Notification.vue +98 -0
  118. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  119. package/vue-components/v3/pagination/Pagination.vue +16 -3
  120. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  121. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  122. package/vue-components/v3/tab/TabItem.vue +1 -1
  123. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  124. package/vue-components/v3/table/Table.vue +40 -12
  125. package/vue-components/v3/table/TableContainer.vue +34 -0
  126. package/vue-components/v3/table/TableRow.vue +62 -3
  127. package/vue-components/v3/table/table-cell/CellValue.vue +28 -3
  128. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  129. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  130. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
  131. package/vue-components/v3/tag/Tag.vue +1 -1
  132. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -11,7 +11,7 @@
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
13
  color: $ac-white;
14
- background-color: rgba($ac-primary, 0.5);
14
+ background-color: rgba(25, 113, 189, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
17
17
  cursor: pointer;
@@ -0,0 +1,45 @@
1
+ .graph-tooltip-wrapper {
2
+ background-color: var(--ac-white);
3
+ border: 1px solid var(--ac-white-light);
4
+
5
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
6
+ border-radius: 4px;
7
+ overflow: hidden;
8
+ h6 {
9
+ padding: 10px 20px;
10
+ border-bottom: 1px solid var(--ac-white-light);
11
+ }
12
+ .table-wrapper {
13
+ padding: 10px 20px;
14
+ tr {
15
+ td {
16
+ &:first-child {
17
+ font-weight: 450;
18
+ padding-right: 10px;
19
+ color: var(--ac-text-heading);
20
+ }
21
+ padding: 4px 0;
22
+ font-size: 13px;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .is-hovering .label text tspan {
29
+ stroke: var(--ac-white);
30
+ fill: var(--ac-white);
31
+ stroke-width: 0.3px;
32
+ }
33
+ .is-selected .label text tspan {
34
+ stroke: var(--ac-white);
35
+ fill: var(--ac-white);
36
+ stroke-width: 0.3px;
37
+ }
38
+ .label text tspan {
39
+ stroke: var(--ac-black);
40
+ fill: var(--ac-black);
41
+ stroke-width: 0.3px;
42
+ }
43
+ .edgeLabel .label text tspan {
44
+ stroke-width: 0px;
45
+ }
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
2
  background-color: $ac-bg;
3
- border: 1px dashed $ac-border;
3
+ border: 1px dashed $ac-label-text;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
6
6
 
@@ -22,21 +22,23 @@
22
22
  border-radius: 50%;
23
23
  overflow: hidden;
24
24
  margin: 0 auto 30px;
25
+ border: 1px solid $ac-white-light;
25
26
  }
26
27
 
27
28
  .drag-and-drop-msg {
28
29
  font-size: 13px;
30
+ color: $ac-color-value;
29
31
  font-weight: 400;
30
32
  margin-bottom: 10px;
31
33
 
32
34
  span {
33
- color: $ac-border;
35
+ color: $ac-label-text;
34
36
  }
35
37
  }
36
38
 
37
39
  .img-size-msg {
38
40
  font-size: 12px;
39
- color: $ac-border;
41
+ color: $ac-label-text;
40
42
  }
41
43
  }
42
44
 
@@ -1,11 +1,39 @@
1
1
  .ac-system-left-sidebar {
2
+ min-height: calc(100vh - 50px);
3
+
2
4
  &.is-expanded {
3
5
  .ac-left-sidebar-wrapper {
4
6
  &.style-2 {
5
7
  .ac-lef-sidebar-inner {
6
8
  .ac-left-sidebar {
7
9
  .ac-menu-list {
8
- background-color: transparent;
10
+ background-color: $ac-white;
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+
18
+ &.is-close {
19
+ .ac-left-sidebar-wrapper {
20
+ .ac-lef-sidebar-inner {
21
+ .ac-left-sidebar {
22
+ .menu-list {
23
+ &.ac-menu-list {
24
+ li {
25
+ a {
26
+ &.ac-dropdown-button {
27
+ .ac-arrow-down {
28
+ right: 0px !important;
29
+ }
30
+ }
31
+
32
+ span {
33
+ margin-right: 0px;
34
+ }
35
+ }
36
+ }
9
37
  }
10
38
  }
11
39
  }
@@ -15,7 +43,7 @@
15
43
  }
16
44
 
17
45
  .ac-left-sidebar-wrapper {
18
- background-color: $ac-white;
46
+ background-color: $ac-white-lightest;
19
47
  width: 100%;
20
48
  position: sticky;
21
49
  top: 50px;
@@ -59,7 +87,7 @@
59
87
  li {
60
88
  a {
61
89
  padding: 12px 15px 12px 26px !important;
62
- font-weight: 400;
90
+ font-weight: 500;
63
91
 
64
92
  &:hover {
65
93
  &::after {
@@ -67,7 +95,7 @@
67
95
  }
68
96
 
69
97
  span {
70
- color: $ac-black;
98
+ color: $ac-link-black;
71
99
  }
72
100
  }
73
101
 
@@ -129,12 +157,17 @@
129
157
  height: calc(100vh - 100px);
130
158
  overflow-y: auto;
131
159
  padding-top: 8px;
160
+ scrollbar-color: $ac-white-light transparent;
132
161
 
133
162
  /* width */
134
163
  &::-webkit-scrollbar {
135
164
  display: none;
136
165
  }
137
166
 
167
+ &::-webkit-scrollbar {
168
+ display: none;
169
+ }
170
+
138
171
  li {
139
172
  &.is-open {
140
173
  a {
@@ -150,7 +183,7 @@
150
183
  li {
151
184
  a {
152
185
  strong {
153
- font-weight: 400;
186
+ font-weight: 500;
154
187
  }
155
188
  }
156
189
  }
@@ -159,10 +192,10 @@
159
192
 
160
193
  a {
161
194
  font-style: normal;
162
- font-weight: 400;
195
+ font-weight: 500;
163
196
  font-size: $font-size-small;
164
197
  line-height: 16px;
165
- color: $ac-black;
198
+ color: $ac-link-black;
166
199
  position: relative;
167
200
  z-index: 1;
168
201
  padding: 10px 15px 10px 24px;
@@ -185,8 +218,12 @@
185
218
 
186
219
  strong {
187
220
  max-width: calc(100% - 65px);
188
- line-break: anywhere;
189
- font-weight: 400;
221
+ // line-break: anywhere;
222
+ white-space: break-spaces;
223
+ display: flex;
224
+ align-items: center;
225
+ overflow: hidden;
226
+ font-weight: 500;
190
227
  }
191
228
 
192
229
  &.ac-dropdown-button {
@@ -210,7 +247,7 @@
210
247
  }
211
248
 
212
249
  span {
213
- color: $ac-black;
250
+ color: $ac-link-black;
214
251
 
215
252
  img {
216
253
  filter: grayscale(0);
@@ -223,6 +260,10 @@
223
260
  background-color: transparent;
224
261
 
225
262
  span {
263
+ i.fa {
264
+ color: $ac-primary;
265
+ }
266
+
226
267
  img {
227
268
  filter: grayscale(0);
228
269
  }
@@ -295,62 +336,6 @@
295
336
  }
296
337
  }
297
338
  }
298
-
299
- &.is-dark-sidebar {
300
- background-color: $ac-color-heading;
301
-
302
- .ac-lef-sidebar-inner {
303
- .ac-product-logo {
304
- .ac-product-version {
305
- color: $ac-primary;
306
- }
307
- }
308
-
309
- .menu-list {
310
- &.ac-menu-list {
311
- height: calc(100vh - 130px);
312
- overflow-y: auto;
313
- padding-top: 8px;
314
-
315
- li {
316
- a {
317
- color: $ac-white !important;
318
- background-color: $ac-color-heading;
319
-
320
- &:hover {
321
- color: $ac-white !important;
322
-
323
- span {
324
- color: $ac-black;
325
- }
326
- }
327
-
328
- &:after {
329
- background-color: $ac-color-text;
330
- }
331
- }
332
-
333
- &.is-active {
334
- color: $ac-primary !important;
335
-
336
- &:after,
337
- &::before {
338
- background: linear-gradient(
339
- 89.41deg,
340
- rgba(25, 113, 189, 0.2) 0.06%,
341
- rgba(25, 113, 189, 0) 138.7%
342
- );
343
-
344
- &::before {
345
- background-color: $ac-primary;
346
- }
347
- }
348
- }
349
- }
350
- }
351
- }
352
- }
353
- }
354
339
  }
355
340
 
356
341
  // widget menu end
@@ -359,11 +344,13 @@
359
344
  .ac-options.is-right {
360
345
  .option-dots {
361
346
  transition: 0.3s;
347
+
362
348
  i.fa {
363
349
  &.fa-angle-left {
364
350
  font-size: 18px;
365
351
  }
366
352
  }
353
+
367
354
  &:active {
368
355
  i.fa {
369
356
  background-color: $ac-white-lighter;
@@ -374,53 +361,66 @@
374
361
  border-radius: 50%;
375
362
  }
376
363
  }
364
+
377
365
  &:hover {
378
- color: #333;
366
+ color: $ac-primary !important;
379
367
  transform: scale(1.2);
380
368
  }
381
369
  }
382
370
  }
383
- $ac-cluster-switch-bg: #f4f6f9;
371
+
384
372
  .is-cluster-logo {
385
373
  display: flex;
386
374
  align-items: center;
387
375
  margin-left: -8px;
388
376
  padding: 5px;
389
377
  }
378
+
390
379
  .multiselect {
391
380
  height: 50px;
392
- width: 234px;
381
+
382
+ // commented out to set full width select box when right content is not present
383
+ // width: 234px;
384
+
393
385
  left: 0px;
394
386
  top: -5px;
387
+
395
388
  .multiselect__select {
396
389
  height: 50px;
397
390
  top: 4px;
398
391
  }
392
+
399
393
  .multiselect__tags {
400
394
  border: none !important;
401
- background-color: $ac-cluster-switch-bg;
395
+ background-color: $ac-bg-light-gray;
402
396
  min-height: 54px;
403
397
  border-radius: 0;
398
+
404
399
  .multiselect__placeholder {
405
400
  padding-top: 12px !important;
406
401
  font-size: 14px;
407
402
  }
403
+
408
404
  .multiselect__input {
409
- background-color: $ac-cluster-switch-bg !important;
405
+ background-color: $ac-bg-light-gray !important;
410
406
  top: 13px;
407
+
411
408
  &::placeholder {
412
409
  font-size: 12px;
413
410
  font-weight: 500;
414
411
  }
415
412
  }
416
413
  }
414
+
417
415
  .multiselect__single {
418
- background-color: $ac-cluster-switch-bg !important;
416
+ background-color: $ac-bg-light-gray !important;
419
417
  top: 14px !important;
418
+
420
419
  img {
421
420
  width: 20px;
422
421
  margin-right: 8px;
423
422
  }
423
+
424
424
  span {
425
425
  span {
426
426
  overflow: hidden;
@@ -434,20 +434,28 @@
434
434
  }
435
435
  }
436
436
  }
437
+
437
438
  .multiselect__content-wrapper {
439
+ border: 1px solid $ac-white-light;
440
+
438
441
  .multiselect__content {
439
442
  .multiselect__element {
440
443
  .multiselect__option {
441
444
  display: flex;
442
445
  align-items: center;
443
446
  font-size: 14px;
447
+
444
448
  img {
445
449
  width: 25px;
446
450
  }
451
+
447
452
  p {
453
+ color: $ac-color-text;
448
454
  font-weight: 500;
449
455
  }
456
+
450
457
  .location {
458
+ color: $ac-color-text;
451
459
  font-weight: 400;
452
460
  opacity: 0.8;
453
461
  }
@@ -456,7 +464,50 @@
456
464
  }
457
465
  }
458
466
  }
467
+
459
468
  // cluster switcher end
469
+
470
+ // dark theme start
471
+ .is-dark-theme {
472
+ body {
473
+ .ac-system-body {
474
+ .ac-system-left-sidebar {
475
+ background-color: var(--dark-bg);
476
+ }
477
+ }
478
+
479
+ .ac-left-sidebar-wrapper {
480
+ .ac-lef-sidebar-inner {
481
+ .ac-left-sidebar {
482
+ .menu-list {
483
+ &.ac-menu-list {
484
+ li {
485
+ a {
486
+ &.is-active {
487
+ font-weight: 500;
488
+ color: $ac-full-white !important;
489
+
490
+ span {
491
+ i.fa {
492
+ color: $ac-primary;
493
+ }
494
+ }
495
+
496
+ &:after {
497
+ background: var(--dark-bg-light) !important;
498
+ }
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
506
+ }
507
+ }
508
+ }
509
+
510
+ // dark theme end
460
511
  /****************************************
461
512
  Responsive Classes
462
513
  *****************************************/
@@ -518,7 +569,7 @@ Responsive Classes
518
569
  }
519
570
 
520
571
  span {
521
- color: $ac-black;
572
+ color: $ac-link-black;
522
573
  }
523
574
  }
524
575
  }
@@ -1,6 +1,6 @@
1
1
  .editor {
2
2
  border: none;
3
- background-color: #f5f7f9 !important;
3
+ background-color: $ac-white-light !important;
4
4
  }
5
5
 
6
6
  .decorationsOverviewRuler {