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:
Dion Hulse
2013-11-29 04:03:30 +00:00
parent 503b0e73c4
commit e937af37af
2 changed files with 20 additions and 10 deletions
+7 -1
View File
@@ -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
*/