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

Props iamtakashi, fixes #30739.

git-svn-id: https://develop.svn.wordpress.org/trunk@30955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2014-12-17 16:38:51 +00:00
parent b824d6f56c
commit 340f6052fd
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,