mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-14 22:59:10 +01:00
parent
01ad91c8d4
commit
92db9fe55d
5 changed files with 165 additions and 31 deletions
|
@ -38,15 +38,11 @@ export const presets: Record<string, CustomFrameSettings> = {
|
|||
openInCenter: true,
|
||||
zoomLevel: 1,
|
||||
forceIframe: false,
|
||||
customCss: `/* hide right-side menu, and some buttons */
|
||||
div.d6McF,
|
||||
div.pw6cBb,
|
||||
div.gb_Td.gb_Va.gb_Id,
|
||||
div.Kk7lMc-QWPxkf-LgbsSe-haAclf,
|
||||
div.h8Aqhb,
|
||||
div.gboEAb,
|
||||
div.dwlvNd {
|
||||
display: none !important;
|
||||
customCss: `/* hide the menu bar, "Keep" text, and logo */
|
||||
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child[class*=" "],
|
||||
html > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child,
|
||||
html > body > div:nth-child(2) > div:nth-child(2) > div:first-child > div:first-child {
|
||||
display: none !important;
|
||||
}`
|
||||
},
|
||||
"keep": {
|
||||
|
|
4
test-vault/.obsidian/appearance.json
vendored
4
test-vault/.obsidian/appearance.json
vendored
|
@ -1 +1,3 @@
|
|||
{}
|
||||
{
|
||||
"accentColor": ""
|
||||
}
|
|
@ -11,17 +11,6 @@
|
|||
"forceIframe": false,
|
||||
"customCss": ""
|
||||
},
|
||||
{
|
||||
"url": "https://calendar.google.com/calendar/u/0/r/day",
|
||||
"displayName": "Google Calendar",
|
||||
"icon": "calendar",
|
||||
"hideOnMobile": true,
|
||||
"addRibbonIcon": true,
|
||||
"openInCenter": true,
|
||||
"zoomLevel": 1,
|
||||
"forceIframe": false,
|
||||
"customCss": "/* hide right-side menu, and some buttons */\ndiv.d6McF,\ndiv.pw6cBb,\ndiv.gb_Td.gb_Va.gb_Id,\ndiv.Kk7lMc-QWPxkf-LgbsSe-haAclf,\ndiv.h8Aqhb,\ndiv.gboEAb,\ndiv.dwlvNd {\n display: none !important;\n}"
|
||||
},
|
||||
{
|
||||
"url": "https://keep.google.com",
|
||||
"displayName": "Google Keep",
|
||||
|
@ -32,6 +21,17 @@
|
|||
"zoomLevel": 1,
|
||||
"forceIframe": false,
|
||||
"customCss": "/* hide the menu bar and the \"Keep\" text */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child, \nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child > a:first-child > span { \n\tdisplay: none !important; \n}"
|
||||
},
|
||||
{
|
||||
"url": "https://calendar.google.com/calendar",
|
||||
"displayName": "Google Calendar",
|
||||
"icon": "calendar",
|
||||
"hideOnMobile": true,
|
||||
"addRibbonIcon": true,
|
||||
"openInCenter": true,
|
||||
"zoomLevel": 1,
|
||||
"forceIframe": false,
|
||||
"customCss": "/* hide the menu bar, \"Keep\" text, and logo */\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child[class*=\" \"],\nhtml > body > div:first-child > header:first-child > div > div:first-child > div > div:first-child,\nhtml > body > div:nth-child(2) > div:nth-child(2) > div:first-child > div:first-child {\ndisplay: none !important;\n}"
|
||||
}
|
||||
],
|
||||
"padding": 5
|
||||
|
|
File diff suppressed because one or more lines are too long
139
test-vault/.obsidian/workspace.json
vendored
Normal file
139
test-vault/.obsidian/workspace.json
vendored
Normal file
|
@ -0,0 +1,139 @@
|
|||
{
|
||||
"main": {
|
||||
"id": "c1516e0860f8ca2d",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "5f67dbfa790111b2",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "2225f45de6e02ac7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "custom-frames-google-calendar",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "f48d3cfe4b95c092",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "f1178df345e439d7",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "1953d881032399d7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "36f241641b1334c7",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "2b4a59e1687c8b13",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "starred",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "48128f792502a876",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "6635b8a61f3363dc",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "8b8ee33059b392df",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1a5164ddf50fc39d",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "360f0e93e58b9472",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "edb9a559fde3ae0c",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d77c1f6b102072c2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "custom-frames-google-keep",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 388
|
||||
},
|
||||
"active": "2225f45de6e02ac7",
|
||||
"lastOpenFiles": []
|
||||
}
|
Loading…
Reference in a new issue