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>
|
|
|
|
|
2024-04-04 20:13:35 +00:00
|
|
|
<style lang="postcss" scoped>
|
2022-10-27 17:06:49 +00:00
|
|
|
:deep(.tabs) {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply flex flex-col overflow-hidden flex-1 text-k-text-secondary;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
|
|
|
|
2022-10-27 17:06:49 +00:00
|
|
|
:deep(header) {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply flex bg-white/5 overflow-hidden flex-shrink-0 border-b-white/5;
|
2022-10-18 14:07:41 +00:00
|
|
|
|
|
|
|
label {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply text-base relative uppercase tracking-wider opacity-50 cursor-pointer;
|
|
|
|
@apply transition-opacity duration-200 ease-in-out px-7 py-4 rounded-none;
|
2022-10-18 14:07:41 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply opacity-80;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply opacity-100;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply hidden;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-04 22:20:42 +00:00
|
|
|
:deep(:is(main, .songs-pane, .albums-pane)) {
|
|
|
|
@apply flex flex-col flex-1 overflow-auto;
|
2022-10-18 14:07:41 +00:00
|
|
|
}
|
2022-12-16 15:30:25 +00:00
|
|
|
|
|
|
|
:deep(.albums-pane) {
|
|
|
|
> ul {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply p-7 overflow-auto;
|
2022-12-16 15:30:25 +00:00
|
|
|
}
|
2024-02-28 04:37:27 +00:00
|
|
|
|
|
|
|
.none {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply px-7 py-4;
|
2024-02-28 04:37:27 +00:00
|
|
|
}
|
2022-12-16 15:30:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
:deep(.info-pane) {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply p-7;
|
2022-12-16 15:30:25 +00:00
|
|
|
}
|
2022-10-18 14:07:41 +00:00
|
|
|
</style>
|