This commit is contained in:
2025-10-22 22:13:54 +02:00
parent 9e44354ef0
commit b63d46a78e
331 changed files with 352530 additions and 3 deletions

26
.obsidian/plugins/rich-foot/data.json vendored Normal file
View File

@@ -0,0 +1,26 @@
{
"borderWidth": 1,
"borderStyle": "dashed",
"borderOpacity": 1,
"borderRadius": 15,
"datesOpacity": 1,
"linksOpacity": 1,
"showReleaseNotes": true,
"excludedFolders": [],
"dateColor": "var(--text-accent)",
"borderColor": "var(--text-accent)",
"linkColor": "var(--link-color)",
"linkBackgroundColor": "var(--tag-background)",
"linkBorderColor": "rgba(255, 255, 255, 0.204)",
"customCreatedDateProp": "",
"customModifiedDateProp": "",
"dateDisplayFormat": "dd mmm yyyy",
"showBacklinks": true,
"showOutlinks": true,
"showDates": true,
"combineLinks": false,
"updateDelay": 3000,
"excludedParentSelectors": [],
"frontmatterExclusionField": "",
"lastVersion": "1.10.9"
}

1268
.obsidian/plugins/rich-foot/main.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
{
"id": "rich-foot",
"name": "Rich Foot",
"version": "1.10.9",
"minAppVersion": "1.5.0",
"description": "Adds backlink tags and created/modified dates to the footer of your notes.",
"author": "Justin Parker (eQui\\\\ Labs)",
"authorUrl": "https://www.equilllabs.com",
"fundingUrl": "https://ko-fi.com/jparkerweb",
"isDesktopOnly": false
}

458
.obsidian/plugins/rich-foot/styles.css vendored Normal file
View File

