audiolabs selector changes
This commit is contained in:
parent
34d9652fc8
commit
55fa11a0a2
7 changed files with 66 additions and 9 deletions
BIN
src/renderer/assets/audiolabs/classic.png
Normal file
BIN
src/renderer/assets/audiolabs/classic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
BIN
src/renderer/assets/audiolabs/expansive.png
Normal file
BIN
src/renderer/assets/audiolabs/expansive.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 186 KiB |
BIN
src/renderer/assets/audiolabs/focused.png
Normal file
BIN
src/renderer/assets/audiolabs/focused.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
BIN
src/renderer/assets/audiolabs/minimal.png
Normal file
BIN
src/renderer/assets/audiolabs/minimal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 184 KiB |
|
@ -71,24 +71,28 @@ const CiderAudio = {
|
||||||
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile.wav',
|
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile.wav',
|
||||||
"name": "Signature (Classic)",
|
"name": "Signature (Classic)",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"img": "./assets/audiolabs/classic.png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "420signature-B",
|
"id": "420signature-B",
|
||||||
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile_B.wav',
|
"file": './audio/impulses/CiderSpatial_v69.420_Audiophile_B.wav',
|
||||||
"name": "Signature (Focused)",
|
"name": "Signature (Focused)",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"img": "./assets/audiolabs/focused.png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "standard",
|
"id": "standard",
|
||||||
"file": './audio/impulses/CiderSpatial_v69_Standard.wav',
|
"file": './audio/impulses/CiderSpatial_v69_Standard.wav',
|
||||||
"name": "Minimal",
|
"name": "Minimal",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"img": "./assets/audiolabs/minimal.png",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "audiophile",
|
"id": "audiophile",
|
||||||
"file": './audio/impulses/CiderSpatial_v69_Audiophile.wav',
|
"file": './audio/impulses/CiderSpatial_v69_Audiophile.wav',
|
||||||
"name": "Expansive",
|
"name": "Expansive",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"img": "./assets/audiolabs/expansive.png",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
spatialOn: function () {
|
spatialOn: function () {
|
||||||
|
|
|
@ -862,7 +862,9 @@
|
||||||
.spprofile-line {
|
.spprofile-line {
|
||||||
height: 300px;
|
height: 300px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 1024px;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
.spprofile-viewport {
|
.spprofile-viewport {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -877,24 +879,48 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 64px;
|
width: 64px;
|
||||||
top: 0;
|
top: 0;
|
||||||
background: #eee;
|
background: rgb(0 0 0 / 20%);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
|
transition: background 0.2s var(--appleEase), transform 0.2s var(--appleEase);
|
||||||
|
&:hover {
|
||||||
|
background: var(--selected);
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
transition: background 0s var(--appleEase);
|
||||||
|
background: var(--selected-click);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: #eee;
|
||||||
|
opacity: 1;
|
||||||
-webkit-mask-position: center;
|
-webkit-mask-position: center;
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
-webkit-mask-size: 1em;
|
-webkit-mask-size: 1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.spprev {
|
.spprev {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
&:before {
|
||||||
-webkit-mask-image: url("./views/svg/chevron-left.svg");
|
-webkit-mask-image: url("./views/svg/chevron-left.svg");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nextprev {
|
.nextprev {
|
||||||
right: 0;
|
right: 0;
|
||||||
|
&:before {
|
||||||
-webkit-mask-image: url("./views/svg/chevron-right.svg");
|
-webkit-mask-image: url("./views/svg/chevron-right.svg");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -905,14 +931,40 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: black;
|
background: black;
|
||||||
|
|
||||||
|
>img {
|
||||||
|
WIDTH: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
.sptitle {
|
.sptitle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 32px;
|
bottom: 0px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
|
text-shadow: 0px 2px 4px #00000033;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spfade-enter-active,
|
||||||
|
.spfade-leave-active {
|
||||||
|
--transitionTime: 0.2s;
|
||||||
|
transition: opacity var(--transitionTime) var(--appleEase), transform var(--transitionTime) var(--appleEase);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spfade-enter {
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(1.2) translate3d(0,0,0);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
|
.spfade-leave-to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1) translate3d(0,0,0);
|
||||||
|
will-change: opacity, transform;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,9 @@
|
||||||
<button class="spprev" @click="profilePrev"></button>
|
<button class="spprev" @click="profilePrev"></button>
|
||||||
<button class="nextprev" @click="profileNext"></button>
|
<button class="nextprev" @click="profileNext"></button>
|
||||||
<template v-for="profile in spprofiles" v-if="$root.cfg.audio.maikiwiAudio.spatialProfile == profile.id">
|
<template v-for="profile in spprofiles" v-if="$root.cfg.audio.maikiwiAudio.spatialProfile == profile.id">
|
||||||
<transition name="wpfade">
|
<transition name="spfade">
|
||||||
<div class="spslide" :key="profile.id">
|
<div class="spslide" :key="profile.id">
|
||||||
|
<img v-if="profile.img" loading="eager" decoding="async" :src="profile.img" alt="">
|
||||||
<h1 class="sptitle">{{ profile.name }}</h1>
|
<h1 class="sptitle">{{ profile.name }}</h1>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue