@appscode/design-system 0.0.21-alpha.3 → 0.4.27

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 (165) 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 +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +191 -37
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -0,0 +1,270 @@
1
+ // terminal scss start
2
+ .ac-terminal {
3
+ width: 100%;
4
+
5
+ .terminal-body {
6
+ font-family: "Inconsolata", monospace;
7
+ background-color: var(--dark-bg-light);
8
+ height: 100%;
9
+ color: $ac-white;
10
+
11
+ strong {
12
+ color: $ac-white;
13
+ }
14
+ }
15
+ }
16
+
17
+ .ac-terminal {
18
+ border-top: 1px solid var(--ac-white-light);
19
+ padding: 0;
20
+ position: fixed;
21
+ width: calc(100% - 270px);
22
+ bottom: 0;
23
+ background-color: $ac-white;
24
+ color: $ac-white;
25
+ font-size: 13px;
26
+ height: 360px;
27
+ z-index: 999;
28
+ transition: 0.3s ease-in-out;
29
+ &.is-collapsed {
30
+ height: 40px !important;
31
+ bottom: 0px;
32
+ .terminal-setting,
33
+ .terminal-body {
34
+ opacity: 0;
35
+ visibility: hidden;
36
+ }
37
+ }
38
+ .resize-handler {
39
+ width: 100%;
40
+ position: absolute;
41
+ background: transparent;
42
+ z-index: 9;
43
+ cursor: row-resize;
44
+ top: -15px;
45
+ &:hover {
46
+ border-bottom: 3px solid $ac-white-light;
47
+ }
48
+ }
49
+ .terminal-header {
50
+ border-top: 1px solid $ac-white-lighter;
51
+ box-shadow: 1px -2px 5px 1px rgba(0, 0, 0, 0.08%);
52
+ .tabs {
53
+ padding: 0 20px 0 20px;
54
+ background-color: $ac-white-lighter;
55
+ overflow: inherit;
56
+ height: 40px;
57
+ ul {
58
+ border-bottom: none;
59
+ padding-left: 0;
60
+ max-width: 1340px;
61
+ overflow-x: auto;
62
+ overflow-y: hidden;
63
+ li {
64
+ a {
65
+ margin-bottom: 0 !important;
66
+ }
67
+ }
68
+ &::-webkit-scrollbar {
69
+ border-radius: 50px;
70
+ height: 3px;
71
+ }
72
+
73
+ &::-webkit-scrollbar:hover {
74
+ height: 7px;
75
+ }
76
+
77
+ &::-webkit-scrollbar-thumb {
78
+ background-color: $ac-gray-light;
79
+ border-radius: 50px;
80
+ height: 2px !important;
81
+ }
82
+
83
+ &::-webkit-scrollbar-thumb:hover {
84
+ background-color: $ac-gray-light;
85
+ }
86
+
87
+ &:hover::-webkit-scrollbar-corner {
88
+ height: 40px;
89
+ }
90
+ .is-active {
91
+ box-shadow: none !important;
92
+ margin-right: 0 !important;
93
+ &:after {
94
+ height: 2px;
95
+ }
96
+ a {
97
+ background-color: $ac-white;
98
+ }
99
+ }
100
+ li:not(.is-active) {
101
+ margin-right: -1px;
102
+ border-right: 1px solid $ac-white-lighter;
103
+ }
104
+ li {
105
+ a {
106
+ margin-bottom: 0px;
107
+ font-size: 13px;
108
+ border-radius: 0;
109
+ padding: 5px 10px 5px 20px;
110
+ border: none;
111
+ height: 40px;
112
+ .name-of-tab {
113
+ width: 120px;
114
+ overflow: hidden;
115
+ }
116
+ .terminal-icon {
117
+ img {
118
+ width: 15px;
119
+ margin-right: 10px;
120
+ margin-top: 5px;
121
+ }
122
+ }
123
+
124
+ .button {
125
+ img {
126
+ width: 10px;
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ .options-items {
133
+ top: 15px;
134
+ left: 40px;
135
+ .items-inner {
136
+ border: none;
137
+ li {
138
+ border: none;
139
+ border-right: none !important;
140
+ border-bottom: 1px solid $ac-white-lighter;
141
+ width: 100%;
142
+ &:last-child {
143
+ border-bottom: none;
144
+ }
145
+ a {
146
+ font-size: 13px;
147
+ padding: 10px 20px;
148
+ &:hover {
149
+ color: $ac-primary !important;
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ .right-control {
157
+ .button {
158
+ .fa {
159
+ font-size: 20px;
160
+ }
161
+ img {
162
+ width: 11px;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ .terminal-setting {
169
+ background-color: var(--dark-bg);
170
+ padding: 5px 20px;
171
+
172
+ .left-content {
173
+ .ac-select-box-wrapper {
174
+ margin-right: 10px;
175
+ .multi-select-wrapper {
176
+ min-width: 200px;
177
+ }
178
+ .multiselect .multiselect__tags .multiselect__input,
179
+ .multiselect .multiselect__tags .multiselect__single {
180
+ background-color: #3b3030;
181
+ }
182
+ }
183
+ }
184
+
185
+ .right-content {
186
+ .status-message {
187
+ background-color: #666666 !important;
188
+ text-align: center;
189
+ padding: 4px 20px;
190
+ border-radius: 4px;
191
+ color: #ffffff !important;
192
+ text-transform: uppercase;
193
+ &.is-success {
194
+ background-color: #27b064 !important;
195
+ }
196
+ &.is-danger {
197
+ background-color: $ac-red !important;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ .terminal-body {
203
+ p {
204
+ font-family: Fira Code;
205
+ .code-static {
206
+ color: #0ff05c;
207
+ font-weight: 500;
208
+ }
209
+
210
+ .code-input {
211
+ color: #acd9ff;
212
+ }
213
+ }
214
+ }
215
+ .button {
216
+ &.is-transparent {
217
+ &:hover {
218
+ background-color: $ac-white-light;
219
+ }
220
+ }
221
+ }
222
+ .multiselect.multiselect--active {
223
+ .multiselect__tags {
224
+ border: 1px solid $ac-white !important;
225
+ .multiselect__input {
226
+ color: $ac-white !important;
227
+ }
228
+ }
229
+ }
230
+ .multiselect .multiselect__tags {
231
+ background-color: $ac-color-text;
232
+ border: 1px solid $ac-color-value;
233
+ span {
234
+ color: $ac-white;
235
+ }
236
+ }
237
+ }
238
+
239
+ // dark theme start
240
+ .is-dark-theme {
241
+ // ac-terminal
242
+ .ac-terminal {
243
+ .terminal-setting {
244
+ --ac-color-value: var(--dark-bg-light);
245
+
246
+ .left-content .ac-select-box-wrapper .multiselect .multiselect__tags {
247
+ .multiselect__input {
248
+ background-color: var(--dark-bg-light);
249
+ color: var(--ac-white-text);
250
+ }
251
+
252
+ .multiselect__single {
253
+ background-color: var(--dark-bg-light);
254
+ color: var(--ac-white-text);
255
+ }
256
+ }
257
+ }
258
+
259
+ .multiselect {
260
+ .multiselect__tags {
261
+ background-color: transparent;
262
+
263
+ span {
264
+ color: var(--ac-white-text);
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ // dark theme end
@@ -0,0 +1,28 @@
1
+ @import "ac-alert-box";
2
+ @import "ac-accordion";
3
+ @import "buttons";
4
+ @import "breadcumb";
5
+ @import "ac-card";
6
+ @import "ac-multi-select";
7
+ @import "ac-code-highlight";
8
+ @import "navbar";
9
+ @import "app-drawer";
10
+ @import "ac-drag";
11
+ @import "left-sidebar-menu";
12
+ @import "ac-input";
13
+ @import "ac-content-layout";
14
+ @import "ac-table";
15
+ @import "graph";
16
+ @import "ac-modal";
17
+ @import "payment-card";
18
+ @import "pagination";
19
+ @import "ac-options";
20
+ @import "image-upload";
21
+ @import "ac-alert-box";
22
+ @import "dashboard-header";
23
+ @import "ac-tags";
24
+ @import "go-to-top";
25
+ @import "ac-toaster/ac-toasted";
26
+ @import "preview-modal";
27
+ @import "wizard";
28
+ @import "bbum/all";
@@ -0,0 +1,134 @@
1
+ .app-drawer-wrapper {
2
+ width: 35px;
3
+ height: 35px;
4
+ border-radius: 50%;
5
+ padding: 5px;
6
+ transition: all 0.3s ease-in-out;
7
+ position: relative;
8
+ z-index: 99;
9
+ user-select: none;
10
+
11
+ &:hover {
12
+ background-color: rgba(255, 255, 255, 0.7);
13
+ cursor: pointer;
14
+ }
15
+
16
+ .drawer-icon {
17
+ width: 100%;
18
+ text-align: center;
19
+ vertical-align: middle;
20
+ }
21
+
22
+ .app-drawer-dropdown {
23
+ ul {
24
+ border-radius: 4px;
25
+ overflow: hidden;
26
+
27
+ li {
28
+ display: block;
29
+ font-size: 13px;
30
+ }
31
+
32
+ background-color: #edf0f5;
33
+ box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
34
+ min-width: 280px;
35
+ }
36
+
37
+ li {
38
+ a {
39
+ display: block;
40
+ color: $ac-color-text !important;
41
+ padding: 10px 20px !important;
42
+ font-size: 13px !important;
43
+ transition: 0.2s;
44
+
45
+ span {
46
+ margin-top: -3px;
47
+ }
48
+
49
+ &:hover {
50
+ .media-content {
51
+ .content {
52
+ p {
53
+ color: $ac-white;
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ .media {
60
+ .media-left {
61
+ .image {
62
+ img {
63
+ height: 44px;
64
+ width: auto;
65
+ }
66
+ }
67
+ }
68
+
69
+ .media-content {
70
+ overflow: hidden;
71
+
72
+ .content {
73
+ p {
74
+ vertical-align: middle;
75
+ line-height: 1;
76
+ transition: 0.3s;
77
+
78
+ strong {
79
+ font-weight: 600;
80
+ font-size: 17px;
81
+ font-family: $ac-family-heading;
82
+ }
83
+
84
+ span {
85
+ display: block;
86
+ font-size: 13px;
87
+ margin-top: 10px;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ &:hover {
96
+ > a {
97
+ background-color: $ac-white;
98
+ }
99
+ }
100
+
101
+ &:first-child {
102
+ &:hover {
103
+ > a {
104
+ border-radius: 4px 4px 0 0;
105
+ }
106
+ }
107
+ }
108
+
109
+ &:last-child {
110
+ &:hover {
111
+ > a {
112
+ border-radius: 0 0 4px 4px;
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ position: absolute;
119
+ z-index: 99;
120
+ right: -154px;
121
+ top: 50px;
122
+ display: block;
123
+ transform: scale(0) translateY(-200%);
124
+ transition: all 0.3s ease-in-out;
125
+
126
+ hr {
127
+ margin: 0;
128
+ }
129
+ }
130
+
131
+ .app-drawer-dropdown.is-active {
132
+ transform: scale(1);
133
+ }
134
+ }
@@ -5,15 +5,20 @@
5
5
  position: sticky;
6
6
  top: 50px;
7
7
  height: 50px;
8
- background: $ac-white;
9
- z-index: 99;
8
+ background-color: $ac-white;
9
+ z-index: 998;
10
+ display: flex;
11
+ align-items: center;
10
12
  }
11
13
 
12
14
  .breadcrumb {
13
15
  a {
14
- color: lighten($ac-color-text, 30%);
16
+ color: $ac-color-value;
15
17
  font-size: 13px;
16
18
  padding: 0px 3px;
19
+ &:hover {
20
+ color: $ac-color-text;
21
+ }
17
22
  }
18
23
 
19
24
  li.is-active {