city-casereport/miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxss
2023-12-06 14:22:42 +08:00

43 lines
678 B
Plaintext

.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: var(--td-overlay-bg-color, var(--td-font-gray-2, rgba(0, 0, 0, 0.6)));
transition: opacity var(--td-overlay-transition-duration, 300ms) ease;
}
.t-fade-enter {
opacity: 0;
}
.t-fade-leave-to {
opacity: 0;
}