diff --git a/qortal-ui-core/font/switch-theme.css b/qortal-ui-core/font/switch-theme.css index 4c65b30c..008718d9 100644 --- a/qortal-ui-core/font/switch-theme.css +++ b/qortal-ui-core/font/switch-theme.css @@ -8,6 +8,8 @@ html { --border2: #dde2e8; --copybutton: #707584; --chat-bubble: #efefef73; + --chat-bubble-bg: #f3f3f3; + --chat-bubble-msg-color: #080808; --sectxt: #576374; --vdicon: #707b8a; --tradehead: #6a6c75; @@ -45,6 +47,8 @@ html[theme="dark"] { --border2: #0b305e; --copybutton: #d0d6de; --chat-bubble: #9694941a; + --chat-bubble-bg: #2d3749; + --chat-bubble-msg-color: #ffffff; --sectxt: #bbc3cd; --vdicon: #d0d6de; --tradehead: #008fd5; diff --git a/qortal-ui-core/src/styles/switch-theme.css b/qortal-ui-core/src/styles/switch-theme.css index 9c6c517e..9e1a0a49 100644 --- a/qortal-ui-core/src/styles/switch-theme.css +++ b/qortal-ui-core/src/styles/switch-theme.css @@ -8,6 +8,8 @@ html { --border2: #dde2e8; --copybutton: #707584; --chat-bubble: #efefef73; + --chat-bubble-bg: #f3f3f3; + --chat-bubble-msg-color: #080808; --sectxt: #576374; --vdicon: #707b8a; --tradehead: #6a6c75; @@ -44,6 +46,8 @@ html[theme="dark"] { --border2: #0b305e; --copybutton: #d0d6de; --chat-bubble: #9694941a; + --chat-bubble-bg: #2d3749; + --chat-bubble-msg-color: #ffffff; --sectxt: #bbc3cd; --vdicon: #d0d6de; --tradehead: #008fd5; diff --git a/qortal-ui-plugins/plugins/core/components/ChatPage.js b/qortal-ui-plugins/plugins/core/components/ChatPage.js index a01ef691..32873534 100644 --- a/qortal-ui-plugins/plugins/core/components/ChatPage.js +++ b/qortal-ui-plugins/plugins/core/components/ChatPage.js @@ -129,6 +129,7 @@ class ChatPage extends LitElement { display: flex; flex-direction: row; align-items: center; + justify-content: center; gap: 15px; width: 100%; } @@ -137,7 +138,7 @@ class ChatPage extends LitElement { display: flex; flex-direction: column; gap: 5px; - width: 95%; + width: 92%; } @@ -638,13 +639,13 @@ class ChatPage extends LitElement {

${this.repliedToMessageObj.senderName ? this.repliedToMessageObj.senderName : this.repliedToMessageObj.sender}

${this.repliedToMessageObj.message}

+ this.closeRepliedToContainer()} + > - this.closeRepliedToContainer()} - > `} ${this.editedMessageObj && html` @@ -655,35 +656,39 @@ class ChatPage extends LitElement {

${translate("chatpage.cchange25")}

${this.editedMessageObj.message}

+ this.closeEditMessageContainer()} + > - this.closeEditMessageContainer()} - > `}
-
- this.closeEditMessageContainer()} - > - -
- + ${this.accountName && ( + html` +
+ this.closeEditMessageContainer()} + > + +
+ +
-
+ ` + )} -