mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 18:34:22 +00:00
33 lines
1009 B
CSS
33 lines
1009 B
CSS
/* ==========================================================================
|
|
Overlay / Scrim
|
|
========================================================================== */
|
|
|
|
.media-minimal-skin .media-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background-image: linear-gradient(to top, oklch(0 0 0 / 0.7), oklch(0 0 0 / 0.5) 7.5rem, oklch(0 0 0 / 0));
|
|
backdrop-filter: blur(0) saturate(1.5);
|
|
opacity: 0;
|
|
transition-property: opacity, backdrop-filter;
|
|
transition-duration: 500ms;
|
|
transition-delay: 500ms;
|
|
transition-timing-function: ease-out;
|
|
pointer-events: none;
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
transition-duration: 100ms;
|
|
}
|
|
}
|
|
|
|
.media-minimal-skin .media-controls[data-visible] ~ .media-overlay,
|
|
.media-minimal-skin .media-error[data-open] ~ .media-overlay {
|
|
opacity: 1;
|
|
transition-duration: 150ms;
|
|
transition-delay: 0ms;
|
|
}
|
|
|
|
.media-minimal-skin .media-error[data-open] ~ .media-overlay {
|
|
backdrop-filter: blur(16px) saturate(1.5);
|
|
}
|