lbry-desktop/src/ui/scss/component/_main.scss

68 lines
1.2 KiB
SCSS
Raw Normal View History

.main-wrapper {
2019-06-11 20:10:58 +02:00
[data-mode='dark'] & {
2019-07-01 20:42:32 +02:00
background-color: var(--dm-color-08);
}
}
2019-07-17 22:49:06 +02:00
.main-wrapper__inner {
display: flex;
2019-07-17 22:49:06 +02:00
align-items: flex-start;
min-height: 100vh;
2019-06-11 20:10:58 +02:00
max-width: 1200px;
margin-left: auto;
margin-right: auto;
2019-07-17 22:49:06 +02:00
padding-bottom: var(--spacing-main-padding);
}
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-07-17 22:49:06 +02:00
margin-top: calc(var(--header-height) + var(--spacing-large));
margin-right: var(--spacing-main-padding);
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;
}
}
2019-01-09 19:39:05 +01:00
2019-07-09 04:41:48 +02:00
.main--file-page {
position: relative;
2019-01-09 19:39:05 +01:00
.grid-area--info {
2019-07-09 04:41:48 +02:00
margin-right: var(--spacing-large);
width: 50%;
2019-06-17 22:32:38 +02:00
}
2019-07-09 04:41:48 +02:00
.grid-area--related {
width: calc(50% - var(--spacing-large));
2019-01-09 19:39:05 +01:00
}
}
.main--empty {
align-items: center;
display: flex;
flex-direction: column;
2019-07-02 06:22:13 +02:00
margin-top: 100px;
margin-bottom: 100px;
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;
}
2019-07-11 22:43:42 +02:00
[data-mode='dark'] & {
background-color: $lbry-teal-5;
}
2019-06-17 22:32:38 +02:00
}