mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 09:06:23 +01:00
Small catch-up adjustments
This commit is contained in:
parent
c9a48cf482
commit
b7ed27ef70
2 changed files with 21 additions and 4 deletions
|
@ -232,6 +232,7 @@
|
|||
background-color: var(--link-color);
|
||||
transition: 0.25s ease-in-out;
|
||||
transition-property: opacity, transform;
|
||||
contain: none;
|
||||
|
||||
&.post-dot-highlight {
|
||||
opacity: 1;
|
||||
|
@ -489,7 +490,7 @@
|
|||
}
|
||||
|
||||
> li {
|
||||
margin: 0 0 1px;
|
||||
margin: 0 0 var(--hairline-width);
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
/* border-bottom: var(--hairline-width) solid var(--outline-color); */
|
||||
|
@ -573,10 +574,11 @@
|
|||
'content content';
|
||||
/* align-items: center; */
|
||||
background-image: linear-gradient(
|
||||
160deg,
|
||||
140deg,
|
||||
var(--post-bg-color),
|
||||
transparent min(80px, 50%)
|
||||
transparent min(160px, 50%)
|
||||
);
|
||||
content-visibility: auto;
|
||||
/* background-image: linear-gradient(
|
||||
90deg,
|
||||
var(--post-bg-color),
|
||||
|
@ -664,6 +666,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
> li:first-child .post-line {
|
||||
animation-duration: 0.1s;
|
||||
}
|
||||
> li:nth-child(2) .post-line {
|
||||
animation-duration: 0.2s;
|
||||
}
|
||||
> li:nth-child(10) ~ li .post-line {
|
||||
animation: none;
|
||||
}
|
||||
|
|
|
@ -1050,7 +1050,16 @@ function Catchup() {
|
|||
].map(
|
||||
(label) =>
|
||||
!!filterCounts[label] && (
|
||||
<label class="filter-cat" key={label}>
|
||||
<label
|
||||
class="filter-cat"
|
||||
key={label}
|
||||
title={
|
||||
(
|
||||
(filterCounts[label] / posts.length) *
|
||||
100
|
||||
).toFixed(2) + '%'
|
||||
}
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
name="filter-cat"
|
||||
|
|
Loading…
Reference in a new issue