fix: make workspace navigation atomic and return home on account switch
This commit is contained in:
1 parent
c02bf755f2
commit
55f2474660
21 files changed
+709
-61
No files matched your search
@@ -974,3 +974,47 @@ select:focus {
|
||||
border-radius: 8px;
|
||||
background: var(--surfaceSecondary);
|
||||
}
|
||||
.navigation-progress {
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
top: calc(4em - 2px);
|
||||
inset-inline: 0;
|
||||
height: 2px;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
animation: navigation-reveal 160ms step-end both;
|
||||
}
|
||||
|
||||
.navigation-progress::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
background: var(--blue);
|
||||
animation: navigation-slide 1.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes navigation-reveal {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes navigation-slide {
|
||||
from {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
to {
|
||||
transform: translateX(390%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.navigation-progress::after {
|
||||
width: 100%;
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user