Skip to content

Commit

Permalink
fix(searchbar): fix the border color and toolbar padding
Browse files Browse the repository at this point in the history
references #5921
  • Loading branch information
brandyscarney committed Mar 23, 2016
1 parent 7dc58ef commit 0e91a69
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ionic/components/searchbar/searchbar.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ion-searchbar {
// Searchbar Focused
// -----------------------------------------

.searchbar-focused {
.searchbar-focused .searchbar-input-container {
border-color: $searchbar-wp-border-color-focused;
}

Expand Down Expand Up @@ -143,13 +143,22 @@ ion-searchbar {
display: none;
}

// Searchbar in Toolbar
// -----------------------------------------

.toolbar {
ion-searchbar {
padding: 2px;
}
}


// Generate Default Windows Search Bar Colors
// --------------------------------------------------

@each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {

ion-searchbar[#{$color-name}].searchbar-focused {
ion-searchbar[#{$color-name}].searchbar-focused .searchbar-input-container {
border-color: $color-base;
}

Expand Down

0 comments on commit 0e91a69

Please sign in to comment.