diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-07 07:41:24 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-07 07:41:24 +0000 |
commit | 9c2f82842b9d4d985ab8fadf47bcbac22ec76bd6 (patch) | |
tree | 9614574f6e829305cd708a2f727a103f2940ac37 /app/assets/stylesheets | |
parent | eebd18c3ac6a77e29693c8e1892782acdf20e262 (diff) | |
parent | 854e9de935c2bbb2a7143c73bb5e9edf98d3fc65 (diff) | |
download | gitlab-ce-9c2f82842b9d4d985ab8fadf47bcbac22ec76bd6.tar.gz |
Merge branch '31633-animate-issue' into 'master'
animate adding issue to boards
Closes #31633
See merge request !11785
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/boards.scss | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index ebe662136d5..e3e94c8ca50 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -175,21 +175,53 @@ } } +.slide-down-enter { + transform: translateY(-100%); +} + +.slide-down-enter-active { + transition: transform $fade-in-duration; + + + .board-list { + transform: translateY(-136px); + transition: none; + } +} + +.slide-down-enter-to { + + .board-list { + transform: translateY(0); + transition: transform $fade-in-duration ease; + } +} + +.slide-down-leave { + transform: translateY(0); +} + +.slide-down-leave-active { + transition: all $fade-in-duration; + transform: translateY(-136px); + + + .board-list { + transition: transform $fade-in-duration ease; + transform: translateY(-136px); + } +} + .board-list-component { height: calc(100% - 49px); + overflow: hidden; } .board-list { height: 100%; + width: 100%; margin-bottom: 0; padding: 5px; list-style: none; overflow-y: scroll; overflow-x: hidden; - - &.is-smaller { - height: calc(100% - 136px); - } } .board-list-loading { @@ -351,6 +383,7 @@ } .board-new-issue-form { + z-index: 1; margin: 5px; } |