@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,6 +1,8 @@
1
1
  .ac-code-highlight {
2
2
  pre {
3
3
  font-size: $font-size-small;
4
+ color: $ac-color-text;
5
+ background-color: $ac-white-lighter;
4
6
  }
5
7
  &.is-dark {
6
8
  pre {
@@ -9,11 +11,15 @@
9
11
  }
10
12
  }
11
13
  }
14
+ code[class*="language-"],
15
+ pre[class*="language-"] {
16
+ font-size: 14px !important;
17
+ }
12
18
 
13
19
  .editor-writable {
14
20
  width: 100%;
15
21
  border-radius: 4px !important;
16
- border: 1px solid #f1f1f1 !important;
22
+ border: 1px solid $ac-white-light !important;
17
23
  }
18
24
 
19
25
  .monaco-editor {
@@ -1,18 +1,18 @@
1
1
  .ac-content-layout {
2
- background: transparent;
2
+ background-color: transparent;
3
3
  padding: 0;
4
4
  border-radius: 0;
5
5
  height: 100%;
6
6
  border: none;
7
7
 
8
8
  &.style-2 {
9
- border: 1px solid $table-header;
9
+ border: 1px solid $ac-white-light;
10
10
  box-shadow: none;
11
11
  padding: 0;
12
12
  border-radius: 4px;
13
13
 
14
14
  .ac-content-header {
15
- background: $table-header;
15
+ background-color: $ac-white-light;
16
16
 
17
17
  &.is-bg-white {
18
18
  .ac-cheader-left {
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  &.is-dark {
39
- background-color: $ac-bg-dark;
39
+ background-color: $ac-color-heading;
40
40
 
41
41
  .ac-content-header {
42
42
  &.drag-n-drop {
@@ -19,13 +19,13 @@
19
19
  }
20
20
 
21
21
  .dragable-list-items {
22
- background: $ac-bg-light-gray;
22
+ background-color: $ac-white-lighter;
23
23
  border-radius: 4px;
24
24
  max-height: 400px;
25
25
 
26
26
  .is-highlight {
27
27
  background-color: $ac-white;
28
- border: 1px dashed $ac-border-hover;
28
+ border: 1px dashed $ac-gray-lightest;
29
29
  border-radius: 4px;
30
30
  margin: 4px 0;
31
31
  overflow: hidden;
@@ -36,7 +36,7 @@
36
36
  padding-left: 40px;
37
37
 
38
38
  &.is-not-change {
39
- background-color: $ac-bg-light-gray;
39
+ background-color: $ac-white-lighter;
40
40
  margin-left: -40px !important;
41
41
  padding-left: 80px;
42
42
  }
@@ -66,7 +66,7 @@
66
66
  margin-left: -35px;
67
67
 
68
68
  &:hover {
69
- background: $ac-white;
69
+ background-color: $ac-white;
70
70
  box-shadow: $ac-shadow-1;
71
71
  cursor: move;
72
72
 
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  input[type="text"] {
85
- background: $ac-white-light;
85
+ background-color: $ac-white-light;
86
86
  border: none;
87
87
  font-weight: 500;
88
88
  padding: 4px 5px;
@@ -113,7 +113,7 @@
113
113
 
114
114
  button {
115
115
  border: none;
116
- background: transparent;
116
+ background-color: transparent;
117
117
  display: block;
118
118
  cursor: pointer;
119
119
  padding: 0 5px;
@@ -72,7 +72,7 @@
72
72
  font-size: $font-size-small;
73
73
  padding: 4px 7px;
74
74
  height: 30px;
75
- background: $ac-white;
75
+ background-color: $ac-white;
76
76
  padding-right: 30px;
77
77
 
78
78
  &[type="password"] {
@@ -123,8 +123,10 @@
123
123
 
124
124
  &.show-label {
125
125
  font-size: 12px;
126
+ color: $ac-color-value;
126
127
  top: -9px;
127
128
  font-weight: 500;
129
+ background-color: $ac-white;
128
130
  }
129
131
  }
130
132
 
@@ -166,11 +168,20 @@
166
168
  label {
167
169
  top: 8px;
168
170
  font-size: $font-size-small;
171
+ &.switch-label {
172
+ top: 0;
173
+ }
169
174
 
170
175
  &.show-label {
171
176
  font-size: 12px;
172
177
  top: -9px;
173
178
  font-weight: 500;
179
+ color: $ac-color-value;
180
+ &.is-required{
181
+ &:after{
182
+ width: calc(100% + 10px);
183
+ }
184
+ }
174
185
  }
175
186
  }
176
187
 
@@ -212,6 +223,9 @@
212
223
  label {
213
224
  top: 8px;
214
225
  font-size: $font-size-small;
226
+ &.switch-label {
227
+ top: 0;
228
+ }
215
229
 
216
230
  &.show-label {
217
231
  font-size: 12px;
@@ -236,7 +250,7 @@
236
250
 
237
251
  &.is-dark {
238
252
  input {
239
- background: $ac-bg-dark;
253
+ background-color: $ac-color-heading;
240
254
  border-color: transparent;
241
255
  color: $ac-white;
242
256
 
@@ -257,7 +271,7 @@
257
271
  left: 15px;
258
272
  top: 11px;
259
273
  cursor: text;
260
- color: $ac-border;
274
+ color: $ac-label-text;
261
275
  position: absolute;
262
276
  z-index: 2;
263
277
  transition: 0.3s ease-in-out;
@@ -277,14 +291,14 @@
277
291
  left: 10px;
278
292
  padding: 0 5px;
279
293
  font-size: $font-size-small;
280
- color: $ac-black;
294
+ color: $ac-color-value;
281
295
 
282
296
  &:after {
283
297
  position: absolute;
284
298
  content: "";
285
299
  left: 0;
286
300
  top: 50%;
287
- background: $ac-white;
301
+ background-color: $ac-white;
288
302
  width: 100%;
289
303
  height: 2px;
290
304
  margin-top: -1px;
@@ -301,7 +315,7 @@
301
315
 
302
316
  .button {
303
317
  &.is-information {
304
- background: transparent;
318
+ background-color: transparent;
305
319
  border: none;
306
320
  position: absolute;
307
321
  right: 0;
@@ -312,14 +326,14 @@
312
326
  &:focus {
313
327
  outline: none;
314
328
  box-shadow: none;
315
- background: #e4e8ef;
329
+ background-color: #e4e8ef;
316
330
  transform: scale(0.8);
317
331
  }
318
332
  }
319
333
  }
320
334
 
321
335
  .ac-search-button {
322
- background: transparent;
336
+ background-color: transparent;
323
337
  border: none;
324
338
  position: absolute;
325
339
  left: 0;
@@ -327,13 +341,13 @@
327
341
  width: 35px;
328
342
  height: 100%;
329
343
  margin-top: -22.5px;
330
- color: $ac-border;
344
+ color: $ac-label-text;
331
345
  cursor: pointer;
332
346
  }
333
347
 
334
348
  .ac-dropdown-content {
335
349
  position: absolute;
336
- background: $ac-input-bg-color;
350
+ background-color: $ac-blue-light;
337
351
  width: 100%;
338
352
  height: auto;
339
353
  box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
@@ -350,7 +364,7 @@
350
364
  transition: 0.3s;
351
365
 
352
366
  &:hover {
353
- background: hsla(
367
+ background-color: hsla(
354
368
  var(--hsl-hue),
355
369
  var(--hsl-saturation),
356
370
  var(--hsl-lightness),
@@ -364,25 +378,26 @@
364
378
  }
365
379
 
366
380
  .ac-textarea {
367
- border: 1px solid $ac-border;
368
- border-radius: 4px;
369
- padding: 10px 0 5px 0;
370
- // background-color: $ac-input-bg-color;
371
- transition: background-color 0.3s ease-in-out;
372
-
381
+ .ac-label{
382
+ &.is-required{
383
+ &:after{
384
+ width: calc(100% + 10px);
385
+ }
386
+ }
387
+ }
373
388
  textarea {
374
- border: none;
389
+ border: 1px solid $ac-label-text;
375
390
  background-color: transparent;
376
- padding-top: 0;
377
- padding-bottom: 0;
378
-
391
+ padding: 10px 15px;
392
+ min-height: 50px;
379
393
  &.bg-white {
380
394
  background-color: transparent;
381
395
  }
396
+
382
397
 
383
398
  &:focus {
384
399
  outline: none;
385
- border: none;
400
+ border: 1px solid $ac-primary;
386
401
  }
387
402
  }
388
403
  }
@@ -391,22 +406,25 @@
391
406
  .ac-card,
392
407
  textarea {
393
408
  background-color: $ac-white;
409
+ color: $ac-color-text;
394
410
  height: 45px;
395
411
  font-weight: 400;
396
412
  width: 100%;
397
413
  border-radius: 4px;
398
- border: 1px solid $ac-border;
414
+ border: 1px solid $ac-label-text;
399
415
  padding: 8px 15px;
400
416
  font-size: $font-size-small;
401
417
 
402
418
  &:hover {
403
- border-color: $ac-border-hover;
419
+ border-color: $ac-gray-lightest;
404
420
  }
405
421
 
406
422
  &.bg-white {
407
423
  background-color: $ac-white;
408
424
  }
409
-
425
+ &.StripeElement--focus {
426
+ border: 1px solid $ac-primary;
427
+ }
410
428
  &:focus {
411
429
  border: 1px solid $ac-primary;
412
430
  outline: none;
@@ -443,11 +461,12 @@
443
461
 
444
462
  span.eye {
445
463
  i.fa {
446
- color: $ac-border;
464
+ color: $ac-label-text;
447
465
  position: absolute;
448
466
  cursor: pointer;
449
467
  padding: 15px;
450
468
  right: 0;
469
+ top: 0;
451
470
  }
452
471
  }
453
472
 
@@ -482,7 +501,7 @@
482
501
  top: 10px;
483
502
  z-index: 1;
484
503
  font-size: $font-size-small;
485
- color: $ac-border;
504
+ color: $ac-label-text;
486
505
  font-weight: 400;
487
506
  }
488
507
  }
@@ -502,11 +521,11 @@
502
521
  }
503
522
 
504
523
  label {
505
- background-color: $ac-input-bg-color;
524
+ background-color: transparent;
506
525
  height: 36px;
507
526
  font-weight: 400;
508
527
  border-radius: 4px;
509
- border: 1px solid $ac-border;
528
+ border: 1px solid $ac-label-text;
510
529
  font-size: $font-size-small;
511
530
 
512
531
  .file-cta {
@@ -515,7 +534,7 @@
515
534
  }
516
535
 
517
536
  &:hover {
518
- border-color: $ac-border-hover;
537
+ border-color: $ac-gray-lightest;
519
538
  }
520
539
 
521
540
  &.bg-white {
@@ -531,19 +550,19 @@
531
550
  }
532
551
 
533
552
  input#captcha {
534
- background-color: #ffffff;
553
+ background-color: $ac-white;
535
554
  height: 36px;
536
555
  font-weight: 400;
537
556
  width: 100%;
538
557
  border-radius: 4px;
539
- border: 1px solid #a6abbd;
558
+ border: 1px solid $ac-white-light;
540
559
  padding: 8px 15px;
541
560
  font-size: 13px;
542
561
  transition: background-color 0.3s ease-in-out;
543
562
 
544
563
  &:focus {
545
564
  outline: none;
546
- border-bottom: 1px solid $ac-border;
565
+ border-bottom: 1px solid $ac-label-text;
547
566
  }
548
567
  }
549
568
 
@@ -567,7 +586,7 @@ input#captcha {
567
586
  .is-checkradio[type="checkbox"].ac-checkbox + label::after {
568
587
  top: 6px;
569
588
  left: 6px;
570
- border-color: #54657e;
589
+ border-color: $ac-gray-lightest;
571
590
  width: 0.3rem;
572
591
  height: 0.5rem;
573
592
  }
@@ -577,7 +596,7 @@ input#captcha {
577
596
  }
578
597
 
579
598
  .is-checkradio[type="checkbox"].ac-checkbox + label {
580
- color: $ac-link-black;
599
+ color: $ac-color-text;
581
600
  font-size: 13px !important;
582
601
  padding-left: 25px;
583
602
  user-select: none;
@@ -588,7 +607,7 @@ input#captcha {
588
607
  }
589
608
 
590
609
  .is-checkradio[type="checkbox"].ac-checkbox + label {
591
- color: $ac-link-black;
610
+ color: $ac-color-text;
592
611
  font-size: 13px;
593
612
  padding-left: 25px;
594
613
  user-select: none;
@@ -619,6 +638,7 @@ input#captcha {
619
638
  user-select: none;
620
639
  font-size: 13px;
621
640
  font-weight: 400;
641
+ color: $ac-color-text;
622
642
 
623
643
  &::before {
624
644
  background-color: #cad3df;
@@ -661,6 +681,9 @@ input#captcha {
661
681
  .switch {
662
682
  &[type="checkbox"] + label {
663
683
  padding-top: 3px;
684
+ &::before {
685
+ background-color: $ac-gray-light;
686
+ }
664
687
  }
665
688
 
666
689
  &.ac-switch {
@@ -703,17 +726,17 @@ input#captcha {
703
726
 
704
727
  input {
705
728
  border: none;
706
- background: transparent;
729
+ background-color: transparent;
707
730
  font-size: 18px;
708
731
  font-weight: 400;
709
732
  font-family: $ac-family-heading;
710
- color: #333;
733
+ color: $ac-color-value;
711
734
  width: 100%;
712
735
  padding: 5px 0;
713
736
 
714
737
  &:focus {
715
738
  outline: none;
716
- border-bottom: 1px solid $ac-border;
739
+ border-bottom: 1px solid $ac-label-text;
717
740
  }
718
741
  }
719
742
  }
@@ -762,7 +785,25 @@ input#captcha {
762
785
  }
763
786
  }
764
787
  }
788
+ // dark theme start
789
+ .is-dark-theme {
790
+ .ac-single-input {
791
+ input,
792
+ .file-input,
793
+ .ac-dropdown-content {
794
+ background-color: transparent;
795
+ }
765
796
 
797
+ label {
798
+ color: $ac-label-text;
799
+ }
800
+ .button.is-information:focus{
801
+ background-color: $dark-bg-light;
802
+ }
803
+ }
804
+
805
+ }
806
+ // dark theme end
766
807
  /****************************************
767
808
  Responsive Classes
768
809
  *****************************************/
@@ -15,7 +15,7 @@
15
15
  top: 0;
16
16
  width: 100%;
17
17
  height: 100%;
18
- background: #000;
18
+ background-color: $ac-black;
19
19
  z-index: -1;
20
20
  opacity: 0.5;
21
21
  }
@@ -47,13 +47,13 @@
47
47
 
48
48
  .ac-modal-inner {
49
49
  margin: 0 auto;
50
- background: $ac-white;
50
+ background-color: $ac-white;
51
51
  border-radius: 4px;
52
52
  overflow: hidden;
53
53
  box-shadow: 12px 26px 118px rgba(0, 0, 0, 0.16);
54
54
 
55
55
  .ac-modal-header {
56
- background: $ac-white;
56
+ background-color: $ac-white;
57
57
  padding: 10px 20px;
58
58
  display: flex;
59
59
  align-items: center;
@@ -96,6 +96,7 @@
96
96
  &.is-description {
97
97
  font-family: $ac-family-heading;
98
98
  font-weight: 400;
99
+ color: $ac-color-value;
99
100
 
100
101
  strong {
101
102
  font-weight: 500;
@@ -107,7 +108,7 @@
107
108
  }
108
109
 
109
110
  .ac-modal-footer {
110
- border-top: 1px solid $ac-modal-header-bg;
111
+ border-top: 1px solid $ac-white-light;
111
112
  padding: 10px 20px;
112
113
  }
113
114
  }