1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00
smov/src/components/MovieRow.css

82 lines
1.4 KiB
CSS
Raw Normal View History

2021-07-14 00:31:37 +02:00
.movieRow {
position: relative;
2021-07-14 00:31:37 +02:00
display: flex;
border-radius: 5px;
2021-07-15 00:09:42 +02:00
background-color: var(--content);
color: var(--text);
2021-07-14 00:31:37 +02:00
padding: .8rem 1.5rem;
margin-top: .5rem;
cursor: pointer;
transition: transform 50ms ease-in-out;
user-select: none;
overflow: hidden;
2021-07-14 00:31:37 +02:00
}
.movieRow p {
margin: 0;
}
.movieRow .left {
flex: 1;
display: flex;
2021-07-14 11:18:07 +02:00
flex-flow: row wrap;
2021-07-14 00:31:37 +02:00
align-items: flex-start;
2021-07-14 11:18:07 +02:00
margin-right: 0.5rem;
}
.movieRow .left .seasonEpisodeSubtitle,
2021-07-14 11:18:07 +02:00
.movieRow .left .year {
2021-07-15 00:09:42 +02:00
color: var(--text-secondary);
2021-07-14 00:31:37 +02:00
}
.movieRow .watch {
2021-07-15 00:09:42 +02:00
color: var(--theme-color-text);
2021-07-14 00:31:37 +02:00
display: flex;
align-items: center;
}
.movieRow .watch .arrow {
margin-left: .5rem;
transition: transform 50ms ease-in-out;
transform: translateY(.1rem);
}
.movieRow:active {
transform: scale(1.02);
}
.movieRow:hover {
2021-07-15 00:09:42 +02:00
background-color: var(--content-hover);
2021-07-14 00:31:37 +02:00
}
.movieRow:hover .watch .arrow {
transform: translateX(.3rem) translateY(.1rem);
2021-07-14 00:57:31 +02:00
}
.attribute {
2021-07-15 00:09:42 +02:00
color: var(--text);
background-color: var(--theme-color);
font-size: .75rem;
padding: .25rem;
border-radius: 10px;
margin-right: 10px;
}
2021-09-14 09:39:28 +02:00
.subSvgWrapper {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-right: 10px;
}
2021-07-14 00:57:31 +02:00
@media screen and (max-width: 400px) {
.movieRow {
flex-direction: column;
}
.movieRow .watch {
margin-top: .5rem;
}
}