owncast/web/components/ui/Content/Content.module.scss

42 lines
745 B
SCSS
Raw Normal View History

2022-05-03 23:55:13 +02:00
.root {
2022-05-12 08:31:31 +02:00
display: grid;
grid-template-columns: 1fr;
}
.mobileChat {
2022-05-12 08:31:31 +02:00
display: block;
position: absolute;
background-color: white;
top: 0px;
width: 100%;
height: calc(50vh - var(--header-h));
2022-05-03 23:55:13 +02:00
}
.leftCol {
2022-05-12 08:31:31 +02:00
display: grid;
// -64px, which is the header
grid-template-rows: 50vh calc(50vh - var(--header-h));
2022-05-03 23:55:13 +02:00
}
.lowerRow {
2022-05-12 08:31:31 +02:00
position: relative;
display: grid;
grid-template-rows: 1fr var(--header-h);
}
.pageContentSection {
background-color: var(--theme-background-secondary);
border-radius: var(--theme-rounded-corners);
margin: 1vw;
padding: 1vw;
width: 100%;
}
@media (min-width: 768px) {
2022-05-12 08:31:31 +02:00
.mobileChat {
display: none;
}
.root[data-columns='2'] {
grid-template-columns: 1fr var(--chat-w);
}
}