Initial commit — Work Journal project (prototype, Android app, backups, project log)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"highlighterStyle": "realistic",
|
||||
"highlighterMethods": "inline-styles",
|
||||
"highlighters": {
|
||||
"Pink": "#FFB8EBA6",
|
||||
"Red": "#FF5582A6",
|
||||
"Orange": "#FFB86CA6",
|
||||
"Yellow": "#FFF3A3A6",
|
||||
"Green": "#BBFABBA6",
|
||||
"Cyan": "#ABF7F7A6",
|
||||
"Blue": "#ADCCFFA6",
|
||||
"Purple": "#D2B3FFA6",
|
||||
"Grey": "#CACFD9A6"
|
||||
},
|
||||
"highlighterOrder": [
|
||||
"Pink",
|
||||
"Red",
|
||||
"Orange",
|
||||
"Yellow",
|
||||
"Green",
|
||||
"Cyan",
|
||||
"Blue",
|
||||
"Purple",
|
||||
"Grey"
|
||||
]
|
||||
}
|
||||
+3637
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "highlightr-plugin",
|
||||
"name": "Highlightr",
|
||||
"version": "1.2.2",
|
||||
"minAppVersion": "0.12.8",
|
||||
"description": "A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier with a configurable assortment of highlight colors 🎨.",
|
||||
"author": "chetachi",
|
||||
"authorUrl": "https://github.com/chetachiezikeuzor",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
+774
@@ -0,0 +1,774 @@
|
||||
/*highlighter style*/
|
||||
/*lowlight*/
|
||||
.highlightr-lowlight mark,
|
||||
.highlightr-lowlight span.cm-highlight,
|
||||
.highlightr-lowlight .markdown-preview-view mark {
|
||||
--lowlight-background: var(--background-primary);
|
||||
border-radius: 0;
|
||||
background-image: linear-gradient(
|
||||
360deg,
|
||||
rgba(255, 255, 255, 0) 40%,
|
||||
var(--lowlight-background) 40%
|
||||
) !important;
|
||||
}
|
||||
|
||||
.highlightr-lowlight .workspace-split.mod-left-split mark,
|
||||
.highlightr-lowlight .workspace-split.mod-left-split span.cm-highlight,
|
||||
.highlightr-lowlight
|
||||
.workspace-split.mod-left-split
|
||||
.markdown-preview-view
|
||||
mark,
|
||||
.highlightr-lowlight .workspace-split.mod-right-split mark,
|
||||
.highlightr-lowlight .workspace-split.mod-right-split span.cm-highlight,
|
||||
.highlightr-lowlight
|
||||
.workspace-split.mod-right-split
|
||||
.markdown-preview-view
|
||||
mark {
|
||||
--lowlight-background: var(--background-secondary);
|
||||
}
|
||||
|
||||
.highlightr-lowlight .admonition-content mark,
|
||||
.highlightr-lowlight .admonition-content span.cm-highlight,
|
||||
.highlightr-lowlight .admonition-content > .markdown-preview-view mark {
|
||||
--lowlight-background: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
/*floating*/
|
||||
.highlightr-floating mark,
|
||||
.highlightr-floating span.cm-highlight,
|
||||
.highlightr-floating .markdown-preview-view mark {
|
||||
--floating-background: var(--background-primary);
|
||||
border-radius: 0;
|
||||
padding-bottom: 5px;
|
||||
background-image: linear-gradient(
|
||||
360deg,
|
||||
rgba(255, 255, 255, 0) 28%,
|
||||
var(--floating-background) 28%
|
||||
) !important;
|
||||
}
|
||||
|
||||
.highlightr-floating .workspace-split.mod-left-split mark,
|
||||
.highlightr-floating .workspace-split.mod-left-split span.cm-highlight,
|
||||
.highlightr-floating
|
||||
.workspace-split.mod-left-split
|
||||
.markdown-preview-view
|
||||
mark,
|
||||
.highlightr-floating .workspace-split.mod-right-split mark,
|
||||
.highlightr-floating .workspace-split.mod-right-split span.cm-highlight,
|
||||
.highlightr-floating
|
||||
.workspace-split.mod-right-split
|
||||
.markdown-preview-view
|
||||
mark {
|
||||
--floating-background: var(--background-secondary);
|
||||
}
|
||||
|
||||
.highlightr-floating .admonition-content mark,
|
||||
.highlightr-floating .admonition-content span.cm-highlight,
|
||||
.highlightr-floating .admonition-content > .markdown-preview-view mark {
|
||||
--floating-background: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
/*rounded*/
|
||||
.highlightr-rounded mark,
|
||||
.highlightr-rounded .markdown-preview-view mark {
|
||||
margin: 0 -0.05em;
|
||||
padding: 0.125em 0.15em;
|
||||
border-radius: 0.2em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
}
|
||||
|
||||
.highlightr-rounded span.cm-highlight {
|
||||
border-radius: 0.2em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
}
|
||||
|
||||
.highlightr-rounded .cm-s-obsidian span.cm-highlight {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.highlightr-rounded .cm-highlight + span.cm-formatting-highlight {
|
||||
padding-left: 0em;
|
||||
padding-right: 0.15em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
}
|
||||
|
||||
/*realistic*/
|
||||
.highlightr-realistic mark,
|
||||
.highlightr-realistic .markdown-preview-view mark {
|
||||
margin: 0 -0.05em;
|
||||
padding: 0.1em 0.4em;
|
||||
border-radius: 0.8em 0.3em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
text-shadow: 0 0 0.75em var(--background-primary-alt);
|
||||
}
|
||||
|
||||
.highlightr-realistic.hide-tokens .cm-s-obsidian span.cm-highlight,
|
||||
.hide-tokens.highlightr-realistic .cm-s-obsidian span.cm-highlight {
|
||||
border-radius: 0.8em 0.3em;
|
||||
}
|
||||
|
||||
.highlightr-realistic .cm-s-obsidian span.cm-highlight {
|
||||
padding: 0.15em 0.25em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
text-shadow: 0 0 0.75em var(--background-primary-alt);
|
||||
}
|
||||
|
||||
.highlightr-realistic .cm-s-obsidian span.cm-formatting-highlight {
|
||||
margin: 0 0 0 -0.05em;
|
||||
padding: 0.15em 0.25em;
|
||||
border-radius: 0.8em 0 0 0.3em;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
}
|
||||
|
||||
.highlightr-realistic
|
||||
.cm-s-obsidian
|
||||
.cm-highlight
|
||||
+ span.cm-formatting-highlight {
|
||||
margin: 0 -0.05em 0 0;
|
||||
padding: 0.15em 0.25em;
|
||||
border-radius: 0 0.3em 0.8em 0;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
}
|
||||
|
||||
/**/
|
||||
|
||||
button.copy-highlights {
|
||||
padding: 4px 14px;
|
||||
border-radius: 5px;
|
||||
background-color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.copy-highlights svg {
|
||||
width: 1.3em;
|
||||
height: 1.3em;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
details summary.highlight-summary:before {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
content: "☐";
|
||||
font-size: 9px;
|
||||
cursor: pointer;
|
||||
margin-right: 5px;
|
||||
display: inline-block;
|
||||
vertical-align: 0.05em;
|
||||
background-color: currentColor;
|
||||
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="black" d="M10.707 17.707L16.414 12l-5.707-5.707l-1.414 1.414L13.586 12l-4.293 4.293z"></path></svg>');
|
||||
}
|
||||
|
||||
details[open] summary.highlight-summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/*highlightr component*/
|
||||
|
||||
@keyframes fade {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
20% {
|
||||
opacity: 0.9;
|
||||
}
|
||||
40% {
|
||||
opacity: 0.95;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.menu.highlighterContainer {
|
||||
min-width: 140px;
|
||||
max-width: 225px;
|
||||
max-height: 180px;
|
||||
padding-left: 0em;
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: fixed;
|
||||
animation: fade 300ms ease-in-out;
|
||||
background-color: var(--background-primary);
|
||||
box-shadow: 0px 3px 25px rgba(31, 38, 135, 0.1);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.menu.highlighterContainer .menu-item .menu-item-icon {
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.menu.highlighterContainer .menu-item {
|
||||
display: flex;
|
||||
padding: 2px 14px 3px 14px;
|
||||
align-items: unset;
|
||||
margin: auto;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
height: 32px;
|
||||
line-height: 31px;
|
||||
white-space: nowrap;
|
||||
border-radius: 0;
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.menu.highlighterContainer .menu-item:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
SETTINGS TAB
|
||||
----------------------------------------------------------------*/
|
||||
|
||||
button.HighlightrSettingsButton {
|
||||
padding: 4px 14px;
|
||||
border-radius: 6px;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
button.HighlightrSettingsButton svg {
|
||||
width: 1.3em;
|
||||
height: 1.3em;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.highlighter-settings-color,
|
||||
.highlighter-settings-value {
|
||||
width: 42%;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.highlighterplugin-setting-item {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.highlighterplugin-setting-item .setting-item-control {
|
||||
justify-content: space-between;
|
||||
margin-top: 12px;
|
||||
align-content: center;
|
||||
align-items: flex-end;
|
||||
grid-gap: 6px;
|
||||
}
|
||||
|
||||
.modal.mod-settings
|
||||
button:not(.mod-cta):not(.mod-warning).HighlightrSettingsButton.HighlightrSettingsButtonAdd,
|
||||
button:not(.mod-cta):not(.mod-warning).HighlightrSettingsButton.HighlightrSettingsButtonAdd {
|
||||
background-color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.modal.mod-settings
|
||||
button:not(.mod-cta):not(.mod-warning).HighlightrSettingsButton.HighlightrSettingsButtonDelete,
|
||||
button:not(.mod-cta):not(.mod-warning).HighlightrSettingsButton.HighlightrSettingsButtonDelete {
|
||||
background-color: #989cab;
|
||||
}
|
||||
|
||||
/**/
|
||||
.highlighter-setting-icon {
|
||||
display: flex;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.highlighter-item-draggable {
|
||||
cursor: grab;
|
||||
display: grid;
|
||||
grid-gap: 8px;
|
||||
grid-template-columns: 0.5fr 7fr;
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.HighlightrSettingsTabsContainer {
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.setting-item.highlighter-setting-item:first-child {
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
.highlighter-setting-item {
|
||||
padding: 18px 0 18px 0;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.highlighter-sortable-fallback {
|
||||
cursor: grabbing;
|
||||
box-shadow: 0px 3px 32px rgb(31 38 135 / 15%);
|
||||
}
|
||||
|
||||
.highlighter-sortable-grab {
|
||||
cursor: grabbing !important;
|
||||
}
|
||||
|
||||
.highlighter-sortable-ghost {
|
||||
opacity: 0.4;
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.highlighter-sortable-chosen {
|
||||
cursor: grabbing;
|
||||
padding: 0 0 0 18px;
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
|
||||
.highlighter-sortable-drag {
|
||||
cursor: grabbing;
|
||||
box-shadow: 0px 3px 32px rgb(31 38 135 / 15%);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
HIGHLIGHTR SUPPORT
|
||||
----------------------------------------------------------------*/
|
||||
|
||||
.hltrDonationSection {
|
||||
width: 65%;
|
||||
height: 50vh;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.pcr-app .pcr-swatches > button {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.pickr .pcr-button {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.themed-color-wrapper > div {
|
||||
background: var(--background-primary);
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.themed-color-wrapper > div + div {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.themed-color-wrapper button {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.themed-color-wrapper .pickr-reset > button {
|
||||
margin: 0 0 0 10px;
|
||||
padding: 9px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.themed-color-wrapper .pickr-reset > button > svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
PICKR 1.8.2 MIT | https://github.com/Simonwep/pickr
|
||||
----------------------------------------------------------------*/
|
||||
.pickr {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.pickr * {
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
border: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.pickr .pcr-button {
|
||||
position: relative;
|
||||
height: 2em;
|
||||
width: 2em;
|
||||
padding: 0.5em;
|
||||
cursor: pointer;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
||||
"Helvetica Neue", Arial, sans-serif;
|
||||
border-radius: 0.15em;
|
||||
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" stroke="%2342445A" stroke-width="5px" stroke-linecap="round"><path d="M45,45L5,5"></path><path d="M45,5L5,45"></path></svg>')
|
||||
no-repeat center;
|
||||
background-size: 0;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.pickr .pcr-button::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
||||
background-size: 0.5em;
|
||||
border-radius: 0.15em;
|
||||
z-index: -1;
|
||||
}
|
||||
.pickr .pcr-button::before {
|
||||
z-index: initial;
|
||||
}
|
||||
.pickr .pcr-button::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
transition: background 0.3s;
|
||||
background: var(--pcr-color);
|
||||
border-radius: 0.15em;
|
||||
}
|
||||
.pickr .pcr-button.clear {
|
||||
background-size: 70%;
|
||||
}
|
||||
.pickr .pcr-button.clear::before {
|
||||
opacity: 0;
|
||||
}
|
||||
.pickr .pcr-button.clear:focus {
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
|
||||
}
|
||||
.pickr .pcr-button.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.pickr *,
|
||||
.pcr-app * {
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
border: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.pickr input:focus,
|
||||
.pickr input.pcr-active,
|
||||
.pickr button:focus,
|
||||
.pickr button.pcr-active,
|
||||
.pcr-app input:focus,
|
||||
.pcr-app input.pcr-active,
|
||||
.pcr-app button:focus,
|
||||
.pcr-app button.pcr-active {
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
|
||||
}
|
||||
.pickr .pcr-palette,
|
||||
.pickr .pcr-slider,
|
||||
.pcr-app .pcr-palette,
|
||||
.pcr-app .pcr-slider {
|
||||
transition: box-shadow 0.3s;
|
||||
}
|
||||
.pickr .pcr-palette:focus,
|
||||
.pickr .pcr-slider:focus,
|
||||
.pcr-app .pcr-palette:focus,
|
||||
.pcr-app .pcr-slider:focus {
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.pcr-app {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 10000;
|
||||
border-radius: 0.1em;
|
||||
background: #fff;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s, visibility 0s 0.3s;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
||||
"Helvetica Neue", Arial, sans-serif;
|
||||
box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.pcr-app.visible {
|
||||
transition: opacity 0.3s;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.pcr-app .pcr-swatches {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
.pcr-app .pcr-swatches.pcr-last {
|
||||
margin: 0;
|
||||
}
|
||||
@supports (display: grid) {
|
||||
.pcr-app .pcr-swatches {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: repeat(auto-fit, 1.75em);
|
||||
}
|
||||
}
|
||||
.pcr-app .pcr-swatches > button {
|
||||
font-size: 1em;
|
||||
position: relative;
|
||||
width: calc(1.75em - 5px);
|
||||
height: calc(1.75em - 5px);
|
||||
border-radius: 0.15em;
|
||||
cursor: pointer;
|
||||
margin: 2.5px;
|
||||
flex-shrink: 0;
|
||||
justify-self: center;
|
||||
transition: all 0.15s;
|
||||
overflow: hidden;
|
||||
background: transparent;
|
||||
z-index: 1;
|
||||
}
|
||||
.pcr-app .pcr-swatches > button::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
||||
background-size: 6px;
|
||||
border-radius: 0.15em;
|
||||
z-index: -1;
|
||||
}
|
||||
.pcr-app .pcr-swatches > button::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: var(--pcr-color);
|
||||
border: 1px solid rgba(0, 0, 0, 0.05);
|
||||
border-radius: 0.15em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.pcr-app .pcr-swatches > button:hover {
|
||||
filter: brightness(1.05);
|
||||
}
|
||||
.pcr-app .pcr-swatches > button:not(.pcr-active) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.pcr-app .pcr-interaction {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin: 0 -0.2em 0 -0.2em;
|
||||
}
|
||||
.pcr-app .pcr-interaction > * {
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
.pcr-app .pcr-interaction input {
|
||||
letter-spacing: 0.07em;
|
||||
font-size: 0.75em;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color: #75797e;
|
||||
background: #f1f3f4;
|
||||
border-radius: 0.15em;
|
||||
transition: all 0.15s;
|
||||
padding: 0.45em 0.5em;
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
.pcr-app .pcr-interaction input:hover {
|
||||
filter: brightness(0.975);
|
||||
}
|
||||
.pcr-app .pcr-interaction input:focus {
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85),
|
||||
0 0 0 3px rgba(66, 133, 244, 0.75);
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-result {
|
||||
color: #75797e;
|
||||
text-align: left;
|
||||
flex: 1 1 8em;
|
||||
min-width: 8em;
|
||||
transition: all 0.2s;
|
||||
border-radius: 0.15em;
|
||||
background: #f1f3f4;
|
||||
cursor: text;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-result::-moz-selection {
|
||||
background: #4285f4;
|
||||
color: #fff;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-result::selection {
|
||||
background: #4285f4;
|
||||
color: #fff;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-type.active {
|
||||
color: #fff;
|
||||
background: #4285f4;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-save,
|
||||
.pcr-app .pcr-interaction .pcr-cancel,
|
||||
.pcr-app .pcr-interaction .pcr-clear {
|
||||
color: #fff;
|
||||
width: auto;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-save,
|
||||
.pcr-app .pcr-interaction .pcr-cancel,
|
||||
.pcr-app .pcr-interaction .pcr-clear {
|
||||
color: #fff;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-save:hover,
|
||||
.pcr-app .pcr-interaction .pcr-cancel:hover,
|
||||
.pcr-app .pcr-interaction .pcr-clear:hover {
|
||||
filter: brightness(0.925);
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-save {
|
||||
background: #4285f4;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-clear,
|
||||
.pcr-app .pcr-interaction .pcr-cancel {
|
||||
background: #f44250;
|
||||
}
|
||||
.pcr-app .pcr-interaction .pcr-clear:focus,
|
||||
.pcr-app .pcr-interaction .pcr-cancel:focus {
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85),
|
||||
0 0 0 3px rgba(244, 66, 80, 0.75);
|
||||
}
|
||||
.pcr-app .pcr-selection .pcr-picker {
|
||||
position: absolute;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 100%;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.pcr-app .pcr-selection .pcr-color-palette,
|
||||
.pcr-app .pcr-selection .pcr-color-chooser,
|
||||
.pcr-app .pcr-selection .pcr-color-opacity {
|
||||
position: relative;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
cursor: grab;
|
||||
cursor: -webkit-grab;
|
||||
}
|
||||
.pcr-app .pcr-selection .pcr-color-palette:active,
|
||||
.pcr-app .pcr-selection .pcr-color-chooser:active,
|
||||
.pcr-app .pcr-selection .pcr-color-opacity:active {
|
||||
cursor: grabbing;
|
||||
cursor: -webkit-grabbing;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] {
|
||||
width: 14.25em;
|
||||
max-width: 95vw;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-swatches {
|
||||
margin-top: 0.6em;
|
||||
padding: 0 0.6em;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-interaction {
|
||||
padding: 0 0.6em 0.6em 0.6em;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection {
|
||||
display: grid;
|
||||
grid-gap: 0.6em;
|
||||
grid-template-columns: 1fr 4fr;
|
||||
grid-template-rows: 5fr auto auto;
|
||||
align-items: center;
|
||||
height: 10.5em;
|
||||
width: 100%;
|
||||
align-self: flex-start;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-preview {
|
||||
grid-area: 2 / 1 / 4 / 1;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-preview .pcr-last-color {
|
||||
display: none;
|
||||
}
|
||||
.pcr-app[data-theme="nano"]
|
||||
.pcr-selection
|
||||
.pcr-color-preview
|
||||
.pcr-current-color {
|
||||
position: relative;
|
||||
background: var(--pcr-color);
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
border-radius: 50em;
|
||||
overflow: hidden;
|
||||
}
|
||||
.pcr-app[data-theme="nano"]
|
||||
.pcr-selection
|
||||
.pcr-color-preview
|
||||
.pcr-current-color::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
||||
background-size: 0.5em;
|
||||
border-radius: 0.15em;
|
||||
z-index: -1;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-palette {
|
||||
grid-area: 1 / 1 / 2 / 3;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-palette .pcr-palette {
|
||||
border-radius: 0.15em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.pcr-app[data-theme="nano"]
|
||||
.pcr-selection
|
||||
.pcr-color-palette
|
||||
.pcr-palette::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
||||
background-size: 0.5em;
|
||||
border-radius: 0.15em;
|
||||
z-index: -1;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-chooser {
|
||||
grid-area: 2 / 2 / 2 / 2;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-opacity {
|
||||
grid-area: 3 / 2 / 3 / 2;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-chooser,
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-opacity {
|
||||
height: 0.5em;
|
||||
margin: 0 0.6em;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-chooser .pcr-picker,
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-opacity .pcr-picker {
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-chooser .pcr-slider,
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-opacity .pcr-slider {
|
||||
flex-grow: 1;
|
||||
border-radius: 50em;
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-chooser .pcr-slider {
|
||||
background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red);
|
||||
}
|
||||
.pcr-app[data-theme="nano"] .pcr-selection .pcr-color-opacity .pcr-slider {
|
||||
background: linear-gradient(to right, transparent, black),
|
||||
url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path fill="white" d="M1,0H2V1H1V0ZM0,1H1V2H0V1Z"/><path fill="gray" d="M0,0H1V1H0V0ZM1,1H2V2H1V1Z"/></svg>');
|
||||
background-size: 100%, 0.25em;
|
||||
}
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"pixelBannerPlusEmail": "",
|
||||
"pixelBannerPlusApiKey": "",
|
||||
"pixelBannerPlusEnabled": true,
|
||||
"apiProvider": "all",
|
||||
"pexelsApiKey": "",
|
||||
"pixabayApiKey": "",
|
||||
"flickrApiKey": "",
|
||||
"unsplashApiKey": "",
|
||||
"imageSize": "medium",
|
||||
"imageOrientation": "landscape",
|
||||
"numberOfImages": 10,
|
||||
"defaultKeywords": "nature, abstract, landscape, technology, art, cityscape, wildlife, ocean, mountains, forest, space, architecture, food, travel, science, music, sports, fashion, business, education, health, culture, history, weather, transportation, industry, people, animals, plants, patterns",
|
||||
"xPosition": 50,
|
||||
"yPosition": 60,
|
||||
"customBannerField": [
|
||||
"banner"
|
||||
],
|
||||
"customXPositionField": [
|
||||
"banner-x",
|
||||
"x"
|
||||
],
|
||||
"customYPositionField": [
|
||||
"banner-y",
|
||||
"y"
|
||||
],
|
||||
"customContentStartField": [
|
||||
"content-start"
|
||||
],
|
||||
"customImageDisplayField": [
|
||||
"banner-display"
|
||||
],
|
||||
"customImageRepeatField": [
|
||||
"banner-repeat"
|
||||
],
|
||||
"customBannerMaxWidthField": [
|
||||
"banner-max-width"
|
||||
],
|
||||
"customBannerAlignmentField": [
|
||||
"banner-align"
|
||||
],
|
||||
"customBannerHeightField": [
|
||||
"banner-height"
|
||||
],
|
||||
"customFadeField": [
|
||||
"banner-fade"
|
||||
],
|
||||
"customBorderRadiusField": [
|
||||
"banner-radius"
|
||||
],
|
||||
"customTitleColorField": [
|
||||
"banner-inline-title-color"
|
||||
],
|
||||
"customBannerShuffleField": [
|
||||
"banner-shuffle"
|
||||
],
|
||||
"customBannerIconField": [
|
||||
"icon"
|
||||
],
|
||||
"customBannerIconImageField": [
|
||||
"icon-image"
|
||||
],
|
||||
"customBannerIconSizeField": [
|
||||
"icon-size"
|
||||
],
|
||||
"customBannerIconImageSizeMultiplierField": [
|
||||
"icon-image-size-multiplier"
|
||||
],
|
||||
"customBannerIconTextVerticalOffsetField": [
|
||||
"icon-text-vertical-offset"
|
||||
],
|
||||
"customBannerIconRotateField": [
|
||||
"icon-rotate"
|
||||
],
|
||||
"customBannerIconXPositionField": [
|
||||
"icon-x"
|
||||
],
|
||||
"customBannerIconOpacityField": [
|
||||
"icon-opacity"
|
||||
],
|
||||
"customBannerIconColorField": [
|
||||
"icon-color"
|
||||
],
|
||||
"customBannerIconFontWeightField": [
|
||||
"icon-font-weight"
|
||||
],
|
||||
"customBannerIconBackgroundColorField": [
|
||||
"icon-bg-color"
|
||||
],
|
||||
"customBannerIconPaddingXField": [
|
||||
"icon-padding-x"
|
||||
],
|
||||
"customBannerIconPaddingYField": [
|
||||
"icon-padding-y"
|
||||
],
|
||||
"customBannerIconBorderRadiusField": [
|
||||
"icon-border-radius"
|
||||
],
|
||||
"customBannerIconVerticalOffsetField": [
|
||||
"icon-y"
|
||||
],
|
||||
"customBannerIconImageAlignmentField": [
|
||||
"banner-icon-image-alignment"
|
||||
],
|
||||
"customFlagColorField": [
|
||||
"pixel-banner-flag-color"
|
||||
],
|
||||
"folderImages": [],
|
||||
"contentStartPosition": 355,
|
||||
"imageDisplay": "cover",
|
||||
"imageRepeat": false,
|
||||
"bannerHeight": 350,
|
||||
"bannerMaxWidth": 2560,
|
||||
"fade": -65,
|
||||
"bannerFadeInAnimationDuration": 354,
|
||||
"borderRadius": 0,
|
||||
"showPinIcon": false,
|
||||
"pinnedImageFolder": "pixel-banner-images",
|
||||
"pinnedImageFilename": "pixel-banner-image",
|
||||
"imagePropertyFormat": "image",
|
||||
"showReleaseNotes": true,
|
||||
"lastVersion": "3.6.18",
|
||||
"showRefreshIcon": false,
|
||||
"showViewImageIcon": false,
|
||||
"hidePixelBannerFields": true,
|
||||
"hidePropertiesSectionIfOnlyBanner": true,
|
||||
"titleColor": "var(--inline-title-color)",
|
||||
"enableImageShuffle": false,
|
||||
"hideEmbeddedNoteTitles": false,
|
||||
"hideEmbeddedNoteBanners": false,
|
||||
"showBannerInPopoverPreviews": true,
|
||||
"showSelectImageIcon": true,
|
||||
"selectImageIconOpacity": 40,
|
||||
"selectImageIconFlag": "red-fade-dark",
|
||||
"defaultSelectImagePath": "",
|
||||
"defaultSelectIconPath": "",
|
||||
"useShortPath": true,
|
||||
"bannerGap": 0,
|
||||
"bannerIconSize": 70,
|
||||
"bannerIconImageSizeMultiplier": 1,
|
||||
"bannerIconTextVerticalOffset": 0,
|
||||
"bannerIconXPosition": 75,
|
||||
"bannerIconOpacity": 100,
|
||||
"bannerIconColor": "",
|
||||
"bannerIconFontWeight": "normal",
|
||||
"bannerIconBackgroundColor": "",
|
||||
"bannerIconPaddingX": "10",
|
||||
"bannerIconPaddingY": "10",
|
||||
"bannerIconBorderRadius": "17",
|
||||
"bannerIconVerticalOffset": "0",
|
||||
"bannerIconImageAlignment": "left",
|
||||
"openTargetingModalAfterSelectingBannerOrIcon": true,
|
||||
"enableDailyGame": false
|
||||
}
|
||||
+36838
File diff suppressed because one or more lines are too long
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "pexels-banner",
|
||||
"name": "Pixel Banner",
|
||||
"version": "3.6.18",
|
||||
"minAppVersion": "1.6.0",
|
||||
"description": "Enhance your notes with customizable banner images, including AI-generated designs and a curated store of downloadable banners. Transform your workspace with visually stunning headers that add context, improve aesthetics, and take your note-taking beyond the ordinary.",
|
||||
"author": "Justin Parker (eQui\\\\ Labs)",
|
||||
"authorUrl": "https://www.equilllabs.com",
|
||||
"fundingUrl": "https://ko-fi.com/jparkerweb",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
|
||||
+743
@@ -0,0 +1,743 @@
|
||||
/* ============================ */
|
||||
/* == 🚩 Pixel Banner Styles == */
|
||||
/* ============================ */
|
||||
@keyframes pixel-banner-spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-fade-in {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
.pixel-banner-icon-fade-in {
|
||||
animation: pixel-banner-fade-in 0.4s ease-in-out;
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-icon-fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 0.35; }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-twinkle {
|
||||
0% { opacity: 1; transform: scale(1) rotate(0deg); }
|
||||
20% { opacity: 0.8; transform: scale(1.3) rotate(10deg); }
|
||||
40% { opacity: 1; transform: scale(1.1) rotate(5deg); }
|
||||
60% { opacity: 0.8; transform: scale(1.3) rotate(-5deg); }
|
||||
80% { opacity: 1; transform: scale(1.1) rotate(-10deg); }
|
||||
100% { opacity: 1; transform: scale(1) rotate(0deg); }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-radial-pulse {
|
||||
0% { box-shadow: 0 0; }
|
||||
60% { box-shadow: 0 0 hsla(var(--accent-h), var(--accent-s), var(--accent-l), 1); }
|
||||
90% { box-shadow: 0 0 0 4px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.5); }
|
||||
100% { box-shadow: 0 0 0 2px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.2); }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-scale-up-down {
|
||||
0% { transform: scale(1); }
|
||||
50% { transform: scale(1.1); }
|
||||
100% { transform: scale(1); }
|
||||
}
|
||||
|
||||
.pixel-banner-image {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: var(--pixel-banner-banner-gap, 0);
|
||||
right: var(--pixel-banner-banner-gap, 0);
|
||||
background-size: cover;
|
||||
background-position: var(--pixel-banner-x-position, 50%) var(--pixel-banner-y-position, 50%) !important;
|
||||
overflow: hidden;
|
||||
mask-image: linear-gradient(to bottom, black calc(100% + var(--pixel-banner-fade, -75%)), transparent);
|
||||
-webkit-mask-image: linear-gradient(to bottom, black calc(100% + var(--pixel-banner-fade, -75%)), transparent);
|
||||
height: var(--pixel-banner-height, 350px);
|
||||
border-radius: var(--pixel-banner-radius, 17px) !important;
|
||||
pointer-events: none;
|
||||
animation: pixel-banner-fade-in var(--pixel-banner-fade-in-animation-duration, 300ms) ease-in-out;
|
||||
will-change: opacity;
|
||||
transform: translateZ(0);
|
||||
background-repeat: no-repeat;
|
||||
z-index: -1;
|
||||
width: unset !important;
|
||||
max-width: var(--pixel-banner-max-width, unset) !important;
|
||||
margin: var(--pixel-banner-alignment, 0 auto);
|
||||
/* add transition to banner image background position */
|
||||
transition: background-position 0.5s ease;
|
||||
}
|
||||
|
||||
.pixel-banner-video {
|
||||
object-fit: cover;
|
||||
object-position: var(--pixel-banner-x-position, 50%) var(--pixel-banner-y-position, 50%) !important;
|
||||
}
|
||||
|
||||
.markdown-embed-content .markdown-preview-view {
|
||||
min-height: var(--pixel-banner-embed-min-height, unset) !important;
|
||||
}
|
||||
.markdown-embed-content .pixel-banner-image {
|
||||
position: absolute !important;
|
||||
left: 0 !important;
|
||||
z-index: unset !important;
|
||||
}
|
||||
.markdown-embed-content .pixel-banner-image ~ div {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* collapse scrollbar gutter when no scrollbar is present */
|
||||
.pixel-banner .markdown-preview-view,
|
||||
.pixel-banner .markdown-source-view .cm-scroller {
|
||||
scrollbar-gutter: auto !important;
|
||||
}
|
||||
|
||||
/* Apply title color to both reading and editing mode */
|
||||
.pixel-banner div.inline-title,
|
||||
.pixel-banner .markdown-source-view div.inline-title {
|
||||
color: var(--pixel-banner-title-color, var(--inline-title-color));
|
||||
}
|
||||
|
||||
/* fix for banner image overlapping with note content */
|
||||
/* isolate the banner image from the note content */
|
||||
.view-content.pixel-banner {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------------------------- */
|
||||
/* -- Specific styles for hover popover banners -- */
|
||||
/* ----------------------------------------------- */
|
||||
.popover.hover-popover {
|
||||
min-height: 200px !important;
|
||||
}
|
||||
.popover.hover-popover .pixel-banner-image {
|
||||
background-repeat: repeat !important;
|
||||
min-height: 100px !important;
|
||||
}
|
||||
.pixel-banner-image + .markdown-preview-sizer.markdown-preview-section {
|
||||
margin-top: 100px !important;
|
||||
}
|
||||
.hover-popover .markdown-preview-view.pixel-banner {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
.hover-popover .pixel-banner-image {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 0;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
border-radius: var(--pixel-banner-radius, 17px) !important;
|
||||
}
|
||||
.hover-popover .markdown-preview-view .markdown-preview-sizer {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.hover-popover .markdown-preview-view.pixel-banner .markdown-preview-sizer {
|
||||
padding-top: var(--pixel-banner-content-start, 150px) !important;
|
||||
}
|
||||
/* ----------------------------------------------- */
|
||||
|
||||
.cm-sizer .metadata-container,
|
||||
.markdown-preview-sizer .metadata-container {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* fix overflow issue with embedded notes */
|
||||
.internal-embed:not(.image-embed),
|
||||
.internal-embed:not(.image-embed) > .markdown-embed-content > .markdown-preview-view {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* hide frontmatter fields in reading mode */
|
||||
.markdown-preview-view .pixel-banner-hidden-field {
|
||||
display: none !important;
|
||||
}
|
||||
/* Add specific targeting for properties view */
|
||||
.metadata-property.pixel-banner-hidden-field {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------------------------------- */
|
||||
/* -- content start (push frontmatter container down) -- */
|
||||
/* *** NOTE: this is now handled in bannerManager.js *** */
|
||||
/* *** for faster rendering! *** */
|
||||
/* ----------------------------------------------------- */
|
||||
/* .view-content.pixel-banner > .markdown-source-view .cm-sizer,
|
||||
.view-content.pixel-banner > .markdown-reading-view .markdown-preview-sizer {
|
||||
padding-top: var(--pixel-banner-content-start, 355px) !important;
|
||||
padding-bottom: 0 !important;
|
||||
} */
|
||||
/* -- fix for embedded notes -- */
|
||||
.internal-embed > .markdown-embed-content .cm-sizer:first-of-type,
|
||||
.internal-embed > .markdown-embed-content .markdown-preview-sizer:first-of-type {
|
||||
padding-top: unset !important;
|
||||
}
|
||||
.internal-embed > .markdown-embed-content .cm-sizer:first-of-type > .pixel-banner-image ~ .markdown-preview-pusher,
|
||||
.internal-embed > .markdown-embed-content .markdown-preview-sizer:first-of-type > .pixel-banner-image ~ .markdown-preview-pusher {
|
||||
height: var(--pixel-banner-content-start, 0.1px) !important;
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------- */
|
||||
/* -- Settings Page Styles -- */
|
||||
/* -------------------------- */
|
||||
.vertical-tab-content-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pixel-banner-settings {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
padding: 20px;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.pixel-banner-header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
background-color: var(--background-secondary);
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.pixel-banner-header h2 {
|
||||
margin-bottom: 10px;
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.pixel-banner-main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tabs {
|
||||
flex-direction: row;
|
||||
flex: 0 auto;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab-content-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab-content-container > .tab-content {
|
||||
overflow: auto;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.tab-content[data-tab="Folder Images"] {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.tab-content[data-tab="Folder Images"] .add-folder-image-setting {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 64px;
|
||||
padding-right: 16px;
|
||||
background: var(--color-secondary);
|
||||
}
|
||||
.tab-content[data-tab="Folder Images"] .add-folder-image-setting button {
|
||||
color: var(--text-on-accent);
|
||||
border-bottom: 2px solid var(--text-accent-hover);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.pixel-banner-section {
|
||||
background-color: var(--background-secondary);
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.pixel-banner-section h3 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 15px;
|
||||
color: var(--text-accent-hover);
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.pixel-banner-section ol {
|
||||
padding-left: 20px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.pixel-banner-section pre {
|
||||
background-color: var(--background-primary);
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
margin-top: 10px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.pixel-banner-footer {
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-item {
|
||||
border-top: none;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.pixel-banner-settings .setting-item.full-width-control,
|
||||
.pixel-banner-settings .setting-item.full-width-control > .setting-item-control {
|
||||
width: 100%;
|
||||
}
|
||||
.pixel-banner-settings .setting-item-control {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.setting-item.folder-image-setting {
|
||||
position: relative;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
border: 1px solid var(--slider-track-background);
|
||||
border-radius: 5px;
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
/* background-color: var(--background-secondary); */
|
||||
}
|
||||
.setting-item.folder-image-setting .folder-image-delete-container {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0;
|
||||
}
|
||||
.pixel-banner-setting--delete-button {
|
||||
border: 1px solid var(--color-accent) !important;
|
||||
}
|
||||
.pixel-banner-setting--delete-button:hover {
|
||||
background: var(--color-accent) !important;
|
||||
color: var(--text-on-accent) !important;
|
||||
}
|
||||
|
||||
.setting-item.folder-image-setting > .folder-input-container,
|
||||
.setting-item.folder-image-setting > .display-and-repeat-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.setting-item.folder-image-setting > .setting-item-control {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
/* setting item for api key */
|
||||
.pixel-banner-settings .setting-item[data-id="apiKey"] .setting-item-control {
|
||||
width: 100%;
|
||||
}
|
||||
/* setting item for default keywords */
|
||||
.pixel-banner-settings .setting-item[data-id="defaultKeywords"] .setting-item-control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.pixel-banner-settings input[type="text"],
|
||||
.pixel-banner-settings select {
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 5px;
|
||||
padding: 5px 30px 5px 10px;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .dropdown {
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .slider-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pixel-banner-settings.slider-value {
|
||||
min-width: 30px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-item-description {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.pixel-banner-settings .pixel-banner-example-values {
|
||||
color: var(--code-comment, var(--text-muted, inherit));
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab {
|
||||
margin: 0 10px 10px 0;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab:hover {
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab.active {
|
||||
color: var(--text-on-accent);
|
||||
border-bottom: 2px solid var(--text-accent-hover);
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab-content-container > .tab-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tab-content-container > .tab-content.active {
|
||||
display: block;
|
||||
}
|
||||
.pixel-banner-settings-tabs .folder-image-setting .slider-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pixel-banner-settings-tabs .folder-image-setting .slider-value {
|
||||
min-width: 30px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.folder-images-container .setting-item-name__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.folder-images-container .full-width-control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.setting-item.folder-image-setting > div { min-height: 50px; }
|
||||
|
||||
.pixel-banner-settings .tab-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .tab-callout {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 1;
|
||||
margin: 0 0 1em;
|
||||
padding: .5em 1em;
|
||||
background-color: var(--background-primary-alt);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 5px;
|
||||
color: var(--text-accent-hover);
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-item {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.pixel-banner-settings input,
|
||||
.pixel-banner-settings textarea,
|
||||
.pixel-banner-settings select {
|
||||
z-index: 3;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.metadata-container.pixel-banner-hidden-section {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-group {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-dependent {
|
||||
margin-left: 24px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-dependent::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -24px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
background-color: var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.pixel-banner-settings .setting-dependent.is-disabled {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.pixel-banner-twinkle-animation {
|
||||
animation: pixel-banner-twinkle 2s infinite;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.pixel-banner-image-container {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.pixel-banner-image-container:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.pixel-banner-image-container {
|
||||
margin-top: 20px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pixel-banner-loading {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.pixel-banner-error {
|
||||
color: var(--text-accent);
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* Loading Spinner */
|
||||
.dot-pulse {
|
||||
position: relative;
|
||||
left: -9999px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--text-accent);
|
||||
color: var(--text-accent);
|
||||
box-shadow: 9999px 0 0 -4px;
|
||||
animation: pixel-banner-dot-pulse 1.5s infinite linear;
|
||||
animation-delay: 0.25s;
|
||||
}
|
||||
|
||||
.dot-pulse::before, .dot-pulse::after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--text-accent);
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.dot-pulse::before {
|
||||
box-shadow: 9984px 0 0 -4px;
|
||||
animation: pixel-banner-dot-pulse-before 1.5s infinite linear;
|
||||
animation-delay: 0s;
|
||||
}
|
||||
|
||||
.dot-pulse::after {
|
||||
box-shadow: 10014px 0 0 -4px;
|
||||
animation: pixel-banner-dot-pulse-after 1.5s infinite linear;
|
||||
animation-delay: 0.5s;
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-dot-pulse-before {
|
||||
0% { box-shadow: 9984px 0 0 -4px; }
|
||||
30% { box-shadow: 9984px 0 0 2px; }
|
||||
60%, 100% { box-shadow: 9984px 0 0 -4px; }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-dot-pulse {
|
||||
0% { box-shadow: 9999px 0 0 -4px; }
|
||||
30% { box-shadow: 9999px 0 0 2px; }
|
||||
60%, 100% { box-shadow: 9999px 0 0 -4px; }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-dot-pulse-after {
|
||||
0% { box-shadow: 10014px 0 0 -4px; }
|
||||
30% { box-shadow: 10014px 0 0 2px; }
|
||||
60%, 100% { box-shadow: 10014px 0 0 -4px; }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-token-bounce {
|
||||
0% { transform: scale(1); }
|
||||
50% { transform: scale(1.2); }
|
||||
100% { transform: scale(1); }
|
||||
}
|
||||
|
||||
@keyframes pixel-banner-token-glow {
|
||||
0% { text-shadow: 0 0 0px rgba(255, 215, 0, 0); }
|
||||
50% { text-shadow: 0 0 15px var(--text-accent-hover); }
|
||||
100% { text-shadow: 0 0 0px rgba(255, 215, 0, 0); }
|
||||
}
|
||||
|
||||
.token-balance-animation {
|
||||
animation: pixel-banner-token-bounce 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275), pixel-banner-token-glow 0.7s ease-in-out;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.radial-pulse-animation {
|
||||
box-shadow: 0 0;
|
||||
animation-delay: 0ms;
|
||||
animation-duration: 3.4s;
|
||||
animation-direction: normal;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: pixel-banner-radial-pulse;
|
||||
}
|
||||
|
||||
/* animation for an element to scale up and down */
|
||||
.pixel-banner-scale-up-down-animation {
|
||||
animation: pixel-banner-scale-up-down 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* --------------------------- */
|
||||
/* -- top left icon buttons -- */
|
||||
/* --------------------------- */
|
||||
.select-image-icon,
|
||||
.pin-icon,
|
||||
.refresh-icon,
|
||||
.view-image-icon {
|
||||
z-index: var(--layer-modal);
|
||||
opacity: 0.35;
|
||||
transition: all 0.4s ease-in-out;
|
||||
animation: pixel-banner-icon-fade-in 0.4s ease-in-out;
|
||||
width: unset !important;
|
||||
}
|
||||
.select-image-icon:hover,
|
||||
.pin-icon:hover,
|
||||
.refresh-icon:hover,
|
||||
.view-image-icon:hover {
|
||||
opacity: 1 !important;
|
||||
cursor: pointer;
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
/* ------------------------- */
|
||||
/* -- banner icon overlay -- */
|
||||
/* ------------------------- */
|
||||
.banner-icon-overlay {
|
||||
--pixel-banner-icon-translate-x: calc(var(--pixel-banner-icon-x) * -1);
|
||||
transform: translate(var(--pixel-banner-icon-translate-x), -15%) rotate(var(--pixel-banner-icon-rotate, 0deg));
|
||||
transform-origin: center !important;
|
||||
position: absolute !important;
|
||||
top: var(--pixel-banner-icon-start);
|
||||
left: var(--pixel-banner-icon-x, 25%);
|
||||
margin-top: calc(var(--pixel-banner-icon-vertical-offset, 0) * 1px);
|
||||
padding-top: var(--pixel-banner-icon-padding-y, 0) !important;
|
||||
padding-right: var(--pixel-banner-icon-padding-x, 0) !important;
|
||||
padding-bottom: var(--pixel-banner-icon-padding-y, 0) !important;
|
||||
padding-left: var(--pixel-banner-icon-padding-x, 0) !important;
|
||||
opacity: var(--pixel-banner-icon-opacity, 100%);
|
||||
color: var(--pixel-banner-icon-color, var(--text-normal));
|
||||
font-size: var(--pixel-banner-icon-size, 70px);
|
||||
font-weight: var(--pixel-banner-icon-font-weight, normal);
|
||||
background: var(--pixel-banner-icon-background-color, unset);
|
||||
border-radius: var(--pixel-banner-icon-border-radius, 17px);
|
||||
white-space: nowrap;
|
||||
text-wrap: pretty;
|
||||
word-break: break-word;
|
||||
width: max-content !important;
|
||||
max-width: var(--pixel-banner-width) !important;
|
||||
pointer-events: none;
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
gap: 0.3em;
|
||||
flex-wrap: nowrap;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
/* banner icon image */
|
||||
.banner-icon-overlay > img {
|
||||
height: var(--pixel-banner-icon-image-size-multiplier, 1em);
|
||||
}
|
||||
/* banner icon text */
|
||||
.banner-icon-overlay > .banner-icon-text {
|
||||
position: relative;
|
||||
top: var(--pixel-banner-icon-text-vertical-offset, 0);
|
||||
line-height: var(--pixel-banner-icon-size, 1);
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------------- */
|
||||
/* -- various plugin conflict fixes -- */
|
||||
/* ----------------------------------- */
|
||||
/* hide banner images and related icons in search-result-container */
|
||||
.search-result-container .select-image-icon,
|
||||
.search-result-container .pin-icon,
|
||||
.search-result-container .refresh-icon,
|
||||
.search-result-container .view-image-icon,
|
||||
.search-result-container .banner-icon-overlay,
|
||||
.search-result-container .pixel-banner-image {
|
||||
display: none !important;
|
||||
}
|
||||
/* better search views ⇢ hide banner images and related icons in backlink-pane / outgoing-link-pane */
|
||||
.backlink-pane .select-image-icon,
|
||||
.backlink-pane .pin-icon,
|
||||
.backlink-pane .refresh-icon,
|
||||
.backlink-pane .view-image-icon,
|
||||
.backlink-pane .banner-icon-overlay,
|
||||
.backlink-pane .pixel-banner-image {
|
||||
display: none !important;
|
||||
}
|
||||
.outgoing-link-pane .select-image-icon,
|
||||
.outgoing-link-pane .pin-icon,
|
||||
.outgoing-link-pane .refresh-icon,
|
||||
.outgoing-link-pane .view-image-icon,
|
||||
.outgoing-link-pane .banner-icon-overlay,
|
||||
.outgoing-link-pane .pixel-banner-image {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
/* ========================= */
|
||||
/* == misc helper classes == */
|
||||
/* ========================= */
|
||||
.display-none { display: none !important; }
|
||||
|
||||
.margin-top-0 { margin-top: 0px !important; }
|
||||
.margin-top-5 { margin-top: 5px !important; }
|
||||
.margin-top-10 { margin-top: 10px !important; }
|
||||
.margin-top-20 { margin-top: 20px !important; }
|
||||
.margin-top-40 { margin-top: 40px !important; }
|
||||
.margin-right-0 { margin-right: 0px !important; }
|
||||
.margin-right-5 { margin-right: 5px !important; }
|
||||
.margin-right-10 { margin-right: 10px !important; }
|
||||
.margin-right-20 { margin-right: 20px !important; }
|
||||
.margin-right-40 { margin-right: 40px !important; }
|
||||
.margin-left-0 { margin-left: 0px !important; }
|
||||
.margin-left-5 { margin-left: 5px !important; }
|
||||
.margin-left-10 { margin-left: 10px !important; }
|
||||
.margin-left-20 { margin-left: 20px !important; }
|
||||
.margin-left-40 { margin-left: 40px !important; }
|
||||
.margin-bottom-0 { margin-bottom: 0px !important; }
|
||||
.margin-bottom-5 { margin-bottom: 5px !important; }
|
||||
.margin-bottom-10 { margin-bottom: 10px !important; }
|
||||
.margin-bottom-20 { margin-bottom: 20px !important; }
|
||||
.margin-bottom-40 { margin-bottom: 40px !important; }
|
||||
|
||||
.width-100 { width: 100% !important; }
|
||||
|
||||
.cursor-pointer { cursor: pointer !important; }
|
||||
Reference in New Issue
Block a user