|
| 1 | +.Resizer { |
| 2 | + background: #000; |
| 3 | + opacity: 0.2; |
| 4 | + z-index: 1; |
| 5 | + -moz-box-sizing: border-box; |
| 6 | + -webkit-box-sizing: border-box; |
| 7 | + box-sizing: border-box; |
| 8 | + -moz-background-clip: padding; |
| 9 | + -webkit-background-clip: padding; |
| 10 | + background-clip: padding-box; |
| 11 | +} |
| 12 | + |
| 13 | +.Resizer:hover { |
| 14 | + -webkit-transition: all 2s ease; |
| 15 | + transition: all 2s ease; |
| 16 | +} |
| 17 | + |
| 18 | +.Resizer.horizontal { |
| 19 | + height: 11px; |
| 20 | + margin: -5px 0; |
| 21 | + border-top: 5px solid rgba(255, 255, 255, 0); |
| 22 | + border-bottom: 5px solid rgba(255, 255, 255, 0); |
| 23 | + cursor: row-resize; |
| 24 | + width: 100%; |
| 25 | +} |
| 26 | + |
| 27 | +.Resizer.horizontal:hover { |
| 28 | + border-top: 5px solid rgba(0, 0, 0, 0.5); |
| 29 | + border-bottom: 5px solid rgba(0, 0, 0, 0.5); |
| 30 | +} |
| 31 | + |
| 32 | +.Resizer.vertical { |
| 33 | + width: 11px; |
| 34 | + margin: 0 -5px; |
| 35 | + border-left: 5px solid rgba(255, 255, 255, 0); |
| 36 | + border-right: 5px solid rgba(255, 255, 255, 0); |
| 37 | + cursor: col-resize; |
| 38 | +} |
| 39 | + |
| 40 | +.Resizer.vertical:hover { |
| 41 | + border-left: 5px solid rgba(0, 0, 0, 0.5); |
| 42 | + border-right: 5px solid rgba(0, 0, 0, 0.5); |
| 43 | +} |
| 44 | +.Resizer.disabled { |
| 45 | + cursor: not-allowed; |
| 46 | +} |
| 47 | +.Resizer.disabled:hover { |
| 48 | + border-color: transparent; |
| 49 | +} |
0 commit comments