Index: trunk/phase3/skins/vector/main.css |
— | — | @@ -57,13 +57,11 @@ |
58 | 58 | top: 0; |
59 | 59 | right: 0; |
60 | 60 | width: 100%; |
61 | | - margin-right: 0.75em; |
62 | 61 | } |
63 | 62 | body.rtl div#head { |
64 | 63 | right: auto; |
65 | 64 | left: 0; |
66 | 65 | margin-right: auto; |
67 | | - margin-left: 0.75em; |
68 | 66 | } |
69 | 67 | div#head ul, |
70 | 68 | div#head li { |
— | — | @@ -79,10 +77,10 @@ |
80 | 78 | div#personal { |
81 | 79 | position: absolute; |
82 | 80 | top: 0; |
83 | | - right: 0; |
| 81 | + right: 0.75em; |
84 | 82 | } |
85 | 83 | body.rtl div#personal { |
86 | | - left: 0; |
| 84 | + left: 0.75em; |
87 | 85 | right: auto; |
88 | 86 | } |
89 | 87 | div#personal h5 { |
— | — | @@ -98,25 +96,37 @@ |
99 | 97 | margin-left: auto; |
100 | 98 | margin-right: 0.75em; |
101 | 99 | } |
| 100 | + body.rtl div#personal > ul > li { |
| 101 | + float: right; |
| 102 | + margin-left: 0; |
| 103 | + margin-right: 0.75em; |
| 104 | + } |
102 | 105 | /* Navigation */ |
103 | 106 | div#left-navigation { |
104 | 107 | margin-top: 3em; |
105 | | - margin-left: 12.75em; |
| 108 | + margin-left: 12em; |
106 | 109 | } |
107 | | - /* |
| 110 | + /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
108 | 111 | body.rtl div#left-navigation { |
| 112 | + margin-left: 0; |
| 113 | + } |
| 114 | + /* IGNORED BY IE6 */ |
| 115 | + body.rtl div#head > div#left-navigation { |
109 | 116 | margin-left: auto; |
110 | | - margin-right: 12.75em; |
| 117 | + margin-right: 12em; |
111 | 118 | } |
112 | | - */ |
113 | 119 | div#right-navigation { |
114 | 120 | float: right; |
115 | 121 | } |
116 | | - /* |
| 122 | + /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
117 | 123 | body.rtl div#right-navigation { |
| 124 | + margin-right: 6em; |
| 125 | + } |
| 126 | + /* IGNORED BY IE6 */ |
| 127 | + body.rtl div#head > div#right-navigation { |
| 128 | + margin-right: auto; |
118 | 129 | float: left; |
119 | 130 | } |
120 | | - */ |
121 | 131 | /* Navigation Labels */ |
122 | 132 | div#namespaces h5, |
123 | 133 | div#variants h5, |
— | — | @@ -134,25 +144,27 @@ |
135 | 145 | background-repeat: no-repeat; |
136 | 146 | padding-left: 1px; |
137 | 147 | } |
138 | | - /* |
139 | | - body.rtl div#namespaces, |
140 | | - body.rtl div#views { |
| 148 | + /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
| 149 | + body.rtl div#left-navigation div#namespaces { |
| 150 | + padding-left: 0; |
| 151 | + } |
| 152 | + /* IGNORED BY IE6 */ |
| 153 | + body.rtl div#left-navigation > div#namespaces, |
| 154 | + body.rtl div#right-navigation > div#views { |
141 | 155 | float: right; |
142 | 156 | background-position: bottom right; |
143 | 157 | padding-left: 0; |
144 | 158 | padding-right: 1px; |
145 | 159 | } |
146 | | - */ |
147 | 160 | div#namespaces ul, |
148 | 161 | div#views ul { |
149 | 162 | float: left; |
150 | 163 | } |
151 | | - /* |
152 | | - body.rtl div#namespaces ul, |
153 | | - body.rtl div#views ul { |
| 164 | + /* IGNORED BY IE6 */ |
| 165 | + body.rtl div#left-navigation > div#namespaces ul, |
| 166 | + body.rtl div#right-navigation > div#views ul { |
154 | 167 | float: right; |
155 | 168 | } |
156 | | - */ |
157 | 169 | div#namespaces li, |
158 | 170 | div#views li { |
159 | 171 | float: left; |
— | — | @@ -161,13 +173,12 @@ |
162 | 174 | background-position: bottom left; |
163 | 175 | background-repeat: repeat-x; |
164 | 176 | } |
165 | | - /* |
166 | | - body.rtl div#namespaces li, |
167 | | - body.rtl div#views li { |
| 177 | + /* IGNORED BY IE6 */ |
| 178 | + body.rtl div#namespaces > ul > li, |
| 179 | + body.rtl div#views > ul > li { |
168 | 180 | float: right; |
169 | 181 | background-position: bottom right; |
170 | 182 | } |
171 | | - */ |
172 | 183 | div#namespaces li.selected, |
173 | 184 | div#views li.selected { |
174 | 185 | background-image: url(images/tab-current-fade.png); |
— | — | @@ -182,12 +193,11 @@ |
183 | 194 | background-position: bottom right; |
184 | 195 | background-repeat: no-repeat; |
185 | 196 | } |
186 | | - /* |
187 | | - body.rtl div#namespaces a, |
188 | | - body.rtl div#views a { |
| 197 | + /* IGNORED BY IE6 */ |
| 198 | + body.rtl div#namespaces li > a, |
| 199 | + body.rtl div#views li > a { |
189 | 200 | background-position: bottom left; |
190 | 201 | } |
191 | | - */ |
192 | 202 | div#namespaces a span, |
193 | 203 | div#views a span { |
194 | 204 | color: #0645ad; |
— | — | @@ -213,22 +223,20 @@ |
214 | 224 | background-position: center center; |
215 | 225 | background-repeat: no-repeat; |
216 | 226 | } |
217 | | - /* |
218 | | - body.rtl div#variants, |
219 | | - body.rtl div#actions { |
| 227 | + /* IGNORED BY IE6 */ |
| 228 | + body.rtl div#left-navigation > div#variants, |
| 229 | + body.rtl div#right-navigation > div#actions { |
220 | 230 | float: right; |
221 | 231 | } |
222 | | - */ |
223 | 232 | div#variants h5, |
224 | 233 | div#actions h5 { |
225 | 234 | float: left; |
226 | 235 | } |
227 | | - /* |
228 | | - body.rtl div#variants h5, |
229 | | - body.rtl div#actions h5 { |
| 236 | + /* IGNORED BY IE6 */ |
| 237 | + body.rtl div#variants > h5, |
| 238 | + body.rtl div#actions > h5 { |
230 | 239 | float: right; |
231 | 240 | } |
232 | | - */ |
233 | 241 | div#variants h5 a, |
234 | 242 | div#actions h5 a { |
235 | 243 | display: inline-block; |
— | — | @@ -239,13 +247,12 @@ |
240 | 248 | background-position: bottom right; |
241 | 249 | background-repeat: no-repeat; |
242 | 250 | } |
243 | | - /* |
244 | | - body.rtl div#variants h5 a, |
245 | | - body.rtl div#actions h5 a { |
| 251 | + /* IGNORED BY IE6 */ |
| 252 | + body.rtl div#variants > h5 a, |
| 253 | + body.rtl div#actions > h5 a { |
246 | 254 | display: inline-block; |
247 | 255 | background-position: bottom left; |
248 | 256 | } |
249 | | - */ |
250 | 257 | div#variants div.menu, |
251 | 258 | div#actions div.menu { |
252 | 259 | display: none; |
— | — | @@ -265,13 +272,18 @@ |
266 | 273 | margin: 0; |
267 | 274 | margin-left: -1px; |
268 | 275 | } |
269 | | - /* |
| 276 | + /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
270 | 277 | body.rtl div#variants ul, |
271 | 278 | body.rtl div#actions ul { |
272 | 279 | margin-left: 0; |
| 280 | + margin-right: -24px; |
| 281 | + } |
| 282 | + /* IGNORED BY IE6 */ |
| 283 | + body.rtl div#variants div.menu > ul, |
| 284 | + body.rtl div#actions div.menu > ul { |
| 285 | + margin-left: 0; |
273 | 286 | margin-right: -1px; |
274 | 287 | } |
275 | | - */ |
276 | 288 | div#variants:hover li a, |
277 | 289 | div#actions li a { |
278 | 290 | display: inline-block; |
— | — | @@ -280,26 +292,30 @@ |
281 | 293 | /* Search */ |
282 | 294 | div#search { |
283 | 295 | float: left; |
| 296 | + margin-right: 0.75em; |
284 | 297 | } |
285 | | - /* |
286 | | - body.rtl div#search { |
| 298 | + /* OVERRIDDEN BY COMPLIANT BROWSERS */ |
| 299 | + body.rtl div#right-navigation div#search { |
| 300 | + margin-right: 0; |
| 301 | + } |
| 302 | + /* IGNORED BY IE6 */ |
| 303 | + body.rtl div#right-navigation > div#search { |
287 | 304 | float: right; |
| 305 | + margin-left: 0.75em; |
288 | 306 | } |
289 | | - */ |
290 | 307 | div#search form, |
291 | 308 | div#search input { |
292 | 309 | float: left; |
293 | 310 | margin-top: 0.4em; |
294 | 311 | margin-left: 0.25em; |
295 | 312 | } |
296 | | - /* |
297 | | - body.rtl div#search form, |
298 | | - body.rtl div#search input { |
| 313 | + /* IGNORED BY IE6 */ |
| 314 | + body.rtl div#search > form, |
| 315 | + body.rtl div#search > form > input { |
299 | 316 | float: right; |
300 | 317 | margin-left: 0; |
301 | 318 | margin-right: 0.25em; |
302 | 319 | } |
303 | | - */ |
304 | 320 | /* Panel */ |
305 | 321 | div#panel { |
306 | 322 | position: absolute; |
— | — | @@ -450,7 +466,6 @@ |
451 | 467 | #preftoc { |
452 | 468 | /* Tabs */ |
453 | 469 | float: left; |
454 | | - zoom: 1; |
455 | 470 | clear: both; |
456 | 471 | margin: 0 !important; |
457 | 472 | padding: 0 !important; |
— | — | @@ -459,13 +474,14 @@ |
460 | 475 | background-position: bottom left; |
461 | 476 | background-repeat: no-repeat; |
462 | 477 | } |
463 | | -body.rtl #preftoc { |
| 478 | +/* IGNORED BY IE6 */ |
| 479 | +body.rtl form > #preftoc { |
| 480 | + float: right; |
464 | 481 | background-position: bottom right; |
465 | 482 | } |
466 | 483 | #preftoc li { |
467 | 484 | /* Tab */ |
468 | 485 | float: left; |
469 | | - zoom: 1; |
470 | 486 | margin: 0; |
471 | 487 | padding: 0; |
472 | 488 | padding-right: 1px; |
— | — | @@ -477,10 +493,17 @@ |
478 | 494 | background-position: bottom right; |
479 | 495 | background-repeat: no-repeat; |
480 | 496 | } |
| 497 | + /* IGNORED BY IE6 */ |
481 | 498 | #preftoc li:first-child { |
482 | 499 | margin-left: 1px; |
483 | 500 | } |
484 | | - body.rtl #preftoc li { |
| 501 | + /* IGNORED BY IE6 */ |
| 502 | + body.rtl #preftoc li:first-child { |
| 503 | + margin-left: 0; |
| 504 | + margin-right: 1px; |
| 505 | + } |
| 506 | + /* IGNORED BY IE6 */ |
| 507 | + body.rtl #preftoc > li { |
485 | 508 | float: right; |
486 | 509 | padding-right: 0; |
487 | 510 | padding-left: 1px; |
— | — | @@ -517,19 +540,19 @@ |
518 | 541 | background-color: #f9f9f9; |
519 | 542 | background-image: url(images/preferences-base.png); |
520 | 543 | } |
521 | | -#preferences > fieldset.prefsection { |
| 544 | +#preferences fieldset.prefsection { |
522 | 545 | border: none; |
523 | 546 | padding: 0; |
524 | 547 | margin: 1em; |
525 | 548 | } |
526 | | -#preferences > fieldset.prefsection > fieldset { |
| 549 | +#preferences fieldset.prefsection fieldset { |
527 | 550 | border: none; |
528 | 551 | border-top: solid 1px #cccccc; |
529 | 552 | } |
530 | 553 | #preferences legend { |
531 | 554 | color: #666666; |
532 | 555 | } |
533 | | -#preferences > fieldset.prefsection > legend.mainLegend { |
| 556 | +#preferences fieldset.prefsection legend.mainLegend { |
534 | 557 | display: none; |
535 | 558 | } |
536 | 559 | #preferences td { |
Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | $out->addStyle( 'common/shared.css', 'screen' ); |
114 | 114 | $out->addStyle( 'common/commonPrint.css', 'print' ); |
115 | 115 | } |
116 | | - |
| 116 | + |
117 | 117 | /** |
118 | 118 | * Create the template engine object; we feed it a bunch of data |
119 | 119 | * and eventually it spits out some HTML. Should have interface |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.css |
— | — | @@ -4,11 +4,11 @@ |
5 | 5 | form#editform { |
6 | 6 | margin: 0; |
7 | 7 | padding: 0; |
8 | | - padding-right: 2px; |
| 8 | + margin-right: 5px; |
9 | 9 | } |
10 | 10 | body.rtl form#editform { |
11 | 11 | padding-right: 0; |
12 | | - padding-left: 2px; |
| 12 | + margin-left: 5px; |
13 | 13 | } |
14 | 14 | textarea#wpTextbox1 { |
15 | 15 | border: solid silver 1px; |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | } |
66 | 66 | |
67 | 67 | /* Toolbar Groups and Tabs */ |
68 | | -div#edittoolbar ul.tabs, |
| 68 | +div#edittoolbar div.tabs, |
69 | 69 | div#edittoolbar div.group { |
70 | 70 | float: left; |
71 | 71 | height: 26px; |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | div#edittoolbar div.first { |
78 | 78 | border-left: none; |
79 | 79 | } |
80 | | -body.rtl div#edittoolbar ul.tabs, |
| 80 | +body.rtl div#edittoolbar div.tabs, |
81 | 81 | body.rtl div#edittoolbar div.group { |
82 | 82 | float: right; |
83 | 83 | padding-left: 0; |
— | — | @@ -89,19 +89,20 @@ |
90 | 90 | } |
91 | 91 | |
92 | 92 | /* Tabs */ |
93 | | -div#edittoolbar ul.tabs { |
| 93 | +div#edittoolbar div.tabs { |
94 | 94 | list-style: none; |
95 | 95 | } |
96 | | -div#edittoolbar ul.tabs li.tab { |
| 96 | +div#edittoolbar div.tabs span.tab { |
97 | 97 | display: inline-block; |
98 | 98 | float: left; |
99 | 99 | line-height: 26px; |
100 | 100 | } |
101 | | -body.rtl div#edittoolbar ul.tabs li.tab { |
| 101 | +/* IGNORED BY IE6 */ |
| 102 | +body.rtl div#edittoolbar div.tabs > span.tab { |
102 | 103 | float: right; |
103 | 104 | } |
104 | | -div#edittoolbar ul.tabs li.tab a, |
105 | | -div#edittoolbar ul.tabs li.tab a:visited { |
| 105 | +div#edittoolbar div.tabs span.tab a, |
| 106 | +div#edittoolbar div.tabs span.tab a:visited { |
106 | 107 | display: inline-block; |
107 | 108 | float: left; |
108 | 109 | padding-left: 18px; |
— | — | @@ -113,24 +114,30 @@ |
114 | 115 | background-position: left center; |
115 | 116 | background-repeat: no-repeat; |
116 | 117 | } |
117 | | -body.rtl div#edittoolbar ul.tabs li.tab a, |
118 | | -body.rtl div#edittoolbar ul.tabs li.tab a:visited { |
119 | | - float: right; |
| 118 | +body.rtl div#edittoolbar div.tabs span.tab a, |
| 119 | +body.rtl div#edittoolbar div.tabs span.tab a:visited { |
120 | 120 | padding-left: 12px; |
121 | 121 | padding-right: 18px; |
122 | 122 | background-image: url(images/arrow-left.png); |
123 | 123 | background-position: right center; |
124 | 124 | } |
125 | | -div#edittoolbar ul.tabs li.tab a.current, |
126 | | -div#edittoolbar ul.tabs li.tab a.current:visited { |
| 125 | +/* IGNORED BY IE6 */ |
| 126 | +body.rtl div#edittoolbar div.tabs > span.tab > a, |
| 127 | +body.rtl div#edittoolbar div.tabs > pan.tab > a:visited { |
| 128 | + float: right; |
| 129 | +} |
| 130 | +div#edittoolbar div.tabs span.tab a.current, |
| 131 | +div#edittoolbar div.tabs span.tab a.current:visited { |
127 | 132 | color: #333333; |
128 | 133 | background-image: url(images/arrow-down.png); |
129 | 134 | } |
130 | | -body.rtl div#edittoolbar ul.tabs li.tab a.current, |
131 | | -body.rtl div#edittoolbar ul.tabs li.tab a.current:visited { |
| 135 | +/* |
| 136 | +body.rtl div#edittoolbar div.tabs span.tab a.current, |
| 137 | +body.rtl div#edittoolbar div.tabs span.tab a.current:visited { |
132 | 138 | background-image: url(images/arrow-down.png); |
133 | 139 | } |
134 | | -div#edittoolbar ul.tabs li.tab a.current:hover { |
| 140 | +*/ |
| 141 | +div#edittoolbar div.tabs span.tab a.current:hover { |
135 | 142 | text-decoration: none; |
136 | 143 | } |
137 | 144 | |
— | — | @@ -146,7 +153,8 @@ |
147 | 154 | color: #777777; |
148 | 155 | cursor: default; |
149 | 156 | } |
150 | | -body.rtl div#edittoolbar div.group div.label { |
| 157 | +/* IGNORED BY IE6 */ |
| 158 | +body.rtl div#edittoolbar div.group > div.label { |
151 | 159 | float: right; |
152 | 160 | margin-left: 8px; |
153 | 161 | margin-right: 5px; |
— | — | @@ -159,7 +167,8 @@ |
160 | 168 | padding: 2px; |
161 | 169 | cursor: pointer; |
162 | 170 | } |
163 | | -body.rtl div#edittoolbar div.group input.tool { |
| 171 | +/* IGNORED BY IE6 */ |
| 172 | +body.rtl div#edittoolbar div.group > input.tool { |
164 | 173 | float: right; |
165 | 174 | } |
166 | 175 | div#edittoolbar div.group select { |
— | — | @@ -168,7 +177,8 @@ |
169 | 178 | height: 22px; |
170 | 179 | cursor: pointer; |
171 | 180 | } |
172 | | -body.rtl div#edittoolbar div.group select { |
| 181 | +/* IGNORED BY IE6 */ |
| 182 | +body.rtl div#edittoolbar div.group > select { |
173 | 183 | float: right; |
174 | 184 | font-size: 0.9em; |
175 | 185 | } |
— | — | @@ -256,7 +266,7 @@ |
257 | 267 | color: black; |
258 | 268 | text-decoration: none; |
259 | 269 | } |
260 | | -body.rtl div#edittoolbar-section-characters div.page div a { |
| 270 | +body.rtl div#edittoolbar-section-characters div.page > div > a { |
261 | 271 | direction: rtl; |
262 | 272 | float: right; |
263 | 273 | margin-left: 0; |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php |
— | — | @@ -91,10 +91,9 @@ |
92 | 92 | 'edittoolbar-tool-superscript-example', |
93 | 93 | 'edittoolbar-tool-subscript', |
94 | 94 | 'edittoolbar-tool-subscript-example', |
95 | | - 'edittoolbar-group-media', |
| 95 | + 'edittoolbar-group-insert', |
96 | 96 | 'edittoolbar-tool-gallery', |
97 | 97 | 'edittoolbar-tool-gallery-example', |
98 | | - 'edittoolbar-group-whitespace', |
99 | 98 | 'edittoolbar-tool-newline', |
100 | 99 | /* Special Characters Section */ |
101 | 100 | 'edittoolbar-section-characters', |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | $(this).addToolbarSection( tools.main, textbox, 'main' ); |
23 | 23 | } |
24 | 24 | // Appends additional section tabs |
25 | | - var tabUl = $( '<ul />' ) |
| 25 | + var tabDiv = $( '<div />' ) |
26 | 26 | .attr( 'class', 'tabs' ) |
27 | 27 | .appendTo( $(this) ); |
28 | 28 | // Appends additional section |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | .attr( 'class', 'sections' ) |
31 | 31 | .appendTo( $(this) ); |
32 | 32 | // Appends float-clearing div |
33 | | - $(this).append( $( '<div style="clear:both"></div>' ) ); |
| 33 | + $(this).append( $( '<div style="clear:both;"></div>' ) ); |
34 | 34 | // Cookie name for storing section state |
35 | 35 | var sectionCookie = 'edittoolbar-' + $(this).attr( 'id' ) + '-section'; |
36 | 36 | // Queue for sections to be built asynchonously |
— | — | @@ -64,8 +64,8 @@ |
65 | 65 | 'textbox': textbox |
66 | 66 | }; |
67 | 67 | // Appends section tab |
68 | | - tabUl.append( |
69 | | - $( '<li />' ) |
| 68 | + tabDiv.append( |
| 69 | + $( '<span />' ) |
70 | 70 | .attr( 'class', 'tab' ) |
71 | 71 | .append( |
72 | 72 | $( '<a />' ) |
— | — | @@ -705,8 +705,8 @@ |
706 | 706 | } |
707 | 707 | } |
708 | 708 | }, |
709 | | - 'media': { |
710 | | - labelMsg: 'edittoolbar-group-media', |
| 709 | + 'insert': { |
| 710 | + labelMsg: 'edittoolbar-group-insert', |
711 | 711 | tools: { |
712 | 712 | 'gallery': { |
713 | 713 | labelMsg: 'edittoolbar-tool-gallery', |
— | — | @@ -720,12 +720,7 @@ |
721 | 721 | post: "\n</gallery>" |
722 | 722 | } |
723 | 723 | } |
724 | | - } |
725 | | - } |
726 | | - }, |
727 | | - 'whitespace': { |
728 | | - labelMsg: 'edittoolbar-group-whitespace', |
729 | | - tools: { |
| 724 | + }, |
730 | 725 | 'newline': { |
731 | 726 | labelMsg: 'edittoolbar-tool-newline', |
732 | 727 | type: 'button', |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.i18n.php |
— | — | @@ -55,10 +55,9 @@ |
56 | 56 | 'edittoolbar-tool-superscript-example' => 'Superscript text', |
57 | 57 | 'edittoolbar-tool-subscript' => 'Subscript', |
58 | 58 | 'edittoolbar-tool-subscript-example' => 'Subscript text', |
59 | | - 'edittoolbar-group-media' => 'Media', |
| 59 | + 'edittoolbar-group-insert' => 'Insert', |
60 | 60 | 'edittoolbar-tool-gallery' => 'Picture gallery', |
61 | 61 | 'edittoolbar-tool-gallery-example' => "File:Example.jpg|Caption1\nFile:Example.jpg|Caption2", |
62 | | - 'edittoolbar-group-whitespace' => 'Whitespace', |
63 | 62 | 'edittoolbar-tool-newline' => 'New line', |
64 | 63 | /* Special characters Section */ |
65 | 64 | 'edittoolbar-section-characters' => 'Special characters', |