Skip to content

Commit

Permalink
BounceIn effect in liveboard search
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoverbruggen committed Jun 3, 2014
1 parent cd833b8 commit d59b507
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/stations/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<label for="departure">{{Lang::get('client.stationName')}}</label>
<input type="text" ng-model="departure" placeholder="{{Lang::get('client.stationSearchPlaceholder')}}" typeahead="station as station.name for station in stations.stations | filter:{name:$viewValue} | limitTo:5" typeahead-template-url="customTemplate.html" class="form-control input-lg">
</div>
<a href="{{ URL::to('stations') }}/@{{departure.id}}" ng-show="departure.id" class="btn btn-primary btn-wide btn-lg">{{Lang::get('client.viewLiveboard')}}</a>
<a href="{{ URL::to('stations') }}/@{{departure.id}}" ng-show="departure.id" class="btn btn-primary btn-wide btn-lg bounceIn">{{Lang::get('client.viewLiveboard')}}</a>
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ input.ng-invalid {
-webkit-animation: fadeIn 0.7s;
animation: fadeIn 0.7s; }

a.bounceIn.ng-hide-remove {
-webkit-animation: bounceIn 0.7s;
animation: bounceIn 0.7s; }

.row.loading.ng-hide-remove {
-webkit-animation: bounceIn 0.7s;
animation: bounceIn 0.7s; }
Expand Down
5 changes: 5 additions & 0 deletions public/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ input.ng-invalid {
animation: fadeIn 0.7s;
}

a.bounceIn.ng-hide-remove {
-webkit-animation: bounceIn 0.7s;
animation: bounceIn 0.7s;
}


.row.loading.ng-hide-remove {
-webkit-animation: bounceIn 0.7s;
Expand Down

0 comments on commit d59b507

Please sign in to comment.