@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
@@ -5,6 +5,7 @@
5
5
  width: 100%;
6
6
  top: 0;
7
7
  z-index: 999;
8
+
8
9
  &.is-light {
9
10
  background-color: $ac-white;
10
11
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
@@ -12,10 +13,12 @@
12
13
  .ac-navbar-menu .ac-menu-item .ac-nav-button.ac-profile-button {
13
14
  color: #3a3a3a !important;
14
15
  }
16
+
15
17
  .drawer-icon svg {
16
18
  fill: $ac-color-text !important;
17
19
  }
18
20
  }
21
+
19
22
  .ac-navbar {
20
23
  display: inline-grid;
21
24
  grid-template-columns: 255px auto auto;
@@ -31,10 +34,12 @@
31
34
  font-weight: 600;
32
35
  color: $ac-white;
33
36
  }
37
+
34
38
  img {
35
39
  height: 30px;
36
40
  }
37
41
  }
42
+
38
43
  .search-item {
39
44
  display: flex;
40
45
  align-items: center;
@@ -119,10 +124,31 @@
119
124
  position: relative;
120
125
  z-index: 1;
121
126
 
127
+ // width: 30px;
128
+ // height: 30px;
129
+ // border-radius: 50%;
130
+ .ac-nav-button:not(.ac-profile-button) {
131
+ &:after {
132
+ content: "";
133
+ border-radius: 50%;
134
+ width: 30px;
135
+ height: 30px;
136
+ position: absolute;
137
+ z-index: -1;
138
+ left: 50%;
139
+ transition: 0.3s ease-in-out;
140
+ margin-left: -15px;
141
+ }
142
+
143
+ &:hover {
144
+ &:after {
145
+ background-color: rgba(255, 255, 255, 0.2) !important;
146
+ }
147
+ }
148
+ }
149
+
122
150
  &:hover {
123
151
  .ac-nav-button:not(.ac-profile-button) {
124
- background-color: $ac-primary;
125
-
126
152
  i.fa {
127
153
  color: $ac-white;
128
154
  }
@@ -131,7 +157,38 @@
131
157
  .ac-menu-content {
132
158
  opacity: 1;
133
159
  visibility: visible;
134
- top: 45px;
160
+ top: 40px;
161
+
162
+ &.theme-choice {
163
+ transition: none;
164
+ padding: 10px 10px;
165
+ min-width: 150px !important;
166
+ max-height: 150px;
167
+ overflow-y: auto;
168
+ border-radius: 4px;
169
+ left: 0;
170
+ background-color: $ac-white;
171
+
172
+ ul {
173
+ li {
174
+ width: 40px;
175
+ height: 40px;
176
+ line-height: 42px;
177
+ border-radius: 4px;
178
+ text-align: center;
179
+ cursor: pointer;
180
+
181
+ &.is-active {
182
+ color: $ac-white;
183
+ background: $ac-primary;
184
+ }
185
+ }
186
+ }
187
+
188
+ // &::after {
189
+ // right: 90px;
190
+ // }
191
+ }
135
192
 
136
193
  &::after {
137
194
  position: absolute;
@@ -189,8 +246,8 @@
189
246
  &.ac-profile-button {
190
247
  strong {
191
248
  color: $ac-white;
192
- margin-left: 45px;
193
- font-weight: 400;
249
+ margin-left: 16px;
250
+ font-weight: 500;
194
251
  font-size: $font-size-small;
195
252
  }
196
253
 
@@ -216,7 +273,11 @@
216
273
  min-width: 180px;
217
274
  opacity: 0;
218
275
  visibility: hidden;
219
- transition: 0.3s ease-in-out;
276
+ transition: 0.3s ease-in;
277
+
278
+ &.theme-choice {
279
+ left: 0;
280
+ }
220
281
 
221
282
  .user-profile-wrapper {
222
283
  background-color: $ac-white;
@@ -370,9 +431,9 @@
370
431
  background-color: $ac-gray-light;
371
432
  }
372
433
 
373
- &:last-child {
374
- right: 0;
375
- }
434
+ // &:last-child {
435
+ // right: 0;
436
+ // }
376
437
 
377
438
  &.is-notification {
378
439
  right: 0;
@@ -465,7 +526,7 @@
465
526
 
466
527
  p {
467
528
  font-size: $font-size-tiny;
468
- color: $ac-border;
529
+ color: $ac-label-text;
469
530
 
470
531
  &.is-success {
471
532
  color: $ac-success;
@@ -521,6 +582,105 @@
521
582
  }
522
583
  }
523
584
 
585
+ .ac-menu-item {
586
+ li {
587
+ &.is-close {
588
+ ul {
589
+ max-height: 0;
590
+ visibility: hidden;
591
+ transition: max-height 0.25s ease-out;
592
+ }
593
+ }
594
+
595
+ &.is-open {
596
+ ul {
597
+ max-height: 200px;
598
+ visibility: visible;
599
+ transition: max-height 0.25s ease-out;
600
+ }
601
+ }
602
+ }
603
+
604
+ .is-fullwidth {
605
+ width: 100%;
606
+ }
607
+
608
+ .navbar-dropdown-wrapper {
609
+ width: 300px;
610
+ transition: width 0.9s ease-in-out;
611
+ }
612
+ }
613
+
614
+ .theme-choicee {
615
+ border: 1px solid $ac-white-light;
616
+
617
+ li {
618
+ border-right: 1px solid $ac-white-light;
619
+ cursor: pointer;
620
+ transition: 0.3s ease-in-out;
621
+
622
+ &:last-child {
623
+ border-right: none;
624
+ }
625
+
626
+ &:hover {
627
+ color: $ac-black;
628
+ }
629
+
630
+ &.is-active {
631
+ background-color: $ac-primary;
632
+ color: $ac-white;
633
+ }
634
+ }
635
+ }
636
+
637
+ // start dark theme
638
+ .is-dark-theme {
639
+ body {
640
+ .ac-navbar-area {
641
+ background-color: var(--dark-bg-light);
642
+ --ac-white: #ffffff;
643
+ --ac-white-lighter: #f1f1f1;
644
+
645
+ .ac-navbar {
646
+ .search-item {
647
+ background-color: rgba(0, 0, 0, 0.2);
648
+ }
649
+
650
+ .ac-navbar-menu {
651
+ .ac-menu-item {
652
+ .quick-access {
653
+ --ac-white: var(--dark-bg-light);
654
+ }
655
+
656
+ .ac-menu-content {
657
+ &.theme-choice {
658
+ background-color: var(--dark-bg-light);
659
+ }
660
+
661
+ background-color: var(--dark-bg-light);
662
+
663
+ ul {
664
+ background-color: var(--dark-bg-light);
665
+ }
666
+
667
+ &::after {
668
+ --ac-white: var(--dark-bg-light);
669
+ }
670
+
671
+ .user-profile-wrapper {
672
+ --ac-white: var(--dark-bg-light);
673
+ }
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+ }
680
+ }
681
+
682
+ // end dark theme code
683
+
524
684
  /****************************************
525
685
  Responsive Classes
526
686
  *****************************************/
@@ -9,7 +9,7 @@
9
9
  color: $ac-color-heading;
10
10
  font-weight: 500;
11
11
  padding: 20px;
12
- border-bottom: 1px solid $table-header;
12
+ border-bottom: 1px solid $ac-white-light;
13
13
  }
14
14
  }
15
15
 
@@ -41,13 +41,13 @@
41
41
 
42
42
  h4 {
43
43
  font-size: 12px;
44
- color: #6f6f8d;
44
+ color: $ac-color-value;
45
45
  font-weight: 500;
46
46
  opacity: 0.5;
47
47
  }
48
48
 
49
49
  .button {
50
- color: #6f6f8d;
50
+ color: $ac-color-value;
51
51
  text-decoration: underline;
52
52
  }
53
53
  }
@@ -114,3 +114,11 @@ ul > li > a.next {
114
114
  1
115
115
  );
116
116
  }
117
+
118
+ .is-dark-theme {
119
+ .pagination-filter {
120
+ label {
121
+ $ac-gray-darker: $ac-color-value;
122
+ }
123
+ }
124
+ }
@@ -34,7 +34,7 @@
34
34
  &.add-card {
35
35
  background-color: transparent;
36
36
  box-shadow: none;
37
- border: 2px dashed #caced5;
37
+ border: 2px dashed $ac-white-light;
38
38
  display: flex;
39
39
  align-items: center;
40
40
  justify-content: center;
@@ -218,6 +218,15 @@
218
218
  }
219
219
  }
220
220
 
221
+ // dark theme start
222
+ .is-dark-theme {
223
+ .ac-payment-card,
224
+ .ac-single-card,
225
+ .option-dots {
226
+ --ac-white: var(--ac-white-text);
227
+ }
228
+ }
229
+ // dark theme end
221
230
  /****************************************
222
231
  Responsive Classes
223
232
  *****************************************/
@@ -55,8 +55,10 @@
55
55
  top: -50px;
56
56
  width: calc(100% + 90px);
57
57
  height: 100%;
58
- background-color: $ac-color-value;
59
- opacity: 0.8;
58
+ background-color: $ac-white;
59
+
60
+ // remove opacity for fix cluster ui project
61
+ // opacity: 0.8;
60
62
  z-index: -1;
61
63
  }
62
64
 
@@ -138,7 +140,7 @@
138
140
  font-size: 14px;
139
141
  line-height: 100%;
140
142
  color: $ac-color-text;
141
- border-top: 1px solid #f5f7f9;
143
+ border-top: 1px solid $ac-white-light;
142
144
 
143
145
  span {
144
146
  img {
@@ -150,7 +152,7 @@
150
152
 
151
153
  &:last-child {
152
154
  a {
153
- border-bottom: 1px solid #f5f7f9;
155
+ border-bottom: 1px solid $ac-white-light;
154
156
  }
155
157
  }
156
158
  }
@@ -162,7 +164,7 @@
162
164
  width: 100%;
163
165
 
164
166
  .code-preview {
165
- background-color: #f5f7f9;
167
+ background-color: $ac-white-light;
166
168
  border-radius: 4px;
167
169
  display: flex;
168
170
 
@@ -178,3 +180,14 @@
178
180
  }
179
181
  }
180
182
  }
183
+ .left-content {
184
+ .ac-files {
185
+ max-height: 350px;
186
+ overflow-y: auto;
187
+ padding: 10px;
188
+ span {
189
+ width: 20px;
190
+ white-space: nowrap;
191
+ }
192
+ }
193
+ }
@@ -1,6 +1,6 @@
1
1
  .pricing-table {
2
2
  border: 1px solid $ac-white-light;
3
- background-color: #fafafa;
3
+ background-color: $ac-white-lighter;
4
4
  border-radius: 4px;
5
5
 
6
6
  .pricing-title {
@@ -15,9 +15,9 @@
15
15
  .progress-tooltip-info {
16
16
  align-items: center;
17
17
  background-color: $ac-bg-light-gray;
18
- border: 1px solid $ac-border;
18
+ border: 1px solid $ac-label-text;
19
19
  border-radius: 10px;
20
- box-shadow: 0 0 2px $ac-border;
20
+ box-shadow: 0 0 2px $ac-label-text;
21
21
  color: $ac-primary;
22
22
  display: inline-flex;
23
23
  font-family: sans-serif;
@@ -41,7 +41,7 @@
41
41
  left: 50%;
42
42
  transform: translateX(-50%);
43
43
  border-width: 8px;
44
- border-top-color: $ac-border;
44
+ border-top-color: $ac-label-text;
45
45
  bottom: -16px;
46
46
  left: 50%;
47
47
  }
@@ -200,7 +200,7 @@
200
200
  display: flex;
201
201
  justify-content: space-between;
202
202
  font-size: 12px;
203
- color: #6f6f8d;
203
+ color: $ac-color-value;
204
204
  margin-bottom: 5px;
205
205
  }
206
206
  .progress-line {
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  .single-subscription-card {
6
- border: 1px solid $ac-input-bg-color;
6
+ border: 1px solid $ac-blue-light;
7
7
  background-color: $ac-white;
8
8
  padding: 10px;
9
9
  transition: 0.3s ease-in-out;
@@ -71,7 +71,7 @@
71
71
  font-weight: normal;
72
72
  font-size: 12px;
73
73
  line-height: 14px;
74
- color: #6f6f8d;
74
+ color: $ac-color-value;
75
75
  }
76
76
 
77
77
  li {
@@ -81,10 +81,10 @@
81
81
  font-size: 14px;
82
82
  line-height: 16px;
83
83
  padding-bottom: 8px;
84
- color: #6f6f8d;
84
+ color: $ac-color-value;
85
85
 
86
86
  .fa {
87
- color: #6f6f8d;
87
+ color: $ac-color-value;
88
88
  margin-right: 10px;
89
89
  }
90
90
  }
@@ -121,6 +121,13 @@
121
121
  }
122
122
  }
123
123
 
124
+ // dark theme start
125
+ .is-dark-theme {
126
+ .single-subscription-card {
127
+ background-color: var(--dark-bg-light);
128
+ }
129
+ }
130
+ // dark theme end
124
131
  /****************************************
125
132
  Responsive Classes
126
133
  *****************************************/
@@ -1,6 +1,6 @@
1
1
  .ac-accordion-wrapper {
2
2
  &.table-of-content {
3
- background-color: #f5f7f9;
3
+ background-color: $ac-white-light;
4
4
  padding: 5px 15px;
5
5
  border-radius: 4px;
6
6
 
@@ -0,0 +1,69 @@
1
+ .qr-code-wrapper {
2
+ background: $ac-blue-light;
3
+ width: 240px;
4
+ height: 240px;
5
+ padding: 20px;
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ border-radius: 4px;
10
+ .qr-code-inner {
11
+ position: relative;
12
+ z-index: 1;
13
+ padding: 20px;
14
+ height: 200px;
15
+ img {
16
+ object-fit: cover;
17
+ height: 160px;
18
+ width: 160px;
19
+ }
20
+ .scanner {
21
+ position: absolute;
22
+ content: "";
23
+ left: 0;
24
+ top: 0;
25
+ width: 100%;
26
+ height: 100%;
27
+ &.shape-1:after {
28
+ position: absolute;
29
+ content: "";
30
+ left: 0;
31
+ top: 0;
32
+ width: 20px;
33
+ height: 20px;
34
+ border-top: 1px solid $ac-color-heading;
35
+ border-left: 1px solid $ac-color-heading;
36
+ }
37
+ &.shape-1:before {
38
+ position: absolute;
39
+ content: "";
40
+ right: 0;
41
+ top: 0;
42
+ width: 20px;
43
+ height: 20px;
44
+ border-top: 1px solid $ac-color-heading;
45
+ border-right: 1px solid $ac-color-heading;
46
+ }
47
+ &.shape-2:after {
48
+ position: absolute;
49
+ content: "";
50
+ left: 0;
51
+ bottom: 0;
52
+ width: 20px;
53
+ height: 20px;
54
+ border-bottom: 1px solid $ac-color-heading;
55
+ border-left: 1px solid $ac-color-heading;
56
+ }
57
+ &.shape-2:before {
58
+ position: absolute;
59
+ content: "";
60
+ right: 0;
61
+ bottom: 0;
62
+ width: 20px;
63
+ height: 20px;
64
+ border-bottom: 1px solid $ac-color-heading;
65
+ border-right: 1px solid $ac-color-heading;
66
+ }
67
+ }
68
+ }
69
+ }