Skip to content

Commit

Permalink
fix(select): change windows border colors for selects to match input
Browse files Browse the repository at this point in the history
references #5787
  • Loading branch information
brandyscarney committed Mar 9, 2016
1 parent 4e37524 commit 6063932
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 8 additions & 3 deletions ionic/components/input/input.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,14 @@ ion-input.ng-invalid.ng-touched .text-input {

.item-label-stacked ion-select,
.item-label-floating ion-select {
padding-left: 0;
padding-top: 8px;
padding-bottom: 8px;
padding-top: 0;
padding-bottom: 0;
margin-top: 8px;
margin-bottom: 8px;

.select-icon {
margin-top: 5px;
}
}

.item-label-floating .text-input.cloned-input {
Expand Down
3 changes: 2 additions & 1 deletion ionic/components/select/select.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $select-wp-padding-bottom: ($item-wp-padding-bottom / 2) !default;
$select-wp-padding-left: ($item-wp-padding-left / 2) !default;

$select-wp-border-width: 2px !default;
$select-wp-border-color: #B5B5B5 !default;
$select-wp-border-color: $input-wp-border-color !default;

$select-wp-icon-width: 18px !default;
$select-wp-icon-arrow-width: 2px !default;
Expand All @@ -20,6 +20,7 @@ $select-wp-icon-color: $select-wp-border-color !default;
ion-select {
padding: $select-wp-padding-top $select-wp-padding-right $select-wp-padding-bottom $select-wp-padding-left;
border: $select-wp-border-width solid $select-wp-border-color;
line-height: 3rem;
}

.item-select ion-label {
Expand Down

0 comments on commit 6063932

Please sign in to comment.