{{ props.date }}
{{ props.runtime }}
@@ -96,17 +96,15 @@ const props = defineProps({
width: 35px;
height: 35px;
cursor: pointer;
- z-index: 3;
- /* visibility: hidden; */
+ z-index: 2;
opacity: 0%;
padding: 0.75em;
- /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.5);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
- backdrop-filter: blur(6.6px);
- -webkit-backdrop-filter: blur(6.6px);
+ backdrop-filter: blur(4px);
+ -webkit-backdrop-filter: blur(4px);
border: 1px solid rgba(255, 255, 255, 0.3);
transition: background 10ms linear 0ms;
}
@@ -118,10 +116,10 @@ const props = defineProps({
left: 135px;
opacity: 100%;
transition:
- all 0.25s ease 0.5s,
+ all var(--hover-animation-speed) ease var(--hover-animation-delay),
z-index 1ms,
background 10ms linear 0ms;
- z-index: 4;
+ z-index: 5;
visibility: visible;
}
.scroller-item-img {
@@ -137,10 +135,11 @@ const props = defineProps({
transform: scale(1.35) translateX(32px) translateY(17px);
cursor: pointer;
transition:
- all 0.25s ease 0.5s,
+ all var(--hover-animation-speed) ease,
z-index 1ms;
+ transition-delay: var(--hover-animation-delay);
position: relative;
- z-index: 3;
+ z-index: 4;
}
.scroller-item-title {
text-align: center;
@@ -163,12 +162,13 @@ const props = defineProps({
}
.scroller-item-img:hover .info-box {
visibility: visible;
- transition-delay: 0.5s;
transform: translateX(324px);
width: 340px;
height: 183px;
- z-index: 2;
- transition-duration: 0.3s;
+ z-index: 3;
+ transition:
+ all var(--hover-animation-speed) ease var(--hover-animation-delay),
+ z-index 1ms var(--hover-animation-delay);
}
.info-box-content {
width: 90%;
@@ -179,8 +179,9 @@ const props = defineProps({
display: flex;
flex-direction: column;
align-items: baseline;
- gap: 2em;
- min-height: 80%;
+ justify-content: space-around;
+ gap: 1em;
+ min-height: 100%;
}
.scroller-item:hover .info-box-content {
max-height: 183px;
diff --git a/src/components/ScrollerItemPortrait.vue b/src/components/ScrollerItemPortrait.vue
index 44b828e..06df160 100644
--- a/src/components/ScrollerItemPortrait.vue
+++ b/src/components/ScrollerItemPortrait.vue
@@ -34,6 +34,9 @@ const props = defineProps({
MPAA: {
type: String,
},
+ tag: {
+ type: String,
+ },
})
@@ -41,6 +44,9 @@ const props = defineProps({