Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.

git-svn-id: http://core.svn.wordpress.org/trunk@24223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-05-09 20:08:39 +00:00
parent 0d8676b446
commit 0e09ca8a7b
2 changed files with 25 additions and 180 deletions

View File

@ -10,7 +10,7 @@ Styles for older IE versions (previous to IE9).
.menu-toggle:after:hover,
.date a:before:hover,
.entry-meta .author a:before:hover,
.format-audio .entry-content:before:hover,
.format-audio .entry-media:before:hover,
.comments-link a:before:hover,
.tags-links a:first-child:before:hover,
.categories-links a:first-child:before:hover,
@ -282,4 +282,12 @@ img.alignleft {
.ie7 .format-quote .quote {
padding: 0;
}
/* RTL for Internet Explorer 7 & 8 */
.rtl .format-audio .entry-media:before,
.rtl .comment-reply-link:before,
.rtl .comment-reply-login:before {
-ms-filter: "FlipH";
filter: FlipH;
}

View File

@ -75,36 +75,6 @@ td {
}
/**
* 2.0 Repeatable patterns
* ----------------------------------------------------------------------------
*/
.genericon:after,
.menu-toggle:before,
.featured-post:after,
.date a:after,
.entry-meta .author a:after,
.format-audio .entry-content:after,
.comments-link a:after,
.tags-links a:first-child:after,
.categories-links a:first-child:after,
.edit-link a:after,
.attachment .entry-title:after,
.attachment-meta:after,
.attachment-meta a:after,
.comment-awaiting-moderation:after,
.comment-reply-link:after,
#reply-title small a:after,
.bypostauthor > .comment-body .fn:after,
.error404 .page-title:after {
-webkit-font-smoothing: antialiased;
display: inline-block;
font: normal 16px/1 Genericons;
vertical-align: text-bottom;
}
/**
* 4.0 Header
* ----------------------------------------------------------------------------
@ -209,75 +179,25 @@ div.nav-menu > ul {
}
.featured-post:before {
content: normal;
margin-right: auto;
}
.featured-post:after {
content: "\f308";
margin-left: 2px;
}
.entry-meta .date a:before {
content: normal;
}
.entry-meta .date a:after {
content: "\f303";
margin-left: 2px;
}
.comments-link a:before {
content: normal;
margin-left: auto;
top: auto;
}
.comments-link a:after {
content: "\f300";
margin-left: 2px;
top: -1px;
position: relative;
}
.entry-meta .author a:before {
content: normal;
top: auto;
}
.entry-meta .author a:after {
content: "\f304";
top: -1px;
position: relative;
}
.categories-links a:first-child:before {
content: normal;
}
.categories-links a:first-child:after {
content: "\f301";
margin-right: auto;
}
.tags-links a:first-child:before {
content: normal;
top: auto;
}
.tags-links a:first-child:after {
content: "\f302";
top: -1px;
position: relative;
margin-left: 2px;
}
.edit-link a:before {
content: normal;
top: auto;
}
.edit-link a:after {
content: "\f411";
top: -1px;
position: relative;
margin-left: 2px;
}
.page-links .page-links-title {
@ -339,11 +259,10 @@ div.nav-menu > ul {
}
.format-audio .entry-media:before {
-ms-filter: "FlipH";
filter: FlipH;
float: right;
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
}
@ -362,13 +281,8 @@ div.nav-menu > ul {
}
.format-chat .entry-meta .date a:before {
content: normal;
margin-right: auto;
}
.format-chat .entry-meta .date a:after {
content: "\f108";
margin-left: 2px;
margin-left: 4px;
}
.blog .format-gallery .gallery-item,
@ -427,14 +341,6 @@ div.nav-menu > ul {
right: 64px;
}
.format-status .entry-meta .date a:before {
content: normal;
}
.format-status .entry-meta .date a:after {
content: "\f105";
}
.format-quote .quote {
padding-left: 0;
padding-right: 75px;
@ -459,38 +365,14 @@ div.nav-menu > ul {
}
.attachment .entry-title:before {
content: normal;
font-size: inherit;
margin-right: auto;
}
.attachment .entry-title:after {
content: "\f416";
font-size: 32px;
margin-left: 10px;
margin-right: auto;
}
.attachment .entry-meta {
float: left;
}
.attachment-meta:before,
.full-size-link a:before {
content: normal;
}
.attachment-meta:after {
content: "\f307";
}
.full-size-link a:after {
content: "\f402";
}
.full-size-link:after {
content: normal;
}
.image-navigation .nav-previous {
left: auto;
right: 0;
@ -612,16 +494,6 @@ div.nav-menu > ul {
margin-right: auto;
}
.bypostauthor > .comment-body .fn:before {
content: normal;
vertical-align: inherit;
}
.bypostauthor > .comment-body .fn:after {
content: "\f408";
vertical-align: text-top;
}
.comment-list .edit-link {
margin-left: auto;
margin-right: 20px;
@ -635,37 +507,23 @@ div.nav-menu > ul {
}
.comment-awaiting-moderation:before {
content: normal;
margin-right: auto;
top: auto;
}
.comment-awaiting-moderation:after {
content: "\f414";
margin-left: 5px;
position: relative;
top: -2px;
}
.comment-reply-link:before {
content: normal;
margin-right: auto;
}
.comment-reply-link:after {
content: "\f412";
.comment-reply-link:before,
.comment-reply-login:before {
margin-left: 3px;
margin-right: auto;
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
}
#reply-title small a {
float: left;
height: auto;
overflow: visible;
width: auto;
}
#reply-title small a:before {
content: normal;
}
#commentform [for="author"],
@ -854,30 +712,9 @@ div.nav-menu > ul {
padding-right: 35px;
}
.menu-toggle:before {
content: "\f502";
font-size: 12px;
padding-right: 8px;
vertical-align: -webkit-calc(-4px);
vertical-align: calc(-4px);
}
.menu-toggle:after {
content: normal;
font-size: 12px;
padding-left: auto;
vertical-align: baseline;
}
.toggled-on .menu-toggle:before {
content: "\f500";
vertical-align: -webkit-calc(2px);
vertical-align: calc(2px);
}
.toggled-on .menu-toggle:after {
content: normal;
vertical-align: baseline;
padding-right: 8px;
}
.toggled-on .nav-menu,