diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-01 19:37:19 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-01 22:51:38 +0100 |
| commit | f8c7ec2c0e6cea04ebf2bd69313de82403620960 (patch) | |
| tree | 04dbedbeb18f86413d5e92a48fe6aace82bd50c9 /src/components | |
| parent | 1e370817560c905a0a3520e245c317f308b6a5e7 (diff) | |
chore: animate toolbar entrance
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Toolbar/Toolbar.module.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/Toolbar/Toolbar.module.scss b/src/components/Toolbar/Toolbar.module.scss index aabec9a..408d769 100644 --- a/src/components/Toolbar/Toolbar.module.scss +++ b/src/components/Toolbar/Toolbar.module.scss @@ -25,6 +25,10 @@ box-shadow: 0 fun.convert-px(-2) fun.convert-px(3) fun.convert-px(-1) var(--color-shadow-dark); + :global { + animation: slide-in-from-bottom 0.8s ease-in-out 0s 1; + } + @include mix.media("screen") { @include mix.dimensions("sm") { --toolbar-size: auto; @@ -39,6 +43,10 @@ left: unset; margin-right: unset; transform: unset; + + :global { + animation: slide-in-from-top 1s ease-in-out 0s 1; + } } } } |
