Skip to content

Commit 76d3548

Browse files
committed
Update Sky theme, add settings for vault profile
1 parent fcb590d commit 76d3548

File tree

12 files changed

+285
-38
lines changed

12 files changed

+285
-38
lines changed

Minimal.css

Lines changed: 92 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ body {
6060
--font-ui-smaller: 11px;
6161
/* Font weights */
6262
--normal-weight: 400;
63-
--bold-weight: 600;
64-
--link-weight: inherit;
6563
/* Headings */
6664
--inline-title-margin-bottom: 1rem;
6765
--h1-size: 1.125em;
@@ -1175,10 +1173,68 @@ body.is-focused {
11751173
color: var(--text-muted);
11761174
}
11771175

1178-
body:not(.is-mobile).hide-help .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-actions .clickable-icon:first-child {
1176+
.is-collapsed .workspace-sidedock-vault-profile {
1177+
opacity: 0;
1178+
}
1179+
1180+
body:not(.is-mobile).hide-help .workspace-drawer-vault-actions .clickable-icon:first-child {
11791181
display: none;
11801182
}
11811183

1184+
body:not(.is-mobile).hide-settings .workspace-drawer-vault-actions .clickable-icon:last-child {
1185+
display: none;
1186+
}
1187+
1188+
body:not(.is-mobile).hide-help.hide-settings .workspace-drawer-vault-actions {
1189+
display: none !important;
1190+
}
1191+
1192+
body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container {
1193+
-webkit-app-region: no-drag;
1194+
}
1195+
body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container:before {
1196+
position: absolute;
1197+
top: 0;
1198+
content: "";
1199+
height: var(--header-height);
1200+
width: 100%;
1201+
-webkit-app-region: drag;
1202+
}
1203+
1204+
body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .mod-top .workspace-tab-container {
1205+
margin-top: calc(var(--header-height) + 8px);
1206+
}
1207+
body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
1208+
-webkit-app-region: no-drag;
1209+
position: absolute;
1210+
top: var(--header-height);
1211+
z-index: 6;
1212+
width: 100%;
1213+
border-top: 0;
1214+
border-bottom: 1px solid var(--background-modifier-border);
1215+
}
1216+
body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher {
1217+
padding-left: var(--size-4-2);
1218+
}
1219+
1220+
body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
1221+
-webkit-app-region: no-drag;
1222+
position: absolute;
1223+
top: var(--labeled-nav-top-margin);
1224+
z-index: 6;
1225+
width: 100%;
1226+
background-color: transparent;
1227+
border-top: 0;
1228+
border-bottom: 1px solid var(--background-modifier-border);
1229+
}
1230+
body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher {
1231+
padding-left: var(--size-4-2);
1232+
}
1233+
1234+
.vault-profile-top .workspace-tab-header-container-inner {
1235+
--labeled-nav-top-margin: 84px;
1236+
}
1237+
11821238
/* Components */
11831239
/* Buttons */
11841240
.modal.mod-settings button:not(.mod-cta):not(.mod-warning),
@@ -3676,19 +3732,19 @@ body {
36763732

36773733
/* Image zoom */
36783734
/* MIT License | Copyright (c) Stephan Ango (@kepano) */
3679-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content div:not(.canvas-node-content) img {
3735+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content div:not(.canvas-node-content) img {
36803736
max-width: 100%;
36813737
cursor: zoom-in;
36823738
}
3683-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content img:active {
3739+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content img:active {
36843740
cursor: zoom-out;
36853741
}
3686-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active {
3742+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active {
36873743
background-color: var(--background-primary);
36883744
padding: 10px;
36893745
}
3690-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active,
3691-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active {
3746+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active,
3747+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active {
36923748
--container-img-width: 100%;
36933749
--container-img-max-width: 100%;
36943750
aspect-ratio: unset;
@@ -3708,7 +3764,7 @@ body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .i
37083764
right: 0;
37093765
bottom: 0;
37103766
}
3711-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active:after {
3767+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active:after {
37123768
background-color: var(--background-primary);
37133769
opacity: 0.9;
37143770
content: " ";
@@ -3719,7 +3775,7 @@ body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .i
37193775
right: 1px;
37203776
z-index: 0;
37213777
}
3722-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active img {
3778+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active img {
37233779
aspect-ratio: unset;
37243780
top: 50%;
37253781
z-index: 99;
@@ -3735,7 +3791,7 @@ body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .i
37353791
position: absolute;
37363792
opacity: 1;
37373793
}
3738-
body:not(.zoom-off) .workspace-leaf-content[data-type=markdown] .view-content .markdown-source-view.mod-cm6 .cm-content > [contenteditable=false]:has(.image-embed:not(.canvas-node-content):active) {
3794+
body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-source-view.mod-cm6 .cm-content > [contenteditable=false]:has(.image-embed:not(.canvas-node-content):active) {
37393795
contain: unset !important;
37403796
}
37413797

@@ -7487,7 +7543,6 @@ https://github.com/nordtheme/nord
74877543
--tx2:#72706c;
74887544
--tx3:#aaa9a5;
74897545
--hl1:rgba(131,201,229,0.3);
7490-
--link-weight:500;
74917546
}
74927547

74937548
.theme-light.minimal-notion-light.minimal-light-contrast .titlebar,
@@ -7513,7 +7568,6 @@ https://github.com/nordtheme/nord
75137568
--tx2:#909295;
75147569
--tx3:#585d5f;
75157570
--hl1:rgba(57,134,164,0.3);
7516-
--link-weight:500;
75177571
}
75187572

75197573
.theme-dark.minimal-notion-dark.minimal-dark-black {
@@ -9234,6 +9288,31 @@ settings:
92349288
-
92359289
label: Single tab only
92369290
value: tab-names-single
9291+
-
9292+
id: vault-profile-display
9293+
title: Vault profile position
9294+
type: class-select
9295+
allowEmpty: false
9296+
default: vault-profile-default
9297+
options:
9298+
-
9299+
label: Bottom
9300+
value: vault-profile-default
9301+
-
9302+
label: Top
9303+
value: vault-profile-top
9304+
-
9305+
id: hide-help
9306+
title: Hide help button
9307+
description:
9308+
type: class-toggle
9309+
default: false
9310+
-
9311+
id: hide-settings
9312+
title: Hide settings button
9313+
description:
9314+
type: class-toggle
9315+
default: false
92379316
-
92389317
id: mobile-left-sidebar-width
92399318
title: Mobile left sidebar width

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Minimal",
3-
"version": "7.6.12",
3+
"version": "7.7.0",
44
"minAppVersion": "1.6.1",
55
"author": "@kepano",
66
"authorUrl": "https://twitter.com/kepano",

src/css/main.css

Lines changed: 67 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/style-settings.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,31 @@ settings:
14021402
-
14031403
label: Single tab only
14041404
value: tab-names-single
1405+
-
1406+
id: vault-profile-display
1407+
title: Vault profile position
1408+
type: class-select
1409+
allowEmpty: false
1410+
default: vault-profile-default
1411+
options:
1412+
-
1413+
label: Bottom
1414+
value: vault-profile-default
1415+
-
1416+
label: Top
1417+
value: vault-profile-top
1418+
-
1419+
id: hide-help
1420+
title: Hide help button
1421+
description:
1422+
type: class-toggle
1423+
default: false
1424+
-
1425+
id: hide-settings
1426+
title: Hide settings button
1427+
description:
1428+
type: class-toggle
1429+
default: false
14051430
-
14061431
id: mobile-left-sidebar-width
14071432
title: Mobile left sidebar width

0 commit comments

Comments
 (0)