Integrate nav

- other minor refactors
This commit is contained in:
geoffrey45
2022-04-14 11:30:19 +03:00
parent 90d646d674
commit 85c59b4cba
28 changed files with 266 additions and 141 deletions
-59
View File
@@ -1,59 +0,0 @@
<template>
<div class="folder-top flex">
<div class="fname">
<PlayBtnRect />
<div class="ftext">
<div class="icon image"></div>
<div class="ellip">
{{ folder.path.split("/").splice(-1).join("") }}
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import useFStore from "../../stores/folder";
import PlayBtnRect from "../shared/PlayBtnRect.vue";
const folder = useFStore();
</script>
<style lang="scss">
.folder-top {
border-bottom: 1px solid $separator;
width: calc(100% - 0.5rem);
padding-bottom: $small;
height: 3rem;
}
.folder-top .fname {
width: 100%;
display: flex;
gap: $small;
align-items: center;
.ftext {
position: relative;
display: flex;
align-items: center;
height: 2.5rem;
border-radius: $small;
background-color: $primary;
padding: $small $small $small 2.25rem;
.icon {
position: absolute;
left: $small;
height: 1.5rem;
width: 1.5rem;
background-image: url(../../assets/icons/folder.fill.svg);
margin-right: $small;
}
@include phone-only {
display: none;
}
}
}
</style>