@celestia-island/hikari 0.49.6 → 0.49.7
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
CHANGED
|
@@ -130,6 +130,11 @@
|
|
|
130
130
|
transform var(--hk-modal-duration, 0.25s)
|
|
131
131
|
var(--hk-modal-ease-in, cubic-bezier(0.4, 0, 1, 1));
|
|
132
132
|
will-change: transform, opacity;
|
|
133
|
+
// Collapse toward the frame's own top edge: the height shrink reads as
|
|
134
|
+
// the box folding upward (the unveil's reverse), not as a centered
|
|
135
|
+
// shrink — and the top-of-content (header) keeps its anchor while the
|
|
136
|
+
// rest eases down and out with the fade.
|
|
137
|
+
transform-origin: 50% 0;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.hk-modal-content-enter-from {
|
|
@@ -148,12 +153,12 @@
|
|
|
148
153
|
|
|
149
154
|
.hk-modal-content-leave-from {
|
|
150
155
|
opacity: 1;
|
|
151
|
-
transform: translate(-50%, -50%);
|
|
156
|
+
transform: translate(-50%, -50%) scaleY(1);
|
|
152
157
|
}
|
|
153
158
|
|
|
154
159
|
.hk-modal-content-leave-to {
|
|
155
160
|
opacity: 0;
|
|
156
|
-
transform: translate(-50%, -50%)
|
|
161
|
+
transform: translate(-50%, -50%) scaleY(0.9);
|
|
157
162
|
}
|
|
158
163
|
}
|
|
159
164
|
|