summaryrefslogtreecommitdiff
path: root/res/client/css/partials
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-10 17:17:36 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-10 17:18:07 +0200
commitbf8ad7015aacb842fea585d1bd7563cee1f4d959 (patch)
tree717c2c75125de18d60103dafa9a96ed4c1ac9c0d /res/client/css/partials
parenta9ae6072f67c8650dc5ce965e1aebc8d4a6dca98 (diff)
login page: redesign, add create account button
Diffstat (limited to 'res/client/css/partials')
-rw-r--r--res/client/css/partials/login.scss98
1 files changed, 58 insertions, 40 deletions
diff --git a/res/client/css/partials/login.scss b/res/client/css/partials/login.scss
index 7c2a94eb..6641d721 100644
--- a/res/client/css/partials/login.scss
+++ b/res/client/css/partials/login.scss
@@ -1,19 +1,9 @@
-* {
- box-sizing: border-box;
-
- &:before,
- &:after {
- box-sizing: border-box;
- }
-
- }
-
.welcome-box {
margin-left: auto;
margin-right: auto;
- padding-bottom: $three-baselines;
+ padding: 20px 30px;
margin-top: 80px;
- width: 470px;
+ width: 420px;
background: white;
box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.3);
}
@@ -41,18 +31,12 @@
text-align: center;
}
-.login-form {
+.login-view-section {
+ width: 100%;
margin-top: 10px;
- margin-bottom: 25px;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- padding: 20px;
- width: 300px;
- position: relative;
+ margin-bottom: 10px;
}
-
.clearfix {
*zoom: 1;
@@ -72,32 +56,22 @@
border: none;
font-family: inherit;
font-size: inherit;
+ left: -10px;
margin: 0;
+ position: relative;
+ width: 80%;
+
-webkit-appearance: none;
+
&:focus {
outline: none;
}
- &[type="submit"] {
- width: 100%;
- cursor: pointer;
- background: #ee3654;
- border-radius: 3px;
- color: #fff;
- float: right;
- font-weight: bold;
- margin-top: 20px;
- margin-bottom: 15px;
- padding: 12px 20px;
- &:hover {
- background: $dark-magenta;
- }
- }
+
&[type="email"] {
background: url(../img/mail-icon.png) no-repeat scroll 20px 15px;
background-color:$light-grey;
border: 1px solid #dcdcdc;
padding: 12px 10px;
- width: 100%;
border-radius: 3px 3px 0 0;
padding-left:60px;
}
@@ -107,7 +81,6 @@
background-color:$light-grey;
border: 1px solid #dcdcdc;
padding: 12px 10px;
- width: 100%;
border-top: none;
border-radius: 0px 0px 3px 3px;
padding-left:60px;
@@ -122,8 +95,13 @@
}
}
-.contact-us-div {
+.login-view-section {
text-align: center;
+}
+
+.login-view-section-div {
+ color: #ee3654;
+
&:before {
content: "";
width: 112px;
@@ -133,6 +111,7 @@
margin-left: -118px;
border-top: 1px solid $magenta;
}
+
&:after {
content: "";
width: 112px;
@@ -163,4 +142,43 @@
.contact-us-link {
color: $magenta;
text-decoration: underline;
-} \ No newline at end of file
+}
+
+.login-form_button {
+ cursor: pointer;
+ background: #ee3654;
+ border-radius: 3px;
+ color: #fff;
+ font-size: 18px;
+ font-weight: bold;
+ margin: 15px;
+ padding: 12px 20px;
+
+ &:hover {
+ background: darken( #ee3654, 10% );
+ }
+}
+
+#login-form {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+ width: 300px;
+}
+
+#login-view-section_intro-text {
+ margin-bottom: 40px;
+}
+
+#login-page_create-account-button {
+ display: inline-block;
+ background-color: #4478FF;
+ margin-left: auto;
+ margin-right: auto;
+ position: relative;
+ top: 5px;
+
+ &:hover {
+ background: darken( #4478FF, 10% );
+ }
+}