Misc CSS fixes
* set max content width to 960px
* created mixin for bold font
* move app-header content to global header
* minor global changes
* changed input alignment for network config inputs
* added pop-out button class
* changed lightgrey color
* fixed accordion header actions responsiveness
* fixed input box border colors
Change-Id: Iffe26d526439d7f2bb6808528a975ab7374ff1b2
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
diff --git a/app/common/styles/base/forms.scss b/app/common/styles/base/forms.scss
index b49c5b2..1157fa5 100644
--- a/app/common/styles/base/forms.scss
+++ b/app/common/styles/base/forms.scss
@@ -19,7 +19,7 @@
input[type='text'],
textarea {
border-radius: 0px;
- border: 1px solid $lightgrey;
+ border: 1px solid $medgrey;
height: 3.1em;
margin: 0 0 1em 0;
background: $white;
@@ -27,17 +27,29 @@
transition: none !important;
&:focus {
border-color: $lightbg__accent;
- border-bottom: 5px solid $lightbg__primary;
+ box-shadow: 0 -5px $field__focus inset;
}
- &:disabled, .disabled {
+ &:disabled,
+ .disabled {
background: $field__disabled;
border: 1px solid $lightbg__grey;
}
&.input__error {
- border-color: $error-color;
+ box-shadow: 0 -5px $error-color inset;
+ color: $error-color;
+ &:focus {
+ box-shadow: 0 -5px $field__focus inset;
+ }
}
}
+input[readonly],
+input[readonly]:focus{
+ box-shadow: 0 0 0;
+ background: $field__disabled;
+ border: 1px solid $lightbg__grey;
+}
+
textarea { padding: .2em;
height: auto;}
input[type="submit"], .submit {