@appscode/design-system 1.0.43-alpha.9 → 1.0.43-alpha.93

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