mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
git-svn-id: https://develop.svn.wordpress.org/trunk@26462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -508,7 +508,6 @@ body.theme-overlay-open {
|
||||
}
|
||||
/* First screenshot, shown big */
|
||||
.theme-overlay .screenshot {
|
||||
background: #000;
|
||||
border: 1px solid #fff;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
@@ -561,6 +560,13 @@ body.theme-overlay-open {
|
||||
.theme-overlay .screenshot.selected img {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* No screenshot placeholder */
|
||||
.theme .theme-screenshot.blank,
|
||||
.theme-overlay .screenshot.blank {
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
||||
}
|
||||
|
||||
/*
|
||||
* Theme heading information
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user