Skip to content

Commit dd5fae7

Browse files
committed
RTL fixes from RanYanivHartstein. see WordPress#7482
git-svn-id: https://develop.svn.wordpress.org/trunk@8590 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 010f5ed commit dd5fae7

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

wp-admin/css/ie-rtl.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,54 @@ p#widget-search, p#post-search {
4747
/* template editor */
4848
#template textarea {
4949
float:left;
50+
}
51+
52+
/* Editor */
53+
54+
.mceToolbar {
55+
direction: ltr;
56+
text-align: left;
57+
}
58+
59+
/* IE6 */
60+
61+
/* Search box gets stuck to the right, hidden outside view */
62+
* html #post-search, * html #widget-search {
63+
height: 1% !important;
64+
right: 600px !important;
65+
}
66+
67+
/* Sidemenu tends to disapear, widget filter area tends to jump around when adding filters - Peek-A-Boo! */
68+
* html #sidemenu, * html #widgets-filter {
69+
height: 1% !important;
70+
}
71+
72+
/* Media upload window gets stuck to the right, hidden outside view */
73+
* html #TB_window {
74+
left: 100px !important;
75+
}
76+
77+
/* Bad floating in the sub-sub-sub menu makes links un-clickable */
78+
* html .subsubsub li {
79+
display: block; float: right; margin: 0 2px;
80+
}
81+
82+
/* Fixing floats on sub-sub-sub menu skewes the view-switch menu on comments management page */
83+
* html .wrap .view-switch {
84+
margin-top: 1px;
85+
}
86+
87+
/* Theme selector on theme edit page gets stuck to the left, hidden outside view */
88+
* html #themeselector {
89+
position: static;
90+
}
91+
92+
/* Template edit area floats beneath template list, gets RTLed */
93+
* html #template {
94+
float: right;
95+
overflow: hidden;
96+
width: 755px !important;
97+
}
98+
* html #template #newcontent {
99+
direction: ltr;
50100
}

wp-admin/rtl.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ body, td, .submit input, .button, .button-secondary, .button-highlighted, #your-
1717
margin-bottom: 1em;
1818
}
1919

20+
/* Clears update nag, so it doesn't hide the submenu */
21+
#update-nag {
22+
clear: both;
23+
margin-bottom: 1em;
24+
}
25+
2026
#wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header
2127
{
2228
direction:rtl!important;

0 commit comments

Comments
 (0)