fix wheel mask

This commit is contained in:
adeliptr 2025-06-10 14:32:09 +09:00
parent c24481e52e
commit 402078fd33
3 changed files with 16 additions and 2 deletions

View File

@ -38,7 +38,7 @@
background: var(--black); background: var(--black);
border-radius: 12px; border-radius: 12px;
overflow: hidden; overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); box-shadow: 0 2px 4px rgba(200, 200, 200, 0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease; transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer; cursor: pointer;
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
@ -46,7 +46,7 @@
} }
.memory-card:hover { .memory-card:hover {
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(200, 200, 200, 0.2);
} }
.image { .image {
height: 160px; height: 160px;

View File

@ -332,6 +332,7 @@
{#each gradientLayers as style} {#each gradientLayers as style}
<div class="layer" style={style}></div> <div class="layer" style={style}></div>
{/each} {/each}
<div class="wheel-mask-center"></div>
</div> </div>
</div> </div>
@ -614,5 +615,18 @@
cursor: pointer; cursor: pointer;
z-index: 5; z-index: 5;
} }
.wheel-mask-center {
position: absolute;
top: 50%;
left: 50%;
width: 50%;
height: 50%;
background: var(--black);
border-radius: 50%;
transform: translate(-50%, -50%);
z-index: 10;
pointer-events: none;
}
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB