|
| 1 | +html, body, #root, #root > div { |
| 2 | + height: 100%; |
| 3 | + margin: 0; |
| 4 | + box-sizing: border-box; |
| 5 | + font-family: Arial; |
| 6 | +} |
| 7 | + |
| 8 | +#root > div { |
| 9 | + position: relative; |
| 10 | + padding: 0px; |
| 11 | +} |
| 12 | + |
| 13 | +#toolbar { |
| 14 | + position: fixed; |
| 15 | + bottom: 0; |
| 16 | + height: 24px; |
| 17 | + padding: 12px 0; |
| 18 | + width: 100%; |
| 19 | + border-top: 1px solid #999; |
| 20 | + background-color: #CCC; |
| 21 | + z-index: 999; |
| 22 | +} |
| 23 | + |
| 24 | +.drag-handle, |
| 25 | +.drag-cancel { |
| 26 | + padding: 6px; |
| 27 | + margin: 6px; |
| 28 | + background-color: #CCC; |
| 29 | + border: 2px solid; |
| 30 | +} |
| 31 | + |
| 32 | +.drag-handle:hover { |
| 33 | + cursor: move; |
| 34 | +} |
| 35 | + |
| 36 | +.drag-cancel:hover { |
| 37 | + cursor: not-allowed; |
| 38 | +} |
| 39 | + |
| 40 | +.my-class { |
| 41 | + background-color: green; |
| 42 | + border: 1px solid red; |
| 43 | + -webkit-transition: background-color 200ms linear; |
| 44 | + -ms-transition: background-color 200ms linear; |
| 45 | + transition: background-color 200ms linear; |
| 46 | +} |
| 47 | + |
| 48 | +.my-dragging-class { |
| 49 | + background-color: red; |
| 50 | + border: 1px solid black; |
| 51 | +} |
| 52 | + |
| 53 | +.my-resizing-class { |
| 54 | + background-color: blue; |
| 55 | + border: 1px solid black; |
| 56 | + color: white; |
| 57 | +} |
| 58 | + |
| 59 | +.my-active-class { |
| 60 | + border: 1px solid black; |
| 61 | + -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); |
| 62 | + -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); |
| 63 | + box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); |
| 64 | +} |
| 65 | + |
| 66 | +.my-handle-class { |
| 67 | + position: absolute; |
| 68 | + border: 1px solid black; |
| 69 | + border-radius: 50%; |
| 70 | + height: 14px; |
| 71 | + width: 14px; |
| 72 | + font-size: 1em; |
| 73 | + line-height: 1em; |
| 74 | + box-sizing: border-box; |
| 75 | + -webkit-transition: all 300ms linear; |
| 76 | + -ms-transition: all 300ms linear; |
| 77 | + transition: all 300ms linear; |
| 78 | +} |
| 79 | + |
| 80 | +.my-handle-class-tl { |
| 81 | + top: -14px; |
| 82 | + left: -14px; |
| 83 | + cursor: nw-resize; |
| 84 | +} |
| 85 | +.my-handle-class-tm { |
| 86 | + top: -14px; |
| 87 | + left: 50%; |
| 88 | + margin-left: -7px; |
| 89 | + cursor: n-resize; |
| 90 | +} |
| 91 | +.my-handle-class-tr { |
| 92 | + top: -14px; |
| 93 | + right: -14px; |
| 94 | + cursor: ne-resize; |
| 95 | +} |
| 96 | +.my-handle-class-ml { |
| 97 | + top: 50%; |
| 98 | + margin-top: -7px; |
| 99 | + left: -14px; |
| 100 | + cursor: w-resize; |
| 101 | +} |
| 102 | +.my-handle-class-mr { |
| 103 | + top: 50%; |
| 104 | + margin-top: -7px; |
| 105 | + right: -14px; |
| 106 | + cursor: e-resize; |
| 107 | +} |
| 108 | +.my-handle-class-bl { |
| 109 | + bottom: -14px; |
| 110 | + left: -14px; |
| 111 | + cursor: sw-resize; |
| 112 | +} |
| 113 | +.my-handle-class-bm { |
| 114 | + bottom: -14px; |
| 115 | + left: 50%; |
| 116 | + margin-left: -7px; |
| 117 | + cursor: s-resize; |
| 118 | +} |
| 119 | +.my-handle-class-br { |
| 120 | + bottom: -14px; |
| 121 | + right: -14px; |
| 122 | + cursor: se-resize; |
| 123 | +} |
| 124 | +.my-handle-class-tl:hover, |
| 125 | +.my-handle-class-tm:hover, |
| 126 | +.my-handle-class-tr:hover, |
| 127 | +.my-handle-class-ml:hover, |
| 128 | +.my-handle-class-mr:hover, |
| 129 | +.my-handle-class-bl:hover, |
| 130 | +.my-handle-class-bm:hover, |
| 131 | +.my-handle-class-br:hover { |
| 132 | + transform: scale(1.4); |
| 133 | +} |
| 134 | +.select-box-dashed{ |
| 135 | + position: absolute; |
| 136 | + width: 0px; |
| 137 | + height: 0px; |
| 138 | + padding: 0px; |
| 139 | + margin: 0px; |
| 140 | + border: 1px dashed #0099ff; |
| 141 | + z-index:9999; |
| 142 | + background-color: #c3d5ed; |
| 143 | + opacity: 0.5; |
| 144 | + filter: alpha(opacity=50); |
| 145 | + font-size: 0px; |
| 146 | +} |
| 147 | + |
0 commit comments