Merge branch '0614gw-updates'

This commit is contained in:
Ginger Wong 2020-06-14 17:02:36 -07:00
commit ee19ecdc27
2 changed files with 49 additions and 16 deletions

View file

@ -51,7 +51,7 @@
<!-- LEFT CONTAINER SIDE-->
<div class="flex main-cols left-col">
<div id="video-container" class="flex shadow-md">
<div id="video-container" class="flex shadow-md owncast-video-container">
<video
class="video-js"
id="video"
@ -66,10 +66,27 @@
</video>
</div>
<div id="stream-info">
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }},
{{ overallMaxViewerCount }} overall.
<div id="stream-info" class="flex">
<span>{{ streamStatus }}</span>
<span>{{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.</span>
<span>Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }}.</span>
<span>{{ overallMaxViewerCount }} overall.</span>
</div>
<div id="user-content">
<!-- USER CONTENT... -->
<div>
Blathers is an owl with brown feathers. His face is white and he has a yellow beak. His arms are wing shaped and he has yellow talons. His eyes are very big with small black irises. He also has big pink cheek circles on his cheeks. His belly appears to be checkered in diamonds with light brown and white squares, similar to an argyle vest, which is traditionally associated with academia. His green bowtie further alludes to his academic nature.
</div>
<div>
Blathers is an owl with brown feathers. His face is white and he has a yellow beak. His arms are wing shaped and he has yellow talons. His eyes are very big with small black irises. He also has big pink cheek circles on his cheeks. His belly appears to be checkered in diamonds with light brown and white squares, similar to an argyle vest, which is traditionally associated with academia. His green bowtie further alludes to his academic nature.
</div>
</div>
</div>

View file

@ -75,7 +75,7 @@ header h1 {
#user-info-display {
display: flex;
flex-direction: row;
justify-content: center;
justify-content: flex-end;
align-items: center;
cursor: pointer;
padding: .5em 1em;
@ -148,7 +148,7 @@ header h1 {
/* ************************************************8 */
#video-container {
.owncast-video-container {
width: 100%;
height: auto;
display: flex;
@ -157,19 +157,32 @@ header h1 {
align-items: center;
background-color: black;
}
#video-container video {
.owncast-video-container .video-js {
width: 100%;
display: block;
height: calc(100vh - var(--header-height) - 5em);
}
.owncast-video-container video {
width: 100%;
display: block;
min-height: 100%
}
/* ************************************************8 */
#stream-info {
padding: .5em;
padding: .5em 2em;
text-align: center;
font-family: monospace;
font-size: .75em;
background-color: rgba(0,0,0,.5);
border-bottom: 1px solid black;
flex-direction: row;
justify-content: space-between;
}
#user-content {
padding: 2em;
}
/* ************************************************8 */
@ -247,8 +260,8 @@ header h1 {
color: #ccc;
font-weight: 100;
}
/* ************************************************8 */
/* ************************************************8 */
.no-chat .left-col {
width: 100vw;
@ -297,12 +310,9 @@ header h1 {
#user-info {
width: 12em;
}
#stream-info {
#user-content {
display: none;
overflow: auto;
height: auto;
}
#chat-container {
width: 100%;
height: 100%;
@ -310,14 +320,20 @@ header h1 {
height: auto;
}
.owncast-video-container .video-js {
height: 40vh;
}
.no-chat .left-col {
height: 100%;
}
.no-chat .right-col {
display: none;
}
.no-chat #info {
.no-chat #stream-info {
display: block;
}
.no-chat #user-content {
display: block;
}
}