github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/public/js/nestable/nestable.css (about) 1 /** 2 * Nestable 3 */ 4 5 .dd { 6 position: relative; 7 display: block; 8 margin: 0; padding: 0; 9 max-width: 600px; 10 list-style: none; 11 font-size: 13px; 12 line-height: 20px; 13 } 14 15 .dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; } 16 .dd-list .dd-list { padding-left: 30px; } 17 .dd-collapsed .dd-list { display: none; } 18 19 .dd-item, 20 .dd-empty, 21 .dd-placeholder { 22 display: block; 23 position: relative; 24 margin: 0; 25 padding: 0; 26 min-height: 20px; 27 font-size: 13px; 28 line-height: 20px; 29 } 30 31 .dd-handle { 32 display: block; 33 margin: 5px 0; 34 padding: 10px 10px; 35 text-decoration: none; 36 border: 1px solid #ebebeb; 37 background: #fff; 38 -webkit-border-radius: 3px; 39 border-radius: 3px; 40 } 41 .dd-handle:hover {background: #fff; } 42 43 .dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 30px; 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; } 44 .dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; } 45 .dd-item > button[data-action="collapse"]:before { content: '-'; } 46 47 .dd-placeholder, 48 .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; } 49 .dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5; 50 background-size: 60px 60px; 51 background-position: 0 0, 30px 30px; 52 } 53 54 .dd-dragel { position: absolute; pointer-events: none; z-index: 9999; } 55 .dd-dragel > .dd-item .dd-handle { margin-top: 0; } 56 .dd-dragel .dd-handle { 57 -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1); 58 box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1); 59 } 60 61 /** 62 * Nestable Extras 63 */ 64 65 .nestable-lists { display: block; clear: both; padding: 30px 0; width: 100%; border: 0; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; } 66 67 @media only screen and (min-width: 700px) { 68 69 .dd + .dd { margin-left: 2%; } 70 71 } 72 73 .dd-hover > .dd-handle { background: #2ea8e5 !important; } 74 75 /** 76 * Nestable Draggable Handles 77 */ 78 79 .dd3-content { display: block;margin: 5px 0; 80 padding: 10px 10px 10px 50px; 81 text-decoration: none; 82 border: 1px solid #ebebeb; 83 background: #fff; 84 -webkit-border-radius: 3px; 85 border-radius: 3px; 86 } 87 .dd-dragel > .dd3-item > .dd3-content { margin: 0; } 88 89 .dd3-item > button { margin-left: 40px; } 90 91 .dd3-handle { 92 position: absolute; 93 margin: 0; 94 left: 0; 95 top: 0; 96 cursor: pointer; 97 width: 40px; 98 text-indent: 100%; 99 white-space: nowrap; 100 overflow: hidden; 101 border: 1px solid #ebebeb; 102 background: #fff; 103 border-top-right-radius: 0; 104 border-bottom-right-radius: 0; 105 } 106 .dd3-handle:before { content: '≡'; display: block; position: absolute; left: 0; top: 10px; width: 100%; text-align: center; text-indent: 0; color: #ccc; font-size: 20px; font-weight: normal; } 107 .dd3-handle:hover { background: #f7f7f7; }