37 lines
702 B
SCSS
37 lines
702 B
SCSS
@mixin path-colors($parent-class: '', $fill-core: #fff, $fill-sokol: #fff, $fill-dai: #fff, $fill-kovan: #fff) {
|
|
|
|
#{ $parent-class } &#{ & }-core {
|
|
fill: $fill-core;
|
|
}
|
|
|
|
#{ $parent-class } &#{ & }-sokol {
|
|
fill: $fill-sokol;
|
|
}
|
|
|
|
#{ $parent-class } &#{ & }-dai {
|
|
fill: $fill-dai;
|
|
}
|
|
|
|
#{ $parent-class } &#{ & }-kovan {
|
|
fill: $fill-kovan;
|
|
}
|
|
|
|
}
|
|
|
|
.sw-IconAdd {
|
|
.sw-ButtonNewBallot & {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.sw-ButtonAddBallot & {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.sw-IconAdd_Path {
|
|
|
|
@include path-colors('.sw-ButtonNewBallot', #fff, $sokol-cyan, #fff, $kovan-cyan);
|
|
|
|
@include path-colors('.sw-ButtonAddBallot');
|
|
|
|
} |