From b60a6c08fdcc03c70954c5ae635d5f166069ac5f Mon Sep 17 00:00:00 2001 From: christianesperar Date: Mon, 23 May 2016 00:35:54 +0800 Subject: [PATCH] Fix login form not switchable --- bower.json | 3 +- production/css/custom.css | 37 +- production/login.html | 44 +- vendors/animate.css/.bower.json | 24 + vendors/animate.css/animate-config.json | 120 + vendors/animate.css/animate.css | 3340 +++++++++++++++++ vendors/animate.css/animate.min.css | 11 + vendors/animate.css/bower.json | 12 + vendors/animate.css/gulpfile.js | 99 + vendors/animate.css/package.json | 35 + vendors/jquery-mousewheel/.bower.json | 27 + vendors/jquery-mousewheel/ChangeLog.md | 147 + vendors/jquery-mousewheel/LICENSE.txt | 37 + vendors/jquery-mousewheel/README.md | 76 + vendors/jquery-mousewheel/bower.json | 17 + .../jquery-mousewheel/jquery.mousewheel.js | 221 ++ .../jquery.mousewheel.min.js | 8 + vendors/skycons/.bower.json | 5 +- vendors/validator/.bower.json | 5 +- 19 files changed, 4221 insertions(+), 47 deletions(-) create mode 100644 vendors/animate.css/.bower.json create mode 100644 vendors/animate.css/animate-config.json create mode 100644 vendors/animate.css/animate.css create mode 100644 vendors/animate.css/animate.min.css create mode 100644 vendors/animate.css/bower.json create mode 100644 vendors/animate.css/gulpfile.js create mode 100644 vendors/animate.css/package.json create mode 100644 vendors/jquery-mousewheel/.bower.json create mode 100644 vendors/jquery-mousewheel/ChangeLog.md create mode 100644 vendors/jquery-mousewheel/LICENSE.txt create mode 100644 vendors/jquery-mousewheel/README.md create mode 100644 vendors/jquery-mousewheel/bower.json create mode 100755 vendors/jquery-mousewheel/jquery.mousewheel.js create mode 100644 vendors/jquery-mousewheel/jquery.mousewheel.min.js diff --git a/bower.json b/bower.json index fddb0d41..6b51ef33 100644 --- a/bower.json +++ b/bower.json @@ -72,6 +72,7 @@ "pdfmake": "^0.1.20", "jszip": "Stuk/jszip#v2.6.0", "echarts": "^3.1.7", - "malihu-custom-scrollbar-plugin": "^3.1.3" + "malihu-custom-scrollbar-plugin": "^3.1.3", + "animate.css": "^3.5.1" } } diff --git a/production/css/custom.css b/production/css/custom.css index c0eae422..554c6b0e 100755 --- a/production/css/custom.css +++ b/production/css/custom.css @@ -3490,35 +3490,37 @@ ul.project_files li a i { /* ********* /ecommerce **************************** */ -/********* login ****************/ - +/** login **/ +.login { + background:#F7F7F7; +} +.login .fa-paw { + font-size: 26px; +} a.hiddenanchor { display: none; } - -/** The wrapper that will contain our two forms **/ - -#wrapper { +.login_wrapper { right: 0px; margin: 0px auto; margin-top: 5%; max-width: 350px; position: relative; } -#register, #login { +.registration_form, .login_form { position: absolute; top: 0px; width: 100%; } -#register { +.registration_form { z-index: 21; opacity: 0; width: 100%; } -#login { +.login_form { z-index: 22; } -#toregister:target ~ #wrapper #register, #tologin:target ~ #wrapper #login { +#signup:target ~ .login_wrapper .registration_form, #signin:target ~ .login_wrapper .login_form { z-index: 22; -webkit-animation-name: fadeInLeft; -moz-animation-name: fadeInLeft; @@ -3531,16 +3533,13 @@ a.hiddenanchor { -ms-animation-delay: .1s; animation-delay: .1s; } -#toregister:target ~ #wrapper #login, #tologin:target ~ #wrapper #register { +#signup:target ~ .login_wrapper .login_form, #signin:target ~ .login_wrapper .registration_form { -webkit-animation-name: fadeOutLeft; -moz-animation-name: fadeOutLeft; -ms-animation-name: fadeOutLeft; -o-animation-name: fadeOutLeft; animation-name: fadeOutLeft; } - -/** the actual animation, credit where due : http://daneden.me/animate/ ***/ - .animate { -webkit-animation-duration: 0.5s; -webkit-animation-timing-function: ease; @@ -3558,12 +3557,9 @@ a.hiddenanchor { animation-timing-function: ease; animation-fill-mode: both; } +/** /login **/ -/********* /login ***************/ - - -/********** sign in ***************************/ - +/** signup **/ .login_box { padding: 20px; margin: auto; @@ -3754,8 +3750,7 @@ a.hiddenanchor { header { width: 100%; } - -/********** end of sign in ********************/ +/** signup **/ /* ********* start nprogress **************************** */ diff --git a/production/login.html b/production/login.html index d1e01c03..f4adbff0 100755 --- a/production/login.html +++ b/production/login.html @@ -13,18 +13,20 @@ + + - -
- - + +
+ + -
-
+