mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
Add 2x icons for the list/excerpt switch on the Posts screen, props empireoflight, see #21019
git-svn-id: http://core.svn.wordpress.org/trunk@21246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d726a5fb71
commit
d47fd9d12c
@ -2056,20 +2056,35 @@ body.press-this ul.category-tabs li.tabs a {
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.view-switch #view-switch-list,
|
||||||
|
.view-switch #view-switch-excerpt {
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url('../images/list.png');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
.view-switch #view-switch-list {
|
.view-switch #view-switch-list {
|
||||||
background: transparent url(../images/list.png) no-repeat 0 0;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch .current #view-switch-list {
|
.view-switch .current #view-switch-list {
|
||||||
background: transparent url(../images/list.png) no-repeat -40px 0;
|
background-position: -40px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch #view-switch-excerpt {
|
.view-switch #view-switch-excerpt {
|
||||||
background: transparent url(../images/list.png) no-repeat -20px 0;
|
background-position: -20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch .current #view-switch-excerpt {
|
.view-switch .current #view-switch-excerpt {
|
||||||
background: transparent url(../images/list.png) no-repeat -60px 0;
|
background-position: -60px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
||||||
|
.view-switch #view-switch-list,
|
||||||
|
.view-switch #view-switch-excerpt {
|
||||||
|
background-image: url('../images/list-2x.png');
|
||||||
|
background-size: 80px 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-logo {
|
#header-logo {
|
||||||
|
@ -1672,20 +1672,35 @@ body.press-this ul.category-tabs li.tabs a {
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.view-switch #view-switch-list,
|
||||||
|
.view-switch #view-switch-excerpt {
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url('../images/list.png');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
.view-switch #view-switch-list {
|
.view-switch #view-switch-list {
|
||||||
background: transparent url(../images/list.png) no-repeat 0 0;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch .current #view-switch-list {
|
.view-switch .current #view-switch-list {
|
||||||
background: transparent url(../images/list.png) no-repeat -40px 0;
|
background-position: -40px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch #view-switch-excerpt {
|
.view-switch #view-switch-excerpt {
|
||||||
background: transparent url(../images/list.png) no-repeat -20px 0;
|
background-position: -20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-switch .current #view-switch-excerpt {
|
.view-switch .current #view-switch-excerpt {
|
||||||
background: transparent url(../images/list.png) no-repeat -60px 0;
|
background-position: -60px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
||||||
|
.view-switch #view-switch-list,
|
||||||
|
.view-switch #view-switch-excerpt {
|
||||||
|
background-image: url('../images/list-2x.png');
|
||||||
|
background-size: 80px 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-logo {
|
#header-logo {
|
||||||
|
BIN
wp-admin/images/list-2x.png
Normal file
BIN
wp-admin/images/list-2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue
Block a user