mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
youtube titles
This commit is contained in:
parent
c74ab01927
commit
2579f31c10
3 changed files with 48 additions and 13 deletions
|
@ -9,7 +9,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin: 0 0 $gap 0;
|
||||
margin: 0 !important;
|
||||
|
||||
a {
|
||||
position: absolute;
|
||||
|
@ -33,7 +33,7 @@
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: transparentize(black, 0.5) 50% 50%;
|
||||
background: transparentize($comment_bg, 0.15) 50% 50%;
|
||||
background-size: cover;
|
||||
z-index: 15;
|
||||
border-radius: $radius;
|
||||
|
@ -42,15 +42,13 @@
|
|||
justify-content: center;
|
||||
text-align: center;
|
||||
font: $font_16_medium;
|
||||
flex-direction: row;
|
||||
|
||||
@include can_backdrop {
|
||||
background: transparentize(black, 0.5) 50% 50%;
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
@include outer_shadow();
|
||||
}
|
||||
|
||||
.preview {
|
||||
padding: 0 $gap $gap / 2;
|
||||
padding: 0 $gap / 2 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
@ -70,3 +68,23 @@
|
|||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.play {
|
||||
flex: 0 0 $comment_height;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
box-sizing: border-box;
|
||||
font: $font_18_semibold;
|
||||
padding: 0 $gap 0 0;
|
||||
text-transform: capitalize;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue