mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-11 21:58:35 +00:00
graphs target value graphs max value graphs now have colors, green / yellow / red log click to copy bitrate buttons reflect incoming connection requested bitrates via background color disconnect button hidden until first connection established
152 lines
2.0 KiB
CSS
152 lines
2.0 KiB
CSS
body {
|
|
background-color: #141926;
|
|
}
|
|
|
|
h1 {
|
|
color: white;
|
|
margin: 20px 0px;
|
|
}
|
|
|
|
h1 small {
|
|
display: block;
|
|
margin-top: 0.5em;
|
|
font-size: 0.5em;
|
|
}
|
|
|
|
#container, #graphs, #log {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#explanation {
|
|
color: white;
|
|
font-family: sans-serif;
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#explanation h2 {
|
|
border-bottom: 1px solid #383838;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#feeds {
|
|
display: flex;
|
|
}
|
|
|
|
#feeds span {
|
|
flex: 1;
|
|
height: 30vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#feeds h3 {
|
|
color: whitesmoke;
|
|
margin: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
iframe {
|
|
height: auto;
|
|
width: 100%;
|
|
flex: 1;
|
|
}
|
|
|
|
#controls {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#controls button {
|
|
margin: 5px;
|
|
}
|
|
|
|
#controls button.active {
|
|
background-color: green;
|
|
}
|
|
|
|
canvas {
|
|
background-color: black;
|
|
margin: 20px;
|
|
}
|
|
|
|
#log {
|
|
margin-top: 20px;
|
|
background: #2a2a2a;
|
|
padding: 20px 0px;
|
|
border: 1px solid #383838;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#log ul {
|
|
margin: 20px;
|
|
list-style: none;
|
|
color: #cacaca;
|
|
max-height: 20vh;
|
|
overflow: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#graphs {
|
|
display: flex;
|
|
margin-top: 20px;
|
|
background: #2a2a2a;
|
|
padding: 20px 0px;
|
|
border: 1px solid #383838;
|
|
}
|
|
|
|
.graph {
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.graph h2, #log h2 {
|
|
margin: 0px 20px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.graph > span {
|
|
position: absolute;
|
|
bottom: 30px;
|
|
left: 30px;
|
|
color: #cacaca;
|
|
font-weight: bold;
|
|
}
|
|
|
|
ol {
|
|
margin-left: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
@media only screen
|
|
and (min-device-width: 375px)
|
|
and (max-device-width: 812px)
|
|
and (orientation: portrait) {
|
|
|
|
#container {
|
|
width: 90%;
|
|
}
|
|
|
|
#graphs {
|
|
flex-direction: column;
|
|
}
|
|
|
|
iframe {
|
|
width: 100%;
|
|
}
|
|
|
|
#feeds {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#feeds h3 {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#statsdiv {display: none;}
|
|
|
|
|
|
|