mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
Add transition on search box
It's kind of cool trend to use animated-expanding search box nowadays. E.g. see Github.
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
background-image: -o-linear-gradient($from, $to);
|
||||
}
|
||||
|
||||
@mixin transition($transition) {
|
||||
-webkit-transition: $transition;
|
||||
-moz-transition: $transition;
|
||||
-ms-transition: $transition;
|
||||
-o-transition: $transition;
|
||||
transition: $transition;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prefilled mixins
|
||||
* Mixins with fixed values
|
||||
|
||||
@@ -90,6 +90,7 @@ header {
|
||||
@include border-radius(3px);
|
||||
border: 1px solid #c6c6c6;
|
||||
box-shadow: none;
|
||||
@include transition(all 0.15s ease-in 0s);
|
||||
&:focus {
|
||||
@extend .span3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user