Skip to content

Commit

Permalink
Update transition classes for vue3 -- TODO: verify classnames per htt…
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 24, 2023
1 parent c8157c1 commit 4114ac7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/src/components/ActivityBar/ActivityBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function toggleContextMenu(evt: MouseEvent) {
transition: all 0.3s;
}
.panels-enter,
.panels-enter-from,
.panels-leave-to {
transform: translateX(-100%);
}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Notifications/NotificationsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function togglePreferences() {
transition: all 0.3s ease;
}
.notifications-list-enter {
.notifications-list-enter-from {
opacity: 0;
transform: translateY(-2rem);
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Panels/Common/ToolSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ function toggleMenu(nextState = !opened.value) {
}
.slide-enter-to,
.slide-leave {
.slide-leave-from {
max-height: 100px;
overflow: hidden;
}
.slide-enter,
.slide-enter-from,
.slide-leave-to {
overflow: hidden;
max-height: 0;
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/User/CloudAuth/CloudAuth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default {
transition: opacity 0.5s;
}
.fade-enter,
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export default {
transition: opacity 0.5s;
}
.fade-enter,
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
Expand Down
8 changes: 4 additions & 4 deletions client/src/style/scss/transitions.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Vue Transitions
// ex: <transition name="shutterfade">

.shutterfade-enter,
.shutterfade-enter-from,
.shutterfade-leave-to {
opacity: 0;
max-height: 0%;
}

.shutterfade-enter-to,
.shutterfade-leave {
.shutterfade-leave-from {
opacity: 1;
max-height: 100%;
}
Expand All @@ -19,13 +19,13 @@
transition-duration: 0.35s;
}

.fade-enter,
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}

.fade-enter-to,
.fade-leave {
.fade-leave-from {
opacity: 1;
}

Expand Down

0 comments on commit 4114ac7

Please sign in to comment.