Refine Harbor brand mode hover animation
This commit is contained in:
@@ -246,23 +246,19 @@ p {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.harbor-brand-control:hover .harbor-mode-connect,
|
||||
.harbor-brand-control:focus-visible .harbor-mode-connect {
|
||||
.harbor-brand-control.is-mode-animating .harbor-mode-connect {
|
||||
animation: harbor-mode-float-front 1500ms ease-in-out infinite;
|
||||
}
|
||||
|
||||
.harbor-brand-control:hover .harbor-mode-gateway,
|
||||
.harbor-brand-control:focus-visible .harbor-mode-gateway {
|
||||
.harbor-brand-control.is-mode-animating .harbor-mode-gateway {
|
||||
animation: harbor-mode-float-back 1500ms ease-in-out infinite;
|
||||
}
|
||||
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control:hover .harbor-mode-connect,
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control:focus-visible .harbor-mode-connect {
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-connect {
|
||||
animation-name: harbor-mode-float-back;
|
||||
}
|
||||
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control:hover .harbor-mode-gateway,
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control:focus-visible .harbor-mode-gateway {
|
||||
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-gateway {
|
||||
animation-name: harbor-mode-float-front;
|
||||
}
|
||||
|
||||
@@ -357,13 +353,11 @@ p {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.harbor-brand-control:hover .harbor-mode-swap .is-connect path,
|
||||
.harbor-brand-control:focus-visible .harbor-mode-swap .is-connect path {
|
||||
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-connect path {
|
||||
animation: harbor-arrow-float-right 1500ms ease-in-out infinite;
|
||||
}
|
||||
|
||||
.harbor-brand-control:hover .harbor-mode-swap .is-gateway path,
|
||||
.harbor-brand-control:focus-visible .harbor-mode-swap .is-gateway path {
|
||||
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-gateway path {
|
||||
animation: harbor-arrow-float-left 1500ms ease-in-out infinite;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user