Updated RTL CSS from mani_monaj. fixes #5025

git-svn-id: http://svn.automattic.com/wordpress/trunk@6146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-09-20 23:36:45 +00:00
parent 5177c0e5c7
commit 94349171ec
3 changed files with 128 additions and 282 deletions

View File

@ -1,50 +1,12 @@
#upload-menu li a.upload-tab-link { html {
float: right; direction: ltr;
margin: 0 .75em 0 0; }
} #uploadoptions, table {
direction: rtl;
table { float: right; } }
td {
#upload-menu li #current-tab-nav { padding: 1px 6px 0;
float: right; }
padding: 5px 0 0 5px; .submit {
margin-right: -5px; text-align: left;
} }
#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;
}

View File

@ -1,40 +1,38 @@
#sbreset, #lastmodule, #palettediv .module, .dropzone, .dropzone ul, .placematt { float: right; } .dropzone,
#palettediv,
* .module, #lastmodule { text-align: right; } .handle,
.controlform {
* html #palettediv ul { padding: 0 10px 0 0; } direction: rtl;
text-align: justify;
#palettediv ul { padding: 0 10px 0 0; }
margin-left: 1px!important;} .dropzone {
float: right;
* .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; margin-left: 10px;
} margin-right: auto;
width: 240px;
}
* html .dropzone ul {
margin-right: 0;
}
* .handle, #lastmodule span {
border-left: 1px solid #e8e8e8;
border-right: 1px solid #f2f2f2;
}
* .popper { * .popper {
right: auto; right: auto;
left: 3px; left: 3px;
background-position: 5px 0; }
} #palettediv .module, #lastmodule {
margin-right: auto;
.controlcloser { margin-left: 10px;
right: auto; float: right;
left: 8px; }
} #palettediv ul {
padding: 0 10px 0 0;
#shadow { margin-right: 0;
left: auto; width: 100%;
right: 0px; }
} .placemat {
margin-right: 0;
float: right;
}

View File

@ -1,247 +1,133 @@
#viewarc, #viewcat, #namediv, #emaildiv, #uridiv, #planetnews li, #login ul li, #your-profile fieldset, #footer .logo, .alignleft .available-theme { html,
float: right; .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;
} }
#adminmenu,
#templateside, .alignright { #submenu,
float: left; #minisub,
.wrap,
.updated,
.confirm,
#devnews h3,
#planetnews h3,
#wphead,
#user_info,
body.login,
#login_error {
direction: rtl;
} }
p.submit,
#login #send, .readmore, .widefat th { .dbx-handle {
text-align: right;
}
#postcustomsubmit, form#upload th, .submit, .editform th {
text-align: left; text-align: left;
} }
html *,
#devnews h4, #wphead h1, #your-profile legend, fieldset.options legend, #planetnews li .post { select,
font-family: Tahoma, Georgia, "Times New Roman", Times, serif; input,
table * {
font-family: tahoma, Tahoma, "Times New Roman", Times, serif;
} }
#wphead { #wphead {
padding: .8em 2em .8em 19em; padding: .8em 2em .8em 19em;
} }
#user_info {
#wphead h1 { right: auto;
font-size: 2.4em; left: 1em;
} }
#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;
}
#adminmenu { #adminmenu {
padding: .2em 2em .3em .2em; padding: .2em 2em .3em .2em;
height: 28px; height: 28px;
} }
* html #adminmenu {
padding-bottom: 0;
}
#adminmenu a { #adminmenu a {
margin: 0 0 0 10px; margin: 0 0 0 10px;
display: block; display: block;
float: right; float: right;
font: 700 16px/130% "Times New Roman", Times, serif; font: 700 16px/130% "Times New Roman", Times, serif;
} }
#adminmenu a.current { #adminmenu a.current {
border-right: 0; border-right: 0;
border-left: 2px solid #4f96c8; border-left: 2px solid #4f96c8;
} }
#submenu, #minisub { #submenu, #minisub {
padding: 1px 3em 0 2em; padding: 1px 3em 0 2em;
} }
#submenu { #submenu {
height: 28px; height: 28px;
} }
#submenu a { #submenu a {
margin: 0 0 0 10px; margin: 0 0 0 10px;
display: block; display: block;
float: right; float: right;
line-height: 155%; line-height: 155%;
} }
#submenu .current { #submenu .current {
border-right: 0; border-right: 0;
border-left: 2px solid #045290; border-left: 2px solid #045290;
} }
.dbx-content input, .dbx-content select {
#currenttheme img { margin-right: 8px;
float: right;
margin-right: auto;
margin-left: 1em;
} }
#newcat {
#postdiv #quicktags { width: 100px;
padding-right: 0;
padding-left: 6px;
} }
.updated, .confirm {
.readmore { background-position: 98.5%;
margin-right: auto; padding: 0 3em 0 1em;
margin-left: 5em;
} }
#postexcerpt div, #attachmentlinks div {
margin-right: auto;
margin-left: 8px;
}
* html #postexcerpt .dbx-toggle-open {
padding-right: 0;
padding-left: 8px;
}
#searchform {
float: right;
margin-right: auto;
margin-left: 1em;
}
#poststuff {
margin-right: auto;
margin-left: 16em;
}
#template div {
margin-right: auto;
margin-left: 190px;
}
* html #template div {
margin-right: auto;
margin-left: 0px;
}
#user_info {
right: auto;
left: 1em;
}
#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;
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 { .page-numbers {
margin-right: auto; margin-right: auto;
margin-left: 3px; margin-left: 3px;
} }
.wrap ul {
margin-right: 45%;
margin-left: 0;
}
* html .wrap ul {
margin-right: 50%;
}
.wrap h2 {
font-family: "Times New Roman", Times, serif;
}
#zeitgeist {
margin-right: 1em;
}
#zeitgeist ul {
margin: 0 .6em .3em 0;
padding: 0 .6em 0 0;
}
#categorydiv ul {
margin-left: auto;
margin-right: 10px;
}
a.view-link { a.view-link {
right:auto; left: 6%;
left:5%; right: auto;
margin-right:0; margin-right: auto;
margin-left:220px;
} }
#advancedstuff { #postdiv #quicktags {
direction: ltr; padding-right: 0;
padding-left: 6px;
margin-right: 0;
} }
#advancedstuff .dbx-handle { .options ul {
text-align: right; margin-right: 0;
} }
#advancedstuff .dbx-content * { *form#template > div > textarea#newcontent {
direction: rtl; margin-right: -300px;
width: 107%;
} }