MacBookPro.lan 2026-4-13:21:8:15
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"theme": "system",
|
||||
"cssTheme": "Minimal",
|
||||
"baseFontSize": 25.5,
|
||||
"baseFontSize": 26,
|
||||
"enabledCssSnippets": [
|
||||
"pdf_darkmode",
|
||||
"query_header_title",
|
||||
|
||||
Vendored
+2
-1
@@ -37,5 +37,6 @@
|
||||
"note-aliases",
|
||||
"share-note",
|
||||
"templater-obsidian",
|
||||
"link-tree"
|
||||
"link-tree",
|
||||
"file-tree-alternative"
|
||||
]
|
||||
+12
-10
File diff suppressed because one or more lines are too long
+12
-1
@@ -1 +1,12 @@
|
||||
{"id":"breadcrumbs","name":"Breadcrumbs","version":"4.4.3","minAppVersion":"1.0.0","description":"Add structured hierarchies to your notes","author":"SkepticMystic","authorUrl":"https://github.com/SkepticMystic/breadcrumbs","fundingUrl":"https://github.com/SkepticMystic/breadcrumbs#donations","helpUrl":"https://publish.obsidian.md/breadcrumbs-docs","isDesktopOnly":false}
|
||||
{
|
||||
"id": "breadcrumbs",
|
||||
"name": "Breadcrumbs",
|
||||
"version": "4.4.4",
|
||||
"minAppVersion": "1.0.0",
|
||||
"description": "Add structured hierarchies to your notes",
|
||||
"author": "SkepticMystic",
|
||||
"authorUrl": "https://github.com/SkepticMystic/breadcrumbs",
|
||||
"fundingUrl": "https://github.com/SkepticMystic/breadcrumbs#donations",
|
||||
"helpUrl": "https://publish.obsidian.md/breadcrumbs-docs",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+9
-9
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"id": "cmdr",
|
||||
"name": "Commander",
|
||||
"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",
|
||||
"authorUrl": "https://github.com/phibr0",
|
||||
"fundingUrl": "https://ko-fi.com/phibr0",
|
||||
"isDesktopOnly": false
|
||||
"id": "cmdr",
|
||||
"name": "Commander",
|
||||
"version": "0.5.5",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Customize your workspace by adding commands everywhere, create Macros and supercharge your mobile toolbar.",
|
||||
"author": "jsmorabito & phibr0",
|
||||
"authorUrl": "https://github.com/phibr0",
|
||||
"fundingUrl": "https://ko-fi.com/phibr0",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+4
-4
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "editing-toolbar",
|
||||
"name": "Editing Toolbar",
|
||||
"version": "3.2.7",
|
||||
"version": "4.0.5",
|
||||
"minAppVersion": "0.14.0",
|
||||
"description": "The Obsidian Editing Toolbar is modified from cmenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.",
|
||||
"author": "Cuman",
|
||||
|
||||
+537
-29
@@ -35,7 +35,18 @@
|
||||
gap: calc(var(--toolbar-icon-size) / 15) !important;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar).editingToolbarCustomAesthetic button[class^=editingToolbarCommandsubItem]>.subitem::before {
|
||||
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px); /* Safari 兼容 */
|
||||
|
||||
border-radius: inherit; /* 继承父元素圆角 */
|
||||
}
|
||||
#editingToolbarModalBar.editingToolbarCustomAesthetic
|
||||
{
|
||||
padding:calc(var(--toolbar-icon-size) / 4);
|
||||
@@ -215,20 +226,23 @@ editingToolbar CLASS CHANGES
|
||||
background-color: var(--color-base-10, --background-primary);
|
||||
}
|
||||
|
||||
/*
|
||||
#editingToolbarModalBar.editingToolbarGlassAesthetic {
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
} */
|
||||
|
||||
#editingToolbarModalBar.editingToolbarGlassAesthetic~#editingToolbarPopoverBar {
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar).editingToolbarGlassAesthetic {
|
||||
backdrop-filter: var(--raised-blur, blur(6px));
|
||||
-webkit-backdrop-filter: var(--raised-blur, blur(6px));
|
||||
box-shadow: var(--raised-shadow, none);
|
||||
background-clip: padding-box;
|
||||
border: var(--raised-mask-border-width, 1px) solid transparent;
|
||||
background-color: var(--raised-background, color-mix(in srgb, var(--background-secondary) 60%, transparent));
|
||||
}
|
||||
|
||||
.is-phone:not(.is-floating-nav) :is(#editingToolbarModalBar, #editingToolbarPopoverBar).editingToolbarGlassAesthetic {
|
||||
--raised-background: transparent;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar).editingToolbarGlassAesthetic :is(.editingToolbarCommandItem, button[class^=editingToolbarCommandsubItem]) {
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
border: 1px solid var(--background-modifier-border-hover);
|
||||
background-color: color-mix(in srgb, var(--background-secondary) 60%, transparent);
|
||||
}
|
||||
|
||||
#editingToolbarModalBar.editingToolbarGlassAesthetic:not(.top) button[class^=editingToolbarCommandsubItem] {
|
||||
@@ -247,13 +261,6 @@ editingToolbar CLASS CHANGES
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
#editingToolbarModalBar.editingToolbarGlassAesthetic:not(.top) {
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
box-shadow: none;
|
||||
border: 1px solid var(--background-modifier-border-hover);
|
||||
background-color: color-mix(in srgb, var(--background-secondary) 60%, transparent);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
editingToolbar ICONS
|
||||
@@ -461,12 +468,12 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button[class^=editingToolbarCommandsubItem]>.subitem .menu-item {
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
padding: 0px 4px 0px 4px;
|
||||
} */
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -534,6 +541,247 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
|
||||
|
||||
:is(#editingToolbarModalBar[data-toolbar-style="following"], #editingToolbarModalBar.top, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-inline .editing-toolbar-ai-button-label {
|
||||
max-width: 5.2em;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-fixed {
|
||||
gap: 2px;
|
||||
justify-content: center;
|
||||
padding-left: 4px !important;
|
||||
padding-right: 4px !important;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -1px;
|
||||
border-radius: 12px;
|
||||
background: rgba(99, 102, 241, 0.08);
|
||||
opacity: 0;
|
||||
transition: opacity 0.16s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai > svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-button-main {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-button-label {
|
||||
display: inline-block;
|
||||
max-width: 6em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-button-arrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 14px;
|
||||
min-height: 16px;
|
||||
margin-left: 1px;
|
||||
padding-left: 4px;
|
||||
border-left: 1px solid var(--background-modifier-border-hover);
|
||||
color: var(--text-muted);
|
||||
font-size: 9px;
|
||||
line-height: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-fixed .editing-toolbar-ai-button-arrow {
|
||||
width: 10px;
|
||||
min-height: 14px;
|
||||
margin-left: 0;
|
||||
padding-left: 2px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-inline {
|
||||
gap: 2px;
|
||||
justify-content: center;
|
||||
padding-left: 4px !important;
|
||||
padding-right: 4px !important;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-inline .editing-toolbar-ai-button-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai.editing-toolbar-ai-button-inline .editing-toolbar-ai-button-arrow {
|
||||
width: 10px;
|
||||
min-height: 14px;
|
||||
margin-left: 0;
|
||||
padding-left: 2px;
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.workspace-leaf-content:has(.cm-ai-loading, .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai,
|
||||
body:has(.workspace-leaf.mod-active .cm-ai-loading, .workspace-leaf.mod-active .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar[data-toolbar-style="fixed"], #editingToolbarModalBar[data-toolbar-style="mobile"], #editingToolbarPopoverBar[data-toolbar-style="fixed"], #editingToolbarPopoverBar[data-toolbar-style="mobile"]) button.editingToolbarCommandsubItem-ai {
|
||||
opacity: 0.72;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content:has(.cm-ai-loading, .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai > svg,
|
||||
body:has(.workspace-leaf.mod-active .cm-ai-loading, .workspace-leaf.mod-active .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar[data-toolbar-style="fixed"], #editingToolbarModalBar[data-toolbar-style="mobile"], #editingToolbarPopoverBar[data-toolbar-style="fixed"], #editingToolbarPopoverBar[data-toolbar-style="mobile"]) button.editingToolbarCommandsubItem-ai > svg {
|
||||
animation: cm-ai-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
.workspace-leaf-content:has(.cm-ai-loading, .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai .editing-toolbar-ai-button-label,
|
||||
.workspace-leaf-content:has(.cm-ai-loading, .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) button.editingToolbarCommandsubItem-ai .editing-toolbar-ai-button-arrow,
|
||||
body:has(.workspace-leaf.mod-active .cm-ai-loading, .workspace-leaf.mod-active .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar[data-toolbar-style="fixed"], #editingToolbarModalBar[data-toolbar-style="mobile"], #editingToolbarPopoverBar[data-toolbar-style="fixed"], #editingToolbarPopoverBar[data-toolbar-style="mobile"]) button.editingToolbarCommandsubItem-ai .editing-toolbar-ai-button-label,
|
||||
body:has(.workspace-leaf.mod-active .cm-ai-loading, .workspace-leaf.mod-active .cm-ai-result-panel[data-phase="streaming"])
|
||||
:is(#editingToolbarModalBar[data-toolbar-style="fixed"], #editingToolbarModalBar[data-toolbar-style="mobile"], #editingToolbarPopoverBar[data-toolbar-style="fixed"], #editingToolbarPopoverBar[data-toolbar-style="mobile"]) button.editingToolbarCommandsubItem-ai .editing-toolbar-ai-button-arrow {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.menu.editing-toolbar-ai-dropdown-menu .menu-item.is-disabled {
|
||||
opacity: 0.72;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt {
|
||||
position: fixed;
|
||||
z-index: 1001;
|
||||
width: min(360px, calc(100vw - 24px));
|
||||
padding: 10px;
|
||||
border: 1px solid var(--background-modifier-border-hover);
|
||||
border-radius: 14px;
|
||||
background: var(--background-primary);
|
||||
box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-title {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-close {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-close:hover {
|
||||
background: var(--background-modifier-hover);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-input {
|
||||
width: 100%;
|
||||
min-height: 72px;
|
||||
resize: none;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 10px;
|
||||
background: var(--background-secondary);
|
||||
color: var(--text-normal);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--interactive-accent);
|
||||
box-shadow: 0 0 0 1px color-mix(in srgb, var(--interactive-accent) 28%, transparent);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-hint {
|
||||
margin-top: 8px;
|
||||
font-size: 11px;
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-action {
|
||||
min-width: 72px;
|
||||
padding: 8px 12px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 10px;
|
||||
background: var(--background-secondary);
|
||||
color: var(--text-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-action:hover:not(:disabled) {
|
||||
background: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-action.mod-cta {
|
||||
border-color: var(--interactive-accent);
|
||||
background: var(--interactive-accent);
|
||||
color: var(--text-on-accent, #fff);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-prompt-action:disabled {
|
||||
opacity: 0.55;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.is-mobile .editing-toolbar-ai-inline-prompt-action {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
||||
.editingToolbarSettingsTabsContainer .editingToolbarCommandItem .setting-item-info {
|
||||
|
||||
@@ -586,7 +834,7 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
|
||||
|
||||
.setting-item button.editingToolbarSettingsIcon {
|
||||
display: block;
|
||||
display: flex;
|
||||
transform: translateX(-30%);
|
||||
-webkit-transform: translateX(-30%);
|
||||
}
|
||||
@@ -805,9 +1053,20 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
contain: none;
|
||||
|
||||
}
|
||||
|
||||
/* Some themes animate all workspace SVG icons. Opt toolbar controls out so
|
||||
inherited visibility changes hide the whole toolbar in one frame. */
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) :is(.editingToolbarCommandItem, button[class^=editingToolbarCommandsubItem]):not(.editingToolbar-Divider-Line),
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) :is(.editingToolbarCommandItem, button[class^=editingToolbarCommandsubItem]):not(.editingToolbar-Divider-Line) *:not(.subitem),
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) svg.svg-icon,
|
||||
:is(#editingToolbarModalBar, #editingToolbarPopoverBar) svg.svg-icon * {
|
||||
animation: none;
|
||||
transition: none !important;
|
||||
-webkit-transition: none !important;
|
||||
}
|
||||
#editingToolbarModalBar ~.canvas-controls{
|
||||
top: calc(var(--size-4-2) + 50px);
|
||||
}
|
||||
@@ -840,8 +1099,8 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
#editingToolbarPopoverBar {
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
left: 15%;
|
||||
transform: translateX(-15%);
|
||||
right: unset;
|
||||
}
|
||||
}
|
||||
@@ -979,8 +1238,8 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
}
|
||||
.theme-dark .menu.editing-toolbar-dropdown-menu .menu-item.is-disabled
|
||||
{
|
||||
color: var(--menu-background); /* 文字直接变透明背景色 */
|
||||
filter: brightness(0.7) contrast(1.2);
|
||||
color: var(--text-muted); /* 文字直接变透明背景色 */
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* 左侧线条 */
|
||||
@@ -1028,7 +1287,7 @@ button[class^=editingToolbarCommandsubItem]::after {
|
||||
/* 快捷键样式 */
|
||||
.menu.editing-toolbar-dropdown-menu .menu-item-hotkey {
|
||||
margin-left: auto;
|
||||
font-size: 11px;
|
||||
font-size:10px;
|
||||
color: var(--text-muted);
|
||||
opacity: 0.7;
|
||||
font-family: var(--font-monospace);
|
||||
@@ -1419,6 +1678,97 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.modal.editing-toolbar-ai-consent-modal {
|
||||
width: min(560px, calc(100vw - 32px));
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
font-size: var(--font-ui-small);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-hero h2 {
|
||||
margin: 10px 0 0;
|
||||
font-size: 24px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 6px 10px;
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--interactive-accent) 14%, var(--background-secondary));
|
||||
color: var(--interactive-accent);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-desc {
|
||||
margin-top: 12px;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-note {
|
||||
margin-top: 12px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 14px;
|
||||
background: var(--background-secondary);
|
||||
color: var(--text-muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-section {
|
||||
padding: 14px 16px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 16px;
|
||||
background: var(--background-secondary);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-section-title {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-list {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-dot {
|
||||
flex-shrink: 0;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin-top: 0.55em;
|
||||
border-radius: 999px;
|
||||
background: var(--interactive-accent);
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-text {
|
||||
color: var(--text-muted);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-consent-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
.format-brush-cursor .cm-content {
|
||||
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' width='18' height='18'%3E%3Cpath d='M786.285714 56.888889h121.93727A20.280889 20.280889 0 0 0 928.507937 36.591746v-16.294603A20.284952 20.284952 0 0 0 908.222984 0h-398.287238A20.280889 20.280889 0 0 0 489.650794 20.297143v16.294603A20.284952 20.284952 0 0 0 509.935746 56.888889H635.936508v910.222222h-126.000762A20.280889 20.280889 0 0 0 489.650794 987.408254v16.294603a20.284952 20.284952 0 0 0 20.284952 20.297143h398.287238a20.280889 20.280889 0 0 0 20.284953-20.297143v-16.294603a20.284952 20.284952 0 0 0-20.284953-20.297143H786.285714V56.888889zM359.619048 903.233016H310.857143V690.793651H266.15873v213.577143H217.396825V690.793651H172.698413v213.577143h-29.415619c-49.290159 0-42.573206-44.901587-42.573207-44.901588S97.076825 722.306032 97.10527 642.031746H480.467302c-0.008127 80.428698-3.604317 216.299683-3.604318 216.299683s6.716952 44.901587-42.57727 44.901587H404.31746V690.793651H359.619048v212.439365zM97.828571 597.333333l0.065016-1.235301c2.816-50.704254-5.640127-98.588444 66.186159-123.936508 71.830349-25.35619 47.896381-35.210159 54.934349-83.098413 7.037968-47.88419-18.310095-71.826286-18.310095-207.034921 0-109.04381 51.301587-125.456254 79.766349-127.723682 0.353524-0.934603 0.723302-1.414095 1.113397-1.414095 16.420571 0 95.288889-7.200508 95.288889 128 0 135.208635-25.348063 159.15073-18.314159 207.03492 7.037968 47.888254-16.891937 57.742222 54.938413 83.098413 71.822222 25.348063 63.370159 73.236317 66.186159 123.936508l0.121904 2.373079H97.824508zM288.507937 166.603175a34.539683 34.539683 0 1 0 0-69.079365 34.539683 34.539683 0 0 0 0 69.079365z' fill='%235c5c5c'/%3E%3C/svg%3E") 16 16, auto;
|
||||
}
|
||||
@@ -1478,8 +1828,16 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
||||
.is-phone #editingToolbarModalBar.top
|
||||
{
|
||||
margin-right:0px;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
|
||||
.is-phone #editingToolbarModalBar.top::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.is-phone .mod-root .workspace-leaf-content[data-type="markdown"] .view-content:has(.editingToolbarModalBar){
|
||||
mask-image: none;
|
||||
}
|
||||
@@ -1491,8 +1849,11 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.is-phone .markdown-source-view.mod-cm6 #editingToolbarPopoverBar {
|
||||
margin-top: calc(var(--toolbar-icon-size) + var(--view-header-height) + 20px);
|
||||
/* margin-top: calc(var(--toolbar-icon-size) + var(--view-header-height) + 20px); */
|
||||
margin-top: calc(var(--safe-area-inset-top) + var(--view-header-height) + var(--toolbar-icon-size) + 10px);
|
||||
}
|
||||
|
||||
.is-phone .mod-root .workspace-leaf-content .view-content:has(.editingToolbarModalBar) .markdown-source-view > .cm-editor > .cm-scroller {
|
||||
@@ -1504,3 +1865,150 @@ body.auto-hide-header .workspace-tab-header-container + .workspace-tab-container
|
||||
{
|
||||
padding-top: calc(var(--safe-area-inset-top) + var(--view-header-height) + 36px);
|
||||
}
|
||||
|
||||
@keyframes cm-ai-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(4px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cm-ai-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.cm-tooltip {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-grid {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card {
|
||||
background: var(--background-secondary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
padding: 16px 18px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-summary-static {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-copy {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-title {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-desc {
|
||||
margin-top: 6px;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-badge {
|
||||
flex-shrink: 0;
|
||||
padding: 4px 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--background-modifier-hover);
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-toggle {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-header-select {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
|
||||
color: var(--text-normal);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card-body {
|
||||
padding: 0 18px 16px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-disclosure[open] .editing-toolbar-ai-card-summary {
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card .setting-item {
|
||||
border-top: 1px solid var(--background-modifier-border-hover);
|
||||
padding-top: 14px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-card .setting-item:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-note {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-disclosure {
|
||||
margin-top: 12px;
|
||||
border-top: 1px solid var(--background-modifier-border-hover);
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-summary {
|
||||
cursor: pointer;
|
||||
padding: 12px 0 4px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.editing-toolbar-ai-inline-body .setting-item {
|
||||
border-top: 1px solid var(--background-modifier-border-hover);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"openViewOnStart": true,
|
||||
"ribbonIcon": false,
|
||||
"showRootFolder": true,
|
||||
"showFilesFromSubFolders": true,
|
||||
"searchFunction": true,
|
||||
"allSearchOnlyInFocusedFolder": false,
|
||||
"showFilesFromSubFoldersButton": true,
|
||||
"revealActiveFileButton": false,
|
||||
"excludedExtensions": "",
|
||||
"hideAttachments": false,
|
||||
"attachmentsFolderName": "attachments",
|
||||
"folderIcon": "box-folder",
|
||||
"folderCount": true,
|
||||
"folderCountOption": "notes",
|
||||
"evernoteView": "Vertical",
|
||||
"filePreviewOnHover": false,
|
||||
"iconBeforeFileName": true,
|
||||
"sortFilesBy": "name",
|
||||
"sortReverse": false,
|
||||
"sortFoldersBy": "name",
|
||||
"fixedHeaderInFileList": true,
|
||||
"createdYaml": false,
|
||||
"fileNameIsHeader": false,
|
||||
"folderNote": false,
|
||||
"deleteFileOption": "trash",
|
||||
"showFileNameAsFullPath": false,
|
||||
"bookmarksEvents": false
|
||||
}
|
||||
+4932
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"id": "file-tree-alternative",
|
||||
"name": "File Tree Alternative",
|
||||
"version": "2.6.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "This plugin allows you to have an alternative file tree view.",
|
||||
"author": "Ozan Tellioglu",
|
||||
"authorUrl": "https://www.ozan.pl",
|
||||
"fundingUrl": "https://ko-fi.com/ozante",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
+535
@@ -0,0 +1,535 @@
|
||||
/* @settings
|
||||
|
||||
name: File Tree Alternative Plugin
|
||||
id: file-tree-alternative-plugin
|
||||
settings:
|
||||
|
||||
# Folder Pane Styles
|
||||
|
||||
-
|
||||
id: oz-fta-folder-pane-heading
|
||||
title: Folder Pane Styles
|
||||
description: Style settings dedicated for only folder pane
|
||||
type: heading
|
||||
level: 1
|
||||
collapsed: true
|
||||
-
|
||||
id: oz-fta-folder-font-size
|
||||
title: Folder Pane | Folder Name Font Size
|
||||
description: Set folder pane font size in px
|
||||
type: variable-number
|
||||
default: 14
|
||||
format: px
|
||||
-
|
||||
id: oz-fta-folder-icon-color
|
||||
title: Folder Pane | Collapse/Expand Icon Color
|
||||
description: Set the color of folder icons
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#2d8ff7'
|
||||
-
|
||||
id: oz-fta-folder-indendation-guide-color
|
||||
title: Folder Pane | Indendation Guide Color
|
||||
description: Set the color of indendation guide lines
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#ededeb'
|
||||
-
|
||||
id: oz-fta-folder-pane-file-name-color
|
||||
title: Folder Pane | Folder Name Color
|
||||
description: Set the color of names
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
|
||||
# File Pane Styles
|
||||
|
||||
-
|
||||
id: oz-fta-file-pane-heading
|
||||
title: File Pane Styles
|
||||
description: Style settings dedicated for only file pane
|
||||
type: heading
|
||||
level: 1
|
||||
collapsed: true
|
||||
-
|
||||
id: oz-fta-file-font-size
|
||||
title: File Pane | File Name Font Size
|
||||
description: Set file pane font size in px
|
||||
type: variable-number
|
||||
default: 13
|
||||
format: px
|
||||
-
|
||||
id: oz-fta-file-pane-file-name-color
|
||||
title: File Pane | File Name Color
|
||||
description: Set the color of names
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
-
|
||||
id: oz-fta-file-pane-foldername-color
|
||||
title: File Pane | Header Folder Name Color
|
||||
description: Set the color of folder name in the file pane
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
|
||||
# All Panes Styles
|
||||
|
||||
-
|
||||
id: oz-fta-all-panes-heading
|
||||
title: All Panes
|
||||
description: Common style settings for both folder and file panes
|
||||
type: heading
|
||||
level: 1
|
||||
collapsed: true
|
||||
-
|
||||
id: oz-fta-header-background-color
|
||||
title: All Panes | Header Background Color
|
||||
description: Set the background color of headers in both file and folder panes
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
-
|
||||
id: oz-fta-header-icon-colors
|
||||
title: All Panes | Header Action Icons Color
|
||||
description: Set the color of icons in file and folder panes
|
||||
type: variable-color
|
||||
format: hex
|
||||
alt-format:
|
||||
-
|
||||
id: oz-fta-header-icon-colors-accent-rgb
|
||||
format: rgb
|
||||
default: '#'
|
||||
-
|
||||
id: oz-fta-all-panes-active-text-color
|
||||
title: All Panes | Active File/Folder Name Color
|
||||
description: Set the color of active file and folder name
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
-
|
||||
id: oz-fta-file-pane-active-file-background-color
|
||||
title: File Pane | Active File Background Color
|
||||
description: Set the color of active file background color
|
||||
type: variable-color
|
||||
format: hex
|
||||
default: '#'
|
||||
*/
|
||||
|
||||
.theme-light,
|
||||
.theme-dark {
|
||||
--oz-fta-folder-font-size: 13px;
|
||||
--oz-fta-file-font-size: 12px;
|
||||
--oz-fta-folder-icon-color: var(--interactive-accent);
|
||||
--oz-fta-folder-indendation-guide-color: var(--text-muted);
|
||||
--oz-fta-header-background-color: var(--background-secondary-alt);
|
||||
--oz-fta-header-icon-colors: var(--text-muted);
|
||||
--oz-fta-file-pane-foldername-color: var(--text-normal);
|
||||
--oz-fta-folder-pane-file-name-color: var(--text-normal);
|
||||
--oz-fta-header-icon-colors-accent-rgb: var(--interactive-accent-hover);
|
||||
--oz-fta-all-panes-active-text-color: var(--text-normal);
|
||||
--oz-fta-file-pane-active-file-background-color: var(--background-secondary-alt);
|
||||
--oz-fta-file-pane-file-name-color: var(--text-muted);
|
||||
}
|
||||
|
||||
.oz-file-tree-header {
|
||||
color: var(--oz-fta-file-pane-foldername-color);
|
||||
background: var(--oz-fta-header-background-color);
|
||||
margin-top: 3px;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
min-width: -webkit-fill-available;
|
||||
min-width: fill-available;
|
||||
height: fit-content;
|
||||
padding: 5px 0px 5px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.oz-nav-action-button {
|
||||
color: var(--oz-fta-header-icon-colors);
|
||||
display: inline-block;
|
||||
padding: 0px 0px 0px 2px;
|
||||
margin-left: 5px;
|
||||
opacity: 0.5;
|
||||
border-radius: 8px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.oz-nav-action-button:hover {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.oz-nav-action-button svg {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
.oz-input-container {
|
||||
margin-bottom: 3px !important;
|
||||
margin-top: 3px !important;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.oz-input-container input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.oz-nav-buttons-right-block {
|
||||
text-align: right;
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
height: min-content;
|
||||
}
|
||||
|
||||
.oz-nav-file-title {
|
||||
color: var(--oz-fta-file-pane-file-name-color);
|
||||
font-size: var(--oz-fta-file-font-size);
|
||||
width: calc(100% - 30px);
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
min-width: 100%;
|
||||
cursor: pointer;
|
||||
line-height: 19px;
|
||||
border-radius: 3px;
|
||||
padding: 1px 2px 0px 2px;
|
||||
min-width: 100%;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.oz-nav-file-title .oz-nav-file-title-content {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.oz-nav-file {
|
||||
border-bottom: 1px solid var(--divider-color);
|
||||
}
|
||||
|
||||
div.oz-nav-file.is-active,
|
||||
div.oz-nav-file.is-active div.oz-nav-file-title,
|
||||
div.oz-nav-file.is-active div.oz-nav-file-title-content {
|
||||
background-color: var(--oz-fta-file-pane-active-file-background-color);
|
||||
color: var(--oz-fta-all-panes-active-text-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.is-folder-active {
|
||||
color: var(--oz-fta-all-panes-active-text-color) !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.oz-nav-file-tag {
|
||||
/* @Consider */
|
||||
color: var(--text-muted);
|
||||
background-color: var(--background-secondary-alt);
|
||||
border-radius: 3px;
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.05em;
|
||||
margin: 0px 2px 0px 4px;
|
||||
text-transform: uppercase;
|
||||
align-self: center;
|
||||
padding: 0px 4px 0px 4px;
|
||||
vertical-align: middle !important;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
div.workspace-leaf-content[data-type='file-tree-view'] > div.view-content {
|
||||
padding: 10px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.oz-flex-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
height: min-content;
|
||||
padding: 2px 2px 2px 2px;
|
||||
}
|
||||
|
||||
.oz-folders-action-items {
|
||||
text-align: center;
|
||||
padding: 3px 2px 0px 2px;
|
||||
}
|
||||
|
||||
.oz-folders-action-items,
|
||||
.oz-flex-container {
|
||||
background: var(--oz-fta-header-background-color);
|
||||
border: 1px solid var(--oz-fta-header-background-color);
|
||||
margin-bottom: 3px;
|
||||
border-radius: 8px;
|
||||
stroke-width: 2px;
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.oz-explorer-container {
|
||||
padding-left: 3px !important;
|
||||
padding-right: 3px !important;
|
||||
}
|
||||
|
||||
.oz-file-tree-files {
|
||||
padding-top: 3px !important;
|
||||
}
|
||||
|
||||
.drag-entered,
|
||||
.oz-folder-element:hover,
|
||||
.oz-nav-file:hover {
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.oz-nav-file {
|
||||
margin-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.oz-folder-contents {
|
||||
will-change: transform, opacity, height;
|
||||
margin-left: 6;
|
||||
padding-left: 14px;
|
||||
border-left: 2px solid var(--oz-fta-folder-indendation-guide-color);
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
|
||||
.oz-folder-toggle {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.treeview {
|
||||
position: relative;
|
||||
padding: 0px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.oz-folder-type {
|
||||
text-transform: uppercase;
|
||||
font-family: monospace;
|
||||
font-size: 0.6em;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.oz-folder-name {
|
||||
color: var(--oz-fta-folder-pane-file-name-color);
|
||||
font-size: var(--oz-fta-folder-font-size);
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div.oz-folder-name.is-root-folder {
|
||||
font-size: calc(var(--oz-fta-folder-font-size) + 2px);
|
||||
}
|
||||
|
||||
.oz-icon-div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.oz-folder-line {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
white-space: nowrap;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.oz-folder-block {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.oz-folder-count {
|
||||
margin-left: auto;
|
||||
height: 1.4em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.oz-folder-element {
|
||||
line-height: 1.4em;
|
||||
padding: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.oz-folders-tree-wrapper {
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 5px;
|
||||
padding-left: 8px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.oz-input-container > input {
|
||||
padding-left: 8px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.file-tree-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.file-tree-plugin-view {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.oz-folder-pane {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
height: 50%;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.oz-file-list-pane {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.oz-coffee-div {
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#file-tree-divider {
|
||||
height: 3.8px;
|
||||
opacity: 0.3;
|
||||
cursor: row-resize;
|
||||
margin-bottom: 5px;
|
||||
border-bottom: 3px solid var(--text-muted);
|
||||
}
|
||||
|
||||
div#file-tree-divider.active-divider {
|
||||
background-color: var(--interactive-accent);
|
||||
border-bottom: 0.5px solid var(--interactive-accent);
|
||||
}
|
||||
|
||||
#file-tree-divider:hover {
|
||||
background-color: var(--text-muted);
|
||||
}
|
||||
|
||||
.file-tree-container-horizontal {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.oz-folder-pane-horizontal {
|
||||
display: block;
|
||||
width: 50%;
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
resize: horizontal;
|
||||
}
|
||||
|
||||
.oz-file-list-pane-horizontal {
|
||||
display: block;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#file-tree-divider-horizontal {
|
||||
margin-left: 5px;
|
||||
width: 3.8px;
|
||||
opacity: 0.3;
|
||||
cursor: col-resize;
|
||||
margin-right: 3px;
|
||||
border-right: 3px solid var(--text-muted);
|
||||
}
|
||||
|
||||
div#file-tree-divider-horizontal.active-divider {
|
||||
background-color: var(--interactive-accent);
|
||||
border-bottom: 0.5px solid var(--interactive-accent);
|
||||
}
|
||||
|
||||
#file-tree-divider-horizontal:hover {
|
||||
background-color: var(--text-muted);
|
||||
}
|
||||
|
||||
.file-tree-header-fixed {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.file-tree-files-fixed {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.file-tree-files-fixed-with-search {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
svg.oz-folder-toggle path {
|
||||
fill: var(--oz-fta-folder-icon-color) !important;
|
||||
}
|
||||
|
||||
/* Solution for React-Icon Center Issue */
|
||||
.oz-folder-name svg {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
.oz-nav-file-icon {
|
||||
line-height: 1;
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
margin-right: 2px;
|
||||
padding-bottom: 2.5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Mobile Adjustments */
|
||||
|
||||
.is-mobile .oz-nav-file-title {
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
.is-mobile .oz-flex-container {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
.is-mobile .oz-folder-name.is-root-folder {
|
||||
font-size: calc(var(--oz-fta-folder-font-size) + 2.5px);
|
||||
}
|
||||
|
||||
.is-mobile .oz-folder-name {
|
||||
font-size: var(--oz-fta-folder-font-size);
|
||||
}
|
||||
|
||||
.is-mobile div.oz-nav-file-title .nav-file-title-content {
|
||||
font-size: calc(var(--oz-fta-file-font-size) + 3px);
|
||||
}
|
||||
|
||||
.is-mobile .oz-input-container > input {
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
.is-mobile .oz-nav-action-button svg {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-asciimath",
|
||||
"name": "asciimath",
|
||||
"version": "0.8.1",
|
||||
"version": "0.8.2",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Add asciimath support for Obsidian.",
|
||||
"author": "widcardw",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -149,7 +149,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"previousRelease": "2.21.2",
|
||||
"previousRelease": "2.22.0",
|
||||
"showReleaseNotes": true,
|
||||
"compareManifestToPluginVersion": true,
|
||||
"showNewVersionNotification": true,
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "2.21.2",
|
||||
"version": "2.22.0",
|
||||
"minAppVersion": "1.5.7",
|
||||
"description": "Sketch Your Mind. An Obsidian plugin to edit and view Excalidraw drawings. Enter the world of 4D Visual PKM.",
|
||||
"author": "Zsolt Viczian",
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+254
-254
File diff suppressed because one or more lines are too long
+1
-1
@@ -6,5 +6,5 @@
|
||||
"description": "Integrate Git version control with automatic backup and other advanced features.",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||
"version": "2.38.0"
|
||||
"version": "2.38.1"
|
||||
}
|
||||
|
||||
+93
-37
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-latex-suite",
|
||||
"name": "Latex Suite",
|
||||
"version": "1.11.0",
|
||||
"version": "1.11.3",
|
||||
"minAppVersion": "1.0.0",
|
||||
"description": "Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements",
|
||||
"author": "artisticat",
|
||||
|
||||
+5
-5
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-markmind",
|
||||
"name": "Markmind",
|
||||
"version": "3.4.6",
|
||||
"version": "3.4.7",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "This is a mindmap , outline tool for obsidian.",
|
||||
"author": "Mark",
|
||||
|
||||
+10
-1
@@ -3794,7 +3794,7 @@ span.mm-sline .line {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-right:4px;
|
||||
margin-right: 4px;
|
||||
cursor: pointer;
|
||||
border-radius: 5px;
|
||||
background-color: #333;
|
||||
@@ -3815,3 +3815,12 @@ span.mm-sline .line {
|
||||
.theme-light .cm-mindmap-mobile div svg {
|
||||
fill: #333;
|
||||
}
|
||||
|
||||
|
||||
.mm-node-size .mm-node-edit {
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
.mm-node-size .mm-node-icon {
|
||||
display: flex;
|
||||
}
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"lineWidth": 40,
|
||||
"lineWidthWide": 50,
|
||||
"maxWidth": 98,
|
||||
"textNormal": 25.5,
|
||||
"textNormal": 26,
|
||||
"textSmall": 18,
|
||||
"imgGrid": false,
|
||||
"imgWidth": "img-default-width",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Ma bibliothèque",
|
||||
"lastUpdate": 1775656727556
|
||||
"lastUpdate": 1776103693814
|
||||
}
|
||||
],
|
||||
"renderCitations": true,
|
||||
|
||||
+19
-19
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": "templater-obsidian",
|
||||
"name": "Templater",
|
||||
"version": "2.18.1",
|
||||
"version": "2.19.0",
|
||||
"description": "Create and use templates",
|
||||
"minAppVersion": "1.5.0",
|
||||
"minAppVersion": "1.12.2",
|
||||
"author": "SilentVoid",
|
||||
"authorUrl": "https://github.com/SilentVoid13",
|
||||
"helpUrl": "https://silentvoid13.github.io/Templater/",
|
||||
|
||||
+83
-14
@@ -1059,6 +1059,29 @@ var AppHelper = class {
|
||||
}
|
||||
return !!((_c = (_b = cm5or6 == null ? void 0 : cm5or6.display) == null ? void 0 : _b.input) == null ? void 0 : _c.composing);
|
||||
}
|
||||
/**
|
||||
* Unsafe method
|
||||
*/
|
||||
getVisibleLineRange() {
|
||||
var _a;
|
||||
const markdownView = this.unsafeApp.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||
if (!markdownView) {
|
||||
return null;
|
||||
}
|
||||
const cm = markdownView.editor.cm;
|
||||
if (!(cm == null ? void 0 : cm.visibleRanges) || !((_a = cm == null ? void 0 : cm.state) == null ? void 0 : _a.doc)) {
|
||||
return null;
|
||||
}
|
||||
const visibleRanges = cm.visibleRanges;
|
||||
if (visibleRanges.length === 0) {
|
||||
return null;
|
||||
}
|
||||
const first = visibleRanges[0];
|
||||
const last = visibleRanges[visibleRanges.length - 1];
|
||||
const fromLine = cm.state.doc.lineAt(first.from).number - 1;
|
||||
const toLine = cm.state.doc.lineAt(last.to).number - 1;
|
||||
return { from: fromLine, to: toLine };
|
||||
}
|
||||
isMobile() {
|
||||
return this.unsafeApp.isMobile;
|
||||
}
|
||||
@@ -7245,6 +7268,7 @@ var AutoCompleteSuggest = class _AutoCompleteSuggest extends import_obsidian7.Ed
|
||||
this.previousLinksCacheInActiveFile = /* @__PURE__ */ new Set();
|
||||
this.keymapEventHandler = [];
|
||||
this.spareEditorSuggestContext = null;
|
||||
this.predictableCycleState = null;
|
||||
this.appHelper = new AppHelper(app);
|
||||
this.statusBar = statusBar;
|
||||
}
|
||||
@@ -7310,6 +7334,7 @@ var AutoCompleteSuggest = class _AutoCompleteSuggest extends import_obsidian7.Ed
|
||||
ins.activeLeafChangeRef = app.workspace.on(
|
||||
"active-leaf-change",
|
||||
async (_) => {
|
||||
ins.predictableCycleState = null;
|
||||
await ins.refreshCurrentFileTokens();
|
||||
ins.refreshInternalLinkTokens();
|
||||
ins.updateFrontMatterToken();
|
||||
@@ -7345,32 +7370,76 @@ var AutoCompleteSuggest = class _AutoCompleteSuggest extends import_obsidian7.Ed
|
||||
return;
|
||||
}
|
||||
const cursor = editor.getCursor();
|
||||
if (this.predictableCycleState) {
|
||||
const state = this.predictableCycleState;
|
||||
const currentCandidate = state.candidates[state.currentIndex];
|
||||
const expectedCh = state.replacementStartCh + currentCandidate.length;
|
||||
if (cursor.line === state.line && cursor.ch === expectedCh) {
|
||||
state.currentIndex = (state.currentIndex + 1) % state.candidates.length;
|
||||
const nextCandidate = state.candidates[state.currentIndex];
|
||||
editor.replaceRange(
|
||||
nextCandidate,
|
||||
{ line: state.line, ch: state.replacementStartCh },
|
||||
cursor
|
||||
);
|
||||
this.close();
|
||||
this.debounceClose();
|
||||
return;
|
||||
}
|
||||
this.predictableCycleState = null;
|
||||
}
|
||||
const currentToken = this.tokenizer.tokenize(editor.getLine(cursor.line).slice(0, cursor.ch)).last();
|
||||
if (!currentToken) {
|
||||
return;
|
||||
}
|
||||
let suggestion = this.tokenizer.tokenize(
|
||||
editor.getRange({ line: Math.max(cursor.line - 50, 0), ch: 0 }, cursor)
|
||||
).reverse().slice(1).find((x) => x.startsWith(currentToken));
|
||||
if (!suggestion) {
|
||||
suggestion = this.tokenizer.tokenize(
|
||||
editor.getRange(cursor, {
|
||||
line: Math.min(cursor.line + 50, editor.lineCount() - 1),
|
||||
ch: 0
|
||||
})
|
||||
).find((x) => x.startsWith(currentToken));
|
||||
}
|
||||
if (!suggestion) {
|
||||
const candidates = this.collectPredictableCandidates(
|
||||
editor,
|
||||
cursor,
|
||||
currentToken
|
||||
);
|
||||
if (candidates.length <= 1) {
|
||||
return;
|
||||
}
|
||||
const replacementStartCh = cursor.ch - currentToken.length;
|
||||
this.predictableCycleState = {
|
||||
originalToken: currentToken,
|
||||
replacementStartCh,
|
||||
line: cursor.line,
|
||||
candidates,
|
||||
currentIndex: 0
|
||||
};
|
||||
const suggestion = candidates[0];
|
||||
editor.replaceRange(
|
||||
suggestion,
|
||||
{ line: cursor.line, ch: cursor.ch - currentToken.length },
|
||||
{ line: cursor.line, ch: cursor.ch }
|
||||
{ line: cursor.line, ch: replacementStartCh },
|
||||
cursor
|
||||
);
|
||||
this.close();
|
||||
this.debounceClose();
|
||||
}
|
||||
collectPredictableCandidates(editor, cursor, originalToken) {
|
||||
var _a, _b;
|
||||
const seen = /* @__PURE__ */ new Set();
|
||||
const candidates = [];
|
||||
const addIfNew = (token) => {
|
||||
if (token.startsWith(originalToken) && token !== originalToken && !seen.has(token)) {
|
||||
seen.add(token);
|
||||
candidates.push(token);
|
||||
}
|
||||
};
|
||||
const visibleRange = this.appHelper.getVisibleLineRange();
|
||||
const rangeStart = (_a = visibleRange == null ? void 0 : visibleRange.from) != null ? _a : Math.max(cursor.line - 50, 0);
|
||||
const rangeEnd = (_b = visibleRange == null ? void 0 : visibleRange.to) != null ? _b : Math.min(cursor.line + 50, editor.lineCount() - 1);
|
||||
const textAbove = editor.getRange({ line: rangeStart, ch: 0 }, cursor);
|
||||
this.tokenizer.tokenize(textAbove).reverse().slice(1).forEach(addIfNew);
|
||||
const textBelow = editor.getRange(cursor, {
|
||||
line: rangeEnd,
|
||||
ch: editor.getLine(rangeEnd).length
|
||||
});
|
||||
this.tokenizer.tokenize(textBelow).forEach(addIfNew);
|
||||
candidates.push(originalToken);
|
||||
return candidates;
|
||||
}
|
||||
unregister() {
|
||||
this.app.vault.offref(this.modifyEventRef);
|
||||
this.app.workspace.offref(this.activeLeafChangeRef);
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "various-complements",
|
||||
"name": "Various Complements",
|
||||
"version": "11.0.0",
|
||||
"version": "11.1.0",
|
||||
"minAppVersion": "1.11.4",
|
||||
"description": "This plugin enables you to complete words like the auto-completion of IDE",
|
||||
"author": "tadashi-aikawa",
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
---
|
||||
up:
|
||||
- "[[sources/0 - cours/LOGOS S2/le savoir en mathématiques/Spinoza lettre 12 à Lodewijk Meyer|Spinoza lettre 12 à Lodewijk Meyer]]"
|
||||
tags:
|
||||
- s/philosophie/spinoza
|
||||
aliases:
|
||||
pdf: "[[sources/0 - cours/LOGOS S2/le savoir en mathématiques/(Camerini) La Lettre 12 et ses cercles non-concentriques.pdf|(Camerini) La Lettre 12 et ses cercles non-concentriques]]"
|
||||
---
|
||||
|
||||
> [!PDF|yellow] [[sources/0 - cours/LOGOS S2/le savoir en mathématiques/(Camerini) La Lettre 12 et ses cercles non-concentriques.pdf#page=4&selection=86,0,128,1&color=yellow|(Camerini) La Lettre 12 et ses cercles non-concentriques, p.4]]
|
||||
> Pour autant, si l’on suit fidèlement le texte, Spinoza ne semble pas vouloir opérer une sélection entre ce qui est infini et ce qui ne l’est pas. Le philosophe néerlandais ne veut pas distinguer entre un vrai et un faux, un bon et un mauvais infini, comme si, dans les six cas exposés, seuls trois d’entre eux en méritaient le nom. Son objectif, au contraire, semble être plutôt d’analyser les situations d’équivocité, c’est-à-dire les cas où deux choses différentes sont appelées par le même nom. Or, il s’agit précisément de revendiquer la possibilité d’utiliser le concept d’infini dans des cas différents, avec des significations différentes. Même dans le cas de l’imagination, en effet, Spinoza ne semble pas vouloir éliminer ou exclure, mais plutôt réguler cette faculté[^1].
|
||||
> - so [[sources/0 - cours/LOGOS S2/le savoir en mathématiques/Éthique.pdf|Éthique (Rovère)]], note 403, p.470
|
||||
|
||||
[^1]:Comme souligne Rabouin, « si l’on voulait trouver un trait commun à Descartes, Spinoza ou Leibniz sur cette question, ce serait plutôt de relier les mathématiques à l’imagination. […] ils [les auteurs classiques] ne cessent d’insister sur le fait que sa solution est à trouver dans un règlement de l’imagination (par l’intellect), non dans un rejet pur et simple » (D. Rabouin, « Spinoza, quelle norme mathématique ? », Les Chemins du scepticisme en mathématiques. D’Aristote et de Sextus Empiricus aux arguments gödeliens et au fictionnalisme, éd. J.-P. Cléro, Paris, Hermann, 2021, p. 32.)].
|
||||
|
||||
|
||||
> [!PDF|yellow] [[sources/0 - cours/LOGOS S2/le savoir en mathématiques/(Camerini) La Lettre 12 et ses cercles non-concentriques.pdf#page=5&selection=53,0,83,6&color=yellow|(Camerini) La Lettre 12 et ses cercles non-concentriques]]
|
||||
> En d’autres termes, Spinoza n’affirme ni que l’infini est divisible, ni qu’il ne l’est pas, mais qu’il peut ou non être divisible sans aucune contradiction – tout comme il peut ou non être comparé en ordre de grandeur à un autre infini – à condition toutefois de bien comprendre de quel infini il s’agit
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user