From 8adecf7a8c586a14583978a5869a65c7c2bc26de Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Mon, 5 Jul 2010 20:45:20 +0000 Subject: [PATCH] removed TablePager CSS from Modern's main.css as shared.css already contains that and Modern includes shared.css. Also merged two .TablePager rules into one in shared.css and updated comments --- includes/DefaultSettings.php | 2 +- skins/common/shared.css | 16 +++++++--------- skins/modern/main.css | 23 ----------------------- 3 files changed, 8 insertions(+), 33 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7a8deca58d..db0a9554b5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1547,7 +1547,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches do not keep obsolete copies of global * styles. */ -$wgStyleVersion = '293'; +$wgStyleVersion = '294'; /** * This will cache static pages for non-logged-in users to reduce diff --git a/skins/common/shared.css b/skins/common/shared.css index 0c7ccff10c..58123bea44 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -669,22 +669,20 @@ table.collapsed tr.collapsable { } /* - Table pager (e.g. Special:Imagelist) - - remove underlines from the navigation link - - collapse borders - - set the borders to outsets (similar to Special:Allmessages) - - remove line wrapping for all td and th, set background color - - restore line wrapping for the last two table cells (description and size) + Table pager (e.g. Special:ListFiles) + - remove underlines from the navigation link + - collapse borders + - set the borders to outsets (similar to Special:AllMessages) + - remove line wrapping for all td and th, set background color + - restore line wrapping for the last two table cells (description and size) */ .TablePager { min-width: 80%; + border-collapse: collapse; } .TablePager_nav a { text-decoration: none; } -.TablePager { - border-collapse: collapse; -} .TablePager, .TablePager td, .TablePager th { border: 1px solid #aaaaaa; padding: 0 0.15em 0 0.15em; diff --git a/skins/modern/main.css b/skins/modern/main.css index e3946b2097..629afbc122 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -755,29 +755,6 @@ table.multipageimage td { text-align: center; } -/* - Table pager (e.g. Special:ListFiles) - - remove underlines from the navigation link - - collapse borders - - set the borders to outsets (similar to Special:AllMessages) - - remove line wrapping for all td and th, set background color - - restore line wrapping for the last two table cells (description and size) -*/ -.TablePager_nav a { text-decoration: none; } -.TablePager { border-collapse: collapse; } -.TablePager, .TablePager td, .TablePager th { - border: 1px solid #aaaaaa; - padding: 0 0.15em 0 0.15em; -} -.TablePager th { background-color: #eeeeff; } -.TablePager td { background-color: #ffffff; } -.TablePager tr:hover td { background-color: #eeeeff; } - -.imagelist td, .imagelist th { white-space: nowrap; } -.imagelist .TablePager_col_links { background-color: #eeeeff; } -.imagelist .TablePager_col_img_description { white-space: normal; } -.imagelist th.TablePager_sort { background-color: #ccccff; } - .templatesUsed { margin-top: 1.5em; } .mw-summary-preview { -- 2.20.1