ShareEditPopup refactoring

This commit is contained in:
Čarodej
2022-01-19 08:05:33 +01:00
parent 509fb32c81
commit c711150793
9 changed files with 337 additions and 218 deletions
@@ -1,5 +1,5 @@
<template>
<div class="actions">
<div class="actions flex items-center space-x-4 md:p-6 p-4">
<slot></slot>
</div>
</template>
@@ -11,23 +11,9 @@
</script>
<style lang="scss" scoped>
@import '/resources/sass/vuefilemanager/_variables';
@import '/resources/sass/vuefilemanager/_mixins';
.actions {
padding: 20px;
margin: 0 -10px;
display: flex;
.popup-button {
width: 100%;
margin: 0 10px;
}
}
@media only screen and (max-width: 690px) {
.actions {
padding: 15px 15px;
position: absolute;
bottom: 0;
left: 0;
@@ -1,5 +1,5 @@
<template>
<div class="popup-content" :class="type">
<div class="popup-content px-6" :class="type">
<slot></slot>
</div>
</template>
@@ -1,5 +1,5 @@
<template>
<div class="popup-header">
<div class="popup-header p-6">
<div class="icon">
<corner-down-right-icon v-if="icon === 'move'" size="15" class="title-icon text-theme dark-text-theme" />
<share-icon v-if="icon === 'share'" size="17" class="title-icon text-theme dark-text-theme" />
@@ -49,7 +49,6 @@
@import '/resources/sass/vuefilemanager/_mixins';
.popup-header {
padding: 20px;
display: flex;
align-items: center;