From 7530da263abe5ef10e1a566286fe819e40b37d7f Mon Sep 17 00:00:00 2001 From: mgmeyers Date: Fri, 14 Jul 2023 11:48:37 -0700 Subject: [PATCH] Remove pandoc reference list styles --- manifest.json | 16 ++--- styles.css | 186 +++----------------------------------------------- 2 files changed, 19 insertions(+), 183 deletions(-) diff --git a/manifest.json b/manifest.json index eba3cec..ae238c7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { - "id": "obsidian-zotero-desktop-connector", - "name": "Zotero Integration", - "version": "3.0.4", - "minAppVersion": "1.1.1", - "description": "Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.", - "author": "mgmeyers", - "authorUrl": "https://github.com/mgmeyers/obsidian-zotero-integration", - "isDesktopOnly": true + "id": "obsidian-zotero-desktop-connector", + "name": "Zotero Integration", + "version": "3.0.5", + "minAppVersion": "1.1.1", + "description": "Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.", + "author": "mgmeyers", + "authorUrl": "https://github.com/mgmeyers/obsidian-zotero-integration", + "isDesktopOnly": true } diff --git a/styles.css b/styles.css index d9592ad..e9d9ddd 100644 --- a/styles.css +++ b/styles.css @@ -241,7 +241,9 @@ settings: padding: var(--size-4-2) 0; } -.zt-suggest-loading, .zt-suggest-loading:before, .zt-suggest-loading:after { +.zt-suggest-loading, +.zt-suggest-loading:before, +.zt-suggest-loading:after { border-radius: 999px; width: 1em; height: 1em; @@ -271,178 +273,12 @@ settings: } @keyframes bblFadInOut { - 0%, 80%, 100% { box-shadow: 0 1em 0 -1.3em } - 40% { box-shadow: 0 1em 0 0 } -} - -/* --------- */ - -body { - --pwc-font-size: 14px; - --pwc-tooltip-font-size: 14px; - --pwc-citation-underline-color: var(--text-accent); - --pwc-citation-underline-color-missing: transparent; - --pwc-citation-extra-color: var(--text-normal); - --pwc-citation-formatting-color: var(--text-normal); - --pwc-citation-color: var(--text-normal); - --pwc-citation-color-missing: var(--text-normal); -} - -.pwc-reference-list { - padding-bottom: 2rem; -} - -.pwc-reference-list__title { - font-size: var(--pwc-font-size); - font-weight: bold; - padding: 0 5px; - display: flex; -} - -.pwc-reference-list__title-text { - width: 100%; - display: flex; - flex-grow: 1; - align-items: center; -} - -.pwc-reference-list__title-text .zt-suggest-loading-wrapper { - margin: 0 1.7em; - padding: 0; -} - -.pwc-copy-list { - flex-shrink: 0; - cursor: pointer; - color: var(--text-muted); -} - -.pwc-copy-list:hover { - color: var(--text-accent); -} - -.pwc-no-content { - font-size: var(--pwc-font-size); - padding: 0 5px; - color: var(--text-muted); - text-align: center; -} - -.pwc-btn-wrapper { - padding-top: var(--size-4-3); - display: flex; - justify-content: center; -} - -.pwc-reference-list .csl-entry { - font-size: var(--pwc-font-size); - word-wrap: break-word; - padding: 1em 5px; - cursor: pointer; -} - -.pwc-reference-list .csl-entry:not(:last-child) { - border-bottom: 1px solid var(--background-modifier-border); -} - -.pwc-reference-list a.footnote-ref { - vertical-align: super; -} - -.pwc-reference-list em, -.pwc-reference-list em em em, -.pwc-reference-list em em em em em { - font-style: italic; -} - -.pwc-reference-list em em, -.pwc-reference-list em em em em { - font-style: normal; -} -.pwc-reference-list code { - white-space: pre-wrap; -} - -.pwc-reference-list span.smallcaps { - font-variant: small-caps; -} - -.pwc-reference-list span.underline { - text-decoration: underline; -} - -.pwc-reference-list q { - quotes: '“' '”' '‘' '’'; -} - -.pwc-reference-list div.column { - display: inline-block; - vertical-align: top; - width: 50%; -} - -.pwc-tooltip.collapsed-links a, -.pwc-reference-list.collapsed-links a { - font-size: 0; -} - -.pwc-tooltip.collapsed-links a::after, -.pwc-reference-list.collapsed-links a::after { - font-size: var(--pwc-font-size); - content: ' '; - display: inline-block; - width: 1em; - height: 1em; - - background-color: var(--text-accent); - - mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath d='M8.465 11.293c1.133-1.133 3.109-1.133 4.242 0l.707.707 1.414-1.414-.707-.707c-.943-.944-2.199-1.465-3.535-1.465s-2.592.521-3.535 1.465L4.929 12a5.008 5.008 0 0 0 0 7.071 4.983 4.983 0 0 0 3.535 1.462A4.982 4.982 0 0 0 12 19.071l.707-.707-1.414-1.414-.707.707a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.122-2.121z'%3E%3C/path%3E%3Cpath d='m12 4.929-.707.707 1.414 1.414.707-.707a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.122 2.121c-1.133 1.133-3.109 1.133-4.242 0L10.586 12l-1.414 1.414.707.707c.943.944 2.199 1.465 3.535 1.465s2.592-.521 3.535-1.465L19.071 12a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0z'%3E%3C/path%3E%3C/svg%3E"); - -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath d='M8.465 11.293c1.133-1.133 3.109-1.133 4.242 0l.707.707 1.414-1.414-.707-.707c-.943-.944-2.199-1.465-3.535-1.465s-2.592.521-3.535 1.465L4.929 12a5.008 5.008 0 0 0 0 7.071 4.983 4.983 0 0 0 3.535 1.462A4.982 4.982 0 0 0 12 19.071l.707-.707-1.414-1.414-.707.707a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.122-2.121z'%3E%3C/path%3E%3Cpath d='m12 4.929-.707.707 1.414 1.414.707-.707a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.122 2.121c-1.133 1.133-3.109 1.133-4.242 0L10.586 12l-1.414 1.414.707.707c.943.944 2.199 1.465 3.535 1.465s2.592-.521 3.535-1.465L19.071 12a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0z'%3E%3C/path%3E%3C/svg%3E"); -} - -.pwc-tooltip { - word-wrap: break-word; - position: fixed; - font-family: var(--font-interface); - font-size: var(--pwc-tooltip-font-size); - padding: 10px; - background-color: var(--background-primary); - border: 1px solid var(--background-modifier-border); - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - border-radius: 6px; - width: 300px; - line-height: 1.4; - z-index: var(--layer-popover); - overflow: hidden; -} - -.pwc-tooltips .cm-hmd-barelink { - text-decoration: none; -} - -.pwc-tooltips :not(a, .cm-hmd-internal-link, .cm-link-alias) > .pandoc-citation { - color: var(--pwc-citation-color); -} - -.pwc-tooltips :not(.cm-formatting-link) > .cm-pandoc-citation-formatting { - color: var(--pwc-citation-formatting-color); -} - -.pwc-tooltips :not(.cm-hmd-internal-link, .cm-link-alias) > .cm-pandoc-citation-extra { - color: var(--pwc-citation-extra-color); -} - -.pwc-tooltips :not(.cm-link-alias) > .pandoc-citation { - text-decoration: underline; - text-decoration-style: dotted; - text-decoration-thickness: 2px; - text-decoration-color: var(--pwc-citation-underline-color); -} - -.pwc-success { - color: var(--interactive-success); -} - -.pwc-error { - color: var(--text-error); + 0%, + 80%, + 100% { + box-shadow: 0 1em 0 -1.3em; + } + 40% { + box-shadow: 0 1em 0 0; + } }