mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 00:39:25 +00:00
Added sass, and initial sass partials
This commit is contained in:
17
src/stylesheets/abstracts/_mixins.scss
Normal file
17
src/stylesheets/abstracts/_mixins.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
@mixin on-event($self: false) {
|
||||
@if $self {
|
||||
&,
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user