change sass to use BEM

This commit is contained in:
mathuramg 2016-06-10 15:14:55 -04:00
parent 12d59e4d49
commit 7fd8471e78
2 changed files with 8 additions and 8 deletions

View file

@ -23,4 +23,10 @@
fill: $light-button-hover-color; fill: $light-button-hover-color;
} }
} }
&--selected {
background-color: $light-button-background-hover-color;
& g {
fill: $light-button-hover-color;
}
}
} }

View file

@ -2,20 +2,14 @@
@extend %toolbar-button; @extend %toolbar-button;
margin-right: #{15 / $base-font-size}rem; margin-right: #{15 / $base-font-size}rem;
&--selected { &--selected {
background-color: $light-button-background-hover-color; @extend %toolbar-button--selected;
& g {
fill: $light-button-hover-color;
}
} }
} }
.toolbar__stop-button { .toolbar__stop-button {
@extend %toolbar-button; @extend %toolbar-button;
&--selected { &--selected {
background-color: $light-button-background-hover-color; @extend %toolbar-button--selected;
& g {
fill: $light-button-hover-color;
}
} }
} }