eva-css-fluid 1.0.1

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.
@@ -0,0 +1,434 @@
1
+ a{
2
+ text-decoration: none;
3
+ color: var(--dark-d);
4
+ }
5
+
6
+ a:not(.no-hover) {
7
+ text-decoration: none;
8
+ &:hover {
9
+ background-color: var(--brand__);
10
+ span {
11
+ color: var(--brand-d);
12
+
13
+ }
14
+ &:is(._bg-brand) {
15
+ background-color: var(--dark);
16
+ span {
17
+ color: var(--light);
18
+ }
19
+ }
20
+ }
21
+ }
22
+
23
+ body {
24
+ margin: 0;
25
+ font-family: var(--body-font), sans-serif;
26
+ font-optical-sizing: auto;
27
+ font-style: normal;
28
+ background-color: var(--light-b);
29
+ font-weight: var(--body-weight);
30
+ color: var(--dark);
31
+ overflow: auto;
32
+ container-type: inline-size;
33
+ }
34
+
35
+ h1, .logo {
36
+ margin: 0;
37
+ padding: 0;
38
+ font-optical-sizing: auto;
39
+ font-style: normal;
40
+ font-variation-settings: "wght" var(--title-weight), "wdth" var(--title-width);
41
+ font-family: var(--title-font), sans-serif;
42
+ }
43
+
44
+ .logo{
45
+ margin-top: 0.2em;
46
+ }
47
+
48
+ h2{
49
+ margin: 0;
50
+ padding: 0;
51
+ font-optical-sizing: auto;
52
+ font-style: normal;
53
+ font-variation-settings: "wght" var(--sub-title-weight), "wdth" var(--sub-title-width);
54
+ font-family: var(--title-font), sans-serif;
55
+ }
56
+
57
+
58
+ h3,
59
+ h4 {
60
+ margin: 0;
61
+ padding: 0;
62
+ font-optical-sizing: auto;
63
+ font-style: normal;
64
+ font-variation-settings: "wght" var(--sub-sub-title-weight), "wdth" var(--sub-sub-title-width);
65
+ letter-spacing: var(--sub-sub-title-spacing);
66
+ font-family: var(--title-font), sans-serif;
67
+ }
68
+ h5 {
69
+ margin: 0;
70
+ padding: 0;
71
+ font-optical-sizing: auto;
72
+ font-style: normal;
73
+ font-variation-settings: "wght" var(--sub-sub-title-weight), "wdth" var(--sub-sub-title-width);
74
+ letter-spacing: var(--sub-title-spacing);
75
+ font-family: var(--title-font), sans-serif;
76
+ }
77
+ p {
78
+ margin: 0;
79
+ }
80
+ .dark-light-toggle{
81
+ position: fixed;
82
+ bottom: calc(50% - calc(var(--52_) / 2));
83
+ right: 1rem;
84
+ z-index: 1000;
85
+ cursor: pointer;
86
+ background-color: var(--brand__);
87
+ border-radius: 50%;
88
+ width: var(--52_);
89
+ height: var(--52_);
90
+ display: flex;
91
+ align-items: center;
92
+ justify-content: center;
93
+ svg{
94
+ width: 50%;
95
+ height: auto;
96
+ fill: var(--dark);
97
+ }
98
+ }
99
+ nav {
100
+ background-color: var(--light___);
101
+ backdrop-filter: blur(1rem);
102
+ top: 0px;
103
+ width: 100%;
104
+ position: fixed;
105
+ z-index: 100;
106
+
107
+ ol {
108
+ display: flex;
109
+ margin: 0;
110
+ padding: 0;
111
+ width: 100%;
112
+ list-style: none;
113
+ gap: var(--52__);
114
+
115
+ li {
116
+ padding: var(--8);
117
+ border-radius: var(--12-);
118
+ outline: 1px solid var(--dark___);
119
+ text-align: center;
120
+ flex: 1;
121
+ cursor: pointer;
122
+ &:hover:not(.selected) {
123
+ background-color: var(--dark);
124
+ color: var(--light);
125
+ }
126
+ &.selected {
127
+ color: var(--light);
128
+ background-color: var(--brand);
129
+ outline: 3px solid var(--brand__);
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ p {
136
+ width: 100%;
137
+ line-height: 1.6;
138
+ max-width: var(--576);
139
+ }
140
+
141
+
142
+ .item-card{
143
+ position: relative;
144
+ > * {
145
+ background-color: var(--light);
146
+ border-radius: var(--4);
147
+ padding: var(--4) var(--8);
148
+ font-size: var(--fs-10);
149
+ position: absolute;
150
+ bottom:0px;
151
+ left:50%;
152
+ width: max-content;
153
+ transform: translateX(-50%) translateY(50%);
154
+ }
155
+ }
156
+
157
+ .framework-card {
158
+
159
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
160
+ border: 2px solid var(--brand___);
161
+ position: relative;
162
+ &.no-border{
163
+ border: none;
164
+ }
165
+
166
+ }
167
+
168
+ .framework-card:hover {
169
+
170
+ border-color: var(--brand__);
171
+ }
172
+
173
+ .card-icon {
174
+ width: var(--84_);
175
+ aspect-ratio: 1/1;
176
+ display: flex;
177
+ align-items: flex-start;
178
+ justify-content: flex-start;
179
+
180
+ &.deco{
181
+ width: 50%;
182
+ height: auto;
183
+ display: flex;
184
+ align-items: center;
185
+ justify-content: center;
186
+ position: absolute;
187
+ top: 0;
188
+ left: 0;
189
+ z-index: 1;
190
+ opacity: 1;
191
+ transform: translate(-10%, -10%);
192
+ filter: blur(20px);
193
+ }
194
+
195
+ svg{
196
+
197
+ width: 100% !important;
198
+ height: auto !important;
199
+ * {stroke-width: 0.5px!important;}
200
+
201
+ }
202
+ }
203
+
204
+ section {
205
+ width: 100%;
206
+
207
+ padding-bottom: var(--156);
208
+ position: relative;
209
+ z-index: 20;
210
+ nav {
211
+ padding-inline: unset;
212
+ z-index: unset;
213
+ position: relative;
214
+ }
215
+ }
216
+
217
+ /* Burger Menu Styles */
218
+ .burger-menu {
219
+ display: none;
220
+ flex-direction: column;
221
+ justify-content: space-between;
222
+ width: 30px;
223
+ height: 24px;
224
+ background: none;
225
+ border: none;
226
+ cursor: pointer;
227
+ padding: 0;
228
+ margin: 0;
229
+ z-index: 101;
230
+ transition: all 0.3s ease;
231
+
232
+ .burger-line {
233
+ width: 100%;
234
+ height: 3px;
235
+ background-color: var(--brand);
236
+ border-radius: 2px;
237
+ transition: all 0.3s ease;
238
+ transform-origin: center;
239
+ }
240
+
241
+ &.active {
242
+ .burger-line:nth-child(1) {
243
+ transform: translateY(10.5px) rotate(45deg);
244
+ }
245
+
246
+ .burger-line:nth-child(2) {
247
+ opacity: 0;
248
+ }
249
+
250
+ .burger-line:nth-child(3) {
251
+ transform: translateY(-10.5px) rotate(-45deg);
252
+ }
253
+ }
254
+ }
255
+
256
+ /* Mobile Menu Styles */
257
+ @media (max-width: 768px) {
258
+ .burger-menu {
259
+ display: flex;
260
+ }
261
+
262
+ #menu {
263
+ position: fixed;
264
+ top: 100%;
265
+ left: 0;
266
+ width: 100%;
267
+ height: auto;
268
+ background-color: var(--light);
269
+ flex-direction: column;
270
+ justify-content: flex-start;
271
+ align-items: center;
272
+ padding: var(--52_) var(--20_);
273
+ gap: var(--20_);
274
+ transform: translateY(calc(-100% - 6rem));
275
+ transition: transform 0.3s ease;
276
+ z-index: 100;
277
+
278
+ &.menu-open {
279
+ transform: translateY(0);
280
+ }
281
+
282
+ a {
283
+ width: 100%;
284
+ text-align: center;
285
+ padding: var(--16_) var(--20_);
286
+ margin: 0;
287
+ }
288
+ }
289
+
290
+ }
291
+
292
+ /* Inner Menu Dropdown Styles */
293
+ .inner-menu {
294
+ position: relative;
295
+ display: inline-block;
296
+
297
+
298
+
299
+ ul {
300
+ position: absolute;
301
+ top: 100%;
302
+ left: 50%;
303
+ transform: translateX(-50%);
304
+ background-color: var(--light-b_) !important;
305
+ border-radius: var(--12-);
306
+ border: 1px solid var(--brand___);
307
+ padding: var(--8_);
308
+ margin: 0;
309
+ list-style: none;
310
+ display: none;
311
+ z-index: 200;
312
+
313
+ li {
314
+ margin: 0;
315
+
316
+ a {
317
+ display: flex;
318
+ align-items: center;
319
+ justify-content: flex-start;
320
+ width: 100%;
321
+ margin: var(--4_) 0;
322
+ border-radius: var(--8_);
323
+
324
+ span{
325
+ word-break: keep-all;
326
+ white-space: nowrap;
327
+ }
328
+
329
+ &:hover {
330
+ background-color: var(--brand__);
331
+
332
+ span {
333
+ color: var(--brand-d);
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+
340
+ &.hover-menu{
341
+ width: auto;
342
+ ul {
343
+ display: none;
344
+ flex-direction: column;
345
+ align-items: flex-start;
346
+ justify-content: flex-start;
347
+
348
+ width: auto;
349
+ background-color: var(--light);
350
+ border-radius: var(--12-);
351
+
352
+ li{
353
+ width: 100%;
354
+ a{
355
+ width: 100%;
356
+ }
357
+ }
358
+ }
359
+ &:hover{
360
+ ul {
361
+ display: flex;
362
+ }
363
+ }
364
+ }
365
+
366
+
367
+ @media (min-width: 768px) {
368
+
369
+ &:not(.hover-menu){
370
+ position: unset;
371
+ display: flex;
372
+ opacity: 1;
373
+
374
+
375
+ ul {
376
+ width: 100%;
377
+ transition: transform 0.2s ease-in-out;
378
+ transform: translateY(0%);
379
+ flex-direction: row;
380
+ align-items: center;
381
+ justify-content: center;
382
+ gap: var(--20_);
383
+ display: flex;
384
+ left: 0;
385
+ transform: translateX(0%);
386
+ border-radius: 0;
387
+ border: none;
388
+ border-bottom: 1px solid var(--brand___);
389
+ border-top: 1px solid var(--brand___);
390
+
391
+ }
392
+
393
+ &.stack-menu{
394
+ ul {
395
+ transform: translateY(-100%);
396
+ }
397
+ }
398
+ }
399
+ }
400
+ }
401
+
402
+
403
+
404
+ /* Responsive adjustments for inner-menu */
405
+ @media (max-width: 768px) {
406
+ .inner-menu {
407
+ width: 100%;
408
+
409
+ ul {
410
+ position: static;
411
+ opacity: 1;
412
+ visibility: visible;
413
+ transform: none;
414
+ box-shadow: none;
415
+ border: none;
416
+ background-color: transparent;
417
+ padding: 0;
418
+ margin-top: var(--8_);
419
+
420
+ li {
421
+ a {
422
+ &:hover {
423
+ transform: none;
424
+ }
425
+ }
426
+ }
427
+ }
428
+ &:hover {
429
+ ul {
430
+ display: block;
431
+ }
432
+ }
433
+ }
434
+ }
@@ -0,0 +1,70 @@
1
+ // ===========================================
2
+ // EVA CSS - Configuration Module
3
+ // ===========================================
4
+ // This module centralizes all configuration variables
5
+ // All other modules @use this file to access config
6
+ // ===========================================
7
+
8
+ @use "sass:list";
9
+
10
+ // ===========================================
11
+ // SIZE CONFIGURATION
12
+ // ===========================================
13
+
14
+ $sizes: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128 !default;
15
+ $font-sizes: 12, 14, 16, 18, 20, 24, 32, 48 !default;
16
+
17
+ // ===========================================
18
+ // BUILD FLAGS
19
+ // ===========================================
20
+
21
+ $px-rem-suffix: false !default; // Add static px/rem values for debugging
22
+ $build-class: true !default; // Generate utility classes
23
+ $build-color-classes: true !default; // Generate color classes
24
+ $custom-class: false !default; // Enable custom class filtering
25
+ $name-by-size: true !default; // Use size values in variable names
26
+
27
+ // ===========================================
28
+ // DERIVED CONFIGURATION
29
+ // ===========================================
30
+
31
+ $setters-type: "__", "_", "", "-", "-px", "-rem";
32
+
33
+ $sizing-class: "__", "_", "", "-";
34
+ @if $px-rem-suffix {
35
+ $sizing-class: list.append($sizing-class, "-px");
36
+ $sizing-class: list.append($sizing-class, "-rem");
37
+ }
38
+
39
+ $font-size-class: "__", "_", "";
40
+ @if $px-rem-suffix {
41
+ $font-size-class: list.append($font-size-class, "-px");
42
+ $font-size-class: list.append($font-size-class, "-rem");
43
+ }
44
+
45
+ // ===========================================
46
+ // PROPERTY MAPS
47
+ // ===========================================
48
+
49
+ $properties: (
50
+ w: width,
51
+ mw: max-width,
52
+ h: height,
53
+ p: padding,
54
+ px: padding-inline,
55
+ pr: padding-right,
56
+ py: padding-block,
57
+ br: border-radius,
58
+ mb: margin-bottom,
59
+ mr: margin-right,
60
+ ml: margin-left,
61
+ mt: margin-top,
62
+ pt: padding-top,
63
+ pb: padding-bottom,
64
+ g: gap,
65
+ gap: gap,
66
+ );
67
+
68
+ $font-properties: (
69
+ fs: font-size,
70
+ );