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

104 lines
1.7 KiB
SCSS
Raw Normal View History

@import '../../../styles/mixins.scss';
2022-05-03 23:55:13 +02:00
.root {
2022-05-11 23:31:31 -07:00
display: grid;
grid-template-columns: 1fr auto;
2022-10-13 20:13:37 +02:00
width: 100%;
background-color: var(--theme-color-background-main);
2022-11-13 12:37:31 -08:00
@include screen(desktop) {
height: var(--content-height);
}
2022-10-13 20:13:37 +02:00
.mainSection {
display: flex;
flex-direction: column;
@include screen(desktop) {
overflow-y: scroll;
}
2022-10-13 20:13:37 +02:00
}
2022-11-13 12:37:31 -08:00
.mainSection::-webkit-scrollbar {
2023-01-18 14:45:59 -08:00
display: none;
2022-11-13 12:37:31 -08:00
}
.mainSection::-webkit-scrollbar-thumb {
2023-01-18 14:45:59 -08:00
display: none;
2022-11-13 12:37:31 -08:00
}
.topSection {
padding: 0;
background-color: var(--theme-color-components-video-background);
}
.lowerSection {
2022-09-10 12:08:22 -07:00
padding: 0em 2%;
2022-09-01 22:00:00 -07:00
margin-bottom: 2em;
}
2022-09-10 12:08:22 -07:00
.lowerSectionMobile {
display: flex;
flex-grow: 1;
flex-shrink: 0;
2022-09-10 12:08:22 -07:00
padding: 0.3em;
}
}
2022-05-03 23:55:13 +02:00
.leftCol {
display: flex;
flex-direction: column;
2022-05-03 23:55:13 +02:00
}
2022-05-17 16:07:56 -07:00
.loadingSpinner {
display: grid;
}
.main {
display: grid;
flex: 1;
height: 100%;
grid-template-rows: 1fr auto;
}
.replacementBar {
display: flex;
justify-content: space-between;
2023-01-15 23:13:38 -08:00
align-items: flex-start;
@include screen(tablet) {
height: var(--replacement-bar-height);
}
}
.defaultTabBar {
width: 85%;
}
.defaultTabBar,
.actionButtonMenu {
@include screen(tablet) {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
}
.tabs {
width: 100%;
@include screen(tablet) {
position: relative;
> :global(.ant-tabs-content-holder) {
position: absolute;
height: calc(100% - var(--replacement-bar-height));
top: var(--replacement-bar-height);
left: 0;
right: 0;
bottom: 0;
}
> :global(.ant-tabs-content-holder .ant-tabs-content) {
padding-top: 16px;
}
}
}