2020-08-24 10:43:55 +00:00
|
|
|
@use "colors.sass" as c
|
|
|
|
|
2020-10-02 12:32:56 +00:00
|
|
|
@mixin thin
|
|
|
|
@media screen and (max-width: 499px)
|
|
|
|
@content
|
|
|
|
|
|
|
|
@mixin wide
|
|
|
|
@media screen and (min-width: 500px)
|
|
|
|
@content
|
|
|
|
|
2020-08-24 10:43:55 +00:00
|
|
|
@mixin video-list-item
|
|
|
|
display: grid
|
|
|
|
grid-template-columns: 160px 1fr
|
|
|
|
grid-gap: 8px
|
|
|
|
align-items: start
|
|
|
|
align-content: start
|
|
|
|
margin-bottom: 12px
|
|
|
|
|
2020-12-29 10:07:23 +00:00
|
|
|
@at-root .video-list-item--watched#{&}
|
|
|
|
background: c.$bg-darker
|
2020-12-29 10:16:46 +00:00
|
|
|
padding: 4px 4px 0px
|
|
|
|
margin: -4px -4px 8px
|
2020-12-29 10:07:23 +00:00
|
|
|
|
|
|
|
.thumbnail
|
2020-12-29 10:16:46 +00:00
|
|
|
margin-bottom: 4px
|
2020-12-29 10:07:23 +00:00
|
|
|
|
|
|
|
.image
|
|
|
|
opacity: 0.4
|
|
|
|
|
2020-08-24 10:43:55 +00:00
|
|
|
.thumbnail
|
|
|
|
position: relative
|
|
|
|
display: flex
|
|
|
|
background: c.$bg-darkest
|
|
|
|
|
|
|
|
.image
|
|
|
|
width: 160px
|
|
|
|
height: 90px
|
|
|
|
|
|
|
|
.duration
|
|
|
|
position: absolute
|
|
|
|
bottom: 3px
|
|
|
|
right: 3px
|
|
|
|
color: c.$fg-bright
|
|
|
|
font-size: 14px
|
|
|
|
background: rgba(20, 20, 20, 0.85)
|
|
|
|
line-height: 1
|
|
|
|
padding: 3px 5px 4px
|
|
|
|
border-radius: 4px
|
|
|
|
|
|
|
|
.title
|
|
|
|
font-size: 15px
|
|
|
|
line-height: 1.2
|
|
|
|
|
|
|
|
.title-link
|
|
|
|
color: c.$fg-main
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
.author-line
|
|
|
|
margin-top: 4px
|
|
|
|
font-size: 15px
|
|
|
|
color: c.$fg-dim
|
|
|
|
|
|
|
|
.author
|
|
|
|
color: c.$fg-dim
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
&:hover, &:active
|
|
|
|
color: c.$fg-bright
|
|
|
|
text-decoration: underline
|
2020-08-29 13:21:48 +00:00
|
|
|
|
|
|
|
@mixin recommendation-item
|
|
|
|
@include video-list-item
|
|
|
|
|
|
|
|
@mixin large-item
|
|
|
|
@include video-list-item
|
|
|
|
|
|
|
|
.title
|
2020-10-02 12:32:56 +00:00
|
|
|
font-size: 17px
|
2020-08-29 13:21:48 +00:00
|
|
|
|
2020-10-02 12:32:56 +00:00
|
|
|
+wide
|
|
|
|
grid-gap: 16px
|
|
|
|
grid-template-columns: auto 1fr
|
|
|
|
margin-bottom: 20px
|
|
|
|
overflow: hidden
|
|
|
|
max-height: 150px
|
|
|
|
|
2020-12-29 10:16:46 +00:00
|
|
|
@at-root .video-list-item--watched#{&}
|
|
|
|
padding: 8px 8px 0px
|
|
|
|
margin: -8px -8px 12px
|
|
|
|
|
|
|
|
.thumbnail
|
|
|
|
margin-bottom: 8px
|
|
|
|
|
2020-10-02 12:32:56 +00:00
|
|
|
.image
|
|
|
|
width: 240px
|
|
|
|
height: 135px
|
|
|
|
|
|
|
|
.duration
|
|
|
|
font-size: 17px
|
|
|
|
padding: 4px 5px
|
|
|
|
right: 5px
|
|
|
|
bottom: 5px
|
|
|
|
|
|
|
|
.title
|
|
|
|
font-size: 24px
|
|
|
|
|
|
|
|
.author-line
|
|
|
|
font-size: 15px
|
|
|
|
color: c.$fg-main
|
|
|
|
|
|
|
|
.author
|
|
|
|
color: c.$fg-main
|
|
|
|
|
|
|
|
.description
|
|
|
|
margin-top: 16px
|
|
|
|
font-size: 15px
|
|
|
|
color: c.$fg-dim
|
|
|
|
|
|
|
|
+thin
|
|
|
|
.description
|
|
|
|
display: none
|
2020-08-29 13:21:48 +00:00
|
|
|
|
|
|
|
@mixin search-result
|
|
|
|
@include large-item
|
|
|
|
|
|
|
|
.description b
|
|
|
|
font-weight: normal
|
|
|
|
color: c.$fg-main
|
|
|
|
|
|
|
|
@mixin channel-video
|
|
|
|
@include large-item
|
2020-08-30 15:14:05 +00:00
|
|
|
|
|
|
|
@mixin subscriptions-video
|
|
|
|
@include large-item
|