commit
887621f264
|
|
@ -82,12 +82,7 @@ class Room extends React.Component
|
||||||
<Appear duration={300}>
|
<Appear duration={300}>
|
||||||
<div data-component='Room'>
|
<div data-component='Room'>
|
||||||
<FullScreenView advancedMode={room.advancedMode} />
|
<FullScreenView advancedMode={room.advancedMode} />
|
||||||
<div
|
<div className='room-wrapper'>
|
||||||
className='room-wrapper'
|
|
||||||
style={{
|
|
||||||
width : toolAreaOpen ? '75%' : '100%'
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Notifications />
|
<Notifications />
|
||||||
|
|
||||||
<ToolAreaButton />
|
<ToolAreaButton />
|
||||||
|
|
@ -161,10 +156,7 @@ class Room extends React.Component
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className='toolarea-wrapper'
|
className={classnames('toolarea-wrapper', { open: toolAreaOpen })}
|
||||||
style={{
|
|
||||||
width : toolAreaOpen ? '25%' : '0%'
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
{toolAreaOpen ?
|
{toolAreaOpen ?
|
||||||
<ToolArea
|
<ToolArea
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ class ToolAreaButton extends React.Component
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div data-component='ToolAreaButton'>
|
<div data-component='ToolAreaButton' className={classnames({ on: toolAreaOpen })}>
|
||||||
<div
|
<div
|
||||||
className={classnames('button toolarea-button room-controls', {
|
className={classnames('button toolarea-button room-controls', {
|
||||||
on : toolAreaOpen,
|
on : toolAreaOpen,
|
||||||
|
|
|
||||||
|
|
@ -91,5 +91,5 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
z-index: 2000;
|
z-index: 3000;
|
||||||
}
|
}
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 200;
|
z-index: 2000;
|
||||||
|
|
||||||
> .controls {
|
> .controls {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 201;
|
z-index: 2020;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
.incompatible-video {
|
.incompatible-video {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2
|
z-index: 2010;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
$backgroundTint = #000;
|
$backgroundTint = #000;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 5
|
z-index: 10;
|
||||||
top: 0.6vmin;
|
top: 0.6vmin;
|
||||||
left: 0.6vmin;
|
left: 0.6vmin;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
> .controls {
|
> .controls {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 20;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[data-component='Notifications'] {
|
[data-component='Notifications'] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 9999;
|
z-index: 1010;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 65px;
|
right: 65px;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.4vmin;
|
padding: 0.4vmin;
|
||||||
transition: opacity 0.3s;
|
transition: opacity 0.3s;
|
||||||
z-index: 10;
|
z-index: 20;
|
||||||
|
|
||||||
> .icon {
|
> .icon {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
}
|
}
|
||||||
> .controls {
|
> .controls {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 20;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
|
|
||||||
.incompatible-video {
|
.incompatible-video {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2
|
z-index: 10;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
$backgroundTint = #000;
|
$backgroundTint = #000;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 5
|
z-index: 10;
|
||||||
top: 0.6vmin;
|
top: 0.6vmin;
|
||||||
left: 0.6vmin;
|
left: 0.6vmin;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
transition: width 0.3s;
|
|
||||||
|
|
||||||
> .state {
|
> .state {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
@ -95,7 +94,7 @@
|
||||||
> .room-link-wrapper {
|
> .room-link-wrapper {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 10;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
@ -142,7 +141,7 @@
|
||||||
|
|
||||||
> .me-container {
|
> .me-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 100;
|
z-index: 110;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0px 5px 12px 2px rgba(#111, 0.5);
|
box-shadow: 0px 5px 12px 2px rgba(#111, 0.5);
|
||||||
transition-property: border-color;
|
transition-property: border-color;
|
||||||
|
|
@ -168,12 +167,17 @@
|
||||||
|
|
||||||
> .toolarea-wrapper {
|
> .toolarea-wrapper {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
width: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 20%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(0,0,0,0.1);
|
background-color: rgba(50, 50, 50, 0.9);
|
||||||
transition: width 0.3s;
|
transition: width 0.3s;
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
|
&.open {
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -242,7 +246,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1000;
|
z-index: 120;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
$backgroundTint = #000;
|
$backgroundTint = #000;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 5
|
z-index: 10;
|
||||||
top: 0.6vmin;
|
top: 0.6vmin;
|
||||||
left: 0.6vmin;
|
left: 0.6vmin;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[data-component='Sidebar'] {
|
[data-component='Sidebar'] {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 101;
|
z-index: 500;
|
||||||
top: calc(50% - 60px);
|
top: calc(50% - 60px);
|
||||||
height: 120px;
|
height: 120px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,19 @@
|
||||||
[data-component='ToolAreaButton'] {
|
[data-component='ToolAreaButton'] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 101;
|
z-index: 1000;
|
||||||
top: 20px;
|
right: 0;
|
||||||
right: 20px;
|
|
||||||
height: 36px;
|
height: 36px;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
|
padding: 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
transition: right 0.3s;
|
||||||
|
|
||||||
|
&.on {
|
||||||
|
right: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
> .button {
|
> .button {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue