2020-06-09 11:22:32 +03:00
|
|
|
/* variables */
|
|
|
|
:root {
|
2020-06-18 20:24:54 +03:00
|
|
|
--header-height: 3.5em;
|
2020-06-09 11:22:32 +03:00
|
|
|
--right-col-width: 24em;
|
2020-06-16 09:32:26 +03:00
|
|
|
--video-container-height: 50vh;
|
2020-06-11 11:24:05 +03:00
|
|
|
--header-bg-color: rgba(20,0,40,1);
|
2020-06-09 11:22:32 +03:00
|
|
|
}
|
|
|
|
|
2020-06-04 11:32:06 +03:00
|
|
|
body {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-06-18 10:06:10 +03:00
|
|
|
|
|
|
|
/* Tailwind sets list styles to none. I don't know why. */
|
|
|
|
ol {
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: unset;
|
|
|
|
}
|
|
|
|
|
2020-06-18 20:24:54 +03:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
[v-cloak] { visibility: hidden; }
|
2020-06-18 10:06:10 +03:00
|
|
|
|
2020-06-04 11:32:06 +03:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 0px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-container {
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
2020-06-09 11:22:32 +03:00
|
|
|
height: var(--header-height);
|
2020-06-04 11:32:06 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2020-06-11 11:24:05 +03:00
|
|
|
background-color: var(--header-bg-color);
|
2020-06-04 11:32:06 +03:00
|
|
|
z-index: 10;
|
2020-06-14 06:15:31 +03:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2020-06-14 11:10:26 +03:00
|
|
|
flex-wrap: nowrap;
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
font-size: 1.25em;
|
2020-06-14 06:15:31 +03:00
|
|
|
font-weight: 100;
|
|
|
|
letter-spacing: 1.2;
|
|
|
|
text-transform: uppercase;
|
2020-06-04 11:32:06 +03:00
|
|
|
padding: .5em;
|
2020-06-14 06:15:31 +03:00
|
|
|
white-space: nowrap;
|
2020-06-18 20:24:54 +03:00
|
|
|
/* width: 20em; */
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
img.logo {
|
|
|
|
height: 1.2em;
|
|
|
|
width: 1.2em;
|
|
|
|
display: inline-block;
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
|
|
|
|
2020-06-14 06:15:31 +03:00
|
|
|
#chat-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: center;
|
2020-06-14 08:15:58 +03:00
|
|
|
height: 100%;
|
2020-06-14 11:10:26 +03:00
|
|
|
min-width: 3em;
|
2020-06-14 08:15:58 +03:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
|
2020-06-18 20:24:54 +03:00
|
|
|
footer {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: .75em;
|
|
|
|
padding: 2em 0;
|
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
|
|
|
|
/* ************************************************8 */
|
|
|
|
|
|
|
|
#stream-info {
|
|
|
|
padding: .5em 2em;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
}
|
|
|
|
#stream-info span {
|
|
|
|
font-size: .7em;
|
|
|
|
}
|
|
|
|
.user-content {
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
#user-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#user-content-touch {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
/* ************************************************8 */
|
|
|
|
|
|
|
|
#user-options-container {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
2020-06-14 11:10:26 +03:00
|
|
|
flex-wrap: nowrap;
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#user-info-display {
|
2020-06-14 08:15:58 +03:00
|
|
|
display: flex;
|
2020-06-14 06:15:31 +03:00
|
|
|
flex-direction: row;
|
2020-06-15 03:02:10 +03:00
|
|
|
justify-content: flex-end;
|
2020-06-14 06:15:31 +03:00
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
2020-06-14 08:15:58 +03:00
|
|
|
padding: .5em 1em;
|
2020-06-14 11:10:26 +03:00
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#username-avatar {
|
|
|
|
height: 1.75em;
|
|
|
|
width: 1.75em;
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
#username-display {
|
2020-06-15 09:12:58 +03:00
|
|
|
font-weight: 600;
|
2020-06-14 06:15:31 +03:00
|
|
|
font-size: .75em;
|
2020-06-14 11:10:26 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
#user-info-display:hover {
|
|
|
|
transition: opacity .2s;
|
|
|
|
opacity: .75;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#user-info-change {
|
2020-06-14 08:15:58 +03:00
|
|
|
display: none;
|
2020-06-14 06:15:31 +03:00
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
2020-06-14 08:15:58 +03:00
|
|
|
padding: .25em;
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
#username-change-input {
|
|
|
|
font-size: .75em;
|
|
|
|
}
|
|
|
|
#button-update-username {
|
|
|
|
font-size: .65em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
height: 2.5em;
|
|
|
|
}
|
|
|
|
#button-cancel-change {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 2.5em;
|
|
|
|
font-size: .65em;
|
|
|
|
}
|
|
|
|
.user-btn {
|
|
|
|
margin: 0 .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ************************************************8 */
|
2020-06-04 11:32:06 +03:00
|
|
|
|
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
#video-container {
|
2020-06-17 20:39:13 +03:00
|
|
|
height: calc(var(--video-container-height));
|
2020-06-16 12:09:29 +03:00
|
|
|
width: 100%;
|
2020-06-17 20:39:13 +03:00
|
|
|
margin-top: var(--header-height);
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
2020-06-04 12:31:41 +03:00
|
|
|
|
2020-06-15 02:32:39 +03:00
|
|
|
.owncast-video-container {
|
2020-06-04 11:32:06 +03:00
|
|
|
height: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-06-15 02:32:39 +03:00
|
|
|
.owncast-video-container .video-js {
|
|
|
|
width: 100%;
|
2020-06-15 07:14:42 +03:00
|
|
|
height: 100%;
|
2020-06-15 02:32:39 +03:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.owncast-video-container video {
|
2020-06-04 11:32:06 +03:00
|
|
|
width: 100%;
|
|
|
|
display: block;
|
2020-06-14 09:38:09 +03:00
|
|
|
min-height: 100%
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
2020-06-15 07:27:50 +03:00
|
|
|
|
|
|
|
.video-js .vjs-big-play-button {
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
margin-left: -1.5em;
|
|
|
|
margin-top: -0.75em;
|
|
|
|
}
|
2020-06-16 12:16:21 +03:00
|
|
|
.vjs-airplay .vjs-icon-placeholder::before {
|
|
|
|
content: 'AP';
|
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-15 02:32:39 +03:00
|
|
|
/* ************************************************8 */
|
2020-06-04 11:32:06 +03:00
|
|
|
|
2020-06-15 02:32:39 +03:00
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
.no-chat #chat-container-wrap {
|
|
|
|
display: none;
|
2020-06-15 02:32:39 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.chat #chat-container-wrap {
|
|
|
|
display: block;
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
.chat #video-container,
|
|
|
|
.chat #stream-info,
|
|
|
|
.chat #user-content {
|
|
|
|
width: calc(100% - var(--right-col-width));
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
|
|
|
|
|
2020-06-04 11:32:06 +03:00
|
|
|
#chat-container {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9;
|
2020-06-16 12:09:29 +03:00
|
|
|
top: var(--header-height);
|
2020-06-04 11:32:06 +03:00
|
|
|
right: 0;
|
2020-06-09 11:22:32 +03:00
|
|
|
width: var(--right-col-width);
|
2020-06-15 07:14:42 +03:00
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
height: calc(100vh - var(--header-height));
|
2020-06-15 07:14:42 +03:00
|
|
|
|
2020-06-11 11:24:05 +03:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
|
2020-06-11 11:24:05 +03:00
|
|
|
#messages-container {
|
|
|
|
overflow: auto;
|
|
|
|
padding: 1em 0;
|
2020-06-17 20:39:13 +03:00
|
|
|
min-height: 50vh;
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
#message-input-container {
|
2020-06-04 13:15:27 +03:00
|
|
|
width: 100%;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2020-06-14 06:15:31 +03:00
|
|
|
#message-form {
|
2020-06-04 13:15:27 +03:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
margin-bottom: 0;
|
2020-06-04 11:32:06 +03:00
|
|
|
}
|
2020-06-14 10:24:26 +03:00
|
|
|
#message-body-form {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
#message-form-actions {
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-06-15 09:12:58 +03:00
|
|
|
|
2020-06-14 06:15:31 +03:00
|
|
|
|
|
|
|
/* ************************************************8 */
|
2020-06-04 11:32:06 +03:00
|
|
|
|
2020-06-10 00:12:50 +03:00
|
|
|
.message {
|
|
|
|
padding: .85em;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.message-avatar {
|
|
|
|
height: 2.5em;
|
|
|
|
width: 2.5em;
|
|
|
|
margin-right: .75em;
|
|
|
|
}
|
|
|
|
.message-content {
|
|
|
|
font-size: .85em;
|
|
|
|
}
|
2020-06-14 06:15:31 +03:00
|
|
|
.message-content a {
|
2020-06-15 09:12:58 +03:00
|
|
|
color: #7F9CF5; /* indigo-400 */
|
2020-06-14 06:15:31 +03:00
|
|
|
}
|
|
|
|
.message-content a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-06-15 09:12:58 +03:00
|
|
|
|
2020-06-04 13:15:27 +03:00
|
|
|
|
2020-06-15 03:02:10 +03:00
|
|
|
/* ************************************************8 */
|
2020-06-04 13:15:27 +03:00
|
|
|
|
2020-06-04 12:31:41 +03:00
|
|
|
|
2020-06-14 08:15:58 +03:00
|
|
|
.no-chat #chat-toggle {
|
2020-06-15 09:12:58 +03:00
|
|
|
opacity: .75;
|
2020-06-14 08:15:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ************************************************8 */
|
|
|
|
|
2020-06-16 03:40:12 +03:00
|
|
|
.landscape #chat-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ************************************************8 */
|
|
|
|
|
2020-06-04 12:31:41 +03:00
|
|
|
@media screen and (max-width: 860px) {
|
2020-06-09 11:22:32 +03:00
|
|
|
:root {
|
|
|
|
--right-col-width: 20em;
|
|
|
|
}
|
|
|
|
|
2020-06-04 12:31:41 +03:00
|
|
|
#chat-container {
|
2020-06-09 11:22:32 +03:00
|
|
|
width: var(--right-col-width);
|
2020-06-04 12:31:41 +03:00
|
|
|
}
|
2020-06-16 01:45:55 +03:00
|
|
|
|
2020-06-04 12:31:41 +03:00
|
|
|
}
|
2020-06-16 01:45:55 +03:00
|
|
|
|
|
|
|
@media screen and (max-width: 640px ) {
|
2020-06-16 12:16:21 +03:00
|
|
|
.desktop {
|
|
|
|
--video-container-height: 50vh;
|
2020-06-04 12:31:41 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.desktop #chat-container {
|
2020-06-04 12:31:41 +03:00
|
|
|
height: auto;
|
2020-06-16 12:09:29 +03:00
|
|
|
position: relative;
|
|
|
|
right: unset;
|
|
|
|
top: unset;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
2020-06-04 12:31:41 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.desktop.chat #video-container,
|
|
|
|
.desktop.chat #stream-info,
|
|
|
|
.desktop.chat #user-content {
|
|
|
|
width: 100%;
|
2020-06-15 03:02:10 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.desktop.chat #user-content{
|
2020-06-04 12:31:41 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-15 10:15:23 +03:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-06-16 09:32:26 +03:00
|
|
|
/* ************************************************8 */
|
|
|
|
/* ************************************************8 */
|
2020-06-15 10:15:23 +03:00
|
|
|
|
2020-06-16 09:32:26 +03:00
|
|
|
.touch-screen header {
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen #top-content {
|
2020-06-16 09:32:26 +03:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2020-06-16 12:09:29 +03:00
|
|
|
z-index: 10;
|
2020-06-15 10:15:23 +03:00
|
|
|
}
|
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
.touch-screen #user-content {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: none;
|
2020-06-15 10:15:23 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen #user-content-touch {
|
|
|
|
display: block;
|
2020-06-15 10:15:23 +03:00
|
|
|
}
|
2020-06-16 09:32:26 +03:00
|
|
|
|
|
|
|
.touch-screen #stream-info {
|
|
|
|
height: 2.5em;
|
2020-06-15 10:15:23 +03:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen #chat-container-wrap {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2020-06-16 09:32:26 +03:00
|
|
|
flex-direction: column;
|
2020-06-16 12:09:29 +03:00
|
|
|
margin-top: calc(var(--header-height) + var(--video-container-height) + 2.5em);
|
2020-06-15 10:15:23 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen #chat-container {
|
|
|
|
height: auto;
|
|
|
|
position: relative;
|
|
|
|
right: unset;
|
|
|
|
top: unset;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
2020-06-15 10:15:23 +03:00
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen.chat #video-container,
|
|
|
|
.touch-screen.chat #stream-info,
|
|
|
|
.touch-screen.chat #user-content {
|
2020-06-15 10:15:23 +03:00
|
|
|
width: 100%;
|
2020-06-16 12:09:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-16 09:32:26 +03:00
|
|
|
.touch-screen #video-container {
|
2020-06-17 20:39:13 +03:00
|
|
|
margin-top: 0;
|
2020-06-16 09:32:26 +03:00
|
|
|
}
|
|
|
|
.touch-screen .owncast-video-container {
|
2020-06-15 10:15:23 +03:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen #user-content-touch {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.touch-screen #chat-container {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-06-16 12:09:29 +03:00
|
|
|
.touch-screen.no-chat #user-content-touch {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.touch-screen.no-chat #chat-container {
|
|
|
|
display: none;
|
2020-06-16 05:55:32 +03:00
|
|
|
}
|
|
|
|
|
2020-06-18 10:06:10 +03:00
|
|
|
|
2020-06-16 09:32:26 +03:00
|
|
|
@media screen and (max-width: 640px ) {
|
|
|
|
:root {
|
|
|
|
--video-container-height: 36vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (orientation: landscape) and (min-width: 1024px) {
|
|
|
|
:root {
|
|
|
|
--video-container-height: 65vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (orientation: landscape) and (max-width: 1024px) {
|
2020-06-18 10:06:10 +03:00
|
|
|
:root .landscape {
|
2020-06-16 09:32:26 +03:00
|
|
|
--video-container-height: 75vh;
|
|
|
|
}
|
2020-06-18 10:06:10 +03:00
|
|
|
.touch-screen.landscape #chat-container-wrap {
|
2020-06-16 09:32:26 +03:00
|
|
|
margin-top: calc(var(--header-height) + var(--video-container-height));
|
|
|
|
}
|
2020-06-18 10:06:10 +03:00
|
|
|
.touch-screen.landscape .user-content {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: block;
|
|
|
|
}
|
2020-06-18 10:06:10 +03:00
|
|
|
.touch-screen.landscape #chat-container {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2020-06-18 10:06:10 +03:00
|
|
|
.touch-screen.landscape #chat-toggle {
|
2020-06-16 09:32:26 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-06-18 06:20:28 +03:00
|
|
|
|