FreeTube/src/renderer/components/ft-playlist-add-video-prompt/ft-playlist-add-video-promp...

67 lines
1.2 KiB
CSS

.heading {
text-align: center;
}
.selected-count {
text-align: center;
}
/* Style for `ft-prompt` */
:deep(.promptCard) {
/* Currently only this prompt has enough content to make prompt too high */
max-block-size: 95%;
/* Some child(s) will grow vertically */
display: flex;
flex-direction: column;
}
.searchInputsRow {
display: grid;
/* 2 columns */
grid-template-columns: 1fr auto;
column-gap: 16px;
}
@media only screen and (max-width: 800px) {
.searchInputsRow {
/* Switch to 2 rows from 2 columns */
grid-template-columns: auto;
grid-template-rows: auto auto;
}
}
.optionsRow {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
align-items: center;
}
@media only screen and (max-width: 800px) {
.optionsRow {
/* Switch to 2 rows from 2 columns */
grid-template-columns: auto;
grid-template-rows: auto auto;
align-items: stretch;
}
}
.sortSelect {
/* Put it on the right */
margin-inline-start: auto;
}
.playlists-container {
box-shadow: inset 0 0 5px rgba(0,0,0,.5);
/* Use remaining height */
flex-grow: 1;
overflow-y: scroll;
}
.playlist-selector-container {
/* Make them look selectable */
cursor: pointer;
}