vault backup: 2022-09-01 13:19:55

This commit is contained in:
juan 2022-09-01 13:19:55 +08:00
parent 45e7509d5c
commit 3980d361cb
10 changed files with 2023 additions and 1816 deletions

View file

@ -1,4 +1,3 @@
[ [
"mrj-text-expand",
"obsidian-git" "obsidian-git"
] ]

View file

@ -32,6 +32,6 @@
"repelStrength": 10, "repelStrength": 10,
"linkStrength": 1, "linkStrength": 1,
"linkDistance": 250, "linkDistance": 250,
"scale": 0.8153718570546572, "scale": 0.6816823949098497,
"close": true "close": true
} }

View file

@ -1,11 +0,0 @@
{
"autoExpand": false,
"defaultTemplate": "- $link",
"delay": 100,
"excludeCurrent": true,
"lineEnding": "",
"prefixes": {
"header": "^",
"footer": ">"
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,9 +0,0 @@
{
"id": "mrj-text-expand",
"name": "Text expand",
"version": "0.11.2",
"description": "Search and paste/transclude links to located files.",
"isDesktopOnly": false,
"author": "MrJackphil",
"authorUrl": "https://mrjackphil.com"
}

View file

@ -13,12 +13,12 @@
"showStatusBar": true, "showStatusBar": true,
"updateSubmodules": false, "updateSubmodules": false,
"syncMethod": "merge", "syncMethod": "merge",
"gitPath": "",
"customMessageOnAutoBackup": false, "customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": true, "autoBackupAfterFileChange": true,
"treeStructure": false, "treeStructure": false,
"refreshSourceControl": true, "refreshSourceControl": true,
"basePath": "", "basePath": "",
"differentIntervalCommitAndPush": true, "differentIntervalCommitAndPush": true,
"changedFilesInStatusBar": false "changedFilesInStatusBar": false,
"username": ""
} }

File diff suppressed because it is too large Load diff

View file

@ -4,5 +4,5 @@
"description": "Backup your vault with git.", "description": "Backup your vault with git.",
"isDesktopOnly": true, "isDesktopOnly": true,
"js": "main.js", "js": "main.js",
"version": "1.28.0" "version": "1.31.0"
} }

View file

