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