diff --git a/public/img/hourglass-half-solid.svg b/public/img/hourglass-half-solid.svg new file mode 100644 index 000000000..36718ee4a --- /dev/null +++ b/public/img/hourglass-half-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/index.html b/public/index.html index 14261f01b..a39af0bf8 100644 --- a/public/index.html +++ b/public/index.html @@ -1718,7 +1718,9 @@
-
+
+ +
diff --git a/public/script.js b/public/script.js index 3eadabef2..60c971ff4 100644 --- a/public/script.js +++ b/public/script.js @@ -1924,7 +1924,7 @@ function activateSendButtons() { function deactivateSendButtons() { $("#send_but").css("display", "none"); - $("#loading_mes").css("display", "inline-block"); + $("#loading_mes").css("display", "flex"); } function resetChatState() { diff --git a/public/scripts/extensions/caption/style.css b/public/scripts/extensions/caption/style.css index 4015383c6..113a526cb 100644 --- a/public/scripts/extensions/caption/style.css +++ b/public/scripts/extensions/caption/style.css @@ -22,15 +22,3 @@ #img_form { display: none; } - -.spin { - animation-name: spin; - animation-duration: 2000ms; - animation-iteration-count: infinite; - animation-timing-function: linear; -} - -@keyframes spin { - from {transform:rotate(0deg);} - to {transform:rotate(360deg);} -} \ No newline at end of file diff --git a/public/style.css b/public/style.css index cca93221c..1ded471ff 100644 --- a/public/style.css +++ b/public/style.css @@ -268,11 +268,15 @@ code { width: 40px; height: 40px; margin: 0 auto; - /*margin-left: 2px;*/ - background: url('img/load.svg') no-repeat; - background-size: 26px 26px; - background-position: center center; order: 99999; + align-items: center; + justify-content: center; + filter: brightness(0.7); +} + +#loading_mes .svg_icon { + width: 24px; + height: 24px; } #options_button { @@ -3397,4 +3401,16 @@ body.no-blur #select_chat_popup { } +} + +.spin { + animation-name: spin; + animation-duration: 2000ms; + animation-iteration-count: infinite; + animation-timing-function: linear; +} + +@keyframes spin { + from {transform:rotate(0deg);} + to {transform:rotate(360deg);} } \ No newline at end of file