mirror of
https://github.com/owncast/owncast.git
synced 2024-12-28 20:18:37 +03:00
c2a0295a0c
* - set vars for player container height and status bar height - use them to calculate mobile top spacing to adjust for tab content positioning * give main content section a min height, place footer absolutely at bottom; rm all the fixed footer styling * cleanup; restructure tabbed display logic and css a bit * Prettified Code! * cleanup * fix(story): footer story needs to be wrapped in RecoilRoot if it is to use Recoil * revert adding footer to mobile about section * prevent double scrolling --------- Co-authored-by: gingervitis <gingervitis@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
105 lines
1.7 KiB
SCSS
105 lines
1.7 KiB
SCSS
@import '../../../styles/mixins.scss';
|
|
|
|
.lowerSection {
|
|
padding: var(--content-padding);
|
|
}
|
|
|
|
.lowerSectionMobileTabbed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
bottom: 0;
|
|
width: 100%;
|
|
|
|
@include screen(tablet) {
|
|
top: 0;
|
|
position: relative;
|
|
|
|
&.online {
|
|
position: absolute;
|
|
top: calc(var(--player-container-height) + var(--status-bar-height) + var(--header-height));
|
|
}
|
|
}
|
|
|
|
:global(.ant-tabs-nav) {
|
|
margin-bottom: 0px;
|
|
padding-top: 0.5vh;
|
|
padding-left: 1vw;
|
|
}
|
|
}
|
|
|
|
.lowerSectionMobileNoTabs {
|
|
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;
|
|
}
|
|
|
|
// 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);
|
|
}
|