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;
|
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;
|
@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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue