@appscode/design-system 1.0.3-alpha.9 → 1.0.43-alpha.102

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 (115) 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/sidebar/SidebarItemWithDropDown.vue +120 -0
  104. package/vue-components/v3/tab/TabItem.vue +17 -0
  105. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  106. package/vue-components/v3/table/InfoTable.vue +105 -0
  107. package/vue-components/v3/table/Table.vue +238 -0
  108. package/vue-components/v3/table/TableCell.vue +28 -0
  109. package/vue-components/v3/table/TableRow.vue +60 -0
  110. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  111. package/vue-components/v3/table/table-cell/CellValue.vue +117 -0
  112. package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
  113. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  114. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  115. package/vue-components/v3/tag/Tag.vue +17 -0
@@ -12,20 +12,21 @@
12
12
 
13
13
  /* Handle */
14
14
  &::-webkit-scrollbar-thumb {
15
- background: #8392a5;
15
+ background-color: $ac-gray-light;
16
16
  border-radius: 10px;
17
17
  }
18
18
 
19
19
  /* Handle on hover */
20
20
  &::-webkit-scrollbar-thumb:hover {
21
- background: #8392a5;
21
+ background-color: $ac-gray-light;
22
22
  }
23
23
  }
24
24
  }
25
25
 
26
26
  // INFO TABLE START
27
27
  .table.ac-info-table {
28
- // background: $ac-bg-light-gray;
28
+ background-color: transparent;
29
+
29
30
  &.is-fullwidth {
30
31
  tbody {
31
32
  tr {
@@ -49,13 +50,12 @@
49
50
  td {
50
51
  border: none;
51
52
  font-size: $font-size-small;
52
- color: $ac-gray-dark;
53
+ color: $ac-color-value;
53
54
  font-weight: 400;
54
55
  padding: 3px 0px;
55
56
  min-width: 230px;
56
57
 
57
58
  &:first-child {
58
- color: $ac-black;
59
59
  font-weight: 400;
60
60
  padding-right: 10px;
61
61
  color: $ac-color-heading;
@@ -86,6 +86,43 @@
86
86
  color: $ac-color-heading;
87
87
  border: none;
88
88
  font-weight: 500;
89
+
90
+ &.sorting {
91
+ cursor: pointer;
92
+ position: relative;
93
+
94
+ &.sorting-asc {
95
+ &::before {
96
+ color: $ac-color-heading;
97
+ }
98
+ }
99
+
100
+ &.sorting-desc {
101
+ &::after {
102
+ color: $ac-color-heading;
103
+ }
104
+ }
105
+
106
+ &:after,
107
+ &::before {
108
+ position: absolute;
109
+ color: #808998;
110
+ top: 0.4em;
111
+ font-size: 13px;
112
+ font-weight: 1000;
113
+ display: block;
114
+ }
115
+
116
+ &:before {
117
+ right: 1em;
118
+ content: "\2191";
119
+ }
120
+
121
+ &:after {
122
+ right: 0.5em;
123
+ content: "\2193";
124
+ }
125
+ }
89
126
  }
90
127
  }
91
128
  }
@@ -96,12 +133,15 @@
96
133
  box-shadow: inset 0 0 0 1px $ac-primary;
97
134
  border-radius: 4px;
98
135
  border-bottom: none;
99
- color: #000;
136
+ color: $ac-black;
100
137
  }
101
138
 
102
139
  tr {
103
- cursor: pointer;
104
- border-bottom: 1px solid #e7e7e7;
140
+ &.is-link {
141
+ cursor: pointer;
142
+ }
143
+ border-bottom: 1px solid var(--ac-white-light);
144
+
105
145
  td {
106
146
  font-size: $font-size-small;
107
147
  padding: 5px 20px;
@@ -120,12 +160,14 @@
120
160
  color: $ac-primary;
121
161
  font-weight: 500;
122
162
  transition: 0.3s ease-in-out;
163
+
123
164
  &:hover {
124
165
  color: $ac-color-heading;
125
166
  }
126
167
  }
127
168
  }
128
169
  }
170
+
129
171
  &.is-error {
130
172
  color: $ac-danger;
131
173
  }
@@ -137,12 +179,12 @@
137
179
  display: inline-flex;
138
180
 
139
181
  &.is-danger {
140
- background: $ac-danger;
182
+ background-color: $ac-danger;
141
183
  }
142
184
 
143
185
  i.fa {
144
186
  position: absolute;
145
- background: $ac-primary;
187
+ background-color: $ac-primary;
146
188
  color: $ac-white;
147
189
  font-size: $font-size-tiny;
148
190
  width: 15px;
@@ -165,15 +207,8 @@
165
207
  border-radius: 50%;
166
208
  }
167
209
  }
168
-
169
- // &:first-child {
170
- // border-radius: 4px 0 0 4px;
171
- // }
172
-
173
- // &:last-child {
174
- // border-radius: 0 4px 4px 0;
175
- // }
176
210
  }
