mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Revert previous changes and added margin/padding block
This commit is contained in:
parent
b4ac4b4db7
commit
6e806d5c84
2 changed files with 15 additions and 16 deletions
|
|
@ -7,6 +7,8 @@
|
|||
flex-direction: column;
|
||||
background-color: var(--overlay-color);
|
||||
border-radius: var(--border-radius);
|
||||
border: 0.15rem solid transparent;
|
||||
transition: border-color 0.1s ease-out;
|
||||
|
||||
.heading {
|
||||
flex: none;
|
||||
|
|
@ -80,19 +82,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
border: 0.15rem solid transparent;
|
||||
border-radius: var(--border-radius);
|
||||
box-sizing: border-box;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
transition: border-color 0.1s ease-out;
|
||||
}
|
||||
|
||||
&.today {
|
||||
.heading {
|
||||
background-color: var(--primary-accent-color);
|
||||
|
|
@ -100,12 +89,16 @@
|
|||
}
|
||||
|
||||
&.active {
|
||||
&::before {
|
||||
border-color: var(--primary-foreground-color);
|
||||
}
|
||||
border-color: var(--primary-foreground-color);
|
||||
}
|
||||
|
||||
&:not(.active):hover {
|
||||
border-color: var(--overlay-color);
|
||||
}
|
||||
}
|
||||
|
||||
@supports (scroll-margin-block-start: 2px) {
|
||||
.item {
|
||||
scroll-margin-block-start: 2px;
|
||||
}
|
||||
}
|
||||
|
|
@ -35,3 +35,9 @@
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (scroll-padding-block-start: 2px) {
|
||||
.list {
|
||||
scroll-padding-block-start: 2px;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue