提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* Nestable |
|
3 |
*/ |
|
4 |
.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; } |
|
5 |
.dd-list .dd-list { padding-left: 30px; } |
|
6 |
.dd-collapsed .dd-list { display: none; } |
|
7 |
|
|
8 |
.dd-item, |
|
9 |
.dd-empty, |
|
10 |
.dd-placeholder { display: block; position: relative; margin: 0; padding: 0; min-height: 20px; font-size: 13px; line-height: 20px; } |
|
11 |
|
|
12 |
.dd-handle { display: block; height: 30px; margin: 5px 0; cursor: move; padding: 5px 10px; color: #333; text-decoration: none; font-weight: 400; border: 1px solid #ccc; |
|
13 |
background: #fafafa; |
|
14 |
-webkit-border-radius: 3px; |
|
15 |
border-radius: 3px; |
|
16 |
box-sizing: border-box; -moz-box-sizing: border-box; |
|
17 |
} |
|
18 |
.dd-handle:hover { color: #2ea8e5; background: #fff; } |
|
19 |
|
|
20 |
.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 7px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 10px; line-height: 1; text-align: center; font-weight: bold; } |
|
21 |
.dd-item > button:before { content: '\f067'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; font-family: 'FontAwesome' } |
|
22 |
.dd-item > button[data-action="collapse"]:before { content: '\f068'; } |
|
23 |
|
|
24 |
.dd-placeholder, |
|
25 |
.dd-empty { |
|
26 |
margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; |
|
27 |
box-sizing: border-box; -moz-box-sizing: border-box; } |
|
28 |
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5; |
|
29 |
background-size: 60px 60px; |
|
30 |
background-position: 0 0, 30px 30px; |
|
31 |
} |
|
32 |
|
|
33 |
.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; } |
|
34 |
.dd-dragel > .dd-item .dd-handle { margin-top: 0; } |
|
35 |
.dd-dragel .dd-handle { |
|
36 |
-webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1); |
|
37 |
box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1); |
|
38 |
} |
|
39 |
|
|
40 |
.dd-hover > .dd-handle { background: #2ea8e5 !important; } |
|
41 |
|
|
42 |
/** |
|
43 |
* Nestable Draggable Handles |
|
44 |
*/ |
|
45 |
|
|
46 |
.dd3-content { display: block; height: 30px; margin: 5px 0; padding: 5px 10px 5px 40px; color: #333; text-decoration: none; font-weight: 400; border: 1px solid #ccc; |
|
47 |
background: #fafafa; |
|
48 |
-webkit-border-radius: 3px; |
|
49 |
border-radius: 3px; |
|
50 |
box-sizing: border-box; -moz-box-sizing: border-box; |
|
51 |
} |
|
52 |
.dd3-content:hover { color: #2ea8e5; background: #fff; } |
|
53 |
|
|
54 |
.dd-dragel > .dd3-item > .dd3-content { margin: 0; } |
|
55 |
|
|
56 |
.dd3-item > button { margin-left: 30px; } |
|
57 |
|
|
58 |
.dd3-handle { position: absolute; margin: 0; left: 0; top: 0; cursor:move; width: 30px; text-indent: 100%; white-space: nowrap; overflow: hidden; |
|
59 |
border: 1px solid #aaa; |
|
60 |
background: #ddd; |
|
61 |
border-top-right-radius: 0; |
|
62 |
border-bottom-right-radius: 0; |
|
63 |
} |
|
64 |
.dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 3px; width: 100%; text-align: center; text-indent: 0; color: #fff; font-size: 20px; font-weight: normal; } |
|
65 |
.dd3-handle:hover { background: #ddd; } |