2019-04-18 18:51:15 +02:00
|
|
|
.main-wrapper {
|
|
|
|
position: absolute;
|
2019-06-11 20:10:58 +02:00
|
|
|
min-height: 100vh;
|
|
|
|
width: 100vw;
|
2019-06-17 22:32:38 +02:00
|
|
|
padding-top: var(--header-height);
|
|
|
|
padding-left: var(--spacing-large);
|
|
|
|
padding-right: var(--spacing-large);
|
2019-04-18 18:51:15 +02:00
|
|
|
background-color: mix($lbry-white, $lbry-gray-1, 70%);
|
2019-06-11 20:10:58 +02:00
|
|
|
display: flex;
|
2019-04-18 18:51:15 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
[data-mode='dark'] & {
|
2019-04-18 18:51:15 +02:00
|
|
|
background-color: $lbry-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.main-wrapper-inner {
|
2019-04-18 18:51:15 +02:00
|
|
|
display: flex;
|
2019-06-11 20:10:58 +02:00
|
|
|
max-width: 1200px;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2019-06-17 22:32:38 +02:00
|
|
|
margin-top: var(--spacing-large);
|
2019-06-11 20:10:58 +02:00
|
|
|
position: relative;
|
2019-04-18 18:51:15 +02:00
|
|
|
}
|
2019-01-08 00:29:40 +01:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.main {
|
|
|
|
min-width: 0;
|
|
|
|
width: calc(100% - var(--side-nav-width) - var(--spacing-main-padding));
|
|
|
|
position: relative;
|
2019-05-07 04:35:04 +02:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
@media (max-width: 600px) {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
2019-01-09 19:39:05 +01:00
|
|
|
|
|
|
|
.main--file-page {
|
|
|
|
display: grid;
|
2019-01-11 17:34:36 +01:00
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
grid-template-columns: 1fr auto;
|
2019-06-11 20:10:58 +02:00
|
|
|
max-width: calc(100% - var(--side-nav-width) - var(--spacing-main-padding));
|
|
|
|
|
2019-01-24 19:09:27 +01:00
|
|
|
grid-template-areas:
|
|
|
|
'content content'
|
2019-06-11 20:10:58 +02:00
|
|
|
'info related';
|
2019-01-09 19:39:05 +01:00
|
|
|
|
2019-06-11 20:10:58 +02:00
|
|
|
.grid-area--content {
|
|
|
|
width: 100%;
|
2019-01-24 19:09:27 +01:00
|
|
|
}
|
2019-01-09 19:39:05 +01:00
|
|
|
|
|
|
|
.grid-area--content {
|
|
|
|
grid-area: content;
|
|
|
|
}
|
|
|
|
.grid-area--info {
|
|
|
|
grid-area: info;
|
|
|
|
}
|
|
|
|
.grid-area--related {
|
|
|
|
grid-area: related;
|
2019-06-17 22:32:38 +02:00
|
|
|
min-width: 30rem;
|
|
|
|
max-width: 35rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
grid-template-areas:
|
|
|
|
'content'
|
|
|
|
'info'
|
|
|
|
'related';
|
|
|
|
|
|
|
|
.grid-area--related {
|
|
|
|
grid-area: related;
|
|
|
|
width: auto;
|
|
|
|
}
|
2019-01-09 19:39:05 +01:00
|
|
|
}
|
|
|
|
}
|
2019-04-18 18:51:15 +02:00
|
|
|
|
|
|
|
.main--empty {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-06-11 20:10:58 +02:00
|
|
|
padding-top: 100px;
|
|
|
|
padding-bottom: 100px;
|
2019-04-18 18:51:15 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
2019-06-17 22:32:38 +02:00
|
|
|
|
|
|
|
.main__status {
|
|
|
|
@extend .help;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: $lbry-teal-4;
|
|
|
|
color: $lbry-white;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
stroke: $lbry-white;
|
|
|
|
}
|
|
|
|
}
|