mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
163 lines
No EOL
4.1 KiB
Text
163 lines
No EOL
4.1 KiB
Text
@import (reference) '~stremio/common/screen-sizes.less';
|
|
|
|
.library-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--color-background);
|
|
|
|
.nav-bar {
|
|
flex: none;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.library-content {
|
|
flex: 1;
|
|
align-self: stretch;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-rows: auto 1fr;
|
|
grid-template-areas:
|
|
"controls-area switch-view-area"
|
|
"type-content-area type-content-area";
|
|
|
|
.controls-container {
|
|
grid-area: controls-area;
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 2rem;
|
|
overflow: visible;
|
|
|
|
.select-input-container {
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
flex-basis: 15rem;
|
|
height: 3rem;
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.type-content-container {
|
|
grid-area: type-content-area;
|
|
|
|
.meta-items-container {
|
|
display: grid;
|
|
max-height: 100%;
|
|
grid-auto-rows: max-content;
|
|
grid-gap: 1.5rem;
|
|
align-items: center;
|
|
padding: 0 2rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.message-container {
|
|
padding: 0 2rem;
|
|
font-size: 2rem;
|
|
color: var(--color-surfacelighter);
|
|
}
|
|
|
|
.anonymous-user-message-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.login-button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20rem;
|
|
min-height: 4rem;
|
|
margin-top: 2rem;
|
|
padding: 0.5rem 1rem;
|
|
background-color: var(--color-primarydark);
|
|
|
|
.label {
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
flex-basis: auto;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--color-surfacelighter);
|
|
text-align: center;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.label {
|
|
font-size: 1.2rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: @xxlarge) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(10, 1fr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @xxlarge) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(9, 1fr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @normal) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(8, 1fr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @medium) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(7, 1fr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @small) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(6, 1fr);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @xsmall) {
|
|
.library-container {
|
|
.library-content {
|
|
.meta-items-container {
|
|
grid-template-columns: repeat(5, 1fr);
|
|
}
|
|
}
|
|
}
|
|
} |