v1.2.0-beta/fix file structure
This commit is contained in:
@@ -0,0 +1,302 @@
|
||||
:root {
|
||||
--party-width: 350px;
|
||||
--neg-party-width: -350px;
|
||||
--body-width: calc(100% - var(--party-width));
|
||||
}
|
||||
body {
|
||||
margin: 0 !important;
|
||||
background-color: black;
|
||||
transition: max-width ease-in-out 0.35s;
|
||||
}
|
||||
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 input,
|
||||
body.amazon-prime textarea {
|
||||
background-color: inherit !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;
|
||||
}
|
||||
|
||||
@keyframes backgroundpulse {
|
||||
0% {
|
||||
background-color: black;
|
||||
color: red;
|
||||
}
|
||||
50% {
|
||||
background-color: red;
|
||||
color: black;
|
||||
}
|
||||
100% {
|
||||
background-color: black;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
#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;
|
||||
}
|
||||
#party-loading.inactive {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
animation-duration: 4s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: backgroundpulse;
|
||||
}
|
||||
#party-routes-wrapper {
|
||||
margin: 0;
|
||||
position: fixed;
|
||||
background-color: rgb(27, 27, 27);
|
||||
bottom: 0;
|
||||
width: calc(var(--party-width) - 2rem);
|
||||
right: var(--neg-party-width);
|
||||
transition: all ease-in-out 0.3s;
|
||||
height: calc(100% - 2rem);
|
||||
padding: 1rem;
|
||||
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 {
|
||||
border-radius: 26px !important;
|
||||
color: white;
|
||||
background-color: black;
|
||||
}
|
||||
@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: 2rem;
|
||||
animation-name: showbutton;
|
||||
animation-iteration-count: 1;
|
||||
animation-duration: 2s;
|
||||
transition: all ease-in-out 0.3s !important;
|
||||
}
|
||||
.watch-party-fab:hover {
|
||||
right: 1rem !important;
|
||||
}
|
||||
.watch-party-fab .fab-logo {
|
||||
max-width: 75%;
|
||||
max-height: 75%;
|
||||
}
|
||||
|
||||
.party-create-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
.party-create-container .brand-title {
|
||||
padding-top: 1.4rem !important;
|
||||
padding-left: 3.5rem !important;
|
||||
}
|
||||
.party-create-container .name-field {
|
||||
margin-bottom: 2rem !important;
|
||||
}
|
||||
.party-create-container .join-card {
|
||||
padding: 1rem !important;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.party-create-container .join-card .card-field {
|
||||
margin-bottom: 1rem !important;
|
||||
}
|
||||
.party-create-container .party-create-inputs {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.party-chat-container {
|
||||
display: flex;
|
||||
max-height: 100%;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.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 > div {
|
||||
border-radius: 26px;
|
||||
}
|
||||
.party-chat-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding-left: 2.25rem;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.party-controls button:hover .MuiButton-startIcon {
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.giphy-carousel img:hover {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
Reference in New Issue
Block a user