forked from olcxjas-softworks/LarpixClient
Improve mobile ui
This commit is contained in:
parent
34ddd1d507
commit
b43fa5aa82
10 changed files with 136 additions and 36 deletions
|
|
@ -272,6 +272,8 @@ roomtopbar {
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
align-items: center;
|
||||
|
||||
width: 100%;
|
||||
border-bottom: var(--border-width) solid var(--light-border-color);
|
||||
|
||||
|
|
@ -282,11 +284,10 @@ roomtopbar {
|
|||
font-size: 1.5rem;
|
||||
}
|
||||
sidebar.second#roomdetailsbar {
|
||||
height: calc(var(--button-height) * 1.5);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
border-bottom: var(--border-width) solid var(--light-border-color);
|
||||
flex-direction: column;
|
||||
border-left: var(--border-width) solid var(--light-border-color);
|
||||
}
|
||||
fullcontainer {
|
||||
width: 100%;
|
||||
|
|
@ -456,7 +457,7 @@ space{
|
|||
sidebar, sidebar.second, roomcontent {
|
||||
position: absolute !important;
|
||||
height: 100%;
|
||||
transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
|
||||
transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
|
||||
}
|
||||
|
||||
sidebar {
|
||||
|
|
@ -482,12 +483,13 @@ space{
|
|||
}
|
||||
|
||||
#roomdetailsbar {
|
||||
left: 0;
|
||||
width: 100vw !important;
|
||||
left: auto !important;
|
||||
right: 0;
|
||||
width: 90vw !important;
|
||||
min-width: unset !important;
|
||||
max-width: none !important;
|
||||
transform: translateX(100vw);
|
||||
z-index: 3;
|
||||
transform: translateX(100vw);
|
||||
z-index: 10;
|
||||
background-color: var(--main-bg-color);
|
||||
}
|
||||
|
||||
|
|
@ -512,4 +514,25 @@ space{
|
|||
main.mobile-details #roomdetailsbar {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
roomcontent::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
|
||||
}
|
||||
|
||||
main.mobile-details roomcontent::after {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue