Files
watchparty/src/index.css
T

224 lines
4.8 KiB
CSS

body {
margin: 0 !important;
background-color: black;
transition: max-width ease-in-out 0.35s;
}
body.visible {
width: 65%;
}
body.visible .watch-party-fab {
right: 35% !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 */ {
max-width: 65% !important;
}
/* HULU MINIMIZED VIDEO */
body.hulu.visible #__player__ .Player__container.Player__container--modal {
right: calc(35% + 2rem) !important;
z-index: 99999 !important;
}
/* HULU & AMAZON PRIME FIX */
body.hulu #party-routes-wrapper,
body.amazon-prime #party-routes-wrapper {
width: 35% !important;
height: 100% !important;
}
/* 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(35% - 2rem);
right: -35%;
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(35% - 2rem) !important;
}
.party-notification-container .MuiPaper-root {
border-radius: 26px !important;
color: white;
background-color: black;
}
.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('/logo192.png'); */
background-image: url('chrome-extension://__MSG_@@extension_id__/logo192.png');
background-position: center;
background-repeat: no-repeat;
background-size: 2rem;
transition: all ease-in-out 0.3s !important;
}
.watch-party-fab:hover {
right: 1rem !important;
}
.watch-party-fab .fab-logo {
max-width: 65%;
max-height: 65%;
}
.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-all !important;
overflow: hidden !important;
padding-right: 1rem !important;
}
.room-title,
.brand-title {
padding-left: 3.5rem !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: center;
}
.party-chat-header-text {
flex: 1;
}
.party-control-button-text {
display: none;
}
.party-controls button:hover .party-control-button-text {
display: initial;
}