2022-10-18 14:07:41 +00:00
|
|
|
<template>
|
|
|
|
<div class="tabs">
|
|
|
|
<header>
|
2022-12-02 16:17:37 +00:00
|
|
|
<slot name="header" />
|
2022-10-18 14:07:41 +00:00
|
|
|
</header>
|
|
|
|
<main>
|
2022-12-02 16:17:37 +00:00
|
|
|
<slot />
|
2022-10-18 14:07:41 +00:00
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
</script>
|
|
|
|
|
2024-04-04 20:13:35 +00:00
|
|
|
<style lang="postcss" scoped>
|
2022-10-27 17:06:49 +00:00
|
|
|
:deep(.tabs) {
|
2022-10-18 14:07:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 1;
|
|
|
|
color: var(--color-text-secondary);
|
|
|
|
}
|
|
|
|
|
2022-10-27 17:06:49 +00:00
|
|
|
:deep(header) {
|
2022-10-18 14:07:41 +00:00
|
|
|
display: flex;
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
overflow: hidden;
|
|
|
|
flex-shrink: 0;
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, .04);
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-size: 1rem;
|
|
|
|
position: relative;
|
|
|
|
padding: 1rem 1.8rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
border-radius: 0;
|
|
|
|
opacity: .5;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-27 17:06:49 +00:00
|
|
|
:deep(main) {
|
2022-12-16 15:30:25 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: auto;
|
2022-10-18 14:07:41 +00:00
|
|
|
flex: 1;
|
2022-12-16 15:30:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
:deep(.songs-pane), :deep(.albums-pane) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-10-18 14:07:41 +00:00
|
|
|
overflow: auto;
|
2022-12-17 12:09:22 +00:00
|
|
|
flex: 1;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
2022-12-16 15:30:25 +00:00
|
|
|
|
|
|
|
:deep(.albums-pane) {
|
|
|
|
> ul {
|
|
|
|
padding: 1.8rem;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2024-02-28 04:37:27 +00:00
|
|
|
|
|
|
|
.none {
|
|
|
|
padding: 1rem 1.8rem;
|
|
|
|
}
|
2022-12-16 15:30:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
:deep(.info-pane) {
|
|
|
|
padding: 1.8rem;
|
|
|
|
}
|
2022-10-18 14:07:41 +00:00
|
|
|
</style>
|