diff --git a/src/components/button.style.js b/src/components/button.style.js index 4910a5ac1..6fec67a0b 100644 --- a/src/components/button.style.js +++ b/src/components/button.style.js @@ -68,14 +68,14 @@ export default { { state: ['toggled'], directives: { - background: '--inheritedBackground,-24.2', + background: '--inheritedBackground,-14.2', shadow: ['--defaultButtonShadow', '--pressedButtonBevel'] } }, { state: ['toggled', 'hover'], directives: { - background: '--inheritedBackground,-24.2', + background: '--inheritedBackground,-14.2', shadow: ['--defaultButtonHoverGlow', '--pressedButtonBevel'] } }, diff --git a/src/components/button_unstyled.style.js b/src/components/button_unstyled.style.js index a47701db7..65b5c57bf 100644 --- a/src/components/button_unstyled.style.js +++ b/src/components/button_unstyled.style.js @@ -2,10 +2,10 @@ export default { name: 'ButtonUnstyled', selector: '.button-unstyled', states: { + toggled: '.toggled', disabled: ':disabled', hover: ':hover:not(:disabled)', - focused: ':focus-within', - toggled: '.toggled' + focused: ':focus-within' }, validInnerComponents: [ 'Text', @@ -41,29 +41,37 @@ export default { } }, { - component: 'Text', + component: 'Icon', parent: { component: 'ButtonUnstyled', - state: ['disabled'] + state: ['toggled', 'hover'] }, directives: { - textOpacity: 0.25, - textOpacityMode: 'blend' - } - }, - { - component: 'Text', - parent: { - component: 'ButtonUnstyled', - state: ['disabled', 'hover'] - }, - directives: { - textOpacity: 0.25, - textOpacityMode: 'blend' + textColor: '--parent--text' } }, { component: 'Icon', + parent: { + component: 'ButtonUnstyled', + state: ['toggled', 'focused'] + }, + directives: { + textColor: '--parent--text' + } + }, + { + component: 'Icon', + parent: { + component: 'ButtonUnstyled', + state: ['toggled', 'focused', 'hover'] + }, + directives: { + textColor: '--parent--text' + } + }, + { + component: 'Text', parent: { component: 'ButtonUnstyled', state: ['disabled'] @@ -77,7 +85,7 @@ export default { component: 'Icon', parent: { component: 'ButtonUnstyled', - state: ['disabled', 'hover'] + state: ['disabled'] }, directives: { textOpacity: 0.25, diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 310614094..8af710ae1 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 fc3d66a43..9ae2b7d71 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/conversation/conversation.vue b/src/components/conversation/conversation.vue index e13bd97b6..97443df39 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -287,8 +287,23 @@ } &.-expanded.status-fadein { + --___margin: calc(var(--status-margin) / 2); + background: var(--background); - padding: calc(var(--status-margin) / 2); + margin: var(--___margin); + + &::before { + z-index: -1; + content: ""; + display: block; + position: absolute; + top: calc(var(--___margin) * -1); + bottom: calc(var(--___margin) * -1); + left: calc(var(--___margin) * -1); + right: calc(var(--___margin) * -1); + background: var(--background); + backdrop-filter: var(--__panel-backdrop-filter); + } } } diff --git a/src/components/dialog_modal/dialog_modal.vue b/src/components/dialog_modal/dialog_modal.vue index b917c6371..3bceff229 100644 --- a/src/components/dialog_modal/dialog_modal.vue +++ b/src/components/dialog_modal/dialog_modal.vue @@ -12,7 +12,7 @@ -
+