mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
make bottom bar relative
This commit is contained in:
parent
4bdb82c2c4
commit
f7e474fa58
@ -8,8 +8,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
position: fixed;
|
position: relative;
|
||||||
z-index: 9999;
|
|
||||||
|
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -9,9 +9,11 @@ export default (props) => {
|
|||||||
<Modal />
|
<Modal />
|
||||||
|
|
||||||
<antd.Layout.Content className={classnames("content_layout", ...props.layoutPageModesClassnames ?? [])}>
|
<antd.Layout.Content className={classnames("content_layout", ...props.layoutPageModesClassnames ?? [])}>
|
||||||
<div id="transitionLayer" className="fade-transverse-active">
|
<div className={classnames("frameDecorator", "top")} />
|
||||||
|
<div id="transitionLayer" className={classnames("content_wrapper", "fade-transverse-active")}>
|
||||||
{React.cloneElement(props.children, props)}
|
{React.cloneElement(props.children, props)}
|
||||||
</div>
|
</div>
|
||||||
|
<div className={classnames("frameDecorator", "bottom")} />
|
||||||
</antd.Layout.Content>
|
</antd.Layout.Content>
|
||||||
|
|
||||||
<BottomBar />
|
<BottomBar />
|
||||||
|
@ -1,7 +1,57 @@
|
|||||||
|
@frameDecorator_height: 20px;
|
||||||
|
|
||||||
.app_layout {
|
.app_layout {
|
||||||
&.mobile {
|
&.mobile {
|
||||||
padding: 10px;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
.content_wrapper {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content_layout {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
width: 100vw;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frameDecorator {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
|
||||||
|
z-index: 8000;
|
||||||
|
|
||||||
|
width: 100vw;
|
||||||
|
height: @frameDecorator_height;
|
||||||
|
|
||||||
|
background-color: rgba(var(--layoutBackgroundColor), 0.8);
|
||||||
|
|
||||||
|
filter: blur(4px);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
|
||||||
|
&.top {
|
||||||
|
top: 0;
|
||||||
|
transform: translate(0, -6px);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.bottom {
|
||||||
|
bottom: 0;
|
||||||
|
transform: translate(0, 6px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// FIXMETS FOR MOBILE LAYOUT
|
||||||
.loginPage {
|
.loginPage {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user