From c5341795d9a1fff91ea99559213adcbcdc308505 Mon Sep 17 00:00:00 2001 From: Thomas Hansen Date: Mon, 16 Oct 2023 07:06:17 +0300 Subject: [PATCH] Making sure "Powered by" is not visible by default Unless explicit CSS classes exists showing it --- .../openai/front.files/chat/burning-sunset.css | 7 ++++--- .../files/system/openai/front.files/chat/chess.css | 2 +- .../files/system/openai/front.files/chat/default.css | 2 +- .../files/system/openai/front.files/chat/default.js | 2 +- .../files/system/openai/front.files/chat/emerald.css | 2 +- .../files/system/openai/front.files/chat/frank.css | 2 +- .../files/system/openai/front.files/chat/galaxy.css | 2 +- .../system/openai/front.files/chat/lollipop.css | 2 +- .../openai/front.files/chat/minimalistic-green.css | 2 +- .../system/openai/front.files/chat/nuomorphism.css | 4 ++-- .../system/openai/front.files/chat/ocean-bleu.css | 2 +- .../files/system/openai/front.files/chat/office.css | 2 +- .../system/openai/front.files/chat/parakeet.css | 2 +- .../openai/front.files/chat/scandinavian-blush.css | 2 +- .../chat/scandinavian-chocolate-inline.css | 12 ++++++++++++ .../front.files/chat/scandinavian-chocolate.css | 2 +- .../openai/front.files/chat/scandinavian-cyan.css | 2 +- .../front.files/chat/scandinavian-deep-teal.css | 2 +- .../front.files/chat/scandinavian-flamingo.css | 2 +- .../openai/front.files/chat/scandinavian-grape.css | 2 +- .../openai/front.files/chat/scandinavian-honey.css | 2 +- .../openai/front.files/chat/scandinavian-lime.css | 2 +- .../openai/front.files/chat/scandinavian-maroon.css | 2 +- .../front.files/chat/scandinavian-mulberry.css | 2 +- .../openai/front.files/chat/scandinavian-navy.css | 2 +- .../openai/front.files/chat/scandinavian-orchid.css | 2 +- .../openai/front.files/chat/scandinavian-pumpkin.css | 2 +- .../openai/front.files/chat/scandinavian-raven.css | 2 +- .../openai/front.files/chat/scandinavian-scarlet.css | 2 +- .../openai/front.files/chat/scandinavian-teal.css | 2 +- .../system/openai/front.files/chat/sunflower.css | 2 +- .../system/openai/front.files/chat/twilight.css | 2 +- 32 files changed, 47 insertions(+), 34 deletions(-) diff --git a/backend/files/system/openai/front.files/chat/burning-sunset.css b/backend/files/system/openai/front.files/chat/burning-sunset.css index 87cfb8f922..d9af4c3faf 100644 --- a/backend/files/system/openai/front.files/chat/burning-sunset.css +++ b/backend/files/system/openai/front.files/chat/burning-sunset.css @@ -123,13 +123,14 @@ color: #9f0c0c !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 60px; left: 15px; text-align: right; font-size: 10px; opacity: .5; + display: block !important; } .aista-chat-wnd .ainiro-powered-by a { text-decoration: none; @@ -397,8 +398,8 @@ border-radius: 4px !important; } .aista-speech-button { - right: 10px; - bottom: 10px; + right: 9px; + bottom: 9px; height: 40px; width: 50px; position: absolute; diff --git a/backend/files/system/openai/front.files/chat/chess.css b/backend/files/system/openai/front.files/chat/chess.css index 60479c10d9..04e2edbd7c 100644 --- a/backend/files/system/openai/front.files/chat/chess.css +++ b/backend/files/system/openai/front.files/chat/chess.css @@ -123,7 +123,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/default.css b/backend/files/system/openai/front.files/chat/default.css index 1895f389f3..3dc82155d4 100644 --- a/backend/files/system/openai/front.files/chat/default.css +++ b/backend/files/system/openai/front.files/chat/default.css @@ -107,7 +107,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/default.js b/backend/files/system/openai/front.files/chat/default.js index 88d0cec8ea..e69b70ba14 100644 --- a/backend/files/system/openai/front.files/chat/default.js +++ b/backend/files/system/openai/front.files/chat/default.js @@ -144,7 +144,7 @@ function aista_create_chat_ui() { } aistaChatWnd.className = 'aista-chat-wnd'; let html = ` -
+
[[header]]
diff --git a/backend/files/system/openai/front.files/chat/emerald.css b/backend/files/system/openai/front.files/chat/emerald.css index 3047c8829b..f5fa13b4a2 100644 --- a/backend/files/system/openai/front.files/chat/emerald.css +++ b/backend/files/system/openai/front.files/chat/emerald.css @@ -123,7 +123,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/frank.css b/backend/files/system/openai/front.files/chat/frank.css index 5af59bd4b1..a2434123c0 100644 --- a/backend/files/system/openai/front.files/chat/frank.css +++ b/backend/files/system/openai/front.files/chat/frank.css @@ -127,7 +127,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/galaxy.css b/backend/files/system/openai/front.files/chat/galaxy.css index 832c8ed920..929dfe2220 100644 --- a/backend/files/system/openai/front.files/chat/galaxy.css +++ b/backend/files/system/openai/front.files/chat/galaxy.css @@ -123,7 +123,7 @@ color: #1266e1 !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/lollipop.css b/backend/files/system/openai/front.files/chat/lollipop.css index 78e12480c9..d659e84175 100644 --- a/backend/files/system/openai/front.files/chat/lollipop.css +++ b/backend/files/system/openai/front.files/chat/lollipop.css @@ -123,7 +123,7 @@ color: #ff66c4 !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/minimalistic-green.css b/backend/files/system/openai/front.files/chat/minimalistic-green.css index d6a81cbfe9..e074da2531 100644 --- a/backend/files/system/openai/front.files/chat/minimalistic-green.css +++ b/backend/files/system/openai/front.files/chat/minimalistic-green.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 53px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/nuomorphism.css b/backend/files/system/openai/front.files/chat/nuomorphism.css index 46042e77e2..fc0776535e 100644 --- a/backend/files/system/openai/front.files/chat/nuomorphism.css +++ b/backend/files/system/openai/front.files/chat/nuomorphism.css @@ -128,7 +128,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; @@ -393,7 +393,7 @@ } .aista-speech-button { right: 10px; - bottom: 10px; + bottom: 8px; height: 40px; width: 50px; position: absolute; diff --git a/backend/files/system/openai/front.files/chat/ocean-bleu.css b/backend/files/system/openai/front.files/chat/ocean-bleu.css index e3af4d3150..c5e00f1e4e 100644 --- a/backend/files/system/openai/front.files/chat/ocean-bleu.css +++ b/backend/files/system/openai/front.files/chat/ocean-bleu.css @@ -123,7 +123,7 @@ color: #8c52ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/office.css b/backend/files/system/openai/front.files/chat/office.css index c1cb436796..52c4f01d7b 100644 --- a/backend/files/system/openai/front.files/chat/office.css +++ b/backend/files/system/openai/front.files/chat/office.css @@ -122,7 +122,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/parakeet.css b/backend/files/system/openai/front.files/chat/parakeet.css index 9bb4d39b7f..f2ce81dc0b 100644 --- a/backend/files/system/openai/front.files/chat/parakeet.css +++ b/backend/files/system/openai/front.files/chat/parakeet.css @@ -123,7 +123,7 @@ color: #7ed957 !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 62px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-blush.css b/backend/files/system/openai/front.files/chat/scandinavian-blush.css index 6ee1084ff4..f991c5cea2 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-blush.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-blush.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-chocolate-inline.css b/backend/files/system/openai/front.files/chat/scandinavian-chocolate-inline.css index 988001d1c2..882b60ca07 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-chocolate-inline.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-chocolate-inline.css @@ -125,6 +125,18 @@ .aista-chat-msg-container a:visited { color: #5555ff !important; } +.aista-chat-wnd .ainiro-powered-by { + width: calc(100% - 40px); + position: absolute; + bottom: 57px; + left: 15px; + text-align: right; + font-size: 10px; + opacity: .5; +} +.aista-chat-wnd .ainiro-powered-by a { + text-decoration: none; +} @keyframes jump { 0% {bottom: 0px;} 20% {bottom: 5px;} diff --git a/backend/files/system/openai/front.files/chat/scandinavian-chocolate.css b/backend/files/system/openai/front.files/chat/scandinavian-chocolate.css index a36fb0fa41..7de35c3d60 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-chocolate.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-chocolate.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-cyan.css b/backend/files/system/openai/front.files/chat/scandinavian-cyan.css index 775b63411a..1dc20540ce 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-cyan.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-cyan.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-deep-teal.css b/backend/files/system/openai/front.files/chat/scandinavian-deep-teal.css index 6608f0ee63..94614b9830 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-deep-teal.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-deep-teal.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-flamingo.css b/backend/files/system/openai/front.files/chat/scandinavian-flamingo.css index e3001e2472..8ddb540131 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-flamingo.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-flamingo.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-grape.css b/backend/files/system/openai/front.files/chat/scandinavian-grape.css index 2d3e47d1be..35dcbf40d5 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-grape.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-grape.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-honey.css b/backend/files/system/openai/front.files/chat/scandinavian-honey.css index 2304b8707c..d6988acc5d 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-honey.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-honey.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-lime.css b/backend/files/system/openai/front.files/chat/scandinavian-lime.css index 1cf0a56d98..4ac4de09fe 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-lime.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-lime.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-maroon.css b/backend/files/system/openai/front.files/chat/scandinavian-maroon.css index 4c673800ef..8bd7876d4a 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-maroon.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-maroon.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-mulberry.css b/backend/files/system/openai/front.files/chat/scandinavian-mulberry.css index bfc6694519..03f5f26d57 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-mulberry.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-mulberry.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-navy.css b/backend/files/system/openai/front.files/chat/scandinavian-navy.css index c1de2eb9ac..e16accc142 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-navy.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-navy.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-orchid.css b/backend/files/system/openai/front.files/chat/scandinavian-orchid.css index 6133a75c23..dfd25984cf 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-orchid.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-orchid.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-pumpkin.css b/backend/files/system/openai/front.files/chat/scandinavian-pumpkin.css index 3972e4f656..cd82187fb6 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-pumpkin.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-pumpkin.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-raven.css b/backend/files/system/openai/front.files/chat/scandinavian-raven.css index 5fcb99b5c0..3eb07bd35d 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-raven.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-raven.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-scarlet.css b/backend/files/system/openai/front.files/chat/scandinavian-scarlet.css index 8e807b439c..d5f4d5cffb 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-scarlet.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-scarlet.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/scandinavian-teal.css b/backend/files/system/openai/front.files/chat/scandinavian-teal.css index fb06d8afd2..901104d769 100644 --- a/backend/files/system/openai/front.files/chat/scandinavian-teal.css +++ b/backend/files/system/openai/front.files/chat/scandinavian-teal.css @@ -126,7 +126,7 @@ color: #5555ff !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 20px); + width: calc(100% - 40px); position: absolute; bottom: 57px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/sunflower.css b/backend/files/system/openai/front.files/chat/sunflower.css index 28ae1a0ac6..12908d7422 100644 --- a/backend/files/system/openai/front.files/chat/sunflower.css +++ b/backend/files/system/openai/front.files/chat/sunflower.css @@ -123,7 +123,7 @@ color: #e56f29 !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 30px); + width: calc(100% - 50px); position: absolute; bottom: 65px; left: 15px; diff --git a/backend/files/system/openai/front.files/chat/twilight.css b/backend/files/system/openai/front.files/chat/twilight.css index 5133b16af4..f598f82cee 100644 --- a/backend/files/system/openai/front.files/chat/twilight.css +++ b/backend/files/system/openai/front.files/chat/twilight.css @@ -123,7 +123,7 @@ color: #531cc3 !important; } .aista-chat-wnd .ainiro-powered-by { - width: calc(100% - 28px); + width: calc(100% - 48px); position: absolute; bottom: 60px; left: 15px;