Change the post format icons sprite to be vertical rather than horizontal in order to allow it to be used for wider items such as labels. RTL tweak for the icon in the posts list table. See #16047, #24519.

git-svn-id: https://develop.svn.wordpress.org/trunk@24426 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2013-06-07 15:11:42 +00:00
parent 71fcaad59b
commit bb4dbd9c4c
8 changed files with 15 additions and 11 deletions

View File

@ -2285,7 +2285,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
/* 16px post formats */
a.post-state-format {
background-image: url(../images/post-formats32-vs.png);
background-size: 320px 32px;
background-size: 32px 320px;
}
}

View File

@ -2173,7 +2173,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
/* 16px post formats */
a.post-state-format {
background-image: url(../images/post-formats32.png);
background-size: 320px 32px;
background-size: 32px 320px;
}
}

View File

@ -1048,6 +1048,10 @@ th.sorted a span {
11.4 - Post formats
------------------------------------------------------------------------------*/
a.post-state-format {
margin-right: 0;
margin-left: 5px;
}
/*------------------------------------------------------------------------------
12.0 - Categories

View File

@ -3947,39 +3947,39 @@ a.post-state-format {
}
a.post-state-format.format-image {
background-position: -40px -8px;
background-position: -8px -40px;
}
a.post-state-format.format-gallery {
background-position: -72px -8px;
background-position: -8px -72px;
}
a.post-state-format.format-audio {
background-position: -104px -8px;
background-position: -8px -104px;
}
a.post-state-format.format-video {
background-position: -135px -8px;
background-position: -8px -136px;
}
a.post-state-format.format-chat {
background-position: -168px -8px;
background-position: -8px -168px;
}
a.post-state-format.format-status {
background-position: -200px -8px;
background-position: -8px -200px;
}
a.post-state-format.format-aside {
background-position: -232px -8px;
background-position: -8px -232px;
}
a.post-state-format.format-quote {
background-position: -264px -8px;
background-position: -8px -265px;
}
a.post-state-format.format-link {
background-position: -296px -8px;
background-position: -8px -296px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB