_core.scss2.html
6.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
<script type="text/javascript">
function highlight() {
document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
}
</script>
</head>
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">.#{$prefix}body {
color: $color;
font-size: $font-size;
font-family: $font-family;
}
.#{$prefix}rtl {
direction: rtl;
}
.#{$prefix}ltr {
direction: ltr;
}
.#{$prefix}clear {
overflow: hidden;
clear: both;
font-size: 0;
line-height: 0;
display: table;
}
.#{$prefix}strict .#{$prefix}ie7 .#{$prefix}clear {
// In IE7 strict the clear element has to have both a height and width of 0, otherwise the height of its parent element gets
// increased by 1px. We cannot simply add the zero height/width for all browsers, because in IE quirks the height
// of the clear element's parent element gets increased by 1px if the clear element has either height:0 or width:0.
height: 0;
width: 0;
}
.#{$prefix}layer {
position: absolute !important;
overflow: hidden;
zoom: 1;
}
.#{$prefix}shim {
position: absolute;
left: 0;
top: 0;
overflow: hidden;
@include opacity(0);
}
.#{$prefix}hide-display {
display: none !important;
}
.#{$prefix}hide-visibility {
visibility:hidden !important;
}
.#{$prefix}item-disabled .#{$prefix}form-item-label,
.#{$prefix}item-disabled .#{$prefix}form-field,
.#{$prefix}item-disabled .#{$prefix}form-cb-label,
.#{$prefix}item-disabled .#{$prefix}form-trigger {
@include opacity(0.3);
}
.#{$prefix}ie6 .#{$prefix}item-disabled {
filter:none;
}
.#{$prefix}hidden,
.#{$prefix}hide-offsets {
// to deal with inline elements that can't be position:absolute
display: block !important;
// ensure the browser disallows tabbing into this element
visibility: hidden !important;
position: absolute!important;
left: -10000px!important;
top: -10000px!important;
}
.#{$prefix}hide-nosize {
height: 0!important;
width: 0!important;
}
.#{$prefix}masked-relative {
position: relative;
}
@if $include-ie {
.#{$prefix}ie6 .#{$prefix}masked select,
.#{$prefix}ie6.#{$prefix}body-masked select {
visibility: hidden !important;
}
}
// Element shadows for browsers that support CSS3 box-shadow
.#{$prefix}css-shadow {
position: absolute;
@include border-radius($window-border-radius);
}
// Element shadows for IE 8 and below
.#{$prefix}ie-shadow {
background-color:#777;
display: none;
position: absolute;
overflow: hidden;
zoom: 1;
}
//box wrap - Ext.get("foo").boxWrap();
.#{$prefix}box-tl {
background: transparent no-repeat 0 0;
zoom:1;
}
.#{$prefix}box-tc {
height: 8px;
background: transparent repeat-x 0 0;
overflow: hidden;
}
.#{$prefix}box-tr {
background: transparent no-repeat right -8px;
}
.#{$prefix}box-ml {
background: transparent repeat-y 0;
padding-left: 4px;
overflow: hidden;
zoom:1;
}
.#{$prefix}box-mc {
background: repeat-x 0 -16px;
padding: 4px 10px;
}
.#{$prefix}box-mc h3 {
margin: 0 0 4px 0;
zoom:1;
}
.#{$prefix}box-mr {
background: transparent repeat-y right;
padding-right: 4px;
overflow: hidden;
}
.#{$prefix}box-bl {
background: transparent no-repeat 0 -16px;
zoom:1;
}
.#{$prefix}box-bc {
background: transparent repeat-x 0 -8px;
height: 8px;
overflow: hidden;
}
.#{$prefix}box-br {
background: transparent no-repeat right -24px;
}
.#{$prefix}box-tl, .#{$prefix}box-bl {
padding-left: 8px;
overflow: hidden;
}
.#{$prefix}box-tr, .#{$prefix}box-br {
padding-right: 8px;
overflow: hidden;
}
.#{$prefix}box-tl {
background-image: theme-background-image($theme-name, 'box/corners.gif');
}
.#{$prefix}box-tc {
background-image: theme-background-image($theme-name, 'box/tb.gif');
}
.#{$prefix}box-tr {
background-image: theme-background-image($theme-name, 'box/corners.gif');
}
.#{$prefix}box-ml {
background-image: theme-background-image($theme-name, 'box/l.gif');
}
.#{$prefix}box-mc {
background-color: #eee;
background-image: theme-background-image($theme-name, 'box/tb.gif');
font-family: "Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;
color: #393939;
font-size: 15px;
}
.#{$prefix}box-mc h3 {
font-size: 18px;
font-weight: bold;
}
.#{$prefix}box-mr {
background-image: theme-background-image($theme-name, 'box/r.gif');
}
.#{$prefix}box-bl {
background-image: theme-background-image($theme-name, 'box/corners.gif');
}
.#{$prefix}box-bc {
background-image: theme-background-image($theme-name, 'box/tb.gif');
}
.#{$prefix}box-br {
background-image: theme-background-image($theme-name, 'box/corners.gif');
}
.#{$prefix}box-blue .#{$prefix}box-bl, .#{$prefix}box-blue .#{$prefix}box-br, .#{$prefix}box-blue .#{$prefix}box-tl, .#{$prefix}box-blue .#{$prefix}box-tr {
background-image: theme-background-image($theme-name, 'box/corners-blue.gif');
}
.#{$prefix}box-blue .#{$prefix}box-bc, .#{$prefix}box-blue .#{$prefix}box-mc, .#{$prefix}box-blue .#{$prefix}box-tc {
background-image: theme-background-image($theme-name, 'box/tb-blue.gif');
}
.#{$prefix}box-blue .#{$prefix}box-mc {
background-color: #c3daf9;
}
.#{$prefix}box-blue .#{$prefix}box-mc h3 {
color: #17385b;
}
.#{$prefix}box-blue .#{$prefix}box-ml {
background-image: theme-background-image($theme-name, 'box/l-blue.gif');
}
.#{$prefix}box-blue .#{$prefix}box-mr {
background-image: theme-background-image($theme-name, 'box/r-blue.gif');
}
.#{$prefix}container {
// zoom:1 prevents margins of child elements from collapsing in old IE, this is needed to prevent
// the top margin of the first child element from collapsing.
zoom: 1;
// In modern browsers, we can use a pseudo :before element to prevent the top margin of the first child element from collapsing
&:before {
content: "";
clear: both;
display: table;
}
}
// when the container class is used on a table, tbody, or tr (form layout),
// inserting content using the :before selector can cause problems
table.#{$prefix}container:before,
tbody.#{$prefix}container:before,
tr.#{$prefix}container:before {
display: none;
}
</pre>
</body>
</html>