Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-05-30 11:32:49 +0300
committerSimon Knox <psimyn@gmail.com>2017-06-01 10:14:08 +0300
commit854e9de935c2bbb2a7143c73bb5e9edf98d3fc65 (patch)
treef3d270f72114eb7d106befd5e626fdbc9c9f323b /app/assets/stylesheets/pages/boards.scss
parente5226177ac667c8ad4cc07270bbdef24031eb8a2 (diff)
animate adding issue to boards
fix some false positive tests for board_new_issue
Diffstat (limited to 'app/assets/stylesheets/pages/boards.scss')
-rw-r--r--app/assets/stylesheets/pages/boards.scss41
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;
}