211
+
177
212
  .options-items {
178
213
  a:hover {
179
214
  color: $ac-white;
@@ -187,7 +222,7 @@
187
222
  box-shadow: inset 0 0 0 1px $ac-primary;
188
223
  border-radius: 4px;
189
224
  border-bottom: none;
190
- color: #000;
225
+ color: $ac-black;
191
226
  }
192
227
 
193
228
  &.is-hoverless {
@@ -199,59 +234,64 @@
199
234
  transition: 0.3s ease-in-out;
200
235
  }
201
236
  }
237
+
202
238
  .increase-width {
203
239
  position: relative;
204
240
  visibility: hidden;
205
241
  width: 36px;
242
+
206
243
  .increase-innner {
207
- border-bottom: 1px solid #e7e7e7;
208
- border-top: 1px solid #e7e7e7;
244
+ border-bottom: 1px solid var(--ac-white-light);
245
+ border-top: 1px solid var(--ac-white-light);
209
246
  bottom: -1px;
210
247
  left: 0;
211
248
  position: absolute;
212
249
  right: -451px;
213
250
  top: -1px;
214
251
  visibility: visible;
215
- background: #f1f1f1;
252
+ background-color: $ac-white-lighter;
216
253
  }
217
254
  }
255
+
218
256
  td {
219
257
  &.increase-width {
220
258
  .increase-innner {
221
- background: transparent;
259
+ background-color: transparent;
222
260
  }
223
261
  }
224
262
  }
