tdesign-mobile-vue
Version:
tdesign-mobile-vue
31 lines (24 loc) • 527 B
text/less
// 组件允许单个组件打包,因此默认引入公共基础样式
@import "../../base.less";
@import "./_var.less";
.@{prefix}-overlay {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 100%;
z-index: @overlay-zindex;
background-color: @overlay-bg-color;
&-enter-from,
&-leave-to {
background-color: transparent;
}
&-enter-active,
&-leave-active {
transition-property: background-color;
transition-timing-function: ease;
}
&-overflow-hidden {
overflow: hidden;
}
}