Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: http://core.svn.wordpress.org/trunk@24297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
@ -2443,14 +2443,14 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
background-image: url('../images/wp-logo-vs-2x.png?ver=20120916');
|
||||
background-size: 16px auto;
|
||||
}
|
||||
|
||||
|
||||
/* 16px post formats */
|
||||
.post-format-change span.icon,
|
||||
a.post-state-format {
|
||||
background-image: url(../images/post-formats32-vs.png);
|
||||
background-size: 320px 32px;
|
||||
}
|
||||
|
||||
|
||||
/* 32px */
|
||||
.post-format-options a div,
|
||||
#icon-edit.wp-format-standard,
|
||||
@ -2463,7 +2463,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
#icon-edit.wp-format-aside,
|
||||
#icon-edit.wp-format-quote,
|
||||
#icon-edit.wp-format-link {
|
||||
background: url(../images/post-formats64-vs.png) no-repeat;
|
||||
background-image: url(../images/post-formats64-vs.png);
|
||||
background-size: 640px 64px;
|
||||
}
|
||||
|
||||
@ -2475,7 +2475,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
(min-resolution: 120dpi) and (max-width: 782px) {
|
||||
/* 16px responsive post formats */
|
||||
.post-format-options a div {
|
||||
background: url(../images/post-formats32-vs.png) no-repeat;
|
||||
background-image: url(../images/post-formats32-vs.png);
|
||||
background-size: 320px 32px;
|
||||
}
|
||||
}
|
||||
|
@ -2331,14 +2331,14 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
background-image: url('../images/wp-logo-2x.png?ver=20120916');
|
||||
background-size: 16px auto;
|
||||
}
|
||||
|
||||
|
||||
/* 16px post formats */
|
||||
.post-format-change span.icon,
|
||||
a.post-state-format {
|
||||
background-image: url(../images/post-formats32.png);
|
||||
background-size: 320px 32px;
|
||||
}
|
||||
|
||||
|
||||
/* 32px */
|
||||
.post-format-options a div,
|
||||
#icon-edit.wp-format-standard,
|
||||
@ -2351,7 +2351,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
#icon-edit.wp-format-aside,
|
||||
#icon-edit.wp-format-quote,
|
||||
#icon-edit.wp-format-link {
|
||||
background: url(../images/post-formats64.png) no-repeat;
|
||||
background-image: url(../images/post-formats64.png);
|
||||
background-size: 640px 64px;
|
||||
}
|
||||
|
||||
@ -2363,7 +2363,7 @@ h2.nav-tab-wrapper, h3.nav-tab-wrapper {
|
||||
(min-resolution: 120dpi) and (max-width: 782px) {
|
||||
/* 16px responsive post formats */
|
||||
.post-format-options a div {
|
||||
background: url(../images/post-formats32.png) no-repeat;
|
||||
background-image: url(../images/post-formats32.png);
|
||||
background-size: 320px 32px;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 8.6 KiB |
BIN
wp-admin/images/post-formats64-vs.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
wp-admin/images/post-formats64.png
Normal file
After Width: | Height: | Size: 29 KiB |