376 lines
8.3 KiB
CSS
376 lines
8.3 KiB
CSS
:root {
|
|
--party-width: 400px;
|
|
--neg-party-width: -400px;
|
|
--body-width: calc(100% - var(--party-width));
|
|
}
|
|
body {
|
|
margin: 0 !important;
|
|
background-color: black;
|
|
transition: max-width ease-in-out 0.35s;
|
|
}
|
|
body.local {
|
|
background-color: white;
|
|
}
|
|
body.visible {
|
|
width: var(--body-width);
|
|
}
|
|
body.visible .watch-party-fab {
|
|
right: var(--party-width) !important;
|
|
transform: translateX(50%);
|
|
top: 1.5rem;
|
|
}
|
|
body.visible .party-notification-container {
|
|
display: block !important;
|
|
}
|
|
|
|
body.netflix.visible .AkiraPlayer, /* NETFLIX */
|
|
body.hulu.visible .Player__container,/* HULU */
|
|
body.amazon-prime.visible #dv-web-player.dv-player-fullscreen, /* AMAZON PRIME */
|
|
body.disney.visible #hudson-wrapper, /* DISNEY */
|
|
body.youtube.visible #content.ytd-app, /* YOUTUBE */
|
|
body.youtube.visible #masthead-container, /* YOUTUBE HEADER */
|
|
body.hbo.visible video.default {
|
|
max-width: var(--body-width) !important;
|
|
}
|
|
/* HULU MINIMIZED VIDEO */
|
|
body.hulu.visible #__player__ .Player__container.Player__container--modal {
|
|
right: calc(var(--party-width) + 2rem) !important;
|
|
z-index: 99999 !important;
|
|
}
|
|
/* HULU, DISNEY & AMAZON PRIME FIX */
|
|
body.disney #party-routes-wrapper,
|
|
body.hulu #party-routes-wrapper,
|
|
body.amazon-prime #party-routes-wrapper {
|
|
width: var(--party-width) !important;
|
|
height: 100% !important;
|
|
}
|
|
/* DISNEY FULL SCREEN VIDEO FIX */
|
|
body.disney #hudson-wrapper {
|
|
left: 0;
|
|
}
|
|
/* YOUTUBE VIDEO SIZING FIX */
|
|
body.youtube.visible video {
|
|
max-width: 100%;
|
|
height: auto !important;
|
|
}
|
|
body.youtube.visible .ytp-chrome-bottom {
|
|
max-width: 100% !important;
|
|
width: calc(100% - 24px) !important;
|
|
}
|
|
body.youtube.visible .ytp-chapter-hover-container {
|
|
max-width: 100% !important;
|
|
}
|
|
body.youtube.visible .ytp-tooltip.ytp-bottom.ytp-preview {
|
|
bottom: 100px !important;
|
|
top: unset !important;
|
|
}
|
|
body.youtube.visible td-two-column-browse-results-renderer.grid:not(.grid-disabled) {
|
|
max-width: calc(100% - 48px);
|
|
}
|
|
/* AMAZON STYLING FIX */
|
|
body.amazon-prime #party-routes-wrapper input,
|
|
body.amazon-prime #party-routes-wrapper textarea {
|
|
background-color: transparent !important;
|
|
border: initial !important;
|
|
box-shadow: none !important;
|
|
}
|
|
body.amazon-prime input.MuiInputBase-input {
|
|
height: 1.1876em !important;
|
|
padding: 6px 0 7px !important;
|
|
}
|
|
body.amazon-prime input.MuiFilledInput-inputAdornedEnd {
|
|
padding-right: 0 !important;
|
|
}
|
|
body.amazon-prime input.MuiFilledInput-input {
|
|
padding: 27px 12px 10px !important;
|
|
}
|
|
body.amazon-prime input:focus,
|
|
body.amazon-prime textarea:focus {
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
#party-loading {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9999;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
display: flex;
|
|
top: 0;
|
|
left: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: content-box;
|
|
}
|
|
#party-loading.inactive {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding: 2rem;
|
|
width: calc(100% - 4rem);
|
|
height: calc(100% - 4rem);
|
|
white-space: break-spaces;
|
|
}
|
|
#party-loading.inactive .MuiTypography-overline {
|
|
font-size: 1.1rem !important;
|
|
}
|
|
#party-loading.inactive .MuiTypography-caption {
|
|
font-size: 1rem !important;
|
|
}
|
|
#party-routes-wrapper {
|
|
margin: 0;
|
|
position: fixed;
|
|
background-color: rgb(27, 27, 27);
|
|
bottom: 0;
|
|
right: var(--neg-party-width);
|
|
transition: all ease-in-out 0.3s;
|
|
width: var(--party-width);
|
|
height: 100%;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 9999;
|
|
}
|
|
#party-routes-wrapper.visible {
|
|
right: 0;
|
|
}
|
|
.party-notification-container {
|
|
z-index: 99999 !important;
|
|
display: none !important;
|
|
bottom: 0.8rem !important;
|
|
right: 1rem !important;
|
|
width: calc(var(--party-width) - 2rem) !important;
|
|
}
|
|
.party-notification-container .MuiPaper-root {
|
|
color: white;
|
|
background-color: black;
|
|
font-size: 1rem !important;
|
|
}
|
|
@keyframes showbutton {
|
|
0% {
|
|
right: 1rem;
|
|
}
|
|
50% {
|
|
transform: scale(5) translateX(-100%) translateY(-100%);
|
|
}
|
|
100% {
|
|
right: -1rem;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
.watch-party-fab {
|
|
z-index: 9999;
|
|
position: fixed !important;
|
|
bottom: 1rem !important;
|
|
right: -2rem !important;
|
|
border: 1px solid white;
|
|
background-color: black !important;
|
|
/* background-image: url('/android-icon-192x192.png'); */
|
|
background-image: url('chrome-extension://__MSG_@@extension_id__/android-icon-192x192.png');
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 75%;
|
|
animation-name: showbutton;
|
|
animation-iteration-count: 1;
|
|
animation-duration: 2s;
|
|
transition: all ease-in-out 0.3s !important;
|
|
}
|
|
.watch-party-fab:hover {
|
|
right: 0rem !important;
|
|
background-size: 90%;
|
|
}
|
|
.watch-party-fab .fab-logo {
|
|
max-width: 75%;
|
|
max-height: 75%;
|
|
}
|
|
|
|
.party-create-container {
|
|
padding: 3.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
.party-create-container .create-input-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2rem;
|
|
margin: auto 0;
|
|
}
|
|
.party-create-container .create-input-card .create-mode-select,
|
|
.party-create-container .create-input-card .create-name,
|
|
.party-create-container .create-input-card .create-pin {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.party-create-container .create-input-card {
|
|
background-color: #2d2d2d;
|
|
}
|
|
|
|
.thread-container {
|
|
max-height: 100%;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
margin-bottom: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
.room-title {
|
|
text-overflow: ellipsis !important;
|
|
word-break: break-word !important;
|
|
overflow: hidden !important;
|
|
padding-right: 1rem !important;
|
|
}
|
|
.thread-container::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
.thread-container::-webkit-scrollbar-track {
|
|
background-color: rgb(90, 90, 90);
|
|
border-radius: 1rem;
|
|
}
|
|
.thread-container::-webkit-scrollbar-thumb {
|
|
background-color: rgb(118, 182, 255);
|
|
border-radius: 13px;
|
|
}
|
|
textarea::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.chat-message-box {
|
|
flex: 1;
|
|
}
|
|
.chat-message-box > div {
|
|
border-radius: 26px;
|
|
}
|
|
|
|
.party-chat-container {
|
|
display: flex;
|
|
max-height: 100%;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
padding: 2rem;
|
|
padding-bottom: 1rem;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.party-chat-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding-left: 1rem;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.party-chat-header .expander {
|
|
flex: 1;
|
|
width: 100%;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
.party-chat-header .expander .MuiExpansionPanelDetails-root {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.party-chat-header-text {
|
|
flex: 1;
|
|
}
|
|
.party-controls {
|
|
margin-top: 2rem;
|
|
}
|
|
.party-controls .MuiButton-startIcon {
|
|
margin-right: 0px !important;
|
|
}
|
|
.party-control-button-text {
|
|
display: none;
|
|
}
|
|
.party-controls button:hover .party-control-button-text {
|
|
display: initial;
|
|
font-size: 1rem !important;
|
|
}
|
|
.party-controls button:hover .MuiButton-startIcon {
|
|
margin-right: 8px !important;
|
|
}
|
|
|
|
.media-info-card {
|
|
width: 100%;
|
|
border-top-left-radius: 0 !important;
|
|
border-top-right-radius: 0 !important;
|
|
padding: 0 2rem !important;
|
|
padding-bottom: 1rem !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
.media-info-card .MuiCardContent-root {
|
|
padding: 0 !important;
|
|
}
|
|
.media-info-at {
|
|
font-size: 1rem !important;
|
|
padding-left: 3px !important;
|
|
}
|
|
.media-info-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.media-info-icon {
|
|
width: 3.5rem !important;
|
|
height: 3.5rem !important;
|
|
}
|
|
.media-info-right {
|
|
flex: 1;
|
|
padding-left: 1rem;
|
|
}
|
|
.media-info-right .show-name {
|
|
font-size: 1.2rem;
|
|
line-height: 1.75rem;
|
|
white-space: break-spaces !important;
|
|
}
|
|
.media-info-link {
|
|
color: inherit !important;
|
|
}
|
|
|
|
.giphy-carousel::before {
|
|
position: relative;
|
|
bottom: 40%;
|
|
content: url('./Giphy.png');
|
|
}
|
|
.giphy-carousel {
|
|
margin-top: 1rem;
|
|
min-height: fit-content;
|
|
}
|
|
.giphy-carousel img {
|
|
border-radius: 1rem;
|
|
transform: scale(0.85);
|
|
transition: all ease-in-out 0.2s;
|
|
opacity: 0.7;
|
|
}
|
|
.giphy-carousel img:hover {
|
|
opacity: 1;
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.giphy-carousel::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
.giphy-carousel::-webkit-scrollbar-track {
|
|
background-color: rgb(90, 90, 90);
|
|
border-radius: 1rem;
|
|
}
|
|
.giphy-carousel::-webkit-scrollbar-thumb {
|
|
background-color: rgb(118, 182, 255);
|
|
border-radius: 13px;
|
|
}
|
|
.message-send svg {
|
|
transform: scale(0.55);
|
|
transition: all ease 0.5s !important;
|
|
}
|
|
.message-active svg {
|
|
transform: rotate(-90deg) scale(0.75);
|
|
}
|
|
.message-send.gif-active {
|
|
display: none !important;
|
|
}
|
|
.text-phone-panel {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.MuiTooltip-popper {
|
|
z-index: 99999 !important;
|
|
}
|
|
.MuiTooltip-popper * {
|
|
font-size: 1rem !important;
|
|
}
|