Full Reset
This commit is contained in:
871
css/app.css
871
css/app.css
@@ -1,871 +0,0 @@
|
||||
/* Basic reset and styling */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sn-notify-outline { --sn-notify-background-color: #27272a; }
|
||||
.sn-notify-outline .sn-notify-title { --sn-notify-title-color: #FFFFFF; }
|
||||
.sn-notify-outline .sn-notify-text { --sn-notify-text-color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* Full-page container styling */
|
||||
html {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
font-family: "Inter", sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
#container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.wrapper {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
#chat {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column-reverse; /* conteúdo começa no fundo */
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
scrollbar-color: #555 #1e1e1e;
|
||||
}
|
||||
|
||||
#chat.noscrollbar {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
#chat::-webkit-scrollbar { width: 8px; }
|
||||
#chat::-webkit-scrollbar-track { background: #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb { background-color: #555; border-radius: 4px; border: 2px solid #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb:hover { background-color: #777; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message {
|
||||
position: relative;
|
||||
color: #FFF;
|
||||
font-size: 18px;
|
||||
line-height: 150%;
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0.75);
|
||||
transition: all ease-in-out 300ms;
|
||||
margin: 5px 0;
|
||||
padding-bottom: 4px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#chat .message:not(.event):hover {
|
||||
background: #1a1a1a;
|
||||
}
|
||||
|
||||
#chat .message img {
|
||||
height: 22px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#chat .message.bigger-emojis img.emote {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
#chat .message .text img.gigantify {
|
||||
height: 84px !important;
|
||||
display: block;
|
||||
margin: 10px 0 5px 0;
|
||||
}
|
||||
|
||||
#chat .message .user { font-weight: bold; }
|
||||
|
||||
#chat .message .user .pronouns {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
color: #FFF;
|
||||
background: rgba(0,0,0,0.5);
|
||||
|
||||
|
||||
margin: 0 5px;
|
||||
padding: 5px 7px;
|
||||
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#chat .message .time {
|
||||
display: inline-block;
|
||||
background: rgba(0,0,0,0.5);
|
||||
font-size: 12px;
|
||||
padding: 0px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#chat .message .avatar {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 2px 0px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
overflow: hidden;
|
||||
border-radius: 100px;
|
||||
transform: translateY(11px);
|
||||
}
|
||||
|
||||
#chat .message .avatar img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
#chat .message .platform {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.25));
|
||||
transform: translateY(6px);
|
||||
}
|
||||
|
||||
#chat .message .badges i {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #000;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 12px;
|
||||
border-radius: 5px;
|
||||
margin: 0 5px 0 0;
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
#chat .message .reply {
|
||||
max-width: 100%;
|
||||
flex-basis: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#chat .message .reply i {
|
||||
transform: rotate(90deg);
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
|
||||
#chat .message .shared {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
text-shadow: none;
|
||||
font-size: 14px;
|
||||
margin: 10px 0 -5px 0;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#chat .message .shared i {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.event {
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0.25);
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.event .platform {
|
||||
transform: translateY(0px);
|
||||
margin: 0px 5px 0 0;
|
||||
}
|
||||
|
||||
#chat .message.event > div {
|
||||
padding: 5px 15px 5px 5px;
|
||||
margin: 2px 0 0 0;
|
||||
border-radius: 5px;
|
||||
background: rgba(0,0,0,0.15);
|
||||
display: inline-flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
#chat .message:not(.event) > div {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.twitch .shared span {
|
||||
display: inline-block;
|
||||
border-radius: 5px;
|
||||
padding: 2px 10px 2px 5px;
|
||||
background: rgba(169,112,255,0.85);
|
||||
background: linear-gradient(180deg, rgba(169,112,255,0.85) 0%, rgba(95,67,138,0.85) 100%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.twitch.first-message > div {
|
||||
background: rgba(18,18,18,0.5);
|
||||
background: linear-gradient(180deg, rgba(18,18,18,0.5) 1%, rgba(0,0,0,0.5) 100%);
|
||||
padding: 0px 15px 13px 15px;
|
||||
border-radius: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#chat .message.twitch.first-message > div .first-chatter {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.twitch .badges img { margin: 0 2px; }
|
||||
#chat .message.twitch.event > div {
|
||||
background: rgba(169,112,255,0.85);
|
||||
background: linear-gradient(180deg, rgba(169,112,255,0.85) 0%, rgba(95,67,138,0.85) 100%);
|
||||
}
|
||||
|
||||
#chat .message.twitch.announcement > div {
|
||||
padding: 10px 15px 13px 10px;
|
||||
display: inline-block;
|
||||
border-bottom: 2px solid #ffcc00;
|
||||
background: rgba(18,18,18,0.85);
|
||||
background: linear-gradient(180deg, rgba(18,18,18,0.85) 1%, rgba(0,0,0,0.85) 100%);
|
||||
}
|
||||
|
||||
#chat .message.twitch.announcement .reply {
|
||||
padding: 2px;
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
#chat .message.twitch.announcement .reply i {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
#chat .message.twitch.announcement .platform {
|
||||
transform: translateY(6px);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#chat .message.twitch.rewards-redemption > div {
|
||||
padding: 10px 15px 13px 10px;
|
||||
display: inline-block;
|
||||
border-bottom: 2px solid #ffcc00;
|
||||
background: rgba(18,18,18,0.85);
|
||||
background: linear-gradient(180deg, rgba(18,18,18,0.85) 1%, rgba(0,0,0,0.85) 100%);
|
||||
}
|
||||
#chat .message.twitch.rewards-redemption .reply {
|
||||
padding: 2px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#chat .message.twitch.rewards-redemption .reply i {
|
||||
transform: rotate(0deg);
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
#chat .message.twitch.rewards-redemption .platform {
|
||||
transform: translateY(6px);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.youtube.event .platform { color: #FFF; }
|
||||
#chat .message.youtube.event > div {
|
||||
background: rgba(255,0,0,0.85);
|
||||
background: linear-gradient(180deg, rgba(255,0,0,0.85) 1%, rgba(136,0,0,0.85) 100%);
|
||||
}
|
||||
|
||||
|
||||
#chat .message.youtube.owner .user {
|
||||
background: #ffd600;
|
||||
color: #121212 !important;
|
||||
border-radius: 5px;
|
||||
padding: 2px 5px;
|
||||
margin-right: 5px;
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
#chat .message.youtube.owner .badges i.fa-solid.fa-video { background: #ff0000 }
|
||||
|
||||
#chat .message.youtube.mod .user { color: #5e84f1 !important; }
|
||||
#chat .message.youtube.mod .badges i.fa-solid.fa-wrench { background: #5e84f1 }
|
||||
|
||||
#chat .message.youtube.sub .user { color: #2ba640 !important; }
|
||||
#chat .message.youtube.sub .badges i.fa-solid.fa-star { background: #2ba640; }
|
||||
|
||||
#chat .message.youtube .badges i.fa-solid.fa-check { background: #999; }
|
||||
|
||||
|
||||
#chat .message.youtube.event.supersticker > div .platform { order: 1; }
|
||||
#chat .message.youtube.event.supersticker > div .sticker {
|
||||
order: 2;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
filter: drop-shadow(0px 0px 6px rgba(0,0,0,1));
|
||||
padding: 5px 10px 5px 0;
|
||||
}
|
||||
#chat .message.youtube.event.supersticker > div .sticker img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#chat .message.youtube.event.supersticker > div .info { order: 3; }
|
||||
#chat .message.youtube.event.supersticker.giantsupersticker > div {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#chat .message.youtube.event.supersticker.giantsupersticker > div .platform { order: 2; }
|
||||
#chat .message.youtube.event.supersticker.giantsupersticker > div .sticker {
|
||||
order: 1;
|
||||
flex: 0 0 100%;
|
||||
height: 148px;
|
||||
text-align: center;
|
||||
margin: 10px 0;
|
||||
}
|
||||
#chat .message.youtube.event.supersticker.giantsupersticker > div .sticker img {
|
||||
width: 148px;
|
||||
height: 148px;
|
||||
}
|
||||
#chat .message.youtube.event.supersticker.giantsupersticker > div .info { order: 3; }
|
||||
|
||||
|
||||
|
||||
#chat .message.streamlabs.event > div {
|
||||
background: rgba(128,245,210,0.85);
|
||||
background: linear-gradient(180deg, rgba(128,245,210,0.85) 1%, rgba(8,108,78,0.85) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#chat .message.streamelements.event > div {
|
||||
background: rgba(39,0,255,0.85);
|
||||
background: linear-gradient(180deg, rgba(39,0,255,0.85) 1%, rgba(13,0,88,0.85) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.tiktok.event > div {
|
||||
background: rgba(255,0,80,0.85);
|
||||
background: linear-gradient(180deg, rgba(255,0,80,0.85) 1%, rgba(120,0,38,0.85) 100%);
|
||||
}
|
||||
|
||||
#chat .message.tiktok.mod .badges i.fa-solid.fa-wrench {
|
||||
background: #121212;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.kick .badges svg {
|
||||
width: 20px;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
|
||||
#chat .message.kick .badges i.sub {
|
||||
margin: 0;
|
||||
color: #48d415;
|
||||
}
|
||||
|
||||
#chat .message.kick.event > div {
|
||||
background: #48d415;
|
||||
background: linear-gradient(180deg,rgba(72, 212, 21, 1) 0%, rgba(39, 145, 0, 1) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.patreon.event > div {
|
||||
background: #ff5900;
|
||||
background: linear-gradient(180deg,rgba(255, 89, 0, 1) 0%, rgba(199, 70, 0, 1) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.tipeeestream.event > div {
|
||||
background: #E02F44;
|
||||
background: linear-gradient(180deg,rgba(224, 47, 68, 1) 0%, rgba(140, 35, 47, 1) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.kofi.event > div {
|
||||
background: #72A5F2;
|
||||
background: linear-gradient(180deg,rgba(114, 165, 242, 1) 0%, rgba(81, 115, 166, 1) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.fourthwall.event.order > div .platform { order: 1; }
|
||||
#chat .message.fourthwall.event.order > div .image {
|
||||
order: 2;
|
||||
width: max-content;
|
||||
height: 72px;
|
||||
filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.25));
|
||||
padding: 5px 10px 5px 0;
|
||||
}
|
||||
#chat .message.fourthwall.event.order > div .image img {
|
||||
width: max-content;
|
||||
height: 100%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
#chat .message.fourthwall.event.order > div .info { order: 3; }
|
||||
#chat .message.fourthwall.event.order.giantimage > div {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#chat .message.fourthwall.event.order.giantimage > div .platform { order: 2; }
|
||||
#chat .message.fourthwall.event.order.giantimage > div .image {
|
||||
order: 1;
|
||||
flex: 0 0 100%;
|
||||
height: 202px;
|
||||
text-align: center;
|
||||
margin: 10px 0;
|
||||
}
|
||||
#chat .message.fourthwall.event.order.giantimage > div .image img {
|
||||
width: max-content;
|
||||
height: 192px;
|
||||
}
|
||||
#chat .message.fourthwall.event.order.giantimage > div .info { order: 3; }
|
||||
|
||||
#chat .message.fourthwall.event > div {
|
||||
background: #0044ff;
|
||||
background: linear-gradient(180deg,rgba(0, 68, 255, 1) 0%, rgba(0, 47, 176, 1) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.wrapper.horizontal {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.wrapper.horizontal #chat {
|
||||
flex-direction: row-reverse;
|
||||
align-items: flex-end;
|
||||
gap: 15px;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.wrapper.horizontal #chat .message {
|
||||
width: 0;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.wrapper.horizontal #chat .message > div {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#chat .message.twitch:hover .chatmoderation.twitch {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chat .message .chatmoderation {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding: 2px 3px;
|
||||
background: #262626;
|
||||
border-radius: 5px;
|
||||
transition: all ease-in-out 300ms;
|
||||
}
|
||||
|
||||
#chat .message .chatmoderation button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
padding: 5px;
|
||||
transition: all ease-in-out 300ms;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
#chat .message .chatmoderation {
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
#chat .message.twitch:hover .chatmoderation.twitch {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chat .message.youtube:hover .chatmoderation.youtube {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
#chat .message.streamer .chatmoderation button:nth-child(2),
|
||||
#chat .message.streamer .chatmoderation button:nth-child(3),
|
||||
#chat .message.owner .chatmoderation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#chat-input {
|
||||
padding: 15px 10px;
|
||||
position: relative;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#chat-input.enabled {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#chat-input input[type=text] {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background: #222;
|
||||
color: #FFF;
|
||||
padding: 10px 90px 10px 15px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
font-size: 16px;
|
||||
width: 100%;
|
||||
transition: all ease-in-out 300ms;
|
||||
}
|
||||
|
||||
#chat-input button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
padding: 5px;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#chat-input button.active,
|
||||
#chat-input button:hover {
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
#chat-input #chat-input-settings i {
|
||||
transition: all ease-in-out 300ms;
|
||||
}
|
||||
|
||||
#chat-input #chat-input-send {
|
||||
right: 60px;
|
||||
}
|
||||
|
||||
#chat-input #chat-input-settings {
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
#chat-input #chat-input-settings.active i {
|
||||
transform: rotate(60deg);
|
||||
}
|
||||
|
||||
#chat-input .settings {
|
||||
display: none;
|
||||
background: #0c0c0c;
|
||||
padding: 5px 10px;
|
||||
border-radius: 100px;
|
||||
|
||||
position: absolute;
|
||||
top: -40px;
|
||||
right: 0px;
|
||||
z-index: 11;
|
||||
|
||||
box-shadow: 0 0 10px rgba(255,255,255,0.05)
|
||||
}
|
||||
|
||||
#chat-input .settings.active {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#chat-input .settings::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -10px; /* posiciona fora do balão */
|
||||
right: 25px; /* onde a pontinha aparece horizontalmente */
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 10px solid #0c0c0c; /* mesma cor do balão */
|
||||
}
|
||||
|
||||
#chat-input .settings img {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
|
||||
#chat-input .chat-enabler {
|
||||
display: inline-flex;
|
||||
padding: 5px;
|
||||
gap: 5px;
|
||||
color: #FFF;
|
||||
font-size: 14px;
|
||||
align-items: center;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#chat-input .settings .switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#chat-input .settings .hint {
|
||||
color: #FFF;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#chat-input .settings .hint a {
|
||||
color: #ffcc00;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Hide default HTML checkbox */
|
||||
#chat-input .settings .switch input[type=checkbox] {
|
||||
opacity: 1;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* The slider */
|
||||
#chat-input .settings .slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #CCC;
|
||||
transition: .4s;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
#chat-input .settings .slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border-radius: 16px;
|
||||
left: 3px;
|
||||
top: 2px;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
#chat-input .settings input[type=checkbox]:checked + .slider:before {
|
||||
transform: translateX(19px);
|
||||
}
|
||||
|
||||
#chat-input #twitch input[type=checkbox]:checked + .slider {
|
||||
background-color: #a970ff;
|
||||
}
|
||||
#chat-input #youtube input[type=checkbox]:checked + .slider {
|
||||
background-color: #FF0000;
|
||||
}
|
||||
#chat-input #tiktok input[type=checkbox]:checked + .slider {
|
||||
background-color: #ff0050;
|
||||
}
|
||||
#chat-input #kick input[type=checkbox]:checked + .slider {
|
||||
background-color: #48d415;
|
||||
}
|
||||
|
||||
|
||||
#chat-input .settings input[type=checkbox]:checked + .slider {
|
||||
background-color: #03c4de;
|
||||
}
|
||||
#chat-input .setting input[type=checkbox]:disabled + .slider {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#chat-autocomplete-list {
|
||||
position: absolute;
|
||||
bottom: 65px;
|
||||
left: 10px;
|
||||
width: calc(100% - 40px);
|
||||
border-radius: 10px;
|
||||
background: #222;
|
||||
color: #FFF;
|
||||
|
||||
max-height: 300px;
|
||||
overflow: hidden;
|
||||
overflow-y: visible;
|
||||
|
||||
font-size: 14px;;
|
||||
|
||||
color: #696969;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list::-webkit-scrollbar { width: 10px; }
|
||||
#chat-autocomplete-list::-webkit-scrollbar-track { background: #1e1e1e; }
|
||||
#chat-autocomplete-list::-webkit-scrollbar-thumb { background-color: #555; border-radius: 10px; border: 2px solid #1e1e1e; }
|
||||
#chat-autocomplete-list::-webkit-scrollbar-thumb:hover { background-color: #777; }
|
||||
|
||||
#chat-autocomplete-list div {
|
||||
margin: 5px 10px;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list div.autocomplete-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list div:not(.autocomplete-item) {
|
||||
background: #191919;
|
||||
color: #FFF;
|
||||
padding: 10px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list .autocomplete-item strong {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list .autocomplete-item:hover,
|
||||
#chat-autocomplete-list .autocomplete-item.active {
|
||||
color: #FFF;
|
||||
background: #292929;
|
||||
}
|
||||
|
||||
#chat-autocomplete-list .autocomplete-item small {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
|
||||
#statistics {
|
||||
position: fixed;
|
||||
z-index: 11;
|
||||
width: 100%;
|
||||
top: 0; left: 0;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
justify-content: flex-end;
|
||||
backdrop-filter: blur(5px);
|
||||
font-weight: bold;
|
||||
-webkit-mask-image: linear-gradient(to top, transparent, black 40%);
|
||||
mask-image: linear-gradient(to top, transparent, black 40%);
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
|
||||
#statistics .platform {
|
||||
background: #000;
|
||||
color: #FFF;
|
||||
padding: 5px 10px;
|
||||
border-radius: 100px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
#statistics .platform i.fa-brands {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#statistics .platform > span {
|
||||
display: inline-block;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#statistics .platform#twitch {
|
||||
background: #a970ff;
|
||||
}
|
||||
|
||||
#statistics .platform#youtube {
|
||||
background: #FF0000;
|
||||
}
|
||||
|
||||
#statistics .platform#tiktok {
|
||||
background: #ff0050;
|
||||
}
|
||||
|
||||
#statistics .platform#kick {
|
||||
background: #48d415;
|
||||
}
|
||||
|
||||
#statistics .platform#kick svg {
|
||||
width: 24px;
|
||||
fill: #FFF;
|
||||
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.25));
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#statistics {
|
||||
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
gap: 5px;
|
||||
text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
#statistics .platform {
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
#statistics .platform#kick svg {
|
||||
width: 18px;
|
||||
filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
|
||||
}
|
||||
}
|
||||
61
css/chatrd.css
Normal file
61
css/chatrd.css
Normal file
@@ -0,0 +1,61 @@
|
||||
/* Basic reset and styling */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sn-notify-outline { --sn-notify-background-color: #27272a; }
|
||||
.sn-notify-outline .sn-notify-title { --sn-notify-title-color: #FFFFFF; }
|
||||
.sn-notify-outline .sn-notify-text { --sn-notify-text-color: rgba(255,255,255,0.5); }
|
||||
|
||||
.sn-notify-outline { --sn-notify-background-color: #27272a; }
|
||||
.sn-notify-outline .sn-notify-title { --sn-notify-title-color: #FFFFFF; }
|
||||
.sn-notify-outline .sn-notify-text { --sn-notify-text-color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* Full-page container styling */
|
||||
html {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
font-family: "Inter", sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
#container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#container .wrapper {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#chat {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
scrollbar-color: #555 #1e1e1e;
|
||||
}
|
||||
|
||||
#chat.noscrollbar {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
#chat::-webkit-scrollbar { width: 8px; }
|
||||
#chat::-webkit-scrollbar-track { background: #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb { background-color: #555; border-radius: 4px; border: 2px solid #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb:hover { background-color: #777; }
|
||||
580
css/settings.css
580
css/settings.css
@@ -1,580 +0,0 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
overflow-wrap: break-word;
|
||||
background-color: #121212;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a { color: #ffcc00; }
|
||||
|
||||
hr {
|
||||
border: 1px solid #222;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
padding: 15px 30px;
|
||||
border-bottom: 1px solid #222;
|
||||
margin: 15px 0 0 0;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h2 i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
h2 svg {
|
||||
width: 26px;
|
||||
vertical-align: bottom;
|
||||
fill: #FFF;
|
||||
}
|
||||
|
||||
h2 img {
|
||||
width: 26px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
h2 button {
|
||||
display: none;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
|
||||
border: none;
|
||||
background: black;
|
||||
text-align: center;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
|
||||
font-size: 16px;
|
||||
padding: 10px;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
h2 button i {
|
||||
margin: 0;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
.accordion-container {
|
||||
/*max-height: 0;
|
||||
overflow: hidden;*/
|
||||
transition: max-height 0.4s ease;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#chat-divided {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
gap: 30px;
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
#chat-settings { width: 640px; }
|
||||
#chat-preview { width: calc(100% - 640px); }
|
||||
|
||||
#chat-settings h1 {
|
||||
width: 200px;
|
||||
height: 80px;
|
||||
background: url('../images/logo-chatrd.png') center center no-repeat;
|
||||
background-size: cover;
|
||||
margin: auto;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
#chat-preview iframe {
|
||||
position: sticky;
|
||||
top: 30px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100vh - 60px);
|
||||
}
|
||||
|
||||
.url-bar {
|
||||
margin: 0 0 20px 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.url-bar input[type=text] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.url-bar button {
|
||||
font-family: "Inter", sans-serif;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
padding: 15px 30px;
|
||||
margin-top: 10px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
background: #252525;
|
||||
color: #FFF;
|
||||
transition: .4s;
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.url-bar button:hover {
|
||||
background: #292929;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
border-radius: 0 0 20px 20px;
|
||||
background: #171717;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
margin: 0 0 30px 0;
|
||||
}
|
||||
|
||||
.tab-content .wrapper {
|
||||
padding: 20px 30px;
|
||||
}
|
||||
|
||||
/* When visible */
|
||||
.tab-content.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tab-content .setting {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px 0px;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tab-content .setting.column {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tab-content .setting.column label {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list {
|
||||
width:100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap; /* allow items to wrap */
|
||||
gap: 10px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
background: #222;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
|
||||
border-radius: 10px;
|
||||
|
||||
transition: .4s;
|
||||
|
||||
text-align: center;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item button.add {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
right: unset;
|
||||
|
||||
transform: translate(-50%,-50%);
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item button.add:hover {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item button.add i {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item em {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.tab-content .setting.column .emote-list .emote-item img {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
|
||||
.tab-content .setting i {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.tab-content .setting i.fa-arrow-turn-up {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
|
||||
.tab-content .setting small { color: #777; }
|
||||
|
||||
.tab-content .setting input[type=text],
|
||||
.tab-content .setting input[type=number],
|
||||
.tab-content .setting textarea {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background:#222;
|
||||
color: #FFF;
|
||||
padding: 10px 20px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tab-content .setting textarea {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.tab-content .setting.select select {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background:#222;
|
||||
color: #FFF;
|
||||
padding: 10px 20px 10px 10px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tab-content .setting .switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
/* Hide default HTML checkbox */
|
||||
.tab-content .setting .switch input[type=checkbox] {
|
||||
opacity: 1;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* The slider */
|
||||
.tab-content .setting .slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: #CCC;
|
||||
transition: .4s;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.tab-content .setting .slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 1.3em;
|
||||
width: 1.2em;
|
||||
border-radius: 16px;
|
||||
left: 5px;
|
||||
top: 3px;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.tab-content .setting input[type=color] {
|
||||
background: #111;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #03c4de;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:checked + .slider:before {
|
||||
transform: translateX(1.4em);
|
||||
}
|
||||
|
||||
.tab-content#twitch .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #a970ff;
|
||||
}
|
||||
.tab-content#youtube .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #FF0000;
|
||||
}
|
||||
.tab-content#tiktok .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #ff0050;
|
||||
}
|
||||
|
||||
.tab-content#kick .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #48d415;
|
||||
}
|
||||
|
||||
.tab-content#extras .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #00dd63;
|
||||
}
|
||||
|
||||
.tab-content#patreon .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #ff5900;
|
||||
}
|
||||
|
||||
.tab-content#tipeee .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #e02f44;
|
||||
}
|
||||
|
||||
.tab-content#kofi .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #72a5f2;
|
||||
}
|
||||
|
||||
.tab-content#fourthwall .setting input[type=checkbox]:checked + .slider {
|
||||
background-color: #0042ff;
|
||||
}
|
||||
|
||||
.tab-content .setting input[type=checkbox]:disabled + .slider {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.slider-value {
|
||||
display: inline-block;
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
background: #121212;
|
||||
text-align: center;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
|
||||
footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
padding: 20px;
|
||||
background: rgba(18,18,18,0.5);
|
||||
backdrop-filter: blur(10px);
|
||||
margin-top: 80px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
footer a {
|
||||
display: inline-block;
|
||||
margin: 10px 5px;
|
||||
font-size: 20px;
|
||||
color: #ffcc00;
|
||||
}
|
||||
|
||||
footer a svg {
|
||||
width: 24px;
|
||||
vertical-align: bottom;
|
||||
fill: #ffcc00;
|
||||
}
|
||||
|
||||
footer a img {
|
||||
width: 24px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
footer .nav-bar {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer .nav-bar a {
|
||||
display: inline-block;
|
||||
border-radius: 100px;
|
||||
padding: 10px 15px;
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
color: #FFF;
|
||||
transition: all ease-in-out 300ms;
|
||||
}
|
||||
|
||||
footer .nav-bar a:hover {
|
||||
color: #ffcc00;
|
||||
background: rgba(0,0,0,0.40);
|
||||
}
|
||||
|
||||
footer .nav-bar a svg {
|
||||
width: 20px;
|
||||
fill: #FFF;
|
||||
transition: all ease-in-out 300ms;
|
||||
}
|
||||
|
||||
footer .nav-bar a:hover svg {
|
||||
fill: #ffcc00;
|
||||
}
|
||||
|
||||
|
||||
footer .nav-bar a.active {
|
||||
color: #ffcc00;
|
||||
background: rgba(0,0,0,0.20);
|
||||
}
|
||||
|
||||
footer .nav-bar a.active svg {
|
||||
fill: #ffcc00;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
|
||||
#chat-divided {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#chat-settings {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#chat-settings .field {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chat-settings .field input {
|
||||
width: 100%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
#chat-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
footer { font-size: 12px; }
|
||||
}
|
||||
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
top: 0; left: 0;
|
||||
width: 100%; height: 100%;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.modal.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: #121212;
|
||||
padding: 1.5em;
|
||||
border-radius: 1em;
|
||||
width: 640px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
|
||||
.modal-content input[type=text],
|
||||
.modal-content input[type=number],
|
||||
.modal-content textarea {
|
||||
font-family: "Inter", sans-serif;
|
||||
border: none;
|
||||
background:#222;
|
||||
color: #FFF;
|
||||
padding: 10px 20px;
|
||||
border-radius: 10px;
|
||||
outline: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
.modal-content button {
|
||||
font-family: "Inter", sans-serif;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
padding: 15px 30px;
|
||||
margin-top: 10px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
background: #252525;
|
||||
color: #FFF;
|
||||
transition: .4s;
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.modal-content #confirmAddEmote {
|
||||
background: #00dd63;
|
||||
}
|
||||
|
||||
.modal-content #cancelAddEmote {
|
||||
background: #ff0000;
|
||||
}
|
||||
|
||||
.modal-content h3 {
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
|
||||
.modal-content label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.modal-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
|
||||
#memberemotesbstatus.online i {
|
||||
color: #00dd63;
|
||||
text-shadow: 0 0 5px #00dd63;
|
||||
}
|
||||
#memberemotesbstatus.offline i {
|
||||
color: #ff0000;
|
||||
text-shadow: 0 0 5px #ff0000;
|
||||
}
|
||||
Reference in New Issue
Block a user