2020-08-24 05:06:58 +03:00
|
|
|
/*
|
2020-08-24 13:30:42 +03:00
|
|
|
Specific styles for main app layout.
|
|
|
|
May have overrides for other components with own stylesheets.
|
2020-08-24 05:06:58 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* variables */
|
|
|
|
:root {
|
|
|
|
--header-height: 3.5em;
|
|
|
|
--right-col-width: 24em;
|
2020-08-24 07:23:16 +03:00
|
|
|
--video-container-height: calc((9 / 16) * 100vw);
|
2020-08-24 05:06:58 +03:00
|
|
|
--header-bg-color: rgba(20,0,40,1);
|
|
|
|
--user-image-width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: 14px;
|
2020-10-03 23:42:48 +03:00
|
|
|
scrollbar-width: none;
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
2021-03-23 07:52:17 +03:00
|
|
|
#loading-logo {
|
2021-04-08 08:14:49 +03:00
|
|
|
margin-top: 3%;
|
2021-03-23 07:52:17 +03:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-04-08 08:14:49 +03:00
|
|
|
height: 80vh;
|
2021-03-23 07:52:17 +03:00
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
2020-08-24 05:06:58 +03:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
.scrollbar-hidden::-webkit-scrollbar {
|
2020-08-24 05:06:58 +03:00
|
|
|
width: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2020-10-03 23:42:48 +03:00
|
|
|
.scrollbar-hidden {
|
|
|
|
scrollbar-width: none; /* moz only */
|
|
|
|
}
|
2020-08-24 05:06:58 +03:00
|
|
|
|
2021-05-29 23:08:10 +03:00
|
|
|
#app-container.config-loading {
|
|
|
|
visibility: hidden;
|
2020-08-24 13:30:42 +03:00
|
|
|
}
|
|
|
|
|
2020-08-24 05:37:06 +03:00
|
|
|
button[disabled] {
|
|
|
|
opacity: .5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-11-18 02:12:54 +03:00
|
|
|
/* accessibility things */
|
2020-08-24 05:06:58 +03:00
|
|
|
.visually-hidden {
|
|
|
|
position: absolute !important;
|
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
white-space: nowrap; /* added line */
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
height: var(--header-height);
|
|
|
|
background-color: var(--header-bg-color);
|
2020-09-22 06:11:09 +03:00
|
|
|
display: block;
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#logo-container {
|
|
|
|
background-size: 1.35em;
|
2020-11-18 02:12:54 +03:00
|
|
|
padding: 1.15rem;
|
|
|
|
background-image: url(/img/logo.svg);
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#chat-toggle {
|
|
|
|
min-width: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-info-change {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-03-16 01:32:52 +03:00
|
|
|
#external-actions-container {
|
|
|
|
margin: 1em 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
.external-action-button {
|
|
|
|
border-radius: 4px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: .88em;
|
|
|
|
padding: .25em .75em;
|
|
|
|
margin: .35em;
|
|
|
|
margin-left: 0;
|
|
|
|
display: flex;
|
|
|
|
max-width: 250px;
|
|
|
|
padding-top: .3em;
|
|
|
|
}
|
|
|
|
.external-action-button:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
.external-action-icon {
|
|
|
|
margin: .25em .5em .25em 0;
|
|
|
|
}
|
|
|
|
.external-action-icon img {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
}
|
|
|
|
.external-action-label {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-24 05:06:58 +03:00
|
|
|
|
|
|
|
/* ************************************************ */
|
|
|
|
|
|
|
|
#video-container {
|
2020-08-24 13:30:42 +03:00
|
|
|
height: var(--video-container-height);
|
2020-08-24 05:06:58 +03:00
|
|
|
margin-top: var(--header-height);
|
2020-08-24 07:23:16 +03:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2020-08-24 13:30:42 +03:00
|
|
|
|
2020-08-24 07:23:16 +03:00
|
|
|
min-height: 480px;
|
2020-08-30 03:35:19 +03:00
|
|
|
max-height: calc(100vh - var(--header-height) - 3rem);
|
2020-08-24 05:06:58 +03:00
|
|
|
background-size: 30%;
|
|
|
|
}
|
|
|
|
#video-container #video {
|
|
|
|
transition: opacity .5s;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-08-24 05:37:06 +03:00
|
|
|
.online #video-container #video {
|
2020-08-24 05:06:58 +03:00
|
|
|
opacity: 1;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
2020-10-23 00:14:44 +03:00
|
|
|
#app-container .custom-thumbnail-image {
|
|
|
|
transition: opacity 2s;
|
|
|
|
}
|
|
|
|
|
2020-08-24 05:06:58 +03:00
|
|
|
/* *********** overrides when chat is off ***************************** */
|
|
|
|
|
|
|
|
.no-chat footer {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-chat #chat-toggle {
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
|
2021-05-29 23:08:10 +03:00
|
|
|
/* hide chat by default */
|
|
|
|
#chat-container-wrap {
|
2020-08-24 13:30:42 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2020-08-24 05:06:58 +03:00
|
|
|
|
|
|
|
/* *********** overrides when chat is on ***************************** */
|
|
|
|
|
2020-08-24 13:30:42 +03:00
|
|
|
.chat {
|
|
|
|
--content-width: calc(100vw - var(--right-col-width));
|
|
|
|
}
|
|
|
|
.chat #chat-container-wrap {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-05-29 23:08:10 +03:00
|
|
|
.chat main,
|
|
|
|
.chat footer,
|
2020-08-24 05:06:58 +03:00
|
|
|
.chat #user-content {
|
2020-08-24 13:30:42 +03:00
|
|
|
width: var(--content-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat #video-container {
|
|
|
|
height: calc((9 / 16) * var(--content-width));
|
|
|
|
}
|
|
|
|
|
|
|
|
.short-wide.chat #video-container {
|
|
|
|
height: calc(100vh - var(--header-height) - 3rem);
|
|
|
|
min-height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* *********** single col layout ***************************** */
|
|
|
|
|
|
|
|
.single-col {
|
|
|
|
--right-col-width: 0px;
|
2020-08-27 22:25:46 +03:00
|
|
|
--video-container-height: calc((9 / 16) * 100vw);
|
2020-08-24 13:30:42 +03:00
|
|
|
}
|
|
|
|
.single-col main {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 40;
|
|
|
|
}
|
|
|
|
.single-col #chat-container {
|
2020-09-22 06:11:09 +03:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
2020-08-24 13:30:42 +03:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
2020-08-27 22:25:46 +03:00
|
|
|
|
|
|
|
.single-col.chat #video-container,
|
|
|
|
.single-col.no-chat #video-container,
|
|
|
|
.single-col #video-container #video,
|
|
|
|
.single-col.chat #video-container #video {
|
|
|
|
width: 100vw;
|
|
|
|
height: var(--video-container-height);
|
|
|
|
min-height: 212px;
|
2020-08-24 13:30:42 +03:00
|
|
|
}
|
|
|
|
.single-col #user-content,
|
|
|
|
.single-col #chat-container-wrap {
|
|
|
|
margin-top: calc(var(--video-container-height) + var(--header-height) + 1rem);
|
|
|
|
}
|
|
|
|
.single-col #user-content .user-content {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.single-col.chat #user-content {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-09-22 06:11:09 +03:00
|
|
|
.single-col #messages-container {
|
|
|
|
flex-grow: 2;
|
|
|
|
margin-top: calc(var(--video-container-height));
|
|
|
|
}
|
2020-08-24 13:30:42 +03:00
|
|
|
.single-col #message-input-container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
.single-col #stream-info {
|
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.single-col #stream-info span {
|
|
|
|
display: none;
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
.single-col #message-input-wrap {
|
|
|
|
max-height: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-height: 500px) {
|
2020-12-12 22:08:23 +03:00
|
|
|
.single-col.touch-screen:not(.touch-keyboard-active) {
|
2020-09-22 06:11:09 +03:00
|
|
|
--header-height: 0px;
|
|
|
|
}
|
2020-12-12 22:08:23 +03:00
|
|
|
.single-col.touch-screen:not(.touch-keyboard-active) header {
|
2020-09-22 06:11:09 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 05:06:58 +03:00
|
|
|
|
|
|
|
|
2021-02-28 03:39:19 +03:00
|
|
|
/* ************************************************ */
|
2020-08-24 05:06:58 +03:00
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 860px) {
|
|
|
|
:root {
|
|
|
|
--right-col-width: 20em;
|
|
|
|
--user-image-width: 6em;
|
|
|
|
}
|
|
|
|
#video-container {
|
2020-08-30 03:35:19 +03:00
|
|
|
min-height: 240px;
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
2020-09-14 08:02:04 +03:00
|
|
|
.instance-title {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
2021-02-28 03:39:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ************************************************ */
|
2020-08-24 05:06:58 +03:00
|
|
|
|
2021-02-28 03:39:19 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
#user-info-change {
|
|
|
|
width: 75vw;
|
|
|
|
}
|
|
|
|
#user-info-display {
|
|
|
|
max-width: 30vw;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-09-14 08:02:04 +03:00
|
|
|
}
|
2021-03-16 01:32:52 +03:00
|
|
|
|
2021-04-01 08:28:55 +03:00
|
|
|
#external-modal-iframe {
|
|
|
|
height: 70vh;
|
2021-05-29 23:08:10 +03:00
|
|
|
}
|