-
Notifications
You must be signed in to change notification settings - Fork 147
/
jquery.nestable.css
112 lines (101 loc) · 2.09 KB
/
jquery.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.dd {
position: relative;
display: block;
margin: 0;
padding: 0;
max-width: 600px;
list-style: none;
font-size: 13px;
line-height: 20px; }
.dd-list {
display: block;
position: relative;
margin: 0;
padding: 0;
list-style: none; }
.dd-list .dd-list {
padding-left: 30px; }
.dd-item,
.dd-empty,
.dd-placeholder {
display: block;
position: relative;
margin: 0;
padding: 0;
min-height: 20px;
font-size: 13px;
line-height: 20px; }
.dd-handle {
display: block;
height: 30px;
margin: 5px 0;
padding: 5px 10px;
color: #333;
text-decoration: none;
font-weight: bold;
border: 1px solid #ccc;
background: #fafafa;
border-radius: 3px;
box-sizing: border-box; }
.dd-handle:hover {
color: #2ea8e5;
background: #fff; }
.dd-item > button {
position: relative;
cursor: pointer;
float: left;
width: 25px;
height: 20px;
margin: 5px 0;
padding: 0;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
border: 0;
background: transparent;
font-size: 12px;
line-height: 1;
text-align: center;
font-weight: bold; }
.dd-item > button:before {
display: block;
position: absolute;
width: 100%;
text-align: center;
text-indent: 0; }
.dd-item > button.dd-expand:before {
content: '+'; }
.dd-item > button.dd-collapse:before {
content: '-'; }
.dd-expand {
display: none; }
.dd-collapsed .dd-list,
.dd-collapsed .dd-collapse {
display: none; }
.dd-collapsed .dd-expand {
display: block; }
.dd-empty,
.dd-placeholder {
margin: 5px 0;
padding: 0;
min-height: 30px;
background: #f2fbff;
border: 1px dashed #b6bcbf;
box-sizing: border-box;
-moz-box-sizing: border-box; }
.dd-empty {
border: 1px dashed #bbb;
min-height: 100px;
background-color: #e5e5e5;
background-size: 60px 60px;
background-position: 0 0, 30px 30px; }
.dd-dragel {
position: absolute;
pointer-events: none;
z-index: 9999; }
.dd-dragel > .dd-item .dd-handle {
margin-top: 0; }
.dd-dragel .dd-handle {
box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1); }
.dd-nochildren .dd-placeholder {
display: none; }