Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated RTL CSS from mani_monaj. fixes #5025

git-svn-id: http://svn.automattic.com/wordpress/trunk@6146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 94349171ec207ec3cd79a182ade0e0d559c12412 1 parent 5177c0e
ryan authored
Showing with 113 additions and 267 deletions.
  1. +12 −50 wp-admin/css/upload-rtl.css
  2. +33 −35 wp-admin/css/widgets-rtl.css
  3. +68 −182 wp-admin/rtl.css
View
62 wp-admin/css/upload-rtl.css
@@ -1,50 +1,12 @@
-#upload-menu li a.upload-tab-link {
- float: right;
- margin: 0 .75em 0 0;
-}
-
-table { float: right; }
-
-#upload-menu li #current-tab-nav {
- float: right;
- padding: 5px 0 0 5px;
- margin-right: -5px;
-}
-
-#upload-file th, #the-attachment-links textarea { text-align: left; }
-
-h2 { margin: 0 0 0 .2em; }
-
-#upload-files li { margin: 0 15px 15px 0; }
-
-#upload-file-view { padding: 0 75px 0 0; }
-
-#upload-menu li {
- display: block;
- float: right;
-}
-
-#upload-menu li.current {
- border-right: 0;
- border-left: 2px solid #448abd;
-}
-
-#upload-file {
- left: auto;
- right: 0;
-}
-
-#file-title {
- margin: 0 75px .2em 0;
- font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
-}
-
-.back {
- left: auto;
- right: 14px;
-}
-
-#uploadoptions td {
- padding-left: 0;
- padding-right: 1em;
-}
+html {
+ direction: ltr;
+ }
+#uploadoptions, table {
+ direction: rtl;
+ }
+td {
+ padding: 1px 6px 0;
+ }
+.submit {
+ text-align: left;
+ }
View
68 wp-admin/css/widgets-rtl.css
@@ -1,40 +1,38 @@
-#sbreset, #lastmodule, #palettediv .module, .dropzone, .dropzone ul, .placematt { float: right; }
-
-* .module, #lastmodule { text-align: right; }
-
-* html #palettediv ul { padding: 0 10px 0 0; }
-
-#palettediv ul { padding: 0 10px 0 0;
- margin-left: 1px!important;}
-
+.dropzone,
+#palettediv,
+.handle,
+.controlform {
+ direction: rtl;
+ text-align: justify;
+ }
+.dropzone {
+ float: right;
+ margin-left: 10px;
+ margin-right: auto;
+ width: 240px;
+ }
+* html .dropzone ul {
+ margin-right: 0;
+ }
* .handle, #lastmodule span {
- border-right: 1px solid #f2f2f2;
border-left: 1px solid #e8e8e8;
-}
-
-#sbadmin p.submit {
- padding-right: 0;
- padding-left: 10px;
- clear: right;
-}
-
-#palettediv .module, #lastmodule, .dropzone {
- margin-right: auto;
- margin-left: 10px;
-}
-
+ border-right: 1px solid #f2f2f2;
+ }
* .popper {
right: auto;
left: 3px;
- background-position: 5px 0;
-}
-
-.controlcloser {
- right: auto;
- left: 8px;
-}
-
-#shadow {
- left: auto;
- right: 0px;
-}
+ }
+#palettediv .module, #lastmodule {
+ margin-right: auto;
+ margin-left: 10px;
+ float: right;
+ }
+#palettediv ul {
+ padding: 0 10px 0 0;
+ margin-right: 0;
+ width: 100%;
+ }
+.placemat {
+ margin-right: 0;
+ float: right;
+ }
View
250 wp-admin/rtl.css
@@ -1,247 +1,133 @@
-#viewarc, #viewcat, #namediv, #emaildiv, #uridiv, #planetnews li, #login ul li, #your-profile fieldset, #footer .logo, .alignleft .available-theme {
- float: right;
- }
-
-#templateside, .alignright {
- float: left;
+html,
+.dbx-handle,
+#post_name,
+input[name=link_url],
+input[name=link_image],
+input[name=opml_url],
+input[name=file],
+input#rss_uri,
+#template #newcontent,
+#devnews,
+#planetnews,
+#content,
+body.login #login a,
+#newcomment_author_url,
+#email {
+ direction: ltr;
}
-
-#login #send, .readmore, .widefat th {
- text-align: right;
+#adminmenu,
+#submenu,
+#minisub,
+.wrap,
+.updated,
+.confirm,
+#devnews h3,
+#planetnews h3,
+#wphead,
+#user_info,
+body.login,
+#login_error {
+ direction: rtl;
}
-
-#postcustomsubmit, form#upload th, .submit, .editform th {
+p.submit,
+.dbx-handle {
text-align: left;
}
-
-#devnews h4, #wphead h1, #your-profile legend, fieldset.options legend, #planetnews li .post {
- font-family: Tahoma, Georgia, "Times New Roman", Times, serif;
+html *,
+select,
+input,
+table * {
+ font-family: tahoma, Tahoma, "Times New Roman", Times, serif;
}
-
#wphead {
padding: .8em 2em .8em 19em;
}
-
-#wphead h1 {
- font-size: 2.4em;
- }
-
-#postdiv, #titlediv, #guiddiv, #tagdiv {
- margin: 0 0 0 8px;
- }
-
-#ed_toolbar input {
- margin: 3px 0 2px 2px;
- }
-
-#edButtons input, #edButtons input:active {
- margin: 0px 0 -1px 2px;
- }
-
-body, td {
- font: 13px Tahoma, "Lucida Grande", "Lucida Sans Unicode", Verdana;
- }
-
-h1, h2, h3, h4, h5 {
- font-family: "Times New Roman", Times, serif;
- }
-h3.dbx-handle {
- font-family: tahoma, Verdana, Arial, Helvetica, sans-serif;
- }
-
-textarea, input, select {
- font: 13px Tahoma, Verdana, Arial, Helvetica, sans-serif;
- }
-
-.quicktags, .search {
- font: 12px Tahoma, Georgia, "Times New Roman", Times, serif;
- }
-
-.updated, .confirm {
- padding: 0 3em 0 1em;
- }
-
-.submit input, .submit input:focus, .button, .button:focus {
- border-left-color: #999;
- border-right-color: #ccc;
- }
-
-.submit input:active, .button:active {
- border-left-color: #ccc;
- border-right-color: #999;
+#user_info {
+ right: auto;
+ left: 1em;
}
-
#adminmenu {
padding: .2em 2em .3em .2em;
height: 28px;
}
-
+* html #adminmenu {
+ padding-bottom: 0;
+ }
#adminmenu a {
margin: 0 0 0 10px;
display: block;
float: right;
font: 700 16px/130% "Times New Roman", Times, serif;
}
-
#adminmenu a.current {
border-right: 0;
border-left: 2px solid #4f96c8;
}
-
#submenu, #minisub {
padding: 1px 3em 0 2em;
}
-
#submenu {
height: 28px;
}
-
#submenu a {
margin: 0 0 0 10px;
display: block;
float: right;
line-height: 155%;
}
-
#submenu .current {
border-right: 0;
border-left: 2px solid #045290;
}
-
-#currenttheme img {
- float: right;
- margin-right: auto;
- margin-left: 1em;
- }
-
-#postdiv #quicktags {
- padding-right: 0;
- padding-left: 6px;
- }
-
-.readmore {
- margin-right: auto;
- margin-left: 5em;
+.dbx-content input, .dbx-content select {
+ margin-right: 8px;
}
-
-#postexcerpt div, #attachmentlinks div {
- margin-right: auto;
- margin-left: 8px;
+#newcat {
+ width: 100px;
}
-
-* html #postexcerpt .dbx-toggle-open {
- padding-right: 0;
- padding-left: 8px;
- }
-
-#searchform {
- float: right;
- margin-right: auto;
- margin-left: 1em;
+.updated, .confirm {
+ background-position: 98.5%;
+ padding: 0 3em 0 1em;
}
-
-#poststuff {
+.page-numbers {
margin-right: auto;
- margin-left: 16em;
+ margin-left: 3px;
}
-
-#template div {
- margin-right: auto;
- margin-left: 190px;
+.wrap ul {
+ margin-right: 45%;
+ margin-left: 0;
}
-
-* html #template div {
- margin-right: auto;
- margin-left: 0px;
+* html .wrap ul {
+ margin-right: 50%;
}
-
-#user_info {
- right: auto;
- left: 1em;
+.wrap h2 {
+ font-family: "Times New Roman", Times, serif;
}
-
#zeitgeist {
- float: left;
- margin-left: auto;
margin-right: 1em;
}
-
#zeitgeist ul {
margin: 0 .6em .3em 0;
padding: 0 .6em 0 0;
}
-
-.wrap ul {
- margin-left: 500px;
- }
-
#categorydiv ul {
margin-left: auto;
margin-right: 10px;
}
-
-#moremeta {
- margin-right: 0;
- margin-left: 15px;
- right: auto;
+a.view-link {
left: 6%;
- }
-
-#moremeta .dbx-content {
- background: url(images/box-butt.gif) no-repeat bottom left;
- padding-right: 10px;
- padding-left: 0;
- text-align: right;
- }
-
-#moremeta .dbx-handle {
- background: #2685af url(images/box-head.gif) no-repeat left;
- margin-top: -2px;
- }
-
-#moremeta .dbx-box {
- background: url(images/box-bg.gif) repeat-y left;
- padding-bottom: 0;
- }
-
-a.dbx-toggle, a.dbx-toggle:visited {
right: auto;
- left: 2px;
- }
-
-
-#categorychecklist {
margin-right: auto;
- margin-left: 6px;
- }
-
-#ajax-response.alignleft {
- margin-left: auto;
- margin-right: 2em;
- }
-
-#postdivrich #edButtons {
- padding-left: 0;
- padding-right: 3px;
- }
-
-.page-numbers {
- margin-right: auto;
- margin-left: 3px;
}
-
-a.view-link {
- right:auto;
- left:5%;
- margin-right:0;
- margin-left:220px;
- }
-#advancedstuff {
- direction: ltr;
+#postdiv #quicktags {
+ padding-right: 0;
+ padding-left: 6px;
+ margin-right: 0;
}
-#advancedstuff .dbx-handle {
- text-align: right;
+.options ul {
+ margin-right: 0;
}
-#advancedstuff .dbx-content * {
- direction: rtl;
+*form#template > div > textarea#newcontent {
+ margin-right: -300px;
+ width: 107%;
}
Please sign in to comment.
Something went wrong with that request. Please try again.