From 3d0150c2891fc1df8b9b1f59aae68b4fcef0b3fc Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 25 Feb 2016 18:42:09 +0300 Subject: [PATCH] + PageSchedule, PageSchool style update --- src/style/components/page-schedule.scss | 12 ++++++++++++ src/style/page.scss | 11 ----------- src/style/style.scss | 3 +++ 3 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 src/style/components/page-schedule.scss diff --git a/src/style/components/page-schedule.scss b/src/style/components/page-schedule.scss new file mode 100644 index 00000000..edc51fbe --- /dev/null +++ b/src/style/components/page-schedule.scss @@ -0,0 +1,12 @@ +@import "../variables"; + +.page-schedule { + &.ng-leave { + transform-origin: 0% 0%; + animation: rotateFall $short-duration both ease-in; + } + + &.ng-enter { + animation: scaleUp $short-duration both ease-in; + } +} \ No newline at end of file diff --git a/src/style/page.scss b/src/style/page.scss index c071a8c0..b03a3ce0 100644 --- a/src/style/page.scss +++ b/src/style/page.scss @@ -5,17 +5,6 @@ &.ng-enter {} } -.page-schedule { - &.ng-leave { - transform-origin: 0% 0%; - animation: rotateFall 0.3s both ease-in; - } - - &.ng-enter { - animation: scaleUp 0.3s both ease-in; - } -} - .page-collective { &.ng-leave { animation: slideOutLeft 0.3s both ease-in; diff --git a/src/style/style.scss b/src/style/style.scss index 4de355d0..16fb533a 100644 --- a/src/style/style.scss +++ b/src/style/style.scss @@ -11,6 +11,9 @@ @import "components/schedule-table"; @import "components/footer-links"; +@import "components/page-school"; +@import "components/page-schedule"; + @import "main"; @import "body-wrapper"; @import "page";