@@ -0,0 +1,458 @@
/* ========================= */
/* == Obsidian: Rich Foot == */
/* ========================= */
/* ------------------------------ */
/* -- General Rich Foot Styles -- */
/* ------------------------------ */
.rich-foot {
margin-top: 30px !important;
margin-bottom: 20px !important;
padding-top: 10px !important;
opacity: 1;
transition: opacity 600ms ease-in-out; /* fade in rich-foot */
}
.rich-foot--hidden {
opacity: 0;
}
/* ---------------------- */
/* -- Backlinks Styles -- */
/* ---------------------- */
.rich-foot--backlinks,
.rich-foot--outlinks,
.rich-foot--links {
opacity: var(--rich-foot-links-opacity, 1);
}
.rich-foot--backlinks::before { content: 'Backlinks';}
.rich-foot--outlinks::before { content: 'Outlinks';}
.rich-foot--links::before { content: 'Links';}
.rich-foot--backlinks::before,
.rich-foot--outlinks::before,
.rich-foot--links::before {
text-transform: uppercase;
filter: brightness(150%);
position: relative;
bottom: 0;
font-size: 0.7em;
color: var(--rich-foot-link-color, var(--text-accent));
}
.rich-foot--backlinks ul,
.rich-foot--outlinks ul,
.rich-foot--links ul {
list-style: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0 !important;
padding-left: 20px !important;
}
.rich-foot--backlinks ul li,
.rich-foot--outlinks ul li,
.rich-foot--links ul li {
margin-inline-start: 0 !important;
}
.rich-foot--backlinks ul li a,
.rich-foot--outlinks ul li a,
.rich-foot--links ul li a {
filter: brightness(120%);
text-decoration: none !important;
font-size: 12px;
padding: 0 8px;
text-transform: lowercase;
text-align: center;
display: inline-block;
margin: 0 4px;
cursor: pointer;
border-radius: var(--rich-foot-border-radius, 15px);
border: 1px solid var(--rich-foot-link-border-color, rgba(255, 255, 255, 0.204));
transition: 150ms ease-in-out all;
color: var(--rich-foot-link-color, var(--link-color));
background-color: var(--rich-foot-link-background, var(--tag-background));
}
.rich-foot--backlinks ul li a::before,
.rich-foot--links ul li a[data-is-backlink="true"]::before {
content: "⇠ ";
opacity: .5;
}
.rich-foot--outlinks ul li a::after,
.rich-foot--links ul li a[data-is-outlink="true"]::after {
content: " ⇢";
opacity: .5;
}
.rich-foot--backlinks ul li a:hover,
.rich-foot--outlinks ul li a:hover,
.rich-foot--links ul li a:hover {
filter: brightness(170%);
border: 1px solid transparent !important;
text-decoration: none;
}
/* ----------------- */
/* -- Date Styles -- */
/* ----------------- */
.rich-foot--created-date,
.rich-foot--modified-date {
display: flex;
flex-direction: row;
align-items: center;
list-style: none;
margin-top: 10px;
padding-left: 0;
font-size: .8em;
filter: brightness(85%);
color: var(--rich-foot-date-color, var(--text-accent));
opacity: var(--rich-foot-dates-opacity, 1);
}
.rich-foot--created-date {
margin-right: 20px;
margin-left: 20px;
}
.rich-foot--created-date::before,
.rich-foot--modified-date::before {
font-size: .7em;
text-transform: uppercase;
padding: 2px 8px 0 0;
color: var(--rich-foot-date-color, var(--text-accent));
}
.rich-foot--created-date::before {
content: "created date";
}
.rich-foot--modified-date::before {
content: "modified date";
}
/* --------------------------- */
/* -- Theme-specific Styles -- */
/* --------------------------- */
body.theme-light .rich-foot--backlinks::before,
body.theme-light .rich-foot--backlinks ul li a {
filter: brightness(80%);
}
/* ---------------------------- */
/* -- Editor-specific Styles -- */
/* ---------------------------- */
.cm-sizer {
width: 100%;
padding-bottom: 0 !important;
}
.cm-sizer > .rich-foot {
margin-top: 15px !important;
max-width: var(--max-width);
width: var(--line-width);
margin-inline: var(--content-margin) !important;
}
.cm-sizer .rich-foot--backlinks {
margin-top: 0;
}
.cm-scroller .cm-contentContainer > .cm-content,
.markdown-source-view .cm-contentContainer > .cm-content {
padding-top: 0 !important;
padding-bottom: unset !important;
}
.cm-scroller .rich-foot--backlinks,
.markdown-source-view .rich-foot--backlinks {
margin-top: 0;
}
.cm-scroller .rich-foot--created-date,
.cm-scroller .rich-foot--modified-date,
.markdown-source-view .rich-foot--created-date,
.markdown-source-view .rich-foot--modified-date,
.cm-sizer .rich-foot--created-date,
.cm-sizer .rich-foot--modified-date {
display: inline-block;
margin-right: 20px;
}
/* ---------------------------- */
/* -- Preview-specific Styles -- */
/* ---------------------------- */
.markdown-preview-sizer {
width: 100%;
padding-bottom: 0 !important;
}
.markdown-reading-view .markdown-preview-sizer {
width: 100%;
}
/* Update the rich foot positioning */
.markdown-reading-view .markdown-preview-sizer > .rich-foot {
padding-top: var(--rich-foot-top-padding, 10px) !important;
padding-bottom: 0 !important;
margin-bottom: var(--rich-foot-margin-bottom, 0) !important;
}
/* ----------- */
/* -- other -- */
/* ----------- */
/* fix note embed height scroll in canvas */
.canvas-node-content.markdown-embed div.cm-sizer,
.canvas-node-content.markdown-embed div.markdown-preview-sizer {
min-height: unset !important;
}
.rich-foot > .rich-foot--dashed-line {
border-top-width: var(--rich-foot-border-width, 1px);
border-top-style: var(--rich-foot-border-style, dashed);
border-top-color: var(--rich-foot-border-color, var(--text-accent));
opacity: var(--rich-foot-border-opacity, 1);
}
.rich-foot > .rich-foot--dates-wrapper {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
color: var(--rich-foot-date-color);
}
/* Settings styles */
.rich-foot-settings input[type='text'],
.rich-foot-settings input[type='number'] {
text-align: right;
}
/* --------------------- */
/* -- Settings Styles -- */
/* --------------------- */
.rich-foot-settings {
display: flex;
flex-direction: column;
}
.rich-foot-settings .rich-foot-info {
margin-bottom: 10px;
padding: 15px 20px;
background-color: var(--background-secondary);
color: var(--text-accent-hover);
border-radius: 10px;
}
.rich-foot-settings .rich-foot-example-title {
margin-top: 60px;
margin-bottom: 10px;
border-top: 1px solid var(--text-accent);
padding-top: 30px;
}
.rich-foot-settings .rich-foot-example {
margin-top: 20px;
margin-bottom: 20px;
}
.rich-foot-settings .rich-foot-example img {
max-width: 100%;
height: auto;
}
.rich-foot-settings .setting-item {
border: none;
background-color: var(--background-secondary);
border-radius: 10px;
padding: 15px;
margin-bottom: 15px;
}
.rich-foot-settings .setting-item-name {
font-weight: bold;
}
.rich-foot-settings .setting-item-description {
font-size: 0.9em;
opacity: 0.8;
}
.rich-foot-settings textarea {
background-color: var(--background-primary-alt);
border: 1px solid var(--background-modifier-border);
border-radius: 5px;
padding: 10px;
font-family: var(--font-monospace);
width: 400px !important;
height: 250px !important;
resize: vertical;
}
.excluded-folders-container {
margin-bottom: 24px;
}
.excluded-folder-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 12px;
margin: 4px 0;
background-color: var(--background-secondary);
border-radius: 4px;
}
.excluded-folder-delete {
padding: 4px 8px;
color: var(--text-error);
background-color: transparent;
border: 1px solid var(--text-error);
border-radius: 4px;
cursor: pointer;
font-size: 12px;
}
.excluded-folder-delete:hover {
background-color: var(--text-error);
color: var(--text-on-accent);
}
/* Release Notes Modal */
.release-notes-container {
max-height: 400px;
overflow-y: auto;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
background-color: var(--background-secondary);
}
.release-notes-container img {
max-width: 100%;
}
.release-notes-instructions {
font-size: 0.75em;
font-weight: 300;
letter-spacing: 2px;
}
.release-notes-section {
margin: 10px 0;
}
.release-notes-section h4 {
margin: 15px 0 5px 0;
color: var(--text-accent-hover);
}
.release-notes-container > ul {
padding-left: 25px;
}
.release-notes-container ul:not(:last-of-type) {
padding-bottom: 20px;
}
.release-notes-section ul {
margin: 0;
padding-left: 20px;
}
.release-notes-container li,
.release-notes-section li {
margin: 5px 0;
}
.release-notes-spacer {
margin: 10px 0;
}
/* Add these styles at the end of the file */
/* Color Swatches Grid */
.color-swatches-container {
margin: 12px 0;
padding: 12px;
background-color: var(--background-secondary);
border-radius: 10px;
}
.color-swatches-container h4 {
margin: 0 0 12px 0;
font-size: 14px;
}
.color-swatches-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
gap: 8px;
margin-bottom: 12px;
}
.color-swatch {
width: 30px;
height: 30px;
border-radius: 4px;
cursor: pointer;
border: 2px solid transparent;
transition: all 150ms ease;
}
.color-swatch:hover {
transform: scale(1.1);
}
.color-swatch.selected {
border-color: var(--text-accent);
transform: scale(1.2);
}
/* Slider Styles */
.rich-foot-settings .setting-item input[type="range"] {
width: 150px;
}
/* Reset Buttons */
.rich-foot-settings .setting-item button {
font-size: 12px;
padding: 4px 8px;
margin-left: 8px;
}
/* Add these styles */
.excluded-selectors-container {
margin-bottom: 24px;
}
.excluded-selector-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 12px;
margin: 4px 0;
background-color: var(--background-secondary);
border-radius: 4px;
font-family: var(--font-monospace);
font-size: 0.9em;
}
.excluded-selector-delete {
padding: 4px 8px;
color: var(--text-error);
background-color: transparent;
border: 1px solid var(--text-error);
border-radius: 4px;
cursor: pointer;
font-size: 12px;
}
.excluded-selector-delete:hover {
background-color: var(--text-error);
color: var(--text-on-accent);
}