Tweaking logic for alert bar to make messages more human readable for all use cases.

This commit is contained in:
summerscope
2015-03-20 14:24:59 +11:00
parent 0b1857771e
commit 7090bb518b
2 changed files with 23 additions and 3 deletions

View File

@@ -187,7 +187,25 @@ product.animate-repeat
it as hidden. */
display: block !important
.animate-show
opacity: 1 !important
-webkit-transition: all 300ms ease-in-out
-moz-transition: all 300ms ease-in-out
-o-transition: all 300ms ease-in-out
transition: all 300ms ease-in-out
&.ng-hide
opacity: 0 !important
// &.ng-hide-add-active, &.ng-hide-remove-active
&.ng-hide-add, &.ng-hide-remove
/* IMPORTANT: this needs to be here to make it visible during the animation
since the .ng-hide class is already on the element rendering
it as hidden. */
display: block !important

View File

@@ -14,8 +14,10 @@
{{ appliedPropertiesList() }}
%span.applied-taxons
{{ appliedTaxonsList() }}
%span.applied-search{ ng: { hide: "!query"} }
with {{ query }}
%span{ ng: { hide: "!query"} }
%span{ "ng-show" => "appliedPropertiesList() || appliedTaxonsList()" }
with
%span.applied-search "{{ query }}"
.row
.small-12.medium-6.large-5.columns
%input#search.text{"ng-model" => "query",