Move animations.scss
This commit is contained in:
parent
b805ef4808
commit
7d04a9461e
6 changed files with 26 additions and 26 deletions
|
|
@ -10,6 +10,7 @@
|
|||
@import 'entypo';
|
||||
@import 'icons';
|
||||
@import 'mentions';
|
||||
@import 'animations';
|
||||
@import 'flash_messages';
|
||||
@import 'sprites';
|
||||
@import 'hovercard';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
|
||||
@import 'new_styles/animations';
|
||||
|
||||
#flash_notice,
|
||||
#flash_alert,
|
||||
#flash_error {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
@import 'colors';
|
||||
@import 'new_styles/animations';
|
||||
@import 'animations';
|
||||
|
||||
/** ADMIN STYlES **/
|
||||
/** user search **/
|
||||
|
|
|
|||
23
app/assets/stylesheets/animations.scss
Normal file
23
app/assets/stylesheets/animations.scss
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// flash message animations - header height is about 50px
|
||||
@keyframes expose {
|
||||
0% { top: -100px; }
|
||||
15% { top: 44px; }
|
||||
85% { top: 44px; }
|
||||
100% { top: -100px; }
|
||||
}
|
||||
|
||||
// spinner animation
|
||||
@keyframes spinner {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes pulsate {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: .1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
@import "bootstrap-complete";
|
||||
@import "_mixins";
|
||||
@import "vendor/autoSuggest";
|
||||
@import 'animations';
|
||||
@import "_flash_messages";
|
||||
@import 'entypo';
|
||||
@import 'icons';
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
/* flash message animations - header height is about 50px */
|
||||
@keyframes expose {
|
||||
0% { top : -100px; }
|
||||
15% { top : 44px; }
|
||||
85% { top : 44px; }
|
||||
100% { top : -100px; }
|
||||
}
|
||||
|
||||
/* spinner animation */
|
||||
@keyframes spinner {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes pulsate {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
opacity: .1;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue