Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519.
git-svn-id: http://core.svn.wordpress.org/trunk@24429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1053,6 +1053,53 @@ a.post-state-format {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
label.post-format-icon {
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
padding-left: 0px;
|
||||
padding-right: 21px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-standard {
|
||||
background-position: 100% 0;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-image {
|
||||
background-position: 100% -32px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-gallery {
|
||||
background-position: 100% -64px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-audio {
|
||||
background-position: 100% -96px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-video {
|
||||
background-position: 100% -128px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-chat {
|
||||
background-position: 100% -160px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-status {
|
||||
background-position: 100% -192px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-aside {
|
||||
background-position: 100% -224px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-quote {
|
||||
background-position: 100% -256px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-link {
|
||||
background-position: 100% -288px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
12.0 - Categories
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user