Files
openfoodnetwork/app/assets/stylesheets/admin/animations.scss
Pau Perez f36e08a163 Rename *.css.scss to *.scss
This fixes the following deprecation warning

```
DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /usr/src/app/app/assets/stylesheets/darkswarm/variables.css.scss to /usr/src/app/app/assets/stylesheets/darkswar
m/variables.scss. (called from _app_views_layouts_darkswarm_html_haml___3990351141569700945_46957256630860 at /usr/src/app/app/views/layouts/darkswarm.html.haml:18)
(...)
```
2020-06-19 16:29:08 +02:00

42 lines
950 B
SCSS

@-webkit-keyframes slideInUp {
0% {
-webkit-transform: translateY(20px);
transform: translateY(20px);
}
100% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
}
// @-webkit-keyframes slideOutDown
// 0%
// -webkit-transform: translateY(0)
// transform: translateY(0)
// 100%
// -webkit-transform: translateY(20px)
// transform: translateY(20px)
.animate-show {
-webkit-animation-name: slideInUp;
animation-name: slideInUp;
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
// line-height: 20px
// opacity: 1
// &.ng-hide
// -webkit-animation-name: slideOutDown
// animation-name: slideOutDown
// -webkit-animation-duration: 0.5s
// animation-duration: 0.5s
// -webkit-animation-fill-mode: both
// animation-fill-mode: both
// // line-height: 20px
// // opacity: 1
}