energy-foundations 0.0.1-beta.2
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/README.md +20 -0
- package/dist/energy-foundations.js +1 -0
- package/dist/energy-foundations.umd.cjs +1 -0
- package/dist/fonts/SoleRepsolText_W_Bd.woff +0 -0
- package/dist/fonts/SoleRepsolText_W_Lt.woff +0 -0
- package/dist/fonts/SoleRepsolText_W_Rg.woff +0 -0
- package/dist/fonts/SoleRepsolText_W_SBd.woff +0 -0
- package/dist/fonts/icomoon.eot +0 -0
- package/dist/fonts/icomoon.ttf +0 -0
- package/dist/fonts/icomoon.woff +0 -0
- package/dist/fonts/selection.json +1 -0
- package/dist/foundations/_border.scss +15 -0
- package/dist/foundations/_color.scss +43 -0
- package/dist/foundations/_elevation.scss +9 -0
- package/dist/foundations/_fonts.scss +759 -0
- package/dist/foundations/_grid.scss +68 -0
- package/dist/foundations/_reset.scss +70 -0
- package/dist/foundations/_shadow.scss +10 -0
- package/dist/foundations/_spacing.scss +56 -0
- package/dist/foundations/_state.scss +5 -0
- package/dist/foundations/_typography.scss +33 -0
- package/dist/global.scss +6 -0
- package/dist/logo-repsol.png +0 -0
- package/dist/main.ts +1 -0
- package/dist/mixins/_elevation.scss +15 -0
- package/dist/mixins/_layout.scss +30 -0
- package/dist/mixins/_shadow.scss +9 -0
- package/dist/mixins/_state.scss +5 -0
- package/dist/mixins/_typography.scss +59 -0
- package/dist/mixins/_utils.scss +8 -0
- package/dist/rds-foundations.scss +20 -0
- package/dist/rds-reset.scss +1 -0
- package/dist/rds-variables.scss +24 -0
- package/dist/stories/assets/accessibility.png +0 -0
- package/dist/stories/assets/accessibility.svg +5 -0
- package/dist/stories/assets/addon-library.png +0 -0
- package/dist/stories/assets/assets.png +0 -0
- package/dist/stories/assets/avif-test-image.avif +0 -0
- package/dist/stories/assets/context.png +0 -0
- package/dist/stories/assets/discord.svg +15 -0
- package/dist/stories/assets/docs.png +0 -0
- package/dist/stories/assets/figma-plugin.png +0 -0
- package/dist/stories/assets/figma.png +0 -0
- package/dist/stories/assets/github.svg +3 -0
- package/dist/stories/assets/grid-desktop.png +0 -0
- package/dist/stories/assets/grid-mobile.png +0 -0
- package/dist/stories/assets/grid-tablet.png +0 -0
- package/dist/stories/assets/grid-xd.png +0 -0
- package/dist/stories/assets/logo-repsol.png +0 -0
- package/dist/stories/assets/npm.png +0 -0
- package/dist/stories/assets/portal.png +0 -0
- package/dist/stories/assets/share.png +0 -0
- package/dist/stories/assets/styling.png +0 -0
- package/dist/stories/assets/testing.png +0 -0
- package/dist/stories/assets/theming.png +0 -0
- package/dist/stories/assets/tutorials.svg +12 -0
- package/dist/stories/assets/variables.png +0 -0
- package/dist/stories/assets/youtube.svg +4 -0
- package/dist/stories/border/border.mdx +71 -0
- package/dist/stories/colors/componentColor.mdx +96 -0
- package/dist/stories/colors/componentColors.scss +2 -0
- package/dist/stories/colors/semanticColor.mdx +458 -0
- package/dist/stories/docs/init.mdx +129 -0
- package/dist/stories/docs/quickStartVue.mdx +98 -0
- package/dist/stories/elevation/elevation.mdx +113 -0
- package/dist/stories/fonts/fonts.mdx +165 -0
- package/dist/stories/functional/Layaout.mdx +42 -0
- package/dist/stories/functional/Utils.mdx +22 -0
- package/dist/stories/grid/Breakpoint.stories.js +16 -0
- package/dist/stories/grid/Gridsystem.mdx +172 -0
- package/dist/stories/grid/ResponsiveGrid.stories.js +47 -0
- package/dist/stories/grid/SimpleGridsystem.stories.js +39 -0
- package/dist/stories/grid/gridsystem.scss +86 -0
- package/dist/stories/icons/icon-list.ts +5 -0
- package/dist/stories/icons/icons.mdx +84 -0
- package/dist/stories/spacing/Spacing.mdx +296 -0
- package/dist/stories/spacing/Spacing.stories.js +132 -0
- package/dist/stories/spacing/spacing-story.scss +94 -0
- package/dist/stories/styles/index.scss +373 -0
- package/dist/stories/styles/overwrite.scss +197 -0
- package/dist/style.css +1 -0
- package/dist/variables/_border.scss +16 -0
- package/dist/variables/_color-system.scss +227 -0
- package/dist/variables/_color.scss +207 -0
- package/dist/variables/_elevation.scss +16 -0
- package/dist/variables/_grid.scss +21 -0
- package/dist/variables/_layout.scss +27 -0
- package/dist/variables/_shadow.scss +3 -0
- package/dist/variables/_spacing.scss +47 -0
- package/dist/variables/_state.scss +10 -0
- package/dist/variables/_typography.scss +380 -0
- package/dist/vite-env.d.ts +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +97 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
@import './../../global';
|
|
2
|
+
@import './../styles/overwrite';
|
|
3
|
+
|
|
4
|
+
.spacing-table {
|
|
5
|
+
.spacing-example {
|
|
6
|
+
align-items: center;
|
|
7
|
+
background-color: $rds-color-gradient-ivory-base;
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
margin: auto;
|
|
11
|
+
width: 128px;
|
|
12
|
+
|
|
13
|
+
&--xxs {
|
|
14
|
+
height: $rds-spacing-layout-xxs;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--xs {
|
|
18
|
+
height: $rds-spacing-layout-xs;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--s {
|
|
22
|
+
height: $rds-spacing-layout-s;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--m {
|
|
26
|
+
height: $rds-spacing-layout-m;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--l {
|
|
30
|
+
height: $rds-spacing-layout-l;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--xl {
|
|
34
|
+
height: $rds-spacing-layout-xl;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&--2xl {
|
|
38
|
+
height: $rds-spacing-layout-2xl;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--3xl {
|
|
42
|
+
height: $rds-spacing-layout-3xl;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&--4xl {
|
|
46
|
+
height: $rds-spacing-layout-4xl;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--5xl {
|
|
50
|
+
height: $rds-spacing-layout-5xl;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--6xl {
|
|
54
|
+
height: $rds-spacing-layout-6xl;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--7xl {
|
|
58
|
+
height: $rds-spacing-layout-7xl;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.spacing-playground {
|
|
64
|
+
&.container {
|
|
65
|
+
align-content: center;
|
|
66
|
+
align-items: center;
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
height: auto;
|
|
70
|
+
justify-content: space-around;
|
|
71
|
+
|
|
72
|
+
.grid-container {
|
|
73
|
+
display: grid;
|
|
74
|
+
grid-template-columns: repeat(2, 1fr);
|
|
75
|
+
width: auto;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.grid-item {
|
|
79
|
+
align-items: center;
|
|
80
|
+
background-color: $rds-color-gradient-ivory-base;
|
|
81
|
+
color: $rds-content-high;
|
|
82
|
+
display: flex;
|
|
83
|
+
height: 100px;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
transition: margin 250 ease, padding 250 ease;
|
|
86
|
+
width: 100px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.stripped-background {
|
|
90
|
+
background-image: linear-gradient(45deg, #e04343 2.38%, #ffffff 2.38%, #ffffff 50%, #e04343 50%, #e04343 52.38%, #ffffff 52.38%, #ffffff 100%);
|
|
91
|
+
background-size: 29.70px 29.70px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
@import './../../global';
|
|
2
|
+
@import './overwrite';
|
|
3
|
+
// some colores
|
|
4
|
+
$titles: #808080;
|
|
5
|
+
$color-dark-sand: #EBC1AD;
|
|
6
|
+
$color-light-sand: #F5E0D6;
|
|
7
|
+
$color-lightest-sand: #FBF3EF;
|
|
8
|
+
|
|
9
|
+
.mt-0 {
|
|
10
|
+
margin-top: 20px !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mt-1 {
|
|
14
|
+
margin-top: 50px !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mt-2 {
|
|
18
|
+
margin-top: 80px !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
table {
|
|
22
|
+
border-collapse: collapse;
|
|
23
|
+
margin-bottom: 60px;
|
|
24
|
+
margin-top: 40px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
td {
|
|
29
|
+
border-bottom: 1px solid #ddd;
|
|
30
|
+
padding: 8px;
|
|
31
|
+
|
|
32
|
+
&.width {
|
|
33
|
+
&__one-third {
|
|
34
|
+
width: 33.33%;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__two-third {
|
|
39
|
+
width: 66.66%;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__half {
|
|
43
|
+
width: 50%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__full {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
td.full-col {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
td.right {
|
|
56
|
+
text-align: right;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
td.left {
|
|
60
|
+
min-width: 200px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
td.center {
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
th {
|
|
68
|
+
color: $titles;
|
|
69
|
+
height: 50px;
|
|
70
|
+
text-align: left;
|
|
71
|
+
}
|
|
72
|
+
// colors
|
|
73
|
+
.rds-doc {
|
|
74
|
+
&__color-headline {
|
|
75
|
+
margin-bottom: 10px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__color {
|
|
79
|
+
align-items: center;
|
|
80
|
+
background-color: $rds-color-gradient-ivory-base;
|
|
81
|
+
display: flex;
|
|
82
|
+
height: 48px;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
margin: auto;
|
|
85
|
+
width: 128px;
|
|
86
|
+
|
|
87
|
+
&--radius-s {
|
|
88
|
+
border-radius: $rds-radius-s;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--radius-m {
|
|
92
|
+
border-radius: $rds-radius-m;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&--radius-l {
|
|
96
|
+
border-radius: $rds-radius-l;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&--radius-round {
|
|
100
|
+
border-radius: $rds-radius-round;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__color-circle {
|
|
105
|
+
align-items: center;
|
|
106
|
+
background-color: $rds-color-gradient-ivory-base;
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
display: flex;
|
|
109
|
+
height: 48px;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
margin: auto;
|
|
112
|
+
width: 48px;
|
|
113
|
+
|
|
114
|
+
&--dark {
|
|
115
|
+
background-color: $rds-color-navy-80;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&--navy-80 {
|
|
119
|
+
color: $rds-content-high;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&--navy-60 {
|
|
123
|
+
color: $rds-content-medium;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&--navy-60-op-03 {
|
|
127
|
+
color: $rds-content-state-disabled;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&--basic-white {
|
|
131
|
+
color: $rds-content-high-inverse;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&--basic-white-op-03 {
|
|
135
|
+
color: $rds-content-state-disabled-inverse;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&--basic-white-op-07 {
|
|
139
|
+
color: $rds-content-medium-inverse;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&--bg-default {
|
|
143
|
+
background-color: $rds-background-default;
|
|
144
|
+
border: 1px solid $rds-border-high;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&--bg-alternative {
|
|
148
|
+
background-color: $rds-background-alternative;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&--bg-sand {
|
|
152
|
+
background-color: $rds-surface-sand;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--ivory-gradient {
|
|
156
|
+
background-image: $rds-highlightedSurface-ivoryGradient;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&--orange-gradient {
|
|
160
|
+
background-image: $rds-highlightedSurface-orangeGradient;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&--blue-gradient {
|
|
164
|
+
background-image: $rds-highlightedSurface-blueGradient;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&--border-low {
|
|
168
|
+
background-color: $rds-background-default;
|
|
169
|
+
border: 1px solid $rds-border-low;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&--border-orange-gradient {
|
|
173
|
+
background-image: $rds-highlightedSurface-orangeGradient;
|
|
174
|
+
|
|
175
|
+
&::after {
|
|
176
|
+
background-color: $rds-background-default;
|
|
177
|
+
border-radius: 50%;
|
|
178
|
+
content: '';
|
|
179
|
+
height: 44px;
|
|
180
|
+
width: 44px;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&--border-high-inverse,
|
|
185
|
+
&--border-low-inverse {
|
|
186
|
+
background-color: $rds-color-navy-80;
|
|
187
|
+
|
|
188
|
+
&::after {
|
|
189
|
+
border-radius: 50%;
|
|
190
|
+
content: '';
|
|
191
|
+
height: 30px;
|
|
192
|
+
width: 30px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&--border-high-inverse {
|
|
197
|
+
&::after {
|
|
198
|
+
box-shadow: inset 0px 0px 0px 1px $rds-border-high-inverse;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&--border-low-inverse {
|
|
203
|
+
&::after {
|
|
204
|
+
box-shadow: inset 0px 0px 0px 1px $rds-border-low-inverse;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&--sf-success {
|
|
209
|
+
background-color: $rds-semantic-background-success;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&--sf-error {
|
|
213
|
+
background-color: $rds-semantic-background-error;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&--sf-warning {
|
|
217
|
+
background-color: $rds-semantic-background-warning;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&--sf-information {
|
|
221
|
+
background-color: $rds-semantic-background-information;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&--promo {
|
|
225
|
+
background-color: $rds-extended-surface-promo;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&__color-text {
|
|
230
|
+
margin: auto;
|
|
231
|
+
|
|
232
|
+
&--success {
|
|
233
|
+
color: $rds-semantic-content-success;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&--error {
|
|
237
|
+
color: $rds-semantic-content-error;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&--warning {
|
|
241
|
+
color: $rds-semantic-content-warning;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&--information {
|
|
245
|
+
color: $rds-semantic-content-information;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&--promo {
|
|
249
|
+
color: $rds-extended-content-promo;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&-elevation {
|
|
254
|
+
align-items: center;
|
|
255
|
+
display: flex;
|
|
256
|
+
height: 128px;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
margin: auto;
|
|
259
|
+
width: 250px;
|
|
260
|
+
|
|
261
|
+
&__overlay {
|
|
262
|
+
@include rds-style-effect-overlay;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
&__glass {
|
|
266
|
+
@include rds-style-effect-glass;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
&__background-image {
|
|
270
|
+
background-image: url('./assets/logo-repsol.png');
|
|
271
|
+
background-position: center center;
|
|
272
|
+
background-repeat: no-repeat;
|
|
273
|
+
background-size: contain;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&__background-color {
|
|
277
|
+
background-color: $rds-background-default;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// layout
|
|
282
|
+
&__layout {
|
|
283
|
+
&-cell {
|
|
284
|
+
&--label {
|
|
285
|
+
width: 40%;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&--graph {
|
|
289
|
+
text-align: center;
|
|
290
|
+
width: 40%;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&--right {
|
|
294
|
+
text-align: right;
|
|
295
|
+
width: 20%;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&-graph {
|
|
300
|
+
color: #43637D;
|
|
301
|
+
height: 100%;
|
|
302
|
+
padding: 0 10px;
|
|
303
|
+
text-align: center;
|
|
304
|
+
width: 100%;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&-icon {
|
|
309
|
+
&__container {
|
|
310
|
+
display: flex;
|
|
311
|
+
flex-wrap: wrap;
|
|
312
|
+
width: 100%;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&__item {
|
|
316
|
+
align-items: center;
|
|
317
|
+
cursor: pointer;
|
|
318
|
+
display: flex;
|
|
319
|
+
flex-direction: column;
|
|
320
|
+
justify-content: end;
|
|
321
|
+
padding: 24px 0;
|
|
322
|
+
width: 200px;
|
|
323
|
+
|
|
324
|
+
&--copied {
|
|
325
|
+
background-color: $rds-surface-sand;
|
|
326
|
+
border-radius: $rds-radius-m;
|
|
327
|
+
transition: all 0.3s ease;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
// & > span:not(.caption) {
|
|
331
|
+
// font-size: 24px;
|
|
332
|
+
// }
|
|
333
|
+
|
|
334
|
+
span.caption {
|
|
335
|
+
margin-top: 8px;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
&__component-colors {
|
|
341
|
+
&__content-state {
|
|
342
|
+
&--hover {
|
|
343
|
+
background-color: $rds-color-interactive-content-hover;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
&--active {
|
|
347
|
+
background-color: $rds-color-interactive-content-active;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
&__interactive-surface {
|
|
352
|
+
&--default {
|
|
353
|
+
background-color: $rds-color-interactive-surface-default;
|
|
354
|
+
border: 1px solid $rds-color-turquoise-50;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
&--alternative {
|
|
358
|
+
background-color: $rds-color-interactive-surface-alternative;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&__surface-states {
|
|
363
|
+
&--hover {
|
|
364
|
+
background-color: $rds-color-interactive-surface-hover;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
&--active {
|
|
368
|
+
background-color: $rds-color-interactive-surface-active;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
* {
|
|
2
|
+
font-family: $rds-typography-f-text !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
p, li {
|
|
6
|
+
font: $rds-typography-w-medium pxToRem(16) / pxToRem(24) $rds-typography-f-text !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sb-container {
|
|
10
|
+
margin-bottom: 48px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sb-section {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
gap: 20px;
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
img {
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// code blocks
|
|
25
|
+
|
|
26
|
+
.css-12u9f4 {
|
|
27
|
+
border: unset !important;
|
|
28
|
+
box-shadow: unset !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
.css-12u9f4 pre.prismjs {
|
|
33
|
+
background-color: $rds-surface-sand !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.css-1fdphfk {
|
|
37
|
+
border: unset !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
.css-qa4clq :where(pre:not(.sb-anchor, .sb-unstyled, .sb-unstyled pre)) pre, .css-qa4clq :where(pre:not(.sb-anchor, .sb-unstyled, .sb-unstyled pre)).prismjs {
|
|
42
|
+
font: $rds-typography-w-medium pxToRem(16) / pxToRem(24) $rds-typography-f-text !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.css-qa4clq :where(p:not(.sb-anchor, .sb-unstyled, .sb-unstyled p)) code {
|
|
46
|
+
font-size: 14px !important;
|
|
47
|
+
padding: 5px 10px !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sb-section-title {
|
|
51
|
+
margin-bottom: 32px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sb-section a:not(h1 a, h2 a, h3 a) {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.sb-section-item > img {
|
|
59
|
+
height: 120px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sb-section-item, .sb-grid-item {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex: 1;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sb-section-item-heading {
|
|
69
|
+
margin: 0 !important;
|
|
70
|
+
padding-bottom: 5px !important;
|
|
71
|
+
padding-top: 20px !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.sb-section-item-paragraph {
|
|
75
|
+
margin: 0;
|
|
76
|
+
min-height: 80px;
|
|
77
|
+
padding-bottom: 10px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sb-chevron {
|
|
81
|
+
margin-left: 5px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sb-features-grid {
|
|
85
|
+
display: grid;
|
|
86
|
+
grid-gap: 32px 20px;
|
|
87
|
+
grid-template-columns: repeat(2, 1fr);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.sb-socials {
|
|
91
|
+
display: grid;
|
|
92
|
+
grid-template-columns: repeat(4, 1fr);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sb-socials p {
|
|
96
|
+
margin-bottom: 10px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sb-explore-image {
|
|
100
|
+
align-self: flex-start;
|
|
101
|
+
max-height: 32px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sb-addon {
|
|
105
|
+
align-items: center;
|
|
106
|
+
background: #EEF3F8;
|
|
107
|
+
background-color: #EEF3F8;
|
|
108
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
109
|
+
border-radius: 5px;
|
|
110
|
+
display: flex;
|
|
111
|
+
height: 180px;
|
|
112
|
+
margin-bottom: 48px;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
position: relative;
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sb-addon-text {
|
|
119
|
+
max-width: 240px;
|
|
120
|
+
padding-left: 48px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.sb-addon-text h4 {
|
|
124
|
+
padding-top: 0px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.sb-addon-img {
|
|
128
|
+
height: 100%;
|
|
129
|
+
left: 345px;
|
|
130
|
+
overflow: hidden;
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: 0;
|
|
133
|
+
width: 200%;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sb-addon-img img {
|
|
137
|
+
backface-visibility: hidden;
|
|
138
|
+
box-shadow: 0 0 1px rgba(255, 255, 255, 0);
|
|
139
|
+
margin-left: 40px;
|
|
140
|
+
margin-top: -72px;
|
|
141
|
+
transform: rotate(-15deg);
|
|
142
|
+
width: 650px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.css-202uf2 :where(div:not(.sb-anchor, .sb-unstyled, .sb-unstyled div)) {
|
|
146
|
+
margin: unset !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media screen and (max-width: 800px) {
|
|
150
|
+
.sb-addon-img {
|
|
151
|
+
left: 300px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media screen and (max-width: 600px) {
|
|
156
|
+
.sb-section {
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sb-features-grid {
|
|
161
|
+
grid-template-columns: repeat(1, 1fr);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sb-socials {
|
|
165
|
+
grid-template-columns: repeat(2, 1fr);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sb-addon {
|
|
169
|
+
align-items: flex-start;
|
|
170
|
+
height: 280px;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
padding-top: 32px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.sb-addon-text {
|
|
176
|
+
padding-left: 24px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sb-addon-img {
|
|
180
|
+
bottom: 0;
|
|
181
|
+
height: auto;
|
|
182
|
+
left: 0;
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
right: 0;
|
|
185
|
+
top: 130px;
|
|
186
|
+
width: 124%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.sb-addon-img img {
|
|
190
|
+
margin-bottom: -40px;
|
|
191
|
+
margin-left: 0;
|
|
192
|
+
margin-left: -24px;
|
|
193
|
+
margin-top: 48px;
|
|
194
|
+
transform: rotate(-12deg);
|
|
195
|
+
width: 1200px;
|
|
196
|
+
}
|
|
197
|
+
}
|