UI improvements and bug fixes
This commit is contained in:
parent
7703b8009d
commit
50083bfe65
@ -339,10 +339,12 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ripple {
|
.ripple {
|
||||||
|
height: 8rem;
|
||||||
|
width: 8rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
background: rgba(var(--text-color), 0.16);
|
background: radial-gradient(circle, rgba(var(--text-color), 0.3) 0%, rgba(0, 0, 0, 0) 50%);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -282,10 +282,16 @@ ul {
|
|||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
.ripple {
|
.ripple {
|
||||||
|
height: 8rem;
|
||||||
|
width: 8rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
background: rgba(var(--text-color), 0.16);
|
background: radial-gradient(
|
||||||
|
circle,
|
||||||
|
rgba(var(--text-color), 0.3) 0%,
|
||||||
|
rgba(0, 0, 0, 0) 50%
|
||||||
|
);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
.interact {
|
.interact {
|
||||||
|
|||||||
@ -841,12 +841,12 @@
|
|||||||
const rippleAnimation = circle.animate(
|
const rippleAnimation = circle.animate(
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
transform: "scale(3)",
|
transform: "scale(4)",
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
duration: 1000,
|
duration: uiGlobals.prefersReducedMotion ? 0 : 600,
|
||||||
fill: "forwards",
|
fill: "forwards",
|
||||||
easing: "ease-out",
|
easing: "ease-out",
|
||||||
}
|
}
|
||||||
@ -916,7 +916,7 @@
|
|||||||
<li id=${id} class="torrent-card">
|
<li id=${id} class="torrent-card">
|
||||||
<a class="torrent-info grid" href=${`#/torrent/${id}`}>
|
<a class="torrent-info grid" href=${`#/torrent/${id}`}>
|
||||||
<div class="torrent-card__icon torrent-type-icon">${icon}</div>
|
<div class="torrent-card__icon torrent-type-icon">${icon}</div>
|
||||||
<h3 class="torrent-card__title">${filename}</h3>
|
<h3 class="torrent-card__title breakable">${filename}</h3>
|
||||||
<p class="torrent-card__tags">${tags.replace(/[\/,]/g, ' • ')}</p>
|
<p class="torrent-card__tags">${tags.replace(/[\/,]/g, ' • ')}</p>
|
||||||
<span class="torrent-card__uploader">${`by ${uploader}`}</span>
|
<span class="torrent-card__uploader">${`by ${uploader}`}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user