2018-05-08 22:14:28 +02:00
|
|
|
@mixin button-reset {
|
2018-05-08 18:51:19 +02:00
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
font: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
outline: inherit;
|
|
|
|
}
|
|
|
|
|
2016-04-09 09:17:08 +02:00
|
|
|
@mixin color-svg($svg, $color) {
|
2018-05-04 22:07:52 +02:00
|
|
|
-webkit-mask: url($svg) no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: $color;
|
2016-04-09 09:17:08 +02:00
|
|
|
}
|
2018-05-08 22:14:28 +02:00
|
|
|
|
2016-04-09 09:17:08 +02:00
|
|
|
@mixin header-icon-white($svg) {
|
2018-05-04 22:07:52 +02:00
|
|
|
@include color-svg($svg, rgba(255, 255, 255, 0.8));
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2016-04-09 09:17:08 +02:00
|
|
|
@include color-svg($svg, white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@mixin header-icon-black($svg) {
|
2018-05-04 22:07:52 +02:00
|
|
|
@include color-svg($svg, rgba(0, 0, 0, 0.5));
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2016-04-09 09:17:08 +02:00
|
|
|
@include color-svg($svg, black);
|
|
|
|
}
|
|
|
|
}
|