RTL CSS from Mani. fixes #6296
git-svn-id: http://svn.automattic.com/wordpress/trunk@7398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c66438659d
commit
31e258ae64
|
@ -0,0 +1,3 @@
|
|||
#poststuff .closed .togbox, #poststuff .togbox {
|
||||
background-image: url(../images/toggle-arrow-rtl.gif) !important;
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#rightnow .reallynow span {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#rightnow .reallynow a {
|
||||
text-align: left;
|
||||
float: left;
|
||||
margin: 1px 0 0 6px;
|
||||
}
|
||||
h3.dashboard-widget-title span {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
h3.dashboard-widget-title small {
|
||||
text-align: left;
|
||||
float: left;
|
||||
}
|
||||
div.dashboard-widget-content ul,
|
||||
div.dashboard-widget-content ol,
|
||||
div.dashboard-widget-content dl {
|
||||
padding-left:0;
|
||||
padding-right:15px;
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
/* dashboard */
|
||||
div#dashboard-widgets {
|
||||
margin-left:0;
|
||||
}
|
||||
div.dashboard-widget-holder {
|
||||
width:49%;
|
||||
}
|
||||
/* footer */
|
||||
#footer {
|
||||
padding-left:50px;
|
||||
}
|
||||
#footer p {
|
||||
background:none;
|
||||
height:auto;
|
||||
padding: 5px 5px 0;
|
||||
}
|
||||
/* write post */
|
||||
#poststuff .togbox {
|
||||
margin-right:-16px;
|
||||
}
|
||||
#poststuff h3 {
|
||||
padding-right:20px;
|
||||
}
|
||||
/* template editor */
|
||||
#template textarea {
|
||||
float:left;
|
||||
}
|
|
@ -1,15 +1,19 @@
|
|||
body { font: 13px Tahoma, Georgia, "Times New Roman", Times, serif; }
|
||||
|
||||
ul, ol { padding: 5px 20px 5px 5px; }
|
||||
|
||||
h1, h2, h3 { font-family: "Times New Roman", Times, serif; font-weight: 700 }
|
||||
|
||||
.step, th { text-align: left }
|
||||
|
||||
input { font-family: "Times New Roman", Times, serif; padding: 1px }
|
||||
|
||||
#logo { background: url(../wp-content/plugins/WP-Jalali/wp-fa-logo.png) center right no-repeat; text-align: left; }
|
||||
|
||||
#admin_email {direction: ltr; text-align: left; }
|
||||
|
||||
#footer { font-style: normal; }
|
||||
body {
|
||||
font-size: 11px;;
|
||||
}
|
||||
ul, ol {
|
||||
padding: 5px 22px 5px 5px;
|
||||
}
|
||||
.form-table th {
|
||||
text-align: right;
|
||||
}
|
||||
input {
|
||||
padding: 1px
|
||||
}
|
||||
#logo {
|
||||
text-align: left;
|
||||
}
|
||||
#admin_email {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
body {
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
|
||||
direction: rtl;
|
||||
}
|
||||
form {
|
||||
margin-left:0;
|
||||
margin-right:8px;
|
||||
}
|
||||
form .forgetmenot {
|
||||
float:right;
|
||||
}
|
||||
form .submit {
|
||||
float:left;
|
||||
}
|
||||
#login_error, .message {
|
||||
margin:0 8px 16px 0;
|
||||
}
|
||||
#nav {
|
||||
margin: 0 8px 0 0;
|
||||
}
|
||||
#user_pass, #user_login, #user_email {
|
||||
margin-right:0;
|
||||
margin-left: 6px;
|
||||
direction:ltr;
|
||||
}
|
||||
h1 a {
|
||||
text-decoration:none;
|
||||
}
|
||||
#backtoblog a {
|
||||
left: auto;
|
||||
right: 15px;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
ul#sidemenu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.align .field label {
|
||||
display: block;
|
||||
float: right;
|
||||
padding: 0 25px 0 0;
|
||||
margin: 5px 3px 5px 5px;
|
||||
}
|
||||
.align .field input {
|
||||
display: block;
|
||||
float: right;
|
||||
margin: 5px 15px 5px 0;
|
||||
}
|
||||
.image-align-none-label,
|
||||
.image-align-left-label,
|
||||
.image-align-center-label,
|
||||
.image-align-right-label {
|
||||
background-position: center right;
|
||||
}
|
|
@ -1,51 +1,7 @@
|
|||
div.widget-liquid-left-holder {
|
||||
float: right;
|
||||
clear: right;
|
||||
margin-left: -310px;
|
||||
margin-right: 0;
|
||||
h4.widget-title {
|
||||
text-align:left
|
||||
}
|
||||
|
||||
div.widget-liquid-left {
|
||||
margin-right: 0;
|
||||
margin-left: 310px;
|
||||
}
|
||||
|
||||
div.widget-liquid-right {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
p#widget-search {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item h4.widget-title {
|
||||
float: right;
|
||||
}
|
||||
|
||||
ul#widget-list li.widget-list-item div.widget-description {
|
||||
margin: 0 200px 0 0;
|
||||
padding: 0 4em 0 0;
|
||||
}
|
||||
|
||||
h4.widget-title a {
|
||||
left: 1em;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
li.widget-list-control-item h4.widget-title a,
|
||||
#dragHelper li.widget-list-control-item h4.widget-title a,
|
||||
#draghelper li.widget-list-control-item h4.widget-title a:visited {
|
||||
right: auto;
|
||||
left: 2em;
|
||||
}
|
||||
|
||||
li.widget-list-control-item div.widget-control {
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
ul.widget-control-list div.widget-control-actions {
|
||||
margin-left: -10px;
|
||||
margin-right: 0;
|
||||
}
|
||||
left:0;
|
||||
right:auto
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 72 B |
370
wp-admin/rtl.css
370
wp-admin/rtl.css
|
@ -1,127 +1,245 @@
|
|||
html,
|
||||
#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,
|
||||
#submenu,
|
||||
#minisub,
|
||||
.wrap,
|
||||
.updated,
|
||||
.confirm,
|
||||
#devnews h3,
|
||||
#planetnews h3,
|
||||
#wphead,
|
||||
#user_info,
|
||||
body.login,
|
||||
#login_error {
|
||||
direction: rtl;
|
||||
}
|
||||
p.submit,
|
||||
html *,
|
||||
select,
|
||||
input,
|
||||
table * {
|
||||
font-family: tahoma, Tahoma, "Times New Roman", Times, serif;
|
||||
}
|
||||
#wphead {
|
||||
padding: .8em 2em .8em 19em;
|
||||
}
|
||||
#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;
|
||||
}
|
||||
html,#edit-slug-box,#trackback,#category_nicename,#slug,#dbuser,#dbpass,#dbname,#dbhost,#dbprefix,#dccharset,input[name=gmpath],input[name=archivespath],input[name=lastentry],input[name=email],input[name=url],input[name=aim],input[name=yim],input[name=jabber],#newcontent,#email,#newcomment_author_url,#pass1,#pass2,#siteurl,#home,#admin_email,#date_format,#time_format,#mailserver_url,#mailserver_login,#mailserver_pass,#ping_sites,#blog_charset,#moderation_keys,#blacklist_keys,#permalink_structure,#category_base,#tag_base,#upload_path,#upload_url_path,#insertonly[src],#insertonly[href]
|
||||
{
|
||||
direction:ltr;
|
||||
text-align:left
|
||||
}
|
||||
|
||||
#newcat {
|
||||
width: 100px;
|
||||
}
|
||||
.updated, .confirm {
|
||||
background-position: 98.5%;
|
||||
padding: 0 3em 0 1em;
|
||||
}
|
||||
.page-numbers {
|
||||
margin-right: auto;
|
||||
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 {
|
||||
left: 6%;
|
||||
right: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
#postdiv #quicktags {
|
||||
padding-right: 0;
|
||||
padding-left: 6px;
|
||||
margin-right: 0;
|
||||
}
|
||||
.options ul {
|
||||
margin-right: 0;
|
||||
}
|
||||
*form#template > div > textarea#newcontent {
|
||||
margin-right: -300px;
|
||||
width: 107%;
|
||||
}
|
||||
#wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header
|
||||
{
|
||||
direction:rtl!important;
|
||||
text-align:right!important
|
||||
}
|
||||
|
||||
#user_info
|
||||
{
|
||||
left:15px;
|
||||
right:auto
|
||||
}
|
||||
|
||||
#wphead h1
|
||||
{
|
||||
margin:0 0 0 15%;
|
||||
padding:11px 15px 16px 170px
|
||||
}
|
||||
|
||||
#wphead #viewsite
|
||||
{
|
||||
margin-left:0;
|
||||
margin-right:10px
|
||||
}
|
||||
|
||||
#sidemenu
|
||||
{
|
||||
float:left;
|
||||
margin:-30px 315px 0 15px;
|
||||
padding-left:0;
|
||||
padding-right:10px
|
||||
}
|
||||
|
||||
#dashmenu
|
||||
{
|
||||
font-size:11px;
|
||||
left:auto;
|
||||
padding-left:0;
|
||||
padding-right:9px;
|
||||
right:0
|
||||
}
|
||||
|
||||
#dashmenu a
|
||||
{
|
||||
margin-left:8px;
|
||||
margin-right:auto
|
||||
}
|
||||
|
||||
#adminmenu
|
||||
{
|
||||
height:32px;
|
||||
padding:5px 8px 0 0
|
||||
}
|
||||
|
||||
#adminmenu li a
|
||||
{
|
||||
display:block;
|
||||
float:right;
|
||||
font:700 16px/100% "Times New Roman", Times, serif;
|
||||
margin:0 0 0 10px;
|
||||
padding:5px 7px 9px
|
||||
}
|
||||
|
||||
#adminmenu li a.current
|
||||
{
|
||||
font-weight:700
|
||||
}
|
||||
|
||||
#adminmenu li a #awaiting-mod
|
||||
{
|
||||
background:url(images/comment-stalk-rtl.gif) -309px bottom !important;
|
||||
font-family: Tahoma, Verdana, sans-serif;
|
||||
margin-left:-45px;
|
||||
margin-right:.2em;
|
||||
margin-top:-5px
|
||||
}
|
||||
|
||||
#adminmenu li a:hover #awaiting-mod
|
||||
{
|
||||
background-position: -229px bottom !important;
|
||||
}
|
||||
|
||||
#adminmenu li a #awaiting-mod span
|
||||
{
|
||||
left:0;
|
||||
right:auto
|
||||
}
|
||||
|
||||
#submenu li a
|
||||
{
|
||||
display:block;
|
||||
float:right;
|
||||
margin:0 10px 10px 0;
|
||||
padding:2px 4px
|
||||
}
|
||||
|
||||
p#post-search
|
||||
{
|
||||
left:0;
|
||||
right:auto
|
||||
}
|
||||
|
||||
.tablenav div
|
||||
{
|
||||
float:right!important
|
||||
}
|
||||
|
||||
ul.view-switch
|
||||
{
|
||||
float:left;
|
||||
margin:-28px 0 -2px 5px
|
||||
}
|
||||
|
||||
#currenttheme img
|
||||
{
|
||||
float:right;
|
||||
margin-left:1em;
|
||||
margin-right:0
|
||||
}
|
||||
|
||||
form#themeselector
|
||||
{
|
||||
float:left
|
||||
}
|
||||
|
||||
#poststuff #edButtonPreview,#poststuff #edButtonHTML
|
||||
{
|
||||
float:left;
|
||||
margin-left:8px;
|
||||
margin-right:0
|
||||
}
|
||||
|
||||
#poststuff #media-buttons
|
||||
{
|
||||
float:left;
|
||||
margin-left:20px;
|
||||
margin-right:0
|
||||
}
|
||||
|
||||
#poststuff #media-buttons a
|
||||
{
|
||||
margin-left:8px;
|
||||
margin-right:0
|
||||
}
|
||||
|
||||
#poststuff .togbox
|
||||
{
|
||||
margin-left:0;
|
||||
margin-right:-19px
|
||||
}
|
||||
|
||||
#categorydiv ul#category-tabs,#linkcategorydiv ul#category-tabs
|
||||
{
|
||||
float:right;
|
||||
margin:0 0 0 -120px;
|
||||
text-align:left
|
||||
}
|
||||
|
||||
ul#category-tabs li.ui-tabs-selected,#poststuff .togbox
|
||||
{
|
||||
-khtml-border-bottom-left-radius:0;
|
||||
-khtml-border-bottom-right-radius:3px;
|
||||
-khtml-border-top-left-radius:0;
|
||||
-khtml-border-top-right-radius:3px;
|
||||
-moz-border-radius-bottomleft:0;
|
||||
-moz-border-radius-bottomright:3px;
|
||||
-moz-border-radius-topleft:0;
|
||||
-moz-border-radius-topright:3px;
|
||||
-webkit-border-bottom-left-radius:0;
|
||||
-webkit-border-bottom-right-radius:3px;
|
||||
-webkit-border-top-left-radius:0;
|
||||
-webkit-border-top-right-radius:3px;
|
||||
border-bottom-left-radius:0;
|
||||
border-bottom-right-radius:3px;
|
||||
border-top-left-radius:0;
|
||||
border-top-right-radius:3px
|
||||
}
|
||||
|
||||
div.ui-tabs-panel
|
||||
{
|
||||
margin:0 120px 0 0
|
||||
}
|
||||
|
||||
#tagchecklist span
|
||||
{
|
||||
float:right;
|
||||
margin-left:15px;
|
||||
margin-right:0
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages
|
||||
{
|
||||
float:left!important;
|
||||
width:200px
|
||||
}
|
||||
|
||||
.tablenav-pages .page-numbers
|
||||
{
|
||||
display:block;
|
||||
float:right
|
||||
}
|
||||
|
||||
.side-info ul
|
||||
{
|
||||
padding-left:0;
|
||||
padding-right:18px
|
||||
}
|
||||
|
||||
#footer
|
||||
{
|
||||
padding:10px 0 0
|
||||
}
|
||||
|
||||
#footer p
|
||||
{
|
||||
background:url(images/logo-ghost.png) no-repeat right center;
|
||||
height:35px;
|
||||
margin-right:20px;
|
||||
padding:12px 40px 0 0
|
||||
}
|
||||
|
||||
#submenu,#wpbody
|
||||
{
|
||||
clear:both
|
||||
}
|
||||
|
||||
#submenu li,ul.subsubsub li a
|
||||
{
|
||||
padding:0
|
||||
}
|
||||
|
||||
table.widefat th,.form-table th
|
||||
{
|
||||
text-align:right
|
||||
}
|
||||
|
||||
.available-theme,#tagchecklist span a
|
||||
{
|
||||
float:right
|
||||
}
|
Loading…
Reference in New Issue