Commit b0fb68c191709c598ca6378914fd4f2da95dfb3a
1 parent
292dffc2
Exists in
master
and in
4 other branches
Add transition on search box
It's kind of cool trend to use animated-expanding search box nowadays. E.g. see Github.
Showing
2 changed files
with
9 additions
and
0 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
| ... | ... | @@ -24,6 +24,14 @@ |
| 24 | 24 | background-image: -o-linear-gradient($from, $to); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | +@mixin transition($transition) { | |
| 28 | + -webkit-transition: $transition; | |
| 29 | + -moz-transition: $transition; | |
| 30 | + -ms-transition: $transition; | |
| 31 | + -o-transition: $transition; | |
| 32 | + transition: $transition; | |
| 33 | +} | |
| 34 | + | |
| 27 | 35 | /** |
| 28 | 36 | * Prefilled mixins |
| 29 | 37 | * Mixins with fixed values | ... | ... |
app/assets/stylesheets/sections/header.scss