From 40eb55bb0440bccbcf679aa55501e86839724bc9 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Fri, 18 Jun 2021 13:20:54 +0200 Subject: [PATCH] the latest changes... --- .gitignore | 17 +++++++++++++++++ public/global.css | 24 +++++++++++++++++++++--- src/App.svelte | 26 ++++++++++++++++++++------ src/SpJournal.svelte | 15 +++++++++++++++ 4 files changed, 73 insertions(+), 9 deletions(-) create mode 100644 .gitignore create mode 100644 src/SpJournal.svelte diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a812b05 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +.DS_Store +.idea +*.log +tmp/ +public/ + +*.tern-port +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +*.tsbuildinfo +.npm +.eslintcache +/.dir-locals.el +/.eslintrc.yml +/.prettierrc.toml diff --git a/public/global.css b/public/global.css index 9d45d88..1af9315 100644 --- a/public/global.css +++ b/public/global.css @@ -64,6 +64,7 @@ button:focus { display: grid; grid-template-columns: auto 1fr; grid-gap: 1rem; + margin-top: 1rem; } #sandpoints { @@ -153,9 +154,26 @@ select { display: grid; grid-template-columns: auto 1fr; grid-gap: 1rem; + padding-bottom: 1rem; + margin-bottom: 0.5rem; } -.togglefold { - margin-top: 1rem; - margin-bottom: 1rem; +.fmCollapse, .fmExpand { + padding-top: 0.5rem; + margin-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.fmCollapse::before { + margin-right: 0.3rem; + content: "⇲"; +} + +.fmExpand::before { + margin-right: 0.3rem; + content: "⇱"; +} + +#fmicon, #frontmatter, input.hasinput { + background-color: #ffccbc; } diff --git a/src/App.svelte b/src/App.svelte index a4043bb..65d9482 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,9 +1,9 @@ + +{#if "abstract" == fmItem.fmKey} + +