@ -2,10 +2,12 @@
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
.loading>svg { .loading>svg {
animation: 2s linear infinite loading; animation: 2s linear infinite loading;
transform-origin: 50% 50%; transform-origin: 50% 50%;
@ -17,6 +19,17 @@
width: 50%; width: 50%;
} }
.obsidian-git-textarea {
display: block;
margin-left: auto;
margin-right: auto;
}
.obsidian-git-center-button {
display: block;
margin: 20px auto;
}
.tooltip.mod-left { .tooltip.mod-left {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
@ -44,9 +57,11 @@
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none { .workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
display: none; display: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header { .workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
background-color: var(--background-primary); background-color: var(--background-primary);
border-bottom: 1px solid var(--interactive-accent); border-bottom: 1px solid var(--interactive-accent);
@ -54,16 +69,19 @@
height: 35px; height: 35px;
padding: 5px 10px; padding: 5px 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header, .workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats { .workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats { .workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
font-size: 14px; font-size: 14px;
margin-left: auto; margin-left: auto;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added { .workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
border: 1px solid #b4e2b4; border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;
@ -72,6 +90,7 @@
text-align: right; text-align: right;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted { .workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
border: 1px solid #e9aeae; border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
@ -81,6 +100,7 @@
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
-webkit-box-align: center; -webkit-box-align: center;
-ms-flex-align: center; -ms-flex-align: center;
@ -91,16 +111,19 @@
font-size: 15px; font-size: 15px;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name { .workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
overflow-x: hidden; overflow-x: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
border: 1px solid var(--background-modifier-border); border: 1px solid var(--background-modifier-border);
border-radius: 3px; border-radius: 3px;
margin-bottom: 1em; margin-bottom: 1em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
-webkit-box-pack: end; -webkit-box-pack: end;
-ms-flex-pack: end; -ms-flex-pack: end;
@ -115,24 +138,30 @@
justify-content: flex-end; justify-content: flex-end;
padding: 4px 8px; padding: 4px 8px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
background-color: #c8e1ff; background-color: #c8e1ff;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input { .workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
margin: 0 4px 0 0; margin: 0 4px 0 0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table { .workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
border-collapse: collapse; border-collapse: collapse;
font-family: Menlo, Consolas, monospace; font-family: Menlo, Consolas, monospace;
font-size: 13px; font-size: 13px;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
overflow-y: hidden; overflow-y: hidden;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff { .workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
display: inline-block; display: inline-block;
margin-bottom: -8px; margin-bottom: -8px;
@ -141,9 +170,11 @@
overflow-y: hidden; overflow-y: hidden;
width: 50%; width: 50%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
padding: 0 8em; padding: 0 8em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
display: inline-block; display: inline-block;
@ -154,9 +185,11 @@
white-space: nowrap; white-space: nowrap;
width: 100%; width: 100%;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
padding: 0 4.5em; padding: 0 4.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
word-wrap: normal; word-wrap: normal;
background: none; background: none;
@ -170,20 +203,17 @@
white-space: pre; white-space: pre;
width: 100%; width: 100%;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-light .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #ffb6ba; background-color: #ffb6ba;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-dark .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #8d232881; background-color: #8d232881;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
@ -194,22 +224,19 @@
text-decoration: none; text-decoration: none;
vertical-align: middle; vertical-align: middle;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-light .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #97f295; background-color: #97f295;
text-align: left; text-align: left;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-dark .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #1d921996; background-color: #1d921996;
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix { .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
word-wrap: normal; word-wrap: normal;
background: none; background: none;
@ -217,9 +244,11 @@
padding: 0; padding: 0;
white-space: pre; white-space: pre;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num1 { .workspace-leaf-content[data-type="diff-view"] .line-num1 {
float: left; float: left;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num1, .workspace-leaf-content[data-type="diff-view"] .line-num1,
.workspace-leaf-content[data-type="diff-view"] .line-num2 { .workspace-leaf-content[data-type="diff-view"] .line-num2 {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
@ -229,9 +258,11 @@
text-overflow: ellipsis; text-overflow: ellipsis;
width: 3.5em; width: 3.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .line-num2 { .workspace-leaf-content[data-type="diff-view"] .line-num2 {
float: right; float: right;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
background-color: var(--background-primary); background-color: var(--background-primary);
border: solid var(--background-modifier-border); border: solid var(--background-modifier-border);
@ -245,9 +276,11 @@
text-align: right; text-align: right;
width: 7.5em; width: 7.5em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after { .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
content: "\200b"; content: "\200b";
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
background-color: var(--background-primary); background-color: var(--background-primary);
border: solid var(--background-modifier-border); border: solid var(--background-modifier-border);
@ -264,14 +297,17 @@
text-overflow: ellipsis; text-overflow: ellipsis;
width: 4em; width: 4em;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
content: "\200b"; content: "\200b";
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder { .workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
background-color: var(--background-primary); background-color: var(--background-primary);
border-color: var(--background-modifier-border); border-color: var(--background-modifier-border);
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix, .workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
@ -281,115 +317,127 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber, .workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber { .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
direction: rtl; direction: rtl;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #fee8e9; background-color: #fee8e9;
border-color: #e9aeae; border-color: #e9aeae;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins { .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: #dfd; background-color: #dfd;
border-color: #b4e2b4; border-color: #b4e2b4;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
background-color: #521b1d83; background-color: #521b1d83;
border-color: #691d1d73; border-color: #691d1d73;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins { .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
background-color: rgba(30, 71, 30, 0.5); background-color: rgba(30, 71, 30, 0.5);
border-color: #13501381; border-color: #13501381;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-info { .workspace-leaf-content[data-type="diff-view"] .d2h-info {
background-color: var(--background-primary); background-color: var(--background-primary);
border-color: var(--background-modifier-border); border-color: var(--background-modifier-border);
color: var(--text-normal); color: var(--text-normal);
} }
.theme-light
.workspace-leaf-content[data-type="diff-view"] .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #fdf2d0; background-color: #fdf2d0;
} }
.theme-dark
.workspace-leaf-content[data-type="diff-view"] .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #55492480; background-color: #55492480;
} }
.theme-light
.workspace-leaf-content[data-type="diff-view"] .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: #ded; background-color: #ded;
} }
.theme-dark
.workspace-leaf-content[data-type="diff-view"] .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418); background-color: rgba(37, 78, 37, 0.418);
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
margin-bottom: 10px; margin-bottom: 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
color: #3572b0; color: #3572b0;
text-decoration: none; text-decoration: none;
} }
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-list-wrapper .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
a:visited {
color: #3572b0; color: #3572b0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
font-weight: 700; font-weight: 700;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
text-align: left; text-align: left;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
display: block; display: block;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
border-bottom: 1px solid var(--background-modifier-border); border-bottom: 1px solid var(--background-modifier-border);
margin: 0; margin: 0;
padding: 5px 10px; padding: 5px 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child { .workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
border-bottom: none; border-bottom: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch { .workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
cursor: pointer; cursor: pointer;
display: none; display: none;
font-size: 10px; font-size: 10px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-icon { .workspace-leaf-content[data-type="diff-view"] .d2h-icon {
fill: currentColor; fill: currentColor;
margin-right: 10px; margin-right: 10px;
vertical-align: middle; vertical-align: middle;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted { .workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
color: #c33; color: #c33;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-added { .workspace-leaf-content[data-type="diff-view"] .d2h-added {
color: #399839; color: #399839;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-changed { .workspace-leaf-content[data-type="diff-view"] .d2h-changed {
color: #d0b44c; color: #d0b44c;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-moved { .workspace-leaf-content[data-type="diff-view"] .d2h-moved {
color: #3572b0; color: #3572b0;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-tag {
background-color: var(--background-primary); background-color: var(--background-primary);
display: -webkit-box; display: -webkit-box;
@ -399,15 +447,19 @@
margin-left: 5px; margin-left: 5px;
padding: 0 2px; padding: 0 2px;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
border: 2px solid #c33; border: 2px solid #c33;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
border: 1px solid #399839; border: 1px solid #399839;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
border: 1px solid #d0b44c; border: 1px solid #d0b44c;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag { .workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
border: 1px solid #3572b0; border: 1px solid #3572b0;
} }

View file

@ -13,13 +13,6 @@
> ##### Revisions: > ##### Revisions:
> N/A > N/A
##### Related topics:
```expander
tag:#<INSERT_TAG_HERE>
```
##### Links: ##### Links:
- [Link to problem]() - [Link to problem]()
___ ___