zent
Version:
一套前端设计语言和基于React的实现
28 lines (27 loc) • 743 B
CSS
.zent-sortable__fallback {
background-color: rgba(255, 255, 255, 0.5);
background-color: rgba(var(--theme-rgb-section-bg, var(--theme-rgb-stroke-9, 255, 255, 255)), 0.5);
}
.zent-sortable:not(.zent-sortable--grabbing):not(.zent-sortable--handle) > * {
cursor: -webkit-grab;
cursor: grab;
}
.zent-sortable .zent-sortable__drag {
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
opacity: 0.3;
}
.zent-sortable .zent-sortable__ghost {
position: relative;
}
.zent-sortable .zent-sortable__ghost::before {
background-color: #f7f7f7;
background-color: var(--theme-body-bg, var(--theme-stroke-8, #f7f7f7));
content: "";
display: inline-block;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}