diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 030e02edcc..3e35b7eaa9 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -906,10 +906,6 @@ p.customize-section-description { font-size: 32px; } -.wp-customizer .theme-browser .theme.active .theme-name { - padding-right: 15px; -} - .wp-customizer #themes-filter { font-size: 16px; font-weight: 300; @@ -917,6 +913,25 @@ p.customize-section-description { width: 100%; } + +.wp-customizer .theme-browser .theme.active:hover, +.wp-customizer .theme-browser .theme.active:focus { + cursor: default; +} + +.wp-customizer .theme-browser .theme.active .more-details { + display: none; +} + +.wp-customizer .theme-browser .theme.active .theme-name { + padding-right: 15px; +} + +.wp-customizer .theme-browser.rendered .theme.active:hover .theme-screenshot img, +.wp-customizer .theme-browser.rendered .theme.active:focus .theme-screenshot img { + opacity: 1; +} + /* Panel-like behavior */ #accordion-section-themes .accordion-section-title:after { content: "\f148"; diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 0d5c0beea1..4024b395f4 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -547,13 +547,13 @@ function customize_themes_print_templates() { -
+ <# } #> -