diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 283c99d5c7..fd2da2514b 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -1460,7 +1460,7 @@ div.wp-menu-image { /* Post format icons */ -a.post-state-format { +.post-format-icon { background: url(../images/post-formats-vs.png) no-repeat; } @@ -2283,9 +2283,9 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper { } /* 16px post formats */ - a.post-state-format { + .post-format-icon { background-image: url(../images/post-formats32-vs.png); - background-size: 32px 320px; + background-size: 16px 304px; } } diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 191ee937f1..ddc73e932b 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -1354,7 +1354,7 @@ div.wp-menu-image { /* Post format icons */ -a.post-state-format { +.post-format-icon { background: url(../images/post-formats.png) no-repeat; } @@ -2171,9 +2171,9 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper { } /* 16px post formats */ - a.post-state-format { + .post-format-icon { background-image: url(../images/post-formats32.png); - background-size: 32px 320px; + background-size: 16px 304px; } } diff --git a/wp-admin/css/wp-admin-rtl.css b/wp-admin/css/wp-admin-rtl.css index 640cc1b934..24426c8ce0 100644 --- a/wp-admin/css/wp-admin-rtl.css +++ b/wp-admin/css/wp-admin-rtl.css @@ -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 ------------------------------------------------------------------------------*/ diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index e2d112033d..7a0da1db0b 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -3946,40 +3946,53 @@ a.post-state-format { text-indent: -999em; } -a.post-state-format.format-image { - background-position: -8px -40px; +#post-formats-select { + line-height: 2em; } -a.post-state-format.format-gallery { - background-position: -8px -72px; +label.post-format-icon { + margin-left: 5px; + padding: 2px 0 2px 21px; } -a.post-state-format.format-audio { - background-position: -8px -104px; +.post-format-icon.post-format-standard { + background-position: 0 0; } -a.post-state-format.format-video { - background-position: -8px -136px; +.post-format-icon.post-format-image { + background-position: 0 -32px; } -a.post-state-format.format-chat { - background-position: -8px -168px; +.post-format-icon.post-format-gallery { + background-position: 0 -64px; } -a.post-state-format.format-status { - background-position: -8px -200px; +.post-format-icon.post-format-audio { + background-position: 0 -96px; } -a.post-state-format.format-aside { - background-position: -8px -232px; +.post-format-icon.post-format-video { + background-position: 0 -128px; } -a.post-state-format.format-quote { - background-position: -8px -265px; +.post-format-icon.post-format-chat { + background-position: 0 -160px; } -a.post-state-format.format-link { - background-position: -8px -296px; +.post-format-icon.post-format-status { + background-position: 0 -192px; +} + +.post-format-icon.post-format-aside { + background-position: 0 -224px; +} + +.post-format-icon.post-format-quote { + background-position: 0 -256px; +} + +.post-format-icon.post-format-link { + background-position: 0 -288px; } @@ -6432,8 +6445,7 @@ table.form-table td .updated { width: 250px; } -#post-visibility-select, -#post-formats-select { +#post-visibility-select { line-height: 1.5em; margin-top: 3px; } diff --git a/wp-admin/images/post-formats-vs.png b/wp-admin/images/post-formats-vs.png index a2c6409cc2..c8e7e8d3fd 100644 Binary files a/wp-admin/images/post-formats-vs.png and b/wp-admin/images/post-formats-vs.png differ diff --git a/wp-admin/images/post-formats.png b/wp-admin/images/post-formats.png index 04752cff5a..2d749bef6a 100644 Binary files a/wp-admin/images/post-formats.png and b/wp-admin/images/post-formats.png differ diff --git a/wp-admin/images/post-formats32-vs.png b/wp-admin/images/post-formats32-vs.png index a620c8a703..af2c59fe03 100644 Binary files a/wp-admin/images/post-formats32-vs.png and b/wp-admin/images/post-formats32-vs.png differ diff --git a/wp-admin/images/post-formats32.png b/wp-admin/images/post-formats32.png index 95c6215e03..ccafc80d79 100644 Binary files a/wp-admin/images/post-formats32.png and b/wp-admin/images/post-formats32.png differ diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 528def74c6..d14535e1a0 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -551,7 +551,7 @@ class WP_Posts_List_Table extends WP_List_Table { if ( $format = get_post_format( $post->ID ) ) { $label = get_post_format_string( $format ); - echo '' . $label . ": "; + echo '' . $label . ": "; } if ( $can_edit_post && $post->post_status != 'trash' ) { diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 3cb74418cb..8fc421473e 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -315,9 +315,9 @@ function post_format_meta_box( $post, $box ) { $post_formats[0][] = $post_format; ?>
- /> + /> -
/> +
/>