Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
fixing issue where form styling could be improved on dark backgrounds…
Browse files Browse the repository at this point in the history
…/white text color #3258
  • Loading branch information
kevincrafts committed Mar 19, 2019
1 parent 0e55f8b commit c46eff1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
6 changes: 4 additions & 2 deletions themes/ucb/css/ucb-styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions themes/ucb/css/ucb.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions themes/ucb/scss/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ input[type=tel],
textarea {
padding:10px;
border:1px solid $border;
background-color: rgba(128,128,128,.1);
background-color: #f2f2f2;
color: $text-black;
color:inherit;
line-height: 150%;
}
Expand All @@ -46,12 +47,16 @@ textarea:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus {
background-color: rgba(128,128,128,.2);
background-color: #e7e7e7;
color: $text-black;
outline: $blue solid 2px;
}
select:focus {
outline: $blue solid 2px;
}
select[multiple=multiple] {
padding: 5px;
}
input[type=submit],
form button {
color:#222;
Expand Down Expand Up @@ -85,7 +90,7 @@ fieldset {
padding:10px;
border:1px solid $border;
min-width: auto;

legend {
font-weight: bold;
font-size: 120%;
Expand Down

0 comments on commit c46eff1

Please sign in to comment.