Files
watchparty/app/src/index.css
T
2020-08-28 00:42:59 -04:00

955 lines
21 KiB
CSS

/************************************************************************
Copyright (C) Ayushya Amitabh - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
Written by Ayushya Amitabh <admin@chromewatchparty.com>, 2020
https://www.chromewatchparty.com/copyright
=========================================================================
ALL CONTENT ON WATCH PARTY'S WEBSITE OR IN WATCH PARTY'S CHROME EXTENSION APP, UNLESS OTHERWISE
CITED ARE THE SOLE INTELECTUAL PROPERTY OF AYUSHYA AMITABH, AND MAY NOT BE
COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
Netflix logo is a trademark and intellectual property of Netflix, Inc.
Disney+ logo is a trademark and intellectual property of The Walt Disney Company
Prime logo is a trademark and intellectual property of Amazon.com, Inc.
YouTube logo is a trademark and intellectual property of Google, Inc.
Hulu logo is a trademark and intellectual property of Hulu, LLC.
HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia Direct,LLC.
************************************************************************/
:root {
--party-width: 425px;
--neg-party-width: -425px;
--body-width: calc(100% - var(--party-width));
}
body {
margin: 0 !important;
background-color: black;
transition: max-width ease-in-out 0.35s;
overflow-y: initial !important;
}
body.local {
background-color: white;
}
body.visible {
width: var(--body-width);
}
body.visible .watch-party-fab {
right: var(--party-width) !important;
transform: translateX(0);
top: 22.5px !important;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
background-color: #424242 !important;
box-shadow: none;
background-blend-mode: lighten;
}
body.visible .party-notification-container {
display: block !important;
max-width: var(--party-width);
}
#party-width-dragger {
display: none;
position: absolute;
padding: 15px 3.5px;
right: var(--party-width);
top: 50%;
background: #2d2d2d;
cursor: ew-resize;
font-size: 16px;
width: fit-content;
user-select: none;
transition: all ease-in-out 0.3s;
}
body.visible #party-width-dragger {
display: block;
}
body.hbo.visible #party-width-dragger {
display: none !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.googleplay.visible div.llhEMd.bYEzqc.LAhoGb.iWO5td, /* GOOGLE PLAY MOVIES */
body.apple.visible .container.takeover.show /* APPLE TV */ {
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);
}
body.youtube.visible ytd-miniplayer {
right: calc(var(--party-width) + 20px);
}
/* 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: 24px !important;
padding: 6px !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;
}
/* PEACOCK STYLING FIX */
body.peacock.visible .header-buttons {
max-width: calc(100% - calc(var(--party-width) + 50px));
}
body.peacock.visible #mount {
position: relative;
}
body.peacock.visible .playback-overlay__container.vod {
position: absolute;
max-width: 100%;
}
body.peacock.visible .playback-header__container {
position: relative;
max-width: 100%;
}
/* GOOGLE PLAY STYLING */
body.googleplay.visible {
-webkit-font-smoothing: initial !important;
}
body.googleplay.visible div.llhEMd.bYEzqc.LAhoGb.iWO5td > div.mjANdc.eEPege {
padding: 0 !important;
}
body.googleplay.visible
div.llhEMd.bYEzqc.LAhoGb.iWO5td
> div.mjANdc.eEPege
> div.LhXUod.XL54pf.J9Nfi.iWO5td,
body.googleplay.visible
div.llhEMd.bYEzqc.LAhoGb.iWO5td
> div
> div.LhXUod.XL54pf.J9Nfi.iWO5td
> span
> div
> div
> iframe {
min-height: 100%;
width: 100% !important;
height: 100% !important;
}
body.googleplay.visible
div.llhEMd.bYEzqc.LAhoGb.iWO5td
> div
> div.LhXUod.XL54pf.J9Nfi.iWO5td
> span
> div,
body.googleplay.visible
div.llhEMd.bYEzqc.LAhoGb.iWO5td
> div
> div.LhXUod.XL54pf.J9Nfi.iWO5td
> span
> div
> div {
height: 100%;
}
/* CRUNCHYROLL STYLING */
body.crunchyroll.visible #party-routes-wrapper input {
border: initial !important;
}
body.crunchyroll.visible header {
z-index: 0 !important;
}
body.crunchyroll.visible #showmedia_video {
position: fixed;
z-index: 99999;
width: calc(100% - var(--party-width));
background: black;
top: 0;
left: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
body.crunchyroll.visible #showmedia_video_box {
width: 100% !important;
height: 100% !important;
}
body.crunchyroll.visible #showmedia_video_player {
display: flex !important;
align-items: center !important;
}
body.crunchyroll.visible #vilos-player {
max-height: 42vw !important;
}
body.apple .thread-wrapper .ReactVirtualized__Grid__innerScrollContainer {
box-sizing: initial !important;
}
body.hulu #party_wrapper *,
body.peacock #party_wrapper *,
body.disney #party_wrapper *,
body.apple #party_wrapper * {
box-sizing: inherit;
}
#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 !important;
}
#party-loading.inactive .MuiSvgIcon-root {
font-size: 50px !important;
}
#party-loading.inactive {
flex-direction: column;
text-align: center;
padding: 2rem;
width: calc(100% - 4rem);
background: #424242;
height: calc(100% - 4rem);
white-space: break-spaces;
}
#party-loading.inactive .MuiTypography-overline {
font-size: 13px !important;
}
#party-loading.inactive .MuiTypography-caption {
font-size: 11px !important;
}
#party-routes-wrapper {
margin: 0;
position: fixed;
background-color: rgb(27, 27, 27);
bottom: 0;
right: var(--neg-party-width);
width: var(--party-width);
height: 100%;
color: white;
display: flex;
flex-direction: column;
z-index: 9999;
transition: all ease-in-out 0.3s !important;
}
#party-routes-wrapper.visible {
right: 0;
}
#party-routes-wrapper input {
box-sizing: content-box !important;
}
.party-notification-container {
z-index: 99999 !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;
top: calc(100% - 75px) !important;
right: -2rem !important;
border: 1px solid white;
background-color: black !important;
transition: all ease-in-out 0.3s !important;
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.watch-party-fab-hidden {
display: none;
}
.watch-party-fab:hover {
right: 0rem !important;
background-size: 90%;
}
.watch-party-fab .fab-logo {
max-width: 75%;
max-height: 75%;
}
.party-create-container {
display: flex;
flex-direction: column;
height: 100%;
max-height: 100% !important;
overflow-y: auto !important;
background: #424242;
padding: 0;
}
.party-create-container .brand-title {
font-size: 18px !important;
padding: 36px;
letter-spacing: 3.5px !important;
}
.party-create-container .create-input-card {
display: flex;
flex-direction: column;
padding: 2rem;
margin: 0;
flex: 1;
display: flex;
justify-content: center;
background: #424242;
box-shadow: none !important;
}
.create-input-card * {
font-size: 12px !important;
}
.party-create-container .create-input-card .create-mode-select {
margin-bottom: 36px;
}
.party-create-container .create-input-card .create-name,
.party-create-container .create-input-card .create-pin {
margin-bottom: 1rem;
}
.create-bottom-card {
background-color: #202020;
padding: 30px 15px;
display: flex;
justify-content: space-evenly;
}
.create-bottom-card * {
letter-spacing: 1.5px !important;
font-size: 11px;
color: #c0f300 !important;
}
.create-bottom-card a:hover {
color: #c0f300;
}
.room-title {
text-overflow: ellipsis !important;
word-break: break-word !important;
overflow: hidden !important;
padding-right: 1rem !important;
font-size: 18px !important;
}
textarea::-webkit-scrollbar {
display: none;
}
.chat-message-box {
flex: 1;
}
.chat-message-box > div {
border-radius: 26px;
background-color: #424242;
}
.chat-message-box .MuiFormHelperText-root {
font-size: 10px !important;
}
.chat-message-box textarea {
min-height: 12px !important;
font-size: 12px !important;
}
.party-chat-container {
display: flex;
max-height: 100%;
flex-direction: column;
flex: 1;
padding: 0 !important;
box-sizing: border-box !important;
}
.party-chat-header {
display: flex;
align-items: flex-start;
padding-left: 0;
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-chat-header-text .brand-title {
font-size: 10px;
}
.party-controls {
margin-top: 18px;
}
.party-controls .MuiButton-startIcon {
margin-right: 8px !important;
}
.party-control-button-text {
font-size: 10px !important;
transition: all ease-out 0.3s;
}
.party-controls-users-container {
max-height: 100px;
overflow-y: auto;
}
.party-controls-users-container::-webkit-scrollbar-thumb {
background-color: #c0f300 !important;
border-radius: 13px;
}
.party-controls-users-container::-webkit-scrollbar {
width: 5px;
}
.party-controls-users-title {
margin-top: 25px !important;
}
.party-controls-users-chip {
font-size: 11px !important;
letter-spacing: 1.1px !important;
margin-bottom: 3.5px !important;
margin-right: 7px !important;
}
.media-info-card {
width: 100%;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
padding: 0 24px !important;
padding-bottom: 12px !important;
box-sizing: border-box !important;
}
.media-info-card .MuiCardContent-root {
padding: 0 !important;
}
.party-controls-users-title,
.media-info-at {
font-size: 10px !important;
padding-left: 3px !important;
}
.media-info-container {
display: flex;
flex-direction: row;
}
.media-info-icon {
width: 2em !important;
height: 2em !important;
}
.media-info-right {
flex: 1;
padding-left: 1rem;
}
.media-info-right .show-name {
font-size: 12px;
line-height: 16px;
white-space: break-spaces !important;
}
.media-info-link {
color: inherit !important;
font-size: 10px !important;
}
.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;
margin: 0 15px 15px 15px;
margin-bottom: 0px;
border-radius: 26px;
}
.text-phone-panel .icon-button {
width: 15px !important;
height: 15px !important;
margin: 7.5px !important;
}
.text-phone-panel .gif-button.gif-close {
padding: 12px 0 !important;
max-height: 100%;
margin-left: -5px;
}
.text-phone-panel .gif-button {
border-radius: 0 !important;
height: 1.75em !important;
padding: 0 6px;
border-radius: 26px !important;
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.text-phone-panel .gif-button svg {
width: 32px !important;
height: 32px !important;
}
.text-phone-panel .gif-button.gif-close svg {
height: 25px !important;
width: 25px !important;
}
.MuiTooltip-popper {
z-index: 99999 !important;
}
.MuiTooltip-popper * {
font-size: 1rem !important;
}
.MuiFormControlLabel-root.notification-switch {
margin-top: 18px;
}
body.amazon-prime .notification-switch .MuiSwitch-thumb {
position: absolute !important;
top: 9px !important;
}
.notification-switch .MuiTypography-body1 {
font-size: 12px !important;
}
.share-textbox textarea {
font-size: 12px !important;
height: 34px !important;
line-height: 1.5 !important;
}
.share-textbox label {
font-size: 12px !important;
}
.alerts-container {
margin: 5px 0;
top: 0;
padding: 5px 0;
z-index: 999 !important;
background: #1b1b1b;
}
.alert-card {
border: none !important;
border-radius: 26px !important;
margin: 0px 10px !important;
margin-bottom: 5px !important;
}
.alert-card-content {
display: flex;
padding: 5px !important;
}
.alert-card-content p {
padding-left: 5px;
line-height: 1.5;
display: flex;
letter-spacing: 1.1px;
align-items: center;
font-size: 11px;
text-transform: uppercase;
flex: 1;
text-align: center !important;
justify-content: center;
max-width: 90% !important;
}
#mic-permission-overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: block;
background: rgba(0, 0, 0, 0.9);
z-index: 9999;
color: white;
font-size: 95px;
backdrop-filter: blur(10px);
}
#mic-highlight {
width: 320px;
height: 124px;
box-shadow: 0px 0px 520px #c0f300;
left: 107px;
position: absolute;
border: 2px solid #c0f300;
}
#mic-text {
width: 100%;
text-align: center;
font-size: 15px;
font-family: sans-serif;
text-transform: uppercase;
font-weight: 300;
letter-spacing: 1.5px;
position: absolute;
top: 50%;
}
.whats-new-button {
font-size: 14px !important;
letter-spacing: 1.75px !important;
font-weight: 300 !important;
color: black !important;
border-radius: 0 !important;
}
.MuiAutocomplete-popper {
z-index: 99999 !important;
}
.MuiAutocomplete-popper * {
color: white !important;
}
.admin-only-switch {
margin-bottom: 20px !important;
transition: all ease-in 0.3s !important;
height: 70px !important;
margin-top: 0 !important;
overflow: hidden;
opacity: 1;
}
.admin-only-switch.admin-only-switch-hidden {
height: 0 !important;
opacity: 0;
}
.replying-to-card {
display: flex !important;
padding: 15px 20px 500px 20px !important;
border: none !important;
border-top-left-radius: 26px !important;
border-top-right-radius: 26px !important;
margin-bottom: -554px !important;
opacity: 0 !important;
transition: all ease-in-out 0.3s !important;
}
.replying-to-card.replying-to-card-up {
margin-bottom: -480px !important;
opacity: 1 !important;
}
.replying-to-content {
flex: 1;
overflow: hidden;
}
.replying-to-content img {
max-height: 75px;
border-radius: 26px;
}
.replying-to-content p {
font-size: 11px;
letter-spacing: 1.2px;
font-weight: 100;
overflow: hidden;
position: relative;
white-space: nowrap;
max-width: 100%;
text-overflow: ellipsis;
}
.replying-to-card button {
align-self: flex-start;
}
.giphy-wrapper.giphy-wrapper-down {
padding-top: 30px;
margin-bottom: -350px;
}
.giphy-wrapper.giphy-wrapper-down .giphy-list-wrapper {
overflow: hidden;
}
.giphy-wrapper {
padding-top: 0px;
transition: all ease-in-out 0.3s;
position: relative;
box-sizing: content-box !important;
}
.giphy-list-wrapper {
max-height: 350px !important;
overflow-y: auto !important;
overflow-x: hidden;
padding: 15px;
}
.giphy-list-wrapper > div {
box-sizing: border-box !important;
}
.thread-wrapper::-webkit-scrollbar,
.giphy-list-wrapper::-webkit-scrollbar {
width: 5px;
background-color: transparent;
transition: all ease-in-out 0.3s;
}
.thread-wrapper::-webkit-scrollbar:hover,
.giphy-list-wrapper::-webkit-scrollbar:hover {
background-color: #424242;
}
.thread-wrapper::-webkit-scrollbar-track,
.giphy-list-wrapper::-webkit-scrollbar-track {
background-color: transparent;
}
.thread-wrapper::-webkit-scrollbar-thumb,
.giphy-list-wrapper::-webkit-scrollbar-thumb {
background-color: #bef300ad;
border-radius: 26px !important;
}
.thread-wrapper::-webkit-scrollbar-thumb:hover,
.giphy-list-wrapper::-webkit-scrollbar-thumb:hover {
background-color: #c0f300;
}
.giphy-search-form {
height: 0;
width: 0;
overflow: hidden;
}
button.giphy-list-item {
display: inline-block;
position: relative !important;
height: fit-content;
vertical-align: top;
top: unset !important;
overflow: hidden;
background: unset !important;
left: unset !important;
cursor: pointer;
outline: none !important;
border: none !important;
opacity: 0.3;
transition: all ease-in-out 0.3s;
width: 50%;
max-width: 200px;
max-height: 100px !important;
}
.giphy-list-item:hover {
opacity: 1;
max-height: none !important;
}
.giphy-list-item img {
height: 100%;
margin: 5px;
width: 100%;
max-width: 100%;
}
.giphy-wrapper > div:nth-child(3) {
position: absolute;
bottom: 0;
color: black;
padding: 5px 15px;
padding-right: 25px;
border-top-right-radius: 26px;
padding-top: 15px;
border-top: 1px solid gray;
border-right: 1px solid gray;
backdrop-filter: blur(10px);
background-color: rgba(255, 255, 255, 0.2);
transition: all ease-in-out 0.3s;
}
.giphy-wrapper > div:nth-child(3):hover {
background-color: white;
}
.giphy-wrapper > div:nth-child(3) > img {
filter: invert(1);
vertical-align: unset;
max-height: 20px;
filter: drop-shadow(0px 0px 0px black);
mix-blend-mode: darken;
border: none;
}
.giphy-wrapper > .giphy-list-wrapper > div > div:nth-child(1) {
width: 100% !important;
}
.create-settings-card {
margin: 0 !important;
}
.create-settings-card .create-settings-title {
margin-left: 15px !important;
}
.create-settings-card .MuiExpansionPanelDetails-root {
flex-direction: column !important;
}
.create-settings-card button {
font-size: 12px !important;
margin-top: 25px !important;
text-align: center !important;
}
.alerts-stepper-container {
position: relative;
width: 100%;
}
.alerts-stepper-card {
margin-bottom: 15px;
border-radius: 26px !important;
background: #202020 !important;
}
.alerts-stepper-card span {
font-size: 11px !important;
}
.alerts-stepper-card p {
font-size: 14px !important;
}
.alerts-stepper-card .MuiCardActions-root {
padding-left: 0 !important;
padding-right: 0 !important;
padding-bottom: 0 !important;
}
.alerts-stepper-card .MuiCardActions-root a {
flex: 1;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
border-bottom-left-radius: 26px !important;
border-bottom-right-radius: 26px !important;
padding: 10px;
color: #c0f300 !important;
}
.alerts-stepper-controls {
position: relative !important;
background: transparent !important;
}
.alerts-stepper-controls .MuiMobileStepper-dot.MuiMobileStepper-dotActive {
background-color: #c0f300 !important;
}
.alerts-stepper-controls button {
margin-top: 0 !important;
padding: 5px !important;
}
.party-controls-users-volume {
min-width: 150px !important;
}
.party-controls-users-volume .MuiGrid-root.MuiGrid-item {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
.watch-party-tutorial {
z-index: 9999 !important;
height: 0;
}
.watch-party-tutorial .MuiPaper-root.MuiPopover-paper {
padding: 20px;
max-width: min-content;
max-height: none;
}
.tutorial-stepper {
position: relative !important;
min-width: 400px !important;
background: none !important;
}
.tutorial-content {
padding: 15px 10px;
}
.tutorial-content h6 {
font-size: 14px;
color: #c0f300;
letter-spacing: 2.5px;
font-weight: bold;
text-transform: uppercase;
}
.tutorial-content p {
font-size: 12px;
}
#resize-demo {
padding: 10px;
border-radius: 20px;
background: #2c2c2c;
display: block;
width: 20px;
height: 20px;
text-align: center;
float: right;
}