CSS: Split into modules
Don't place pure styling on top-level files (those that don't begin with underscore). Instead, import them as individual files.
This commit is contained in:
8
src/styles/components/_checkbox.sass
Normal file
8
src/styles/components/_checkbox.sass
Normal file
@@ -0,0 +1,8 @@
|
||||
.checkbox label label
|
||||
padding-left: 0
|
||||
|
||||
.checkbox label input[type=checkbox] + label
|
||||
transition: color 100ms ease-in-out
|
||||
|
||||
.checkbox label input[type=checkbox]:checked + label
|
||||
color: $color-success !important
|
Reference in New Issue
Block a user