diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-03 18:41:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-01-03 18:41:14 +0300 |
commit | 85a329845fa07112fe81aab8c6440490056f4a17 (patch) | |
tree | 23bfb7e438cc4f131d54c8bd44ea94b71681e364 /app/assets/stylesheets/pages/boards.scss | |
parent | c67e9bb353dee34a86e072436e13a97e18bf6925 (diff) |
Added animations to issue boards
- Adds animation when opening & closing the sidebar
- Adds an animation when dragging boards to a new position
- Adds animations to dragging issues around
When opening the sidebar it will also animate the scrollLeft property to
make moving to the opened issue less blunt.
Closes #25630
Diffstat (limited to 'app/assets/stylesheets/pages/boards.scss')
-rw-r--r-- | app/assets/stylesheets/pages/boards.scss | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index 76a88d96183..67ffbae2ab9 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -74,6 +74,7 @@ height: 475px; // Needed for PhantomJS height: calc(100vh - 220px); min-height: 475px; + transition: width .2s; &.is-compact { width: calc(100% - 290px); @@ -338,3 +339,17 @@ } } } + +.right-sidebar.right-sidebar-expanded { + &.boards-sidebar-slide-enter-active, + &.boards-sidebar-slide-leave-active { + transition: all .2s; + } + + &.boards-sidebar-slide-enter, + &.boards-sidebar-slide-leave-active { + width: 0; + padding-left: 0; + padding-right: 0; + } +} |