mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
💄 msg
This commit is contained in:
parent
ccca1b01dd
commit
4e56d2120a
2 changed files with 7 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
|
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
|
||||||
|
|
||||||
&--hide {
|
&--hide {
|
||||||
transform: translate3d(300px, 0, 0);
|
transform: translate3d(calc(20vw + 48px), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
&s {
|
&s {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
max-height: calc(100vh - 32px);
|
max-height: calc(100vh - 32px);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transform: translate3d(300px, 0, 0);
|
transform: translate3d(calc(20vw + 48px), 0, 0);
|
||||||
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
|
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
|
||||||
|
|
||||||
&--show {
|
&--show {
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%);
|
box-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
width: 240px;
|
width: 20vw;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--b3-theme-on-primary);
|
color: var(--b3-theme-on-primary);
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: 4px;
|
right: 1px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import {repos} from "./config/repos";
|
||||||
import {openFileById} from "./editor/util";
|
import {openFileById} from "./editor/util";
|
||||||
import {bootSync, downloadProgress, progressLoading, setTitle, transactionError} from "./dialog/processSystem";
|
import {bootSync, downloadProgress, progressLoading, setTitle, transactionError} from "./dialog/processSystem";
|
||||||
import {promiseTransactions} from "./protyle/wysiwyg/transaction";
|
import {promiseTransactions} from "./protyle/wysiwyg/transaction";
|
||||||
import {initMessage} from "./dialog/message";
|
import {initMessage, showMessage} from "./dialog/message";
|
||||||
|
|
||||||
class App {
|
class App {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
@ -89,6 +89,8 @@ class App {
|
||||||
}
|
}
|
||||||
setTitle(window.siyuan.languages.siyuanNote);
|
setTitle(window.siyuan.languages.siyuanNote);
|
||||||
initMessage();
|
initMessage();
|
||||||
|
showMessage("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", 0, "error");
|
||||||
|
showMessage("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", 2000)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue