diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index e1a6d27122..28acba4230 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -1675,6 +1675,12 @@ p.customize-section-description { margin-right: 12px; } +.theme-browser .theme.active .theme-actions, +.wp-customizer .theme-browser .theme .theme-actions { + padding: 10px 15px; + box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); +} + @media screen and ( max-width: 640px ) { .customize-section-description-container + #customize-control-custom_css:last-child { margin-right: 0; @@ -2098,21 +2104,6 @@ p.customize-section-description { font-size: 15px; } -.theme-id-container { - position: relative; -} - -.theme-browser .theme.active .theme-actions, -.wp-customizer .theme-browser .theme .theme-actions { - position: absolute; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); - right: 0; - padding: 10px 15px; - box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); -} - #customize-controls .theme-overlay .theme-name { font-size: 32px; } @@ -3042,3 +3033,11 @@ body.adding-widget .add-new-widget:before, box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); } } + +@media screen and ( max-width: 600px ) { + .theme-browser .theme.active .theme-actions, + .wp-customizer .theme-browser .theme .theme-actions { + padding: 8px 15px; + box-shadow: none; + } +} diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index c6f7972622..eece216a98 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -222,6 +222,21 @@ body.js .theme-browser.search-loading { opacity: 1; } +.theme-id-container { + position: relative; +} + +.theme-browser .theme.active .theme-actions, +.theme-browser .theme .theme-actions { + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + right: 0; + padding: 10px 15px; + box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); +} + .theme-browser .theme.active .theme-actions .button-primary { margin-right: 0; } @@ -1892,6 +1907,16 @@ body.full-overlay-active { margin-top: 6px; line-height: normal; } + + .theme-browser .theme .theme-actions .button { + margin-bottom: 0; + } + + .theme-browser .theme.active .theme-actions, + .theme-browser .theme .theme-actions { + padding-top: 8px; + padding-bottom: 8px; + } } @media aural { diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index e4894cc3ec..5acccf1a0e 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -264,30 +264,33 @@ if ( $tab ) { printf( __( 'By %s' ), '{{ data.author }}' ); ?> -