1 | $border-layout-ct-background: $neutral-color !default;
|
---|
2 |
|
---|
3 | $toolbar-scroll-border-color: #8db2e3 !default;
|
---|
4 |
|
---|
5 | @mixin extjs-layout {
|
---|
6 | .#{$prefix}docked {
|
---|
7 | position: absolute !important;
|
---|
8 | z-index: 1;
|
---|
9 | }
|
---|
10 |
|
---|
11 | /**
|
---|
12 | * Dock Layouts
|
---|
13 | * @todo move this somewhere else?
|
---|
14 | */
|
---|
15 | .#{$prefix}docked-top {
|
---|
16 | // border-bottom-width: 0 !important; TODO remove this
|
---|
17 | }
|
---|
18 |
|
---|
19 | .#{$prefix}docked-bottom {
|
---|
20 | border-top-width: 0 !important;
|
---|
21 | }
|
---|
22 |
|
---|
23 | .#{$prefix}docked-left {
|
---|
24 | border-right-width: 0 !important;
|
---|
25 | }
|
---|
26 |
|
---|
27 | .#{$prefix}docked-right {
|
---|
28 | border-left-width: 0 !important;
|
---|
29 | }
|
---|
30 |
|
---|
31 | .#{$prefix}docked-noborder-top {
|
---|
32 | border-top-width: 0 !important;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .#{$prefix}docked-noborder-right {
|
---|
36 | border-right-width: 0 !important;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .#{$prefix}docked-noborder-bottom {
|
---|
40 | border-bottom-width: 0 !important;
|
---|
41 | }
|
---|
42 |
|
---|
43 | .#{$prefix}docked-noborder-left {
|
---|
44 | border-left-width: 0 !important;
|
---|
45 | }
|
---|
46 |
|
---|
47 | .#{$prefix}box-inner {
|
---|
48 | overflow: hidden;
|
---|
49 | position: relative;
|
---|
50 | left: 0;
|
---|
51 | top: 0;
|
---|
52 | // @tag iezoomhack
|
---|
53 | }
|
---|
54 |
|
---|
55 | .#{$prefix}box-item {
|
---|
56 | position: absolute !important;
|
---|
57 | left: 0;
|
---|
58 | top: 0;
|
---|
59 | }
|
---|
60 |
|
---|
61 | .#{$prefix}rtl .#{$prefix}box-item {
|
---|
62 | right: 0;
|
---|
63 | left: auto;
|
---|
64 | }
|
---|
65 |
|
---|
66 | .#{$prefix}box-layout-ct,
|
---|
67 | .#{$prefix}border-layout-ct {
|
---|
68 | overflow: hidden;
|
---|
69 | // @tag iezoomhack
|
---|
70 | }
|
---|
71 |
|
---|
72 | .#{$prefix}border-layout-ct {
|
---|
73 | background-color: #E4E5E5;
|
---|
74 |
|
---|
75 | .#{$prefix}border-layout-ct {
|
---|
76 | background-color: darken(#E4E5E5, 5%);
|
---|
77 | }
|
---|
78 | }
|
---|
79 |
|
---|
80 | .x-panel-default-framed > .#{$prefix}border-layout-ct {
|
---|
81 | background-color: $panel-base-color;
|
---|
82 |
|
---|
83 | .#{$prefix}border-layout-ct {
|
---|
84 | background-color: darken($panel-base-color, 5%);
|
---|
85 | }
|
---|
86 | // padding: 5px;
|
---|
87 |
|
---|
88 | .#{$prefix}panel {
|
---|
89 | // margin: 5px;
|
---|
90 | }
|
---|
91 |
|
---|
92 | .#{$prefix}panel-body {
|
---|
93 | // border: 0;
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | .#{$prefix}overflow-hidden {
|
---|
98 | overflow: hidden !important;
|
---|
99 | }
|
---|
100 |
|
---|
101 | .#{$prefix}inline-children > * {
|
---|
102 | display: inline-block !important;
|
---|
103 | }
|
---|
104 |
|
---|
105 | .#{$prefix}abs-layout-ct {
|
---|
106 | position: relative;
|
---|
107 | }
|
---|
108 |
|
---|
109 | .#{$prefix}abs-layout-item {
|
---|
110 | position: absolute !important;
|
---|
111 | }
|
---|
112 |
|
---|
113 | .#{$prefix}fit-item {
|
---|
114 | position: relative;
|
---|
115 | }
|
---|
116 |
|
---|
117 | .#{$prefix}border-region-slide-in {
|
---|
118 | z-index: 5;
|
---|
119 | }
|
---|
120 |
|
---|
121 | .#{$prefix}region-collapsed-placeholder {
|
---|
122 | z-index: 4;
|
---|
123 | }
|
---|
124 |
|
---|
125 | // Framing
|
---|
126 |
|
---|
127 | .#{$prefix}frame-tl,
|
---|
128 | .#{$prefix}frame-tr,
|
---|
129 | .#{$prefix}frame-tc,
|
---|
130 | .#{$prefix}frame-bl,
|
---|
131 | .#{$prefix}frame-br,
|
---|
132 | .#{$prefix}frame-bc {
|
---|
133 | overflow: hidden;
|
---|
134 | background-repeat: no-repeat;
|
---|
135 | }
|
---|
136 |
|
---|
137 | .#{$prefix}frame-tc,
|
---|
138 | .#{$prefix}frame-bc {
|
---|
139 | background-repeat: repeat-x;
|
---|
140 | }
|
---|
141 |
|
---|
142 | .#{$prefix}frame-mc {
|
---|
143 | position: relative;
|
---|
144 | background-repeat: repeat-x;
|
---|
145 | overflow: hidden;
|
---|
146 | }
|
---|
147 |
|
---|
148 | // Classes for horizontal Box layout scroller.
|
---|
149 | // Uses the *TAB* scroller image because it's all we have.
|
---|
150 | // This will not work well in other cases
|
---|
151 | .#{$prefix}box-scroller-left, .#{$prefix}box-scroller-right {
|
---|
152 | height: 100%;
|
---|
153 | z-index: 5;
|
---|
154 | }
|
---|
155 |
|
---|
156 | .#{$prefix}toolbar-scroll-left, .#{$prefix}tabbar-scroll-left,
|
---|
157 | .#{$prefix}toolbar-scroll-right, .#{$prefix}tabbar-scroll-right {
|
---|
158 | @extend .mr-white-glove;
|
---|
159 | position: relative;
|
---|
160 | // width: 18px;
|
---|
161 | // height: $tab-height;
|
---|
162 | }
|
---|
163 |
|
---|
164 | .#{$prefix}toolbar-scroll-left, .#{$prefix}toolbar-scroll-right {
|
---|
165 | // width: 14px;
|
---|
166 | // height: 22px;
|
---|
167 | // border-bottom: 1px solid $toolbar-scroll-border-color;
|
---|
168 | }
|
---|
169 |
|
---|
170 | .#{$prefix}toolbar-scroll-left-disabled,
|
---|
171 | .#{$prefix}tabbar-scroll-left-disabled,
|
---|
172 | .#{$prefix}toolbar-scroll-right-disabled,
|
---|
173 | .#{$prefix}tabbar-scroll-right-disabled {
|
---|
174 | @include opacity(.5);
|
---|
175 | cursor: default;
|
---|
176 | }
|
---|
177 |
|
---|
178 | .#{$prefix}box-scroller-left {
|
---|
179 | float: left;
|
---|
180 |
|
---|
181 | // .#{$prefix}toolbar-scroll-left,
|
---|
182 | // .#{$prefix}tabbar-scroll-left {
|
---|
183 | // background: theme-background-image($theme-name, 'tab-bar/scroll-left.gif') no-repeat -18px 0;
|
---|
184 | // }
|
---|
185 | // .#{$prefix}toolbar-scroll-left-hover {
|
---|
186 | // background-position: 0 0;
|
---|
187 | // }
|
---|
188 | // .#{$prefix}toolbar-scroll-left-disabled,
|
---|
189 | // .#{$prefix}tabbar-scroll-left-disabled {
|
---|
190 | // background-position: -18px 0;
|
---|
191 | // }
|
---|
192 | // .#{$prefix}toolbar-scroll-left {
|
---|
193 | // background-image: theme-background-image($theme-name, 'toolbar/scroll-left.gif');
|
---|
194 | // background-position: -14px 0;
|
---|
195 | // }
|
---|
196 | // .#{$prefix}toolbar-scroll-left-hover {
|
---|
197 | // background-position: 0 0;
|
---|
198 | // }
|
---|
199 | // .#{$prefix}toolbar-scroll-left-disabled {
|
---|
200 | // background-position: -14px 0;
|
---|
201 | // }
|
---|
202 | }
|
---|
203 |
|
---|
204 | .#{$prefix}horizontal-box-overflow-body {
|
---|
205 | float: left;
|
---|
206 | }
|
---|
207 |
|
---|
208 | .#{$prefix}box-scroller-right {
|
---|
209 | float: right;
|
---|
210 |
|
---|
211 | .#{$prefix}toolbar-scroll-right,
|
---|
212 | .#{$prefix}tabbar-scroll-right {
|
---|
213 | background: theme-background-image($theme-name, 'tab-bar/scroll-right.gif') no-repeat 0 0;
|
---|
214 | }
|
---|
215 | .#{$prefix}toolbar-scroll-right-hover {
|
---|
216 | background-position: -18px 0;
|
---|
217 | }
|
---|
218 | .#{$prefix}toolbar-scroll-right-disabled,
|
---|
219 | .#{$prefix}tabbar-scroll-right-disabled {
|
---|
220 | background-position: 0 0;
|
---|
221 | }
|
---|
222 |
|
---|
223 | .#{$prefix}toolbar-scroll-right {
|
---|
224 | background-image: theme-background-image($theme-name, 'toolbar/scroll-right.gif');
|
---|
225 | }
|
---|
226 | .#{$prefix}toolbar-scroll-right-hover {
|
---|
227 | background-position: -14px 0;
|
---|
228 | }
|
---|
229 | .#{$prefix}toolbar-scroll-right-disabled {
|
---|
230 | background-position: 0 0;
|
---|
231 | }
|
---|
232 | }
|
---|
233 |
|
---|
234 | // Classes for vertical Box layout scroller
|
---|
235 | .#{$prefix}box-scroller-top {
|
---|
236 | .#{$prefix}box-scroller {
|
---|
237 | line-height: 0;
|
---|
238 | font-size: 0;
|
---|
239 | }
|
---|
240 | .#{$prefix}menu-scroll-top {
|
---|
241 | background: transparent no-repeat center center;
|
---|
242 | background-image: theme-background-image($theme-name, 'layout/mini-top.gif');
|
---|
243 | height: 8px;
|
---|
244 | cursor: pointer;
|
---|
245 | }
|
---|
246 | }
|
---|
247 | .#{$prefix}box-scroller-bottom {
|
---|
248 | .#{$prefix}box-scroller {
|
---|
249 | line-height: 0;
|
---|
250 | font-size: 0;
|
---|
251 | }
|
---|
252 | .#{$prefix}menu-scroll-bottom {
|
---|
253 | background: transparent no-repeat center center;
|
---|
254 | background-image: theme-background-image($theme-name, 'layout/mini-bottom.gif');
|
---|
255 | height: 8px;
|
---|
256 | cursor: pointer;
|
---|
257 | }
|
---|
258 | }
|
---|
259 |
|
---|
260 | .#{$prefix}box-menu-right {
|
---|
261 | float: right;
|
---|
262 | padding-right: $toolbar-horizontal-spacing;
|
---|
263 | }
|
---|
264 |
|
---|
265 | .#{$prefix}column {
|
---|
266 | float: left;
|
---|
267 | }
|
---|
268 | @if $include-ie {
|
---|
269 | .#{$prefix}ie6 .#{$prefix}column {
|
---|
270 | display: inline; /*prevent IE6 double-margin bug*/
|
---|
271 | }
|
---|
272 | }
|
---|
273 | }
|
---|