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);
|
2022-03-18 23:33:23 +03:00
|
|
|
--header-bg-color: rgba(20, 0, 40, 1);
|
2020-08-24 05:06:58 +03:00
|
|
|
--user-image-width: 10em;
|
2022-01-13 00:53:10 +03:00
|
|
|
|
|
|
|
--novideo-container-height: 16em;
|
|
|
|
|
|
|
|
--owncast-purple: rgba(120, 113, 255, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-video,
|
|
|
|
.single-col.no-video {
|
|
|
|
--video-container-height: var(--novideo-container-height);
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
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] {
|
2022-03-18 23:33:23 +03:00
|
|
|
opacity: 0.5;
|
2020-08-24 05:37:06 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2022-04-21 08:21:02 +03:00
|
|
|
.chat-menu-options li button {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
border-radius: .25rem;
|
|
|
|
padding: .5rem .3rem;
|
|
|
|
color: #dbdbdb;
|
|
|
|
animation: fadeIn 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-view li button {
|
|
|
|
animation: slideInRight 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-menu-options li button:hover {
|
|
|
|
background-color: var(--owncast-purple);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-24 05:06:58 +03:00
|
|
|
#chat-toggle {
|
|
|
|
min-width: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-info-change {
|
2022-04-21 08:21:02 +03:00
|
|
|
background-color: transparent;
|
2020-08-24 05:06:58 +03:00
|
|
|
}
|
|
|
|
|
2021-03-16 01:32:52 +03:00
|
|
|
.external-action-button {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
.external-action-button:hover {
|
2022-01-13 00:53:10 +03:00
|
|
|
box-shadow: var(--owncast-purple) 0px 0px 5px;
|
2021-03-16 01:32:52 +03:00
|
|
|
}
|
|
|
|
.external-action-icon {
|
2022-03-18 23:33:23 +03:00
|
|
|
margin: 0.25em 0.5em 0.25em 0;
|
2021-03-16 01:32:52 +03:00
|
|
|
}
|
|
|
|
.external-action-icon img {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
}
|
|
|
|
.external-action-label {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2022-01-13 00:53:10 +03:00
|
|
|
#fediverse-follow-button-container .external-action-button {
|
|
|
|
border: 2px solid var(--owncast-purple);
|
|
|
|
}
|
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 {
|
2022-03-18 23:33:23 +03:00
|
|
|
transition: opacity 0.5s;
|
2020-08-24 05:06:58 +03:00
|
|
|
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 ***************************** */
|
2021-07-20 05:22:29 +03:00
|
|
|
.chat-disabled #user-options-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-08-24 05:06:58 +03:00
|
|
|
|
2021-07-20 05:22:29 +03:00
|
|
|
.chat-disabled footer,
|
|
|
|
.chat-hidden footer {
|
2020-08-24 05:06:58 +03:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2022-01-13 00:53:10 +03:00
|
|
|
.user-content-header {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-08-24 13:30:42 +03:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2021-06-21 03:15:52 +03:00
|
|
|
/* display `send` button on mobile */
|
2022-03-18 23:33:23 +03:00
|
|
|
.touch-screen #send-message-button {
|
2021-06-21 03:15:52 +03:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-08-24 13:30:42 +03:00
|
|
|
/* *********** 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 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-08-27 22:25:46 +03:00
|
|
|
|
|
|
|
.single-col.chat #video-container,
|
2021-07-20 05:22:29 +03:00
|
|
|
.single-col.chat-disabled #video-container,
|
|
|
|
.single-col.chat-hidden #video-container,
|
2020-08-27 22:25:46 +03:00
|
|
|
.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;
|
2022-01-13 00:53:10 +03:00
|
|
|
justify-content: flex-start;
|
2020-08-24 13:30:42 +03:00
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2022-01-13 00:53:10 +03:00
|
|
|
.single-col .user-logo-icons {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-end;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.single-col.use-fediverse-follow.user-logo-icons {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.single-col .social-list {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.single-col .social-actions {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
.single-col .follow-icon-list {
|
2022-03-18 23:33:23 +03:00
|
|
|
justify-content: flex-start;
|
2022-01-13 00:53:10 +03:00
|
|
|
}
|
|
|
|
.single-col.use-fediverse-follow #fediverse-button-singlecol {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.single-col #external-actions-container {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2022-04-17 22:15:11 +03:00
|
|
|
.single-col #notify-button-popup {
|
2022-04-17 21:59:05 +03:00
|
|
|
left: 0px;
|
|
|
|
}
|
2022-04-17 22:15:11 +03:00
|
|
|
.single-col #notify-button-popup::before {
|
2022-04-17 21:59:05 +03:00
|
|
|
left: 24px;
|
|
|
|
right: auto;
|
|
|
|
}
|
2022-01-13 00:53:10 +03:00
|
|
|
|
2020-09-22 06:11:09 +03:00
|
|
|
@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;
|
|
|
|
}
|
|
|
|
}
|
2022-01-13 00:53:10 +03:00
|
|
|
/* ************************************************ */
|
2020-08-24 05:06:58 +03:00
|
|
|
|
2022-01-13 00:53:10 +03:00
|
|
|
.no-video #video-container {
|
|
|
|
min-height: var(--video-container-height);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
#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-display {
|
2022-04-21 08:21:02 +03:00
|
|
|
max-width: none;
|
2021-02-28 03:39:19 +03:00
|
|
|
}
|
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
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
|
|
|
|
/**************************
|
|
|
|
Basic Modal Styles
|
|
|
|
**************************/
|
|
|
|
/*
|
|
|
|
External modal styling for use with Micromodal from https://gist.github.com/ghosh/4f94cf497d7090359a5c9f81caf60699
|
|
|
|
See external-action-modal.js
|
|
|
|
*/
|
|
|
|
.modal {
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2022-03-18 23:33:23 +03:00
|
|
|
background: rgba(0, 0, 0, 0.75);
|
2021-06-21 03:23:39 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__container {
|
2022-01-13 00:53:10 +03:00
|
|
|
position: relative;
|
2021-06-21 03:23:39 +03:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0px;
|
2022-03-18 23:33:23 +03:00
|
|
|
max-width: 780px;
|
|
|
|
width: 60%;
|
2021-06-21 03:23:39 +03:00
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2022-01-14 07:39:35 +03:00
|
|
|
|
2022-01-21 01:31:53 +03:00
|
|
|
@media screen and (max-width: 700px) {
|
2022-01-14 07:39:35 +03:00
|
|
|
.modal__container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-21 03:23:39 +03:00
|
|
|
.modal__close {
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
outline: none;
|
2022-03-18 23:33:23 +03:00
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
.modal__close:before {
|
|
|
|
content: '\2715';
|
|
|
|
font-size: 1.25rem;
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@supports (display: flex) {
|
2022-03-18 23:33:23 +03:00
|
|
|
.modal__header {
|
2021-06-21 03:23:39 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2022-03-18 23:33:23 +03:00
|
|
|
height: initial;
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
.modal__title {
|
2022-03-18 23:33:23 +03:00
|
|
|
position: static;
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
.modal__close {
|
2022-03-18 23:33:23 +03:00
|
|
|
position: static;
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************************
|
|
|
|
Modal Animation Style
|
|
|
|
**************************/
|
2022-04-21 08:21:02 +03:00
|
|
|
.fadeIn {
|
|
|
|
animation: mmfadeIn 150ms forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeOut {
|
|
|
|
animation: mmfadeOut 150ms forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInTop {
|
|
|
|
animation: mmslideIn 150ms forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideOutBottom {
|
|
|
|
animation: mmslideOut 150ms forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInLeft {
|
|
|
|
animation: mmslideInLeft 150ms forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slideInRight {
|
|
|
|
animation: mmslideInRight 150ms forwards;
|
|
|
|
}
|
|
|
|
|
2021-06-21 03:23:39 +03:00
|
|
|
|
|
|
|
@keyframes mmfadeIn {
|
2022-03-18 23:33:23 +03:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmfadeOut {
|
2022-03-18 23:33:23 +03:00
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
2022-04-21 08:21:02 +03:00
|
|
|
|
|
|
|
@keyframes mmslideInRight {
|
|
|
|
from {
|
|
|
|
transform: translateX(15%);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmslideInLeft {
|
|
|
|
from {
|
|
|
|
transform: translateX(-15%);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-21 03:23:39 +03:00
|
|
|
@keyframes mmslideIn {
|
2022-03-18 23:33:23 +03:00
|
|
|
from {
|
|
|
|
transform: translateY(15%);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mmslideOut {
|
2022-03-18 23:33:23 +03:00
|
|
|
from {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateY(-10%);
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal-slide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal-slide.is-open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
.micromodal-slide[aria-hidden='false'] .modal__overlay {
|
|
|
|
animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
.micromodal-slide[aria-hidden='false'] .modal__container {
|
|
|
|
animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
.micromodal-slide[aria-hidden='true'] .modal__overlay {
|
|
|
|
animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
.micromodal-slide[aria-hidden='true'] .modal__container {
|
|
|
|
animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
|
2021-06-21 03:23:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.micromodal-slide .modal__container,
|
|
|
|
.micromodal-slide .modal__overlay {
|
|
|
|
will-change: transform;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Miromodal mobile styling */
|
2022-03-18 23:33:23 +03:00
|
|
|
@media only screen and (min-device-width: 600px) and (max-device-width: 480px) {
|
|
|
|
.modal__container {
|
|
|
|
width: 90% !important;
|
|
|
|
min-width: 90% !important;
|
|
|
|
}
|
|
|
|
@supports (display: flex) {
|
|
|
|
.modal__container {
|
|
|
|
width: 90% !important;
|
|
|
|
min-width: 90% !important;
|
2021-06-21 03:23:39 +03:00
|
|
|
height: 85vh;
|
2022-03-18 23:33:23 +03:00
|
|
|
}
|
|
|
|
}
|
2021-06-21 03:23:39 +03:00
|
|
|
.modal__content {
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
|
|
|
}
|
2022-01-13 00:53:10 +03:00
|
|
|
|
|
|
|
/**************************
|
|
|
|
Tab Bar Base Styles
|
|
|
|
**************************/
|
2022-03-18 23:33:23 +03:00
|
|
|
.tab-bar [role='tab'] {
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border-radius: 0.25rem 0.25rem 0 0;
|
2022-01-13 00:53:10 +03:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-03-18 23:33:23 +03:00
|
|
|
.tab-bar [role='tab']:hover {
|
|
|
|
background-color: rgba(255, 255, 255, 0.35);
|
2022-01-13 00:53:10 +03:00
|
|
|
}
|
2022-03-18 23:33:23 +03:00
|
|
|
.tab-bar [role='tab'][aria-selected='true'] {
|
2022-01-13 00:53:10 +03:00
|
|
|
color: var(--owncast-purple);
|
|
|
|
background-color: white;
|
|
|
|
}
|
2022-03-18 23:33:23 +03:00
|
|
|
.tab-bar [role='tabpanel'] {
|
2022-01-13 00:53:10 +03:00
|
|
|
padding: 1rem 0;
|
|
|
|
border-top: 1px solid var(--header-bg-color);
|
|
|
|
min-height: 15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.follower {
|
|
|
|
width: 20vw;
|
2022-03-18 23:33:23 +03:00
|
|
|
max-width: 300px;
|
2022-01-13 00:53:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.following-list-follower {
|
2022-01-25 01:24:43 +03:00
|
|
|
width: 280px;
|
2022-01-13 00:53:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#follow-loading-spinner-container {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
#follow-loading-spinner {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
2022-01-25 01:24:43 +03:00
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
/* CHECKBOX TOGGLE SWITCH */
|
|
|
|
/* @apply rules for documentation, these do not work as inline style */
|
|
|
|
.toggle-checkbox:checked {
|
|
|
|
/* @apply: right-0 #5A67D8; */
|
|
|
|
left: 63%;
|
|
|
|
/* border-color:var(--owncast-purple); */
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle:checked {
|
|
|
|
background-color: var(--owncast-purple);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-checkbox:checked + .toggle-label {
|
|
|
|
outline: 1px solid var(--owncast-purple);
|
|
|
|
}
|
|
|
|
|
|
|
|
#browser-push-preview-box {
|
|
|
|
outline-offset: 10px;
|
|
|
|
outline: 2px dashed #acafb4;
|
|
|
|
box-shadow: 2px 6px 7px 0px #87898d;
|
|
|
|
}
|
|
|
|
|
|
|
|
#push-notification-arrow {
|
|
|
|
position: relative;
|
|
|
|
-webkit-animation: cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
|
|
|
|
-webkit-animation-name: left-right-bounce;
|
|
|
|
-webkit-animation-duration: 1.5s;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes left-right-bounce {
|
|
|
|
0% {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
left: -6px;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-17 22:15:11 +03:00
|
|
|
#notify-button-container #notify-button-popup {
|
2022-03-18 23:33:23 +03:00
|
|
|
position: absolute;
|
2022-04-17 21:59:05 +03:00
|
|
|
background-color: var(--owncast-purple);
|
2022-04-17 22:47:07 +03:00
|
|
|
z-index: 50;
|
2022-04-17 21:59:05 +03:00
|
|
|
right: 0px;
|
|
|
|
min-width: 14rem;
|
2022-04-19 09:46:12 +03:00
|
|
|
bottom: calc(100% + 0.5rem);
|
2022-04-17 21:59:05 +03:00
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(0%);
|
2022-04-21 08:21:02 +03:00
|
|
|
animation: mmfadeIn 300ms forwards;
|
2022-04-17 21:59:05 +03:00
|
|
|
animation-delay: 1s;
|
|
|
|
}
|
|
|
|
|
2022-03-18 23:33:23 +03:00
|
|
|
#notify-button-container .external-action-icon {
|
|
|
|
margin: 0.25em 0.5em 0.25em 0.5em;
|
|
|
|
}
|
|
|
|
|
2022-04-17 22:15:11 +03:00
|
|
|
#notify-button-container button {
|
|
|
|
border-color: #b8bbc2;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
2022-04-17 21:59:05 +03:00
|
|
|
|
2022-04-17 22:15:11 +03:00
|
|
|
#notify-button-popup::before {
|
2022-04-17 21:59:05 +03:00
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
2022-04-19 09:46:12 +03:00
|
|
|
content: '';
|
2022-04-17 21:59:05 +03:00
|
|
|
right: 1.5rem;
|
|
|
|
top: 100%;
|
|
|
|
border-style: solid;
|
2022-04-19 09:46:12 +03:00
|
|
|
border-width: 0.5rem 0.5rem 0rem;
|
2022-04-17 21:59:05 +03:00
|
|
|
border-color: var(--owncast-purple) transparent transparent;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
transition-property: transform;
|
|
|
|
}
|
|
|
|
|
2022-04-17 22:15:11 +03:00
|
|
|
#notify-button-popup .popout-close-button {
|
|
|
|
border-style: none;
|
2022-03-18 23:33:23 +03:00
|
|
|
}
|