mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
Admin Reskin: Standardize theme install overlay button height on mobile.
Follow-up to [61646]. Props abcd95, wildworks, mosescursor, sainathpoojary, SergeyBiryukov. See #64999. Built from https://develop.svn.wordpress.org/trunk@62294 git-svn-id: http://core.svn.wordpress.org/trunk@61574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1968,7 +1968,7 @@ body.full-overlay-active {
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .button {
|
||||
float: left;
|
||||
margin: 3px 0 0 10px; /* Vertically center 40px button in 45px header */
|
||||
margin: 7px 0 0 10px; /* Vertically center 32px button in 45px header */
|
||||
}
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-sidebar {
|
||||
@@ -2054,8 +2054,6 @@ body.full-overlay-active {
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .button {
|
||||
font-size: 13px;
|
||||
line-height: 2.15384615;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.theme-browser .theme .theme-actions .button {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -1967,7 +1967,7 @@ body.full-overlay-active {
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .button {
|
||||
float: right;
|
||||
margin: 3px 10px 0 0; /* Vertically center 40px button in 45px header */
|
||||
margin: 7px 10px 0 0; /* Vertically center 32px button in 45px header */
|
||||
}
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-sidebar {
|
||||
@@ -2053,8 +2053,6 @@ body.full-overlay-active {
|
||||
|
||||
.theme-install-overlay .wp-full-overlay-header .button {
|
||||
font-size: 13px;
|
||||
line-height: 2.15384615;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.theme-browser .theme .theme-actions .button {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -487,18 +487,18 @@ if ( $tab ) {
|
||||
$aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
|
||||
?>
|
||||
<# if ( ! data.active ) { #>
|
||||
<a class="button button-primary activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a>
|
||||
<a class="button button-primary button-compact activate" href="{{ data.activate_url }}" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a>
|
||||
<# } else { #>
|
||||
<button class="button button-primary disabled"><?php _ex( 'Activated', 'theme' ); ?></button>
|
||||
<button class="button button-primary button-compact disabled"><?php _ex( 'Activated', 'theme' ); ?></button>
|
||||
<# } #>
|
||||
<# } else { #>
|
||||
<a class="button button-primary disabled" ><?php _ex( 'Cannot Activate', 'theme' ); ?></a>
|
||||
<a class="button button-primary button-compact disabled" ><?php _ex( 'Cannot Activate', 'theme' ); ?></a>
|
||||
<# } #>
|
||||
<# } else { #>
|
||||
<# if ( data.compatible_wp && data.compatible_php ) { #>
|
||||
<a href="{{ data.install_url }}" class="button button-primary theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></a>
|
||||
<a href="{{ data.install_url }}" class="button button-primary button-compact theme-install" data-name="{{ data.name }}" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></a>
|
||||
<# } else { #>
|
||||
<a class="button button-primary disabled" ><?php _ex( 'Cannot Install', 'theme' ); ?></a>
|
||||
<a class="button button-primary button-compact disabled" ><?php _ex( 'Cannot Install', 'theme' ); ?></a>
|
||||
<# } #>
|
||||
<# } #>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62293';
|
||||
$wp_version = '7.1-alpha-62294';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user