|
51 | 51 | } |
52 | 52 |
|
53 | 53 | .frame-container.responsive-viewport { |
| 54 | + position: relative; |
54 | 55 | justify-content: center; |
55 | 56 | align-items: stretch; |
56 | 57 | background: #1a1a1e; |
|
61 | 62 | } |
62 | 63 |
|
63 | 64 | .responsive-handle { |
64 | | - width: 6px; |
65 | | - cursor: ew-resize; |
66 | 65 | background: transparent; |
67 | 66 | flex-shrink: 0; |
68 | | - position: relative; |
69 | 67 | z-index: 5; |
70 | 68 | transition: background 0.15s; |
71 | 69 | } |
|
75 | 73 | background: rgba(66, 133, 244, 0.5); |
76 | 74 | } |
77 | 75 |
|
78 | | -.responsive-handle::after { |
| 76 | +.responsive-handle-horizontal { |
| 77 | + width: 6px; |
| 78 | + cursor: ew-resize; |
| 79 | + position: relative; |
| 80 | +} |
| 81 | + |
| 82 | +.responsive-handle-horizontal::after { |
79 | 83 | content: ''; |
80 | 84 | position: absolute; |
81 | 85 | top: 50%; |
|
87 | 91 | background: rgba(255, 255, 255, 0.25); |
88 | 92 | } |
89 | 93 |
|
90 | | -.responsive-handle:hover::after, |
91 | | -.responsive-handle.dragging::after { |
| 94 | +.responsive-handle-horizontal:hover::after, |
| 95 | +.responsive-handle-horizontal.dragging::after { |
| 96 | + background: rgba(255, 255, 255, 0.6); |
| 97 | +} |
| 98 | + |
| 99 | +.responsive-handle-vertical { |
| 100 | + position: absolute; |
| 101 | + height: 6px; |
| 102 | + cursor: ns-resize; |
| 103 | +} |
| 104 | + |
| 105 | +.responsive-handle-vertical::after { |
| 106 | + content: ''; |
| 107 | + position: absolute; |
| 108 | + top: 50%; |
| 109 | + left: 50%; |
| 110 | + transform: translate(-50%, -50%); |
| 111 | + width: 24px; |
| 112 | + height: 2px; |
| 113 | + border-radius: 1px; |
| 114 | + background: rgba(255, 255, 255, 0.25); |
| 115 | +} |
| 116 | + |
| 117 | +.responsive-handle-vertical:hover::after, |
| 118 | +.responsive-handle-vertical.dragging::after { |
92 | 119 | background: rgba(255, 255, 255, 0.6); |
93 | 120 | } |
94 | 121 |
|
|
0 commit comments