mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
* lazy-loading and solved bugs * lazy-loading for pull request on master * Update vuefilemanager.php Co-authored-by: Peter Papp <peterpapp@makingcg.com>
64 lines
1.2 KiB
Vue
64 lines
1.2 KiB
Vue
<template>
|
|
<div class="popup-content" :class="type">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'PopupContent',
|
|
props: [
|
|
'type'
|
|
]
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import '@assets/vue-file-manager/_variables';
|
|
@import '@assets/vue-file-manager/_mixins';
|
|
|
|
.popup-content {
|
|
&.height-limited {
|
|
height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 690px) {
|
|
.popup-content {
|
|
top: 57px;
|
|
bottom: 72px;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
height: initial;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 320px) {
|
|
.popup-content {
|
|
position: unset;
|
|
}
|
|
}
|
|
|
|
@keyframes popup-in {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.7);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes popup-slide-in {
|
|
0% {
|
|
transform: translateY(100%);
|
|
}
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
</style>
|