2020-06-09 10:22:32 +02:00
|
|
|
/* variables */
|
|
|
|
:root {
|
|
|
|
--header-height: 3em;
|
|
|
|
--right-col-width: 24em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-04 10:32:06 +02:00
|
|
|
body {
|
|
|
|
font-size: 14px;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-container {
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
2020-06-09 10:22:32 +02:00
|
|
|
height: var(--header-height);
|
2020-06-04 10:32:06 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: rgba(20,0,40,1);
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #ddd;
|
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#main-content-container {
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: row;
|
|
|
|
position: relative;
|
2020-06-09 10:22:32 +02:00
|
|
|
margin-top: var(--header-height);
|
2020-06-04 10:32:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-cols {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-col {
|
2020-06-09 10:22:32 +02:00
|
|
|
width: calc(100vw - var(--right-col-width));
|
2020-06-04 10:32:06 +02:00
|
|
|
}
|
2020-06-04 11:31:41 +02:00
|
|
|
|
2020-06-04 10:32:06 +02:00
|
|
|
#video-container {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
#video-container video {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-container {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
2020-06-09 10:22:32 +02:00
|
|
|
width: var(--right-col-width);
|
2020-06-04 10:32:06 +02:00
|
|
|
background-color: rgba(20,0,40,.5);
|
2020-06-09 10:22:32 +02:00
|
|
|
height: calc(100vh - var(--header-height))
|
2020-06-04 10:32:06 +02:00
|
|
|
}
|
|
|
|
|
2020-06-04 12:15:27 +02:00
|
|
|
#chat-input-container {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
padding: 1em;
|
|
|
|
background-color: #334;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-form {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
margin-bottom: 0;
|
2020-06-04 10:32:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-04 12:15:27 +02:00
|
|
|
|
|
|
|
|
2020-06-04 10:32:06 +02:00
|
|
|
.no-chat .left-col {
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
.no-chat .right-col {
|
|
|
|
display: none;
|
2020-06-04 11:31:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 860px) {
|
2020-06-09 10:22:32 +02:00
|
|
|
:root {
|
|
|
|
--right-col-width: 20em;
|
|
|
|
}
|
|
|
|
|
2020-06-04 11:31:41 +02:00
|
|
|
#chat-container {
|
2020-06-09 10:22:32 +02:00
|
|
|
width: var(--right-col-width);
|
2020-06-04 11:31:41 +02:00
|
|
|
}
|
|
|
|
.left-col {
|
2020-06-09 10:22:32 +02:00
|
|
|
width: calc(100vw - var(--right-col-width));
|
2020-06-04 11:31:41 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 640px ) and (orientation: portrait) {
|
|
|
|
#main-content-container {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2020-06-09 10:22:32 +02:00
|
|
|
height: calc(100vh - var(--header-height));
|
2020-06-04 11:31:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-cols {
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
.left-col {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
}
|
|
|
|
.right-col {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#info {
|
|
|
|
display: none;
|
|
|
|
overflow: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat-container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-chat .left-col {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.no-chat .right-col {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.no-chat #info {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-06-04 10:32:06 +02:00
|
|
|
}
|