-
Notifications
You must be signed in to change notification settings - Fork 67
/
vue-nestable.css
81 lines (81 loc) · 1.41 KB
/
vue-nestable.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
* Style for nestable
*/
.nestable {
position: relative;
}
.nestable-rtl {
direction: rtl;
}
.nestable .nestable-list {
margin: 0;
padding: 0 0 0 40px;
list-style-type: none;
}
.nestable-rtl .nestable-list {
padding: 0 40px 0 0;
}
.nestable > .nestable-list {
padding: 0;
}
.nestable-item,
.nestable-item-copy {
margin: 10px 0 0;
}
.nestable-item:first-child,
.nestable-item-copy:first-child {
margin-top: 0;
}
.nestable-item .nestable-list,
.nestable-item-copy .nestable-list {
margin-top: 10px;
}
.nestable-item {
position: relative;
}
.nestable-item.is-dragging .nestable-list {
pointer-events: none;
}
.nestable-item.is-dragging * {
opacity: 0;
filter: alpha(opacity=0);
}
.nestable-item.is-dragging:before {
content: ' ';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(106, 127, 233, 0.274);
border: 1px dashed rgb(73, 100, 241);
-webkit-border-radius: 5px;
border-radius: 5px;
}
.nestable-drag-layer {
position: fixed;
top: 0;
left: 0;
z-index: 100;
pointer-events: none;
}
.nestable-rtl .nestable-drag-layer {
left: auto;
right: 0;
}
.nestable-drag-layer > .nestable-list {
position: absolute;
top: 0;
left: 0;
padding: 0;
background-color: rgba(106, 127, 233, 0.274);
}
.nestable-rtl .nestable-drag-layer > .nestable-list {
padding: 0;
}
.nestable [draggable="true"] {
cursor: move;
}
.nestable-handle {
display: inline;
}