mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-14 23:50:04 +01:00
18 lines
443 B
SCSS
18 lines
443 B
SCSS
|
@mixin interaction-type($type) {
|
||
|
.interaction--#{$type} {
|
||
|
color: var(--#{$type}-color) !important;
|
||
|
padding: 0 var(--padding-tiny);
|
||
|
|
||
|
&.active, &:hover {
|
||
|
color: var(--text-color) !important;
|
||
|
background-color: var(--#{$type}-color);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@include interaction-type(fave);
|
||
|
@include interaction-type(upvote);
|
||
|
@include interaction-type(downvote);
|
||
|
@include interaction-type(comment);
|
||
|
@include interaction-type(hide);
|