summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-27 17:20:23 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-12 09:27:05 -0500
commit9059b99b75cd7ab5462ff36a36fe7a6c9984b0bf (patch)
tree1be6f0c236ff23d03835f7b13c97267ec4d5ed7f
parent5e9625bf1b0da3bc7a88cdd0d2b33a0813190c98 (diff)
downloadgitlab-ce-9059b99b75cd7ab5462ff36a36fe7a6c9984b0bf.tar.gz
Add animation to navbar border
-rw-r--r--app/assets/stylesheets/framework/header.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 4650997a9b7..f7309889265 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -23,6 +23,7 @@ header {
}
&.navbar-gitlab {
+ @include transition(border-color 150ms ease-in-out);
padding: 0 16px;
z-index: 100;
margin-bottom: 0;
@@ -39,11 +40,11 @@ header {
}
&.with-horizontal-nav {
- border-bottom: none;
+ border-color: transparent;
}
&.scroll {
- border-bottom: 1px solid $border-color;
+ border-color: $border-color;
}
.container-fluid {