r52290 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52289‎ | r52290 | r52291 >
Date:16:26, 22 June 2009
Author:werdna
Status:ok
Tags:
Comment:
Move TablePager code from main.css to shared.css
Modified paths:
  • /trunk/phase3/skins/common/shared.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/main.css
@@ -1419,31 +1419,6 @@
14201420 text-align: center;
14211421 }
14221422
1423 -
1424 -/*
1425 - Table pager (e.g. Special:Imagelist)
1426 - - remove underlines from the navigation link
1427 - - collapse borders
1428 - - set the borders to outsets (similar to Special:Allmessages)
1429 - - remove line wrapping for all td and th, set background color
1430 - - restore line wrapping for the last two table cells (description and size)
1431 -*/
1432 -.TablePager { min-width: 80%; }
1433 -.TablePager_nav a { text-decoration: none; }
1434 -.TablePager { border-collapse: collapse; }
1435 -.TablePager, .TablePager td, .TablePager th {
1436 - border: 1px solid #aaaaaa;
1437 - padding: 0 0.15em 0 0.15em;
1438 -}
1439 -.TablePager th { background-color: #eeeeff }
1440 -.TablePager td { background-color: #ffffff }
1441 -.TablePager tr:hover td { background-color: #eeeeff }
1442 -
1443 -.imagelist td, .imagelist th { white-space: nowrap }
1444 -.imagelist .TablePager_col_links { background-color: #eeeeff }
1445 -.imagelist .TablePager_col_img_description { white-space: normal }
1446 -.imagelist th.TablePager_sort { background-color: #ccccff }
1447 -
14481423 .templatesUsed { margin-top: 1.5em; }
14491424
14501425 .mw-summary-preview {
Index: trunk/phase3/skins/common/shared.css
@@ -546,3 +546,27 @@
547547 .visualClear {
548548 clear: both;
549549 }
 550+
 551+/*
 552+ Table pager (e.g. Special:Imagelist)
 553+ - remove underlines from the navigation link
 554+ - collapse borders
 555+ - set the borders to outsets (similar to Special:Allmessages)
 556+ - remove line wrapping for all td and th, set background color
 557+ - restore line wrapping for the last two table cells (description and size)
 558+*/
 559+.TablePager { min-width: 80%; }
 560+.TablePager_nav a { text-decoration: none; }
 561+.TablePager { border-collapse: collapse; }
 562+.TablePager, .TablePager td, .TablePager th {
 563+ border: 1px solid #aaaaaa;
 564+ padding: 0 0.15em 0 0.15em;
 565+}
 566+.TablePager th { background-color: #eeeeff }
 567+.TablePager td { background-color: #ffffff }
 568+.TablePager tr:hover td { background-color: #eeeeff }
 569+
 570+.imagelist td, .imagelist th { white-space: nowrap }
 571+.imagelist .TablePager_col_links { background-color: #eeeeff }
 572+.imagelist .TablePager_col_img_description { white-space: normal }
 573+.imagelist th.TablePager_sort { background-color: #ccccff }

Follow-up revisions

RevisionCommit summaryAuthorDate
r53399Merging UI fixes from trunk (acaifix tag), first batch:...brion15:17, 17 July 2009

Status & tagging log