change sass to use BEM
This commit is contained in:
parent
12d59e4d49
commit
7fd8471e78
2 changed files with 8 additions and 8 deletions
|
@ -23,4 +23,10 @@
|
|||
fill: $light-button-hover-color;
|
||||
}
|
||||
}
|
||||
&--selected {
|
||||
background-color: $light-button-background-hover-color;
|
||||
& g {
|
||||
fill: $light-button-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue