From: Andrew Garrett Date: Mon, 22 Jun 2009 16:26:26 +0000 (+0000) Subject: Move TablePager code from main.css to shared.css X-Git-Tag: 1.31.0-rc.0~41244 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=1e725cde5839d5f1100d1288b55fb958aead15e3;p=lhc%2Fweb%2Fwiklou.git Move TablePager code from main.css to shared.css --- diff --git a/skins/common/shared.css b/skins/common/shared.css index cbdf488a84..0eeb56b847 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -546,3 +546,27 @@ table.wikitable { .visualClear { clear: both; } + +/* + 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) +*/ +.TablePager { min-width: 80%; } +.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 } diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 349f603838..229082c904 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1419,31 +1419,6 @@ table.multipageimage td { text-align: center; } - -/* - 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) -*/ -.TablePager { min-width: 80%; } -.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 {