flash message should slide in
This commit is contained in:
parent
2a24de2ba7
commit
884d7b7dd7
3 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,9 @@ $(document).ready(function(){
|
||||||
|
|
||||||
$("label").inFieldLabels();
|
$("label").inFieldLabels();
|
||||||
|
|
||||||
$('#flash_notice, #flash_error, #flash_alert').delay(4000).animate({
|
$('#flash_notice, #flash_error, #flash_alert').animate({
|
||||||
|
top: 0
|
||||||
|
}).delay(4000).animate({
|
||||||
top: -100
|
top: -100
|
||||||
}, $(this).remove());
|
}, $(this).remove());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ h3 {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
color: white;
|
color: white;
|
||||||
top: 0;
|
top: -100px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ h3
|
||||||
:position fixed
|
:position fixed
|
||||||
:color #fff
|
:color #fff
|
||||||
|
|
||||||
:top 0
|
:top -100px
|
||||||
:left 0
|
:left 0
|
||||||
|
|
||||||
:width 100%
|
:width 100%
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue