mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
.media-card-grid { |
|
display: flex; |
|
flex-direction: row; |
|
flex-wrap: wrap; |
|
} |
|
|
|
.media-card-container { width: 152px; } |
|
|
|
.media-card-episode-container { width: 392px; } |
|
|
|
.media-card { |
|
display: flex; |
|
/*filter: brightness(100%);*/ |
|
flex-direction: column; |
|
height: 220px; |
|
justify-content: center; |
|
transition: all 0.2s ease; |
|
width: 152px; |
|
} |
|
|
|
.media-card-episode { width: 392px; } |
|
|
|
.media-card:hover { /*filter: brightness(75%);*/ } |
|
|
|
.media-card-title { |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
white-space: nowrap; |
|
width: 100%; |
|
} |
|
|
|
.media-card-poster-placeholder { font-weight: bold; } |
|
|
|
.media-card-menu { |
|
bottom: 0; |
|
display: none; |
|
position: absolute; |
|
right: 0; |
|
} |
|
|
|
.media-card:hover .media-card-menu { display: block; } |
|
|
|
.media-card-overlay { |
|
background: rgba(0, 0, 0, 0.4); |
|
border-radius: 4px; |
|
bottom: 0; |
|
left: 0; |
|
opacity: 0; |
|
position: absolute; |
|
right: 0; |
|
top: 0; |
|
transition: opacity 0.2s; |
|
} |
|
|
|
.media-card-overlay:hover { opacity: 1; } |