mirror of
https://github.com/markusmo3/obsidian-private-mode.git
synced 2026-07-22 05:42:42 +00:00
added private callout and set version to 1.0.1
This commit is contained in:
parent
63d751d7ae
commit
b3d662f445
2 changed files with 13 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-private-mode",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Simple #private mode for Obsidian (https://obsidian.md)",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
12
styles.scss
12
styles.scss
|
|
@ -41,3 +41,15 @@ $reveal-templates: (
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* add a private callout */
|
||||
.callout[data-callout="private"] {
|
||||
--callout-color: 158, 158, 158;
|
||||
--callout-icon: lucide-lock;
|
||||
}
|
||||
body:not(.private-mode-reveal-all) .callout[data-callout="private"]:not(.is-collapsed) > .callout-content {
|
||||
filter: blur(0.5rem);
|
||||
}
|
||||
body:not(.private-mode-reveal-all) .callout[data-callout="private"]:not(.is-collapsed) > .callout-content:hover {
|
||||
filter: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue