diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-19 18:01:49 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 14:00:39 +0200 |
commit | 3e6b93e68d16b0e7ffd5c39f9e12021a8378b588 (patch) | |
tree | e86d3b26a2f3cf57ba20ad009c8e62e4b8d03f02 | |
parent | c66f16a2011f4f8774fee7812e16736ed6110e7e (diff) | |
download | nextcloud-server-3e6b93e68d16b0e7ffd5c39f9e12021a8378b588.tar.gz nextcloud-server-3e6b93e68d16b0e7ffd5c39f9e12021a8378b588.zip |
Fix editing field animation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | core/css/apps.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index ace9c2dd93f..a17c4e03993 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -1,5 +1,5 @@ /** - * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com> + * @copyright Copyright (c) 2016-2017, John Molakvoæ <skjnldsv@protonmail.com> * @copyright Copyright (c) 2016, Julius Haertl <jus@bitgrid.net> * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de> * @copyright Copyright (c) 2016, pgys <info@pexlab.space> @@ -275,9 +275,11 @@ kbd { /* show edit/undo field if editing/deleted */ &.editing .app-navigation-entry-edit { opacity: 1; + z-index: 250; } &.deleted .app-navigation-entry-deleted { transform: translateX(0); + z-index: 250; } } } @@ -417,6 +419,7 @@ kbd { opacity: 0; position: absolute; background-color: $color-main-background; + z-index: -1; form { display: inline-flex; width: 100%; @@ -487,10 +490,10 @@ kbd { .app-navigation-entry-deleted { width: calc(100% - 1px); /* Avoid border overlapping */ transition: transform 250ms ease-in-out, - opacity 250ms ease-in-out; + opacity 250ms ease-in-out, + z-index 250ms ease-in-out; position: absolute; background-color: $color-main-background; - z-index: 250; } /** |