Skip to content

Commit

Permalink
style(rxForm): added white background to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Lamping committed Jun 20, 2014
1 parent 8791a78 commit 971e276
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/rxForm/rxForm.less
Expand Up @@ -108,13 +108,15 @@ field-prefix, field-suffix and field-description are optional.
input,
select {
color: @inputColor;
background: transparent;
font-size: 1.2em;
margin: 0;
border-radius: 0;
}

input,
.field-select {
// leave some room for prefix/suffix if the field width is wider than the container width
max-width: 65%;
background: @white;
}

input {
Expand All @@ -133,10 +135,14 @@ field-prefix, field-suffix and field-description are optional.
}

.field-select {
display: inline-block;
position: relative;
width: @fieldSelectWidth;

select {
width: @fieldSelectWidth;
width: 100%;
// make sure arrow can show through
background: transparent;
// Remove default arrow
-webkit-appearance: none;
// @bugfix FF doesn't like 'none'
Expand Down

0 comments on commit 971e276

Please sign in to comment.