69f217f758
* feat(mobile): refactor mobile chat into modal - Make page always scrollable - Move mobile chat into a standalone modal * fix(test): split out mobile browser test specs * fix(mobile): force chat button to render on top of footer * fix: some small updates from review * fix: hide/show hide chat menu option based on width * fix: chat button icon getting cut off * chore(tests): add browser tests for mobile chat modal * chore(tests): add story for ChatModal component * fix(test): quiet shellcheck * fix: remove unused import * fix(tests): silence storybook linting warning * fix(ui): reposition chat modal button icon with transform
116 lines
1.8 KiB
SCSS
116 lines
1.8 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;
|
|
}
|
|
|
|
: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);
|
|
}
|
|
|
|
.mobileActionButtons {
|
|
display: none;
|
|
|
|
@include screen(tablet) {
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 10px;
|
|
z-index: 199;
|
|
}
|
|
|
|
> * {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.floatingMobileChatModalButton {
|
|
position: fixed;
|
|
width: 100px;
|
|
height: 40px;
|
|
bottom: 40px;
|
|
right: 10px;
|
|
font-weight: 600;
|
|
}
|