Improve animations
This commit is contained in:
parent
50a844e3a3
commit
de81158a06
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ export const ImageAnchorFactory =
|
||||||
target="_blank"
|
target="_blank"
|
||||||
${shouldDownload ? 'download' : ''}
|
${shouldDownload ? 'download' : ''}
|
||||||
>
|
>
|
||||||
<div class="svgContainer">
|
<div class="svg-container">
|
||||||
${svg}
|
${svg}
|
||||||
</div>
|
</div>
|
||||||
<p>${title}</p>
|
<p>${title}</p>
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@
|
||||||
.image-anchor {
|
.image-anchor {
|
||||||
@include image-button(var(--icon-size));
|
@include image-button(var(--icon-size));
|
||||||
|
|
||||||
.svgContainer {
|
.svg-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@include square(var(--icon-size));
|
@include square(var(--icon-size));
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
stroke: var(--normal-text-color);
|
stroke: var(--normal-text-color);
|
||||||
transition: stroke var(--transition-time);
|
transition: stroke var(--transition-time), transform var(--transition-time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue