@appscode/design-system 1.0.43-alpha.6 → 1.0.43-alpha.63
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.
- package/base/utilities/_default.scss +136 -20
- package/base/utilities/_derived-variables.scss +2 -15
- package/base/utilities/_initial-variables.scss +99 -64
- package/base/utilities/_mixin.scss +90 -10
- package/base/utilities/_typography.scss +20 -7
- package/base/utilities/dark-theme.scss +25 -0
- package/components/_ac-accordion.scss +1 -0
- package/components/_ac-alert-box.scss +45 -10
- package/components/_ac-card.scss +54 -19
- package/components/_ac-code-highlight.scss +6 -0
- package/components/_ac-content-layout.scss +4 -4
- package/components/_ac-drag.scss +6 -6
- package/components/_ac-input.scss +72 -38
- package/components/_ac-modal.scss +5 -4
- package/components/_ac-multi-select.scss +220 -18
- package/components/_ac-options.scss +18 -8
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +40 -33
- package/components/_ac-tabs.scss +64 -23
- package/components/_ac-tags.scss +2 -2
- package/components/_ac-terminal.scss +248 -0
- package/components/_app-drawer.scss +6 -6
- package/components/_breadcumb.scss +7 -2
- package/components/_buttons.scss +78 -32
- package/components/_card-body-wrapper.scss +3 -3
- package/components/_dashboard-header.scss +3 -3
- package/components/_direct-deploy.scss +69 -0
- package/components/_go-to-top.scss +1 -1
- package/components/_image-upload.scss +6 -4
- package/components/_left-sidebar-menu.scss +196 -46
- package/components/_monaco-editor.scss +1 -1
- package/components/_navbar.scss +103 -26
- package/components/_overview-info.scss +4 -4
- package/components/_overview-page.scss +1 -2
- package/components/_pagination.scss +45 -7
- package/components/_payment-card.scss +28 -12
- package/components/_preview-modal.scss +8 -8
- package/components/_pricing-table.scss +1 -1
- package/components/_progress-bar.scss +5 -5
- package/components/_subscription-card.scss +15 -8
- package/components/_table-of-content.scss +1 -1
- package/components/_tfa.scss +69 -0
- package/components/_widget-menu.scss +9 -9
- package/components/_wizard.scss +32 -20
- package/components/ac-toaster/_ac-toasted.scss +40 -8
- package/components/bbum/_card-team.scss +17 -9
- package/components/bbum/_information-center.scss +19 -5
- package/components/bbum/_mobile-desktop.scss +6 -6
- package/components/bbum/_post.scss +5 -4
- package/components/bbum/_sign-up-notification.scss +6 -6
- package/components/bbum/_single-post-preview.scss +9 -9
- package/components/bbum/_user-profile.scss +98 -90
- package/components/ui-builder/_ui-builder.scss +19 -8
- package/layouts/_404.scss +2 -1
- package/layouts/_code-preview.scss +14 -7
- package/main.scss +2 -0
- package/package.json +1 -1
- package/plugins/theme.js +142 -0
- package/plugins/vue-toaster.js +6 -6
- package/vue-components/v2/card/PaymentCards.vue +11 -2
- package/vue-components/v2/editor/Editor.vue +31 -17
- package/vue-components/v2/navbar/Appdrawer.vue +10 -9
- package/vue-components/v2/navbar/ThemeMode.vue +124 -0
- package/vue-components/v2/preloader/Preloader.vue +5 -5
- package/vue-components/v2/table/table-cell/CellValue.vue +10 -1
- package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
- package/vue-components/v3/editor/Editor.vue +33 -19
- package/vue-components/v3/navbar/Appdrawer.vue +12 -7
- package/vue-components/v3/navbar/ThemeMode.vue +118 -0
- package/vue-components/v3/table/table-cell/CellValue.vue +9 -0
package/components/_ac-drag.scss
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.dragable-list-items {
|
|
22
|
-
background: $ac-
|
|
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-
|
|
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-
|
|
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,15 @@
|
|
|
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;
|
|
174
180
|
}
|
|
175
181
|
}
|
|
176
182
|
|
|
@@ -212,6 +218,9 @@
|
|
|
212
218
|
label {
|
|
213
219
|
top: 8px;
|
|
214
220
|
font-size: $font-size-small;
|
|
221
|
+
&.switch-label {
|
|
222
|
+
top: 0;
|
|
223
|
+
}
|
|
215
224
|
|
|
216
225
|
&.show-label {
|
|
217
226
|
font-size: 12px;
|
|
@@ -236,7 +245,7 @@
|
|
|
236
245
|
|
|
237
246
|
&.is-dark {
|
|
238
247
|
input {
|
|
239
|
-
background: $ac-
|
|
248
|
+
background-color: $ac-color-heading;
|
|
240
249
|
border-color: transparent;
|
|
241
250
|
color: $ac-white;
|
|
242
251
|
|
|
@@ -257,7 +266,7 @@
|
|
|
257
266
|
left: 15px;
|
|
258
267
|
top: 11px;
|
|
259
268
|
cursor: text;
|
|
260
|
-
color: $ac-
|
|
269
|
+
color: $ac-label-text;
|
|
261
270
|
position: absolute;
|
|
262
271
|
z-index: 2;
|
|
263
272
|
transition: 0.3s ease-in-out;
|
|
@@ -277,14 +286,14 @@
|
|
|
277
286
|
left: 10px;
|
|
278
287
|
padding: 0 5px;
|
|
279
288
|
font-size: $font-size-small;
|
|
280
|
-
color: $ac-
|
|
289
|
+
color: $ac-color-value;
|
|
281
290
|
|
|
282
291
|
&:after {
|
|
283
292
|
position: absolute;
|
|
284
293
|
content: "";
|
|
285
294
|
left: 0;
|
|
286
295
|
top: 50%;
|
|
287
|
-
background: $ac-white;
|
|
296
|
+
background-color: $ac-white;
|
|
288
297
|
width: 100%;
|
|
289
298
|
height: 2px;
|
|
290
299
|
margin-top: -1px;
|
|
@@ -301,7 +310,7 @@
|
|
|
301
310
|
|
|
302
311
|
.button {
|
|
303
312
|
&.is-information {
|
|
304
|
-
background: transparent;
|
|
313
|
+
background-color: transparent;
|
|
305
314
|
border: none;
|
|
306
315
|
position: absolute;
|
|
307
316
|
right: 0;
|
|
@@ -312,14 +321,14 @@
|
|
|
312
321
|
&:focus {
|
|
313
322
|
outline: none;
|
|
314
323
|
box-shadow: none;
|
|
315
|
-
background: #e4e8ef;
|
|
324
|
+
background-color: #e4e8ef;
|
|
316
325
|
transform: scale(0.8);
|
|
317
326
|
}
|
|
318
327
|
}
|
|
319
328
|
}
|
|
320
329
|
|
|
321
330
|
.ac-search-button {
|
|
322
|
-
background: transparent;
|
|
331
|
+
background-color: transparent;
|
|
323
332
|
border: none;
|
|
324
333
|
position: absolute;
|
|
325
334
|
left: 0;
|
|
@@ -327,13 +336,13 @@
|
|
|
327
336
|
width: 35px;
|
|
328
337
|
height: 100%;
|
|
329
338
|
margin-top: -22.5px;
|
|
330
|
-
color: $ac-
|
|
339
|
+
color: $ac-label-text;
|
|
331
340
|
cursor: pointer;
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
.ac-dropdown-content {
|
|
335
344
|
position: absolute;
|
|
336
|
-
background: $ac-
|
|
345
|
+
background-color: $ac-blue-light;
|
|
337
346
|
width: 100%;
|
|
338
347
|
height: auto;
|
|
339
348
|
box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
|
|
@@ -350,7 +359,12 @@
|
|
|
350
359
|
transition: 0.3s;
|
|
351
360
|
|
|
352
361
|
&:hover {
|
|
353
|
-
background
|
|
362
|
+
background-color: hsla(
|
|
363
|
+
var(--hsl-hue),
|
|
364
|
+
var(--hsl-saturation),
|
|
365
|
+
var(--hsl-lightness),
|
|
366
|
+
0.2
|
|
367
|
+
);
|
|
354
368
|
color: $ac-primary;
|
|
355
369
|
}
|
|
356
370
|
}
|
|
@@ -359,25 +373,24 @@
|
|
|
359
373
|
}
|
|
360
374
|
|
|
361
375
|
.ac-textarea {
|
|
362
|
-
border: 1px solid $ac-
|
|
363
|
-
border-radius: 4px;
|
|
364
|
-
padding: 10px 0 5px 0;
|
|
365
|
-
// background-color: $ac-
|
|
366
|
-
transition: background-color 0.3s ease-in-out;
|
|
376
|
+
// border: 1px solid $ac-label-text;
|
|
377
|
+
// border-radius: 4px;
|
|
378
|
+
// padding: 10px 0 5px 0;
|
|
379
|
+
// // background-color: $ac-blue-light;
|
|
380
|
+
// transition: background-color 0.3s ease-in-out;
|
|
367
381
|
|
|
368
382
|
textarea {
|
|
369
|
-
border:
|
|
383
|
+
border: 1px solid $ac-label-text;
|
|
370
384
|
background-color: transparent;
|
|
371
|
-
padding
|
|
372
|
-
|
|
373
|
-
|
|
385
|
+
padding: 10px 15px;
|
|
386
|
+
min-height: 50px;
|
|
374
387
|
&.bg-white {
|
|
375
388
|
background-color: transparent;
|
|
376
389
|
}
|
|
377
390
|
|
|
378
391
|
&:focus {
|
|
379
392
|
outline: none;
|
|
380
|
-
border:
|
|
393
|
+
border: 1px solid $ac-primary;
|
|
381
394
|
}
|
|
382
395
|
}
|
|
383
396
|
}
|
|
@@ -386,22 +399,25 @@
|
|
|
386
399
|
.ac-card,
|
|
387
400
|
textarea {
|
|
388
401
|
background-color: $ac-white;
|
|
402
|
+
color: $ac-color-text;
|
|
389
403
|
height: 45px;
|
|
390
404
|
font-weight: 400;
|
|
391
405
|
width: 100%;
|
|
392
406
|
border-radius: 4px;
|
|
393
|
-
border: 1px solid $ac-
|
|
407
|
+
border: 1px solid $ac-label-text;
|
|
394
408
|
padding: 8px 15px;
|
|
395
409
|
font-size: $font-size-small;
|
|
396
410
|
|
|
397
411
|
&:hover {
|
|
398
|
-
border-color: $ac-
|
|
412
|
+
border-color: $ac-gray-lightest;
|
|
399
413
|
}
|
|
400
414
|
|
|
401
415
|
&.bg-white {
|
|
402
416
|
background-color: $ac-white;
|
|
403
417
|
}
|
|
404
|
-
|
|
418
|
+
&.StripeElement--focus {
|
|
419
|
+
border: 1px solid $ac-primary;
|
|
420
|
+
}
|
|
405
421
|
&:focus {
|
|
406
422
|
border: 1px solid $ac-primary;
|
|
407
423
|
outline: none;
|
|
@@ -438,7 +454,7 @@
|
|
|
438
454
|
|
|
439
455
|
span.eye {
|
|
440
456
|
i.fa {
|
|
441
|
-
color: $ac-
|
|
457
|
+
color: $ac-label-text;
|
|
442
458
|
position: absolute;
|
|
443
459
|
cursor: pointer;
|
|
444
460
|
padding: 15px;
|
|
@@ -477,7 +493,7 @@
|
|
|
477
493
|
top: 10px;
|
|
478
494
|
z-index: 1;
|
|
479
495
|
font-size: $font-size-small;
|
|
480
|
-
color: $ac-
|
|
496
|
+
color: $ac-label-text;
|
|
481
497
|
font-weight: 400;
|
|
482
498
|
}
|
|
483
499
|
}
|
|
@@ -497,11 +513,11 @@
|
|
|
497
513
|
}
|
|
498
514
|
|
|
499
515
|
label {
|
|
500
|
-
background-color:
|
|
516
|
+
background-color: transparent;
|
|
501
517
|
height: 36px;
|
|
502
518
|
font-weight: 400;
|
|
503
519
|
border-radius: 4px;
|
|
504
|
-
border: 1px solid $ac-
|
|
520
|
+
border: 1px solid $ac-label-text;
|
|
505
521
|
font-size: $font-size-small;
|
|
506
522
|
|
|
507
523
|
.file-cta {
|
|
@@ -510,7 +526,7 @@
|
|
|
510
526
|
}
|
|
511
527
|
|
|
512
528
|
&:hover {
|
|
513
|
-
border-color: $ac-
|
|
529
|
+
border-color: $ac-gray-lightest;
|
|
514
530
|
}
|
|
515
531
|
|
|
516
532
|
&.bg-white {
|
|
@@ -526,19 +542,19 @@
|
|
|
526
542
|
}
|
|
527
543
|
|
|
528
544
|
input#captcha {
|
|
529
|
-
background-color:
|
|
545
|
+
background-color: $ac-white;
|
|
530
546
|
height: 36px;
|
|
531
547
|
font-weight: 400;
|
|
532
548
|
width: 100%;
|
|
533
549
|
border-radius: 4px;
|
|
534
|
-
border: 1px solid
|
|
550
|
+
border: 1px solid $ac-white-light;
|
|
535
551
|
padding: 8px 15px;
|
|
536
552
|
font-size: 13px;
|
|
537
553
|
transition: background-color 0.3s ease-in-out;
|
|
538
554
|
|
|
539
555
|
&:focus {
|
|
540
556
|
outline: none;
|
|
541
|
-
border-bottom: 1px solid $ac-
|
|
557
|
+
border-bottom: 1px solid $ac-label-text;
|
|
542
558
|
}
|
|
543
559
|
}
|
|
544
560
|
|
|
@@ -562,7 +578,7 @@ input#captcha {
|
|
|
562
578
|
.is-checkradio[type="checkbox"].ac-checkbox + label::after {
|
|
563
579
|
top: 6px;
|
|
564
580
|
left: 6px;
|
|
565
|
-
border-color:
|
|
581
|
+
border-color: $ac-gray-lightest;
|
|
566
582
|
width: 0.3rem;
|
|
567
583
|
height: 0.5rem;
|
|
568
584
|
}
|
|
@@ -572,7 +588,7 @@ input#captcha {
|
|
|
572
588
|
}
|
|
573
589
|
|
|
574
590
|
.is-checkradio[type="checkbox"].ac-checkbox + label {
|
|
575
|
-
color: $ac-
|
|
591
|
+
color: $ac-color-text;
|
|
576
592
|
font-size: 13px !important;
|
|
577
593
|
padding-left: 25px;
|
|
578
594
|
user-select: none;
|
|
@@ -583,7 +599,7 @@ input#captcha {
|
|
|
583
599
|
}
|
|
584
600
|
|
|
585
601
|
.is-checkradio[type="checkbox"].ac-checkbox + label {
|
|
586
|
-
color: $ac-
|
|
602
|
+
color: $ac-color-text;
|
|
587
603
|
font-size: 13px;
|
|
588
604
|
padding-left: 25px;
|
|
589
605
|
user-select: none;
|
|
@@ -614,6 +630,7 @@ input#captcha {
|
|
|
614
630
|
user-select: none;
|
|
615
631
|
font-size: 13px;
|
|
616
632
|
font-weight: 400;
|
|
633
|
+
color: $ac-color-text;
|
|
617
634
|
|
|
618
635
|
&::before {
|
|
619
636
|
background-color: #cad3df;
|
|
@@ -656,6 +673,9 @@ input#captcha {
|
|
|
656
673
|
.switch {
|
|
657
674
|
&[type="checkbox"] + label {
|
|
658
675
|
padding-top: 3px;
|
|
676
|
+
&::before {
|
|
677
|
+
background-color: $ac-gray-light;
|
|
678
|
+
}
|
|
659
679
|
}
|
|
660
680
|
|
|
661
681
|
&.ac-switch {
|
|
@@ -698,17 +718,17 @@ input#captcha {
|
|
|
698
718
|
|
|
699
719
|
input {
|
|
700
720
|
border: none;
|
|
701
|
-
background: transparent;
|
|
721
|
+
background-color: transparent;
|
|
702
722
|
font-size: 18px;
|
|
703
723
|
font-weight: 400;
|
|
704
724
|
font-family: $ac-family-heading;
|
|
705
|
-
color:
|
|
725
|
+
color: $ac-color-value;
|
|
706
726
|
width: 100%;
|
|
707
727
|
padding: 5px 0;
|
|
708
728
|
|
|
709
729
|
&:focus {
|
|
710
730
|
outline: none;
|
|
711
|
-
border-bottom: 1px solid $ac-
|
|
731
|
+
border-bottom: 1px solid $ac-label-text;
|
|
712
732
|
}
|
|
713
733
|
}
|
|
714
734
|
}
|
|
@@ -757,7 +777,21 @@ input#captcha {
|
|
|
757
777
|
}
|
|
758
778
|
}
|
|
759
779
|
}
|
|
780
|
+
// dark theme start
|
|
781
|
+
.is-dark-theme {
|
|
782
|
+
.ac-single-input {
|
|
783
|
+
input,
|
|
784
|
+
.file-input,
|
|
785
|
+
.ac-dropdown-content {
|
|
786
|
+
background-color: transparent;
|
|
787
|
+
}
|
|
760
788
|
|
|
789
|
+
label {
|
|
790
|
+
color: $ac-label-text;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
// dark theme end
|
|
761
795
|
/****************************************
|
|
762
796
|
Responsive Classes
|
|
763
797
|
*****************************************/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
top: 0;
|
|
16
16
|
width: 100%;
|
|
17
17
|
height: 100%;
|
|
18
|
-
background:
|
|
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-
|
|
111
|
+
border-top: 1px solid $ac-white-light;
|
|
111
112
|
padding: 10px 20px;
|
|
112
113
|
}
|
|
113
114
|
}
|