Skip to content

Commit

Permalink
style(text-field): Remove confusing nesting (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnmercier authored Jan 23, 2018
1 parent 9d63b2e commit 836c8fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/mdc-textfield/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@
border: none;
background-color: transparent;
z-index: 1;
}

&:hover ~ .mdc-text-field__idle-outline {
border: 1px solid;
}
.mdc-text-field__input:hover ~ .mdc-text-field__idle-outline {
border: 1px solid;
}

.mdc-text-field__label {
Expand All @@ -299,10 +299,10 @@

.mdc-text-field__icon {
z-index: 2;
}

&:hover ~ .mdc-text-field__idle-outline {
border: 1px solid $mdc-text-field-outlined-hover-border;
}
.mdc-text-field__icon:hover ~ .mdc-text-field__idle-outline {
border: 1px solid $mdc-text-field-outlined-hover-border;
}

.mdc-text-field__label--float-above ~ .mdc-text-field__idle-outline {
Expand Down

0 comments on commit 836c8fa

Please sign in to comment.