This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:30:51 +02:00
parent f5b9c3d02c
commit 03ecc4a65b
3433 changed files with 1756195 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{
"enabledButtons": [
{
"id": "file-explorer:reveal-active-file",
"icon": "folder",
"name": "File explorer: Reveal active file in navigation",
"showButtons": "both"
},
{
"id": "obsidian-excalidraw-plugin:excalidraw-autocreate-and-embed",
"icon": "image-file",
"name": "Excalidraw: Create a new drawing - IN A NEW PANE - and embed into active document",
"showButtons": "both"
}
],
"desktop": true,
"titleLeft": [
{
"id": "obsidian-spaced-repetition:srs-note-review-open-note",
"icon": "sheets-in-box",
"name": "Spaced Repetition: Open a note for review"
},
{
"id": "obsidian-spaced-repetition:srs-note-review-hard",
"icon": "cross",
"name": "Spaced Repetition: Review note as hard"
},
{
"id": "obsidian-spaced-repetition:srs-note-review-good",
"icon": "plus-minus-glyph",
"name": "Spaced Repetition: Review note as good"
},
{
"id": "obsidian-spaced-repetition:srs-note-review-easy",
"icon": "checkmark",
"name": "Spaced Repetition: Review note as easy"
}
],
"titleRight": [],
"titleCenter": [],
"paneRelief": false
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "customizable-page-header-buttons",
"name": "Customizable Page Header and Title Bar",
"version": "4.6.2",
"minAppVersion": "0.15.4",
"description": "This plugin lets you add buttons for executing commands to the page header and on desktop to the title bar.",
"author": "kometenstaub",
"authorUrl": "https://github.com/kometenstaub",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,50 @@
/*
MIT License
Copyright (c) 2021-2022 kometenstaub and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/* @settings
name: Customizable Page Header and Title Bar
id: customizable-page-header-buttons
settings:
-
id: page-header-spacing-mobile
title: Page Header Button Spacing (mobile)
type: variable-number-slider
default: 12
min: 0
max: 30
step: 1
format: px
-
id: page-header-spacing-desktop
title: Page Header Button Spacing (desktop)
type: variable-number-slider
default: 8
min: 0
max: 30
step: 1
format: px
*/
.page-header-button.titlebar-center{flex-grow:1;font-size:12px;height:100%;left:0;letter-spacing:.05em;opacity:.8;position:absolute;text-align:center;top:0;width:100%}body:not(.is-mobile) .view-actions{align-items:center}body:not(.is-mobile) .view-action,body:not(.is-mobile) .view-action.pane-relief{display:flex;position:unset}body:not(.is-mobile) .view-action.pane-relief.app\:go-back:before,body:not(.is-mobile) .view-action.pane-relief.app\:go-forward:after{display:inline;font-size:1em;line-height:1;vertical-align:text-top}body:not(.is-mobile) .view-action.pane-relief.app\:go-forward:after{content:var(--pane-relief-forward-count);padding-left:.4em}body:not(.is-mobile) .view-action.pane-relief.app\:go-back:before{content:var(--pane-relief-backward-count);padding-right:.4em}body:not(.is-mobile) .view-action:not(:last-child){margin-right:var(--page-header-spacing-desktop)}body:not(.is-mobile) .pane-relief body:not(.no-svg-replace) svg{vertical-align:top}.is-mobile .view-actions{align-items:center}.is-mobile .view-action:not(:last-child){margin-right:var(--page-header-spacing-mobile)}