Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -52,11 +52,6 @@ |
53 | 53 | direction: rtl; |
54 | 54 | } |
55 | 55 | |
56 | | -.mw-float-start { float: left; } |
57 | | -.mw-float-end { float: right; } |
58 | | -.mw-align-start { text-align: left; } |
59 | | -.mw-align-end { text-align: right; } |
60 | | - |
61 | 56 | /* The scripts of these languages are very hard to read with underlines */ |
62 | 57 | [lang="ar"] a, |
63 | 58 | [lang="ckb"] a, |
— | — | @@ -406,6 +401,10 @@ |
407 | 402 | border: 1px dashed #aaa; |
408 | 403 | } |
409 | 404 | |
| 405 | +.mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon { |
| 406 | + float: right; |
| 407 | +} |
| 408 | + |
410 | 409 | /** Generic minor/bot/newpage styling (recent changes) */ |
411 | 410 | .newpage, |
412 | 411 | .minor, |
Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -420,7 +420,7 @@ |
421 | 421 | 'type' => 'submit', |
422 | 422 | 'name' => $name, |
423 | 423 | 'value' => '1', |
424 | | - 'class' => "mw-history-$name-button mw-float-end", |
| 424 | + 'class' => "mw-history-$name-button", |
425 | 425 | ), |
426 | 426 | wfMsg( $msg ) |
427 | 427 | ) . "\n"; |
Index: trunk/phase3/includes/specials/SpecialFileDuplicateSearch.php |
— | — | @@ -130,7 +130,7 @@ |
131 | 131 | if ( $img ) { |
132 | 132 | $thumb = $img->transform( array( 'width' => 120, 'height' => 120 ) ); |
133 | 133 | if( $thumb ) { |
134 | | - $out->addHTML( '<div class="mw-float-end" id="mw-fileduplicatesearch-icon">' . |
| 134 | + $out->addHTML( '<div id="mw-fileduplicatesearch-icon">' . |
135 | 135 | $thumb->toHtml( array( 'desc-link' => false ) ) . '<br />' . |
136 | 136 | wfMsgExt( 'fileduplicatesearch-info', array( 'parse' ), |
137 | 137 | $this->getLang()->formatNum( $img->getWidth() ), |
Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -261,7 +261,7 @@ |
262 | 262 | 'alt' => '', |
263 | 263 | 'width' => '80', |
264 | 264 | 'height' => '45', |
265 | | - 'class' => 'mw-float-start collection-creatorbox-book', |
| 265 | + 'class' => 'collection-creatorbox-book', |
266 | 266 | ), |
267 | 267 | '', |
268 | 268 | true |
— | — | @@ -269,8 +269,7 @@ |
270 | 270 | |
271 | 271 | $html .= Xml::tags( 'div', |
272 | 272 | array( 'class' => 'collection-creatorbox-row' ), |
273 | | - Xml::tags( 'div', |
274 | | - array( 'class' => 'mw-float-end' ), |
| 273 | + Xml::tags( 'div', null, |
275 | 274 | Linker::link( |
276 | 275 | Title::newFromText( wfMsg( 'coll-helppage' ) ), |
277 | 276 | Xml::element( 'img', |
— | — | @@ -279,7 +278,6 @@ |
280 | 279 | 'alt' => '', |
281 | 280 | 'width' => '16', |
282 | 281 | 'height' => '16', |
283 | | - 'style' => 'vertical-align: text-bottom;', |
284 | 282 | ) |
285 | 283 | ) |
286 | 284 | . ' ' . wfMsgHtml( 'coll-help' ), |
Index: trunk/extensions/Collection/js/bookcreator.css |
— | — | @@ -13,6 +13,7 @@ |
14 | 14 | */ |
15 | 15 | |
16 | 16 | .collection-column { |
| 17 | + float: left; |
17 | 18 | width: 47%; |
18 | 19 | } |
19 | 20 | |
— | — | @@ -116,6 +117,10 @@ |
117 | 118 | margin-bottom: 0; |
118 | 119 | } |
119 | 120 | |
| 121 | +.collection-creatorbox-book { |
| 122 | + float: left; |
| 123 | +} |
| 124 | + |
120 | 125 | /* Trivial but nicer for the browsers that support it */ |
121 | 126 | .rtl .collection-creatorbox-book { |
122 | 127 | --ms-transform: scaleX(-1); |
— | — | @@ -134,6 +139,18 @@ |
135 | 140 | margin-left: 10px; |
136 | 141 | } |
137 | 142 | |
| 143 | +.collection-creatorbox-row div { |
| 144 | + float: right; |
| 145 | +} |
| 146 | + |
138 | 147 | .collection-creatorbox-row img { |
139 | 148 | vertical-align: text-bottom; |
140 | | -} |
\ No newline at end of file |
| 149 | +} |
| 150 | + |
| 151 | +#collection-suggest-add, |
| 152 | +#collection-order-button, |
| 153 | +#collection-download-button, |
| 154 | +#collection-save-button, |
| 155 | +#collection-save-input { |
| 156 | + float: right; |
| 157 | +} |
Index: trunk/extensions/Collection/Collection.templates.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | $mediapath = $GLOBALS['wgExtensionAssetsPath'] . '/Collection/images/'; |
17 | 17 | ?> |
18 | 18 | |
19 | | -<div class="mw-float-start collection-column collection-column-left"> |
| 19 | +<div class="collection-column collection-column-left"> |
20 | 20 | |
21 | 21 | <form action="<?php echo htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Book' ) ) ?>" method="post" id="mw-collection-title-form"> |
22 | 22 | <table id="mw-collection-title-table" style="width: 80%; background-color: transparent;" align="center"> |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | |
53 | 53 | </div> |
54 | 54 | |
55 | | -<div class="mw-float-start collection-column collection-column-right"> |
| 55 | +<div class="collection-column collection-column-right"> |
56 | 56 | |
57 | 57 | <div class="collection-column-right-box" id="coll-orderbox"> |
58 | 58 | <h2><span class="mw-headline"><?php $this->msg( 'coll-book_title' ) ?></span></h2> |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | $this->msgWiki( 'coll-book_text' ); |
62 | 62 | ?> |
63 | 63 | <div> |
64 | | - <div class="mw-float-end"> |
| 64 | + <div id="collection-order-button"> |
65 | 65 | <form action="<?php echo htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Book' ) ) ?>" method="post"> |
66 | 66 | <input type="hidden" name="bookcmd" value="post_zip" /> |
67 | 67 | <input type="hidden" name="partner" value="pediapress" /> |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | <?php } ?> |
114 | 114 | </select> |
115 | 115 | <?php } ?> |
116 | | - </td><td class="mw-align-end" style="vertical-align:bottom;"> |
| 116 | + </td><td id="collection-download-button"> |
117 | 117 | <input type="hidden" name="bookcmd" value="render" /> |
118 | 118 | <input id="downloadButton" type="submit" value="<?php echo $buttonLabel ?>"<?php if ( count( $this->data['collection']['items'] ) == 0 ) { ?> disabled="disabled"<?php } ?> /> |
119 | 119 | </td></tr></tbody></table> |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | <?php } ?> |
148 | 148 | <label for="personalCollTitle"><a href="<?php echo htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Prefixindex', 'prefix=' . wfUrlencode( $this->data['user-book-prefix'] ) ) ) ?>"><?php echo htmlspecialchars( $this->data['user-book-prefix'] ) ?></a></label> |
149 | 149 | </td> |
150 | | - <td class="mw-align-end"> |
| 150 | + <td id="collection-save-input"> |
151 | 151 | <input id="personalCollTitle" type="text" name="pcollname" /> |
152 | 152 | </td></tr> |
153 | 153 | <?php } // if ($canSaveUserPage) ?> |
— | — | @@ -159,11 +159,11 @@ |
160 | 160 | <?php } ?> |
161 | 161 | <label for="communityCollTitle"><a href="<?php echo htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Prefixindex', 'prefix=' . wfUrlencode( $this->data['community-book-prefix'] ) ) ) ?>"><?php echo htmlspecialchars( $this->data['community-book-prefix'] ) ?></a></label> |
162 | 162 | </td> |
163 | | - <td class="mw-align-end"> |
| 163 | + <td id="collection-save-button"> |
164 | 164 | <input id="communityCollTitle" type="text" name="ccollname" disabled="disabled" /> |
165 | 165 | </td></tr> |
166 | 166 | <?php } // if ($canSaveCommunityPage) ?> |
167 | | - <tr><td> </td><td class="mw-align-end"> |
| 167 | + <tr><td> </td><td id="collection-save-button"> |
168 | 168 | <input id="saveButton" type="submit" value="<?php $this->msg( 'coll-save_collection' ) ?>"<?php if ( count( $this->data['collection']['items'] ) == 0 ) { ?> disabled="disabled"<?php } ?> /> |
169 | 169 | </tr></tbody></table> |
170 | 170 | <input name="token" type="hidden" value="<?php echo htmlspecialchars( $GLOBALS['wgUser']->editToken() ) ?>" /> |
— | — | @@ -418,7 +418,7 @@ |
419 | 419 | (<a href="<?php echo htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'resetbans' => '1' ) ) ) ?>" title="<?php $this->msg( 'coll-suggest_reset_bans_tooltip' ) ?>"><?php $this->msg( 'coll-suggest_reset_bans' ) ?></a>) |
420 | 420 | <?php if ( count( $this->data['proposals'] ) > 0 ) { ?> |
421 | 421 | <noscript> |
422 | | - <div class="mw-float-end"> |
| 422 | + <div id="collection-suggest-add"> |
423 | 423 | <input type="submit" value="<?php $this->msg( 'coll-suggest_add_selected' ) ?>" name="addselected" /> |
424 | 424 | </div> |
425 | 425 | </noscript> |