Skip to content

Commit

Permalink
fix(forms): remove box shadow from form inputs other than selects
Browse files Browse the repository at this point in the history
fixes #289
[fixes #106219428]
  • Loading branch information
August Toman-Yih committed Oct 23, 2015
1 parent e18d645 commit ba86346
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pivotal-ui/components/forms/forms.scss
Expand Up @@ -557,31 +557,29 @@ them over a custom dropdown whenever possible.
*/

.form-control {
@include button-shadow;
padding: 8px 14px; // override bootstrap
//-webkit-appearance: none;
position: relative;
&:hover, &:focus {
border-color: $input-border-color-hover;
}

&.active, &:active {
background-color: $input-bg-active;
}

&.disabled, &:disabled {
opacity: 0.5;
}
}

select.form-control {
@include button-shadow;
color: $link-color;
font-weight: $input-font-weight;

&:hover, &:focus {
color: $input-color-hover;
}

&.active, &:active {
background-color: $input-bg-active;
color: $input-color-active;
}

Expand Down

0 comments on commit ba86346

Please sign in to comment.