r52759 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52758‎ | r52759 | r52760 >
Date:00:41, 4 July 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 19503) Missing definition for #filetoc. Move various toc declarations out of Monobook and Modern and into common.
Modified paths:
  • /trunk/phase3/skins/common/common_rtl.css (modified) (history)
  • /trunk/phase3/skins/common/shared.css (modified) (history)
  • /trunk/phase3/skins/modern/main.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)
  • /trunk/phase3/skins/monobook/rtl.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/rtl.css
@@ -227,19 +227,6 @@
228228 text-align: right;
229229 }
230230
231 -/**
232 - * Lists:
233 - * The following lines don't have a visible effect on non-Gecko browsers
234 - * They fix a problem ith Gecko browsers rendering lists to the right of
235 - * left-floated objects in an RTL layout.
236 - */
237 -html > body div#bodyContent ul {
238 - display: table;
239 -}
240 -html > body div#bodyContent ul#filetoc {
241 - display: block;
242 -}
243 -
244231 /* Special:Allpages styling */
245232 td.mw-allpages-nav, p.mw-allpages-nav, td.mw-allpages-alphaindexline {
246233 text-align: left;
Index: trunk/phase3/skins/monobook/main.css
@@ -1274,25 +1274,6 @@
12751275 display: none;
12761276 }
12771277
1278 -
1279 -/* filetoc */
1280 -ul#filetoc {
1281 - text-align: center;
1282 - border: 1px solid #aaaaaa;
1283 - background-color: #f9f9f9;
1284 - padding: 5px;
1285 - font-size: 95%;
1286 - margin-bottom: 0.5em;
1287 - margin-left: 0;
1288 - margin-right: 0;
1289 -}
1290 -
1291 -#filetoc li {
1292 - display: inline;
1293 - list-style-type: none;
1294 - padding-right: 2em;
1295 -}
1296 -
12971278 input#wpSummary {
12981279 width: 80%;
12991280 }
Index: trunk/phase3/skins/modern/main.css
@@ -788,25 +788,6 @@
789789 display: none;
790790 }
791791
792 -
793 -/* filetoc */
794 -ul#filetoc {
795 - text-align: center;
796 - border: 1px solid #aaaaaa;
797 - background-color: #f9f9f9;
798 - padding: 5px;
799 - font-size: 95%;
800 - margin-bottom: 0.5em;
801 - margin-left: 0;
802 - margin-right: 0;
803 -}
804 -
805 -#filetoc li {
806 - display: inline;
807 - list-style-type: none;
808 - padding-right: 2em;
809 -}
810 -
811792 input#wpSummary {
812793 width: 80%;
813794 }
Index: trunk/phase3/skins/common/common_rtl.css
@@ -52,3 +52,13 @@
5353 background: none !important;
5454 padding-left: 0 !important;
5555 }
 56+
 57+/**
 58+ * Lists:
 59+ * The following lines don't have a visible effect on non-Gecko browsers
 60+ * They fix a problem ith Gecko browsers rendering lists to the right of
 61+ * left-floated objects in an RTL layout.
 62+ */
 63+html > body div#bodyContent ul#filetoc {
 64+ display: block;
 65+}
Index: trunk/phase3/skins/common/shared.css
@@ -575,3 +575,21 @@
576576 .imagelist .TablePager_col_links { background-color: #eeeeff }
577577 .imagelist .TablePager_col_img_description { white-space: normal }
578578 .imagelist th.TablePager_sort { background-color: #ccccff }
 579+
 580+/* filetoc */
 581+ul#filetoc {
 582+ text-align: center;
 583+ border: 1px solid #aaaaaa;
 584+ background-color: #f9f9f9;
 585+ padding: 5px;
 586+ font-size: 95%;
 587+ margin-bottom: 0.5em;
 588+ margin-left: 0;
 589+ margin-right: 0;
 590+}
 591+
 592+#filetoc li {
 593+ display: inline;
 594+ list-style-type: none;
 595+ padding-right: 2em;
 596+}
\ No newline at end of file

Follow-up revisions

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

Status & tagging log