mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
RTL fixes from RanYanivHartstein. see #7482
git-svn-id: http://svn.automattic.com/wordpress/branches/2.6@8591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
948ac9a0d8
commit
909dea5998
|
|
@ -47,6 +47,56 @@ p#widget-search, p#post-search {
|
|||
|
||||
/* Editor */
|
||||
|
||||
.mceToolbar {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* IE6 */
|
||||
|
||||
/* Search box gets stuck to the right, hidden outside view */
|
||||
* html #post-search, * html #widget-search {
|
||||
height: 1% !important;
|
||||
right: 600px !important;
|
||||
}
|
||||
|
||||
/* Sidemenu tends to disapear, widget filter area tends to jump around when adding filters - Peek-A-Boo! */
|
||||
* html #sidemenu, * html #widgets-filter {
|
||||
height: 1% !important;
|
||||
}
|
||||
|
||||
/* Media upload window gets stuck to the right, hidden outside view */
|
||||
* html #TB_window {
|
||||
left: 100px !important;
|
||||
}
|
||||
|
||||
/* Bad floating in the sub-sub-sub menu makes links un-clickable */
|
||||
* html .subsubsub li {
|
||||
display: block; float: right; margin: 0 2px;
|
||||
}
|
||||
|
||||
/* Fixing floats on sub-sub-sub menu skewes the view-switch menu on comments management page */
|
||||
* html .wrap .view-switch {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
/* Theme selector on theme edit page gets stuck to the left, hidden outside view */
|
||||
* html #themeselector {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/* Template edit area floats beneath template list, gets RTLed */
|
||||
* html #template {
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
width: 755px !important;
|
||||
}
|
||||
* html #template #newcontent {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
/* Editor */
|
||||
|
||||
.mceToolbar {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,12 @@ body, td, .submit input, .button, .button-secondary, .button-highlighted, #your-
|
|||
font-family: monospace !important;
|
||||
}
|
||||
|
||||
/* Clears update nag, so it doesn't hide the submenu */
|
||||
#update-nag {
|
||||
clear: both;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header
|
||||
{
|
||||
direction:rtl!important;
|
||||
|
|
@ -113,9 +119,10 @@ p#post-search
|
|||
right:auto
|
||||
}
|
||||
|
||||
.tablenav div
|
||||
.tablenav div
|
||||
{
|
||||
float:right!important
|
||||
float:right !important;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.tablenav .delete
|
||||
|
|
@ -321,4 +328,80 @@ table.widefat th,.form-table th
|
|||
|
||||
div#message {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
/* WPH - TinyMCE */
|
||||
|
||||
#media-items th.label {
|
||||
width: 120px;
|
||||
}
|
||||
#media-items th.label .alignleft {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
#media-items th.label .alignright {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* LTRs some url- and code-only form fields */
|
||||
input#href, input#src, input#class_name {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#sidemenu a {
|
||||
float: right;
|
||||
}
|
||||
|
||||
thead.media-item-info {
|
||||
float: left;
|
||||
margin-bottom: 18px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
thead.media-item-info td {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
thead.media-item-info td.A1B1 {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#gallery-form table.widefat th {
|
||||
float: left;
|
||||
width: 74%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#gallery-form table.widefat th.order-head {
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
#media-upload tr.align td.field, #media-upload tr.image-size td.field {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
#media-upload tr.align td.field {
|
||||
float:right;
|
||||
margin-right:-15px;
|
||||
}
|
||||
|
||||
tr.image-size label {
|
||||
display:inline;
|
||||
margin:0 0 0 1em !important;
|
||||
}
|
||||
|
||||
#library-form {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#filter .subsubsub {
|
||||
direction: rtl;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#media-upload form#filter {
|
||||
margin-right: -20px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user