Administration: Ensure View Transitions only apply when reduced motion is not preferred.
Developed in https://github.com/WordPress/wordpress-develop/pull/10762 Follow-up to [61491]. Props mukesh27, wildworks, solankisoftware, westonruter. See #64470. Fixes #64529. Built from https://develop.svn.wordpress.org/trunk@61502 git-svn-id: http://core.svn.wordpress.org/trunk@60813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
#adminmenu > .menu-top {
|
||||
view-transition-name: attr(id type(<custom-ident>), none);
|
||||
#adminmenu > .menu-top {
|
||||
view-transition-name: attr(id type(<custom-ident>), none);
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-admin/css/view-transitions.min.css
vendored
2
wp-admin/css/view-transitions.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
@view-transition{navigation:auto}#adminmenu>.menu-top{view-transition-name:attr(id type(<custom-ident>),none)}
|
||||
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}#adminmenu>.menu-top{view-transition-name:attr(id type(<custom-ident>),none)}}
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61501';
|
||||
$wp_version = '7.0-alpha-61502';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user