srcdev-nuxt-components 3.0.0 → 4.0.0
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/assets/styles/a11y/_utils.css +20 -0
- package/assets/styles/a11y/_variables.css +8 -0
- package/assets/styles/a11y/index.css +2 -0
- package/assets/styles/forms/index.css +2 -0
- package/assets/styles/forms/themes/_error.css +77 -0
- package/assets/styles/forms/themes/_ghost.css +77 -0
- package/assets/styles/forms/themes/_input-action.css +20 -0
- package/assets/styles/forms/themes/_primary.css +82 -0
- package/assets/styles/forms/themes/_secondary.css +77 -0
- package/assets/styles/forms/themes/_success.css +77 -0
- package/assets/styles/forms/themes/_tertiary.css +77 -0
- package/assets/styles/forms/themes/_warning.css +77 -0
- package/assets/styles/forms/themes/index.css +8 -0
- package/assets/styles/forms/variables/_sizes.css +82 -0
- package/assets/styles/forms/variables/_theme.css +11 -0
- package/assets/styles/forms/variables/index.css +2 -0
- package/assets/styles/main.css +5 -0
- package/assets/styles/typography/index.css +2 -0
- package/assets/styles/typography/utils/_font-classes.css +160 -0
- package/assets/styles/typography/utils/_weights.css +69 -0
- package/assets/styles/typography/utils/index.css +2 -0
- package/assets/styles/typography/variables/_colors.css +14 -0
- package/assets/styles/typography/variables/_reponsive-font-size.css +10 -0
- package/assets/styles/typography/variables/index.css +2 -0
- package/assets/styles/utils/_animations.css +42 -0
- package/assets/styles/utils/_canvasWidths.css +18 -0
- package/assets/styles/utils/_display.css +7 -0
- package/assets/styles/utils/_margin-helpers.css +334 -0
- package/assets/styles/utils/_padding-helpers.css +308 -0
- package/assets/styles/utils/_page.css +24 -0
- package/assets/styles/utils/_placement.css +73 -0
- package/assets/styles/utils/index.css +7 -0
- package/assets/styles/variables/colors/_blue.css +15 -0
- package/assets/styles/variables/colors/_gray.css +16 -0
- package/assets/styles/variables/colors/_green.css +15 -0
- package/assets/styles/variables/colors/_orange.css +15 -0
- package/assets/styles/variables/colors/_red.css +15 -0
- package/assets/styles/variables/colors/_yellow.css +15 -0
- package/assets/styles/variables/colors/colors.css +6 -0
- package/assets/styles/variables/components/_accordian.css +7 -0
- package/assets/styles/variables/components/_container-glow-core.css +16 -0
- package/assets/styles/variables/components/_display-dialog-core.css +35 -0
- package/assets/styles/variables/components/_tabs.css +18 -0
- package/assets/styles/variables/components/display-prompt-core/_scaffolding.css +57 -0
- package/assets/styles/variables/components/display-prompt-core/index.css +2 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_error.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_info.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_success.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/_warning.css +39 -0
- package/assets/styles/variables/components/display-prompt-core/themes/index.css +4 -0
- package/assets/styles/variables/components/index.css +5 -0
- package/assets/styles/variables/index.css +2 -0
- package/components/animated-svg-text/AnimatedSvgText.vue +87 -0
- package/components/canvas-switcher/CanvasSwitcher.vue +77 -0
- package/components/clip-element/ClipElement.vue +73 -0
- package/components/clipped-panels/ClippedPanel.vue +73 -0
- package/components/deep-expanding-menu/DeepExpandingMenu.vue +214 -0
- package/components/deep-expanding-menu/DeepExpandingMenuOld.vue +218 -0
- package/components/display-banner/DisplayBanner.vue +63 -0
- package/components/display-details/DisplayDetailsCore.vue +312 -0
- package/components/functional/accordian/AccordianCore.vue +138 -0
- package/components/functional/display-dialog/DisplayDialogCore.vue +244 -0
- package/components/functional/display-dialog/variants/DisplayDialogConfirm.vue +45 -0
- package/components/functional/display-dialog/variants/DisplayDialogScrollableContent.vue +49 -0
- package/components/functional/pop-over/PopOver.vue +88 -0
- package/components/image-galleries/SliderGallery.vue +784 -0
- package/components/masonry-grid-ordered/MasonryGridOrdered.vue +158 -0
- package/components/presentation/container-glow/ContainerGlowCore.vue +211 -0
- package/components/presentation/display-grid/DisplayGridCore.vue +22 -0
- package/components/presentation/display-prompt/DisplayPromptCore.vue +150 -0
- package/components/presentation/display-prompt/variants/DisplayPromptError.vue +53 -0
- package/components/presentation/layout-grids/LayoutGridA.vue +103 -0
- package/components/presentation/layout-grids/LayoutGridB.vue +132 -0
- package/components/presentation/layout-row/LayoutRow.vue +157 -0
- package/components/presentation/masonry-grid/MasonryGrid.vue +62 -0
- package/components/presentation/masonry-grid-sorted/MasonryGridSorted.vue +115 -0
- package/components/presentation/tabs/TabsCore.vue +308 -0
- package/components/responsive-header/NavigationItems.vue +164 -0
- package/components/responsive-header/ResponsiveHeader.vue +586 -0
- package/components/rotating-carousel/RotatingCarouselImage.vue +200 -0
- package/composables/useDialogControls.ts +23 -0
- package/composables/useStyleClassPassthrough.ts +35 -0
- package/composables/useTabs.ts +201 -0
- package/nuxt.config.ts +0 -3
- package/package.json +2 -2
- package/types/gallery-data.ts +13 -0
- package/types/responsiveHeader.ts +38 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--form-element-padding-block-start: 0.4lh;
|
|
3
|
+
--form-element-padding-block-end: 0.4lh;
|
|
4
|
+
--form-element-border-width: 0.2rem;
|
|
5
|
+
--form-element-outline-width: 0.1rem;
|
|
6
|
+
|
|
7
|
+
[data-size='x-small'] {
|
|
8
|
+
--form-element-font-size: var(--step-0);
|
|
9
|
+
--form-placeholder-font-size: calc(var(--step-0) * 0.65);
|
|
10
|
+
--form-element-line-height: var(--step-0);
|
|
11
|
+
--form-icon-size: var(--step-0);
|
|
12
|
+
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
13
|
+
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
14
|
+
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
15
|
+
--form-input-border-radius: 0.4rem;
|
|
16
|
+
--form-icon-only-button-size: calc(var(--step-1) * 2);
|
|
17
|
+
--form-toggle-symbol-size: calc(var(--step-0) * 1.55);
|
|
18
|
+
--form-toggle-switch-width-adjustment: 0.5rem;
|
|
19
|
+
|
|
20
|
+
--form-input-checkbox-radio-button-size: var(--step-0);
|
|
21
|
+
}
|
|
22
|
+
[data-size='small'] {
|
|
23
|
+
--form-element-font-size: var(--step-1);
|
|
24
|
+
--form-placeholder-font-size: calc(var(--step-1) * 0.65);
|
|
25
|
+
--form-element-line-height: var(--step-1);
|
|
26
|
+
--form-icon-size: var(--step-1);
|
|
27
|
+
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
28
|
+
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
29
|
+
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
30
|
+
--form-input-border-radius: 0.4rem;
|
|
31
|
+
--form-icon-only-button-size: calc(var(--step-1) * 2.25);
|
|
32
|
+
--form-toggle-symbol-size: calc(var(--step-1) * 1.635);
|
|
33
|
+
--form-toggle-switch-width-adjustment: 0.3rem;
|
|
34
|
+
|
|
35
|
+
--form-input-checkbox-radio-button-size: var(--step-1);
|
|
36
|
+
}
|
|
37
|
+
[data-size='normal'] {
|
|
38
|
+
--form-element-font-size: var(--step-2);
|
|
39
|
+
--form-placeholder-font-size: calc(var(--step-2) * 0.65);
|
|
40
|
+
--form-element-line-height: var(--step-2);
|
|
41
|
+
--form-icon-size: var(--step-2);
|
|
42
|
+
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
43
|
+
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
44
|
+
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
45
|
+
--form-input-border-radius: 0.4rem;
|
|
46
|
+
--form-icon-only-button-size: calc(var(--step-1) * 2.5);
|
|
47
|
+
--form-toggle-symbol-size: calc(var(--step-2) * 1.72);
|
|
48
|
+
--form-toggle-switch-width-adjustment: 0.2rem;
|
|
49
|
+
|
|
50
|
+
--form-input-checkbox-radio-button-size: var(--step-2);
|
|
51
|
+
}
|
|
52
|
+
[data-size='medium'] {
|
|
53
|
+
--form-element-font-size: var(--step-3);
|
|
54
|
+
--form-placeholder-font-size: calc(var(--step-3) * 0.65);
|
|
55
|
+
--form-element-line-height: var(--step-3);
|
|
56
|
+
--form-icon-size: var(--step-3);
|
|
57
|
+
--form-button-padding-inline: calc(var(--step-0) * 1.65);
|
|
58
|
+
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
59
|
+
--form-button-icon-gap: calc(var(--step-0) * 0.65);
|
|
60
|
+
--form-input-border-radius: 0.4rem;
|
|
61
|
+
--form-icon-only-button-size: calc(var(--step-1) * 2.75);
|
|
62
|
+
--form-toggle-symbol-size: calc(var(--step-3) * 1.78);
|
|
63
|
+
--form-toggle-switch-width-adjustment: 0rem;
|
|
64
|
+
|
|
65
|
+
--form-input-checkbox-radio-button-size: var(--step-3);
|
|
66
|
+
}
|
|
67
|
+
[data-size='large'] {
|
|
68
|
+
--form-element-font-size: var(--step-4);
|
|
69
|
+
--form-placeholder-font-size: calc(var(--step-4) * 0.65);
|
|
70
|
+
--form-element-line-height: var(--step-4);
|
|
71
|
+
--form-icon-size: var(--step-4);
|
|
72
|
+
--form-button-padding-inline: calc(var(--step-0) * 1.75);
|
|
73
|
+
--form-text-padding-inline: calc(var(--step-0) * 0.25);
|
|
74
|
+
--form-button-icon-gap: calc(var(--step-0) * 0.75);
|
|
75
|
+
--form-input-border-radius: 0.4rem;
|
|
76
|
+
--form-icon-only-button-size: calc(var(--step-1) * 3);
|
|
77
|
+
--form-toggle-symbol-size: calc(var(--step-4) * 1.816);
|
|
78
|
+
--form-toggle-switch-width-adjustment: -0.2rem;
|
|
79
|
+
|
|
80
|
+
--form-input-checkbox-radio-button-size: var(--step-4);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--font-size: 1.6rem;
|
|
3
|
+
--line-height: calc((var(--font-size) * 2) - 1rem);
|
|
4
|
+
|
|
5
|
+
--font-family: futura-pt, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
6
|
+
|
|
7
|
+
--theme-error-surface: var(--red-12);
|
|
8
|
+
--theme-error-text: var(--red-0);
|
|
9
|
+
|
|
10
|
+
--theme-form-button-font-size-normal: var(--form-element-font-size);
|
|
11
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
.heading-1 {
|
|
2
|
+
font-size: var(--step-5);
|
|
3
|
+
font-weight: bold;
|
|
4
|
+
line-height: 1.3;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.heading-2 {
|
|
8
|
+
font-size: var(--step-4);
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
line-height: 1.3;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.heading-3 {
|
|
14
|
+
font-size: var(--step-3);
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
line-height: 1.3;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.heading-4 {
|
|
20
|
+
font-size: var(--step-2);
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
line-height: 1.3;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.heading-5 {
|
|
26
|
+
font-size: var(--step-1);
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
line-height: 1.3;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.heading-6 {
|
|
32
|
+
font-size: var(--step-0);
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
line-height: 1.3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Body text */
|
|
38
|
+
|
|
39
|
+
.body-large {
|
|
40
|
+
font-size: var(--step-2);
|
|
41
|
+
font-weight: normal;
|
|
42
|
+
line-height: 1.5;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.body-normal {
|
|
46
|
+
font-size: var(--step-1);
|
|
47
|
+
font-weight: normal;
|
|
48
|
+
line-height: 1.5;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.body-small {
|
|
52
|
+
font-size: var(--step--0);
|
|
53
|
+
font-weight: normal;
|
|
54
|
+
line-height: 1.5;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.body-xsmall {
|
|
58
|
+
font-size: var(--step--1);
|
|
59
|
+
font-weight: normal;
|
|
60
|
+
line-height: 1.5;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.body-large-semibold {
|
|
64
|
+
font-size: var(--step-2);
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 1.5;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.body-normal-semibold {
|
|
70
|
+
font-size: var(--step-1);
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
line-height: 1.5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.body-small-semibold {
|
|
76
|
+
font-size: var(--step-0);
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
line-height: 1.5;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.body-xsmall-semibold {
|
|
82
|
+
font-size: var(--step--1);
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
line-height: 1.5;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.body-large-bold {
|
|
88
|
+
font-size: var(--step-2);
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
line-height: 1.5;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.body-normal-bold {
|
|
94
|
+
font-size: var(--step-1);
|
|
95
|
+
font-weight: bold;
|
|
96
|
+
line-height: 1.5;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.body-small-bold {
|
|
100
|
+
font-size: var(--step-0);
|
|
101
|
+
font-weight: bold;
|
|
102
|
+
line-height: 1.5;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.body-xsmall-bold {
|
|
106
|
+
font-size: var(--step--1);
|
|
107
|
+
font-weight: bold;
|
|
108
|
+
line-height: 1.5;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Links */
|
|
112
|
+
|
|
113
|
+
.link-large {
|
|
114
|
+
color: var(--theme-link-default);
|
|
115
|
+
font-size: var(--step-2);
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
line-height: 1.5;
|
|
118
|
+
text-decoration: underline;
|
|
119
|
+
|
|
120
|
+
&:visited {
|
|
121
|
+
color: var(--theme-link-default);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.link-normal {
|
|
126
|
+
color: var(--theme-link-default);
|
|
127
|
+
font-size: var(--step-1);
|
|
128
|
+
font-weight: 600;
|
|
129
|
+
line-height: 1.5;
|
|
130
|
+
text-decoration: underline;
|
|
131
|
+
|
|
132
|
+
&:visited,
|
|
133
|
+
&:active {
|
|
134
|
+
color: var(--theme-link-default);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.link-small {
|
|
139
|
+
color: var(--theme-link-default);
|
|
140
|
+
font-size: var(--step-0);
|
|
141
|
+
font-weight: 600;
|
|
142
|
+
line-height: 1.5;
|
|
143
|
+
text-decoration: underline;
|
|
144
|
+
|
|
145
|
+
&:visited {
|
|
146
|
+
color: var(--theme-link-default);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.link-xsmall {
|
|
151
|
+
color: var(--theme-link-default);
|
|
152
|
+
font-size: var(--step--1);
|
|
153
|
+
font-weight: 600;
|
|
154
|
+
line-height: 1.5;
|
|
155
|
+
text-decoration: underline;
|
|
156
|
+
|
|
157
|
+
&:visited {
|
|
158
|
+
color: var(--theme-link-default);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* By numeric step */
|
|
2
|
+
.wght-100 {
|
|
3
|
+
font-weight: 100;
|
|
4
|
+
}
|
|
5
|
+
.wght-200 {
|
|
6
|
+
font-weight: 200;
|
|
7
|
+
}
|
|
8
|
+
.wght-300 {
|
|
9
|
+
font-weight: 300;
|
|
10
|
+
}
|
|
11
|
+
.wght-400 {
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
}
|
|
14
|
+
.wght-500 {
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
}
|
|
17
|
+
.wght-600 {
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
}
|
|
20
|
+
.wght-700 {
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
}
|
|
23
|
+
.wght-800 {
|
|
24
|
+
font-weight: 800;
|
|
25
|
+
}
|
|
26
|
+
.wght-900 {
|
|
27
|
+
font-weight: 900;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* By named weight */
|
|
31
|
+
.light {
|
|
32
|
+
font-weight: light;
|
|
33
|
+
}
|
|
34
|
+
.normal {
|
|
35
|
+
font-weight: normal;
|
|
36
|
+
}
|
|
37
|
+
.bold {
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Using the font-variation-settings property. */
|
|
42
|
+
|
|
43
|
+
.fvs-wght-100 {
|
|
44
|
+
font-variation-settings: 'wght' 100;
|
|
45
|
+
}
|
|
46
|
+
.fvs-wght-200 {
|
|
47
|
+
font-variation-settings: 'wght' 200;
|
|
48
|
+
}
|
|
49
|
+
.fvs-wght-300 {
|
|
50
|
+
font-variation-settings: 'wght' 300;
|
|
51
|
+
}
|
|
52
|
+
.fvs-wght-400 {
|
|
53
|
+
font-variation-settings: 'wght' 400;
|
|
54
|
+
}
|
|
55
|
+
.fvs-wght-500 {
|
|
56
|
+
font-variation-settings: 'wght' 500;
|
|
57
|
+
}
|
|
58
|
+
.fvs-wght-600 {
|
|
59
|
+
font-variation-settings: 'wght' 600;
|
|
60
|
+
}
|
|
61
|
+
.fvs-wght-700 {
|
|
62
|
+
font-variation-settings: 'wght' 700;
|
|
63
|
+
}
|
|
64
|
+
.fvs-wght-800 {
|
|
65
|
+
font-variation-settings: 'wght' 800;
|
|
66
|
+
}
|
|
67
|
+
.fvs-wght-900 {
|
|
68
|
+
font-variation-settings: 'wght' 900;
|
|
69
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--theme-link-default: light-dark(var(--blue-12), var(--blue-4));
|
|
3
|
+
|
|
4
|
+
--page-bg: light-dark(var(--gray-0), var(--gray-9));
|
|
5
|
+
|
|
6
|
+
--surface-subtle: light-dark(var(--gray-1), var(--gray-8));
|
|
7
|
+
|
|
8
|
+
--grayscale-text-title: light-dark(var(--gray-12), var(--gray-2));
|
|
9
|
+
--grayscale-text-body: light-dark(var(--gray-12), var(--gray-3));
|
|
10
|
+
--grayscale-text-subtitle: light-dark(var(--gray-12), var(--gray-2));
|
|
11
|
+
--grayscale-text-caption: light-dark(var(--gray-12), var(--gray-2));
|
|
12
|
+
--grayscale-text-negative: light-dark(var(--gray-12), var(--gray-2));
|
|
13
|
+
--grayscale-text-disabled: light-dark(var(--gray-12), var(--gray-2));
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--step-5: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem);
|
|
3
|
+
--step-4: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem);
|
|
4
|
+
--step-3: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem);
|
|
5
|
+
--step-2: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem);
|
|
6
|
+
--step-1: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem);
|
|
7
|
+
--step-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
|
|
8
|
+
--step--1: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem);
|
|
9
|
+
--step--2: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem);
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.auto-rotate {
|
|
2
|
+
animation: autoRotateAnimation;
|
|
3
|
+
animation-timeline: view();
|
|
4
|
+
}
|
|
5
|
+
@keyframes autoRotateAnimation {
|
|
6
|
+
from {
|
|
7
|
+
transform: rotate(0deg);
|
|
8
|
+
}
|
|
9
|
+
to {
|
|
10
|
+
transform: rotate(360deg);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.auto-show {
|
|
14
|
+
animation: autoShowAnimation both;
|
|
15
|
+
animation-timeline: view(70% 5%);
|
|
16
|
+
}
|
|
17
|
+
@keyframes autoShowAnimation {
|
|
18
|
+
from {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
transform: translateY(200px) scale(0.3);
|
|
21
|
+
}
|
|
22
|
+
to {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
transform: translateY(0) scale(1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.auto-bLur {
|
|
28
|
+
animation: autoBlurAnimation linear both;
|
|
29
|
+
animation-timeline: view();
|
|
30
|
+
}
|
|
31
|
+
@keyframes autoBlurAnimation {
|
|
32
|
+
0% {
|
|
33
|
+
filter: blur(40px);
|
|
34
|
+
}
|
|
35
|
+
45%,
|
|
36
|
+
55% {
|
|
37
|
+
filter: blur(0px);
|
|
38
|
+
}
|
|
39
|
+
100% {
|
|
40
|
+
filter: blur(40px);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Used for testing the responsiveness of components
|
|
3
|
+
* by setting the max-width of the canvas to the desired width
|
|
4
|
+
* See: useCanvasSwitcher()
|
|
5
|
+
**/
|
|
6
|
+
|
|
7
|
+
.mobileCanvas {
|
|
8
|
+
max-width: 412px;
|
|
9
|
+
}
|
|
10
|
+
.tabletCanvas {
|
|
11
|
+
max-width: 768px;
|
|
12
|
+
}
|
|
13
|
+
.laptopCanvas {
|
|
14
|
+
max-width: 1024px;
|
|
15
|
+
}
|
|
16
|
+
.desktopCanvas {
|
|
17
|
+
max-width: 1280px;
|
|
18
|
+
}
|