negodesign 0.0.23 → 0.0.24
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.
|
@@ -88,8 +88,10 @@
|
|
|
88
88
|
>
|
|
89
89
|
{#each layers as bg, i (i)}
|
|
90
90
|
<div
|
|
91
|
-
class="absolute inset-0 will-change-[opacity]"
|
|
92
91
|
style="
|
|
92
|
+
position: absolute;
|
|
93
|
+
inset: 0;
|
|
94
|
+
will-change: opacity;
|
|
93
95
|
background-image: {bg ? `url(${bg})` : 'none'};
|
|
94
96
|
background-size: cover;
|
|
95
97
|
background-position: center;
|
|
@@ -100,7 +102,9 @@
|
|
|
100
102
|
></div>
|
|
101
103
|
{/each}
|
|
102
104
|
|
|
103
|
-
<div
|
|
105
|
+
<div
|
|
106
|
+
style="position: absolute; inset: 0; height: 100%; background-color: rgba(0,0,0,0.4);"
|
|
107
|
+
></div>
|
|
104
108
|
|
|
105
109
|
<div class="relative z-10 w-full flex flex-col items-center flex-1">
|
|
106
110
|
<NavMenu {...navMenu} />
|
|
@@ -136,7 +140,9 @@
|
|
|
136
140
|
</div>
|
|
137
141
|
|
|
138
142
|
{#if items && items.length > 1}
|
|
139
|
-
<div
|
|
143
|
+
<div
|
|
144
|
+
style="position: absolute; bottom: 0.75rem; z-index: 10; display: flex; gap: 0.5rem;"
|
|
145
|
+
>
|
|
140
146
|
{#each items as item, i (i)}
|
|
141
147
|
<button
|
|
142
148
|
aria-label={`Ir para o slide ${i + 1}: ${item.title}`}
|
package/dist/globals.css
CHANGED
|
@@ -345,9 +345,6 @@
|
|
|
345
345
|
.bottom-2 {
|
|
346
346
|
bottom: calc(var(--spacing) * 2);
|
|
347
347
|
}
|
|
348
|
-
.bottom-3 {
|
|
349
|
-
bottom: calc(var(--spacing) * 3);
|
|
350
|
-
}
|
|
351
348
|
.left-0 {
|
|
352
349
|
left: 0px;
|
|
353
350
|
}
|
|
@@ -1356,12 +1353,6 @@
|
|
|
1356
1353
|
background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
|
|
1357
1354
|
}
|
|
1358
1355
|
}
|
|
1359
|
-
.bg-black\/40 {
|
|
1360
|
-
background-color: color-mix(in srgb, #000 40%, transparent);
|
|
1361
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1362
|
-
background-color: color-mix(in oklab, var(--color-black) 40%, transparent);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
1356
|
.bg-black\/50 {
|
|
1366
1357
|
background-color: color-mix(in srgb, #000 50%, transparent);
|
|
1367
1358
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2092,9 +2083,6 @@
|
|
|
2092
2083
|
--tw-ease: linear;
|
|
2093
2084
|
transition-timing-function: linear;
|
|
2094
2085
|
}
|
|
2095
|
-
.will-change-\[opacity\] {
|
|
2096
|
-
will-change: opacity;
|
|
2097
|
-
}
|
|
2098
2086
|
.outline-none {
|
|
2099
2087
|
--tw-outline-style: none;
|
|
2100
2088
|
outline-style: none;
|