Vault Backup
This commit is contained in:
+5
-1
@@ -19,8 +19,12 @@
|
||||
"showOutlinks": true,
|
||||
"showDates": true,
|
||||
"combineLinks": false,
|
||||
"limitLinks": false,
|
||||
"linksLimit": 10,
|
||||
"footerWidth": "default",
|
||||
"footerMaxWidth": 700,
|
||||
"updateDelay": 3000,
|
||||
"excludedParentSelectors": [],
|
||||
"frontmatterExclusionField": "",
|
||||
"lastVersion": "1.10.9"
|
||||
"lastVersion": "1.13.0"
|
||||
}
|
||||
Vendored
+1147
-789
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "rich-foot",
|
||||
"name": "Rich Foot",
|
||||
"version": "1.10.9",
|
||||
"minAppVersion": "1.5.0",
|
||||
"version": "1.13.0",
|
||||
"minAppVersion": "1.7.2",
|
||||
"description": "Adds backlink tags and created/modified dates to the footer of your notes.",
|
||||
"author": "Justin Parker (eQui\\\\ Labs)",
|
||||
"authorUrl": "https://www.equilllabs.com",
|
||||
|
||||
+120
-12
@@ -6,15 +6,25 @@
|
||||
/* -- General Rich Foot Styles -- */
|
||||
/* ------------------------------ */
|
||||
.rich-foot {
|
||||
/* Layout optimization */
|
||||
contain: layout style;
|
||||
min-height: 0;
|
||||
|
||||
/* Spacing */
|
||||
margin-top: 30px !important;
|
||||
margin-bottom: 20px !important;
|
||||
padding-top: 10px !important;
|
||||
|
||||
/* Animation setup */
|
||||
opacity: 1;
|
||||
transition: opacity 600ms ease-in-out; /* fade in rich-foot */
|
||||
transform: translateY(0);
|
||||
will-change: opacity, transform;
|
||||
transition: opacity 600ms ease-in-out, transform 600ms ease-in-out;
|
||||
}
|
||||
|
||||
.rich-foot--hidden {
|
||||
opacity: 0;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* ---------------------- */
|
||||
@@ -59,7 +69,11 @@
|
||||
|
||||
.rich-foot--backlinks ul li a,
|
||||
.rich-foot--outlinks ul li a,
|
||||
.rich-foot--links ul li a {
|
||||
.rich-foot--links ul li a,
|
||||
.rich-foot--backlinks ul li .rich-foot--show-more,
|
||||
.rich-foot--outlinks ul li .rich-foot--show-more,
|
||||
.rich-foot--links ul li .rich-foot--show-more {
|
||||
/* Appearance */
|
||||
filter: brightness(120%);
|
||||
text-decoration: none !important;
|
||||
font-size: 12px;
|
||||
@@ -69,11 +83,16 @@
|
||||
display: inline-block;
|
||||
margin: 0 4px;
|
||||
cursor: pointer;
|
||||
|
||||
/* Styling */
|
||||
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));
|
||||
|
||||
/* Performance optimization */
|
||||
will-change: filter, border-color;
|
||||
transition: 150ms ease-in-out all;
|
||||
}
|
||||
|
||||
.rich-foot--backlinks ul li a::before,
|
||||
@@ -90,12 +109,54 @@
|
||||
|
||||
.rich-foot--backlinks ul li a:hover,
|
||||
.rich-foot--outlinks ul li a:hover,
|
||||
.rich-foot--links ul li a:hover {
|
||||
.rich-foot--links ul li a:hover,
|
||||
.rich-foot--backlinks ul li .rich-foot--show-more:hover,
|
||||
.rich-foot--outlinks ul li .rich-foot--show-more:hover,
|
||||
.rich-foot--links ul li .rich-foot--show-more:hover {
|
||||
filter: brightness(170%);
|
||||
border: 1px solid transparent !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* ----------------------------- */
|
||||
/* -- Show More / Limit Links -- */
|
||||
/* ----------------------------- */
|
||||
.rich-foot--backlinks ul li.rich-foot--link-hidden,
|
||||
.rich-foot--outlinks ul li.rich-foot--link-hidden,
|
||||
.rich-foot--links ul li.rich-foot--link-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.rich-foot--backlinks ul li .rich-foot--show-more,
|
||||
.rich-foot--outlinks ul li .rich-foot--show-more,
|
||||
.rich-foot--links ul li .rich-foot--show-more {
|
||||
/* The shared pill rule above provides all rich-foot user-setting styling
|
||||
(link color, background, border color, radius, padding, font-size) via the
|
||||
--rich-foot-* variables, so this control automatically tracks the user's
|
||||
visual settings. These declarations only neutralize the native <button>
|
||||
chrome so it renders identically to the <a> link pills. */
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
line-height: inherit;
|
||||
letter-spacing: inherit;
|
||||
vertical-align: baseline;
|
||||
box-shadow: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
/* Obsidian's app stylesheet gives <button> an intrinsic height/vertical
|
||||
padding that an <a> doesn't have; collapse it so the pill height matches
|
||||
the link pills exactly. */
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.rich-foot--show-more::before,
|
||||
.rich-foot--show-more::after {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
/* ----------------- */
|
||||
/* -- Date Styles -- */
|
||||
/* ----------------- */
|
||||
@@ -153,7 +214,9 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
.cm-sizer > .rich-foot {
|
||||
margin-top: 15px !important;
|
||||
max-width: var(--max-width);
|
||||
width: var(--line-width);
|
||||
/* Cap at the container width so the footer can never grow wider than the
|
||||
editor and force horizontal scrolling on narrow screens (e.g. mobile). */
|
||||
width: min(var(--line-width, 100%), 100%);
|
||||
margin-inline: var(--content-margin) !important;
|
||||
}
|
||||
|
||||
@@ -192,13 +255,46 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
|
||||
.markdown-reading-view .markdown-preview-sizer {
|
||||
width: 100%;
|
||||
/* Use flexbox to push footer to bottom */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100% !important;
|
||||
}
|
||||
|
||||
/* Update the rich foot positioning */
|
||||
/* Push footer to bottom of visible area */
|
||||
.markdown-reading-view .markdown-preview-sizer > .rich-foot {
|
||||
padding-top: var(--rich-foot-top-padding, 10px) !important;
|
||||
margin-top: auto !important;
|
||||
padding-top: 20px !important;
|
||||
padding-bottom: 0 !important;
|
||||
margin-bottom: var(--rich-foot-margin-bottom, 0) !important;
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
|
||||
/* ----------------------------------- */
|
||||
/* -- Footer Width (Readable Length) -- */
|
||||
/* ----------------------------------- */
|
||||
/*
|
||||
* Issue #78: let users lock the footer to Obsidian's "Readable line length" or
|
||||
* to a custom max width, and keep it centered. In every mode the footer is
|
||||
* capped at 100% of its container, so it can never grow wider than the note and
|
||||
* introduce horizontal scrolling on narrow screens (e.g. mobile).
|
||||
*
|
||||
* The active mode is set on <body data-rich-foot-width="..."> by the plugin.
|
||||
*/
|
||||
|
||||
/* Readable line length — reading & edit modes */
|
||||
body[data-rich-foot-width="readable"] .markdown-preview-sizer > .rich-foot,
|
||||
body[data-rich-foot-width="readable"] .cm-sizer > .rich-foot {
|
||||
max-width: min(var(--file-line-width, var(--max-width, 100%)), 100%);
|
||||
width: 100%;
|
||||
margin-inline: auto !important;
|
||||
}
|
||||
|
||||
/* Custom max width (px) — reading & edit modes */
|
||||
body[data-rich-foot-width="custom"] .markdown-preview-sizer > .rich-foot,
|
||||
body[data-rich-foot-width="custom"] .cm-sizer > .rich-foot {
|
||||
max-width: min(var(--rich-foot-content-max-width, 700px), 100%);
|
||||
width: 100%;
|
||||
margin-inline: auto !important;
|
||||
}
|
||||
|
||||
/* ----------- */
|
||||
@@ -208,7 +304,7 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
/* 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;
|
||||
min-height: unset !important;
|
||||
}
|
||||
|
||||
.rich-foot > .rich-foot--dashed-line {
|
||||
@@ -315,6 +411,7 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
transition: background-color 150ms ease, color 150ms ease;
|
||||
}
|
||||
|
||||
.excluded-folder-delete:hover {
|
||||
@@ -322,7 +419,6 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
color: var(--text-on-accent);
|
||||
}
|
||||
|
||||
|
||||
/* Release Notes Modal */
|
||||
.release-notes-container {
|
||||
max-height: 400px;
|
||||
@@ -371,9 +467,19 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
|
||||
.release-notes-spacer {
|
||||
margin: 10px 0;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
/* Add these styles at the end of the file */
|
||||
.release-notes-promotional-links {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
/* Inline error feedback for invalid CSS selector input in settings */
|
||||
.rich-foot-input-error {
|
||||
color: var(--text-error);
|
||||
}
|
||||
|
||||
/* Color Swatches Grid */
|
||||
.color-swatches-container {
|
||||
@@ -423,9 +529,10 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
font-size: 12px;
|
||||
padding: 4px 8px;
|
||||
margin-left: 8px;
|
||||
transition: opacity 150ms ease;
|
||||
}
|
||||
|
||||
/* Add these styles */
|
||||
/* Excluded selectors */
|
||||
.excluded-selectors-container {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
@@ -450,6 +557,7 @@ body.theme-light .rich-foot--backlinks ul li a {
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
transition: background-color 150ms ease, color 150ms ease;
|
||||
}
|
||||
|
||||
.excluded-selector-delete:hover {
|
||||
|
||||
Reference in New Issue
Block a user