From 0406689523e2e640b3cbc7ecb596232ae8943379 Mon Sep 17 00:00:00 2001 From: Guillaume FAUVET Date: Thu, 7 Dec 2017 22:22:04 +0100 Subject: [PATCH] add: public_html.css.login-form (css for user authentication) add: public_html.image.header.notif.login (icon for user authentication for header) add: view.vue.login-form (vue for user authentication) --- public_html/css/login-form.css | 108 +++++++++++++++++++++++ public_html/image/header/notif/login.svg | 49 ++++++++++ view/vue/login-form.vue | 60 +++++++++++++ 3 files changed, 217 insertions(+) create mode 100644 public_html/css/login-form.css create mode 100644 public_html/image/header/notif/login.svg create mode 100644 view/vue/login-form.vue diff --git a/public_html/css/login-form.css b/public_html/css/login-form.css new file mode 100644 index 0000000..3a1c16f --- /dev/null +++ b/public_html/css/login-form.css @@ -0,0 +1,108 @@ +/* Header */ +#LOGIN-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 */ +#LOGIN-FORM > .body{ + display: block; + position: relative; + width: 100%; + min-height: 2em; + height: auto; + + border-radius: 0 0 3px 3px; + + overflow: auto; + +} + +/* Items */ +#LOGIN-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; +} + +#LOGIN-FORM > .body > form * { + text-align: center; +} + +#LOGIN-FORM > .body > form > *{ + display: block; +} + +#LOGIN-FORM > .body > form > input{ + padding: 5px; + margin: 5px auto 10px auto; + border-color: #777777; +} + +#LOGIN-FORM > .body > form > input.err{ + border-color: #ff0000; +} + +#LOGIN-FORM > .body > form > #btn-connection{ + color: #21bb89; + background-color: #fff; + border-color: #21bb89; + border-width: 2px; + + padding: 6px; + margin: 8px auto 0 auto; + + font-weight: bold; + cursor: pointer; + + transition: background-color .2s ease-in-out, + color .2s ease-in-out; +} + +#LOGIN-FORM > .body > form > #btn-connection:hover{ + color: #fff; + background-color: #21bb89; +} + + + +#LOGIN-FORM > .body > form > #msg-err{ + color: #ff0000; +} + +#LOGIN-FORM > .body > form, +#LOGIN-FORM > .body > form > input, +#LOGIN-FORM > .body > form > button { + font-family: inherit; +} + +#LOGIN-FORM > .body > form > input, +#LOGIN-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/public_html/image/header/notif/login.svg b/public_html/image/header/notif/login.svg new file mode 100644 index 0000000..88b7dc6 --- /dev/null +++ b/public_html/image/header/notif/login.svg @@ -0,0 +1,49 @@ + +image/svg+xml \ No newline at end of file diff --git a/view/vue/login-form.vue b/view/vue/login-form.vue new file mode 100644 index 0000000..a7f94bd --- /dev/null +++ b/view/vue/login-form.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file