Twenty Fifteen: ensure menu icon is properly centered for RTL views on small screens.

Props iamtakashi, fixes #30739.
Built from https://develop.svn.wordpress.org/trunk@30955


git-svn-id: http://core.svn.wordpress.org/trunk@30943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-12-17 16:39:46 +00:00
parent e1ebba28d4
commit 8ccffecf03
2 changed files with 8 additions and 17 deletions

View File

@ -126,16 +126,6 @@ td {
left: 0; left: 0;
} }
.secondary-toggle:before {
right: 0;
left: auto;
}
.secondary-toggle.toggled-on:before {
right: 0;
left: auto;
}
.post-navigation .has-post-thumbnail a:before { .post-navigation .has-post-thumbnail a:before {
right: 0; right: 0;
left: auto; left: auto;

View File

@ -902,10 +902,8 @@ a:focus {
.secondary-toggle:before { .secondary-toggle:before {
color: #333; color: #333;
content: "\f419"; content: "\f419";
line-height: 42px; line-height: 40px;
position: relative; width: 40px;
top: -1px;
left: 0;
} }
.secondary-toggle:hover, .secondary-toggle:hover,
@ -919,7 +917,8 @@ a:focus {
.secondary-toggle.toggled-on:before { .secondary-toggle.toggled-on:before {
content: "\f405"; content: "\f405";
font-size: 32px; font-size: 32px;
top: 0; position: relative;
top: 1px;
left: -1px; left: -1px;
} }
@ -2883,7 +2882,8 @@ p > video {
} }
.secondary-toggle:before { .secondary-toggle:before {
line-height: 56px; line-height: 54px;
width: 54px;
} }
.post-password-form label, .post-password-form label,
@ -3475,7 +3475,8 @@ p > video {
} }
.secondary-toggle:before { .secondary-toggle:before {
line-height: 64px; line-height: 62px;
width: 62px;
} }
.post-password-form label, .post-password-form label,