1 | @mixin extjs-resizable {
|
---|
2 | .#{$prefix}resizable-handle {
|
---|
3 | position: absolute;
|
---|
4 | z-index: 100;
|
---|
5 | font-size: 1px;
|
---|
6 | line-height: 6px;
|
---|
7 |
|
---|
8 | overflow: hidden;
|
---|
9 | @include opacity(0);
|
---|
10 | // @tag iezoomhack
|
---|
11 | }
|
---|
12 |
|
---|
13 | .#{$prefix}resizable-handle-east {
|
---|
14 | width: 6px;
|
---|
15 | height: 100%;
|
---|
16 |
|
---|
17 | right: 0;
|
---|
18 | top: 0;
|
---|
19 | }
|
---|
20 |
|
---|
21 | // @tag question Wrapper seems unnecessary?
|
---|
22 |
|
---|
23 | .#{$prefix}resizable-over {
|
---|
24 | .#{$prefix}resizable-handle-east {
|
---|
25 | cursor: e-resize;
|
---|
26 | }
|
---|
27 |
|
---|
28 | .#{$prefix}resizable-handle-south {
|
---|
29 | cursor: s-resize;
|
---|
30 | }
|
---|
31 |
|
---|
32 | .#{$prefix}resizable-handle-west {
|
---|
33 | cursor: w-resize;
|
---|
34 | }
|
---|
35 |
|
---|
36 | .#{$prefix}resizable-handle-north {
|
---|
37 | cursor: n-resize;
|
---|
38 | }
|
---|
39 |
|
---|
40 | .#{$prefix}resizable-handle-southeast {
|
---|
41 | cursor: se-resize;
|
---|
42 | }
|
---|
43 |
|
---|
44 | .#{$prefix}resizable-handle-northwest {
|
---|
45 | cursor: nw-resize;
|
---|
46 | }
|
---|
47 |
|
---|
48 | .#{$prefix}resizable-handle-northeast {
|
---|
49 | cursor: ne-resize;
|
---|
50 | }
|
---|
51 |
|
---|
52 | .#{$prefix}resizable-handle-southwest {
|
---|
53 | cursor: sw-resize;
|
---|
54 | }
|
---|
55 | }
|
---|
56 |
|
---|
57 | .#{$prefix}resizable-handle-south {
|
---|
58 | width: 100%;
|
---|
59 | height: 6px;
|
---|
60 |
|
---|
61 | left: 0;
|
---|
62 | bottom: 0;
|
---|
63 | }
|
---|
64 |
|
---|
65 | .#{$prefix}resizable-handle-west {
|
---|
66 | width: 6px;
|
---|
67 | height: 100%;
|
---|
68 |
|
---|
69 | left: 0;
|
---|
70 | top: 0;
|
---|
71 | }
|
---|
72 |
|
---|
73 | .#{$prefix}resizable-handle-north {
|
---|
74 | width: 100%;
|
---|
75 | height: 6px;
|
---|
76 |
|
---|
77 | left: 0;
|
---|
78 | top: 0;
|
---|
79 | }
|
---|
80 |
|
---|
81 | .#{$prefix}resizable-handle-southeast {
|
---|
82 | width: 6px;
|
---|
83 | height: 6px;
|
---|
84 |
|
---|
85 | right: 0;
|
---|
86 | bottom: 0;
|
---|
87 |
|
---|
88 | z-index: 101;
|
---|
89 | }
|
---|
90 |
|
---|
91 | .#{$prefix}resizable-handle-northwest {
|
---|
92 | width: 6px;
|
---|
93 | height: 6px;
|
---|
94 |
|
---|
95 | left: 0;
|
---|
96 | top: 0;
|
---|
97 |
|
---|
98 | z-index: 101;
|
---|
99 | }
|
---|
100 |
|
---|
101 | .#{$prefix}resizable-handle-northeast {
|
---|
102 | width: 6px;
|
---|
103 | height: 6px;
|
---|
104 |
|
---|
105 | right: 0;
|
---|
106 | top: 0;
|
---|
107 |
|
---|
108 | z-index: 101;
|
---|
109 | }
|
---|
110 |
|
---|
111 | .#{$prefix}resizable-handle-southwest {
|
---|
112 | width: 6px;
|
---|
113 | height: 6px;
|
---|
114 |
|
---|
115 | left: 0;
|
---|
116 | bottom: 0;
|
---|
117 |
|
---|
118 | z-index: 101;
|
---|
119 | }
|
---|
120 |
|
---|
121 | // IE rounding error
|
---|
122 | .#{$prefix}ie {
|
---|
123 | .#{$prefix}resizable-handle-east {
|
---|
124 | margin-right: -1px; /*IE rounding error*/
|
---|
125 | }
|
---|
126 |
|
---|
127 | .#{$prefix}resizable-handle-south {
|
---|
128 | margin-bottom: -1px;
|
---|
129 | }
|
---|
130 | }
|
---|
131 |
|
---|
132 | .#{$prefix}resizable-over .#{$prefix}resizable-handle, .#{$prefix}resizable-pinned .#{$prefix}resizable-handle{
|
---|
133 | @include opacity(1);
|
---|
134 | }
|
---|
135 |
|
---|
136 | .#{$prefix}window .#{$prefix}window-handle {
|
---|
137 | @include opacity(0);
|
---|
138 | }
|
---|
139 |
|
---|
140 | .#{$prefix}window-collapsed .#{$prefix}window-handle {
|
---|
141 | display: none;
|
---|
142 | }
|
---|
143 |
|
---|
144 | .#{$prefix}resizable-proxy {
|
---|
145 | border: 1px dashed #3b5a82;
|
---|
146 | position: absolute;
|
---|
147 | left: 0;
|
---|
148 | top: 0;
|
---|
149 | overflow: hidden;
|
---|
150 | z-index: 50000;
|
---|
151 | }
|
---|
152 |
|
---|
153 | .#{$prefix}resizable-overlay {
|
---|
154 | position: absolute;
|
---|
155 | left: 0;
|
---|
156 | top: 0;
|
---|
157 |
|
---|
158 | width: 100%;
|
---|
159 | height: 100%;
|
---|
160 |
|
---|
161 | display: none;
|
---|
162 |
|
---|
163 | z-index: 200000;
|
---|
164 |
|
---|
165 | background-color: #fff;
|
---|
166 |
|
---|
167 | @include opacity(0);
|
---|
168 | }
|
---|
169 |
|
---|
170 | .#{$prefix}resizable-over,
|
---|
171 | .#{$prefix}resizable-pinned {
|
---|
172 | .#{$prefix}resizable-handle-east,
|
---|
173 | .#{$prefix}resizable-handle-west {
|
---|
174 | background-position: left;
|
---|
175 | background-image: theme-background-image($theme-name, 'sizer/e-handle.gif');
|
---|
176 | }
|
---|
177 |
|
---|
178 | .#{$prefix}resizable-handle-south,
|
---|
179 | .#{$prefix}resizable-handle-north {
|
---|
180 | background-position: top;
|
---|
181 | background-image: theme-background-image($theme-name, 'sizer/s-handle.gif');
|
---|
182 | }
|
---|
183 |
|
---|
184 | .#{$prefix}resizable-handle-southeast {
|
---|
185 | background-position: top left;
|
---|
186 | background-image: theme-background-image($theme-name, 'sizer/se-handle.gif');
|
---|
187 | }
|
---|
188 |
|
---|
189 | .#{$prefix}resizable-handle-northwest {
|
---|
190 | background-position: bottom right;
|
---|
191 | background-image: theme-background-image($theme-name, 'sizer/nw-handle.gif');
|
---|
192 | }
|
---|
193 |
|
---|
194 | .#{$prefix}resizable-handle-northeast {
|
---|
195 | background-position: bottom left;
|
---|
196 | background-image: theme-background-image($theme-name, 'sizer/ne-handle.gif');
|
---|
197 | }
|
---|
198 |
|
---|
199 | .#{$prefix}resizable-handle-southwest {
|
---|
200 | background-position: top right;
|
---|
201 | background-image: theme-background-image($theme-name, 'sizer/sw-handle.gif');
|
---|
202 | }
|
---|
203 | }
|
---|
204 | } |
---|