This commit is contained in:
Oscar Plaisant
2024-05-14 10:51:40 +02:00
parent f71d6b0503
commit 66c143b7b3
164 changed files with 25026 additions and 13829 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,14 @@
{
"id": "obsidian42-strange-new-worlds",
"name": "Strange New Worlds (SNW)",
"version": "1.2.5",
"minAppVersion": "1.4.16",
"description": "Revealing networked thought and the strange new worlds created by your vault",
"author": "TfTHacker",
"authorUrl": "https://twitter.com/TfTHacker",
"helpUrl": "https://tfthacker.com/SNW",
"isDesktopOnly": false,
"fundingUrl": {
"Buy Me a Coffee": "https://bit.ly/o42-kofi",
"Vist my site": "https://tfthacker.com"
}
}
"id": "obsidian42-strange-new-worlds",
"name": "Strange New Worlds",
"version": "2.1.2",
"minAppVersion": "1.5.11",
"description": "Help see how your vault is interconnected with visual indicators.",
"author": "TfTHacker",
"authorUrl": "https://twitter.com/TfTHacker",
"helpUrl": "https://tfthacker.com/SNW",
"isDesktopOnly": false,
"fundingUrl": {
"Sponsor my work": "https://tfthacker.com/sponsor"
}
}

View File

@@ -3,6 +3,12 @@ body {
--snw-icon-opacity: 0.4;
}
div:has(> .snw-reference),
.snw-link-preview {
display: inline;
}
.snw-reference {
display: inline;
font-size: var(--font-ui-smaller);
@@ -21,6 +27,20 @@ body {
font-size: var(--font-ui-smaller);
}
/* Properties */
/* Have to remove the underline since text-decoration-line isn't inheritted, but then re-add ito the link */
.metadata-container .internal-link:has(.snw-frontmatter-wrapper) {
text-decoration-line: none !important;
color: unset;
cursor: unset;
.multi-select-pill-content {
text-decoration-line: underline !important;
color: var(--link-color);
cursor: var(--cursor-link);
}
}
/* CM Live Preview */
.cm-content .snw-reference {
padding-right: 2px;
@@ -75,7 +95,7 @@ body {
color: var(--text-normal);
}
.snw-sidepane-container > div > .snw-ref-area {
.snw-sidepane-container>div>.snw-ref-area {
max-height: 100% !important;
margin-bottom: 10px;
}
@@ -132,7 +152,7 @@ body {
margin-bottom: 1px !important;
}
[uic='uic'] > * {
[uic='uic']>* {
margin-top: 0px !important;
margin-bottom: 0px !important;
max-height: 230px !important;
@@ -223,7 +243,7 @@ body {
border-bottom: 1px solid var(--background-modifier-border);
}
.snw-breadcrumbs > span {
.snw-breadcrumbs>span {
margin-right: 1ch;
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-s);
@@ -246,3 +266,63 @@ body {
height: 0px;
color: transparent;
}
/* Dropdown options */
.snw-sort-dropdown-wrapper {
position: relative;
}
.snw-sort-dropdown-button {
border: none !important;
box-shadow: none !important;
width: 35px;
background-color: unset !important;
opacity: var(--snw-icon-opacity);
>svg {
width: 25px;
color: var(--tab-text-color-focused) !important;
}
}
.snw-sort-dropdown-list {
position: absolute;
right: 0;
top: 15px;
width: 90px;
padding: 5px;
z-index: 1;
border: 3px solid var(--divider-color);
border-radius: 2px;
background-color: var(--background-primary);
overflow-y: auto;
list-style: none;
color: var(--nav-item-color);
font-size: var(--nav-item-size);
font-weight: var(--nav-item-weight);
}
.snw-sort-dropdown-list-item {
padding-left: 5px;
}
.snw-sort-dropdown-list-item:hover {
background-color: var(--background-modifier-hover);
}
.snw-sort-dropdown-list-item-label {
padding-left: 5px;
position: relative;
bottom: 5px;
}
/* prevent printing of reference numbers */
@media print {
.snw-reference {
display: none;
}
}