table-dragger
Version:
Drag and sort columns and rows of table
68 lines (55 loc) • 1.04 kB
CSS
.sindu_dragger {
list-style: none;
margin: 0;
padding: 0;
overflow: hidden;
box-sizing: border-box;
}
.sindu_handle {
cursor: move;
}
.sindu_dragger li {
margin: 0;
padding: 0;
list-style: none;
text-align: inherit;
}
.sindu_dragger li table, .sindu_dragger tr, .sindu_dragger th, .sindu_dragger td {
box-sizing: border-box;
}
.gu-mirror {
list-style: none;
}
.sindu_dragger.sindu_column li {
float: left;
}
.sindu_dragging .sindu_origin_table {
visibility: hidden;
}
.gu-mirror {
position: fixed ;
margin: 0 ;
z-index: 9999 ;
opacity: 0.8;
}
.gu-mirror li {
margin: 0;
padding: 0;
list-style: none;
text-align: inherit;
}
.gu-mirror li table, .gu-mirror tr, .gu-mirror th, .gu-mirror td {
box-sizing: border-box;
}
.gu-hide {
display: none ;
}
.gu-unselectable {
-webkit-user-select: none ;
-moz-user-select: none ;
-ms-user-select: none ;
user-select: none ;
}
.gu-transit {
opacity: 0.5;
}