From 9297d92488e2eff6e5f0439cd75d94fdd65ef4b4 Mon Sep 17 00:00:00 2001 From: Mariano Rodriguez Date: Tue, 4 Nov 2014 19:45:37 -0300 Subject: [PATCH 1/4] wallets effect --- css/src/main.css | 150 ++++++++++++++++++++++++++++++++++++++- views/paymentIntent.html | 32 +++++---- 2 files changed, 166 insertions(+), 16 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 14e818f75..39e546089 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -1405,6 +1405,154 @@ a.text-warning:hover {color: #FD7262;} } - +/* Animation popup */ /*-----------------------------------------------------------------*/ + +.ca-menu{ + padding:0; +} +.ca-menu li{ + width: 200px; + height: 200px; + overflow: hidden; + position: relative; + float: left; + background: #213140; + -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2); + -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2); + box-shadow: 1px 1px 2px rgba(0,0,0,0.2); + margin-right: 4px; + -webkit-transition: all 300ms linear; + -moz-transition: all 300ms linear; + -o-transition: all 300ms linear; + -ms-transition: all 300ms linear; + transition: all 300ms linear; +} +.ca-menu li:last-child{ + margin-right: 0px; +} +.ca-menu li a{ + text-align: center; + width: 100%; + height: 100%; + display: block; + color: #333; + position: relative; +} +.ca-icon{ + font-family: 'WebSymbolsRegular', cursive; + color: #c5e4f4; + font-size: 90px; + text-shadow: 1px 0px 1px rgba(255,255,255,0.7); + line-height: 150px; + position: absolute; + width: 100%; + height: 50%; + left: 0px; + top: 0px; + text-align: center; + -webkit-transition: all 200ms linear; + -moz-transition: all 200ms linear; + -o-transition: all 200ms linear; + -ms-transition: all 200ms linear; + transition: all 200ms linear; +} +.ca-content{ + position: absolute; + left: 0px; + width: 100%; + height: 50%; + top: 50%; +} +.ca-main{ + color: #FFFFFF; + text-align: center; + -webkit-transition: all 200ms linear; + -moz-transition: all 200ms linear; + -o-transition: all 200ms linear; + -ms-transition: all 200ms linear; + transition: all 200ms linear; +} +.ca-sub{ + text-align:center; + color: #FFFFFF; + line-height: 40px; + opacity: 0.8; + -webkit-transition: all 200ms linear; + -moz-transition: all 200ms linear; + -o-transition: all 200ms linear; + -ms-transition: all 200ms linear; + transition: all 200ms linear; +} +.ca-menu li:hover{ + background-color: #3C4E60; +} +.ca-menu li:hover .ca-icon{ + text-shadow: 0px 0px 20px #c5e4f4; + color: transparent; + -webkit-animation: moveFromTop 400ms ease; + -moz-animation: moveFromTop 400ms ease; + -ms-animation: moveFromTop 400ms ease; +} +.ca-menu li:hover .ca-main{ + color: #FFFFFF; + -webkit-animation: moveFromTop 300ms ease; + -moz-animation: moveFromTop 300ms ease; + -ms-animation: moveFromTop 300ms ease; +} +.ca-menu li:hover .ca-sub{ + color: #FFFFFF; + -webkit-animation: moveFromBottom 500ms ease; + -moz-animation: moveFromBottom 500ms ease; + -ms-animation: moveFromBottom 500ms ease; +} +@-webkit-keyframes moveFromTop { + from { + -webkit-transform: translateY(-300%); + } + to { + -webkit-transform: translateY(0%); + } +} +@-moz-keyframes moveFromTop { + from { + -moz-transform: translateY(-300%); + } + to { + -moz-transform: translateY(0%); + } +} +@-ms-keyframes moveFromTop { + from { + -ms-transform: translateY(-300%); + } + to { + -ms-transform: translateY(0%); + } +} + +@-webkit-keyframes moveFromBottom { + from { + -webkit-transform: translateY(200%); + } + to { + -webkit-transform: translateY(0%); + } +} +@-moz-keyframes moveFromBottom { + from { + -moz-transform: translateY(200%); + } + to { + -moz-transform: translateY(0%); + } +} +@-ms-keyframes moveFromBottom { + from { + -ms-transform: translateY(200%); + } + to { + -ms-transform: translateY(0%); + } +} diff --git a/views/paymentIntent.html b/views/paymentIntent.html index eab672139..5d59559a6 100644 --- a/views/paymentIntent.html +++ b/views/paymentIntent.html @@ -1,26 +1,28 @@
+
From 812a47d08776d9f811033ada67d017048851ff48 Mon Sep 17 00:00:00 2001 From: Mariano Rodriguez Date: Wed, 5 Nov 2014 17:04:48 -0300 Subject: [PATCH 3/4] small cosmetic fix --- css/src/main.css | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 424648579..51f93fa7c 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -1425,7 +1425,7 @@ a.text-warning:hover {color: #FD7262;} -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2); -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2); box-shadow: 1px 1px 2px rgba(0,0,0,0.2); - margin-right: 4px; + margin: 20px 26px 0 0; -webkit-transition: all 300ms linear; -moz-transition: all 300ms linear; -o-transition: all 300ms linear; @@ -1444,22 +1444,22 @@ a.text-warning:hover {color: #FD7262;} position: relative; } .w-popup-icon{ - font-family: 'WebSymbolsRegular', cursive; - color: #c5e4f4; - font-size: 90px; - text-shadow: 1px 0px 1px rgba(255,255,255,0.7); - line-height: 150px; - position: absolute; - width: 100%; - height: 50%; - left: 0px; - top: 0px; - text-align: center; - -webkit-transition: all 200ms linear; - -moz-transition: all 200ms linear; - -o-transition: all 200ms linear; - -ms-transition: all 200ms linear; - transition: all 200ms linear; + font-family: WebSymbolsRegular,cursive; + color: #c5e4f4 ; + font-size: 90px; + text-shadow: 1px 0 1px rgba(255,255,255,.7); + line-height: 150px; + position: absolute; + width: 58px; + /* height: 60px; */ + left: 60px; + top: 14px; + text-align: center; + -webkit-transition: all 200ms linear; + -moz-transition: all 200ms linear; + -o-transition: all 200ms linear; + -ms-transition: all 200ms linear; + transition: all 200ms linear; } .w-popup-content{ position: absolute; From 9f40443ed4a8e05d154392cd5fa684e6fe4215be Mon Sep 17 00:00:00 2001 From: Mariano Rodriguez Date: Wed, 5 Nov 2014 17:48:37 -0300 Subject: [PATCH 4/4] unused_html_deleted --- views/paymentIntent_original.html | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 views/paymentIntent_original.html diff --git a/views/paymentIntent_original.html b/views/paymentIntent_original.html deleted file mode 100644 index eab672139..000000000 --- a/views/paymentIntent_original.html +++ /dev/null @@ -1,29 +0,0 @@ -
- -