Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
@@ -29,6 +29,7 @@ function openWish() {
|
|||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="large-container" @mouseover="hover = true" @mouseleave="hover = false">
|
<div class="large-container" @mouseover="hover = true" @mouseleave="hover = false">
|
||||||
<div class="backdrop" v-if="hover">
|
<div class="backdrop" v-if="hover">
|
||||||
|
<img :src="'/skonk/large/backdrop_filter.png'" :style="'width: 100%; height: 100%; filter: hue-rotate(' + wish.color + 'deg) saturate(0.8)'">
|
||||||
</div>
|
</div>
|
||||||
<img :src="'/skonk/large/' + wish.type + '.png'" class="large large-icon">
|
<img :src="'/skonk/large/' + wish.type + '.png'" class="large large-icon">
|
||||||
<div class="large-text">
|
<div class="large-text">
|
||||||
@@ -39,6 +40,10 @@ function openWish() {
|
|||||||
{{ wish.title }}
|
{{ wish.title }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="cursor" v-if="hover">
|
||||||
|
<img :src="'/skonk/cursor_corner.png'" class="cursor">
|
||||||
|
<img :src="'/skonk/cursor_corner.png'" class="cursor opposite-corner">
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -49,14 +54,29 @@ function openWish() {
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.backdrop {
|
.backdrop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: red;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
filter: opacity(10%);
|
filter: opacity(20%);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
img.cursor{
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
.opposite-corner {
|
||||||
|
rotate: 180deg;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
.cursor {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
.large-container {
|
.large-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
height: 100px;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
@@ -72,6 +92,10 @@ function openWish() {
|
|||||||
}
|
}
|
||||||
.large-icon {
|
.large-icon {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
width: auto;
|
||||||
|
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user