mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 22:18:16 +08:00
add animation for page change
This commit is contained in:
@@ -183,3 +183,20 @@ h2 {
|
||||
background-color: $dark-bg;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Transitions
|
||||
*/
|
||||
|
||||
// page-change
|
||||
.slide-fade-enter-active {
|
||||
transition: all 0.20s $easing-in;
|
||||
}
|
||||
.slide-fade-leave-active {
|
||||
transition: all 0.20s $easing-in;
|
||||
}
|
||||
.slide-fade-enter-from,
|
||||
.slide-fade-leave-to {
|
||||
transform: translateY(50px);
|
||||
opacity: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user