ie7.scss
5.43 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
@import 'themes/default';
@import 'ieShared';
@import "compass/utilities/sprites/sprite-img";
@import "sprites.scss";
html {
overflow: hidden;
}
//add line below the cms-content-toolbar
.cms-content-toolbar {
padding-bottom:5px;
}
.cms-menu-list{
li{
list-style-type: none;
width: 100%;
float: left;
margin: 0px;
padding: 0px;
}
}
/* Site tree
------------------------- */
//fix for the tree view modes not displaying inline
.cms-tree-view-modes {
div {
float:left;
}
span {
float:left;
padding-top:5px;
}
}
.cms-panel-content .cms-tree{
li{
width:200px;
overflow:hidden;
float:left;
display:inline;
}
}
// fix jstree themeroller plugin bug: tree disappear in IE7
.jstree li a .ui-icon {
text-indent: 0px !important;
}
/* Forms and files area
-----------------------------*/
.field {
input.text,
textarea,
.TreeDropdownField {
width: 94%; // Disable 100% width on IE7 because box-sizing is not respected
}
}
select {
padding: 10px 0;
height: 30px;
}
.ss-uploadfield-item-name {
display:block;
}
.ss-uploadfield-edit-iframe{
.field {
&.treedropdown{
height:150px !important;
}
.TreeDropdownField {
ul{
min-height:100px;
height:auto;
max-height:150px;
}
}
}
}
//fix for add one button not positioning properly
.ss-ui-button.cms-page-add-button {
float:left;
}
//fix for the tree view modes not displaying inline
.cms-tree-view-modes {
div {
float:left;
}
span {
float:left;
padding-top:5px;
}
}
.cms-panel-content .cms-tree{
li{
width:200px;
overflow:hidden;
float:left;
display:inline;
}
}
//add line below the cms-content-toolbar
.cms-content-toolbar {
padding-bottom:5px;
}
.cms-menu-list{
li{
list-style-type: none;
width: 100%;
float: left;
margin: 0px;
padding: 0px;
}
}
// fix jstree themeroller plugin bug: tree disappear in IE7
.jstree li a .ui-icon {
text-indent: 0px !important;
}
/* Gridfield
------------------------- */
.cms table.ss-gridfield-table {
tbody td {
// Overrule width: 100% setting to trigger "shrink fit"
// of button row, which IE7 does not support
width: auto;
}
tr th.extra span input {
//fix for filter and reset icons on datagrid
height:23px;
}
}
.ss-gridfield-button-filter.ss-ui-button {
margin: -1px -5px;
}
.ss-gridfield-button-reset.ss-ui-button {
margin: -1px -5px;
}
//fix for edit and delete icons
.cms .ss-gridfield table.ss-gridfield-table tbody {
td {
button {
width:40px;
&.gridfield-button-delete {
display:block;
float:left;
}
&.gridfield-button-unlink {
display:block;
float:left;
}
}
a.edit-link {
display:block;
float:left;
}
}
}
//fix for wrong alignment of label on parent groups field in users groups and fix for width of parent group dropdown field
.cms .cms-content .cms-content-fields {
.field.dropdown .middleColumn {
max-width:512px;
}
}
//fix for input on datagrid pagination
.pagination-page-number {
position:relative;
bottom:10px;
right:10px;
input {
width:45px;
padding:0px;
position:relative;
bottom:2px;
}
}
input {
&.ss-gridfield-sort {
padding-top:0 !important;
padding-bottom:0 !important;
}
}
//fix for wrong height on users groups gridfield table header
table.ss-gridfield-table tr.title th h2 {
float:left;
}
//fix for alternate colors on rows in datagrid
table.ss-gridfield-table {
tr {
&.ss-gridfield-item.odd {
background: white;
}
&.ss-gridfield-item.even {
background: #F0F4F7;
}
}
}
//fix for view children arrow in pages list view
.cms .ss-gridfield table.ss-gridfield-table tbody {
td {
&.col-listChildrenLink {
width:16px;
.list-children-link {
background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 4px -4px;
display:block;
}
}
}
}
.ss-ui-button{
&.ss-gridfield-button-filter{
border:none !important;
}
}
//fix for model admin filter styling
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content {
.cms-search-form {
overflow:hidden;
input {
width:160px;
}
}
}
// CMS Content header & tab fix
.cms-content-header {
h2 {
float: left;
.section-icon {
display: none;
}
}
.cms-content-header-tabs {
position: absolute;
right: 0;
}
}
.ss-ui-button{
&.ss-gridfield-button-filter{
border:none !important;
}
}
.cms-content-controls{
.preview-mode-selector.dropdown{
display:none !important;
}
}
.cms .Actions > .cms-preview-toggle-link{
display:block;
}
@include IEVerticalPanelText;
//IE7 can't use before and after. Compromise
.cms .cms-content-actions .Actions .action-menus.ss-ui-action-tabset {
width: 190px;
ul.ui-tabs-nav {
a.ui-tabs-anchor{
background: transparent url(../images/sprites-32x32/arrow_down_lighter.png) no-repeat right top;
&:hover {
background: transparent url(../images/sprites-32x32/arrow_down_darker.png) no-repeat right top;
}
}
.ui-state-active a.ui-tabs-anchor {
background: transparent url(../images/sprites-32x32/arrow_up_lighter.png) no-repeat right top;
&:hover {
background: transparent url(../images/sprites-32x32/arrow_up_darker.png) no-repeat right top;
}
}
}
.ui-tabs-panel button.ss-ui-button {
width: 190px; /* Width 100% not calculating by ie7 */
}
}
/* Insert Media Area */
.ui-dialog-titlebar {
z-index: 100000;
}
.ss-uploadfield-item-info {
.dimensions {
input {
float:left;
width:150px;
}
.fieldgroup-field.last {
margin-left:16px;
}
}
}