mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 22:15:13 +01:00
* refactor(connect-explorer): for nextra-theme-docs to our repo * fix(connect-explorer): CI errors * fix(connect-explorer): Lint * chore(connect-explorer): Update styled components * chore(connect-explorer-theme): remove TS build step --------- Co-authored-by: Tomas Martykan <t.martykan@gmail.com>
42 lines
951 B
CSS
42 lines
951 B
CSS
.nextra-hamburger svg {
|
|
g {
|
|
@apply nx-origin-center;
|
|
transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
|
|
}
|
|
path {
|
|
opacity: 1;
|
|
transition:
|
|
transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s,
|
|
opacity 0.2s ease 0.2s;
|
|
}
|
|
|
|
&.open {
|
|
path {
|
|
transition:
|
|
transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
|
|
opacity 0s ease 0.2s;
|
|
}
|
|
g {
|
|
transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
|
|
}
|
|
}
|
|
|
|
&.open > {
|
|
path {
|
|
@apply nx-opacity-0;
|
|
}
|
|
g:nth-of-type(1) {
|
|
@apply nx-rotate-45;
|
|
path {
|
|
transform: translate3d(0, 6px, 0);
|
|
}
|
|
}
|
|
g:nth-of-type(2) {
|
|
@apply -nx-rotate-45;
|
|
path {
|
|
transform: translate3d(0, -6px, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|