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.
63 lines
1.0 KiB
63 lines
1.0 KiB
[data-component='Peers'] {
|
|
min-height: 100%;
|
|
width: 100%;
|
|
|
|
+desktop() {
|
|
width: calc(100% - 423px);
|
|
background: #fff;
|
|
padding: 40px 0 220px 50px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
|
|
+mobile() {
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
> .peer-container {
|
|
overflow: hidden;
|
|
|
|
AppearFadeIn(1000ms);
|
|
|
|
+desktop() {
|
|
flex: 0 0 auto;
|
|
border-radius: 8px;
|
|
height: 202px;
|
|
width: 264px;
|
|
margin: 10px;
|
|
border: 1px solid rgba(#fff, 0.15);
|
|
// box-shadow: 0px 5px 12px 2px rgba(#111, 0.5);
|
|
transition-property: border-color;
|
|
transition-duration: 0.35s;
|
|
|
|
&.active-speaker {
|
|
border-color: #fff;
|
|
}
|
|
}
|
|
|
|
+mobile() {
|
|
flex: 100 100 auto;
|
|
order: 2;
|
|
min-height: 25vh;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
&.active-speaker {
|
|
order: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|