From 83b252249d6f6604e84eda9e98bc1c19d91c8ead Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Wed, 17 Jun 2015 23:58:59 +0300 Subject: [PATCH] Home Animation --- templates/css/theme.css | 48 ++++++++++++++++++++++++++++++++++----- templates/views/home.html | 4 +++- 2 files changed, 45 insertions(+), 7 deletions(-) diff --git a/templates/css/theme.css b/templates/css/theme.css index 7ab3384..b132759 100644 --- a/templates/css/theme.css +++ b/templates/css/theme.css @@ -111,8 +111,8 @@ body.noscroll }*/ -.campusAvatar img -{ + .campusAvatar img + { /* margin-top: 1em; margin-right: 1em; @@ -201,6 +201,42 @@ body.noscroll color: #7f7f7f; font-size: 300%; text-shadow:#e0e0e0 1px 1px 0; + opacity: 0; + -webkit-animation-duration: 8s; + animation-duration: 8s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + overflow: hidden; + height: 100%; + } + + @-webkit-keyframes fadeOutUp { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + } + 100% { + opacity: 0; + -webkit-transform: translateY(-200px); + /*-webkit-transform: scale(0,0); */ + height: 0px; + } + } + @keyframes fadeOutUp { + 0% { + opacity: 1; + transform: translateY(0); + } + 100% { + opacity: 0; + transform: translateY(-200px); + /*transform: scale(0,0); */ + height: 0px; + } + } + .fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; } .user-pane-menu{ @@ -280,7 +316,7 @@ body.noscroll color: #7f7f7f; } -/*Settings Style*/ + /*Settings Style*/ .settingList .settingListItem:hover{ background-color: #E2E2E2; @@ -299,12 +335,12 @@ body.noscroll } -/*End Settings*/ + /*End Settings*/ /*md Effects*/ -.md-avatar{ + .md-avatar{ width: 40px; height: 40px; margin-top: 8px; @@ -335,6 +371,6 @@ md-list-item, md-list-item .md-list-item-inner { -ms-flex-align: center; align-items: center; min-height: 48px; -}*/ + }*/ /*End Effects for MD*/ \ No newline at end of file diff --git a/templates/views/home.html b/templates/views/home.html index 391e23b..a1b3d9b 100644 --- a/templates/views/home.html +++ b/templates/views/home.html @@ -3,7 +3,7 @@ - +
@@ -15,6 +15,8 @@

Welcome To SE-Hub

+

Software Engineering Course Made Easy

+ v1.0