From 514f56db188a72f3bf7ec942f8739d172f42edcc Mon Sep 17 00:00:00 2001 From: Guillaume FAUVET Date: Thu, 7 Dec 2017 23:32:23 +0100 Subject: [PATCH] add: public_html.css.signup-form (css for sign up form authentication) add: view.vue.signup-form (vue for sign up form authentication) --- public_html/css/signup-form.css | 109 ++++++++++++++++++++++++++++++++ view/vue/signup-form.vue | 81 ++++++++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 public_html/css/signup-form.css create mode 100644 view/vue/signup-form.vue diff --git a/public_html/css/signup-form.css b/public_html/css/signup-form.css new file mode 100644 index 0000000..f6e01ac --- /dev/null +++ b/public_html/css/signup-form.css @@ -0,0 +1,109 @@ +/* Header */ +#SIGNUP-FORM > .head{ + display: block; + position: relative; + width: 100%; + + padding: .7em 0; + + border-radius: 3px 3px 0 0; + border-bottom: 1px solid #ddd; + + text-align: center; + color: #888; +} + +/* Container */ +#SIGNUP-FORM > .body{ + display: block; + position: relative; + width: 100%; + min-height: 2em; + height: auto; + + border-radius: 0 0 3px 3px; + + overflow: auto; + +} + +/* Items */ +#SIGNUP-FORM > .body > form{ + display: block; + position: relative; + + padding: .8em 1em; + + border-bottom: 1px solid #ddd; + + background-color: #fff; + + color: #555; + + cursor: pointer; + + transition: background-color .2s ease-in-out, + color .2s ease-in-out; +} + +#SIGNUP-FORM > .body > form * { + text-align: center; +} + +#SIGNUP-FORM > .body > form > *{ + display: block; +} + +#SIGNUP-FORM > .body > form > input{ + padding: 5px; + margin: 5px auto 10px auto; + border-color: #777777; +} + +#SIGNUP-FORM > .body > form > input.err{ + border-color: #ff0000; +} + +#SIGNUP-FORM > .body > form > #btn-create-account{ + color: #21bb89; + background-color: #fff; + border-color: #21bb89; + border-width: 2px; + + padding: 6px; + margin: 15px auto 0 auto; + + font-weight: bold; + cursor: pointer; + + transition: background-color .2s ease-in-out, + color .2s ease-in-out; +} + +#SIGNUP-FORM > .body > form > #btn-create-account:hover{ + color: #fff; + background-color: #21bb89; +} + + + +#SIGNUP-FORM > .body > form > #msg-err{ + color: #ff0000; + font-size: 0.85em; +} + +#SIGNUP-FORM > .body > form, +#SIGNUP-FORM > .body > form > input, +#SIGNUP-FORM > .body > form > button { + font-family: inherit; +} + +#SIGNUP-FORM > .body > form > input, +#SIGNUP-FORM > .body > form > button { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + border-style: solid; + border-width: 1px; + outline: none; +} \ No newline at end of file diff --git a/view/vue/signup-form.vue b/view/vue/signup-form.vue new file mode 100644 index 0000000..5ff120e --- /dev/null +++ b/view/vue/signup-form.vue @@ -0,0 +1,81 @@ + + + \ No newline at end of file