You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

339 lines
5.4 KiB

3 months ago
[data-component='Room'] {
position: relative;
height: 100%;
width: 100%;
AppearFadeIn(300ms);
3 months ago
> .crumbs {
position: absolute;
margin: 16px 30px;
font-size: 14px;
> .goback {
cursor: pointer;
color: #C5C5C5;
&:hover {
color: #5F6368;
}
}
}
3 months ago
> .state {
position: fixed;
z-index: 100;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 25px;
background-color: $COLOR_BG_1;
+desktop() {
top: 20px;
left: 20px;
width: 124px;
}
+mobile() {
top: 10px;
left: 10px;
width: 110px;
}
> .icon {
flex: 0 0 auto;
border-radius: 100%;
+desktop() {
margin: 6px;
margin-right: 0;
height: 16px;
width: 16px;
}
+mobile() {
margin: 4px;
margin-right: 0;
height: 16px;
width: 16px;
}
&.new, &.closed {
background-color: rgba(#aaa, 0.5);
}
&.connecting {
animation: Room-info-state-connecting .75s infinite linear;
}
&.connected {
background-color: rgba(#30bd18, 0.75);
+mobile() {
display: none;
}
}
}
> .text {
flex: 100 0 auto;
user-select: none;
pointer-events: none;
text-align: center;
text-transform: uppercase;
font-family: 'Roboto';
font-weight: 400;
color: rgba(#fff, 0.75);
+desktop() {
font-size: 12px;
}
+mobile() {
font-size: 10px;
}
&.connected {
+mobile() {
display: none;
}
}
}
}
> .info {
position: fixed;
z-index: 100;
+desktop() {
top: 55px;
left: 20px;
width: 124px;
}
+mobile() {
top: 40px;
height: 18px;
width: 110px;
}
> p.text {
height: 18px;
left: 10px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex: 100 0 auto;
user-select: none;
pointer-events: none;
text-align: center;
font-family: 'Roboto';
font-weight: 400;
color: rgba(#fff, 0.75);
border-radius: 25px;
background-color: $COLOR_BG_1;
margin-bottom: 2px;
+desktop() {
font-size: 11px;
}
+mobile() {
font-size: 9px;
}
> span.label {
color: rgba(#fff, 0.45);
}
}
}
> .room-link-wrapper {
pointer-events: none;
position: absolute;
z-index: 1;
top: 0;
left: 0;
right: 0;
display: flex;
flex-direction: row;
justify-content: center;
> .room-link {
width: auto;
background-color: $COLOR_BG_1;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
box-shadow: 0px 3px 12px 2px rgba(#111, 0.4);
> a.link {
display: block;;
user-select: none;
pointer-events: auto;
text-transform: uppercase;
font-family: 'Roboto';
font-weight: 400;
color: rgba(#fff, 0.75);
cursor: pointer;
text-decoration: none;
transition-property: color;
transition-duration: 0.1s;
+desktop() {
padding: 10px 20px;
font-size: 12px;
}
+mobile() {
padding: 6px 10px;
font-size: 10px;
}
&:hover {
color: #fff;
text-decoration: underline;
}
}
}
}
> .me-container {
position: fixed;
z-index: 100;
overflow: hidden;
3 months ago
// box-shadow: 0px 5px 12px 2px rgba(#111, 0.5);
3 months ago
transition-property: border-color;
transition-duration: 0.2s;
&.active-speaker {
border-color: #fff;
}
+desktop() {
3 months ago
height: 202px;
width: 264px;
bottom: 20px;
3 months ago
left: 20px;
3 months ago
border-radius: 8px;
3 months ago
border: 1px solid rgba(#fff, 0.15);
}
+mobile() {
height: 220px;
width: 200px;
bottom: 50px;
left: 10px;
border: 1px solid rgba(#fff, 0.25);
}
}
> .chat-input-container {
position: fixed;
3 months ago
z-index: 9999;
3 months ago
overflow: hidden;
box-shadow: 0px 5px 12px 2px rgba(#111, 0.5);
+desktop() {
3 months ago
bottom: 30px;
right: 45px;
width: 350px;
height: 60px;
height: 60px;
background: #FFFFFF;
box-shadow: 0px 0px 10px 0px rgba(226,226,226,0.5);
border-radius: 8px;
3 months ago
}
+mobile() {
height: 30px;
width: 200px;
bottom: 10px;
left: 10px;
border: 1px solid rgba(#fff, 0.25);
}
}
> .sidebar {
position: fixed;
z-index: 101;
top: calc(50% - 60px);
height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
+desktop() {
left: 20px;
width: 36px;
margin-top: -60px;
}
+mobile() {
left: 10px;
width: 32px;
margin-top: -80px;
}
> .button {
flex: 0 0 auto;
margin: 4px 0;
background-position: center;
background-size: 75%;
background-repeat: no-repeat;
3 months ago
background-color: rgba(#000, 0.3);
3 months ago
cursor: pointer;
transition-property: opacity, background-color;
transition-duration: 0.2s;
border-radius: 100%;
+desktop() {
height: 36px;
width: 36px;
}
+mobile() {
height: 32px;
width: 32px;
}
&.on {
background-color: rgba(#fff, 0.7);
}
&.disabled {
pointer-events: none;
opacity: 0.5;
transition-duration: 0s;
}
&.hide-videos {
background-image: url('/resources/images/icon_video_white_on.svg');
&.on {
background-image: url('/resources/images/icon_video_black_off.svg');
}
}
&.mute-audio {
background-image: url('/resources/images/icon_volume_white_on.svg');
&.on {
background-image: url('/resources/images/icon_volume_black_off.svg');
}
}
&.restart-ice {
background-image: url('/resources/images/icon_restart_ice_white.svg');
}
}
}
}
@keyframes Room-info-state-connecting {
50% { background-color: rgba(orange, 0.75); }
}