Change button styles from rounded to straight corners
This will create more visual consistency between the components
in the GUI since there are elements, such as text fields and
dropdowns that are styled with straight corners.
- Removes border radius from buttons
- Removes some redundant styles
- Adds input types that aren't currently inheriting
defined styles
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I6ff1bde91e2e57df01484dd20003925cd914ffa2
diff --git a/app/common/styles/base/forms.scss b/app/common/styles/base/forms.scss
index eb633d4..21253e7 100644
--- a/app/common/styles/base/forms.scss
+++ b/app/common/styles/base/forms.scss
@@ -17,14 +17,16 @@
input[type='tel'],
input[type='url'],
input[type='text'],
+input[type='date'],
+input[type='time'],
textarea {
border-radius: 0px;
border: 1px solid $input-border;
- height: 3.1em;
margin: 0;
background: $white;
box-shadow: 0 0 0;
transition: none !important;
+ max-height: 2.1em;
&:focus {
border-color: $medgrey;
box-shadow: 0 -3px $field__focus inset;
@@ -94,13 +96,20 @@
border-radius: 0px;
height: auto;
padding-right: 0.5rem; //override inherited Foundation style
+ border-color: $input-border;
@include fastTransition-all;
@include bgImage__arrowDown-primary;
&:focus {
- border-color: $lightbg__accent;
box-shadow: 0 0 0;
}
&[disabled] {
@include bgImage__arrowDown-disabled;
}
}
+
+#login__form {
+ input {
+ height: 3em;
+ max-height: none;
+ }
+}