@appscode/design-system 1.0.43-alpha.8 → 1.0.43-alpha.83

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 (79) hide show
  1. package/base/utilities/_default.scss +277 -20
  2. package/base/utilities/_derived-variables.scss +0 -13
  3. package/base/utilities/_initial-variables.scss +78 -56
  4. package/base/utilities/_mixin.scss +10 -17
  5. package/base/utilities/_typography.scss +20 -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 +16 -9
  9. package/components/_ac-card.scss +54 -19
  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 +68 -38
  14. package/components/_ac-modal.scss +5 -4
  15. package/components/_ac-multi-select.scss +196 -14
  16. package/components/_ac-options.scss +24 -13
  17. package/components/_ac-select-box.scss +15 -5
  18. package/components/_ac-table.scss +42 -33
  19. package/components/_ac-tabs.scss +72 -23
  20. package/components/_ac-tags.scss +2 -2
  21. package/components/_ac-terminal.scss +248 -0
  22. package/components/_app-drawer.scss +6 -6
  23. package/components/_breadcumb.scss +7 -2
  24. package/components/_buttons.scss +53 -27
  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/_image-upload.scss +6 -4
  30. package/components/_left-sidebar-menu.scss +198 -46
  31. package/components/_monaco-editor.scss +1 -1
  32. package/components/_navbar.scss +103 -26
  33. package/components/_overview-info.scss +4 -4
  34. package/components/_overview-page.scss +1 -2
  35. package/components/_pagination.scss +10 -2
  36. package/components/_payment-card.scss +28 -12
  37. package/components/_preview-modal.scss +8 -8
  38. package/components/_pricing-table.scss +1 -1
  39. package/components/_progress-bar.scss +5 -5
  40. package/components/_subscription-card.scss +15 -8
  41. package/components/_table-of-content.scss +1 -1
  42. package/components/_tfa.scss +69 -0
  43. package/components/_widget-menu.scss +9 -9
  44. package/components/_wizard.scss +32 -20
  45. package/components/ac-toaster/_ac-toasted.scss +40 -8
  46. package/components/bbum/_card-team.scss +17 -9
  47. package/components/bbum/_information-center.scss +19 -5
  48. package/components/bbum/_mobile-desktop.scss +6 -6
  49. package/components/bbum/_post.scss +5 -4
  50. package/components/bbum/_sign-up-notification.scss +6 -6
  51. package/components/bbum/_single-post-preview.scss +9 -9
  52. package/components/bbum/_user-profile.scss +98 -90
  53. package/components/ui-builder/_ui-builder.scss +23 -9
  54. package/components/ui-builder/_vue-open-api.scss +98 -0
  55. package/layouts/_404.scss +2 -1
  56. package/layouts/_code-preview.scss +14 -7
  57. package/main.scss +2 -0
  58. package/package.json +1 -1
  59. package/plugins/theme.js +142 -0
  60. package/plugins/vue-toaster.js +6 -6
  61. package/vue-components/v2/card/PaymentCards.vue +11 -2
  62. package/vue-components/v2/editor/Editor.vue +37 -17
  63. package/vue-components/v2/modal/Modal.vue +10 -1
  64. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  65. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  66. package/vue-components/v2/preloader/Preloader.vue +5 -5
  67. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  68. package/vue-components/v2/table/TableRow.vue +1 -1
  69. package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
  70. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  71. package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
  72. package/vue-components/v3/editor/Editor.vue +39 -19
  73. package/vue-components/v3/modal/Modal.vue +10 -1
  74. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  75. package/vue-components/v3/navbar/ThemeMode.vue +128 -0
  76. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  77. package/vue-components/v3/table/TableRow.vue +1 -1
  78. package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
  79. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
