Commit 2607b035 authored by Aron Carroll's avatar Aron Carroll

Update the login form to trial new form styles

parent 4d95d8bb
...@@ -188,7 +188,7 @@ h6 { ...@@ -188,7 +188,7 @@ h6 {
.form-vertical { .form-vertical {
select, textarea, input, button { select, textarea, input, button {
display: block; display: block;
margin-top: .75em; // margin-top: .75em;
} }
} }
......
...@@ -4,16 +4,22 @@ ...@@ -4,16 +4,22 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.form-field-error { %form-input-error-state {
.form-input { &, &:focus, &.js-focus {
&, &:focus, &.js-focus { color: #b4777a;
color: #b4777a; border-color: #f5adb7;
border-color: #f5adb7; background-color: #fff1f3;
background-color: #fff1f3; }
}
@include placeholder {
color: #e0b0b0;
} }
} }
.form-field-error .form-input {
@extend %form-input-error-state;
}
.form-input, .form-input,
.form-label { .form-label {
width: 100%; width: 100%;
...@@ -23,7 +29,7 @@ ...@@ -23,7 +29,7 @@
.form-label { .form-label {
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 13px;
margin-bottom: 5px; margin-bottom: 5px;
} }
...@@ -63,6 +69,11 @@ ...@@ -63,6 +69,11 @@
color: #cbbb95; color: #cbbb95;
} }
} }
// This is not ideal
&.ng-dirty.ng-invalid {
@extend %form-input-error-state;
}
} }
.form-select { .form-select {
...@@ -104,17 +115,18 @@ ...@@ -104,17 +115,18 @@
} }
.form-actions { .form-actions {
@include pie-clearfix;
margin-top: 5px; margin-top: 5px;
overflow: hidden;
} }
.form-actions-message { .form-actions-message {
font-size: 13px;
float: left; float: left;
margin-top: 2px; margin-top: 7px;
} }
.form-actions-buttons { .form-actions-buttons {
overflow: hidden; @include pie-clearfix;
float: right; float: right;
* { * {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment