diff --git a/src/assets/variables.scss b/src/assets/variables.scss index 5b98e8d9616..eb7ef111278 100644 --- a/src/assets/variables.scss +++ b/src/assets/variables.scss @@ -101,3 +101,26 @@ $chat-line-height: 1.6em; transition: all 150ms ease-in-out; } } + +.slide { + &-enter { + transform: translateY(-50%); + opacity: 0; + } + &-enter-to { + transform: translateY(0); + opacity: 1; + } + &-leave { + transform: translateY(0); + opacity: 1; + } + &-leave-to { + transform: translateY(-50%); + opacity: 0; + } + &-enter-active, + &-leave-active { + transition: all 150ms ease-in-out; + } +} \ No newline at end of file diff --git a/src/components/CallView/Grid/Grid.vue b/src/components/CallView/Grid/Grid.vue index 03c10a0cca5..a7dbf826841 100644 --- a/src/components/CallView/Grid/Grid.vue +++ b/src/components/CallView/Grid/Grid.vue @@ -20,104 +20,118 @@ --> @@ -130,6 +144,8 @@ import { subscribe, unsubscribe } from '@nextcloud/event-bus' import EmptyCallView from '../shared/EmptyCallView' import ChevronRight from 'vue-material-design-icons/ChevronRight' import ChevronLeft from 'vue-material-design-icons/ChevronLeft' +import ChevronUp from 'vue-material-design-icons/ChevronUp' +import ChevronDown from 'vue-material-design-icons/ChevronDown' export default { name: 'Grid', @@ -140,6 +156,8 @@ export default { EmptyCallView, ChevronRight, ChevronLeft, + ChevronUp, + ChevronDown, }, props: { @@ -242,6 +260,8 @@ export default { showVideoOverlay: true, // Timer for the videos bottom bar showVideoOverlayTimer: null, + // State of the stripe + stripeOpen: true, } }, @@ -649,12 +669,20 @@ export default { return callParticipantModel.attributes.peerId === this.$store.getters.selectedVideoPeerId }, + handleToggleStripe() { + if (this.stripeOpen) { + this.stripeOpen = false + } else { + this.stripeOpen = true + } + }, }, }