Skip to content

Commit d622206

Browse files
committed
Twenty Twelve: add RTL overrides for IE7 and IE8, props DrewAPicture. Closes #22044.
git-svn-id: http://core.svn.wordpress.org/trunk@22688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent fa76d11 commit d622206

File tree

1 file changed

+53
-0
lines changed
  • wp-content/themes/twentytwelve/css

1 file changed

+53
-0
lines changed

wp-content/themes/twentytwelve/css/ie.css

+53
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,57 @@ body.full-width .site-content {
184184
.template-front-page.two-sidebars .widget:nth-child(even) {
185185
float: none;
186186
width: auto;
187+
}
188+
189+
/* =RTL overrides for IE7 and IE8
190+
-------------------------------------------------------------- */
191+
.rtl .site-header h1,
192+
.rtl .site-header h2 {
193+
text-align: right;
194+
}
195+
.rtl .widget-area,
196+
.rtl .author-description {
197+
float: left;
198+
}
199+
.rtl .author-avatar,
200+
.rtl .site-content {
201+
float: right;
202+
}
203+
.rtl .main-navigation ul.nav-menu,
204+
.rtl .main-navigation div.nav-menu > ul {
205+
text-align: right;
206+
}
207+
.rtl .main-navigation ul li ul li,
208+
.rtl .main-navigation ul li ul li ul li {
209+
margin-left: 40px;
210+
margin-right: auto;
211+
}
212+
.rtl .main-navigation li ul ul {
213+
position: absolute;
214+
bottom: 0;
215+
right: 100%;
216+
z-index: 1;
217+
}
218+
.ie7 .rtl .main-navigation li ul ul {
219+
position: absolute;
220+
bottom: 0;
221+
right: 100%;
222+
z-index: 1;
223+
}
224+
.ie7 .rtl .main-navigation ul li {
225+
z-index: 99;
226+
}
227+
.ie7 .rtl .main-navigation li ul {
228+
position: absolute;
229+
bottom: 100%;
230+
right: 0;
231+
z-index: 1;
232+
}
233+
.ie7 .rtl .main-navigation li {
234+
margin-right: auto;
235+
margin-left: 40px;
236+
}
237+
.ie7 .rtl .main-navigation li ul ul ul {
238+
position: relative;
239+
z-index: 1;
187240
}

0 commit comments

Comments
 (0)