improve backdrop blur styles
This commit is contained in:
Vendored
+5
-4
@@ -2265,7 +2265,7 @@
|
|||||||
this.connectionModel = connectionModel2;
|
this.connectionModel = connectionModel2;
|
||||||
this.chatListModel = chatListModel2;
|
this.chatListModel = chatListModel2;
|
||||||
this.fileTransferModel = fileTransferModel2;
|
this.fileTransferModel = fileTransferModel2;
|
||||||
this.BUILD = "Build 26.04.14.F";
|
this.BUILD = "Build 26.04.14.G";
|
||||||
// CONTEXT
|
// CONTEXT
|
||||||
this.contextStack = /* @__PURE__ */ new Map();
|
this.contextStack = /* @__PURE__ */ new Map();
|
||||||
this.closeContext = (contextId, fromHistoryEvent = false) => {
|
this.closeContext = (contextId, fromHistoryEvent = false) => {
|
||||||
@@ -4702,10 +4702,10 @@
|
|||||||
|
|
||||||
// src/View/Components/replyPreview.tsx
|
// src/View/Components/replyPreview.tsx
|
||||||
function ReplyPreview(coreViewModel2, chatMessageViewModel) {
|
function ReplyPreview(coreViewModel2, chatMessageViewModel) {
|
||||||
return /* @__PURE__ */ createElement("div", { class: "reply-preview" }, /* @__PURE__ */ createElement("div", { class: "surface" }, /* @__PURE__ */ createElement("span", { class: "secondary" }, chatMessageViewModel.sender), /* @__PURE__ */ createElement("b", { class: "ellipsis", "subscribe:innerText": chatMessageViewModel.body })), /* @__PURE__ */ createElement(
|
return /* @__PURE__ */ createElement("div", { class: "reply-preview" }, /* @__PURE__ */ createElement("div", { class: "surface blur" }, /* @__PURE__ */ createElement("span", { class: "secondary" }, chatMessageViewModel.sender), /* @__PURE__ */ createElement("b", { class: "ellipsis", "subscribe:innerText": chatMessageViewModel.body })), /* @__PURE__ */ createElement(
|
||||||
"button",
|
"button",
|
||||||
{
|
{
|
||||||
class: "standard square",
|
class: "standard square blur",
|
||||||
"on:click": chatMessageViewModel.cancelReply,
|
"on:click": chatMessageViewModel.cancelReply,
|
||||||
"aria-label": coreViewModel2.translations.chatPage.message.cancelReplyAudioLabel
|
"aria-label": coreViewModel2.translations.chatPage.message.cancelReplyAudioLabel
|
||||||
},
|
},
|
||||||
@@ -4783,6 +4783,7 @@
|
|||||||
"input",
|
"input",
|
||||||
{
|
{
|
||||||
id: "focused",
|
id: "focused",
|
||||||
|
class: "blur",
|
||||||
"bind:value": messagePageViewModel.composingMessage,
|
"bind:value": messagePageViewModel.composingMessage,
|
||||||
"on:enter": messagePageViewModel.sendMessage,
|
"on:enter": messagePageViewModel.sendMessage,
|
||||||
placeholder: coreViewModel2.translations.chatPage.message.composerInputPlaceholder
|
placeholder: coreViewModel2.translations.chatPage.message.composerInputPlaceholder
|
||||||
@@ -4790,7 +4791,7 @@
|
|||||||
), /* @__PURE__ */ createElement(
|
), /* @__PURE__ */ createElement(
|
||||||
"button",
|
"button",
|
||||||
{
|
{
|
||||||
class: "primary",
|
class: "primary blur",
|
||||||
"aria-label": coreViewModel2.translations.chatPage.message.sendMessageButtonAudioLabel,
|
"aria-label": coreViewModel2.translations.chatPage.message.sendMessageButtonAudioLabel,
|
||||||
"on:click": messagePageViewModel.sendMessage,
|
"on:click": messagePageViewModel.sendMessage,
|
||||||
"toggle:disabled": messagePageViewModel.cannotSendMessage
|
"toggle:disabled": messagePageViewModel.cannotSendMessage
|
||||||
|
|||||||
Vendored
+1
-6
@@ -349,12 +349,7 @@ select {
|
|||||||
header,
|
header,
|
||||||
menu,
|
menu,
|
||||||
.modal>div,
|
.modal>div,
|
||||||
button,
|
.blur {
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
select,
|
|
||||||
.surface,
|
|
||||||
.surface-alt {
|
|
||||||
backdrop-filter: blur(var(--blur));
|
backdrop-filter: blur(var(--blur));
|
||||||
-webkit-backdrop-filter: blur(var(--blur));
|
-webkit-backdrop-filter: blur(var(--blur));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ export function MessagePage(
|
|||||||
<div class="input-width-constraint">
|
<div class="input-width-constraint">
|
||||||
<input
|
<input
|
||||||
id="focused"
|
id="focused"
|
||||||
|
class="blur"
|
||||||
bind:value={
|
bind:value={
|
||||||
messagePageViewModel.composingMessage
|
messagePageViewModel.composingMessage
|
||||||
}
|
}
|
||||||
@@ -126,7 +127,7 @@ export function MessagePage(
|
|||||||
}
|
}
|
||||||
></input>
|
></input>
|
||||||
<button
|
<button
|
||||||
class="primary"
|
class="primary blur"
|
||||||
aria-label={
|
aria-label={
|
||||||
coreViewModel.translations.chatPage
|
coreViewModel.translations.chatPage
|
||||||
.message
|
.message
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ export function ReplyPreview(
|
|||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
<div class="reply-preview">
|
<div class="reply-preview">
|
||||||
<div class="surface">
|
<div class="surface blur">
|
||||||
<span class="secondary">{chatMessageViewModel.sender}</span>
|
<span class="secondary">{chatMessageViewModel.sender}</span>
|
||||||
<b class="ellipsis" subscribe:innerText={chatMessageViewModel.body}></b>
|
<b class="ellipsis" subscribe:innerText={chatMessageViewModel.body}></b>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="standard square"
|
class="standard square blur"
|
||||||
on:click={chatMessageViewModel.cancelReply}
|
on:click={chatMessageViewModel.cancelReply}
|
||||||
aria-label={coreViewModel.translations.chatPage.message.cancelReplyAudioLabel}
|
aria-label={coreViewModel.translations.chatPage.message.cancelReplyAudioLabel}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import FileTransferModel from "../../Model/Global/fileTransferModel";
|
|||||||
import { v4 } from "uuid";
|
import { v4 } from "uuid";
|
||||||
|
|
||||||
export default class CoreViewModel {
|
export default class CoreViewModel {
|
||||||
readonly BUILD = "Build 26.04.14.G";
|
readonly BUILD = "Build 26.04.14.H";
|
||||||
|
|
||||||
translations: Translations;
|
translations: Translations;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user