r80064 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80063‎ | r80064 | r80065 >
Date:00:06, 12 January 2011
Author:tparscal
Status:ok
Tags:
Comment:
Removed ad-hoc rtl rules - CSSJanus out of the box is doing just fine.
Modified paths:
  • /trunk/extensions/WikiEditor/modules/jquery.wikiEditor.css (modified) (history)
  • /trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toc.css (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.css
@@ -13,9 +13,6 @@
1414 .wikiEditor-ui textarea:focus {
1515 outline: none;
1616 }
17 -body.rtl .wikiEditor-ui {
18 - float: right;
19 -}
2017 .wikiEditor-ui .wikiEditor-ui-bottom {
2118
2219 }
@@ -30,17 +27,11 @@
3128 float: left;
3229 width: 100%;
3330 }
34 -body.rtl .wikiEditor-ui .wikiEditor-ui-left {
35 - float: right;
36 -}
3731 .wikiEditor-ui .wikiEditor-ui-right {
3832 float: right;
3933 background: #F3F3F3;
4034 overflow: hidden;
4135 }
42 -body.rtl .wikiEditor-ui .wikiEditor-ui-right {
43 - float: left;
44 -}
4536 .wikiEditor-wikitext {
4637 float: left;
4738 width: 100%;
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toc.css
@@ -1,7 +1,7 @@
22 /*
33 * CSS for WikiEditor Table of Contents jQuery plugin
44 */
5 -
 5+
66 .wikiEditor-ui-toc {
77 /* height and width are set dynamically */
88 /*float: right;*/
@@ -12,10 +12,6 @@
1313 .wikiEditor-ui-toc {
1414 border-left: solid silver 1px;
1515 }
16 -body.rtl .wikiEditor-ui-toc {
17 - border-right: solid silver 1px;
18 - border-left: none;
19 -}
2016 .wikiEditor-ui-toc ul {
2117 padding: 0;
2218 margin: 0;
@@ -40,10 +36,6 @@
4137 white-space: nowrap;
4238 overflow: hidden;
4339 }
44 -body.rtl .tab-toc {
45 - background-position: right top;
46 - padding-right: 2em;
47 -}
4840 .tab-toc a {
4941 outline: none;
5042 }
@@ -69,45 +61,21 @@
7062 padding: 0.125em;
7163 padding-left: 1em;
7264 }
73 -body.rtl .wikiEditor-ui-toc ul li div {
74 - padding-right: 1em;
75 - padding-left: 0;
76 -}
7765 .wikiEditor-ui-toc ul ul li div {
7866 padding-left: 2em;
7967 }
80 -body.rtl .wikiEditor-ui-toc ul ul li div {
81 - padding-right: 2em;
82 - padding-left: 0;
83 -}
8468 .wikiEditor-ui-toc ul ul ul li div {
8569 padding-left: 3em;
8670 }
87 -body.rtl .wikiEditor-ui-toc ul ul ul li div {
88 - padding-right: 3em;
89 - padding-left: 0;
90 -}
9171 .wikiEditor-ui-toc ul ul ul ul li div {
9272 padding-left: 4em;
9373 }
94 -body.rtl .wikiEditor-ui-toc ul ul ul ul li div {
95 - padding-right: 4em;
96 - padding-left: 0;
97 -}
9874 .wikiEditor-ui-toc ul ul ul ul ul li div {
9975 padding-left: 5em;
10076 }
101 -body.rtl .wikiEditor-ui-toc ul ul ul ul ul li div {
102 - padding-right: 5em;
103 - padding-left: 0;
104 -}
10577 .wikiEditor-ui-toc ul ul ul ul ul ul li div {
10678 padding-left: 6em;
10779 }
108 -body.rtl wikiEditor-ui-toc ul ul ul ul ul ul li div {
109 - padding-right: 6em;
110 - padding-left: 0;
111 -}
11280 .wikiEditor-ui-toc ul li div.current {
11381 background-color: #FAFAFA;
11482 color: #333333;
@@ -179,9 +147,6 @@
180148 background: url(images/toc/grip.png) 50% 50% no-repeat;
181149 z-index: 0;
182150 }
183 -body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip {
184 - right: 2px !important;
185 -}
186151 .wikiEditor-ui-toolbar .tab-toc {
187152 float: right;
188153 margin: 3px 16px 3px 3px;
@@ -199,12 +164,6 @@
200165 white-space: nowrap;
201166 overflow: hidden;
202167 }
203 -body.rtl .wikiEditor-ui-toc-expandControl {
204 - padding-left: 1em;
205 - padding-right: 0;
206 - left: 10px;
207 - right: auto;
208 -}
209168 .wikiEditor-ui-text textarea {
210169 resize: none;
211170 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r802571.17: MFT r79821, r79842, r79970, r79973, r79975, r79978, r80057, r80058, r80...catrope12:35, 14 January 2011

Status & tagging log