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;
}
}
&--selected {
background-color: $light-button-background-hover-color;
& g {
fill: $light-button-hover-color;
}
}
}

View File

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