From 9f6fdfc691d7ceee140d5a3873cba4cb6d43acfa Mon Sep 17 00:00:00 2001 From: Rodrigo Emanuel Date: Sun, 11 May 2025 02:34:38 -0300 Subject: [PATCH] Add files via upload --- chat.html | 13 +- css/app.css | 139 ++++---- css/settings.css | 64 +++- images/logo-kick.svg | 12 + images/logo-streamelements.svg | 82 +++++ images/logo-streamlabs.svg | 14 + images/logo-tiktok.svg | 12 + images/logo-twitch.svg | 17 + images/logo-youtube.svg | 17 + index.html | 68 +++- js/app-mockup.js | 150 +++++++++ js/app.js | 9 +- js/kick/module.js | 563 +++++++++++++++++++++++++++++++++ js/kick/old.module.js | 63 ++++ js/lang/en.js | 20 +- js/lang/es.js | 20 +- js/lang/ptbr.js | 20 +- js/settings.js | 29 ++ js/streamelements/module.js | 2 +- js/streamlabs/module.js | 2 +- js/twitch/module.js | 10 +- streamerbot-import.vortisrd | 2 +- 22 files changed, 1249 insertions(+), 79 deletions(-) create mode 100644 images/logo-kick.svg create mode 100644 images/logo-streamelements.svg create mode 100644 images/logo-streamlabs.svg create mode 100644 images/logo-tiktok.svg create mode 100644 images/logo-twitch.svg create mode 100644 images/logo-youtube.svg create mode 100644 js/kick/module.js create mode 100644 js/kick/old.module.js diff --git a/chat.html b/chat.html index f004725..e423165 100644 --- a/chat.html +++ b/chat.html @@ -32,6 +32,14 @@ 0 0 + +
+ + + + + 0 +
@@ -47,7 +55,7 @@ - + @@ -61,9 +69,10 @@ + - + \ No newline at end of file diff --git a/css/app.css b/css/app.css index f600e62..f55cee1 100644 --- a/css/app.css +++ b/css/app.css @@ -70,25 +70,31 @@ body { #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; - border-radius: 100px; } #chat .message .platform { display: inline-flex; justify-content: center; align-items: center; - background: #000; width: 24px; height: 24px; - font-size: 18px; - transform: translateY(2px); - border-radius: 5px; - text-shadow: 2px 2px 2px rgba(0,0,0,0.25); + filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.25)); + transform: translateY(6px); } #chat .message .badges i { @@ -134,15 +140,6 @@ body { color: #999; } -#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 .shared i { margin: 0 3px; } @@ -153,10 +150,10 @@ body { font-size: 16px; } + #chat .message.event .platform { - background: none; - margin: 2px 7px 0 6px; transform: translateY(0px); + margin: 0px 5px 0 0; } #chat .message.event > div { @@ -170,7 +167,16 @@ body { -/*#chat .message.twitch .platform { background: #a970ff; }*/ + +#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); @@ -185,31 +191,11 @@ body { } -#chat .message.twitch .platform { color: #a970ff; background: transparent !important; text-shadow: 0px 0px 0px #a970ff;} -#chat .message.twitch .platform::after { - content: ''; - background: #FFF; - width: 11px; - height: 10px; - position: absolute; - z-index: -1; - transform: translate(1px,-3px); -} -#chat .message.twitch.event .platform { - color: #FFF; -} -#chat .message.twitch.event .platform::after { - background: transparent; - text-shadow: none; -} - - #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.event .platform { background: transparent; } #chat .message.twitch.announcement > div { padding: 10px 15px 13px 10px; @@ -229,6 +215,7 @@ body { } #chat .message.twitch.announcement .platform { + transform: translateY(6px); margin: 0; } @@ -250,6 +237,7 @@ body { } #chat .message.twitch.rewards-redemption .platform { + transform: translateY(6px); margin: 0; } @@ -259,19 +247,11 @@ body { - -/*#chat .message.youtube .platform { background: #ff0000; }*/ -#chat .message.youtube .platform { color: #FF0000; background: transparent !important; } -#chat .message.youtube .platform::after { content: ''; background: #FFF; width: 5px; height: 5px; position: absolute; z-index: -1; } - #chat .message.youtube.event .platform { color: #FFF; } -#chat .message.youtube.event .platform::after { background: transparent; } - #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.event .platform { background: transparent; } #chat .message.youtube.owner .user { @@ -326,37 +306,26 @@ body { - -#chat .message.streamlabs .platform { background: #80f5d2; } #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.streamlabs.event .platform { background: transparent; } -#chat .message.streamelements .platform { background: #2700ff; } #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.streamelements.event .platform { background: transparent; } - - -/*#chat .message.tiktok .platform { background: #000; }*/ -#chat .message.tiktok .platform { color: #FFF; background: transparent !important; } - #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.event .platform { background: transparent; } #chat .message.tiktok.mod .badges i.fa-solid.fa-wrench { background: #121212; @@ -369,6 +338,29 @@ body { + +#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.horizontal { display: flex; align-items: flex-end; @@ -393,6 +385,7 @@ body { 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); } @@ -427,4 +420,36 @@ body { #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; + padding: 20px 10px; + 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)); + } } \ No newline at end of file diff --git a/css/settings.css b/css/settings.css index 8f521b6..03e6a2a 100644 --- a/css/settings.css +++ b/css/settings.css @@ -93,6 +93,12 @@ a { color: #ffcc00; } margin-right: 5px; } +.tab-content h2 svg { + width: 26px; + vertical-align: bottom; + fill: #FFF; +} + .tab-content .setting { display: flex; justify-content: space-between; @@ -278,6 +284,10 @@ a { color: #ffcc00; } 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; } @@ -304,7 +314,7 @@ footer { padding: 20px; background: rgba(18,18,18,0.5); backdrop-filter: blur(10px); - margin-top: 20px; + margin-top: 80px; font-size: 14px; } @@ -315,6 +325,58 @@ footer a { color: #ffcc00; } +footer a svg { + width: 24px; + vertical-align: bottom; + fill: #ffcc00; +} + +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 { diff --git a/images/logo-kick.svg b/images/logo-kick.svg new file mode 100644 index 0000000..fdb9315 --- /dev/null +++ b/images/logo-kick.svg @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/images/logo-streamelements.svg b/images/logo-streamelements.svg new file mode 100644 index 0000000..4e35147 --- /dev/null +++ b/images/logo-streamelements.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/logo-streamlabs.svg b/images/logo-streamlabs.svg new file mode 100644 index 0000000..fbe8e73 --- /dev/null +++ b/images/logo-streamlabs.svg @@ -0,0 +1,14 @@ + + + + + + + + + \ No newline at end of file diff --git a/images/logo-tiktok.svg b/images/logo-tiktok.svg new file mode 100644 index 0000000..b674a5f --- /dev/null +++ b/images/logo-tiktok.svg @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/images/logo-twitch.svg b/images/logo-twitch.svg new file mode 100644 index 0000000..f256c89 --- /dev/null +++ b/images/logo-twitch.svg @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file diff --git a/images/logo-youtube.svg b/images/logo-youtube.svg new file mode 100644 index 0000000..68f79f9 --- /dev/null +++ b/images/logo-youtube.svg @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index f8641d7..f5081d1 100644 --- a/index.html +++ b/index.html @@ -32,13 +32,18 @@
-
-
+
+ +
Speaker.Bot is required for Text-to-Speech! Follow the tutorial.
-
+
+ +
+ +
@@ -104,13 +109,18 @@
+
+ +
YouTube API doesn't expose Member Emotes. Read more.
+ +
@@ -129,12 +139,40 @@

TikTok

-
+
+

+ + + + Kick +

+ +
This is a BETA feature! Read more.
+ +
+ +
+
+ +
+ +
Kick.Bot is required for events. Follow the tutorial.
+ +
+ +
+
+
+
+
+
+
+

Donations

@@ -143,6 +181,21 @@