Lose the added column for post formats in the posts list table and add an icon before the title instead. Icons are clickable to filter the list table down to posts of that post type and format. props melchoyce for the icons. fixes #16047.

git-svn-id: http://core.svn.wordpress.org/trunk@23765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí
2013-03-21 03:23:39 +00:00
parent 29e863400e
commit d6fee50fd3
4 changed files with 58 additions and 16 deletions

View File

@@ -2685,8 +2685,52 @@ th.asc:hover span.sorting-indicator {
padding: 0 0 .2em 1px;
}
span.post-state-format {
font-weight: normal;
a.post-state-format {
overflow: hidden;
display: inline-block;
vertical-align: middle;
height: 16px;
width: 16px;
margin-right: 5px;
background-image: url(../images/post-formats.png);
background-repeat: no-repeat;
text-indent: -999em;
}
a.post-state-format.format-image {
background-position: -40px -8px;
}
a.post-state-format.format-gallery {
background-position: -72px -8px;
}
a.post-state-format.format-audio {
background-position: -104px -8px;
}
a.post-state-format.format-video {
background-position: -135px -8px;
}
a.post-state-format.format-chat {
background-position: -168px -8px;
}
a.post-state-format.format-status {
background-position: -200px -8px;
}
a.post-state-format.format-aside {
background-position: -232px -8px;
}
a.post-state-format.format-quote {
background-position: -264px -8px;
}
a.post-state-format.format-link {
background-position: -296px -8px;
}
@@ -9074,6 +9118,11 @@ a.widget-control-edit {
background-size: 16px 16px;
}
a.post-state-format {
background-image: url(../images/post-formats-2x.png);
background-size: 320px 32px;
}
th .comment-grey-bubble {
background-image: url('../images/comment-grey-bubble-2x.png');
background-size: 12px 12px;