macbook-pro-de-oscar-1.home 2025-8-27:18:3:37
This commit is contained in:
Vendored
+91
-18
@@ -40,6 +40,8 @@ var langs = {
|
||||
setting_selector_tag_desc: "If you provide a tag here, the plugin will only activate on notes with that tag i.e. #cloze.",
|
||||
setting_hide_by_default: "Hide by default",
|
||||
setting_hide_by_default_desc: "Enable this setting, all clozes will be hidden by default when reading the page. \u{1F648}",
|
||||
setting_hover_to_reveal: "Hover to reveal",
|
||||
setting_hover_to_reveal_desc: "Enable this setting, clozes will be be revealed on hover.",
|
||||
setting_auto_convert: "Auto Convert",
|
||||
setting_highlight: "Highlighted text",
|
||||
setting_highlight_desc: "Enable this setting, all ==highlighted texts== will be converted to cloze.",
|
||||
@@ -82,6 +84,8 @@ var langs2 = {
|
||||
setting_selector_tag_desc: "\u8BE5\u63D2\u4EF6\u5C06\u4EC5\u4F5C\u7528\u4E8E\u5E26\u6709\u8BE5\u6807\u7B7E\u7684\u7B14\u8BB0\u4E0A\uFF0C\u4E3A\u7A7A\u5219\u4F5C\u7528\u4E8E\u6240\u6709\u7B14\u8BB0 i.e. #cloze\u3002",
|
||||
setting_hide_by_default: "\u9ED8\u8BA4\u9690\u85CF",
|
||||
setting_hide_by_default_desc: "\u542F\u7528\u6B64\u8BBE\u7F6E\u540E\uFF0C\u6253\u5F00\u9875\u9762\u65F6\u6240\u6709\u586B\u7A7A\u5185\u5BB9\u5C06\u9ED8\u8BA4\u9690\u85CF\u3002\u{1F648}",
|
||||
setting_hover_to_reveal: "\u9F20\u6807\u60AC\u505C\u663E\u793A",
|
||||
setting_hover_to_reveal_desc: "\u542F\u7528\u6B64\u8BBE\u7F6E\u540E\uFF0C\u9F20\u6807\u60AC\u505C\u5728\u586B\u7A7A\u4E0A\u65F6\u5C06\u663E\u793A\u5185\u5BB9\u3002",
|
||||
setting_auto_convert: "\u81EA\u52A8\u8F6C\u6362",
|
||||
setting_highlight: "\u9AD8\u4EAE\u6587\u5B57",
|
||||
setting_highlight_desc: "\u542F\u7528\u6B64\u8BBE\u7F6E\u540E\uFF0C\u6240\u6709==\u9AD8\u4EAE\u6587\u5B57==\u4E5F\u5C06\u8F6C\u6362\u4E3A\u586B\u7A7A\u3002",
|
||||
@@ -129,6 +133,7 @@ var HINT_STRATEGY = {
|
||||
};
|
||||
var DEFAULT_SETTINGS = {
|
||||
defaultHide: true,
|
||||
hoverToReveal: false,
|
||||
selectorTag: "#",
|
||||
includeHighlighted: false,
|
||||
includeUnderlined: false,
|
||||
@@ -197,14 +202,18 @@ var SettingTab = class extends import_obsidian.PluginSettingTab {
|
||||
this.plugin.settings.selectorTag = this.sanitizeTag(value);
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(lang_default.setting_fixed_cloze_width).setDesc(lang_default.setting_fixed_cloze_width_desc).addToggle((toggle) => toggle.setValue(this.plugin.settings.fixedClozeWidth).onChange((value) => {
|
||||
this.plugin.settings.fixedClozeWidth = value;
|
||||
this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(lang_default.setting_hide_by_default).setDesc(lang_default.setting_hide_by_default_desc).addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultHide).onChange((value) => {
|
||||
this.plugin.settings.defaultHide = value;
|
||||
this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(lang_default.setting_hover_to_reveal).setDesc(lang_default.setting_hover_to_reveal_desc).addToggle((toggle) => toggle.setValue(this.plugin.settings.hoverToReveal).onChange((value) => {
|
||||
this.plugin.settings.hoverToReveal = value;
|
||||
this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(lang_default.setting_fixed_cloze_width).setDesc(lang_default.setting_fixed_cloze_width_desc).addToggle((toggle) => toggle.setValue(this.plugin.settings.fixedClozeWidth).onChange((value) => {
|
||||
this.plugin.settings.fixedClozeWidth = value;
|
||||
this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
displayHintSetting(containerEl) {
|
||||
const settingEl = containerEl.createEl("div");
|
||||
@@ -321,6 +330,7 @@ var HintModal = class extends import_obsidian2.Modal {
|
||||
var ATTRS = {
|
||||
hide: "data-cloze-hide",
|
||||
hint: "data-cloze-hint",
|
||||
hover: "data-cloze-hover",
|
||||
content: "data-cloze-content"
|
||||
};
|
||||
var CLASSES = {
|
||||
@@ -330,7 +340,8 @@ var CLASSES = {
|
||||
bold: "cloze-bold",
|
||||
underline: "cloze-underline",
|
||||
hint: "cloze-hint",
|
||||
fixedWidth: "cloze-fixed-width"
|
||||
fixedWidth: "cloze-fixed-width",
|
||||
colzeHide: "cloze-hide"
|
||||
};
|
||||
|
||||
// src/utils.ts
|
||||
@@ -380,8 +391,8 @@ var utils_default = utils;
|
||||
|
||||
// src/main.ts
|
||||
var ClozePlugin = class extends import_obsidian3.Plugin {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
constructor(app, manifest) {
|
||||
super(app, manifest);
|
||||
this.isSourceHide = false;
|
||||
this.isPreviewHide = true;
|
||||
this.clozeSelector = () => {
|
||||
@@ -436,15 +447,38 @@ var ClozePlugin = class extends import_obsidian3.Plugin {
|
||||
};
|
||||
// ----------- cloze interaction ------------
|
||||
this.hideClozeContent = (target) => {
|
||||
if (!target)
|
||||
return;
|
||||
if (!target.getAttribute(ATTRS.hide)) {
|
||||
target.setAttribute(ATTRS.hide, "true");
|
||||
}
|
||||
this.updateClozeClass(target);
|
||||
this.initHint(target);
|
||||
};
|
||||
this.showClozeContent = (target) => {
|
||||
if (!target)
|
||||
return;
|
||||
if (target.getAttribute(ATTRS.hide)) {
|
||||
target.removeAttribute(ATTRS.hide);
|
||||
}
|
||||
this.updateClozeClass(target);
|
||||
};
|
||||
this.setClozeOnHover = (target, hoverState) => {
|
||||
if (!target)
|
||||
return;
|
||||
if (hoverState) {
|
||||
target.setAttribute(ATTRS.hover, "true");
|
||||
} else {
|
||||
target.removeAttribute(ATTRS.hover);
|
||||
}
|
||||
this.updateClozeClass(target);
|
||||
};
|
||||
this.updateClozeClass = (target) => {
|
||||
if (target.getAttribute(ATTRS.hover) || !target.getAttribute(ATTRS.hide)) {
|
||||
target.classList.remove(CLASSES.colzeHide);
|
||||
} else {
|
||||
target.classList.add(CLASSES.colzeHide);
|
||||
}
|
||||
};
|
||||
this.addCloze = (editor, needHint) => {
|
||||
const currentStr = editor.getSelection();
|
||||
@@ -480,16 +514,8 @@ var ClozePlugin = class extends import_obsidian3.Plugin {
|
||||
this.initEditorMenu();
|
||||
this.initCommand();
|
||||
this.initMarkdownPostProcessor();
|
||||
this.registerDomEvent(document, "click", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.toggleHide(utils_default.getClozeEl(event.target));
|
||||
}
|
||||
});
|
||||
this.registerDomEvent(document, "contextmenu", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.onRightClick(event, utils_default.getClozeEl(event.target));
|
||||
}
|
||||
});
|
||||
this.initPageClickEvent();
|
||||
this.initNewWindowPageClickEvent();
|
||||
}
|
||||
initRibbon() {
|
||||
this.addRibbonIcon("fish", lang_default.toggle_cloze, (evt) => {
|
||||
@@ -591,10 +617,55 @@ var ClozePlugin = class extends import_obsidian3.Plugin {
|
||||
if (this.settings.includeCurlyBrackets) {
|
||||
this.transformCurlyBracketedText(element);
|
||||
}
|
||||
element.querySelectorAll(this.clozeSelector()).forEach(this.renderCloze);
|
||||
element.querySelectorAll(this.clozeSelector()).forEach(($cloze) => {
|
||||
this.renderCloze($cloze);
|
||||
if (this.settings.hoverToReveal) {
|
||||
this.initClozeMouseOverReveal($cloze);
|
||||
}
|
||||
});
|
||||
this.toggleAllHide(element, this.isAllHide());
|
||||
});
|
||||
}
|
||||
initClozeMouseOverReveal($cloze) {
|
||||
this.registerDomEvent($cloze, "mouseenter", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.setClozeOnHover($cloze, true);
|
||||
}
|
||||
});
|
||||
this.registerDomEvent($cloze, "mouseleave", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.setClozeOnHover($cloze, false);
|
||||
}
|
||||
});
|
||||
}
|
||||
initPageClickEvent() {
|
||||
this.registerDomEvent(document, "click", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.toggleHide(utils_default.getClozeEl(event.target));
|
||||
}
|
||||
});
|
||||
this.registerDomEvent(document, "contextmenu", (event) => {
|
||||
if (this.isPreviewMode()) {
|
||||
this.onRightClick(event, utils_default.getClozeEl(event.target));
|
||||
}
|
||||
});
|
||||
}
|
||||
// init for new window
|
||||
initNewWindowPageClickEvent() {
|
||||
const handler = (event) => {
|
||||
this.toggleHide(utils_default.getClozeEl(event.target));
|
||||
};
|
||||
this.app.workspace.on("window-open", (a, win) => {
|
||||
if (win !== null) {
|
||||
win.document.addEventListener("click", handler);
|
||||
}
|
||||
});
|
||||
this.app.workspace.on("window-close", (a, win) => {
|
||||
if (win !== null) {
|
||||
win.document.removeEventListener("click", handler);
|
||||
}
|
||||
});
|
||||
}
|
||||
onRightClick(event, $cloze) {
|
||||
if (!$cloze)
|
||||
return;
|
||||
@@ -695,3 +766,5 @@ var ClozePlugin = class extends import_obsidian3.Plugin {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* nosourcemap */
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "cloze",
|
||||
"name": "Cloze",
|
||||
"version": "0.1.17",
|
||||
"version": "0.1.18",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Convert highlights, underlines, bolded texts or any selected texts into clozes.",
|
||||
"author": "Vikki",
|
||||
|
||||
Vendored
+10
-10
@@ -26,34 +26,34 @@ body {
|
||||
}
|
||||
|
||||
/* special for <u> */
|
||||
u.cloze[data-cloze-hide=true]{
|
||||
u.cloze.cloze-hide{
|
||||
border-bottom: var(--cloze-underline-width) var(--cloze-underline-style) var(--cloze-underline-color) !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cloze-span,
|
||||
.cloze[data-cloze-hide=true]{
|
||||
.cloze.cloze-hide{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[data-cloze-hide=true]:not(.cloze-hint) {
|
||||
.cloze-hide:not(.cloze-hint) {
|
||||
color: transparent !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* embedded segments */
|
||||
[data-cloze-hide=true] .cloze-content,
|
||||
[data-cloze-hide=true] mark,
|
||||
[data-cloze-hide=true] u,
|
||||
[data-cloze-hide=true] strong,
|
||||
[data-cloze-hide=true] a {
|
||||
.cloze-hide .cloze-content,
|
||||
.cloze-hide mark,
|
||||
.cloze-hide u,
|
||||
.cloze-hide strong,
|
||||
.cloze-hide a {
|
||||
color: transparent !important;
|
||||
text-shadow: none !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* fixed cloze width */
|
||||
.cloze-fixed-width .cloze[data-cloze-hide=true]:not(.cloze-hint) {
|
||||
.cloze-fixed-width .cloze.cloze-hide:not(.cloze-hint) {
|
||||
white-space: nowrap;
|
||||
width: var(--cloze-fixed-width);
|
||||
display: inline-block;
|
||||
@@ -73,7 +73,7 @@ u.cloze[data-cloze-hide=true]{
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
[data-cloze-hide=true] .cloze-hint {
|
||||
.cloze-hide .cloze-hint {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "cmdr",
|
||||
"name": "Commander",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.4",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Customize your workspace by adding commands everywhere, create Macros and supercharge your mobile toolbar.",
|
||||
"author": "jsmorabito & phibr0",
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -181,6 +181,9 @@
|
||||
/* flair icon for suggestions that represent an alias */
|
||||
.qsp-alias-indicator {}
|
||||
|
||||
/* flair indicator for the file extension of file based suggestions */
|
||||
.qsp-file-ext-indicator {}
|
||||
|
||||
/* Quick Open indicator container element */
|
||||
.qsp-quick-open-aux {
|
||||
display: flex;
|
||||
|
||||
Vendored
+187
-34
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "dataview",
|
||||
"name": "Dataview",
|
||||
"version": "0.5.67",
|
||||
"version": "0.5.68",
|
||||
"minAppVersion": "0.13.11",
|
||||
"description": "Complex data views for the data-obsessed.",
|
||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
||||
|
||||
+3
-8
@@ -1,8 +1,3 @@
|
||||
/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */
|
||||
.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span {
|
||||
line-height: 1.0;
|
||||
}
|
||||
|
||||
.block-language-dataview {
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -74,7 +69,7 @@
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-primary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
color: var(--nav-item-color-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-value {
|
||||
@@ -82,7 +77,7 @@
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
color: var(--nav-item-color-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-standalone-value {
|
||||
@@ -90,7 +85,7 @@
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
color: var(--nav-item-color-selected);
|
||||
}
|
||||
|
||||
/***************/
|
||||
|
||||
+84
-14
@@ -16,7 +16,8 @@
|
||||
"elements-stats": true,
|
||||
"names": false,
|
||||
"icons": false,
|
||||
"arrows": false
|
||||
"arrows": false,
|
||||
"layers": false
|
||||
},
|
||||
"localgraph": {
|
||||
"auto-enabled": false,
|
||||
@@ -34,7 +35,8 @@
|
||||
"elements-stats": false,
|
||||
"names": false,
|
||||
"icons": false,
|
||||
"arrows": false
|
||||
"arrows": false,
|
||||
"layers": false
|
||||
}
|
||||
},
|
||||
"interactiveSettings": {
|
||||
@@ -44,7 +46,11 @@
|
||||
"unselected": [],
|
||||
"noneType": "none",
|
||||
"showOnGraph": true,
|
||||
"enableByDefault": true
|
||||
"enableByDefault": true,
|
||||
"excludeRegex": {
|
||||
"regex": "",
|
||||
"flags": ""
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"colormap": "rainbow",
|
||||
@@ -52,7 +58,11 @@
|
||||
"unselected": [],
|
||||
"noneType": "none",
|
||||
"showOnGraph": true,
|
||||
"enableByDefault": true
|
||||
"enableByDefault": true,
|
||||
"excludeRegex": {
|
||||
"regex": "",
|
||||
"flags": ""
|
||||
}
|
||||
},
|
||||
"folder": {
|
||||
"colormap": "winter",
|
||||
@@ -60,12 +70,17 @@
|
||||
"unselected": [],
|
||||
"noneType": ".",
|
||||
"showOnGraph": true,
|
||||
"enableByDefault": false
|
||||
"enableByDefault": false,
|
||||
"excludeRegex": {
|
||||
"regex": "",
|
||||
"flags": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": {},
|
||||
"backupGraphOptions": {
|
||||
"collapse-filter": true,
|
||||
"collapse-filter": false,
|
||||
"search": "",
|
||||
"localJumps": 1,
|
||||
"localBacklinks": true,
|
||||
"localForelinks": true,
|
||||
@@ -81,17 +96,17 @@
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.518713248970312,
|
||||
"centerStrength": 0.591389973958333,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 1,
|
||||
"close": false
|
||||
"linkDistance": 30,
|
||||
"scale": 0.6757381672622811,
|
||||
"close": true
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"id": "default-vault",
|
||||
"name": "Vault (default)",
|
||||
"name": "Default state",
|
||||
"engineOptions": {
|
||||
"colorGroups": [],
|
||||
"hideUnresolved": false,
|
||||
@@ -128,7 +143,6 @@
|
||||
"nodesSizeFunction": "default",
|
||||
"nodesColorColormap": "YlOrRd",
|
||||
"nodesColorFunction": "default",
|
||||
"invertNodeStats": false,
|
||||
"linksSizeFunction": "default",
|
||||
"linksColorColormap": "YlOrRd",
|
||||
"linksColorFunction": "default",
|
||||
@@ -219,7 +233,6 @@
|
||||
"excludedTargetsFolder": [],
|
||||
"curvedLinks": false,
|
||||
"outlineLinks": false,
|
||||
"folderRadius": 50,
|
||||
"folderShowFullPath": true,
|
||||
"invertArrows": false,
|
||||
"flatArrows": false,
|
||||
@@ -278,5 +291,62 @@
|
||||
"useModifiedNames": true,
|
||||
"showIcons": false
|
||||
},
|
||||
"multipleNodesData": {}
|
||||
"multipleNodesData": {},
|
||||
"canonicalizePropertiesWithDataview": true,
|
||||
"syncDefaultState": false,
|
||||
"saveConfigsWithState": false,
|
||||
"customColorMaps": {},
|
||||
"nodesSizeRange": {
|
||||
"min": 0.5,
|
||||
"max": 1.5
|
||||
},
|
||||
"graphStatsDirection": "normal",
|
||||
"recomputeStatsOnGraphChange": false,
|
||||
"highlightOpenNodes": false,
|
||||
"highlightSearchResults": false,
|
||||
"colorBasedOnDepth": false,
|
||||
"depthColormap": "rainbow",
|
||||
"currentNode": {
|
||||
"useColor": false,
|
||||
"color": "#000000",
|
||||
"size": 100,
|
||||
"shape": "circle"
|
||||
},
|
||||
"interactivesBrightness": {
|
||||
"light": 1,
|
||||
"dark": 1
|
||||
},
|
||||
"fadeInElements": false,
|
||||
"externalLinks": "none",
|
||||
"externalLinksProperties": [
|
||||
"url"
|
||||
],
|
||||
"externalLinkOpenMode": "note",
|
||||
"showPinIcon": true,
|
||||
"curvedFactor": 1,
|
||||
"displayLinkTypeLabel": false,
|
||||
"colorLinkTypeLabel": false,
|
||||
"noLineHighlight": false,
|
||||
"ellipsis": "…",
|
||||
"backgroundOpacityWithIcon": 0,
|
||||
"useIconColorForBackgroud": true,
|
||||
"borderWidthWithIcon": 0,
|
||||
"layerProperties": [
|
||||
"layer"
|
||||
],
|
||||
"numberOfActiveLayers": 4,
|
||||
"layersOrder": "ASC",
|
||||
"displayLabelsInUI": true,
|
||||
"nodesWithoutLayerOpacity": 0,
|
||||
"useLayerCustomOpacity": true,
|
||||
"layersCustomOpacity": {},
|
||||
"layersLevels": {},
|
||||
"defaultLevelForLayers": 0,
|
||||
"radialMenuModifier": "Shift",
|
||||
"pinNodeModifier": "Alt",
|
||||
"useLeftClickToSelect": true,
|
||||
"selectNodeModifier": "Shift",
|
||||
"filterAbstractFiles": [],
|
||||
"ignoreInlineLinks": false,
|
||||
"selectionMode": "replace"
|
||||
}
|
||||
+207
-150
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "extended-graph",
|
||||
"name": "Extended Graph",
|
||||
"version": "2.4.3",
|
||||
"version": "2.7.5",
|
||||
"minAppVersion": "1.7.0",
|
||||
"description": "Extends the features of the core Graph view, display images, manage states, remove links, change node shapes, and more.",
|
||||
"author": "Kapirklaa",
|
||||
|
||||
+363
-57
@@ -1,11 +1,14 @@
|
||||
body {
|
||||
--ext-graph-background-container: var(--background-primary);
|
||||
--ext-graph-background-container-opacity: 0.9;
|
||||
--ext-graph-layers-max-width: 5em;
|
||||
--ext-graph-layers-with-labels-max-width: 10em;
|
||||
}
|
||||
|
||||
/* Container */
|
||||
.graph-legend-container,
|
||||
.graph-states-container {
|
||||
.graph-states-container,
|
||||
.extended-graph-layers {
|
||||
background-color: rgb(from var(--ext-graph-background-container) r g b / var(--ext-graph-background-container-opacity));
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: var(--shadow-s);
|
||||
@@ -20,16 +23,6 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.is-phone .graph-legend-container,
|
||||
.is-phone .graph-states-container {
|
||||
--input-height: 30px;
|
||||
|
||||
button,
|
||||
select {
|
||||
font-size: var(--font-ui-smaller);
|
||||
}
|
||||
}
|
||||
|
||||
/* LEGEND */
|
||||
|
||||
.graph-legend-container {
|
||||
@@ -98,12 +91,12 @@ body {
|
||||
color: var(--legend-text-color);
|
||||
padding: var(--size-2-2) var(--size-4-2);
|
||||
border-radius: var(--radius-s);
|
||||
line-height: 1;
|
||||
max-width: 140px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.graph-legend.is-hidden {
|
||||
@@ -116,12 +109,22 @@ body {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.and-or-group {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
button {
|
||||
padding: var(--size-2-2) var(--size-4-2);
|
||||
}
|
||||
}
|
||||
|
||||
.is-collapsed {
|
||||
display: flex;
|
||||
background-color: var(--background-secondary);
|
||||
overflow: hidden;
|
||||
|
||||
.graph-legend {
|
||||
.graph-legend,
|
||||
.and-or-group button {
|
||||
font-size: 0;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
@@ -199,6 +202,13 @@ body {
|
||||
width: 10ch;
|
||||
}
|
||||
|
||||
.and-or-group {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: var(--size-2-1);
|
||||
padding: var(--size-2-1);
|
||||
}
|
||||
|
||||
.is-collapsed {
|
||||
.setting-item-info svg {
|
||||
vertical-align: middle;
|
||||
@@ -232,6 +242,11 @@ body {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.and-or-group {
|
||||
gap: var(--size-2-1);
|
||||
padding: var(--size-2-1);
|
||||
}
|
||||
|
||||
.is-collapsed {
|
||||
flex-grow: 1;
|
||||
padding-inline: 0;
|
||||
@@ -287,6 +302,98 @@ body {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
/* LAYERS */
|
||||
|
||||
.extended-graph-layers {
|
||||
position: absolute;
|
||||
bottom: 35px;
|
||||
inset-inline-end: var(--size-4-3);
|
||||
padding: var(--size-2-2);
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
max-width: var(--ext-graph-layers-max-width);
|
||||
|
||||
&.show-labels {
|
||||
max-width: var(--ext-graph-layers-with-labels-max-width);
|
||||
}
|
||||
|
||||
.layers {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
text-align: center;
|
||||
margin-block: var(--size-2-2);
|
||||
}
|
||||
|
||||
.layers>* {
|
||||
padding-block: var(--size-2-1);
|
||||
padding-inline: var(--size-2-2);
|
||||
}
|
||||
|
||||
.layer {
|
||||
display: flex;
|
||||
gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
.layer-level {
|
||||
width: 3em;
|
||||
padding-inline: var(--size-2-2);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-s);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.layer-labels {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--text-faint);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.layer-labels>* {
|
||||
padding-inline: var(--size-2-2);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-s);
|
||||
}
|
||||
|
||||
.current {
|
||||
border-radius: var(--radius-m);
|
||||
background-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.1);
|
||||
color: var(--color-accent);
|
||||
|
||||
>.layer-level {
|
||||
font-weight: var(--font-bold);
|
||||
}
|
||||
}
|
||||
|
||||
.current:not(:last-child) {
|
||||
border-bottom: 1px dashed var(--color-accent);
|
||||
padding-bottom: calc(var(--size-2-1) - 1px);
|
||||
}
|
||||
|
||||
.active-layers-border {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
inset-inline: var(--size-2-2);
|
||||
border: 2px solid var(--color-accent);
|
||||
border-radius: var(--radius-m);
|
||||
transition: top 0.1s ease-out, bottom 0.1s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.extended-graph-layers~.graph-legend-container.horizontal-layout {
|
||||
--layers-max-width: var(--ext-graph-layers-max-width);
|
||||
right: calc(var(--size-4-3) * 2 + var(--layers-max-width));
|
||||
max-width: calc(100% - 3 * var(--size-4-3) - var(--layers-max-width));
|
||||
}
|
||||
|
||||
.extended-graph-layers.show-labels~.graph-legend-container.horizontal-layout {
|
||||
--layers-max-width: var(--ext-graph-layers-with-labels-max-width);
|
||||
}
|
||||
|
||||
.extended-graph-layers.is-closed~.graph-legend-container.horizontal-layout {
|
||||
--layers-max-width: calc(2 * var(--size-2-2) + 2 * var(--size-2-3) + var(--icon-size));
|
||||
}
|
||||
|
||||
/* MODAL NEW */
|
||||
|
||||
@@ -349,6 +456,7 @@ body {
|
||||
border-left: 1px solid var(--background-modifier-border);
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-l);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: var(--size-2-2) var(--size-4-2);
|
||||
@@ -380,6 +488,7 @@ body {
|
||||
|
||||
thead {
|
||||
background-color: var(--background-secondary);
|
||||
text-transform: capitalize;
|
||||
|
||||
--icon-color: var(--text-faint);
|
||||
|
||||
@@ -399,12 +508,15 @@ body {
|
||||
transform: scaleY(-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.col-enabled {
|
||||
width: 7em;
|
||||
}
|
||||
|
||||
.col-selected {
|
||||
width: 7em;
|
||||
}
|
||||
|
||||
.col-shape {
|
||||
width: 7em;
|
||||
}
|
||||
@@ -507,8 +619,14 @@ body {
|
||||
.setting-item-heading {
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.search-input-container {}
|
||||
/* MODAL OPEN EXTERNAL LINKS */
|
||||
|
||||
.graph-modal-open-external-link .modal-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
/* GRAPH CONTROLS */
|
||||
@@ -517,6 +635,11 @@ body {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.separator-exended-graph {
|
||||
--hr-thickness: 1px;
|
||||
margin-block: 0.5rem;
|
||||
}
|
||||
|
||||
.graph-controls.is-close .mod-extended-graph-toggle {
|
||||
--icon-color-active: var(--text-normal);
|
||||
display: flex;
|
||||
@@ -531,10 +654,8 @@ body {
|
||||
background-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.2);
|
||||
}
|
||||
|
||||
|
||||
.separator-exended-graph {
|
||||
--hr-thickness: 1px;
|
||||
margin-block: 0.5rem;
|
||||
.graph-control-section:is(.mod-extended-graph-options, .mod-extended-graph-folders) .setting-item .setting-item-info {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.graph-controls:not(.is-close) .separator-exended-graph {
|
||||
@@ -548,6 +669,13 @@ body {
|
||||
margin-top: var(--size-4-2);
|
||||
}
|
||||
|
||||
.graph-controls.is-close .mod-extended-graph-toggle.is-disabled,
|
||||
.graph-controls.is-close .mod-extended-graph-reset.is-disabled {
|
||||
--icon-color-active: var(--text-muted);
|
||||
--icon-color: var(--text-faint);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.graph-control-section:nth-last-child(1 of .graph-control-section) {
|
||||
border-bottom: none;
|
||||
}
|
||||
@@ -563,21 +691,6 @@ body {
|
||||
|
||||
/* SETTINGS */
|
||||
|
||||
.is-phone .extended-graph-settings .settings-colors-container {
|
||||
input[type="color"] {
|
||||
width: calc(var(--swatch-width) + 4px);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
button {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.preview {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.extended-graph-settings {
|
||||
|
||||
textarea {
|
||||
@@ -595,13 +708,11 @@ body {
|
||||
margin-top: 0.75em;
|
||||
padding-inline: 0.75em;
|
||||
border-radius: var(--radius-s);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
>.setting-item-heading:not(.is-collapsed) {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom: 0;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
@@ -633,8 +744,6 @@ body {
|
||||
>.setting-item-heading~.setting-item:not(.setting-item-heading):not(.no-section) {
|
||||
background-color: var(--background-secondary);
|
||||
padding-inline: 0.75em;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
>.setting-item-heading+.setting-item {
|
||||
@@ -657,10 +766,14 @@ body {
|
||||
.setting-item-heading.setting-focus.is-collapsed~.setting-focus,
|
||||
.setting-item-heading.setting-names.is-collapsed~.setting-names,
|
||||
.setting-item-heading.setting-shapes.is-collapsed~.setting-shapes,
|
||||
.setting-item-heading.setting-layers.is-collapsed~.setting-layers,
|
||||
.setting-item-heading.setting-arrows.is-collapsed~.setting-arrows,
|
||||
.setting-item-heading.setting-elements-stats.is-collapsed~.setting-elements-stats,
|
||||
.setting-item-heading.setting-zoom.is-collapsed~.setting-zoom,
|
||||
.setting-item-heading.setting-local-graph.is-collapsed~.setting-local-graph,
|
||||
.setting-item-heading.setting-display.is-collapsed~.setting-display,
|
||||
.setting-item-heading.setting-filter.is-collapsed~.setting-filter,
|
||||
.setting-item-heading.setting-inputs.is-collapsed~.setting-inputs,
|
||||
.setting-item-heading.setting-performances.is-collapsed~.setting-performances,
|
||||
.setting-item-heading.setting-beta.is-collapsed~.setting-beta {
|
||||
display: none;
|
||||
@@ -693,7 +806,7 @@ body {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.setting-item.setting-shapes {
|
||||
.setting-item:not(.setting-item-heading).setting-shapes {
|
||||
--svg-size: var(--icon-size);
|
||||
|
||||
.setting-item-info {
|
||||
@@ -733,20 +846,32 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.setting-warning {
|
||||
.setting-local-graph {
|
||||
.shape-icon {
|
||||
padding: var(--size-4-1);
|
||||
border-radius: var(--radius-s);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.shape-icon.is-active {
|
||||
color: var(--color-accent);
|
||||
background-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.1);
|
||||
outline: 1px solid hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.setting-warning,
|
||||
.setting-additional-info {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
|
||||
.setting-item-info {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.75em;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.setting-item-name {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
|
||||
.setting-item-description {
|
||||
padding-top: 0;
|
||||
@@ -761,6 +886,43 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.setting-warning {
|
||||
.setting-item-info {
|
||||
gap: 0.75em;
|
||||
}
|
||||
|
||||
svg {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
}
|
||||
|
||||
.setting-additional-info {
|
||||
svg {
|
||||
--icon-size: var(--icon-xs);
|
||||
color: var(--text-faint);
|
||||
}
|
||||
}
|
||||
|
||||
.control-warning {
|
||||
--icon-size: var(--icon-xs);
|
||||
margin-inline-start: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-4-2);
|
||||
color: var(--text-muted);
|
||||
font-size: var(--font-ui-smaller);
|
||||
padding-top: var(--size-4-1);
|
||||
line-height: var(--line-height-tight);
|
||||
|
||||
svg {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
|
||||
&.is-hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.extended-graph-nav-settings {
|
||||
display: flex;
|
||||
padding-bottom: 0.75em;
|
||||
@@ -768,6 +930,7 @@ body {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
overflow-x: auto;
|
||||
flex-wrap: wrap;
|
||||
|
||||
>.clickable-icon {
|
||||
background-color: var(--background-secondary);
|
||||
@@ -777,18 +940,50 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
>*:first-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
>*:last-child {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
color: var(--text-muted);
|
||||
>* {
|
||||
color: var(--text-faint);
|
||||
font-size: var(--font-ui-smaller);
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
}
|
||||
|
||||
.setting-layer-info {
|
||||
&:not(:nth-child(1 of .setting-layer-info)) {
|
||||
border: none;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.setting-item-info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.setting-item-control {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.setting-item-control> :last-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.level-origin-icon {
|
||||
--icon-size: var(--icon-xs);
|
||||
color: var(--text-faint);
|
||||
}
|
||||
}
|
||||
|
||||
input.number {
|
||||
max-width: 5em;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: var(--color-red);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -834,7 +1029,18 @@ body {
|
||||
|
||||
|
||||
|
||||
.graph-modal-interactives-selection .modal-content {
|
||||
.graph-modal-interactives-selection {
|
||||
.setting-item-control {
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 10ch;
|
||||
}
|
||||
}
|
||||
|
||||
.items-container {
|
||||
display: flex;
|
||||
gap: var(--size-4-2);
|
||||
padding: 0.75em 0;
|
||||
@@ -866,6 +1072,7 @@ body {
|
||||
background-color: var(--background-modifier-form-field);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.graph-modal-shape-picker .modal-content {
|
||||
@@ -905,6 +1112,8 @@ body {
|
||||
}
|
||||
|
||||
|
||||
/* PALETTES */
|
||||
|
||||
.graph-modal-palette-picker {
|
||||
.setting-item-heading {
|
||||
display: block;
|
||||
@@ -914,15 +1123,76 @@ body {
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.setting-item-heading>.setting-item-info {
|
||||
.setting-item-heading:not(:last-child)>.setting-item-info {
|
||||
margin-bottom: 0.75em;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.setting-item-heading>.setting-item-info>.setting-item-name {
|
||||
.setting-item-heading:not(:last-child)>.setting-item-info>.setting-item-name {
|
||||
display: flex;
|
||||
gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
.setting-item-heading:last-child .setting-item-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-4-2);
|
||||
}
|
||||
|
||||
.setting-item-name {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
|
||||
.graph-modal-palette-maker {
|
||||
.canvas-gradient-maker-container {
|
||||
--swatch-height: 100%;
|
||||
position: relative;
|
||||
height: 80px;
|
||||
padding-block: 3px;
|
||||
}
|
||||
|
||||
canvas {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="color"]::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="color"] {
|
||||
position: absolute;
|
||||
display: inline;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: calc(var(--handle-position) * 100%);
|
||||
transform: translateX(-50%);
|
||||
width: 15px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
input[type="color"]::-webkit-color-swatch {
|
||||
border: 2px solid var(--background-secondary);
|
||||
}
|
||||
|
||||
.error {
|
||||
color: var(--color-red);
|
||||
}
|
||||
|
||||
.setting-item-heading:last-child .setting-item-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-4-2);
|
||||
|
||||
svg {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.palette-group {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 120px);
|
||||
@@ -939,6 +1209,20 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.custom-palette {
|
||||
.setting-item-info {
|
||||
display: flex;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
:nth-child(1 of .clickable-icon) {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.palette-canvas.reversed {
|
||||
scale: -1 1;
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
@@ -1018,7 +1302,7 @@ svg.shape-svg {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
filter: drop-shadow(var(--menu-shadow));
|
||||
transform: translate(50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
.menu-scroll {
|
||||
position: relative;
|
||||
@@ -1048,13 +1332,20 @@ svg.shape-svg {
|
||||
clip-path: polygon(0 0, 0 99%, 99% 0);
|
||||
transform: rotate(var(--rotation));
|
||||
|
||||
.menu-item-icon {
|
||||
.menu-item-icon,
|
||||
.menu-item-title {
|
||||
font-family: var(--font-interface);
|
||||
font-size: var(--font-ui-smaller);
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 15%;
|
||||
font-size: 2rem;
|
||||
transform: rotate(calc(var(--rotation) * -1));
|
||||
color: var(--text-normal);
|
||||
transform-origin: center center;
|
||||
color: color-mix(in hsl, var(--color-base-00), var(--color-base-100) var(--dark-text-interp));
|
||||
}
|
||||
|
||||
.menu-item-title {
|
||||
left: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1135,4 +1426,19 @@ svg.shape-svg {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-inline: auto;
|
||||
width: fit-content;
|
||||
transform: translateX(50%);
|
||||
}
|
||||
}
|
||||
|
||||
/* SUGGESTERS */
|
||||
|
||||
.suggestion-container .extended-graph-duplicate {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
+12
-11
@@ -21,7 +21,7 @@ var __copyProps = (to, from, except, desc) => {
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// main.ts
|
||||
// src/main.ts
|
||||
var main_exports = {};
|
||||
__export(main_exports, {
|
||||
default: () => GraphNestedTagsPlugin
|
||||
@@ -29,13 +29,14 @@ __export(main_exports, {
|
||||
module.exports = __toCommonJS(main_exports);
|
||||
var import_obsidian = require("obsidian");
|
||||
var GraphNestedTagsPlugin = class extends import_obsidian.Plugin {
|
||||
// At nodes changes graphLeaf.view.renderer.setData calls, so we need to step in and change links.
|
||||
// inject our own wrapper around graphLeaf.view.renderer.setData
|
||||
// which will manipulate add tag -> subtag hierarchy
|
||||
inject_setData(graphLeaf) {
|
||||
const r = graphLeaf.view.renderer;
|
||||
if (!r._setData) {
|
||||
r._setData = r.setData;
|
||||
const leafRenderer = graphLeaf.view.renderer;
|
||||
if (leafRenderer.originalSetData == void 0) {
|
||||
leafRenderer.originalSetData = leafRenderer.setData;
|
||||
}
|
||||
r.setData = (data) => {
|
||||
leafRenderer.setData = (data) => {
|
||||
var _a;
|
||||
const nodes = data.nodes;
|
||||
let parent;
|
||||
@@ -57,7 +58,7 @@ var GraphNestedTagsPlugin = class extends import_obsidian.Plugin {
|
||||
}
|
||||
}
|
||||
}
|
||||
return (_a = r._setData) == null ? void 0 : _a.call(r, data);
|
||||
return (_a = leafRenderer.originalSetData) == null ? void 0 : _a.call(leafRenderer, data);
|
||||
};
|
||||
return graphLeaf;
|
||||
}
|
||||
@@ -67,7 +68,7 @@ var GraphNestedTagsPlugin = class extends import_obsidian.Plugin {
|
||||
for (const leaf of this.app.workspace.getLeavesOfType(
|
||||
"graph"
|
||||
)) {
|
||||
if (leaf.view.renderer._setData === void 0) {
|
||||
if (leaf.view.renderer.originalSetData === void 0) {
|
||||
this.inject_setData(leaf);
|
||||
}
|
||||
}
|
||||
@@ -83,9 +84,9 @@ var GraphNestedTagsPlugin = class extends import_obsidian.Plugin {
|
||||
for (const leaf of this.app.workspace.getLeavesOfType(
|
||||
"graph"
|
||||
)) {
|
||||
if (leaf.view.renderer._setData) {
|
||||
leaf.view.renderer.setData = leaf.view.renderer._setData;
|
||||
delete leaf.view.renderer._setData;
|
||||
if (leaf.view.renderer.originalSetData) {
|
||||
leaf.view.renderer.setData = leaf.view.renderer.originalSetData;
|
||||
delete leaf.view.renderer.originalSetData;
|
||||
leaf.view.unload();
|
||||
leaf.view.load();
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "graph-nested-tags",
|
||||
"name": "Nested tags graph",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.4",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Links nested tags in graph view",
|
||||
"author": "drpilman",
|
||||
|
||||
+1
-33
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "languagetool",
|
||||
"name": "LanguageTool",
|
||||
"version": "1.0.13",
|
||||
"minAppVersion": "1.7.0",
|
||||
"version": "1.4.0",
|
||||
"minAppVersion": "1.8.7",
|
||||
"description": "Unofficial integration of the LanguageTool spell and grammar checker.",
|
||||
"author": "Lars Wrenger, Clemens Ertle",
|
||||
"authorUrl": "https://github.com/wrenger",
|
||||
|
||||
+17
-170
@@ -3,188 +3,35 @@
|
||||
--lt-major: #da615c;
|
||||
--lt-style: #8981f3;
|
||||
}
|
||||
|
||||
.lt-settings-btn {
|
||||
margin-bottom: 5px;
|
||||
.lt-minor {
|
||||
--lt-highlight: var(--lt-minor)
|
||||
}
|
||||
.lt-major {
|
||||
--lt-highlight: var(--lt-major)
|
||||
}
|
||||
.lt-style {
|
||||
--lt-highlight: var(--lt-style)
|
||||
}
|
||||
|
||||
.lt-settings-grid {
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.lt-underline {
|
||||
cursor: pointer;
|
||||
transition: background-color 100ms ease-out;
|
||||
.lt-menu-info {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.lt-underline.lt-minor {
|
||||
text-decoration: wavy underline var(--lt-minor);
|
||||
-webkit-text-decoration: wavy underline var(--lt-minor);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-minor), transparent 80%);
|
||||
.lt-menu-message {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
}
|
||||
|
||||
.lt-underline.lt-major {
|
||||
text-decoration: wavy underline var(--lt-major);
|
||||
-webkit-text-decoration: wavy underline var(--lt-major);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-major), transparent 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.lt-underline.lt-style {
|
||||
text-decoration: wavy underline var(--lt-style);
|
||||
-webkit-text-decoration: wavy underline var(--lt-style);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-style), transparent 80%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes lineInserted {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.lt-predictions-container.cm-tooltip,
|
||||
.lt-predictions-container {
|
||||
position: absolute;
|
||||
animation-duration: 150ms;
|
||||
animation-name: lineInserted;
|
||||
font-family: var(--default-font);
|
||||
font-size: 0.93rem;
|
||||
padding: 12px 0 0;
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 6px;
|
||||
width: 300px;
|
||||
line-height: 1.5;
|
||||
z-index: var(--layer-popover);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.lt-predictions-container > button {
|
||||
transition-delay: 0.5s;
|
||||
}
|
||||
|
||||
.lt-buttoncontainer {
|
||||
&:not(:empty) {
|
||||
padding-top: 10px;
|
||||
}
|
||||
& > button {
|
||||
margin-right: 4px;
|
||||
margin-bottom: 4px;
|
||||
padding: 4px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.lt-title {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.lt-message {
|
||||
padding: 0 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lt-bottom {
|
||||
min-height: 10px;
|
||||
padding: 0 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lt-info-container {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.lt-info-button {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.lt-info-box {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
animation: lineInserted 150ms;
|
||||
font-family: var(--default-font);
|
||||
font-size: 0.93rem;
|
||||
padding: 12px 0;
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 6px;
|
||||
line-height: 1.5;
|
||||
z-index: var(--layer-popover);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lt-info {
|
||||
padding: 0 12px;
|
||||
display: block;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.lt-ignorecontainer {
|
||||
display: flex;
|
||||
.lt-menu-title + .lt-menu-message {
|
||||
margin-top: 5pt;
|
||||
}
|
||||
|
||||
.lt-status-bar-btn {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
align-items: center;
|
||||
&:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.lt-status-bar-check-icon {
|
||||
display: block;
|
||||
text-decoration: underline dotted;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
}
|
||||
|
||||
.lt-ignore-btn {
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-radius: 0;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
& > span {
|
||||
display: flex;
|
||||
&:last-child {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lt-minor > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-minor);
|
||||
-webkit-text-decoration: underline 2px var(--lt-minor);
|
||||
}
|
||||
.lt-major > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-major);
|
||||
-webkit-text-decoration: underline 2px var(--lt-major);
|
||||
}
|
||||
.lt-style > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-style);
|
||||
-webkit-text-decoration: underline 2px var(--lt-style);
|
||||
}
|
||||
|
||||
.lt-loading > svg {
|
||||
|
||||
+27
-39
@@ -54,13 +54,13 @@ var QuoteInfo = class extends import_state.RangeValue {
|
||||
}
|
||||
/** Remove ">"s that is misrecognized as inequality signs. */
|
||||
correctMath(math) {
|
||||
if (!this.pattern)
|
||||
return math;
|
||||
if (!this.pattern) return math;
|
||||
const lines = math.split("\n");
|
||||
return lines.map((line) => {
|
||||
const corrected = lines.map((line) => {
|
||||
const match = line.match(this.pattern);
|
||||
return match ? line.slice(match[0].length) : line;
|
||||
}).join("\n");
|
||||
return corrected;
|
||||
}
|
||||
getBlockquoteBorderPositions(state, from, to) {
|
||||
const positions = [];
|
||||
@@ -71,8 +71,7 @@ var QuoteInfo = class extends import_state.RangeValue {
|
||||
let start = 0;
|
||||
for (let i2 = 0; i2 < this.level; i2++) {
|
||||
const index = line.text.indexOf(">", start);
|
||||
if (index === -1)
|
||||
continue;
|
||||
if (index === -1) continue;
|
||||
positions.push({ pos: index + line.from, first: i2 === 0 });
|
||||
start = index + 1;
|
||||
}
|
||||
@@ -118,11 +117,9 @@ function parseBlockquotes(state) {
|
||||
// src/utils.ts
|
||||
function getQuoteInfo(state, pos) {
|
||||
const field = state.field(quoteInfoField, false);
|
||||
if (!field)
|
||||
return null;
|
||||
if (!field) return null;
|
||||
const { from, to, value } = field.iter(pos);
|
||||
if (from <= pos && pos <= to)
|
||||
return value;
|
||||
if (from <= pos && pos <= to) return value;
|
||||
return null;
|
||||
}
|
||||
function hasOverlap(range, start, to) {
|
||||
@@ -144,16 +141,14 @@ var createCalloutDecorator = (BuiltInMathWidget) => import_state2.StateField.def
|
||||
update(prev, tr) {
|
||||
const { state } = tr;
|
||||
const view = state.field(import_obsidian.editorEditorField);
|
||||
if (view.composing)
|
||||
return prev.map(tr.changes);
|
||||
if (view.composing) return prev.map(tr.changes);
|
||||
const isSourceMode = !state.field(import_obsidian.editorLivePreviewField);
|
||||
const doc = state.doc;
|
||||
const ranges = view.hasFocus ? state.selection.ranges : [];
|
||||
const tree = (0, import_language2.syntaxTree)(state);
|
||||
const decorations = [];
|
||||
const makeDeco = (decorationSpec, from, to) => {
|
||||
if (decorationSpec.block && to === doc.length)
|
||||
decorationSpec.inclusiveEnd = false;
|
||||
if (decorationSpec.block && to === doc.length) decorationSpec.inclusiveEnd = false;
|
||||
return import_view.Decoration.replace(decorationSpec);
|
||||
};
|
||||
let mathBegin = -1;
|
||||
@@ -171,11 +166,9 @@ var createCalloutDecorator = (BuiltInMathWidget) => import_state2.StateField.def
|
||||
const mathEnd = node.to;
|
||||
let math = doc.sliceString(mathContentBegin, mathContentEnd);
|
||||
const quote = getQuoteInfo(state, mathContentBegin);
|
||||
if (quote)
|
||||
math = quote.correctMath(math);
|
||||
if (quote) math = quote.correctMath(math);
|
||||
const widget = new BuiltInMathWidget(math, block);
|
||||
if (quote)
|
||||
widget.markAsCorrected();
|
||||
if (quote) widget.markAsCorrected();
|
||||
widget.setPos(
|
||||
block && math.startsWith("\n") ? mathContentBegin + 1 : mathContentBegin,
|
||||
block && math.endsWith("\n") ? mathContentEnd - 1 : mathContentEnd
|
||||
@@ -194,8 +187,7 @@ var createCalloutDecorator = (BuiltInMathWidget) => import_state2.StateField.def
|
||||
let start = 0;
|
||||
for (let i2 = 0; i2 < quote.level; i2++) {
|
||||
const index = line.text.indexOf(">", start);
|
||||
if (index === -1)
|
||||
continue;
|
||||
if (index === -1) continue;
|
||||
const pos = index + line.from;
|
||||
if (i2 === 0) {
|
||||
decorations.push(
|
||||
@@ -253,7 +245,7 @@ var createCalloutDecorator = (BuiltInMathWidget) => import_state2.StateField.def
|
||||
var import_view2 = require("@codemirror/view");
|
||||
var import_view3 = require("@codemirror/view");
|
||||
|
||||
// node_modules/monkey-around/mjs/index.js
|
||||
// node_modules/.pnpm/monkey-around@3.0.0/node_modules/monkey-around/dist/index.mjs
|
||||
function around(obj, factories) {
|
||||
const removers = Object.keys(factories).map((key) => around1(obj, key, factories[key]));
|
||||
return removers.length === 1 ? removers[0] : function() {
|
||||
@@ -261,10 +253,12 @@ function around(obj, factories) {
|
||||
};
|
||||
}
|
||||
function around1(obj, method, createWrapper) {
|
||||
const original = obj[method], hadOwn = obj.hasOwnProperty(method);
|
||||
const inherited = obj[method], hadOwn = obj.hasOwnProperty(method), original = hadOwn ? inherited : function() {
|
||||
return Object.getPrototypeOf(obj)[method].apply(this, arguments);
|
||||
};
|
||||
let current = createWrapper(original);
|
||||
if (original)
|
||||
Object.setPrototypeOf(current, original);
|
||||
if (inherited)
|
||||
Object.setPrototypeOf(current, inherited);
|
||||
Object.setPrototypeOf(wrapper, current);
|
||||
obj[method] = wrapper;
|
||||
return remove;
|
||||
@@ -283,7 +277,7 @@ function around1(obj, method, createWrapper) {
|
||||
if (current === original)
|
||||
return;
|
||||
current = original;
|
||||
Object.setPrototypeOf(wrapper, original || Function);
|
||||
Object.setPrototypeOf(wrapper, inherited || Function);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,9 +313,7 @@ var patchDecoration = (plugin, onPatched) => {
|
||||
};
|
||||
function patchMathWidget(plugin, widget) {
|
||||
const proto = widget.constructor.prototype;
|
||||
const superProto = Object.getPrototypeOf(proto);
|
||||
const superSuperProto = Object.getPrototypeOf(superProto);
|
||||
const isObsidianBuiltinMathWidget = Object.hasOwn(widget, "math") && Object.hasOwn(widget, "block") && Object.hasOwn(proto, "eq") && Object.hasOwn(proto, "initDOM") && Object.hasOwn(proto, "patchDOM") && Object.hasOwn(proto, "render") && !Object.hasOwn(proto, "toDOM") && !Object.hasOwn(proto, "updateDOM") && Object.hasOwn(superProto, "become") && Object.hasOwn(superProto, "updateDOM") && Object.hasOwn(superSuperProto, "addEditButton") && Object.hasOwn(superSuperProto, "hookClickHandler") && Object.hasOwn(superSuperProto, "resizeWidget") && Object.hasOwn(superSuperProto, "setOwner") && Object.hasOwn(superSuperProto, "setPos") && Object.hasOwn(superSuperProto, "toDOM") && Object.getPrototypeOf(superSuperProto) === import_view3.WidgetType.prototype;
|
||||
const isObsidianBuiltinMathWidget = Object.hasOwn(widget, "math") && Object.hasOwn(widget, "block") && "initDOM" in proto && "render" in proto && "setPos" in proto && "hookClickHandler" in proto && "addEditButton" in proto && "resizeWidget" in proto;
|
||||
if (isObsidianBuiltinMathWidget) {
|
||||
plugin.register(around(proto, {
|
||||
/** Newly added by this plugin: Get a quote info for the position of this math widget. */
|
||||
@@ -355,29 +347,23 @@ function patchMathWidget(plugin, widget) {
|
||||
eq(old) {
|
||||
return function(other) {
|
||||
if (this.block && other.block) {
|
||||
if (this.view && !other.view)
|
||||
other.view = this.view;
|
||||
if (other.view && !this.view)
|
||||
this.view = other.view;
|
||||
if (!this.corrected)
|
||||
this.correctIfNecessary();
|
||||
if (!other.corrected)
|
||||
other.correctIfNecessary();
|
||||
if (this.view && !other.view) other.view = this.view;
|
||||
if (other.view && !this.view) this.view = other.view;
|
||||
if (!this.corrected) this.correctIfNecessary();
|
||||
if (!other.corrected) other.correctIfNecessary();
|
||||
}
|
||||
return old.call(this, other);
|
||||
};
|
||||
},
|
||||
initDOM(old) {
|
||||
return function(view) {
|
||||
if (!this.view)
|
||||
this.view = view;
|
||||
if (!this.view) this.view = view;
|
||||
return old.call(this, view);
|
||||
};
|
||||
},
|
||||
patchDOM(old) {
|
||||
return function(dom, view) {
|
||||
if (!this.view)
|
||||
this.view = view;
|
||||
if (!this.view) this.view = view;
|
||||
return old.call(this, dom, view);
|
||||
};
|
||||
},
|
||||
@@ -465,3 +451,5 @@ var MathInCalloutPlugin = class extends import_obsidian3.Plugin {
|
||||
await this.saveData(this.settings);
|
||||
}
|
||||
};
|
||||
|
||||
/* nosourcemap */
|
||||
+7
-3
@@ -1,11 +1,15 @@
|
||||
{
|
||||
"id": "math-in-callout",
|
||||
"name": "Better Math in Callouts & Blockquotes",
|
||||
"version": "0.3.7",
|
||||
"minAppVersion": "1.3.15",
|
||||
"version": "0.3.8",
|
||||
"minAppVersion": "1.9.0",
|
||||
"description": "Add better Live Preview support for math rendering inside callouts & blockquotes.",
|
||||
"author": "Ryota Ushio",
|
||||
"authorUrl": "https://github.com/RyotaUshio",
|
||||
"fundingUrl": "https://www.buymeacoffee.com/ryotaushio",
|
||||
"fundingUrl": {
|
||||
"GitHub Sponsor": "https://github.com/sponsors/RyotaUshio",
|
||||
"Buy Me a Coffee": "https://www.buymeacoffee.com/ryotaushio",
|
||||
"Ko-fi": "https://ko-fi.com/ryotaushio"
|
||||
},
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
+576
-347
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-asciimath",
|
||||
"name": "asciimath",
|
||||
"version": "0.7.5",
|
||||
"version": "0.7.8",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Add asciimath support for Obsidian.",
|
||||
"author": "widcardw",
|
||||
|
||||
+41
-2
File diff suppressed because one or more lines are too long
+145
-151
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-day-planner",
|
||||
"name": "Day Planner",
|
||||
"version": "0.27.0",
|
||||
"version": "0.28.0",
|
||||
"minAppVersion": "0.16.0",
|
||||
"description": "A day planner with clean UI and readable syntax",
|
||||
"author": "James Lynch, continued by Ivan Lednev",
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+20
-2
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"disableDoubleClickTextEditing": false,
|
||||
"folder": "Excalidraw",
|
||||
"cropFolder": "",
|
||||
"annotateFolder": "",
|
||||
@@ -21,7 +22,9 @@
|
||||
"drawingFilnameEmbedPostfix": " ",
|
||||
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
||||
"useExcalidrawExtension": true,
|
||||
"cropSuffix": "",
|
||||
"cropPrefix": "cropped_",
|
||||
"annotateSuffix": "",
|
||||
"annotatePrefix": "annotated_",
|
||||
"annotatePreserveSize": false,
|
||||
"previewImageType": "SVGIMG",
|
||||
@@ -44,6 +47,7 @@
|
||||
"penModeDoubleTapEraser": true,
|
||||
"penModeSingleFingerPanning": true,
|
||||
"penModeCrosshairVisible": true,
|
||||
"panWithRightMouseButton": false,
|
||||
"renderImageInMarkdownReadingMode": false,
|
||||
"renderImageInHoverPreviewForMDNotes": false,
|
||||
"renderImageInMarkdownToPDF": false,
|
||||
@@ -52,6 +56,9 @@
|
||||
"zoomToFitOnOpen": true,
|
||||
"zoomToFitOnResize": true,
|
||||
"zoomToFitMaxLevel": 2,
|
||||
"zoomStep": 0.05,
|
||||
"zoomMin": 0.1,
|
||||
"zoomMax": 30,
|
||||
"linkPrefix": "📍",
|
||||
"urlPrefix": "🌐",
|
||||
"parseTODO": false,
|
||||
@@ -112,10 +119,11 @@
|
||||
"mdCSS": "",
|
||||
"scriptEngineSettings": {},
|
||||
"defaultTrayMode": true,
|
||||
"previousRelease": "2.7.5",
|
||||
"previousRelease": "2.15.1",
|
||||
"showReleaseNotes": true,
|
||||
"showNewVersionNotification": true,
|
||||
"latexBoilerplate": "\\color{blue}",
|
||||
"latexPreambleLocation": "preamble.sty",
|
||||
"taskboneEnabled": false,
|
||||
"taskboneAPIkey": "",
|
||||
"pinnedScripts": [],
|
||||
@@ -466,6 +474,7 @@
|
||||
"markdownNodeOneClickEditing": false,
|
||||
"canvasImmersiveEmbed": true,
|
||||
"startupScriptPath": "",
|
||||
"aiEnabled": true,
|
||||
"openAIAPIToken": "",
|
||||
"openAIDefaultTextModel": "gpt-3.5-turbo-1106",
|
||||
"openAIDefaultVisionModel": "gpt-4o",
|
||||
@@ -785,5 +794,14 @@
|
||||
"key": "G"
|
||||
}
|
||||
],
|
||||
"showSplashscreen": true
|
||||
"showSplashscreen": true,
|
||||
"pdfSettings": {
|
||||
"pageSize": "A4",
|
||||
"pageOrientation": "portrait",
|
||||
"fitToPage": 1,
|
||||
"paperColor": "white",
|
||||
"customPaperColor": "#ffffff",
|
||||
"alignment": "center",
|
||||
"margin": "normal"
|
||||
}
|
||||
}
|
||||
+5
-5
File diff suppressed because one or more lines are too long
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "2.7.5",
|
||||
"minAppVersion": "1.1.6",
|
||||
"version": "2.15.1",
|
||||
"minAppVersion": "1.5.7",
|
||||
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
||||
"author": "Zsolt Viczian",
|
||||
"authorUrl": "https://www.zsolt.blog",
|
||||
"authorUrl": "https://excalidraw-obsidian.online",
|
||||
"fundingUrl": "https://ko-fi.com/zsolt",
|
||||
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
|
||||
"isDesktopOnly": false
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-hover-editor",
|
||||
"name": "Hover Editor",
|
||||
"version": "0.11.23",
|
||||
"version": "0.11.26",
|
||||
"minAppVersion": "1.5.8",
|
||||
"description": "Transform the Page Preview hover popover into a fully working editor instance",
|
||||
"author": "NothingIsLost",
|
||||
|
||||
+6
-6
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-markmind",
|
||||
"name": "Markmind",
|
||||
"version": "3.1.0",
|
||||
"version": "3.2.6",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "This is a mindmap , outline tool for obsidian.",
|
||||
"author": "Mark",
|
||||
|
||||
+114
-12
@@ -7,6 +7,7 @@
|
||||
box-shadow: 0 0 10px #ccc
|
||||
}
|
||||
|
||||
|
||||
.theme-dark .cm-icon-menus[data-v-359bda15] {
|
||||
background: #333;
|
||||
box-shadow: 0 0 10px #222
|
||||
@@ -374,6 +375,10 @@
|
||||
border: 1px solid #000
|
||||
}
|
||||
|
||||
.theme-dark .cm-structure-delete svg {
|
||||
fill: #adabab;
|
||||
}
|
||||
|
||||
.cm-structure-item {
|
||||
display: inline-flex;
|
||||
width: 120px;
|
||||
@@ -1006,7 +1011,8 @@ th {
|
||||
box-shadow: 0 0 10px #222
|
||||
}
|
||||
|
||||
.cm-float-settings {
|
||||
.cm-float-settings,
|
||||
.mm-list-icon-bar {
|
||||
background: #fff;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
@@ -1021,12 +1027,15 @@ th {
|
||||
box-shadow: 0 0 10px #ccc
|
||||
}
|
||||
|
||||
.theme-dark .cm-float-settings {
|
||||
|
||||
.theme-dark .cm-float-settings,
|
||||
.theme-dark .mm-list-icon-bar {
|
||||
background: #333;
|
||||
box-shadow: 0 0 10px #222
|
||||
}
|
||||
|
||||
.theme-dark .cm-float-settings svg {
|
||||
.theme-dark .cm-float-settings svg,
|
||||
.theme-dark .mm-list-icon-bar svg {
|
||||
fill: #ccc
|
||||
}
|
||||
|
||||
@@ -1454,12 +1463,24 @@ th {
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-right.mm-mindmap7-node>.mm-node-bar {
|
||||
right: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-right.mm-mindmap1-node>.mm-node-bar {
|
||||
right: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-right.mm-htime-node>.mm-node-bar {
|
||||
right: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
|
||||
.mm-root>.mm-node-bar,
|
||||
.mm-node-second>.mm-node-bar {
|
||||
@@ -1488,16 +1509,34 @@ th {
|
||||
top: -15px;
|
||||
}
|
||||
|
||||
.mm-node-up.mm-htime-node>.mm-node-bar {
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
top: -15px;
|
||||
}
|
||||
|
||||
.mm-node-left>.mm-node-bar {
|
||||
left: -10px;
|
||||
}
|
||||
|
||||
.mm-node-left.mm-htime-node>.mm-node-bar {
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-left.mm-mindmap2-node>.mm-node-bar {
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-left.mm-mindmap7-node>.mm-node-bar {
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-left.mm-mindmap1-node>.mm-node-bar {
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
@@ -1505,17 +1544,38 @@ th {
|
||||
}
|
||||
|
||||
.mm-node-right.mm-fish-node>.mm-node-bar {
|
||||
bottom: -6px !important;
|
||||
/* bottom: -6px !important;
|
||||
right: -12px !important;
|
||||
top: auto;
|
||||
top: auto; */
|
||||
right: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node-left.mm-fish-node>.mm-node-bar {
|
||||
bottom: -6px !important;
|
||||
left: -12px !important;
|
||||
top: auto;
|
||||
left: -20px;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.mm-node.mm-node-left.mm-fish-top>.mm-node-bar {
|
||||
display: block;
|
||||
left: 50%;
|
||||
margin-left: -2px;
|
||||
top: 100%;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.mm-node.mm-node-left.mm-fish-bottom>.mm-node-bar {
|
||||
display: block;
|
||||
left: 50%;
|
||||
margin-left: 0px;
|
||||
top: -15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.mm-node-collapse>.mm-node-bar {
|
||||
display: block !important;
|
||||
box-sizing: border-box;
|
||||
@@ -1530,6 +1590,26 @@ th {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
.mm-node.mm-node-right.mm-fish-top>.mm-node-bar {
|
||||
display: block !important;
|
||||
left: 50%;
|
||||
margin-left: -7px;
|
||||
top: 100%;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.mm-node.mm-node-right.mm-fish-bottom>.mm-node-bar {
|
||||
display: block !important;
|
||||
left: 50%;
|
||||
margin-left: -10px;
|
||||
top: -15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.mm-node.mm-node-induce .mm-node-content {
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
@@ -1748,6 +1828,8 @@ th {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* .mm-edit-node .mm-node-assist .mm-node-annotate{
|
||||
float: none;
|
||||
display: none;
|
||||
@@ -1798,6 +1880,15 @@ th {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.mm-link-board .mm-file-path {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.8em;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.mm-block-ext {
|
||||
font-size: 0.6em;
|
||||
padding-right: 6px;
|
||||
@@ -2132,7 +2223,7 @@ th {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #444343;
|
||||
border: 1px solid #7f7e7e;
|
||||
left: -3px;
|
||||
top: -3px;
|
||||
}
|
||||
@@ -2312,7 +2403,13 @@ th {
|
||||
.li-node .node-assist {
|
||||
height: 30px;
|
||||
box-sizing: border-box;
|
||||
padding-top: 8px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.li-node .node-assist .mm-icon-item {
|
||||
margin-right: 6px;
|
||||
vertical-align: initial;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.linkSetup {
|
||||
@@ -2363,7 +2460,7 @@ th {
|
||||
}
|
||||
|
||||
.mm-list li.node-showNode>.node-control .text {
|
||||
border-bottom: 2px solid #989898;
|
||||
/* border-bottom: 2px solid #989898; */
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
padding-bottom: 3px;
|
||||
@@ -2394,7 +2491,8 @@ th {
|
||||
}
|
||||
|
||||
.text ol li {
|
||||
list-style-type: disc;
|
||||
list-style-type: decimal;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.text>p,
|
||||
@@ -3576,3 +3674,7 @@ span.mm-sline .line {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mm-node-embed {
|
||||
display: none !important;
|
||||
}
|
||||
+133
-114
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-meta-bind-plugin",
|
||||
"name": "Meta Bind",
|
||||
"version": "1.3.2",
|
||||
"version": "1.4.5",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Make your notes interactive with inline input fields, metadata displays, and buttons.",
|
||||
"author": "Moritz Jung",
|
||||
|
||||
+145
-8
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "obsidian-outliner",
|
||||
"name": "Outliner",
|
||||
"version": "4.8.1",
|
||||
"minAppVersion": "1.5.11",
|
||||
"version": "4.9.0",
|
||||
"minAppVersion": "1.8.7",
|
||||
"description": "Work with your lists like in Workflowy or RoamResearch.",
|
||||
"author": "Viacheslav Slinko",
|
||||
"authorUrl": "https://github.com/vslinko",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/* lists and bullets */
|
||||
.outliner-plugin-better-lists .cm-s-obsidian .HyperMD-list-line {
|
||||
padding-top: 0.4em;
|
||||
/* padding-top: 0.4em; */
|
||||
}
|
||||
|
||||
.outliner-plugin-better-lists .cm-formatting-list-ul {
|
||||
|
||||
+88
-6
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-rollover-daily-todos",
|
||||
"name": "Rollover Daily Todos",
|
||||
"version": "1.1.8",
|
||||
"version": "1.2.0",
|
||||
"minAppVersion": "0.12.12",
|
||||
"description": "This Obsidian.md plugin rolls over incomplete TODOs from the previous daily note to today's daily note. (https://obsidian.md). (Originally created by Matthew Sessions)",
|
||||
"author": "Lukas Mölschl",
|
||||
|
||||
+9220
-407
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-share-as-gist",
|
||||
"name": "Share as Gist",
|
||||
"version": "1.8.0",
|
||||
"version": "1.9.0",
|
||||
"minAppVersion": "0.9.7",
|
||||
"description": "Shares an Obsidian note as a GitHub.com gist",
|
||||
"author": "Tim Rogers",
|
||||
|
||||
+1548
-1000
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-spaced-repetition",
|
||||
"name": "Spaced Repetition",
|
||||
"version": "1.13.2",
|
||||
"version": "1.13.3",
|
||||
"minAppVersion": "1.2.8",
|
||||
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
|
||||
"author": "Stephen Mwangi",
|
||||
|
||||
+466
-178
@@ -1,151 +1,4 @@
|
||||
@media only screen and (orientation: landscape) {
|
||||
.is-mobile .sr-flashcard {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.is-mobile .sr-header {
|
||||
flex-direction: column;
|
||||
flex: 0 1 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-content {
|
||||
flex: 1 0 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-response {
|
||||
flex-direction: column;
|
||||
flex: 0 1 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-controls {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.is-mobile .sr-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.is-mobile .sr-response-button {
|
||||
writing-mode: vertical-lr;
|
||||
}
|
||||
}
|
||||
|
||||
#sr-modal {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
#sr-modal .modal-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sr-modal .modal-close-button {
|
||||
z-index: 21;
|
||||
}
|
||||
|
||||
body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
.sr-modal-content {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sr-is-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sr-centered {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sr-deck-list,
|
||||
.sr-flashcard,
|
||||
.sr-edit-view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sr-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid var(--hr-color);
|
||||
}
|
||||
|
||||
.sr-title {
|
||||
font-size: var(--font-ui-large);
|
||||
font-weight: var(--font-semibold);
|
||||
text-align: center;
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
|
||||
.sr-sub-title {
|
||||
font-size: var(--font-ui-medium);
|
||||
text-align: center;
|
||||
line-height: var(--line-height-tight);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.sr-content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.sr-button {
|
||||
box-shadow: none !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sr-back-button {
|
||||
z-index: 21;
|
||||
cursor: var(--cursor);
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
font-size: 26px;
|
||||
line-height: 22px;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
padding: 0 var(--size-2-2);
|
||||
border-radius: var(--radius-s);
|
||||
color: var(--text-muted);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sr-back-button:hover,
|
||||
.sr-button:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.sr-response {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
margin-top: var(--size-4-4);
|
||||
gap: var(--size-4-4);
|
||||
}
|
||||
|
||||
.sr-response-button {
|
||||
height: 48px;
|
||||
flex-grow: 1;
|
||||
margin: auto;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
user-select: text;
|
||||
}
|
||||
/* MARK: utils */
|
||||
|
||||
.sr-bg-blue,
|
||||
.sr-bg-green,
|
||||
@@ -180,18 +33,313 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
background-color: hsl(14, 100%, 58%) !important;
|
||||
}
|
||||
|
||||
/* -> DeckListView */
|
||||
.sr-is-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.sr-centered {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.is-tablet .sr-button {
|
||||
padding: var(--size-4-1) var(--size-4-3) !important;
|
||||
}
|
||||
|
||||
.sr-button {
|
||||
box-shadow: none !important;
|
||||
cursor: pointer;
|
||||
width: var(--side-button-size);
|
||||
height: var(--side-button-size);
|
||||
}
|
||||
|
||||
.sr-back-button:hover,
|
||||
.sr-button:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
/* MARK: Mobile landscape mode */
|
||||
|
||||
@media only screen and (orientation: landscape) {
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) #sr-modal .sr-modal-content {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) #sr-modal,
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view {
|
||||
--side-button-clearance: calc(calc(var(--side-button-size)) + 8px);
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-deck-list,
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-deck-list hr {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-controls {
|
||||
width: unset !important;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-chosen-deck-info > *,
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-current-deck-info > * {
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view .sr-flashcard .sr-info-section {
|
||||
margin: 0 0 0 calc(var(--side-button-clearance));
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) #sr-modal .sr-flashcard .sr-info-section {
|
||||
margin: 0 calc(var(--side-button-clearance));
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-content {
|
||||
margin: 0 0 0 calc(var(--side-button-clearance));
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-content hr {
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-response-button {
|
||||
height: 48px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: landscape) and (max-height: 460px) {
|
||||
#sr-modal,
|
||||
.sr-tab-view {
|
||||
--side-button-size: 35px !important;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-response {
|
||||
margin: 0 0 0 calc(var(--side-button-clearance));
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-response-button {
|
||||
height: 32px !important;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard .sr-content p {
|
||||
margin-block-start: 0.5rem;
|
||||
margin-block-end: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: landscape) and (max-height: 400px) {
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view .sr-flashcard .sr-info-section {
|
||||
--side-button-clearance: calc(var(--side-button-size) * 3) !important;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view .sr-back-button {
|
||||
left: calc(var(--side-button-size) * 2) !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard {
|
||||
gap: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
/* MARK: Mobile portrait mode */
|
||||
|
||||
@media only screen and (orientation: portrait) {
|
||||
.is-mobile:not(.is-tablet) .sr-flashcard,
|
||||
.is-mobile:not(.is-tablet) .sr-deck-list {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-tab-view {
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 650px) {
|
||||
.is-mobile:not(.is-tablet) .sr-chosen-deck-name,
|
||||
.is-mobile:not(.is-tablet) .sr-current-deck-name {
|
||||
max-width: 15ch;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 550px) {
|
||||
.is-mobile .sr-tab-view {
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.is-mobile:not(.is-tablet) .sr-chosen-deck-name,
|
||||
.is-mobile:not(.is-tablet) .sr-current-deck-name {
|
||||
max-width: 10ch;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 500px) {
|
||||
.is-mobile .sr-tab-view {
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 440px) {
|
||||
.is-mobile:not(.is-tablet) .sr-chosen-deck-name,
|
||||
.is-mobile:not(.is-tablet) .sr-current-deck-name {
|
||||
max-width: 8ch;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 410px) {
|
||||
.is-mobile:not(.is-tablet) .sr-chosen-deck-name,
|
||||
.is-mobile:not(.is-tablet) .sr-current-deck-name {
|
||||
max-width: 6ch;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) and (max-width: 340px) {
|
||||
.is-mobile .sr-response-button {
|
||||
height: 32px !important;
|
||||
}
|
||||
|
||||
#sr-modal,
|
||||
.sr-tab-view {
|
||||
--side-button-size: 35px !important;
|
||||
}
|
||||
|
||||
.is-mobile .sr-tab-view {
|
||||
padding: 0 4px;
|
||||
}
|
||||
}
|
||||
|
||||
/* MARK: Modal */
|
||||
|
||||
#sr-modal {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
#sr-modal,
|
||||
.sr-tab-view {
|
||||
--side-button-size: 44px;
|
||||
--side-button-clearance: calc(var(--side-button-size));
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
#sr-modal .modal-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sr-modal .modal-close-button {
|
||||
z-index: 21;
|
||||
}
|
||||
|
||||
body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
.sr-back-button {
|
||||
z-index: 21;
|
||||
cursor: var(--cursor);
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
font-size: 26px;
|
||||
line-height: 22px;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
padding: 0 var(--size-2-2);
|
||||
border-radius: var(--radius-s);
|
||||
color: var(--text-muted);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* MARK: Tab view */
|
||||
|
||||
.sr-tab-view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sr-tab-view-content {
|
||||
flex-grow: 1;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.sr-modal-content,
|
||||
.sr-tab-view {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* MARK: Views*/
|
||||
|
||||
.sr-deck-list,
|
||||
.sr-flashcard {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.sr-deck-list,
|
||||
.sr-flashcard,
|
||||
.sr-edit-view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sr-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sr-tab-view .sr-deck-list .sr-header {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sr-title {
|
||||
font-size: var(--font-ui-large);
|
||||
font-weight: var(--font-semibold);
|
||||
text-align: center;
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
|
||||
.sr-content {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* MARK: DeckListView */
|
||||
|
||||
.sr-deck-list > hr {
|
||||
margin: 2px 0 14px 0;
|
||||
}
|
||||
|
||||
.sr-deck-list .sr-header {
|
||||
gap: 8px;
|
||||
padding-bottom: 14px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.sr-deck-list .sr-header-stats-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sr-deck-list .sr-header-stats-count {
|
||||
@@ -229,21 +377,7 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* -> FlashcardReviewView */
|
||||
|
||||
.sr-flashcard .sr-header {
|
||||
position: relative;
|
||||
gap: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-title-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
/* MARK: FlashcardReviewView */
|
||||
|
||||
.sr-flashcard .sr-button:disabled {
|
||||
cursor: not-allowed;
|
||||
@@ -251,17 +385,85 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
|
||||
.sr-flashcard .sr-controls {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
gap: var(--size-4-4);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-info-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-deck-progress-info {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 24px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-info,
|
||||
.sr-flashcard .sr-current-deck-info {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
color: var(--text-muted);
|
||||
text-wrap: nowrap;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-name,
|
||||
.sr-flashcard .sr-current-deck-name {
|
||||
max-width: 20ch;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-counter-wrapper,
|
||||
.sr-flashcard .sr-current-deck-counter-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-counter-divider,
|
||||
.sr-flashcard .sr-current-deck-counter-divider {
|
||||
display: flex;
|
||||
border: 1px solid var(--text-faint);
|
||||
padding: 1ch 0;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-card-counter-wrapper,
|
||||
.sr-flashcard .sr-current-deck-card-counter-wrapper,
|
||||
.sr-flashcard .sr-chosen-deck-subdeck-counter-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 0.5ch;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-card-counter-icon,
|
||||
.sr-flashcard .sr-chosen-deck-subdeck-counter-icon,
|
||||
.sr-flashcard .sr-current-deck-card-counter-icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-chosen-deck-card-counter-icon svg,
|
||||
.sr-flashcard .sr-chosen-deck-subdeck-counter-icon svg,
|
||||
.sr-flashcard .sr-current-deck-card-counter-icon svg {
|
||||
--icon-size: 16px;
|
||||
--icon-stroke: 2.5px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-context {
|
||||
font-style: italic;
|
||||
color: var(--text-faint);
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-content {
|
||||
@@ -269,16 +471,37 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
overflow-y: auto;
|
||||
user-select: text;
|
||||
padding-inline: 8px;
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-card-divide {
|
||||
.sr-flashcard .sr-content,
|
||||
.sr-flashcard .sr-context {
|
||||
text-wrap: wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.sr-flashcard .sr-content hr {
|
||||
backdrop-filter: invert(40%);
|
||||
border-top-style: dashed;
|
||||
}
|
||||
|
||||
/* -> EditModal */
|
||||
.sr-response {
|
||||
display: flex;
|
||||
gap: var(--size-4-4);
|
||||
}
|
||||
|
||||
.sr-response-button {
|
||||
height: 48px;
|
||||
flex-grow: 1;
|
||||
margin: auto;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
/* MARK: EditModal */
|
||||
|
||||
.sr-edit-modal {
|
||||
height: 80%;
|
||||
@@ -316,13 +539,15 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* -> Statistics */
|
||||
/* MARK: Statistics */
|
||||
|
||||
#sr-chart-period {
|
||||
appearance: menulist;
|
||||
border-right: 8px solid transparent;
|
||||
}
|
||||
|
||||
/* MARK: Tab elements */
|
||||
|
||||
/*
|
||||
* Tab elements
|
||||
* This CSS is copied from https://github.com/Taitava/obsidian-shellcommands
|
||||
@@ -349,12 +574,15 @@ body:not(.native-scrollbars) #sr-modal .modal-close-button {
|
||||
button.sr-tab-header-button {
|
||||
background-color: unset;
|
||||
border: none;
|
||||
box-shadow: none; /* Remove a "border" that came via Obsidian 0.16.0. */
|
||||
box-shadow: none;
|
||||
/* Remove a "border" that came via Obsidian 0.16.0. */
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
padding: 14px 16px;
|
||||
margin-right: 6px; /* Reduced margin. Obsidian's default margin-right for button is 12px (0 for other margins). */
|
||||
border-radius: 10px 10px 0 0; /* 0 0 = No border-radius at bottom */
|
||||
margin-right: 6px;
|
||||
/* Reduced margin. Obsidian's default margin-right for button is 12px (0 for other margins). */
|
||||
border-radius: 10px 10px 0 0;
|
||||
/* 0 0 = No border-radius at bottom */
|
||||
}
|
||||
|
||||
/* Create an active/current tablink class */
|
||||
@@ -364,7 +592,8 @@ button.sr-tab-header-button:hover {
|
||||
}
|
||||
|
||||
.sr-tab-header-button svg {
|
||||
vertical-align: middle; /* Not middle but close enough. */
|
||||
vertical-align: middle;
|
||||
/* Not middle but close enough. */
|
||||
}
|
||||
|
||||
/* Style the tab content */
|
||||
@@ -377,6 +606,8 @@ button.sr-tab-header-button:hover {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* MARK: gridjs */
|
||||
|
||||
/*
|
||||
* gridjs
|
||||
* put everything SR plugin specific above this block
|
||||
@@ -391,23 +622,28 @@ button.sr-tab-header-button:hover {
|
||||
outline: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.gridjs-temp {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.gridjs-head {
|
||||
margin-bottom: 5px;
|
||||
padding: 5px 1px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gridjs-head:after {
|
||||
clear: both;
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
|
||||
.gridjs-head:empty {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.gridjs-container {
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
@@ -416,6 +652,7 @@ button.sr-tab-header-button:hover {
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.gridjs-footer {
|
||||
background-color: #fff;
|
||||
border-bottom-width: 1px;
|
||||
@@ -431,10 +668,12 @@ button.sr-tab-header-button:hover {
|
||||
width: 100%;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.gridjs-footer:empty {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input.gridjs-input {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
@@ -447,25 +686,31 @@ input.gridjs-input {
|
||||
outline: none;
|
||||
padding: 10px 13px;
|
||||
}
|
||||
|
||||
input.gridjs-input:focus {
|
||||
border-color: #9bc2f7;
|
||||
box-shadow: 0 0 0 3px rgba(149, 189, 243, 0.5);
|
||||
}
|
||||
|
||||
.gridjs-pagination {
|
||||
color: #3d4044;
|
||||
}
|
||||
|
||||
.gridjs-pagination:after {
|
||||
clear: both;
|
||||
content: "";
|
||||
display: block;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-summary {
|
||||
float: left;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button {
|
||||
background-color: #fff;
|
||||
border: 1px solid #d2d6dc;
|
||||
@@ -476,17 +721,20 @@ input.gridjs-input:focus {
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:focus {
|
||||
border-right: 1px solid #d2d6dc;
|
||||
box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
|
||||
margin-right: -1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:hover {
|
||||
background-color: #f7f7f7;
|
||||
color: #3c4257;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:disabled,
|
||||
.gridjs-pagination .gridjs-pages button:hover:disabled,
|
||||
.gridjs-pagination .gridjs-pages button[disabled] {
|
||||
@@ -494,27 +742,33 @@ input.gridjs-input:focus {
|
||||
color: #6b7280;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button.gridjs-spread {
|
||||
background-color: #fff;
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
|
||||
background-color: #f7f7f7;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:last-child {
|
||||
border-bottom-right-radius: 6px;
|
||||
border-right: 1px solid #d2d6dc;
|
||||
border-top-right-radius: 6px;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:first-child {
|
||||
border-bottom-left-radius: 6px;
|
||||
border-top-left-radius: 6px;
|
||||
}
|
||||
|
||||
.gridjs-pagination .gridjs-pages button:last-child:focus {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
button.gridjs-sort {
|
||||
background-color: transparent;
|
||||
background-position-x: center;
|
||||
@@ -529,24 +783,29 @@ button.gridjs-sort {
|
||||
padding: 0;
|
||||
width: 13px;
|
||||
}
|
||||
|
||||
button.gridjs-sort-neutral {
|
||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMS45OTggNDAxLjk5OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTczLjA5MiAxNjQuNDUyaDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwNyAxMi44NDgtNS40MjQgMy42MTMtMy42MTYgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxMy05LjIyOS01LjQyNy0xMi44NUwyMTMuODQ2IDUuNDI0QzIxMC4yMzIgMS44MTIgMjA1Ljk1MSAwIDIwMC45OTkgMHMtOS4yMzMgMS44MTItMTIuODUgNS40MjRMNjAuMjQyIDEzMy4zMzFjLTMuNjE3IDMuNjE3LTUuNDI0IDcuOTAxLTUuNDI0IDEyLjg1IDAgNC45NDggMS44MDcgOS4yMzEgNS40MjQgMTIuODQ3IDMuNjIxIDMuNjE3IDcuOTAyIDUuNDI0IDEyLjg1IDUuNDI0ek0zMjguOTA1IDIzNy41NDlINzMuMDkyYy00Ljk1MiAwLTkuMjMzIDEuODA4LTEyLjg1IDUuNDIxLTMuNjE3IDMuNjE3LTUuNDI0IDcuODk4LTUuNDI0IDEyLjg0N3MxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDhMMTg4LjE0OSAzOTYuNTdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNmMzLjYxMy0zLjYxNCA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDggMC00Ljk0OC0xLjgxMy05LjIyOS01LjQyNy0xMi44NDctMy42MTQtMy42MTYtNy44OTktNS40Mi0xMi44NDgtNS40MnoiLz48L3N2Zz4=");
|
||||
background-position-y: center;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
button.gridjs-sort-asc {
|
||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgMTk3LjI4NyAxNTkuMDI4IDY5LjM4MWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMyAxLjgwNy0xMi44NSA1LjQyNEw1LjQyNCAxOTcuMjg3QzEuODA3IDIwMC45MDQgMCAyMDUuMTg2IDAgMjEwLjEzNHMxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDdjMy42MjEgMy42MTcgNy45MDIgNS40MjUgMTIuODUgNS40MjVoMjU1LjgxM2M0Ljk0OSAwIDkuMjMzLTEuODA4IDEyLjg0OC01LjQyNSAzLjYxMy0zLjYxMyA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDdzLTEuODE0LTkuMjMtNS40MjctMTIuODQ3eiIvPjwvc3ZnPg==");
|
||||
background-position-y: 35%;
|
||||
background-size: 10px;
|
||||
}
|
||||
|
||||
button.gridjs-sort-desc {
|
||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiAwLTkuMjMzIDEuODA3LTEyLjg1IDUuNDI0QzEuODA3IDcyLjk5OCAwIDc3LjI3OSAwIDgyLjIyOGMwIDQuOTQ4IDEuODA3IDkuMjI5IDUuNDI0IDEyLjg0N2wxMjcuOTA3IDEyNy45MDdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4TDI4Ni45MzUgOTUuMDc0YzMuNjEzLTMuNjE3IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0NyAwLTQuOTQ4LTEuODE0LTkuMjI5LTUuNDI3LTEyLjg1eiIvPjwvc3ZnPg==");
|
||||
background-position-y: 65%;
|
||||
background-size: 10px;
|
||||
}
|
||||
|
||||
button.gridjs-sort:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
table.gridjs-table {
|
||||
border-collapse: collapse;
|
||||
display: table;
|
||||
@@ -558,24 +817,30 @@ table.gridjs-table {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gridjs-tbody,
|
||||
td.gridjs-td {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
td.gridjs-td {
|
||||
border: 1px solid #e5e7eb;
|
||||
box-sizing: content-box;
|
||||
padding: 12px 24px;
|
||||
}
|
||||
|
||||
td.gridjs-td:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
td.gridjs-td:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
td.gridjs-message {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
th.gridjs-th {
|
||||
background-color: #f9fafb;
|
||||
border: 1px solid #e5e7eb;
|
||||
@@ -591,51 +856,64 @@ th.gridjs-th {
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
th.gridjs-th .gridjs-th-content {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
th.gridjs-th-sort {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
th.gridjs-th-sort .gridjs-th-content {
|
||||
width: calc(100% - 15px);
|
||||
}
|
||||
|
||||
th.gridjs-th-sort:focus,
|
||||
th.gridjs-th-sort:hover {
|
||||
background-color: #e5e7eb;
|
||||
}
|
||||
|
||||
th.gridjs-th-fixed {
|
||||
box-shadow: 0 1px 0 0 #e5e7eb;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
@supports (-moz-appearance: none) {
|
||||
th.gridjs-th-fixed {
|
||||
box-shadow: 0 0 0 1px #e5e7eb;
|
||||
}
|
||||
}
|
||||
|
||||
th.gridjs-th:first-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
th.gridjs-th:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.gridjs-tr {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.gridjs-tr-selected td {
|
||||
background-color: #ebf5ff;
|
||||
}
|
||||
|
||||
.gridjs-tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.gridjs *,
|
||||
.gridjs :after,
|
||||
.gridjs :before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.gridjs-wrapper {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -651,21 +929,26 @@ th.gridjs-th:last-child {
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.gridjs-wrapper:nth-last-of-type(2) {
|
||||
border-bottom-width: 1px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.gridjs-search {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.gridjs-search-input {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.gridjs-loading-bar {
|
||||
background-color: #fff;
|
||||
opacity: 0.5;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.gridjs-loading-bar,
|
||||
.gridjs-loading-bar:after {
|
||||
bottom: 0;
|
||||
@@ -674,6 +957,7 @@ th.gridjs-th:last-child {
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.gridjs-loading-bar:after {
|
||||
animation: shimmer 2s infinite;
|
||||
background-image: linear-gradient(
|
||||
@@ -686,16 +970,19 @@ th.gridjs-th:last-child {
|
||||
content: "";
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
to {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.gridjs-td .gridjs-checkbox {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.gridjs-resizable {
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
@@ -703,6 +990,7 @@ th.gridjs-th:last-child {
|
||||
top: 0;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.gridjs-resizable:hover {
|
||||
background-color: #9bc2f7;
|
||||
cursor: ew-resize;
|
||||
|
||||
+711
-5
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": "obsidian-task-progress-bar",
|
||||
"name": "Task Progress Bar",
|
||||
"version": "2.0.0",
|
||||
"name": "Task Genius",
|
||||
"version": "9.7.6",
|
||||
"minAppVersion": "0.15.2",
|
||||
"description": "A task progress bar plugin for tasks in Obsidian.",
|
||||
"description": "Comprehensive task management that includes progress bars, task status cycling, and advanced task tracking features.",
|
||||
"author": "Boninall",
|
||||
"authorUrl": "https://github.com/Quorafind",
|
||||
"isDesktopOnly": false
|
||||
|
||||
+248
-69
File diff suppressed because one or more lines are too long
+205
-120
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "obsidian-tasks-plugin",
|
||||
"name": "Tasks",
|
||||
"version": "7.14.0",
|
||||
"minAppVersion": "1.1.1",
|
||||
"version": "7.21.0",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.",
|
||||
"helpUrl": "https://publish.obsidian.md/tasks/",
|
||||
"author": "Clare Macrae and Ilyas Landikov (created by Martin Schenck)",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+34
-21
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian42-brat",
|
||||
"name": "BRAT",
|
||||
"version": "1.0.6",
|
||||
"version": "1.2.0",
|
||||
"minAppVersion": "1.7.2",
|
||||
"description": "Easily install a beta version of a plugin for testing.",
|
||||
"author": "TfTHacker",
|
||||
|
||||
+102
@@ -1,3 +1,105 @@
|
||||
.brat-modal .modal-button-container {
|
||||
margin-top: 5px !important;
|
||||
}
|
||||
|
||||
.brat-modal .disabled-setting {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.brat-modal .disabled-setting:hover {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Input validation styles */
|
||||
.brat-settings .valid-input,
|
||||
.brat-modal .valid-repository {
|
||||
border-color: var(--color-green) !important;
|
||||
}
|
||||
.brat-settings .invalid-input,
|
||||
.brat-modal .invalid-repository {
|
||||
border-color: var(--color-red) !important;
|
||||
}
|
||||
.brat-settings .validation-error,
|
||||
.brat-modal .validation-error {
|
||||
border-color: var(--color-orange) !important;
|
||||
}
|
||||
|
||||
/* Version selector */
|
||||
.brat-version-selector {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.brat-token-input {
|
||||
min-width: 33%;
|
||||
}
|
||||
|
||||
/* Token info container styles */
|
||||
.brat-token-info {
|
||||
margin-top: 8px;
|
||||
font-size: 0.8em;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
/* Token status indicators */
|
||||
.brat-token-info.valid,
|
||||
.brat-token-status.valid {
|
||||
color: var(--color-green);
|
||||
}
|
||||
|
||||
.brat-token-info.invalid,
|
||||
.brat-token-status.invalid {
|
||||
color: var(--color-red);
|
||||
}
|
||||
|
||||
.brat-token-info.valid {
|
||||
border-left: 3px solid var(--color-green);
|
||||
}
|
||||
|
||||
.brat-token-info.invalid {
|
||||
border-left: 3px solid var(--color-red);
|
||||
}
|
||||
|
||||
/* Token details and status */
|
||||
.brat-token-status {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.brat-token-details {
|
||||
margin-top: 4px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Token warnings */
|
||||
.brat-token-warning {
|
||||
color: var(--color-orange);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Token additional info */
|
||||
.brat-token-scopes,
|
||||
.brat-token-rate {
|
||||
color: var(--text-muted);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Flex break utility */
|
||||
.brat-modal .break {
|
||||
flex-basis: 100%;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* Validation status */
|
||||
.brat-modal .validation-status-error {
|
||||
color: var(--text-error);
|
||||
}
|
||||
|
||||
.brat-modal .validation-status {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 0.8em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"useCache": true,
|
||||
"hideExcluded": false,
|
||||
"recencyBoost": "0",
|
||||
"downrankedFoldersFilters": [],
|
||||
"ignoreDiacritics": true,
|
||||
"ignoreArabicDiacritics": false,
|
||||
|
||||
Vendored
+147
-83
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "omnisearch",
|
||||
"name": "Omnisearch",
|
||||
"version": "1.25.2",
|
||||
"version": "1.27.2",
|
||||
"minAppVersion": "1.7.2",
|
||||
"description": "A search engine that just works",
|
||||
"author": "Simon Cambier",
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "pane-relief",
|
||||
"name": "Pane Relief",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.9",
|
||||
"minAppVersion": "1.5.8",
|
||||
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
|
||||
"author": "PJ Eby",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+107
-30
@@ -33,7 +33,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ac0147f7-d334-401f-8311-59113f6499ec",
|
||||
@@ -67,7 +73,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "610e5479-2b19-481c-b381-cec75cc9f93c",
|
||||
@@ -101,7 +113,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "12ca41ea-0768-4efb-bfaa-aaccb30f67d4",
|
||||
@@ -135,7 +153,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d13c6798-6fe2-4faf-846e-9fda89db2e10",
|
||||
@@ -162,7 +186,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "feec2e0a-f47b-4ff4-b51c-06840b1cdc87",
|
||||
@@ -189,7 +219,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "b76102fe-9a2c-40d6-b233-a05c03024796",
|
||||
@@ -216,7 +252,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "f75c593a-e7f1-47f6-8559-ee1420d606c4",
|
||||
@@ -243,7 +285,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "48a1a5e9-dcdc-4c29-ae03-57866db3957f",
|
||||
@@ -270,7 +318,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "213d386c-1546-41f5-93b8-02be8295f3b4",
|
||||
@@ -297,7 +351,13 @@
|
||||
"openFile": true,
|
||||
"openFileInMode": "default",
|
||||
"setFileExistsBehavior": true,
|
||||
"fileExistsMode": "Increment the file name"
|
||||
"fileExistsMode": "Increment the file name",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "573a6f23-e9eb-4111-a51a-7995c142a4f9",
|
||||
@@ -331,7 +391,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "003c79e7-1d90-4ff9-a9fc-2922739cb644",
|
||||
@@ -365,7 +431,13 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "10e5180e-d924-4f54-8967-a0bada9a7de3",
|
||||
@@ -400,27 +472,22 @@
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
"openFileInMode": "default",
|
||||
"fileOpening": {
|
||||
"location": "tab",
|
||||
"direction": "vertical",
|
||||
"focus": true,
|
||||
"mode": "default"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0b1ce8df-732b-4f1c-aa11-4914666e6416",
|
||||
"name": "convert inline properties to YAML",
|
||||
"type": "Macro",
|
||||
"command": true,
|
||||
"macroId": "076271f1-41bd-4076-b253-5a9cb7fd1d5a"
|
||||
},
|
||||
{
|
||||
"id": "49fccdfb-e1e1-4c3d-baf8-18b139ff6440",
|
||||
"name": "convert ALL inline properties to YAML",
|
||||
"type": "Macro",
|
||||
"command": false,
|
||||
"macroId": "acd31cfd-8e03-4c73-98d8-d40e4906e97a"
|
||||
}
|
||||
],
|
||||
"macros": [
|
||||
{
|
||||
"name": "convert inline properties to YAML",
|
||||
"macro": {
|
||||
"id": "076271f1-41bd-4076-b253-5a9cb7fd1d5a",
|
||||
"name": "convert inline properties to YAML",
|
||||
"commands": [
|
||||
{
|
||||
"name": "Save current file",
|
||||
@@ -441,12 +508,18 @@
|
||||
"id": "2af2f2a9-6cdb-43ac-9c13-4b846d4385cd",
|
||||
"commandId": "editor:save-file"
|
||||
}
|
||||
],
|
||||
]
|
||||
},
|
||||
"runOnStartup": false
|
||||
},
|
||||
{
|
||||
"id": "49fccdfb-e1e1-4c3d-baf8-18b139ff6440",
|
||||
"name": "convert ALL inline properties to YAML",
|
||||
"type": "Macro",
|
||||
"command": false,
|
||||
"macro": {
|
||||
"id": "acd31cfd-8e03-4c73-98d8-d40e4906e97a",
|
||||
"name": "convert ALL inline properties to YAML",
|
||||
"commands": [
|
||||
{
|
||||
"name": "Save current file",
|
||||
@@ -467,7 +540,8 @@
|
||||
"id": "05488d2d-11a6-4217-87a3-6252e547047b",
|
||||
"commandId": "editor:save-file"
|
||||
}
|
||||
],
|
||||
]
|
||||
},
|
||||
"runOnStartup": false
|
||||
}
|
||||
],
|
||||
@@ -475,9 +549,10 @@
|
||||
"devMode": false,
|
||||
"templateFolderPath": "templates",
|
||||
"announceUpdates": true,
|
||||
"version": "1.11.5",
|
||||
"version": "2.1.0",
|
||||
"disableOnlineFeatures": true,
|
||||
"enableRibbonIcon": false,
|
||||
"showCaptureNotification": true,
|
||||
"ai": {
|
||||
"defaultModel": "Ask me",
|
||||
"defaultSystemPrompt": "As an AI assistant within Obsidian, your primary goal is to help users manage their ideas and knowledge more effectively. Format your responses using Markdown syntax. Please use the [[Obsidian]] link format. You can write aliases for the links by writing [[Obsidian|the alias after the pipe symbol]]. To use mathematical notation, use LaTeX syntax. LaTeX syntax for larger equations should be on separate lines, surrounded with double dollar signs ($$). You can also inline math expressions by wrapping it in $ symbols. For example, use $$w_{ij}^{\text{new}}:=w_{ij}^{\text{current}}+etacdotdelta_jcdot x_{ij}$$ on a separate line, but you can write \"($eta$ = learning rate, $delta_j$ = error term, $x_{ij}$ = input)\" inline.",
|
||||
@@ -527,6 +602,8 @@
|
||||
"incrementFileNameSettingMoveToDefaultBehavior": true,
|
||||
"mutualExclusionInsertAfterAndWriteToBottomOfFile": true,
|
||||
"setVersionAfterUpdateModalRelease": true,
|
||||
"addDefaultAIProviders": true
|
||||
"addDefaultAIProviders": true,
|
||||
"removeMacroIndirection": true,
|
||||
"migrateFileOpeningSettings": true
|
||||
}
|
||||
}
|
||||
Vendored
+76
-54
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "quickadd",
|
||||
"name": "QuickAdd",
|
||||
"version": "1.11.5",
|
||||
"version": "2.1.0",
|
||||
"minAppVersion": "1.6.0",
|
||||
"description": "Quickly add new pages or content to your vault.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-1
@@ -368,7 +368,7 @@ var TabKeyPlugin = class extends import_obsidian.Plugin {
|
||||
this.log("Did not execute: Code block environment not activated");
|
||||
return false;
|
||||
}
|
||||
} else if (token.includes("list-1")) {
|
||||
} else if (token.includes("list")) {
|
||||
if (!this.settings.activateInLists) {
|
||||
this.log("Did not execute: List environment not activated");
|
||||
return false;
|
||||
@@ -690,3 +690,5 @@ var SettingTab = class extends import_obsidian.PluginSettingTab {
|
||||
}));
|
||||
}
|
||||
};
|
||||
|
||||
/* nosourcemap */
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "restore-tab-key",
|
||||
"name": "Restore Tab Key",
|
||||
"version": "1.18.5",
|
||||
"version": "1.18.6",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Restore tab key behaviour: tab key inserts a tab character, the way it should be.",
|
||||
"author": "jerrymk",
|
||||
|
||||
Vendored
+436
-556
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "share-note",
|
||||
"name": "Share Note",
|
||||
"version": "0.8.17",
|
||||
"version": "1.2.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Instantly share a note, with the full theme and content exactly like you see in Reading View. Data is shared encrypted by default, and only you and the person you send it to have the key.",
|
||||
"author": "Alan Grainger",
|
||||
|
||||
+19
-9
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "supercharged-links-obsidian",
|
||||
"name": "Supercharged Links",
|
||||
"version": "0.12.1",
|
||||
"minAppVersion": "1.5.11",
|
||||
"version": "0.13.0",
|
||||
"minAppVersion": "1.9.10",
|
||||
"description": "Add properties and menu options to links and style them!",
|
||||
"author": "mdelobelle & Emile",
|
||||
"authorUrl": "https://github.com/mdelobelle/mdelobelle/tree/main",
|
||||
|
||||
+11
-8
@@ -34,7 +34,8 @@ var DEFAULT_SETTINGS = {
|
||||
defaultDepth: 1,
|
||||
defaultIncomingLinks: true,
|
||||
defaultOutgoingLinks: true,
|
||||
defaultNeighborLinks: true
|
||||
defaultNeighborLinks: true,
|
||||
defaultShowTags: true
|
||||
};
|
||||
var SyncGraphSettingTab = class extends import_obsidian.PluginSettingTab {
|
||||
constructor(app, plugin) {
|
||||
@@ -44,23 +45,23 @@ var SyncGraphSettingTab = class extends import_obsidian.PluginSettingTab {
|
||||
display() {
|
||||
let { containerEl } = this;
|
||||
containerEl.empty();
|
||||
new import_obsidian.Setting(containerEl).setName("Auto Sync").addToggle((toggle) => toggle.setValue(this.plugin.settings.autoSync).onChange(async (value) => {
|
||||
new import_obsidian.Setting(containerEl).setName("Auto Sync").setDesc("Automatically sync graph settings to local graph when active leaf changes").addToggle((toggle) => toggle.setValue(this.plugin.settings.autoSync).onChange(async (value) => {
|
||||
this.plugin.settings.autoSync = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("Default depth").addSlider((value) => value.setLimits(1, 5, 1).setValue(this.plugin.settings.defaultDepth).onChange(async (value2) => {
|
||||
new import_obsidian.Setting(containerEl).setName("Default depth").setDesc("Default depth to set for local graph").addSlider((value) => value.setLimits(1, 5, 1).setValue(this.plugin.settings.defaultDepth).onChange(async (value2) => {
|
||||
this.plugin.settings.defaultDepth = value2;
|
||||
await this.plugin.saveSettings();
|
||||
}).setDynamicTooltip());
|
||||
new import_obsidian.Setting(containerEl).setName("Default Incoming Links").addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultIncomingLinks).onChange(async (value) => {
|
||||
new import_obsidian.Setting(containerEl).setName("Default Incoming Links").setDesc('Default "Incoming Links" flag to set for local graph').addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultIncomingLinks).onChange(async (value) => {
|
||||
this.plugin.settings.defaultIncomingLinks = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("Default Outgoing Links").addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultOutgoingLinks).onChange(async (value) => {
|
||||
new import_obsidian.Setting(containerEl).setName("Default Outgoing Links").setDesc('Default "Outgoing Links" flag to set for local graph').addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultOutgoingLinks).onChange(async (value) => {
|
||||
this.plugin.settings.defaultOutgoingLinks = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("Default Neighbor Links").addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultNeighborLinks).onChange(async (value) => {
|
||||
new import_obsidian.Setting(containerEl).setName("Default Neighbor Links").setDesc('Default "Neighbor Links" flag to set for local graph').addToggle((toggle) => toggle.setValue(this.plugin.settings.defaultNeighborLinks).onChange(async (value) => {
|
||||
this.plugin.settings.defaultNeighborLinks = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
@@ -96,20 +97,22 @@ var SyncGraphPlugin = class extends import_obsidian.Plugin {
|
||||
const closeSettings = graphConfig.close;
|
||||
const lineSizeMultiplier = graphConfig.lineSizeMultiplier;
|
||||
const nodeSizeMultiplier = graphConfig.nodeSizeMultiplier;
|
||||
const showTags = graphConfig.showTags;
|
||||
this.getLocalGraphLeaves().forEach((leaf) => {
|
||||
this.setSettings(leaf, graphColorGroups, searchFilters, closeSettings, lineSizeMultiplier, nodeSizeMultiplier);
|
||||
this.setSettings(leaf, graphColorGroups, searchFilters, closeSettings, lineSizeMultiplier, nodeSizeMultiplier, showTags);
|
||||
});
|
||||
}
|
||||
getLocalGraphLeaves() {
|
||||
return this.app.workspace.getLeavesOfType("localgraph");
|
||||
}
|
||||
setSettings(localGraphLeaf, colorGroups, searchFilters, closeSettings, lineSizeMultiplier, nodeSizeMultiplier) {
|
||||
setSettings(localGraphLeaf, colorGroups, searchFilters, closeSettings, lineSizeMultiplier, nodeSizeMultiplier, showTags) {
|
||||
const viewState = localGraphLeaf.getViewState();
|
||||
viewState.state.options.colorGroups = colorGroups;
|
||||
viewState.state.options.search = searchFilters;
|
||||
viewState.state.options.close = closeSettings;
|
||||
viewState.state.options.lineSizeMultiplier = lineSizeMultiplier;
|
||||
viewState.state.options.nodeSizeMultiplier = nodeSizeMultiplier;
|
||||
viewState.state.options.showTags = showTags;
|
||||
viewState.state.options.localJumps = this.settings.defaultDepth;
|
||||
viewState.state.options.localBacklinks = this.settings.defaultIncomingLinks;
|
||||
viewState.state.options.localForelinks = this.settings.defaultOutgoingLinks;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "sync-graph-settings",
|
||||
"name": "Sync Graph Settings",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "This is a plugin for syncing various graph settings to Local Graphs",
|
||||
"author": "xallt",
|
||||
|
||||
+141
-111
File diff suppressed because one or more lines are too long
+3
-3
@@ -3,9 +3,9 @@
|
||||
"name": "Tag Wrangler",
|
||||
"author": "PJ Eby",
|
||||
"authorUrl": "https://github.com/pjeby",
|
||||
"version": "0.6.1",
|
||||
"minAppVersion": "1.2.8",
|
||||
"description": "Rename, merge, toggle, and search tags from the tag pane",
|
||||
"version": "0.6.4",
|
||||
"minAppVersion": "1.5.8",
|
||||
"description": "Rename, merge, toggle, and search tags from the tags view",
|
||||
"fundingUrl": "https://dirtsimple.org/tips/tag-wrangler",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
|
||||
+24
-8
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "templater-obsidian",
|
||||
"name": "Templater",
|
||||
"version": "2.9.1",
|
||||
"version": "2.14.1",
|
||||
"description": "Create and use templates",
|
||||
"minAppVersion": "1.5.0",
|
||||
"author": "SilentVoid",
|
||||
|
||||
Vendored
+116
-48
File diff suppressed because one or more lines are too long
+3
-3
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"author": "polyipseity",
|
||||
"description": "Integrate consoles, shells, and terminals inside Obsidian.",
|
||||
"description": "Integrate consoles, shells, and terminals.",
|
||||
"fundingUrl": {
|
||||
"Buy Me a Coffee": "https://buymeacoffee.com/polyipseity",
|
||||
"GitHub Sponsors": "https://github.com/sponsors/polyipseity"
|
||||
},
|
||||
"version": "3.15.1",
|
||||
"version": "3.20.0",
|
||||
"authorUrl": "https://github.com/polyipseity",
|
||||
"id": "terminal",
|
||||
"isDesktopOnly": false,
|
||||
"minAppVersion": "1.2.8",
|
||||
"minAppVersion": "1.4.11",
|
||||
"name": "Terminal"
|
||||
}
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
.obsidian-plugin-library\:icon{fill:none;stroke:currentColor}.obsidian-plugin-library\:await-css{display:unset!important}.obsidian-plugin-library\:hide-status-bar{display:none}/**
|
||||
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
||||
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
||||
* https://github.com/chjj/term.js
|
||||
@@ -29,4 +29,4 @@
|
||||
* The original design remains. The terminal itself
|
||||
* has been extended to include xterm CSI codes, among
|
||||
* other features.
|
||||
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.workspace-leaf-content[data-type="terminal:terminal"] .view-content{overflow:clip;display:flex;flex-direction:column}.terminal\:terminal{flex:1;min-width:0;min-height:0}.is-phone .workspace-leaf-content[data-type="terminal:terminal"] .view-content{padding-bottom:max(var(--size-4-4),calc(var(--icon-l) + var(--size-4-2) + max(var(--size-4-2),var(--safe-area-inset-bottom))))}.obsidian-plugin-library\:icon{fill:none;stroke:currentColor}.obsidian-plugin-library\:await-css{display:unset!important}.obsidian-plugin-library\:hide-status-bar{display:none}
|
||||
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.workspace-leaf-content[data-type="terminal:terminal"] .view-content{overflow:clip;display:flex;flex-direction:column}.terminal\:terminal{flex:1;min-width:0;min-height:0}.is-phone .workspace-leaf-content[data-type="terminal:terminal"] .view-content{padding-bottom:max(var(--size-4-4),calc(var(--icon-l) + var(--size-4-2) + max(var(--size-4-2),var(--safe-area-inset-bottom))))}
|
||||
|
||||
+6
-6
@@ -1312,7 +1312,7 @@ var DiscordRPCSettingsTab = class extends import_obsidian2.PluginSettingTab {
|
||||
})
|
||||
);
|
||||
new import_obsidian2.Setting(containerEl).setName("Theme style").setHeading();
|
||||
new import_obsidian2.Setting(containerEl).setName("Theme style").setDesc("Choose the theme style for Discord Rich Presence").addDropdown((dropdown) => dropdown.addOption("default-old-dark" /* Default_dark */, "Default Dark (Old)").addOption("default-old-light" /* Default_light */, "Default Light (Old)").addOption("default-new-dark" /* Default_new_dark */, "Default Dark (New)").addOption("default-new-light" /* Default_new_light */, "Default Light (New)").addOption("latte" /* Catppuccin_Latte */, "Catppuccin Latte").addOption("frappe" /* Catppuccin_Frappe */, "Catppuccin Frappe").addOption("macchiato" /* Catppuccin_Macchiato */, "Catppuccin Macchiato").addOption("mocha" /* Catppuccin_Mocha */, "Catppuccin Mocha").setValue(plugin.settings.themeStyle).onChange(async (value) => {
|
||||
new import_obsidian2.Setting(containerEl).setName("Theme style").setDesc("Choose the theme style for Discord Rich Presence").addDropdown((dropdown) => dropdown.addOption("default-old-dark" /* Default_dark */, "Default Dark (Old)").addOption("default-old-light" /* Default_light */, "Default Light (Old)").addOption("default-new-dark" /* Default_new_dark */, "Default Dark (New)").addOption("default-new-light" /* Default_new_light */, "Default Light (New)").addOption("latte" /* Catppuccin_Latte */, "Catppuccin Latte").addOption("frappe" /* Catppuccin_Frappe */, "Catppuccin Frappe").addOption("macchiato" /* Catppuccin_Macchiato */, "Catppuccin Macchiato").addOption("mocha" /* Catppuccin_Mocha */, "Catppuccin Mocha").addOption("cyberglow-dark" /* Cyberglow_Dark */, "Cyberglow Dark").addOption("cyberglow-light" /* Cyberglow_Light */, "Cyberglow Light").addOption("tokyo-night-dark" /* Tokyo_night_Dark */, "Tokyo Night Dark").addOption("tokyo-night-light" /* Tokyo_night_Light */, "Tokyo Night Light").setValue(plugin.settings.themeStyle).onChange(async (value) => {
|
||||
var _a, _b, _c, _d;
|
||||
plugin.settings.themeStyle = value;
|
||||
await plugin.saveData(plugin.settings);
|
||||
@@ -1350,14 +1350,14 @@ var StatusBar = class _StatusBar {
|
||||
this.statusBarEl.setText(`\u{1F30D} ${_StatusBar.millisecsToString((/* @__PURE__ */ new Date()).getTime() - loadedTime.getTime())}`);
|
||||
}
|
||||
displayConnected(timeout) {
|
||||
this.statusBarEl.setText(`\u{1F30D} Connected to Discord`);
|
||||
this.statusBarEl.setText(`\u2713 Connected to Discord`);
|
||||
if (timeout && timeout > 0) {
|
||||
window.setTimeout(() => {
|
||||
this.statusBarEl.setText("");
|
||||
}, timeout);
|
||||
} else {
|
||||
window.setTimeout(() => {
|
||||
this.statusBarEl.setText(`\u{1F30D}`);
|
||||
this.statusBarEl.setText(`Discord RPC`);
|
||||
}, 5e3);
|
||||
}
|
||||
}
|
||||
@@ -1528,7 +1528,7 @@ var ObsidianDiscordRPC = class extends import_obsidian4.Plugin {
|
||||
state: `Working in a Vault`,
|
||||
startTimestamp: date,
|
||||
largeImageKey: this.settings.themeStyle,
|
||||
largeImageText: "Obsidian"
|
||||
largeImageText: "no info just privacy mode"
|
||||
});
|
||||
} else if (this.settings.showVaultName && this.settings.showCurrentFileName) {
|
||||
await this.rpc.setActivity({
|
||||
@@ -1536,7 +1536,7 @@ var ObsidianDiscordRPC = class extends import_obsidian4.Plugin {
|
||||
state: `Vault: ${vault}`,
|
||||
startTimestamp: date,
|
||||
largeImageKey: this.settings.themeStyle,
|
||||
largeImageText: "Obsidian"
|
||||
largeImageText: "I'm thinking!"
|
||||
});
|
||||
} else if (this.settings.showVaultName) {
|
||||
await this.rpc.setActivity({
|
||||
@@ -1550,7 +1550,7 @@ var ObsidianDiscordRPC = class extends import_obsidian4.Plugin {
|
||||
details: `Editing ${file}`,
|
||||
startTimestamp: date,
|
||||
largeImageKey: this.settings.themeStyle,
|
||||
largeImageText: "Obsidian"
|
||||
largeImageText: "I'm thinking!"
|
||||
});
|
||||
} else {
|
||||
await this.rpc.setActivity({
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "themed-discord-rpc",
|
||||
"name": "Themed Discord RPC",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.3",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "A Customizable Discord RPC",
|
||||
"author": "Mouadhbendjedidi",
|
||||
|
||||
Vendored
+1440
-856
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "time-ruler",
|
||||
"name": "Time Ruler",
|
||||
"version": "2.5.2",
|
||||
"version": "2.7.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).",
|
||||
"author": "Joshua Tazman Reinier",
|
||||
|
||||
+256
-260
File diff suppressed because one or more lines are too long
+18
-11
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "unicode-search",
|
||||
"name": "Unicode Search",
|
||||
"version": "0.6.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"version": "0.7.1",
|
||||
"minAppVersion": "1.8.7",
|
||||
"description": "Search and insert Unicode characters into your editor",
|
||||
"author": "BambusControl",
|
||||
"authorUrl": "https://github.com/BambusControl",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4430
-2463
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "various-complements",
|
||||
"name": "Various Complements",
|
||||
"version": "10.0.3",
|
||||
"version": "10.7.2",
|
||||
"minAppVersion": "0.16.0",
|
||||
"description": "This plugin enables you to complete words like the auto-completion of IDE",
|
||||
"author": "tadashi-aikawa",
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
width: 360px;
|
||||
}
|
||||
|
||||
.various-complements__settings__text-area-path-mini {
|
||||
height: 80px;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.various-complements__settings__current-settings-json {
|
||||
font-size: 0.75em;
|
||||
height: 800px;
|
||||
|
||||
Vendored
+7
-7
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"id": "zotlit",
|
||||
"name": "ZotLit",
|
||||
"version": "1.1.9",
|
||||
"version": "1.1.11",
|
||||
"minAppVersion": "1.6.7",
|
||||
"versions": {
|
||||
"better-sqlite3": "v11.5.0"
|
||||
"better-sqlite3": "v12.2.0"
|
||||
},
|
||||
"description": "Plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library.",
|
||||
"author": "AidenLx",
|
||||
|
||||
Vendored
+29
-1
@@ -64,6 +64,34 @@
|
||||
"date-sortie": "date",
|
||||
"date-seen": "date",
|
||||
"nb_times_seen": "number",
|
||||
"date_last_seen": "number"
|
||||
"date_last_seen": "number",
|
||||
"excalidraw-embed-md": "checkbox",
|
||||
"TQ_explain": "checkbox",
|
||||
"TQ_extra_instructions": "text",
|
||||
"TQ_short_mode": "checkbox",
|
||||
"TQ_show_backlink": "checkbox",
|
||||
"TQ_show_cancelled_date": "checkbox",
|
||||
"TQ_show_created_date": "checkbox",
|
||||
"TQ_show_depends_on": "checkbox",
|
||||
"TQ_show_done_date": "checkbox",
|
||||
"TQ_show_due_date": "checkbox",
|
||||
"TQ_show_edit_button": "checkbox",
|
||||
"TQ_show_id": "checkbox",
|
||||
"TQ_show_on_completion": "checkbox",
|
||||
"TQ_show_postpone_button": "checkbox",
|
||||
"TQ_show_priority": "checkbox",
|
||||
"TQ_show_recurrence_rule": "checkbox",
|
||||
"TQ_show_scheduled_date": "checkbox",
|
||||
"TQ_show_start_date": "checkbox",
|
||||
"TQ_show_tags": "checkbox",
|
||||
"TQ_show_task_count": "checkbox",
|
||||
"TQ_show_tree": "checkbox",
|
||||
"TQ_show_urgency": "checkbox",
|
||||
"lt-language": "text",
|
||||
"lt-picky": "checkbox",
|
||||
"lt-autoCheck": "checkbox",
|
||||
"lt-dictionary": "multitext",
|
||||
"lt-disabledRules": "multitext",
|
||||
"lt-disabledCategories": "multitext"
|
||||
}
|
||||
}
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
# Todo
|
||||
- [x] #task contacter nicolas ✅ 2025-08-27
|
||||
- [ ] #task faire la soupe
|
||||
|
||||
- [ ] #task vérifier boite aux lettres 🔁 every day 🛫 2025-08-27
|
||||
- [ ] 09:30 - 11:40 test
|
||||
|
||||
# I did
|
||||
> [!smallquery]- Modified files
|
||||
|
||||
Reference in New Issue
Block a user