r51595 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51594‎ | r51595 | r51596 >
Date:16:59, 8 June 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Added rtl support.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.css (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.css
@@ -15,17 +15,33 @@
1616 div#edittoolbar div.group:first-child {
1717 border-left: none;
1818 }
 19+body.rtl div#edittoolbar div.group {
 20+ float: left;
 21+ padding-left: 0;
 22+ padding-right: 3px;
 23+ border-left: none;
 24+ border-right: solid 1px #DDDDDD;
 25+}
 26+body.rtl div.group:first-child {
 27+ border-right: none;
 28+}
1929 div#edittoolbar div.sections {
2030 float: left;
2131 width: 100%;
2232 clear: both;
2333 }
 34+body.rtl div#edittoolbar div.sections {
 35+ float: right;
 36+}
2437 div#edittoolbar div.sections > div.section {
2538 display: none;
2639 float: left;
2740 width: 100%;
2841 border-top: solid 1px #DDDDDD;
2942 }
 43+body.rtl div#edittoolbar div.sections > div.section {
 44+ float: right;
 45+}
3046 div#edittoolbar div.group > img {
3147 float: left;
3248 border: 0px;
@@ -34,16 +50,25 @@
3551 margin: 2px;
3652 cursor: pointer;
3753 }
 54+body.rtl div#edittoolbar div.group > img {
 55+ float: right;
 56+}
3857 div#edittoolbar div.group > select {
3958 float: left;
4059 margin: 2px;
4160 height: 22px;
4261 cursor: pointer;
4362 }
 63+body.rtl div#edittoolbar div.group > select {
 64+ float: right;
 65+}
4466 div#edittoolbar div.tabs > div.tab {
4567 float: left;
4668 line-height: 26px;
4769 }
 70+body.rtl div#edittoolbar div.tabs > div.tab {
 71+ float: right;
 72+}
4873 div#edittoolbar div.tabs > div.tab > a,
4974 div#edittoolbar div.tabs > div.tab > a:visited {
5075 padding-left: 18px;
@@ -56,6 +81,12 @@
5782 background-position: left center;
5883 background-repeat: no-repeat;
5984 }
 85+body.rtl div#edittoolbar div.tabs > div.tab > a,
 86+body.rtl div#edittoolbar div.tabs > div.tab > a:visited {
 87+ padding-left: 12px;
 88+ padding-right: 18px;
 89+ background-position: right center;
 90+}
6091 div#edittoolbar div.tabs > div.tab > a.current,
6192 div#edittoolbar div.tabs > div.tab > a.current:visited {
6293 color: #333333;

Status & tagging log