@tabler/core 1.0.0-beta23 → 1.0.0-beta24
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/LICENSE +1 -1
- package/dist/css/demo.css +2 -2
- package/dist/css/demo.min.css +2 -2
- package/dist/css/demo.rtl.css +2 -2
- package/dist/css/demo.rtl.min.css +2 -2
- package/dist/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.css +4751 -0
- package/dist/css/tabler-marketing.min.css +9 -0
- package/dist/css/tabler-marketing.rtl.css +4751 -0
- package/dist/css/tabler-marketing.rtl.min.css +9 -0
- package/dist/css/tabler-payments.css +2 -2
- package/dist/css/tabler-payments.min.css +2 -2
- package/dist/css/tabler-payments.rtl.css +2 -2
- package/dist/css/tabler-payments.rtl.min.css +2 -2
- package/dist/css/tabler-socials.css +2 -2
- package/dist/css/tabler-socials.min.css +2 -2
- package/dist/css/tabler-socials.rtl.css +2 -2
- package/dist/css/tabler-socials.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.css +23 -18
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +23 -18
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +1296 -1505
- package/dist/css/tabler.min.css +4 -4
- package/dist/css/tabler.rtl.css +1296 -1505
- package/dist/css/tabler.rtl.min.css +4 -4
- package/dist/js/demo-theme.js +2 -2
- package/dist/js/demo-theme.min.js +2 -2
- package/dist/js/demo.js +2 -2
- package/dist/js/demo.min.js +2 -2
- package/dist/js/tabler.esm.js +2 -2
- package/dist/js/tabler.esm.min.js +2 -2
- package/dist/js/tabler.js +2 -2
- package/dist/js/tabler.min.js +2 -2
- package/docs/illustrations/introduction/contents.mdx +77 -0
- package/docs/illustrations/introduction/customization.mdx +0 -11
- package/docs/illustrations/introduction/license.mdx +22 -0
- package/docs/ui/components/alerts.mdx +38 -114
- package/docs/ui/components/badges.mdx +57 -75
- package/docs/ui/components/charts.mdx +13 -23
- package/docs/ui/components/countup.mdx +73 -43
- package/docs/ui/components/dropzone.mdx +37 -6
- package/docs/ui/components/icons.mdx +49 -11
- package/docs/ui/components/inline-player.mdx +28 -2
- package/docs/ui/components/modals.mdx +40 -10
- package/docs/ui/components/offcanvas.mdx +55 -0
- package/docs/ui/components/placeholder.mdx +16 -17
- package/docs/ui/components/range-slider.mdx +0 -1
- package/docs/ui/components/statuses.mdx +12 -0
- package/docs/ui/components/steps.mdx +59 -17
- package/docs/ui/components/tinymce.mdx +0 -1
- package/docs/ui/components/vector-maps.mdx +170 -0
- package/docs/ui/forms/form-elements.mdx +0 -1
- package/docs/ui/getting-started/browser-support.mdx +8 -2
- package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
- package/docs/ui/getting-started/installation.mdx +67 -0
- package/docs/ui/getting-started/license.mdx +30 -0
- package/docs/ui/layout/navbars.mdx +106 -0
- package/docs/ui/layout/navs-tabls.mdx +187 -0
- package/docs/ui/layout/page-layouts.mdx +8 -5
- package/docs/ui/utilities/borders.mdx +67 -48
- package/docs/ui/utilities/cursors.mdx +20 -50
- package/docs/ui/utilities/interactions.mdx +2 -2
- package/docs/ui/utilities/margins.mdx +234 -0
- package/docs/ui/utilities/vertical-align.mdx +66 -0
- package/docs/ui/utilities/visually-hidden.mdx +12 -0
- package/package.json +7 -5
- package/src/scss/_utilities-marketing.scss +209 -0
- package/src/scss/_utilities.scss +5 -9
- package/src/scss/_variables-marketing.scss +0 -0
- package/src/scss/_variables.scss +55 -18
- package/src/scss/layout/_animations.scss +2 -1
- package/src/scss/layout/_navbar.scss +0 -1
- package/src/scss/marketing/_browser.scss +67 -0
- package/src/scss/marketing/_core.scss +8 -0
- package/src/scss/marketing/_filters.scss +0 -0
- package/src/scss/marketing/_hero.scss +69 -0
- package/src/scss/marketing/_pricing.scss +111 -0
- package/src/scss/marketing/_sections.scss +124 -0
- package/src/scss/marketing/_shape.scss +31 -0
- package/src/scss/mixins/_mixins.scss +2 -2
- package/src/scss/tabler-marketing.scss +13 -0
- package/src/scss/tabler-vendors.scss +1 -0
- package/src/scss/ui/_buttons.scss +7 -7
- package/src/scss/ui/_images.scss +4 -0
- package/src/scss/ui/_lists.scss +11 -15
- package/src/scss/utils/_colors.scss +1 -1
- package/src/scss/vendor/_dropzone.scss +3 -3
- package/src/scss/vendor/_typed.scss +4 -0
- package/docs/ui/getting-started/development.mdx +0 -32
package/src/scss/_variables.scss
CHANGED
|
@@ -7,7 +7,7 @@ $enable-gradients: false !default;
|
|
|
7
7
|
$enable-shadows: true !default;
|
|
8
8
|
$enable-navbar-vertical: true !default;
|
|
9
9
|
$enable-dark-mode: true !default;
|
|
10
|
-
$enable-negative-margins:
|
|
10
|
+
$enable-negative-margins: true !default;
|
|
11
11
|
$enable-rfs: false !default;
|
|
12
12
|
$enable-cssgrid: true !default;
|
|
13
13
|
|
|
@@ -52,22 +52,29 @@ $line-height-600: 2.5rem !default;
|
|
|
52
52
|
$line-height-700: 3rem !default;
|
|
53
53
|
|
|
54
54
|
$font-size-base: 0.875rem !default;
|
|
55
|
+
|
|
56
|
+
$spacing-wide: .04em !default;
|
|
57
|
+
$spacing-normal: 0 !default;
|
|
58
|
+
$spacing-tight: -.04em !default;
|
|
59
|
+
|
|
55
60
|
$body-letter-spacing: 0 !default;
|
|
56
61
|
|
|
57
62
|
$font-weight-light: 300 !default;
|
|
58
63
|
$font-weight-normal: 400 !default;
|
|
59
64
|
$font-weight-medium: 500 !default;
|
|
60
65
|
$font-weight-bold: 600 !default;
|
|
66
|
+
$font-weight-black: 700 !default;
|
|
61
67
|
|
|
62
68
|
$headings-font-weight: var(--#{$prefix}font-weight-bold) !default;
|
|
63
69
|
$headings-margin-bottom: var(--#{$prefix}spacer) !default;
|
|
64
70
|
|
|
65
71
|
$font-weights: (
|
|
66
|
-
light: $font-weight-light,
|
|
67
|
-
normal: $font-weight-normal,
|
|
68
|
-
medium: $font-weight-medium,
|
|
69
|
-
bold: $font-weight-bold,
|
|
70
|
-
|
|
72
|
+
'light': $font-weight-light,
|
|
73
|
+
'normal': $font-weight-normal,
|
|
74
|
+
'medium': $font-weight-medium,
|
|
75
|
+
'bold': $font-weight-bold,
|
|
76
|
+
'black': $font-weight-black,
|
|
77
|
+
'headings': $headings-font-weight,
|
|
71
78
|
) !default;
|
|
72
79
|
|
|
73
80
|
$line-height-base: divide(1.25rem, $font-size-base) !default;
|
|
@@ -293,6 +300,12 @@ $border-radius: 4px !default;
|
|
|
293
300
|
$border-radius-lg: 8px !default;
|
|
294
301
|
$border-radius-pill: 100rem !default;
|
|
295
302
|
|
|
303
|
+
$border-values: (
|
|
304
|
+
null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) $border-color-translucent,
|
|
305
|
+
wide: $border-width-wide var(--#{$prefix}border-style) $border-color-translucent,
|
|
306
|
+
0: 0,
|
|
307
|
+
);
|
|
308
|
+
|
|
296
309
|
// Icons
|
|
297
310
|
$icon-color: var(--#{$prefix}gray-400) !default;
|
|
298
311
|
|
|
@@ -331,13 +344,13 @@ $avatar-sizes: (
|
|
|
331
344
|
"xs": (
|
|
332
345
|
size: 1.25rem,
|
|
333
346
|
font-size: $h6-font-size,
|
|
334
|
-
icon-size:
|
|
347
|
+
icon-size: .75rem,
|
|
335
348
|
status-size: .375rem
|
|
336
349
|
),
|
|
337
350
|
"sm": (
|
|
338
351
|
size: 2rem,
|
|
339
352
|
font-size: $h5-font-size,
|
|
340
|
-
icon-size: 1.
|
|
353
|
+
icon-size: 1.5rem,
|
|
341
354
|
status-size: .5rem
|
|
342
355
|
),
|
|
343
356
|
"md": (
|
|
@@ -396,7 +409,7 @@ $grid-gutter-width: 1rem !default;
|
|
|
396
409
|
$container-variations: (
|
|
397
410
|
slim: 16rem,
|
|
398
411
|
tight: 30rem,
|
|
399
|
-
narrow:
|
|
412
|
+
narrow: 61.875rem,
|
|
400
413
|
) !default;
|
|
401
414
|
|
|
402
415
|
// Spacers
|
|
@@ -406,9 +419,14 @@ $spacer-2: 0.5rem !default;
|
|
|
406
419
|
$spacer-3: 1rem !default;
|
|
407
420
|
$spacer-4: 1.5rem !default;
|
|
408
421
|
$spacer-5: 2rem !default;
|
|
409
|
-
$spacer-6:
|
|
410
|
-
|
|
411
|
-
$spacer-
|
|
422
|
+
$spacer-6: 2.5rem !default;
|
|
423
|
+
|
|
424
|
+
$spacer-7: 3rem !default;
|
|
425
|
+
$spacer-8: 4rem !default;
|
|
426
|
+
$spacer-9: 5rem !default;
|
|
427
|
+
$spacer-10: 6rem !default;
|
|
428
|
+
$spacer-11: 7rem !default;
|
|
429
|
+
$spacer-12: 8rem !default;
|
|
412
430
|
|
|
413
431
|
$spacer: $spacer-3 !default;
|
|
414
432
|
|
|
@@ -420,11 +438,18 @@ $spacers: (
|
|
|
420
438
|
4: $spacer-4,
|
|
421
439
|
5: $spacer-5,
|
|
422
440
|
6: $spacer-6,
|
|
441
|
+
) !default;
|
|
442
|
+
|
|
443
|
+
$spacers-extra: (
|
|
423
444
|
7: $spacer-7,
|
|
424
445
|
8: $spacer-8,
|
|
446
|
+
9: $spacer-9,
|
|
447
|
+
10: $spacer-10,
|
|
448
|
+
11: $spacer-11,
|
|
449
|
+
12: $spacer-12,
|
|
425
450
|
) !default;
|
|
426
451
|
|
|
427
|
-
$negative-spacers:
|
|
452
|
+
$negative-spacers: null !default;
|
|
428
453
|
|
|
429
454
|
// Sizes
|
|
430
455
|
$size-spacers: (
|
|
@@ -453,6 +478,8 @@ $aspect-ratios: (
|
|
|
453
478
|
"1x2": calc(2 / 1 * 100%),
|
|
454
479
|
"3x1": calc(1 / 3 * 100%),
|
|
455
480
|
"1x3": calc(3 / 1 * 100%),
|
|
481
|
+
"4x1": calc(1 / 4 * 100%),
|
|
482
|
+
"1x4": calc(4 / 1 * 100%),
|
|
456
483
|
"4x3": calc(3 / 4 * 100%),
|
|
457
484
|
"3x4": calc(4 / 3 * 100%),
|
|
458
485
|
"16x9": calc(9 / 16 * 100%),
|
|
@@ -541,15 +568,20 @@ $badge-bg-color: var(--#{$prefix}bg-surface-secondary) !default;
|
|
|
541
568
|
$input-btn-line-height: $line-height-base !default;
|
|
542
569
|
$input-btn-font-size: $font-size-base !default;
|
|
543
570
|
$input-btn-font-family: var(--#{$prefix}font-sans-serif) !default;
|
|
544
|
-
$input-btn-padding-y: 0.
|
|
571
|
+
$input-btn-padding-y: 0.5rem - 0.0625rem !default;
|
|
572
|
+
$input-btn-icon-size: $icon-size !default;
|
|
545
573
|
|
|
546
574
|
$input-btn-font-size-sm: $h5-font-size !default;
|
|
547
575
|
$input-btn-padding-x-sm: 0.25rem !default;
|
|
548
|
-
$input-btn-padding-y-sm: 0.125rem !default;
|
|
576
|
+
$input-btn-padding-y-sm: 0.125rem - 0.0625rem !default;
|
|
577
|
+
$input-btn-line-height-sm: 1rem !default;
|
|
578
|
+
$input-btn-icon-size-sm: 1rem !default;
|
|
549
579
|
|
|
550
580
|
$input-btn-font-size-lg: $h2-font-size !default;
|
|
551
|
-
$input-btn-padding-x-lg:
|
|
552
|
-
$input-btn-padding-y-lg: 0.
|
|
581
|
+
$input-btn-padding-x-lg: 1.5rem !default;
|
|
582
|
+
$input-btn-padding-y-lg: 0.75rem - 0.0625rem !default;
|
|
583
|
+
$input-btn-line-height-lg: 2rem !default;
|
|
584
|
+
$input-btn-icon-size-lg: 2rem !default;
|
|
553
585
|
|
|
554
586
|
$input-btn-focus-width: 0.25rem !default;
|
|
555
587
|
|
|
@@ -563,7 +595,10 @@ $input-focus-color: var(--#{$prefix}body-color) !default;
|
|
|
563
595
|
$input-box-shadow: var(--#{$prefix}box-shadow-input) !default;
|
|
564
596
|
|
|
565
597
|
// Buttons
|
|
566
|
-
$btn-
|
|
598
|
+
$btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
599
|
+
$btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
|
600
|
+
|
|
601
|
+
$btn-disabled-opacity: .4 !default;
|
|
567
602
|
$btn-padding-x: 1rem !default;
|
|
568
603
|
$btn-font-weight: var(--#{$prefix}font-weight-medium) !default;
|
|
569
604
|
$btn-border-color: var(--#{$prefix}border-color) !default;
|
|
@@ -720,6 +755,7 @@ $nav-tabs-bg: var(--#{$prefix}bg-surface-tertiary) !default;
|
|
|
720
755
|
// Navbar
|
|
721
756
|
$navbar-height: 3.5rem !default;
|
|
722
757
|
$navbar-padding-y: 0.25rem !default;
|
|
758
|
+
$navbar-light-color: var(--#{$prefix}muted) !default;
|
|
723
759
|
|
|
724
760
|
$navbar-hover-color: $white !default;
|
|
725
761
|
|
|
@@ -729,6 +765,7 @@ $navbar-border-color: var(--#{$prefix}border-color) !default;
|
|
|
729
765
|
$navbar-light-color: var(--#{$prefix}body-color) !default;
|
|
730
766
|
$navbar-light-brand-color: var(--#{$prefix}body-color) !default;
|
|
731
767
|
$navbar-light-active-color: var(--#{$prefix}body-color) color !default;
|
|
768
|
+
$navbar-light-hover-color: var(--#{$prefix}body-color) color !default;
|
|
732
769
|
$navbar-light-disabled-color: var(--#{$prefix}disabled-color) !default;
|
|
733
770
|
$navbar-light-active-bg: rgba(0, 0, 0, 0.2) !default;
|
|
734
771
|
|
|
@@ -82,7 +82,6 @@ Navbar
|
|
|
82
82
|
--#{$prefix}navbar-border-width: #{$navbar-border-width};
|
|
83
83
|
--#{$prefix}navbar-active-border-color: #{$navbar-active-border-color};
|
|
84
84
|
--#{$prefix}navbar-active-bg: #{$navbar-light-active-bg};
|
|
85
|
-
--#{$prefix}navbar-color: var(--#{$prefix}body-color);
|
|
86
85
|
--#{$prefix}navbar-border-color: #{$navbar-border-color};
|
|
87
86
|
align-items: stretch;
|
|
88
87
|
min-height: $navbar-height;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Browser
|
|
3
|
+
//
|
|
4
|
+
.browser {
|
|
5
|
+
border-radius: var(--#{$prefix}border-radius-lg);
|
|
6
|
+
box-shadow: 0 0 0 1px var(--#{$prefix}border-color);
|
|
7
|
+
background: var(--#{$prefix}bg-surface-secondary);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.browser-header {
|
|
12
|
+
padding: .25rem 1rem;
|
|
13
|
+
background: var(--#{$prefix}border-color-light) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .03));
|
|
14
|
+
border-bottom: 1px solid var(--#{$prefix}border-color);
|
|
15
|
+
border-radius: calc(var(--#{$prefix}border-radius-lg) - 1px) calc(var(--#{$prefix}border-radius-lg) - 1px) 0 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.browser-dots {
|
|
19
|
+
margin-right: 3rem;
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.browser-dots-colored {
|
|
24
|
+
.browser-dot {
|
|
25
|
+
&:nth-child(1) {
|
|
26
|
+
background: #fb6058;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:nth-child(2) {
|
|
30
|
+
background: #fcbe3b;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:nth-child(3) {
|
|
34
|
+
background: #2ccb4c;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.browser-dot {
|
|
40
|
+
margin-right: .5rem;
|
|
41
|
+
width: .75rem;
|
|
42
|
+
min-width: .75rem;
|
|
43
|
+
height: .75rem;
|
|
44
|
+
background: var(--#{$prefix}border-color);
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
border: 1px solid var(--#{$prefix}border-color-dark);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.browser-input {
|
|
50
|
+
flex: 1;
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
padding: .25rem;
|
|
56
|
+
color: var(--#{$prefix}muted);
|
|
57
|
+
font-size: var(--#{$prefix}font-size-h5);
|
|
58
|
+
border-radius: var(--#{$prefix}border-radius);
|
|
59
|
+
line-height: 1;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
62
|
+
background-image: linear-gradient(to bottom, var(--#{$prefix}bg-surface), var(--#{$prefix}bg-surface-secondary));
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
.body-marketing {
|
|
2
|
+
--#{$prefix}body-font-size: 1rem;
|
|
3
|
+
--#{$prefix}body-line-height: 1.75;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.body-gradient {
|
|
7
|
+
background: var(--tblr-bg-surface) linear-gradient(to bottom, var(--tblr-bg-surface-secondary) 12%, var(--tblr-bg-surface) 99%) repeat-x top center/100% 100vh;
|
|
8
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Hero
|
|
3
|
+
//
|
|
4
|
+
.hero {
|
|
5
|
+
text-align: center;
|
|
6
|
+
padding: 6.5rem 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.hero-title {
|
|
10
|
+
font-size: 3rem;
|
|
11
|
+
font-weight: var(--#{$prefix}font-weight-black);
|
|
12
|
+
letter-spacing: $spacing-tight;
|
|
13
|
+
line-height: $headings-line-height;
|
|
14
|
+
|
|
15
|
+
@include media-breakpoint-down(md) {
|
|
16
|
+
font-size: 2rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.hero-description {
|
|
21
|
+
color: var(--#{$prefix}muted);
|
|
22
|
+
font-size: var(--#{$prefix}font-size-h2);
|
|
23
|
+
line-height: 1.5;
|
|
24
|
+
margin: 0 auto;
|
|
25
|
+
max-width: 45rem;
|
|
26
|
+
|
|
27
|
+
@include media-breakpoint-down(sm) {
|
|
28
|
+
font-size: var(--#{$prefix}font-size-h3);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.hero-description-wide {
|
|
33
|
+
max-width: 61.875rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//
|
|
37
|
+
// Hero subheader
|
|
38
|
+
//
|
|
39
|
+
.hero-subheader {
|
|
40
|
+
@include subheader;
|
|
41
|
+
margin-bottom: 0.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hero-img {
|
|
45
|
+
margin: 4rem auto;
|
|
46
|
+
max-width: 65rem;
|
|
47
|
+
border-radius: $border-radius-lg;
|
|
48
|
+
position: relative;
|
|
49
|
+
z-index: 1;
|
|
50
|
+
//box-shadow: 0 10px 15px -3px rgba($color-text, 0.1),
|
|
51
|
+
// 0 4px 6px -2px rgba($color-text, 0.05);
|
|
52
|
+
|
|
53
|
+
img,
|
|
54
|
+
svg {
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
height: auto;
|
|
57
|
+
display: block;
|
|
58
|
+
position: relative;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//
|
|
62
|
+
//.hero-img-side {
|
|
63
|
+
// img,
|
|
64
|
+
// svg {
|
|
65
|
+
// max-width: 100%;
|
|
66
|
+
// height: auto;
|
|
67
|
+
// display: block;
|
|
68
|
+
// }
|
|
69
|
+
//}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
$pricing-card-width: 22rem;
|
|
2
|
+
|
|
3
|
+
.pricing {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
|
|
9
|
+
@include media-breakpoint-up(md) {
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pricing-card {
|
|
15
|
+
flex: 1;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
background: $white;
|
|
19
|
+
border: 1px solid $border-color;
|
|
20
|
+
padding: 2rem;
|
|
21
|
+
margin: 0 0 1rem;
|
|
22
|
+
position: relative;
|
|
23
|
+
box-shadow: $box-shadow-card;
|
|
24
|
+
text-align: center;
|
|
25
|
+
border-radius: $border-radius-lg;
|
|
26
|
+
|
|
27
|
+
@include media-breakpoint-up(md) {
|
|
28
|
+
margin: 1rem -1px;
|
|
29
|
+
max-width: $pricing-card-width;
|
|
30
|
+
|
|
31
|
+
&:first-child {
|
|
32
|
+
border-radius: $border-radius-lg 0 0 $border-radius-lg;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:last-child {
|
|
36
|
+
border-radius: 0 $border-radius-lg $border-radius-lg 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.featured {
|
|
41
|
+
z-index: 1;
|
|
42
|
+
border: 2px solid $primary;
|
|
43
|
+
order: -1;
|
|
44
|
+
|
|
45
|
+
@include media-breakpoint-up(md) {
|
|
46
|
+
order: unset;
|
|
47
|
+
margin-top: 0;
|
|
48
|
+
margin-bottom: 0;
|
|
49
|
+
box-shadow: $box-shadow-card;
|
|
50
|
+
border-radius: $border-radius-lg;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.pricing-title {
|
|
56
|
+
font-size: $h2-font-size;
|
|
57
|
+
line-height: $h2-line-height;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pricing-label {
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
transform: translateY(-50%);
|
|
65
|
+
vertical-align: bottom;
|
|
66
|
+
right: 0;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.pricing-btn {
|
|
73
|
+
margin-top: auto;
|
|
74
|
+
padding-top: 2rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.pricing-price {
|
|
78
|
+
display: flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
font-size: 2.5rem;
|
|
81
|
+
line-height: 1;
|
|
82
|
+
font-weight: $font-weight-black;
|
|
83
|
+
margin: 0.75rem 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pricing-price-currency {
|
|
87
|
+
font-size: $h2-font-size;
|
|
88
|
+
line-height: 1.5;
|
|
89
|
+
margin-right: 0.25rem;
|
|
90
|
+
font-weight: $font-weight-bold;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.pricing-price-description {
|
|
94
|
+
font-size: $h4-font-size;
|
|
95
|
+
line-height: $h4-line-height;
|
|
96
|
+
font-weight: $font-weight-normal;
|
|
97
|
+
color: $text-secondary;
|
|
98
|
+
align-self: center;
|
|
99
|
+
margin-left: 0.5rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.pricing-features {
|
|
103
|
+
margin: 1rem 0 0;
|
|
104
|
+
padding: 0;
|
|
105
|
+
list-style: none;
|
|
106
|
+
text-align: left;
|
|
107
|
+
|
|
108
|
+
> li:not(:first-child) {
|
|
109
|
+
margin-top: 0.25rem;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
@keyframes move-forever1 {
|
|
2
|
+
0% {
|
|
3
|
+
transform: translate(85px, 0%);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
100% {
|
|
7
|
+
transform: translate(-90px, 0%);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@keyframes move-forever2 {
|
|
12
|
+
0% {
|
|
13
|
+
transform: translate(-90px, 0%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
100% {
|
|
17
|
+
transform: translate(85px, 0%);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@keyframes move-forever3 {
|
|
22
|
+
0% {
|
|
23
|
+
transform: translate(-90px, 0%);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
100% {
|
|
27
|
+
transform: translate(85px, 0%);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//
|
|
32
|
+
// Sections
|
|
33
|
+
//
|
|
34
|
+
.section {
|
|
35
|
+
--section-bg: transparent;
|
|
36
|
+
background: var(--section-bg);
|
|
37
|
+
position: relative;
|
|
38
|
+
padding: 5rem 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.section-sm {
|
|
42
|
+
padding: 4rem 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.section-white {
|
|
46
|
+
--section-bg: var(--#{$prefix}bg-surface);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.section-light {
|
|
50
|
+
--section-bg: var(--#{$prefix}bg-surface-secondary);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.section-primary {
|
|
54
|
+
--section-bg: var(--#{$prefix}primary);
|
|
55
|
+
color: $white;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.section-dark {
|
|
59
|
+
--section-bg: var(--#{$prefix}dark);
|
|
60
|
+
color: $white;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.section-header {
|
|
64
|
+
text-align: center;
|
|
65
|
+
max-width: 45rem;
|
|
66
|
+
margin: 0 auto 5rem;
|
|
67
|
+
|
|
68
|
+
@at-root .section-sm & {
|
|
69
|
+
margin-bottom: 4rem;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.section-title {
|
|
74
|
+
font-size: var(--#{$prefix}font-size-h1);
|
|
75
|
+
font-weight: var(--#{$prefix}font-weight-bold);
|
|
76
|
+
line-height: 1.2;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.section-title-lg {
|
|
80
|
+
font-size: 2rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.section-description {
|
|
84
|
+
color: var(--#{$prefix}muted);
|
|
85
|
+
font-size: var(--#{$prefix}font-size-h3);
|
|
86
|
+
line-height: var(--#{$prefix}line-height-h3);
|
|
87
|
+
margin-top: 1rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//
|
|
91
|
+
// Section divider
|
|
92
|
+
//
|
|
93
|
+
.section-divider {
|
|
94
|
+
position: absolute;
|
|
95
|
+
bottom: 100%;
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
height: 5rem;
|
|
98
|
+
width: 100%;
|
|
99
|
+
|
|
100
|
+
path {
|
|
101
|
+
fill: var(--section-bg);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.wave-1 {
|
|
105
|
+
animation: move-forever1 30s linear infinite;
|
|
106
|
+
animation-delay: -2s;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.wave-2 {
|
|
110
|
+
animation: move-forever2 24s linear infinite;
|
|
111
|
+
opacity: .5;
|
|
112
|
+
animation-delay: -2s;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wave-3 {
|
|
116
|
+
animation: move-forever3 18s linear infinite;
|
|
117
|
+
opacity: .3;
|
|
118
|
+
animation-delay: -2s;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.section-divider-auto {
|
|
123
|
+
height: auto;
|
|
124
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.shape {
|
|
2
|
+
--#{$prefix}shape-size: #{$avatar-size};
|
|
3
|
+
--#{$prefix}shape-icon-size: #{$avatar-icon-size};
|
|
4
|
+
background-color: var(--#{$prefix}primary-lt);
|
|
5
|
+
color: var(--#{$prefix}primary);
|
|
6
|
+
border-radius: 35%;
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
height: var(--#{$prefix}shape-size);
|
|
11
|
+
width: var(--#{$prefix}shape-size);
|
|
12
|
+
|
|
13
|
+
.icon {
|
|
14
|
+
width: var(--#{$prefix}shape-icon-size);
|
|
15
|
+
height: var(--#{$prefix}shape-icon-size);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@each $avatar-size, $size in $avatar-sizes {
|
|
20
|
+
.shape-#{$avatar-size} {
|
|
21
|
+
--#{$prefix}shape-size: #{map-get($size, size)};
|
|
22
|
+
--#{$prefix}shape-icon-size: #{map-get($size, icon-size)};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@each $name, $color in $colors {
|
|
27
|
+
.shape-#{$name} {
|
|
28
|
+
background: var(--#{$prefix}#{$name}-lt);
|
|
29
|
+
color: var(--#{$prefix}#{$name});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@mixin subheader($include-color: true, $include-line-height: true) {
|
|
2
|
-
font-size: $
|
|
2
|
+
font-size: $h5-font-size;
|
|
3
3
|
font-weight: var(--#{$prefix}font-weight-bold);
|
|
4
4
|
text-transform: uppercase;
|
|
5
5
|
letter-spacing: .04em;
|
|
6
6
|
|
|
7
7
|
@if $include-line-height {
|
|
8
|
-
line-height: $
|
|
8
|
+
line-height: $h5-line-height;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@if ($include-color) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import "config";
|
|
2
|
+
@import "variables";
|
|
3
|
+
@import "utilities-marketing";
|
|
4
|
+
|
|
5
|
+
@import "marketing/core";
|
|
6
|
+
@import "marketing/hero";
|
|
7
|
+
@import "marketing/browser";
|
|
8
|
+
@import "marketing/sections";
|
|
9
|
+
@import "marketing/filters";
|
|
10
|
+
@import "marketing/pricing";
|
|
11
|
+
@import "marketing/shape";
|
|
12
|
+
|
|
13
|
+
@import "bootstrap/scss/utilities/api";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Button
|
|
3
3
|
//
|
|
4
4
|
.btn {
|
|
5
|
-
--#{$prefix}btn-icon-size: #{$icon-size};
|
|
5
|
+
--#{$prefix}btn-icon-size: #{$input-btn-icon-size};
|
|
6
6
|
--#{$prefix}btn-bg: var(--#{$prefix}bg-surface);
|
|
7
7
|
--#{$prefix}btn-color: var(--#{$prefix}body-color);
|
|
8
8
|
--#{$prefix}btn-border-color: #{$btn-border-color};
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
--#{$prefix}btn-color: var(--#{$prefix}#{$color}-fg);
|
|
85
85
|
--#{$prefix}btn-bg: var(--#{$prefix}#{$color});
|
|
86
86
|
--#{$prefix}btn-hover-color: var(--#{$prefix}#{$color}-fg);
|
|
87
|
-
--#{$prefix}btn-hover-bg:
|
|
87
|
+
--#{$prefix}btn-hover-bg: var(--#{$prefix}#{$color}-darken);
|
|
88
88
|
--#{$prefix}btn-active-color: var(--#{$prefix}#{$color}-fg);
|
|
89
|
-
--#{$prefix}btn-active-bg:
|
|
89
|
+
--#{$prefix}btn-active-bg: var(--#{$prefix}#{$color}-darken);
|
|
90
90
|
--#{$prefix}btn-disabled-bg: var(--#{$prefix}#{$color});
|
|
91
91
|
--#{$prefix}btn-disabled-color: var(--#{$prefix}#{$color}-fg);
|
|
92
92
|
--#{$prefix}btn-box-shadow: var(--#{$prefix}box-shadow-input);
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
// Button sizes
|
|
131
131
|
//
|
|
132
132
|
.btn-sm, .btn-group-sm > .btn {
|
|
133
|
-
--#{$prefix}btn-line-height:
|
|
134
|
-
--#{$prefix}btn-icon-size:
|
|
133
|
+
--#{$prefix}btn-line-height: #{$input-btn-line-height-sm};
|
|
134
|
+
--#{$prefix}btn-icon-size: #{$input-btn-icon-size-sm};
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.btn-lg, .btn-group-lg > .btn {
|
|
138
|
-
--#{$prefix}btn-line-height:
|
|
139
|
-
--#{$prefix}btn-icon-size:
|
|
138
|
+
--#{$prefix}btn-line-height: #{$input-btn-line-height-lg};
|
|
139
|
+
--#{$prefix}btn-icon-size: #{$input-btn-icon-size-lg};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
//
|