@@ -1,10 +1,10 @@
1
1
  .card-body-wrapper {
2
- background: $ac-white;
2
+ background-color: $ac-white;
3
3
  border-radius: 4px;
4
4
  box-shadow: none;
5
5
 
6
6
  .card-header {
7
- background: $table-header;
7
+ background-color: $ac-blue-light;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -24,7 +24,7 @@
24
24
  font-weight: normal;
25
25
  font-size: 14px;
26
26
  line-height: 16px;
27
- color: #6f6f8d;
27
+ color: $ac-color-value;
28
28
  margin-top: 10px;
29
29
  }
30
30
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .inner-header {
4
4
  padding: 6px 20px;
5
- border-bottom: 1px solid #e7e7e7;
5
+ border-bottom: 1px solid $ac-white-light;
6
6
  // display: flex;
7
7
  // align-items: center;
8
8
  }
@@ -0,0 +1,69 @@
1
+ .direct-deploy {
2
+ h5 {
3
+ font-weight: 500;
4
+ font-size: 18px;
5
+ line-height: 21px;
6
+ color: $ac-color-heading;
7
+ margin-bottom: 10px;
8
+ .fa {
9
+ color: $ac-primary;
10
+ }
11
+ }
12
+
13
+ p {
14
+ font-size: 14px;
15
+ line-height: 160%;
16
+ color: $ac-color-heading;
17
+ margin-bottom: 20px;
18
+ }
19
+
20
+ .check-permission {
21
+ font-weight: normal;
22
+ font-size: 14px;
23
+ line-height: 16px;
24
+ color: $ac-color-heading;
25
+ }
26
+
27
+ .button {
28
+ margin: 10px 0;
29
+ }
30
+
31
+ .msg {
32
+ font-size: 12px;
33
+ line-height: 14px;
34
+ color: $ac-color-value;
35
+ }
36
+ .buttons {
37
+ &.is-gray {
38
+ .button {
39
+ &.ac-primary {
40
+ background-color: $ac-blue-light;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ h5 {
48
+ &.toc-title {
49
+ font-style: normal;
50
+ font-weight: 500;
51
+ font-size: 16px;
52
+ line-height: 19px;
53
+ color: $ac-color-value;
54
+ }
55
+ }
56
+ .is-gray {
57
+ .button {
58
+ border: none;
59
+ background-color: $ac-blue-light;
60
+ }
61
+ }
62
+
63
+ .card-content {
64
+ &.is-table-of-content {
65
+ display: grid;
66
+ grid-template-columns: 65% 35%;
67
+ grid-gap: 15px;
68
+ }
69
+ }
@@ -11,7 +11,7 @@
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
13
  color: $ac-white;
14
- background: 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;
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
- background: $ac-input-bg-color;
3
- border: 1px dashed $ac-border;
2
+ background-color: $ac-bg;
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
 
@@ -12,6 +12,32 @@
12
12
  }
13
13
  }
14
14
  }
15
+
16
+ &.is-close {
17
+ .ac-left-sidebar-wrapper {
18
+ .ac-lef-sidebar-inner {
19
+ .ac-left-sidebar {
20
+ .menu-list {
21
+ &.ac-menu-list {
22
+ li {
23
+ a {
24
+ &.ac-dropdown-button {
25
+ .ac-arrow-down {
26
+ right: 0px !important;
27
+ }
28
+ }
29
+
30
+ span {
31
+ margin-right: 0px;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
15
41
  }
16
42
 
17
43
  .ac-left-sidebar-wrapper {
@@ -83,7 +109,7 @@
83
109
  li {
84
110
  a {
85
111
  padding-left: 25px;
86
- background: $ac-white;
112
+ background-color: $ac-white;
87
113
  }
88
114
  }
89
115
  }
@@ -109,7 +135,7 @@
109
135
  .ac-lef-sidebar-inner {
110
136
  .ac-left-sidebar {
111
137
  .ac-product-logo {
112
- background: $ac-white;
138
+ background-color: transparent;
113
139
  border-bottom: 1px solid $ac-white-light;
114
140
  height: 50px;
115
141
  display: flex;
@@ -119,7 +145,7 @@
119
145
 
120
146
  .ac-product-version {
121
147
  font-size: 12px;
122
- font-weight: $ac-weight-medium;
148
+ font-weight: 500;
123
149
  color: $ac-link-black;
124
150
  }
125
151
  }
@@ -129,12 +155,17 @@
129
155
  height: calc(100vh - 100px);
130
156
  overflow-y: auto;
131
157
  padding-top: 8px;
158
+ scrollbar-color: $ac-white-light transparent;
132
159
 
133
160
  /* width */
134
161
  &::-webkit-scrollbar {
135
162
  display: none;
136
163
  }
137
164
 
165
+ &::-webkit-scrollbar {
166
+ display: none;
167
+ }
168
+
138
169
  li {
139
170
  &.is-open {
140
171
  a {
@@ -150,7 +181,7 @@
150
181
  li {
151
182
  a {
152
183
  strong {
153
- font-weight: $ac-weight-normal;
184
+ font-weight: 400;
154
185
  }
155
186
  }
156
187
  }
@@ -159,7 +190,7 @@
159
190
 
160
191
  a {
161
192
  font-style: normal;
162
- font-weight: $ac-weight-normal;
193
+ font-weight: 400;
163
194
  font-size: $font-size-small;
164
195
  line-height: 16px;
165
196
  color: $ac-black;
@@ -177,7 +208,7 @@
177
208
  top: 0;
178
209
  width: 0;
179
210
  height: 100%;
180
- background-color: #f2f2f2;
211
+ background-color: $ac-white-lighter;
181
212
  border-radius: 0 50px 50px 0;
182
213
  z-index: -1;
183
214
  transition: 0.3s ease-in-out;
@@ -185,8 +216,12 @@
185
216
 
186
217
  strong {
187
218
  max-width: calc(100% - 65px);
188
- line-break: anywhere;
189
- font-weight: $ac-weight-normal;
219
+ // line-break: anywhere;
220
+ white-space: break-spaces;
221
+ display: flex;
222
+ align-items: center;
223
+ overflow: hidden;
224
+ font-weight: 400;
190
225
  }
191
226
 
192
227
  &.ac-dropdown-button {
@@ -223,6 +258,10 @@
223
258
  background-color: transparent;
224
259
 
225
260
  span {
261
+ i.fa {
262
+ color: $ac-primary;
263
+ }
264
+
226
265
  img {
227
266
  filter: grayscale(0);
228
267
  }
@@ -251,7 +290,7 @@
251
290
  }
252
291
 
253
292
  &::before {
254
- background: $ac-primary;
293
+ background-color: $ac-primary;
255
294
  height: 100%;
256
295
  width: 4px;
257
296
  z-index: 9;
@@ -295,54 +334,167 @@
295
334
  }
296
335
  }
297
336
  }
337
+ }
298
338
 
299
- &.is-dark-sidebar {
300
- background-color: $ac-bg-dark;
339
+ // widget menu end
340
+ // cluster switcher start
341
+ .ac-left-sidebar {
342
+ .ac-options.is-right {
343
+ .option-dots {
344
+ transition: 0.3s;
345
+
346
+ i.fa {
347
+ &.fa-angle-left {
348
+ font-size: 18px;
349
+ }
350
+ }
301
351
 
302
- .ac-lef-sidebar-inner {
303
- .ac-product-logo {
304
- .ac-product-version {
305
- color: $ac-primary;
352
+ &:active {
353
+ i.fa {
354
+ background-color: $ac-white-lighter;
355
+ width: 25px;
356
+ height: 25px;
357
+ text-align: center;
358
+ line-height: 25px;
359
+ border-radius: 50%;
306
360
  }
307
361
  }
308
362
 
309
- .menu-list {
310
- &.ac-menu-list {
311
- height: calc(100vh - 130px);
312
- overflow-y: auto;
313
- padding-top: 8px;
363
+ &:hover {
364
+ color: $ac-primary !important;
365
+ transform: scale(1.2);
366
+ }
367
+ }
368
+ }
314
369
 
315
- li {
316
- a {
317
- color: $ac-white !important;
318
- background-color: $ac-bg-dark;
370
+ .is-cluster-logo {
371
+ display: flex;
372
+ align-items: center;
373
+ margin-left: -8px;
374
+ padding: 5px;
375
+ }
319
376
 
320
- &:hover {
321
- color: $ac-white !important;
377
+ .multiselect {
378
+ height: 50px;
322
379
 
323
- span {
324
- color: $ac-black;
325
- }
326
- }
380
+ // commented out to set full width select box when right content is not present
381
+ // width: 234px;
382
+
383
+ left: 0px;
384
+ top: -5px;
327
385
 
328
- &:after {
329
- background-color: $ac-color-text;
330
- }
331
- }
386
+ .multiselect__select {
387
+ height: 50px;
388
+ top: 4px;
389
+ }
332
390
 
333
- &.is-active {
334
- color: $ac-primary !important;
391
+ .multiselect__tags {
392
+ border: none !important;
393
+ background-color: $ac-bg-light-gray;
394
+ min-height: 54px;
395
+ border-radius: 0;
335
396
 
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
- );
397
+ .multiselect__placeholder {
398
+ padding-top: 12px !important;
399
+ font-size: 14px;
400
+ }
343
401
 
344
- &::before {
345
- background-color: $ac-primary;
402
+ .multiselect__input {
403
+ background-color: $ac-bg-light-gray !important;
404
+ top: 13px;
405
+
406
+ &::placeholder {
407
+ font-size: 12px;
408
+ font-weight: 500;
409
+ }
410
+ }
411
+ }
412
+
413
+ .multiselect__single {
414
+ background-color: $ac-bg-light-gray !important;
415
+ top: 14px !important;
416
+
417
+ img {
418
+ width: 20px;
419
+ margin-right: 8px;
420
+ }
421
+
422
+ span {
423
+ span {
424
+ overflow: hidden;
425
+ text-overflow: ellipsis;
426
+ display: -webkit-box;
427
+ line-clamp: 1;
428
+ -webkit-line-clamp: 1;
429
+ box-orient: vertical;
430
+ -webkit-box-orient: vertical;
431
+ }
432
+ }
433
+ }
434
+ }
435
+
436
+ .multiselect__content-wrapper {
437
+ border: 1px solid $ac-white-light;
438
+
439
+ .multiselect__content {
440
+ .multiselect__element {
441
+ .multiselect__option {
442
+ display: flex;
443
+ align-items: center;
444
+ font-size: 14px;
445
+
446
+ img {
447
+ width: 25px;
448
+ }
449
+
450
+ p {
451
+ color: $ac-color-text;
452
+ font-weight: 500;
453
+ }
454
+
455
+ .location {
456
+ color: $ac-color-text;
457
+ font-weight: 400;
458
+ opacity: 0.8;
459
+ }
460
+ }
461
+ }
462
+ }
463
+ }
464
+ }
465
+
466
+ // cluster switcher end
467
+
468
+ // dark theme start
469
+ .is-dark-theme {
470
+ body {
471
+ .ac-system-body {
472
+ .ac-system-left-sidebar {
473
+ background-color: var(--dark-bg);
474
+ }
475
+ }
476
+
477
+ .ac-left-sidebar-wrapper {
478
+ .ac-lef-sidebar-inner {
479
+ .ac-left-sidebar {
480
+ .menu-list {
481
+ &.ac-menu-list {
482
+ li {
483
+ a {
484
+ &.is-active {
485
+ font-weight: 500;
486
+ color: $ac-full-white !important;
487
+
488
+ span {
489
+ i.fa {
490
+ color: $ac-primary;
491
+ }
492
+ }
493
+
494
+ &:after {
495
+ background: var(--dark-bg-light) !important;
496
+ }
497
+ }
346
498
  }
347
499
  }
348
500
  }
@@ -353,7 +505,7 @@
353
505
  }
354
506
  }
355
507
 
356
- // widget menu end
508
+ // dark theme end
357
509
  /****************************************
358
510
  Responsive Classes
359
511
  *****************************************/
@@ -1,6 +1,6 @@
1
1
  .editor {
2
2
  border: none;
3
- background: #f5f7f9 !important;
3
+ background-color: $ac-white-light !important;
4
4
  }
5
5
 
6
6
  .decorationsOverviewRuler {