mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix(Video): always show border of selected video
This commit is contained in:
parent
227f21c10f
commit
c4ab2dc546
1 changed files with 2 additions and 10 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
|
border: 0.15rem solid transparent;
|
||||||
|
|
||||||
@supports (scroll-margin: 1.25rem) {
|
@supports (scroll-margin: 1.25rem) {
|
||||||
scroll-margin: 1.25rem;
|
scroll-margin: 1.25rem;
|
||||||
|
|
@ -177,16 +178,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
animation: border 3s ease-in-out forwards;
|
border-color: var(--primary-accent-color);
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes border {
|
|
||||||
0% {
|
|
||||||
border: 0.15rem solid var(--primary-accent-color);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
border: 0.15rem solid transparent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue