@appscode/design-system 1.0.43-alpha.20 → 1.0.43-alpha.201

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 (127) hide show
  1. package/base/utilities/_all.scss +6 -0
  2. package/base/utilities/_default.scss +298 -57
  3. package/base/utilities/_derived-variables.scss +0 -1
  4. package/base/utilities/_initial-variables.scss +16 -10
  5. package/base/utilities/_mixin.scss +1 -17
  6. package/base/utilities/_typography.scss +12 -2
  7. package/base/utilities/dark-theme.scss +9 -147
  8. package/components/_ac-accordion.scss +8 -4
  9. package/components/_ac-alert-box.scss +13 -5
  10. package/components/_ac-card.scss +33 -6
  11. package/components/_ac-code-highlight.scss +5 -1
  12. package/components/_ac-content-layout.scss +2 -2
  13. package/components/_ac-input.scss +63 -23
  14. package/components/_ac-modal.scss +1 -1
  15. package/components/_ac-multi-select.scss +187 -5
  16. package/components/_ac-options.scss +24 -9
  17. package/components/_ac-select-box.scss +13 -3
  18. package/components/_ac-table.scss +7 -5
  19. package/components/_ac-tabs.scss +33 -5
  20. package/components/_ac-terminal.scss +270 -0
  21. package/components/_all.scss +35 -0
  22. package/components/_app-drawer.scss +2 -2
  23. package/components/_breadcumb.scss +2 -0
  24. package/components/_buttons.scss +46 -37
  25. package/components/_card-body-wrapper.scss +2 -2
  26. package/components/_dashboard-header.scss +32 -0
  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 +5 -3
  31. package/components/_left-sidebar-menu.scss +115 -64
  32. package/components/_monaco-editor.scss +1 -1
  33. package/components/_navbar.scss +125 -7
  34. package/components/_overview-info.scss +3 -3
  35. package/components/_pagination.scss +8 -0
  36. package/components/_payment-card.scss +10 -1
  37. package/components/_preview-modal.scss +18 -5
  38. package/components/_pricing-table.scss +1 -1
  39. package/components/_progress-bar.scss +4 -4
  40. package/components/_subscription-card.scss +11 -4
  41. package/components/_table-of-content.scss +1 -1
  42. package/components/_tfa.scss +69 -0
  43. package/components/_transitions.scss +261 -0
  44. package/components/_wizard.scss +16 -3
  45. package/components/bbum/_card-team.scss +1 -1
  46. package/components/bbum/_information-center.scss +15 -1
  47. package/components/bbum/_sign-up-notification.scss +1 -1
  48. package/components/bbum/_single-post-preview.scss +1 -1
  49. package/components/bbum/_user-profile.scss +2 -3
  50. package/components/ui-builder/_ui-builder.scss +43 -3
  51. package/components/ui-builder/_vue-open-api.scss +104 -0
  52. package/layouts/_all.scss +2 -0
  53. package/layouts/_code-preview.scss +5 -2
  54. package/main.scss +4 -54
  55. package/package.json +2 -7
  56. package/plugins/theme.js +4 -0
  57. package/plugins/time-convert.js +49 -0
  58. package/plugins/vue-toaster.js +3 -0
  59. package/vue-components/v2/banner/Banner.vue +2 -2
  60. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  61. package/vue-components/v2/button/Button.vue +5 -0
  62. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  63. package/vue-components/v2/card/Card.vue +1 -0
  64. package/vue-components/v2/card/PaymentCards.vue +11 -2
  65. package/vue-components/v2/content/ContentTable.vue +12 -7
  66. package/vue-components/v2/editor/Editor.vue +38 -5
  67. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  68. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  69. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  70. package/vue-components/v2/form-fields/Input.vue +1 -1
  71. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  72. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  73. package/vue-components/v2/modal/Modal.vue +38 -4
  74. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -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 +50 -44
  78. package/vue-components/v2/navbar/User.vue +229 -17
  79. package/vue-components/v2/notification/Notification.vue +101 -0
  80. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  81. package/vue-components/v2/pagination/Pagination.vue +16 -3
  82. package/vue-components/v2/preloader/Preloader.vue +5 -5
  83. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  84. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  85. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  86. package/vue-components/v2/tab/TabItem.vue +1 -1
  87. package/vue-components/v2/table/Table.vue +44 -8
  88. package/vue-components/v2/table/TableRow.vue +12 -2
  89. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  90. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  91. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  92. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  93. package/vue-components/v3/button/Button.vue +5 -0
  94. package/vue-components/v3/content/ContentTable.vue +5 -0
  95. package/vue-components/v3/editor/Editor.vue +36 -13
  96. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  97. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  98. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  99. package/vue-components/v3/form/Form.vue +63 -0
  100. package/vue-components/v3/form-fields/Input.vue +11 -10
  101. package/vue-components/v3/header/HeaderItem.vue +5 -0
  102. package/vue-components/v3/header/HeaderItems.vue +5 -0
  103. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  104. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  105. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  106. package/vue-components/v3/modal/Modal.vue +35 -3
  107. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  108. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  109. package/vue-components/v3/modals/LongRunningTasksModal.vue +337 -0
  110. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  111. package/vue-components/v3/navbar/ThemeMode.vue +49 -47
  112. package/vue-components/v3/navbar/User.vue +242 -18
  113. package/vue-components/v3/notification/Notification.vue +98 -0
  114. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  115. package/vue-components/v3/pagination/Pagination.vue +16 -3
  116. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  117. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  118. package/vue-components/v3/tab/TabItem.vue +1 -1
  119. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  120. package/vue-components/v3/table/Table.vue +35 -12
  121. package/vue-components/v3/table/TableContainer.vue +34 -0
  122. package/vue-components/v3/table/TableRow.vue +16 -2
  123. package/vue-components/v3/table/table-cell/CellValue.vue +28 -3
  124. package/vue-components/v3/table/table-cell/GenericCell.vue +62 -0
  125. package/vue-components/v3/table/table-cell/ObjectCell.vue +5 -1
  126. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
  127. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -17,7 +17,7 @@
