create-catalyst-app 0.0.1-beta.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/package.json +20 -0
- package/readme.md +53 -0
- package/scripts/cli.mjs +267 -0
- package/templates/common/.babelrc +26 -0
- package/templates/common/.editorconfig +12 -0
- package/templates/common/.eslintignore +6 -0
- package/templates/common/.eslintrc +53 -0
- package/templates/common/.prettierrc.json +7 -0
- package/templates/common/.stylelintrc +35 -0
- package/templates/common/README.md +29 -0
- package/templates/common/api.js +29 -0
- package/templates/common/checkVersion.js +3 -0
- package/templates/common/client/index.js +39 -0
- package/templates/common/client/styles.js +15 -0
- package/templates/common/config/config.json +18 -0
- package/templates/common/config/config_template.json +18 -0
- package/templates/common/config/index.js +77 -0
- package/templates/common/package.json +57 -0
- package/templates/common/server/CustomDocument.js +14 -0
- package/templates/common/server/customIndex.js +3 -0
- package/templates/common/server/customServer.js +16 -0
- package/templates/common/src/js/containers/App/actions.js +20 -0
- package/templates/common/src/js/containers/App/index.js +46 -0
- package/templates/common/src/js/containers/App/reducer.js +21 -0
- package/templates/common/src/js/containers/Home/Home.js +40 -0
- package/templates/common/src/js/containers/PDP/PDP.js +37 -0
- package/templates/common/src/js/reducer/index.js +80 -0
- package/templates/common/src/js/routes/index.js +50 -0
- package/templates/common/src/js/stateManager/stateProvider.js +34 -0
- package/templates/common/src/js/store/index.js +77 -0
- package/templates/common/src/static/css/base/_overrides.scss +81 -0
- package/templates/common/src/static/css/base/animations.js +38 -0
- package/templates/common/src/static/css/base/index.scss +8 -0
- package/templates/common/src/static/css/base/layout.scss +242 -0
- package/templates/common/src/static/css/base/styles.scss +163 -0
- package/templates/common/src/static/css/base/typography.scss +285 -0
- package/templates/common/src/static/css/resources/_mixins.scss +196 -0
- package/templates/common/src/static/css/resources/_variables.scss +172 -0
- package/templates/common/src/static/css/resources/_vendors.scss +1 -0
- package/templates/common/src/static/fonts/.gitkeep +0 -0
- package/templates/common/src/static/fonts/Inter-Bold-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Inter-Italic-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Inter-Light-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Inter-Medium-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Inter-Regular-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Inter-SemiBold-Subset.otf +0 -0
- package/templates/common/src/static/fonts/Poppins-Bold-Subset.woff2 +0 -0
- package/templates/common/src/static/fonts/Poppins-Italic-Subset.woff2 +0 -0
- package/templates/common/src/static/fonts/Poppins-Light-Subset.woff2 +0 -0
- package/templates/common/src/static/fonts/Poppins-Medium-Subset.woff2 +0 -0
- package/templates/common/src/static/fonts/Poppins-Regular-Subset.woff2 +0 -0
- package/templates/common/src/static/fonts/Poppins-SemiBold-Subset.woff2 +0 -0
- package/templates/none-js/.babelrc +26 -0
- package/templates/none-js/.eslintignore +6 -0
- package/templates/none-js/.eslintrc +53 -0
- package/templates/none-js/.prettierrc.json +7 -0
- package/templates/none-js/.stylelintrc +35 -0
- package/templates/none-js/README.md +22 -0
- package/templates/none-js/api.js +29 -0
- package/templates/none-js/checkVersion.js +3 -0
- package/templates/none-js/client/index.js +27 -0
- package/templates/none-js/client/styles.js +15 -0
- package/templates/none-js/config/config.json +15 -0
- package/templates/none-js/config/config_template.json +18 -0
- package/templates/none-js/config/index.js +44 -0
- package/templates/none-js/package.json +53 -0
- package/templates/none-js/server/document.js +14 -0
- package/templates/none-js/server/index.js +3 -0
- package/templates/none-js/server/server.js +16 -0
- package/templates/none-js/src/js/containers/App/index.js +40 -0
- package/templates/none-js/src/js/containers/DemoPage/DemoPage.js +39 -0
- package/templates/none-js/src/js/containers/DemoPage/DemoPage.scss +3 -0
- package/templates/none-js/src/js/containers/Home/Home.js +27 -0
- package/templates/none-js/src/js/containers/Home/Home.scss +36 -0
- package/templates/none-js/src/js/routes/index.js +49 -0
- package/templates/none-js/src/js/stateManager/stateProvider.js +19 -0
- package/templates/none-js/src/js/store/index.js +6 -0
- package/templates/none-js/src/static/css/base/index.scss +3 -0
- package/templates/none-js/src/static/css/base/styles.scss +11 -0
- package/templates/none-js/src/static/css/base/typography.scss +53 -0
- package/templates/none-js/src/static/css/resources/_variables.scss +1 -0
- package/templates/none-js/src/static/fonts/.gitkeep +0 -0
- package/templates/none-js/src/static/fonts/Inter-Bold-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Inter-Italic-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Inter-Light-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Inter-Medium-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Inter-Regular-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Inter-SemiBold-Subset.otf +0 -0
- package/templates/none-js/src/static/fonts/Poppins-Bold-Subset.woff2 +0 -0
- package/templates/none-js/src/static/fonts/Poppins-Italic-Subset.woff2 +0 -0
- package/templates/none-js/src/static/fonts/Poppins-Medium-Subset.woff2 +0 -0
- package/templates/none-js/src/static/fonts/Poppins-Regular-Subset.woff2 +0 -0
- package/templates/none-js/src/static/fonts/Poppins-SemiBold-Subset.woff2 +0 -0
- package/templates/none-js/webpackConfig.js +5 -0
- package/templates/redux-js/.babelrc +26 -0
- package/templates/redux-js/.eslintignore +6 -0
- package/templates/redux-js/.eslintrc +53 -0
- package/templates/redux-js/.prettierrc.json +7 -0
- package/templates/redux-js/.stylelintrc +35 -0
- package/templates/redux-js/README.md +22 -0
- package/templates/redux-js/api.js +29 -0
- package/templates/redux-js/checkVersion.js +3 -0
- package/templates/redux-js/client/index.js +27 -0
- package/templates/redux-js/client/styles.js +15 -0
- package/templates/redux-js/config/config.json +15 -0
- package/templates/redux-js/config/config_template.json +18 -0
- package/templates/redux-js/config/index.js +44 -0
- package/templates/redux-js/package.json +53 -0
- package/templates/redux-js/server/document.js +14 -0
- package/templates/redux-js/server/index.js +3 -0
- package/templates/redux-js/server/server.js +16 -0
- package/templates/redux-js/src/js/containers/App/actions.js +20 -0
- package/templates/redux-js/src/js/containers/App/index.js +42 -0
- package/templates/redux-js/src/js/containers/App/reducer.js +21 -0
- package/templates/redux-js/src/js/containers/DemoPage/DemoPage.js +39 -0
- package/templates/redux-js/src/js/containers/DemoPage/DemoPage.scss +3 -0
- package/templates/redux-js/src/js/containers/Home/Home.js +27 -0
- package/templates/redux-js/src/js/containers/Home/Home.scss +36 -0
- package/templates/redux-js/src/js/reducer/index.js +80 -0
- package/templates/redux-js/src/js/routes/index.js +49 -0
- package/templates/redux-js/src/js/stateManager/stateProvider.js +34 -0
- package/templates/redux-js/src/js/store/index.js +79 -0
- package/templates/redux-js/src/static/css/base/index.scss +3 -0
- package/templates/redux-js/src/static/css/base/styles.scss +11 -0
- package/templates/redux-js/src/static/css/base/typography.scss +53 -0
- package/templates/redux-js/src/static/css/resources/_variables.scss +1 -0
- package/templates/redux-js/src/static/fonts/.gitkeep +0 -0
- package/templates/redux-js/src/static/fonts/Inter-Bold-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Inter-Italic-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Inter-Light-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Inter-Medium-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Inter-Regular-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Inter-SemiBold-Subset.otf +0 -0
- package/templates/redux-js/src/static/fonts/Poppins-Bold-Subset.woff2 +0 -0
- package/templates/redux-js/src/static/fonts/Poppins-Italic-Subset.woff2 +0 -0
- package/templates/redux-js/src/static/fonts/Poppins-Medium-Subset.woff2 +0 -0
- package/templates/redux-js/src/static/fonts/Poppins-Regular-Subset.woff2 +0 -0
- package/templates/redux-js/src/static/fonts/Poppins-SemiBold-Subset.woff2 +0 -0
- package/templates/redux-js/webpackConfig.js +5 -0
- package/templates/rtk-js/.babelrc +26 -0
- package/templates/rtk-js/.eslintignore +6 -0
- package/templates/rtk-js/.eslintrc +53 -0
- package/templates/rtk-js/.prettierrc.json +7 -0
- package/templates/rtk-js/.stylelintrc +35 -0
- package/templates/rtk-js/README.md +23 -0
- package/templates/rtk-js/api.js +29 -0
- package/templates/rtk-js/checkVersion.js +3 -0
- package/templates/rtk-js/client/index.js +27 -0
- package/templates/rtk-js/client/styles.js +15 -0
- package/templates/rtk-js/config/config.json +15 -0
- package/templates/rtk-js/config/config_template.json +18 -0
- package/templates/rtk-js/config/index.js +44 -0
- package/templates/rtk-js/package.json +53 -0
- package/templates/rtk-js/server/document.js +14 -0
- package/templates/rtk-js/server/index.js +3 -0
- package/templates/rtk-js/server/server.js +16 -0
- package/templates/rtk-js/src/js/containers/App/index.js +42 -0
- package/templates/rtk-js/src/js/containers/App/reducer.js +26 -0
- package/templates/rtk-js/src/js/containers/DemoPage/DemoPage.js +39 -0
- package/templates/rtk-js/src/js/containers/DemoPage/DemoPage.scss +3 -0
- package/templates/rtk-js/src/js/containers/Home/Home.js +27 -0
- package/templates/rtk-js/src/js/containers/Home/Home.scss +36 -0
- package/templates/rtk-js/src/js/reducer/index.js +80 -0
- package/templates/rtk-js/src/js/routes/index.js +49 -0
- package/templates/rtk-js/src/js/stateManager/stateProvider.js +34 -0
- package/templates/rtk-js/src/js/store/index.js +22 -0
- package/templates/rtk-js/src/static/css/base/index.scss +3 -0
- package/templates/rtk-js/src/static/css/base/styles.scss +11 -0
- package/templates/rtk-js/src/static/css/base/typography.scss +53 -0
- package/templates/rtk-js/src/static/css/resources/_variables.scss +1 -0
- package/templates/rtk-js/src/static/fonts/.gitkeep +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-Bold-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-Italic-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-Light-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-Medium-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-Regular-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Inter-SemiBold-Subset.otf +0 -0
- package/templates/rtk-js/src/static/fonts/Poppins-Bold-Subset.woff2 +0 -0
- package/templates/rtk-js/src/static/fonts/Poppins-Italic-Subset.woff2 +0 -0
- package/templates/rtk-js/src/static/fonts/Poppins-Medium-Subset.woff2 +0 -0
- package/templates/rtk-js/src/static/fonts/Poppins-Regular-Subset.woff2 +0 -0
- package/templates/rtk-js/src/static/fonts/Poppins-SemiBold-Subset.woff2 +0 -0
- package/templates/rtk-js/webpackConfig.js +5 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const pageTransitions = {
|
|
2
|
+
hidden: () => {
|
|
3
|
+
return {
|
|
4
|
+
x: 0,
|
|
5
|
+
opacity: 0,
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
visible: () => {
|
|
9
|
+
return {
|
|
10
|
+
x: 0,
|
|
11
|
+
opacity: 1,
|
|
12
|
+
transition: {
|
|
13
|
+
type: "spring",
|
|
14
|
+
delay: 0,
|
|
15
|
+
stiffness: 800,
|
|
16
|
+
damping: 65,
|
|
17
|
+
mass: 2,
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
exit: (params) => {
|
|
23
|
+
if (params?.showPageTransition === false) return { x: 0 }
|
|
24
|
+
else {
|
|
25
|
+
return {
|
|
26
|
+
x: params?.action === "POP" ? "50vw" : "-50vw",
|
|
27
|
+
opacity: 0,
|
|
28
|
+
transition: {
|
|
29
|
+
type: "spring",
|
|
30
|
+
delay: 0,
|
|
31
|
+
stiffness: 800,
|
|
32
|
+
damping: 65,
|
|
33
|
+
mass: 2,
|
|
34
|
+
},
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
.minHeight100 {
|
|
2
|
+
height: 100vh;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.containerFluid {
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 8px 16px 16px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.container-fluid {
|
|
11
|
+
// only to be used on VISUALLY root level elements (containers containing components) which do not have full width atoms/molecules inside it
|
|
12
|
+
width: 100%;
|
|
13
|
+
padding-left: 12px; // the only exception in the entire DLS to ensure an imaginary 16px indentation
|
|
14
|
+
padding-right: 12px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.container-fluid-padded {
|
|
18
|
+
// same as the above
|
|
19
|
+
width: 100%;
|
|
20
|
+
padding: makespace(2) 12px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.container-fluid-padded-xl {
|
|
24
|
+
width: 100%;
|
|
25
|
+
padding: makespace(3) 12px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.gutter-only {
|
|
29
|
+
// to be used only in very very crucial scenarios. You almost NEVER need it, if think you do, you're doing something wrong at the atom level
|
|
30
|
+
margin-left: $gutter;
|
|
31
|
+
margin-right: $gutter;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fullWidth {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.col-1 {
|
|
39
|
+
width: $col;
|
|
40
|
+
margin-left: $gutter;
|
|
41
|
+
margin-right: $gutter;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.col-2 {
|
|
45
|
+
width: calc(calc(#{$col} * 2) + 8px);
|
|
46
|
+
margin-left: $gutter;
|
|
47
|
+
margin-right: $gutter;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.col-3 {
|
|
51
|
+
width: calc(calc(#{$col} * 3) + 16px);
|
|
52
|
+
margin-left: $gutter;
|
|
53
|
+
margin-right: $gutter;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.col-4 {
|
|
57
|
+
width: calc(calc(#{$col} * 4) + 24px);
|
|
58
|
+
margin-left: $gutter;
|
|
59
|
+
margin-right: $gutter;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.col-5 {
|
|
63
|
+
width: calc(calc(#{$col} * 5) + 32px);
|
|
64
|
+
margin-left: $gutter;
|
|
65
|
+
margin-right: $gutter;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.col-6 {
|
|
69
|
+
width: calc(calc(#{$col} * 6) + 40px);
|
|
70
|
+
margin-left: $gutter;
|
|
71
|
+
margin-right: $gutter;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.marginTop-4 {
|
|
75
|
+
margin-top: $gutter;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.marginTop-8 {
|
|
79
|
+
margin-top: makespace(1);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.marginTop-16 {
|
|
83
|
+
margin-top: makespace(2);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.marginTop-24 {
|
|
87
|
+
margin-top: makespace(3);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.marginTop-32 {
|
|
91
|
+
margin-top: makespace(4);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.marginTop-40 {
|
|
95
|
+
margin-top: makespace(5);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.marginTop-48 {
|
|
99
|
+
margin-top: makespace(6);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.marginBottom-24 {
|
|
103
|
+
margin-bottom: makespace(3);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.marginTop-96 {
|
|
107
|
+
margin-top: makespace(12);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.marginBoth-4 {
|
|
111
|
+
margin-top: $gutter;
|
|
112
|
+
margin-bottom: $gutter;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.marginBoth-8 {
|
|
116
|
+
margin-top: makespace(1);
|
|
117
|
+
margin-bottom: makespace(1);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.marginBoth-16 {
|
|
121
|
+
margin-top: makespace(2);
|
|
122
|
+
margin-bottom: makespace(2);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.marginBoth-24 {
|
|
126
|
+
margin-top: makespace(3);
|
|
127
|
+
margin-bottom: makespace(3);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.marginBoth-40 {
|
|
131
|
+
margin-top: makespace(5);
|
|
132
|
+
margin-bottom: makespace(5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.marginBoth-48 {
|
|
136
|
+
margin-top: makespace(6);
|
|
137
|
+
margin-bottom: makespace(6);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.paddingBoth-8 {
|
|
141
|
+
padding-top: makespace(1);
|
|
142
|
+
padding-bottom: makespace(1);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.paddingBoth-16 {
|
|
146
|
+
padding-top: makespace(2);
|
|
147
|
+
padding-bottom: makespace(2);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.paddingBoth-40 {
|
|
151
|
+
padding-top: makespace(5);
|
|
152
|
+
padding-bottom: makespace(5);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// This is where most used flex attributes throughout our codebase should go
|
|
156
|
+
|
|
157
|
+
.flex {
|
|
158
|
+
display: flex;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.flexColumn {
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.flexWrap {
|
|
167
|
+
flex-wrap: wrap;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.alignCenter {
|
|
171
|
+
align-items: center;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.alignBase {
|
|
175
|
+
align-items: baseline;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.alignFlexEnd {
|
|
179
|
+
align-items: flex-end;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.justifyCenter {
|
|
183
|
+
justify-content: center;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.justifyBetween {
|
|
187
|
+
justify-content: space-between;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.justifyEnd {
|
|
191
|
+
justify-content: flex-end;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.spaceAround {
|
|
195
|
+
justify-content: space-around;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.middleDivider {
|
|
199
|
+
margin-left: makespace(2);
|
|
200
|
+
margin-right: makespace(2);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.insetDivider {
|
|
204
|
+
margin-left: makespace(1);
|
|
205
|
+
margin-right: makespace(1);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.displayNone {
|
|
209
|
+
display: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.textCenter {
|
|
213
|
+
text-align: center;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.textRight {
|
|
217
|
+
text-align: right;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.textUnderline {
|
|
221
|
+
text-decoration: underline;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.minHeight-100 {
|
|
225
|
+
min-height: 100vh;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.smallBorderRadius {
|
|
229
|
+
border-radius: 4px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.borderRadius {
|
|
233
|
+
border-radius: makespace(1);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
//WIDGET
|
|
237
|
+
|
|
238
|
+
.widget-container {
|
|
239
|
+
width: 100%;
|
|
240
|
+
padding-top: makespace(1);
|
|
241
|
+
padding-bottom: makespace(2);
|
|
242
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
html {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
html,
|
|
6
|
+
body {
|
|
7
|
+
height: 100%;
|
|
8
|
+
font-family: Inter, Poppins, Avenir, "Century Gothic", Arial, sans-serif;
|
|
9
|
+
-webkit-tap-highlight-color: transparent;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
body {
|
|
13
|
+
&.preventYAxisScroll {
|
|
14
|
+
position: relative;
|
|
15
|
+
overflow-y: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.preventXAxisScroll {
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow-x: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.preventScroll {
|
|
24
|
+
position: relative;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.offline {
|
|
29
|
+
input,
|
|
30
|
+
button,
|
|
31
|
+
a {
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
* {
|
|
38
|
+
-webkit-font-smoothing: antialiased;
|
|
39
|
+
-moz-osx-font-smoothing: grayscale;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#app {
|
|
43
|
+
height: 100%;
|
|
44
|
+
width: 100%;
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#loader-portal {
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: 100;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
*,
|
|
54
|
+
*::before,
|
|
55
|
+
*::after {
|
|
56
|
+
box-sizing: inherit;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.select-element-portal {
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 1300;
|
|
62
|
+
top: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.bottom-sheet-element {
|
|
69
|
+
position: fixed;
|
|
70
|
+
z-index: 100;
|
|
71
|
+
transition: all 0.2s ease-in;
|
|
72
|
+
bottom: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
right: 0;
|
|
75
|
+
height: 0;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
transform: translate3d(0, 0, 0);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#bottom-sheet-root {
|
|
81
|
+
position: relative;
|
|
82
|
+
z-index: 100;
|
|
83
|
+
|
|
84
|
+
&.open {
|
|
85
|
+
height: 100%;
|
|
86
|
+
|
|
87
|
+
.bottom-sheet-backdrop {
|
|
88
|
+
background: $grey-backdrop;
|
|
89
|
+
position: fixed;
|
|
90
|
+
top: 0;
|
|
91
|
+
left: 0;
|
|
92
|
+
right: 0;
|
|
93
|
+
bottom: 0;
|
|
94
|
+
z-index: 99;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.bottom-sheet-element {
|
|
98
|
+
&.full {
|
|
99
|
+
height: 95vh;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.small {
|
|
103
|
+
height: 40vh;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.medium {
|
|
107
|
+
height: calc(100% - 82px);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.bottomsheet-portal {
|
|
114
|
+
height: 100%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.loader {
|
|
118
|
+
margin: makespace(1) auto;
|
|
119
|
+
border: makespace(1) solid $highlighted-background;
|
|
120
|
+
border-top: makespace(1) solid $action-primary;
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
width: makespace(6);
|
|
123
|
+
height: makespace(6);
|
|
124
|
+
animation: spin 2s linear infinite;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@keyframes spin {
|
|
128
|
+
0% {
|
|
129
|
+
transform: rotate(0deg);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
100% {
|
|
133
|
+
transform: rotate(360deg);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.shimmer {
|
|
138
|
+
border-radius: $gutter;
|
|
139
|
+
background: #f6f7f8;
|
|
140
|
+
background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
|
|
141
|
+
background-repeat: no-repeat;
|
|
142
|
+
background-size: 200vw 100vh;
|
|
143
|
+
animation-duration: 1s;
|
|
144
|
+
animation-fill-mode: forwards;
|
|
145
|
+
animation-iteration-count: infinite;
|
|
146
|
+
animation-name: shimmer;
|
|
147
|
+
animation-timing-function: linear;
|
|
148
|
+
-webkit-animation-duration: 1s;
|
|
149
|
+
-webkit-animation-fill-mode: forwards;
|
|
150
|
+
-webkit-animation-iteration-count: infinite;
|
|
151
|
+
-webkit-animation-name: shimmer;
|
|
152
|
+
-webkit-animation-timing-function: linear;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes shimmer {
|
|
156
|
+
0% {
|
|
157
|
+
background-position: -100vw 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
100% {
|
|
161
|
+
background-position: 100vw 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: Inter;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 300;
|
|
5
|
+
font-display: block;
|
|
6
|
+
src: local("Inter Light"), local("Inter-Light"), url($font_url + "Inter-Light-Subset.otf");
|
|
7
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Inter;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
font-display: block;
|
|
15
|
+
src: local("Inter Regular"), local("Inter-Regular"), url($font_url + "Inter-Regular-Subset.otf");
|
|
16
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: Inter;
|
|
21
|
+
font-style: italic;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
font-display: block;
|
|
24
|
+
src: local("Inter Italic"), local("Inter-Italic"), url($font_url + "Inter-Italic-Subset.otf");
|
|
25
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: Inter;
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
font-display: block;
|
|
33
|
+
src: local("Inter Medium"), local("Inter-Medium"), url($font_url + "Inter-Medium-Subset.otf");
|
|
34
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: Inter;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-display: block;
|
|
42
|
+
src: local("Inter SemiBold"), local("Inter-SemiBold"), url($font_url + "Inter-SemiBold-Subset.otf");
|
|
43
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: Inter;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
font-display: block;
|
|
51
|
+
src: local("Inter Bold"), local("Inter-Bold"), url($font_url + "Inter-Bold-Subset.otf");
|
|
52
|
+
unicode-range: U+0020-007F, U+201C, U+201D, U+00A;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
html {
|
|
56
|
+
font-size: $font-size-body + px;
|
|
57
|
+
line-height: $line-height-base;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
h1 {
|
|
61
|
+
font-size: remy($font-size-l3);
|
|
62
|
+
font-weight: $font-weight-regular;
|
|
63
|
+
line-height: $line-height-base;
|
|
64
|
+
margin: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
h2 {
|
|
68
|
+
font-size: remy($font-size-l4);
|
|
69
|
+
font-weight: $font-weight-semi-bold;
|
|
70
|
+
line-height: $line-height-base;
|
|
71
|
+
margin: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h3 {
|
|
75
|
+
font-size: remy($font-size-l5);
|
|
76
|
+
font-weight: $font-weight-medium;
|
|
77
|
+
line-height: $line-height-base;
|
|
78
|
+
margin: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
p {
|
|
82
|
+
font-size: remy($font-size-body);
|
|
83
|
+
line-height: $line-height-base;
|
|
84
|
+
margin: 0;
|
|
85
|
+
word-break: break-word;
|
|
86
|
+
overflow-wrap: break-word;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.heroSemiBold {
|
|
90
|
+
font-size: remy($font-size-hero);
|
|
91
|
+
font-weight: $font-weight-semi-bold;
|
|
92
|
+
line-height: $line-height-base;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.heroMedium {
|
|
96
|
+
font-size: remy($font-size-hero);
|
|
97
|
+
font-weight: $font-weight-medium;
|
|
98
|
+
line-height: $line-height-base;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.heroRegular {
|
|
102
|
+
font-size: remy($font-size-hero);
|
|
103
|
+
font-weight: $font-weight-regular;
|
|
104
|
+
line-height: $line-height-base;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.l1SemiBold {
|
|
108
|
+
font-size: remy($font-size-l1);
|
|
109
|
+
font-weight: $font-weight-semi-bold;
|
|
110
|
+
line-height: $line-height-base;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.l1Medium {
|
|
114
|
+
font-size: remy($font-size-l1);
|
|
115
|
+
font-weight: $font-weight-medium;
|
|
116
|
+
line-height: $line-height-base;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.l1Regular {
|
|
120
|
+
font-size: remy($font-size-l1);
|
|
121
|
+
font-weight: $font-weight-regular;
|
|
122
|
+
line-height: $line-height-base;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.l2SemiBold {
|
|
126
|
+
font-size: remy($font-size-l2);
|
|
127
|
+
font-weight: $font-weight-semi-bold;
|
|
128
|
+
line-height: $line-height-base;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.l2Medium {
|
|
132
|
+
font-size: remy($font-size-l2);
|
|
133
|
+
font-weight: $font-weight-medium;
|
|
134
|
+
line-height: $line-height-base;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.l2Regular {
|
|
138
|
+
font-size: remy($font-size-l2);
|
|
139
|
+
font-weight: $font-weight-regular;
|
|
140
|
+
line-height: $line-height-base;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.l3SemiBold {
|
|
144
|
+
font-size: remy($font-size-l3);
|
|
145
|
+
font-weight: $font-weight-semi-bold;
|
|
146
|
+
line-height: $line-height-base;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.l3Medium {
|
|
150
|
+
font-size: remy($font-size-l3);
|
|
151
|
+
font-weight: $font-weight-medium;
|
|
152
|
+
line-height: $line-height-base;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.l3Regular {
|
|
156
|
+
font-size: remy($font-size-l3);
|
|
157
|
+
font-weight: $font-weight-regular;
|
|
158
|
+
line-height: $line-height-base;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.l4SemiBold {
|
|
162
|
+
font-size: remy($font-size-l4);
|
|
163
|
+
font-weight: $font-weight-semi-bold;
|
|
164
|
+
line-height: $line-height-base;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.l4Medium {
|
|
168
|
+
font-size: remy($font-size-l4);
|
|
169
|
+
font-weight: $font-weight-medium;
|
|
170
|
+
line-height: $line-height-base;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.l4Regular {
|
|
174
|
+
font-size: remy($font-size-l4);
|
|
175
|
+
font-weight: $font-weight-regular;
|
|
176
|
+
line-height: $line-height-base;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.l5SemiBold {
|
|
180
|
+
font-size: remy($font-size-l5);
|
|
181
|
+
font-weight: $font-weight-semi-bold;
|
|
182
|
+
line-height: $line-height-base;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.l5Medium {
|
|
186
|
+
font-size: remy($font-size-l5);
|
|
187
|
+
font-weight: $font-weight-medium;
|
|
188
|
+
line-height: $line-height-base;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.l5Regular {
|
|
192
|
+
font-size: remy($font-size-l5);
|
|
193
|
+
font-weight: $font-weight-regular;
|
|
194
|
+
line-height: $line-height-base;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.bodySemiBold {
|
|
198
|
+
font-size: remy($font-size-body);
|
|
199
|
+
font-weight: $font-weight-semi-bold;
|
|
200
|
+
line-height: $line-height-base;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.bodyMedium {
|
|
204
|
+
font-size: remy($font-size-body);
|
|
205
|
+
font-weight: $font-weight-medium;
|
|
206
|
+
line-height: $line-height-base;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.bodyRegular {
|
|
210
|
+
font-size: remy($font-size-body);
|
|
211
|
+
font-weight: $font-weight-regular;
|
|
212
|
+
line-height: $line-height-base;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.smallSemiBold {
|
|
216
|
+
font-size: remy($font-size-small);
|
|
217
|
+
font-weight: $font-weight-semi-bold;
|
|
218
|
+
line-height: $line-height-base;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.smallMedium {
|
|
222
|
+
font-size: remy($font-size-small);
|
|
223
|
+
font-weight: $font-weight-medium;
|
|
224
|
+
line-height: $line-height-base;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.smallRegular {
|
|
228
|
+
font-size: remy($font-size-small);
|
|
229
|
+
font-weight: $font-weight-regular;
|
|
230
|
+
line-height: $line-height-base;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.xSmallSemiBold {
|
|
234
|
+
font-size: remy($font-size-x-small);
|
|
235
|
+
font-weight: $font-weight-semi-bold;
|
|
236
|
+
line-height: $line-height-x-small;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.xSmallMedium {
|
|
240
|
+
font-size: remy($font-size-x-small);
|
|
241
|
+
font-weight: $font-weight-medium;
|
|
242
|
+
line-height: $line-height-x-small;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.xSmallRegular {
|
|
246
|
+
font-size: remy($font-size-x-small);
|
|
247
|
+
font-weight: $font-weight-regular;
|
|
248
|
+
line-height: $line-height-x-small;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.textPrimary {
|
|
252
|
+
color: $information-primary;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.textSecondary {
|
|
256
|
+
color: $information-secondary;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.textTertiary {
|
|
260
|
+
color: $information-tertiary;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
//EXCEPTIONS Please fix it in DLS 2.0
|
|
264
|
+
.errorColor {
|
|
265
|
+
background-color: $error-background;
|
|
266
|
+
color: $error;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.cautionColor {
|
|
270
|
+
background-color: $caution-background;
|
|
271
|
+
color: $caution;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.successColor {
|
|
275
|
+
background-color: $success-background;
|
|
276
|
+
color: $success;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.noAnchorColor {
|
|
280
|
+
color: $information-primary;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.breakWord {
|
|
284
|
+
word-break: break-word;
|
|
285
|
+
}
|