225
- &.ac-bordered {
226
- thead {
227
- td {
228
- border-top: 1px solid $ac-white-light;
229
- border-bottom: 1px solid $ac-white-light;
230
- }
231
- }
232
263
 
233
- tbody {
264
+ &.ac-label-texted {
265
+ thead {
234
266
  tr {
235
- border-bottom: 1px solid $ac-white-light;
236
-
237
267
  th {
238
- &:first-child {
239
- border-radius: 0;
240
- }
268
+ border-top: 1px solid $ac-white-light;
269
+ border-bottom: 1px solid $ac-white-light;
270
+ border-right: 1px solid $ac-white-light;
241
271
 
242
- &:last-child {
243
- border-radius: 0;
272
+ &:first-child {
273
+ border-left: 1px solid $ac-white-light;
244
274
  }
245
275
  }
276
+ }
277
+ }
246
278
 
279
+ tbody {
280
+ tr {
247
281
  &:hover {
248
282
  box-shadow: none;
249
283
  }
250
284
 
251
285
  td {
252
286
  font-size: $font-size-small;
253
- color: $ac-gray-dark;
254
- background-color: $ac-white;
287
+ color: $ac-color-value;
288
+ background-color: transparent;
289
+ border-bottom: 1px solid $ac-white-light;
290
+ border-right: 1px solid $ac-white-light;
291
+
292
+ &:first-child {
293
+ border-left: 1px solid $ac-white-light;
294
+ }
255
295
 
256
296
  &:first-child {
257
297
  color: $ac-color-heading;
@@ -276,7 +316,7 @@
276
316
  &::after {
277
317
  top: 6px;
278
318
  left: 6px;
279
- border-color: #54657e;
319
+ border-color: $ac-gray-lightest;
280
320
  width: 0.3rem;
281
321
  height: 0.5rem;
282
322
  }
@@ -288,7 +328,7 @@
288
328
  }
289
329
 
290
330
  &:checked + label::after {
291
- border-color: #fafafa;
331
+ border-color: $ac-white-lighter;
292
332
  }
293
333
  }
294
334
  }
@@ -313,8 +353,7 @@
313
353
 
314
354
  tbody {
315
355
  tr {
316
- background-color: $ac-white;
317
- transition: 0.3s ease-in-out;
356
+ background-color: transparent;
318
357
  }
319
358
  }
320
359
  }
@@ -339,7 +378,7 @@
339
378
 
340
379
  &.is-dark {
341
380
  thead {
342
- background-color: $ac-bg-dark;
381
+ background-color: $ac-color-heading;
343
382
 
344
383
  tr {
345
384
  th {
@@ -355,11 +394,11 @@
355
394
  }
356
395
 
357
396
  &:nth-child(odd) {
358
- background-color: #303246;
397
+ background-color: $ac-color-value;
359
398
  }
360
399
 
361
400
  &:nth-child(even) {
362
- background-color: $ac-bg-dark;
401
+ background-color: $ac-color-heading;
363
402
  }
364
403
 
365
404
  &:hover {
@@ -373,10 +412,12 @@
373
412
  }
374
413
  }
375
414
  }
415
+
376
416
  .table.ac-table tbody tr:hover td a:not(.tag a) {
377
417
  text-decoration: underline;
378
418
  color: $ac-primary;
379
419
  }
420
+
380
421
  // GENERAL TABLE END
381
422
 
382
423
  /****************************************
@@ -1,35 +1,44 @@
1
1
  .tabs {
2
2
  &.ac-tabs {
3
- &.is-line{
4
- ul {
3
+ ul {
5
4
  border-bottom-color: $ac-white-light;
6
- li {
7
- &.is-active {
8
- a {
9
- font-weight: 500;
10
- border-bottom-color: $ac-primary;
11
- border-color: $ac-primary !important;
12
- border-width: 2px;
5
+ }
6
+
7
+ &.is-line {
8
+ ul {
9
+ border-bottom-color: $ac-white-light;
10
+
11
+ li {
12
+ &.is-active {
13
+ a {
14
+ font-weight: 500;
15
+ border-bottom-color: $ac-primary;
16
+ border-color: $ac-primary !important;
17
+ border-width: 2px;
18
+ }
13
19
  }
14
- }
15
- a {
16
- text-transform: uppercase;
17
- font-weight: 400;
18
- color: $ac-color-heading;
19
- font-size: $font-size-small;
20
- padding: 6px 20px;
21
- &:hover {
22
- border-bottom-color: $ac-primary;
20
+
21
+ a {
22
+ text-transform: uppercase;
23
+ font-weight: 400;
24
+ color: $ac-color-heading;
25
+ font-size: $font-size-small;
26
+ padding: 6px 20px;
27
+
28
+ &:hover {
29
+ border-bottom-color: $ac-primary;
30
+ }
23
31
  }
24
32
  }
25
33
  }
26
34
  }
27
- }
35
+
28
36
  &.is-boxed {
29
37
  font-size: 14px;
30
38
 
31
39
  a {
32
40
  padding: 8px 20px;
41
+ color: $ac-color-value;
33
42
 
34
43
  &:hover {
35
44
  border-bottom-color: transparent;
@@ -84,6 +93,7 @@
84
93
  border-bottom: none;
85
94
  margin-bottom: -2px;
86
95
  font-size: $font-size-small;
96
+ color: $ac-color-value;
87
97
  }
88
98
  }
89
99
  }
@@ -95,7 +105,7 @@
95
105
  li {
96
106
  &.is-active {
97
107
  a {
98
- background-color: #f5f7f9;
108
+ background-color: $ac-white-light;
99
109
  }
100
110
  }
101
111
 
@@ -110,7 +120,7 @@
110
120
 
111
121
  &.is-toggle {
112
122
  ul {
113
- border: 1px solid $ac-border;
123
+ border: 1px solid $ac-label-text;
114
124
  border-radius: 4px;
115
125
  padding: 4px;
116
126
  flex-grow: inherit;
@@ -134,6 +144,7 @@
134
144
  padding: 8px 25px;
135
145
  line-height: 1;
136
146
  border-radius: 4px;
147
+
137
148
  &:hover {
138
149
  background-color: inherit;
139
150
  }
@@ -170,7 +181,7 @@
170
181
 
171
182
  &.is-borderless {
172
183
  border: 1px solid transparent;
173
- background-color: #f5f7f9;
184
+ background-color: $ac-white-light;
174
185
  border-radius: 4px 4px 4px 4px;
175
186
  }
176
187
  }
@@ -187,7 +198,7 @@
187
198
  li {
188
199
  &.is-active {
189
200
  a {
190
- background-color: #f1f1f1;
201
+ background-color: $ac-white-lighter;
191
202
  color: $ac-primary;
192
203
  }
193
204
  }
@@ -197,15 +208,53 @@
197
208
  }
198
209
  }
199
210
  }
211
+
200
212
  .tabs li.is-active a {
201
213
  color: $ac-primary;
202
214
  }
215
+
203
216
  .no-data-available {
204
217
  img {
205
218
  width: 250px;
206
219
  }
207
220
  }
208
221
 
222
+ .ac-system-body.bb-user-management {
223
+ .tabs.ac-tabs.is-line {
224
+ margin-left: -20px;
225
+ position: sticky;
226
+ top: 50px;
227
+ z-index: 99;
228
+ background: $ac-white;
229
+ }
230
+ }
231
+
232
+ // dark theme
233
+ .is-dark-theme {
234
+ .tabs {
235
+ &.is-toggle {
236
+ a {
237
+ &:hover {
238
+ background-color: $dark-bg;
239
+ }
240
+ }
241
+ }
242
+ a {
243
+ border-bottom: 1px solid $ac-white-lighter;
244
+ color: $ac-full-white;
245
+ }
246
+ &.ac-tabs.is-line {
247
+ ul {
248
+ li.is-active {
249
+ a {
250
+ color: $ac-color-text;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+ }
257
+
209
258
  /****************************************
210
259
  Responsive Classes
211
260
  *****************************************/
@@ -3,13 +3,13 @@
3
3
  align-items: center;
4
4
 
5
5
  li {
6
- background: $ac-grey-lightest;
6
+ background-color: $ac-gray-lightest;
7
7
  list-style: none;
8
8
  padding: 2px 10px;
9
9
  border-radius: 4px;
10
10
  font-size: 12px;
11
11
  line-height: 1;
12
- border: 1px solid #333;
12
+ border: 1px solid $ac-color-value;
13
13
  margin-right: 5px;
14
14
 
15
15
  &:last-child {