From 11fd220734ae697e8157d25fbf4cdfc250fe2df7 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 19 Feb 2024 15:11:59 +0200 Subject: chat styles + related improvements --- src/components/chat/chat.style.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/chat/chat.style.js (limited to 'src/components/chat/chat.style.js') diff --git a/src/components/chat/chat.style.js b/src/components/chat/chat.style.js new file mode 100644 index 00000000..fc3d66a4 --- /dev/null +++ b/src/components/chat/chat.style.js @@ -0,0 +1,14 @@ +export default { + name: 'Chat', + selector: '.chat-message-list', + lazy: true, + validInnerComponents: [ + 'Text', + 'Link', + 'Icon', + 'Avatar', + 'ChatMessage' + ], + defaultRules: [ + ] +} -- cgit v1.2.3-70-g09d2 From ce5552ae3c53b563126aae2c3c9b77a321880eed Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 6 Mar 2024 20:35:03 +0200 Subject: fix more transparent panels --- src/components/chat/chat.scss | 1 - src/components/chat/chat.style.js | 7 ++++++- src/components/dialog_modal/dialog_modal.vue | 2 +- src/components/search/search.vue | 11 ++++++++--- 4 files changed, 15 insertions(+), 6 deletions(-) (limited to 'src/components/chat/chat.style.js') diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 31061409..8af710ae 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -37,7 +37,6 @@ .footer { position: sticky; bottom: 0; - background-color: var(--background); z-index: 1; } diff --git a/src/components/chat/chat.style.js b/src/components/chat/chat.style.js index fc3d66a4..9ae2b7d7 100644 --- a/src/components/chat/chat.style.js +++ b/src/components/chat/chat.style.js @@ -1,7 +1,6 @@ export default { name: 'Chat', selector: '.chat-message-list', - lazy: true, validInnerComponents: [ 'Text', 'Link', @@ -10,5 +9,11 @@ export default { 'ChatMessage' ], defaultRules: [ + { + directives: { + background: '--bg', + blur: '5px' + } + } ] } diff --git a/src/components/dialog_modal/dialog_modal.vue b/src/components/dialog_modal/dialog_modal.vue index b917c637..3bceff22 100644 --- a/src/components/dialog_modal/dialog_modal.vue +++ b/src/components/dialog_modal/dialog_modal.vue @@ -12,7 +12,7 @@ -
+