Memrise-styled progress bar can be incorporated into to the template cards with the help of the Progression add-on:
The style for recreating the original design (including the bouncing change animation, excluding the corner aliasing bug) can be found below. It does not require any setup beyond copy-pasting as a whole to the ⚙️ USER STYLES ⚙️ section in the Styling tab of the Card Type editor:
#lt-progress-bar {
position: static;
max-width: calc(60rem - 6.75rem);
min-width: 13rem;
box-sizing: content-box;
width: calc(100vw - 2 * 1rem);
margin: 1rem auto calc(0rem);
border-radius: 0.25rem;
overflow: hidden;
--prog-bg: var(--col-input-bg);
--prog-done: var(--col-audio-bg);
--prog-review: transparent;
--prog-relearn: transparent;
--prog-learn: transparent;
--prog-new: transparent;
}
#lt-progress-bar span {
display: none;
}
body.card.card {
min-height: calc(100vh - 1rem);
}
@media (min-width: 33.25rem) {
#lt-progress-bar {
margin: 2rem auto calc(-2rem - 0rem);
}
body.card.card {
min-height: calc(100vh - 2rem);
}
}
@media (min-width: 38.25rem) {
#lt-progress-bar {
margin: 2rem auto calc(-2rem - 1rem);
width: calc(100vw - 2 * 2rem);
}
}
@media (min-width: 53.25rem) {
#lt-progress-bar {
margin: 2rem auto calc(-2rem - 2rem); /* height + top-margin */
}
}
.prog-segment {
height: 2rem;
}
.prog-segment.done:not(.empty):not(:has(~ .done:not(.empty))) {
border-radius: 0 0.25rem 0.25rem 0;
}
.prog-segment.future,
.prog-segment.cooldown {
display: none;
}
.prog-segment.animated {
transition: flex-grow 0.2s;
transition-timing-function: cubic-bezier(.28, 2.0, .77, .77);
}
Additional adjustments can be appended to further differentiate between different Anki card states (new/review/learn/relearn) in the not completed segment of the progress bar.
(pinging @tienppham2 as a follow-up to the progress bar discussion).
