water_xcx/miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxss

43 lines
588 B
Plaintext
Raw Permalink Normal View History

2025-04-15 15:44:51 +08:00
.t-float-left {
float: left;
}
.t-float-right {
float: right;
}
@keyframes tdesign-fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.hotspot-expanded.relative {
position: relative;
}
.hotspot-expanded::after {
content: '';
display: block;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
transform: scale(1.5);
}
.t-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
bottom: 0;
background-color: rgba(0, 0, 0, 0.6);
transition: opacity 300ms ease;
}
.t-fade-enter {
opacity: 0;
}
.t-fade-leave-to {
opacity: 0;
}