Editor DFW v2: fade out the Screen Options/Help tabs when open. Props avryl, fixes #30593.

Built from https://develop.svn.wordpress.org/trunk@30749


git-svn-id: http://core.svn.wordpress.org/trunk@30739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-12-06 00:50:22 +00:00
parent 91b8617f29
commit 79eb593440
5 changed files with 21 additions and 39 deletions

View File

@ -1259,7 +1259,10 @@ table.links-table {
.focus-on .postbox-container, .focus-on .postbox-container,
.focus-on div.updated, .focus-on div.updated,
.focus-on div.error, .focus-on div.error,
.focus-on div.notice { .focus-on div.notice,
.focus-on #wp-toolbar,
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0; opacity: 0;
-webkit-transition-duration: 0.6s; -webkit-transition-duration: 0.6s;
transition-duration: 0.6s; transition-duration: 0.6s;
@ -1271,12 +1274,6 @@ table.links-table {
.focus-on #wp-toolbar { .focus-on #wp-toolbar {
opacity: 0.3; opacity: 0.3;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
} }
.focus-off .wrap > h2, .focus-off .wrap > h2,
@ -1285,7 +1282,9 @@ table.links-table {
.focus-off div.updated, .focus-off div.updated,
.focus-off div.error, .focus-off div.error,
.focus-off div.notice, .focus-off div.notice,
.focus-off #wp-toolbar { .focus-off #wp-toolbar,
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1; opacity: 1;
-webkit-transition-duration: 0.2s; -webkit-transition-duration: 0.2s;
transition-duration: 0.2s; transition-duration: 0.2s;
@ -1300,8 +1299,7 @@ table.links-table {
} }
.focus-on #adminmenuback, .focus-on #adminmenuback,
.focus-on #adminmenuwrap, .focus-on #adminmenuwrap {
.focus-on .screen-meta-toggle {
-webkit-transition-duration: 0.6s; -webkit-transition-duration: 0.6s;
transition-duration: 0.6s; transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform; -webkit-transition-property: -webkit-transform;
@ -1326,15 +1324,8 @@ table.links-table {
transform: translateX( 100% ); transform: translateX( 100% );
} }
.focus-on .screen-meta-toggle {
-webkit-transform: translateY( -100% );
-ms-transform: translateY( -100% );
transform: translateY( -100% );
}
.focus-off #adminmenuback, .focus-off #adminmenuback,
.focus-off #adminmenuwrap, .focus-off #adminmenuwrap {
.focus-off .screen-meta-toggle {
-webkit-transform: translateX( 0 ); -webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 ); -ms-transform: translateX( 0 );
transform: translateX( 0 ); transform: translateX( 0 );

View File

@ -1259,7 +1259,10 @@ table.links-table {
.focus-on .postbox-container, .focus-on .postbox-container,
.focus-on div.updated, .focus-on div.updated,
.focus-on div.error, .focus-on div.error,
.focus-on div.notice { .focus-on div.notice,
.focus-on #wp-toolbar,
.focus-on #screen-meta-links,
.focus-on #screen-meta {
opacity: 0; opacity: 0;
-webkit-transition-duration: 0.6s; -webkit-transition-duration: 0.6s;
transition-duration: 0.6s; transition-duration: 0.6s;
@ -1271,12 +1274,6 @@ table.links-table {
.focus-on #wp-toolbar { .focus-on #wp-toolbar {
opacity: 0.3; opacity: 0.3;
-webkit-transition-duration: 0.6s;
transition-duration: 0.6s;
-webkit-transition-property: opacity;
transition-property: opacity;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
} }
.focus-off .wrap > h2, .focus-off .wrap > h2,
@ -1285,7 +1282,9 @@ table.links-table {
.focus-off div.updated, .focus-off div.updated,
.focus-off div.error, .focus-off div.error,
.focus-off div.notice, .focus-off div.notice,
.focus-off #wp-toolbar { .focus-off #wp-toolbar,
.focus-off #screen-meta-links,
.focus-off #screen-meta {
opacity: 1; opacity: 1;
-webkit-transition-duration: 0.2s; -webkit-transition-duration: 0.2s;
transition-duration: 0.2s; transition-duration: 0.2s;
@ -1300,8 +1299,7 @@ table.links-table {
} }
.focus-on #adminmenuback, .focus-on #adminmenuback,
.focus-on #adminmenuwrap, .focus-on #adminmenuwrap {
.focus-on .screen-meta-toggle {
-webkit-transition-duration: 0.6s; -webkit-transition-duration: 0.6s;
transition-duration: 0.6s; transition-duration: 0.6s;
-webkit-transition-property: -webkit-transform; -webkit-transition-property: -webkit-transform;
@ -1326,15 +1324,8 @@ table.links-table {
transform: translateX( 100% ); transform: translateX( 100% );
} }
.focus-on .screen-meta-toggle {
-webkit-transform: translateY( -100% );
-ms-transform: translateY( -100% );
transform: translateY( -100% );
}
.focus-off #adminmenuback, .focus-off #adminmenuback,
.focus-off #adminmenuwrap, .focus-off #adminmenuwrap {
.focus-off .screen-meta-toggle {
-webkit-transform: translateX( 0 ); -webkit-transform: translateX( 0 );
-ms-transform: translateX( 0 ); -ms-transform: translateX( 0 );
transform: translateX( 0 ); transform: translateX( 0 );

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.1-beta2-30748'; $wp_version = '4.1-beta2-30749';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.