File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
mobile/src/components/rooms Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 11<template >
2- <transition >
3- <div v-if =" !!confDescriptorRef?.features.showRoomCapacityIndicator && capacityStatusRef && roomCapacityIndicatorShownRef" class =" above-talkCard"
2+ <transition enter-active-class =" _enterBanner" leave-active-class =" _leaverBanner" >
3+ <div v-if =" !!confDescriptorRef?.features.showRoomCapacityIndicator && capacityStatusRef && roomCapacityIndicatorShownRef"
4+ class =" above-talkCard"
45 :style =" {
56 '--status-level1-color': '#73a027',
67 '--status-level2-color': '#ff6a00',
@@ -270,8 +271,19 @@ function setIndicatorExplanationPopupOpened(opened: boolean) {
270271 border-radius : var (--border-radius );
271272 background : var (--app-primary );
272273 overflow : hidden ;
274+ transition : margin-bottom 340ms ease-in-out ;
275+ animation-duration : 340ms ;
276+ animation-fill-mode : both ;
273277 z-index : 0 ;
274278
279+ & ._enterBanner { animation : slideInRoomCapacityBanner 340ms ease-in-out both ;}
280+ & ._leaverBanner { animation : slideInRoomCapacityBanner 340ms reverse both ;}
281+
282+ @keyframes slideInRoomCapacityBanner {
283+ 0% {margin-bottom : -64px ;}
284+ 100% {margin-bottom : -12px ;}
285+ }
286+
275287 @media (prefers-color-scheme : dark ) {
276288 border : 1px solid var (--app-line-contrast );
277289 }
@@ -405,15 +417,4 @@ function setIndicatorExplanationPopupOpened(opened: boolean) {
405417 background-repeat : no-repeat !important ;
406418 }
407419}
408-
409- .v-enter-active ,
410- .v-leave-active {
411- transition : opacity 1.5s ease ;
412- }
413-
414- .v-enter-from ,
415- .v-leave-to {
416- opacity : 0 ;
417- }
418-
419420 </style >
You can’t perform that action at this time.
0 commit comments