17
17
  font-weight: 500;
18
18
  width: 100%;
19
19
  border-radius: 4px;
20
- border: 1px solid $ac-border;
20
+ border: 1px solid $ac-label-text;
21
21
  padding: 6px 30px 8px 20px;
22
22
  font-size: $font-size-small;
23
23
 
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .multiselect__tag {
38
- background-color: $ac-gray-lightest;
38
+ background-color: $dark-bg-light;
39
39
  margin-top: 4px;
40
40
  margin-bottom: 0;
41
41
 
@@ -85,6 +85,7 @@
85
85
  font-size: $font-size-small;
86
86
  p {
87
87
  font-size: 13px;
88
+ color: $ac-color-text;
88
89
  }
89
90
  a {
90
91
  display: block;
@@ -150,7 +151,7 @@
150
151
  label {
151
152
  padding-left: 15px !important;
152
153
  font-size: $font-size-small !important;
153
- color: #323232 !important;
154
+ color: $ac-color-text !important;
154
155
 
155
156
  &:after {
156
157
  position: inherit !important;
@@ -163,7 +164,7 @@
163
164
 
164
165
  .multiselect__input {
165
166
  &::placeholder {
166
- color: #9b7575;
167
+ color: $ac-color-value;
167
168
  font-weight: 400;
168
169
  line-height: 1.6;
169
170
  font-size: $font-size-small;
@@ -392,7 +393,7 @@
392
393
  left: 20px;
393
394
  top: 11px;
394
395
  cursor: text;
395
- color: $ac-border;
396
+ color: $ac-label-text;
396
397
  position: absolute;
397
398
  z-index: 99;
398
399
  transition: 0.3s ease-in-out;
@@ -439,6 +440,7 @@
439
440
  li {
440
441
  .multiselect__option {
441
442
  font-size: 13px;
443
+ color: $ac-color-text;
442
444
  }
443
445
  }
444
446
  .multiselect__option--selected {
@@ -489,6 +491,186 @@ li {
489
491
 
490
492
  // has info button end
491
493
 
494
+ // dark theme start
495
+ .is-dark-theme {
496
+ .multiselect__content-wrapper {
497
+ background: var(--dark-bg-light);
498
+ border: 1px solid $ac-white-light;
499
+
500
+ // scroll
501
+ &::-webkit-scrollbar {
502
+ border-radius: 50px;
503
+ width: 3px;
504
+ }
505
+
506
+ &::-moz-scrollbar {
507
+ border-radius: 50px;
508
+ width: 3px;
509
+ }
510
+
511
+ &::-ms-scrollbar {
512
+ border-radius: 50px;
513
+ width: 3px;
514
+ }
515
+
516
+ &::-webkit-scrollbar:hover {
517
+ width: 7px;
518
+ }
519
+
520
+ &::-moz-scrollbar:hover {
521
+ width: 7px;
522
+ }
523
+
524
+ &::-ms-scrollbar:hover {
525
+ width: 7px;
526
+ }
527
+
528
+ &::-webkit-scrollbar-thumb {
529
+ background-color: $dark-bg-light;
530
+ border-radius: 50px;
531
+ height: 2px !important;
532
+ }
533
+
534
+ &::-moz-scrollbar-thumb {
535
+ background-color: $dark-bg-light;
536
+ border-radius: 50px;
537
+ height: 2px !important;
538
+ }
539
+
540
+ &::-ms-scrollbar-thumb {
541
+ background-color: $dark-bg-light;
542
+ border-radius: 50px;
543
+ height: 2px !important;
544
+ }
545
+
546
+ &::-webkit-scrollbar-thumb:hover {
547
+ background-color: $dark-bg-light;
548
+ }
549
+
550
+ &::-moz-scrollbar-thumb:hover {
551
+ background-color: $dark-bg-light;
552
+ }
553
+
554
+ &::-ms-scrollbar-thumb:hover {
555
+ background-color: $dark-bg-light;
556
+ }
557
+
558
+ &:hover::-webkit-scrollbar-corner {
559
+ height: 40px;
560
+ }
561
+
562
+ &:hover::-moz-scrollbar-corner {
563
+ height: 40px;
564
+ }
565
+
566
+ &:hover::-ms-scrollbar-corner {
567
+ height: 40px;
568
+ }
569
+
570
+ // scroll
571
+
572
+ .multiselect__option--selected {
573
+ background: var(--dark-bg);
574
+ color: var(--ac-white-text);
575
+ }
576
+ }
577
+
578
+ .multi-select-wrapper {
579
+ background: var(--dark-bg-light);
580
+
581
+ .multiselect__content-wrapper {
582
+ background-color: var(--dark-bg-light);
583
+ background: var(--dark-bg-light);
584
+
585
+ // scroll
586
+ &::-webkit-scrollbar {
587
+ border-radius: 50px;
588
+ width: 3px;
589
+ }
590
+
591
+ &::-moz-scrollbar {
592
+ border-radius: 50px;
593
+ width: 3px;
594
+ }
595
+
596
+ &::-ms-scrollbar {
597
+ border-radius: 50px;
598
+ width: 3px;
599
+ }
600
+
601
+ &::-webkit-scrollbar:hover {
602
+ width: 7px;
603
+ }
604
+
605
+ &::-moz-scrollbar:hover {
606
+ width: 7px;
607
+ }
608
+
609
+ &::-ms-scrollbar:hover {
610
+ width: 7px;
611
+ }
612
+
613
+ &::-webkit-scrollbar-thumb {
614
+ background-color: $dark-bg-light;
615
+ border-radius: 50px;
616
+ height: 2px !important;
617
+ }
618
+
619
+ &::-moz-scrollbar-thumb {
620
+ background-color: $dark-bg-light;
621
+ border-radius: 50px;
622
+ height: 2px !important;
623
+ }
624
+
625
+ &::-ms-scrollbar-thumb {
626
+ background-color: $dark-bg-light;
627
+ border-radius: 50px;
628
+ height: 2px !important;
629
+ }
630
+
631
+ &::-webkit-scrollbar-thumb:hover {
632
+ background-color: $dark-bg-light;
633
+ }
634
+
635
+ &::-moz-scrollbar-thumb:hover {
636
+ background-color: $dark-bg-light;
637
+ }
638
+
639
+ &::-ms-scrollbar-thumb:hover {
640
+ background-color: $dark-bg-light;
641
+ }
642
+
643
+ &:hover::-webkit-scrollbar-corner {
644
+ height: 40px;
645
+ }
646
+
647
+ &:hover::-moz-scrollbar-corner {
648
+ height: 40px;
649
+ }
650
+
651
+ &:hover::-ms-scrollbar-corner {
652
+ height: 40px;
653
+ }
654
+
655
+ // scroll
656
+
657
+ .multiselect__content .multiselect__element .multiselect__option {
658
+ color: var(--ac-white-text);
659
+ }
660
+
661
+ .multiselect__option--group {
662
+ color: var(--ac-white-text);
663
+ background-color: var(--dark-bg-light);
664
+ }
665
+
666
+ .multiselect__option--selected {
667
+ color: var(--ac-white-text);
668
+ background-color: var(--dark-bg-light);
669
+ }
670
+ }
671
+ }
672
+ }
673
+ // dark theme end
492
674
  /****************************************
493
675
  Responsive Classes
494
676
  *****************************************/
@@ -26,6 +26,8 @@
26
26
  &.is-right {
27
27
  .option-dots {
28
28
  align-items: flex-end;
29
+ padding: 0 10px;
30
+ margin-right: -10px;
29
31
  }
30
32
 
31
33
  .options-items {
@@ -41,28 +43,30 @@
41
43
  border: none;
42
44
  background-color: transparent;
43
45
  transition: 0.3 ease-in-out;
46
+
44
47
 
45
48
  &:hover {
46
49
  color: $ac-primary;
47
50
  }
48
51
 
49
52
  span {
50
- width: 5px;
51
- height: 5px;
53
+ width: 4px;
54
+ height: 4px;
52
55
  background-color: $ac-color-value;
53
56
  border-radius: 50%;
54
- margin-bottom: 2px;
57
+ margin-bottom: 1px;
55
58
  }
56
59
  }
57
60
 
58
61
  .options-items {
59
- box-shadow: $ac-shadow-1;
60
62
  border-radius: 4px;
61
63
  position: absolute;
62
64
  z-index: 99;
63
65
  background-color: $ac-white;
64
66
  min-width: 160px;
65
67
  top: 30px;
68
+ padding: 5px 0;
69
+ border: 1px solid $ac-white-light;
66
70
 
67
71
  li {
68
72
  .list-button {
@@ -78,8 +82,8 @@
78
82
  display: block;
79
83
 
80
84
  &:hover {
81
- background-color: $ac-primary;
82
- color: $ac-white;
85
+ background-color: $ac-bg-light-gray;
86
+ color: $ac-primary;
83
87
  }
84
88
 
85
89
  span {
@@ -93,16 +97,27 @@
93
97
 
94
98
  a {
95
99
  font-size: $font-size-small;
96
- padding: 10px 30px;
100
+ padding: 7px 15px;
97
101
  display: block;
98
102
  text-decoration: none !important;
99
103
  color: $ac-color-text !important;
104
+ border: none;
100
105
 
101
106
  &:hover {
102
- background-color: $ac-primary;
103
- color: $ac-white !important;
107
+ background-color: $ac-bg-light-gray;
108
+ color: $ac-primary !important;
104
109
  }
105
110
  }
106
111
  }
107
112
  }
108
113
  }
114
+
115
+ // dark theme start
116
+ .is-dark-theme {
117
+ .ac-options {
118
+ .options-items {
119
+ --ac-white: var(--dark-bg-light);
120
+ }
121
+ }
122
+ }
123
+ // dark theme end
@@ -1,7 +1,7 @@
1
1
  .ac-select-box {
2
2
  select {
3
- background-color: $ac-input-bg-color;
4
- border: 1px solid $ac-border;
3
+ background-color: $ac-blue-light;
4
+ border: 1px solid $ac-label-text;
5
5
  font-size: $font-size-small;
6
6
  height: 42px;
7
7
  padding-left: 20px;
@@ -34,6 +34,16 @@
34
34
  }
35
35
 
36
36
  &.select:not(.is-multiple):not(.is-loading)::after {
37
- border-color: $ac-border;
37
+ border-color: $ac-label-text;
38
+ }
39
+ }
40
+
41
+ .is-dark-theme {
42
+ .select {
43
+ select {
44
+ background-color: $dark-bg-light;
45
+ color: $ac-full-white;
46
+ border: 1px solid $ac-white-light;
47
+ }
38
48
  }
39
49
  }
@@ -12,13 +12,13 @@
12
12
 
13
13
  /* Handle */
14
14
  &::-webkit-scrollbar-thumb {
15
- background-color: $ac-gray-light;
15
+ background-color: $ac-white-light;
16
16
  border-radius: 10px;
17
17
  }
18
18
 
19
19
  /* Handle on hover */
20
20
  &::-webkit-scrollbar-thumb:hover {
21
- background-color: $ac-gray-light;
21
+ background-color: $ac-white-light;
22
22
  }
23
23
  }
24
24
  }
@@ -137,7 +137,9 @@
137
137
  }
138
138
 
139
139
  tr {
140
- cursor: pointer;
140
+ &.is-link {
141
+ cursor: pointer;
142
+ }
141
143
  border-bottom: 1px solid var(--ac-white-light);
142
144
 
143
145
  td {
@@ -259,7 +261,7 @@
259
261
  }
260
262
  }
261
263
 
262
- &.ac-bordered {
264
+ &.ac-label-texted {
263
265
  thead {
264
266
  tr {
265
267
  th {
@@ -326,7 +328,7 @@
326
328
  }
327
329
 
328
330
  &:checked + label::after {
329
- border-color: #fafafa;
331
+ border-color: $ac-white-lighter;
330
332
  }
331
333
  }
332
334
  }
@@ -6,14 +6,14 @@
6
6
 
7
7
  &.is-line {
8
8
  ul {
9
- border-bottom-color: $ac-white-light;
9
+ // border-bottom-color: $ac-white-light;
10
10
 
11
11
  li {
12
12
  &.is-active {
13
13
  a {
14
14
  font-weight: 500;
15
15
  border-bottom-color: $ac-primary;
16
- border-color: $ac-primary !important;
16
+ border-bottom: 2px solid $ac-primary !important;
17
17
  border-width: 2px;
18
18
  }
19
19
  }
@@ -23,6 +23,7 @@
23
23
  font-weight: 400;
24
24
  color: $ac-color-heading;
25
25
  font-size: $font-size-small;
26
+ border-bottom: none;
26
27
  padding: 6px 20px;
27
28
 
28
29
  &:hover {
@@ -105,7 +106,7 @@
105
106
  li {
106
107
  &.is-active {
107
108
  a {
108
- background-color: #f5f7f9;
109
+ background-color: $ac-white-light;
109
110
  }
110
111
  }
111
112
 
@@ -120,7 +121,7 @@
120
121
 
121
122
  &.is-toggle {
122
123
  ul {
123
- border: 1px solid $ac-border;
124
+ border: 1px solid $ac-label-text;
124
125
  border-radius: 4px;
125
126
  padding: 4px;
126
127
  flex-grow: inherit;
@@ -181,7 +182,7 @@
181
182
 
182
183
  &.is-borderless {
183
184
  border: 1px solid transparent;
184
- background-color: #f5f7f9;
185
+ background-color: $ac-white-light;
185
186
  border-radius: 4px 4px 4px 4px;
186
187
  }
187
188
  }
@@ -228,6 +229,33 @@
228
229
  background: $ac-white;
229
230
  }
230
231
  }
232
+
233
+ // dark theme
234
+ .is-dark-theme {
235
+ .tabs {
236
+ &.is-toggle {
237
+ a {
238
+ &:hover {
239
+ background-color: $dark-bg;
240
+ }
241
+ }
242
+ }
243
+ a {
244
+ border-bottom: 1px solid $ac-white-lighter;
245
+ color: $ac-full-white;
246
+ }
247
+ &.ac-tabs.is-line {
248
+ ul {
249
+ li.is-active {
250
+ a {
251
+ color: $ac-color-text;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+ }
258
+
231
259
  /****************************************
232
260
  Responsive Classes
233
261
  *****************************************/