hacker.tours-website/themes/zen/assets/sass/components/icon-inline/_icon-inline.scss

28 lines
354 B
SCSS
Raw Normal View History

2024-06-13 22:14:05 +02:00
// Inline icons.
.icon-inline,
%icon-inline {
.icon-link {
opacity: 0;
transition: all 130ms ease-in;
text-decoration: none;
}
&:focus-visible,
&:hover {
.icon-link {
opacity: .3;
&:focus-visible,
&:hover {
opacity: 1;
}
}
}
svg {
display: inline;
vertical-align: middle;
}
}