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

106 lines
1.7 KiB
SCSS
Raw Normal View History

@import '../../../styles/mixins.scss';
.lowerSection {
padding: var(--content-padding);
}
2022-09-10 22:08:22 +03:00
.lowerSectionMobile {
display: flex;
flex-direction: column;
flex-grow: 1;
flex-shrink: 0;
position: absolute;
bottom: 0;
width: 100%;
@include screen(tablet) {
//sets the position of tabbed content for online mode
top: 430px;
2022-09-10 22:08:22 +03:00
}
@include screen(mobile) {
//sets the position of tabbed content for online mode
top: 280px;
}
:global(.ant-tabs-nav) {
margin-bottom: 0px;
padding-top: 0.5vh;
padding-left: 1vw;
}
}
.mobileNoTabs {
padding-top: 20px;
}
.topSectionElement {
background-color: var(--theme-color-components-video-background);
@include screen(tablet) {
// "sticks" the stream to the top of the page
position: sticky;
z-index: 100;
}
}
.offlineBanner {
color: var(--theme-color-background-main);
}
.mobileActionButtonMenu {
display: none;
@include screen(tablet) {
display: block;
position: absolute;
top: 4px;
right: 10px;
z-index: 200;
}
}
.desktopActionButtons {
display: block;
@include screen(tablet) {
display: none;
}
}
//not sure if this is needed
.statusBar {
flex-shrink: 0;
2022-05-04 00:55:13 +03:00
}
2022-05-18 02:07:56 +03:00
// not sure if this is needed
.loadingSpinner {
display: grid;
}
.defaultTabBar {
width: 85%;
}
.bottomPageContentContainer {
background-color: var(--theme-color-components-content-background);
padding: calc(2 * var(--content-padding));
border-radius: var(--theme-rounded-corners);
width: 100%;
margin-bottom: 20px;
h1,
h2,
h3 {
line-height: 2rem;
}
h1:first-child,
h2:first-child,
h3:first-child {
margin-top: unset;
}
}
.offlineBanner {
color: var(--theme-color-background-main);
}