Skip to content

Commit 3053e8f

Browse files
committed
Update for v.1.4.8 ✨
1 parent 95fd6b9 commit 3053e8f

24 files changed

+2126
-680
lines changed

obsidian.css

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

obsidian.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.

scss/10_base/_var__global.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
:root,
66
body {
7-
87
/*──────────Font Families──────────*/
98

109
--font-preview: var(--font-text);
@@ -66,6 +65,9 @@ body {
6665
--tracking-5: 2.56px;
6766

6867
/*──────────Layout Sizing──────────*/
68+
69+
/* Obsidian Defaults */
70+
--border-width: 1px;
6971

7072
--scale-0-0: 0px;
7173

scss/20_workspace/_file-explorer.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
.nav {
2525
&-folder-title,
2626
&-file-title {
27+
font-size: var(--font-scale-0-5);
2728
line-height: var(--line-height-0-5);
2829
width: 100%;
2930
padding: calc(1px + var(--scale-2-1))
@@ -37,6 +38,8 @@
3738
}
3839

3940
&-folder-title-content {
41+
display: flex;
42+
align-items: center;
4043
padding: var(--scale-0-0)
4144
var(--scale-0-0)
4245
var(--scale-0-0)
@@ -56,6 +59,10 @@
5659
white-space: normal;
5760
}
5861

62+
&-folder-collapse-indicator {
63+
align-items: flex-start;
64+
}
65+
5966
&-folder-collapse-indicator.collapse-icon {
6067
margin-top: var(--scale-2-1);
6168
margin-left: var(--scale-0-0);
@@ -67,6 +74,13 @@
6774
}
6875
}
6976

77+
// removes opened note border
78+
.workspace-leaf.mod-active .nav-folder.has-focus > .nav-folder-title,
79+
.workspace-leaf.mod-active .nav-file.has-focus {
80+
border-color: transparent;
81+
background-color: none;
82+
}
83+
7084
// resets color of arrow triangle when hovering folder title
7185
body:not(.is-grabbing) .nav-folder-title:hover .nav-folder-collapse-indicator {
7286
color: unset;

scss/20_workspace/_nav-header.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.workspace-split.mod-right-split .nav-header {
77
padding: var(--scale-2-1)
88
var(--scale-2-2)
9-
var(--scale-2-2)
9+
var(--scale-2-1)
1010
var(--scale-2-2);
1111
margin: var(--scale-0-0)
1212
var(--scale-0-0)
@@ -36,6 +36,8 @@
3636
var(--scale-0-0);
3737
border-radius: var(--scale-2-3);
3838
opacity: 1;
39+
display: flex;
40+
align-items: center;
3941

4042
.theme-light & {
4143
color: var(--color-l-gray-60);

scss/20_workspace/_side-dock-ribbon.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,18 @@
3636

3737
/* Side Dock Ribbon Icons Sizing */
3838
.side-dock-ribbon-action {
39+
display: flex;
40+
align-items: center;
41+
justify-content: center;
3942
padding: var(--scale-0-0)
4043
var(--scale-0-0)
41-
var(--scale-2-4)
44+
var(--scale-2-6)
4245
var(--scale-0-0);
4346
}
4447

4548
.workspace-ribbon.side-dock-ribbon {
4649
& .workspace-ribbon-collapse-btn {
47-
margin-top: var(--scale-2-3);
50+
margin-top: var(--scale-0-0);
4851
padding: var(--scale-2-4)
4952
var(--scale-2-5);
5053
}

scss/20_workspace/_status-bar.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
────────────────────────────────────*/
44

55
.status-bar {
6+
font-size: var(--font-scale-0-5);
7+
68
max-height: unset;
79
display: flex;
810
justify-content: flex-end;
@@ -37,6 +39,7 @@
3739
color: var(--color-l-gray-50);
3840
background-color: var(--color-l-gray-10);
3941
border: 1px solid var(--color-l-gray-40);
42+
border-bottom: none;
4043

4144
&-item {
4245
color: var(--color-l-gray-60);
@@ -73,6 +76,7 @@
7376
color: var(--color-d-gray-30);
7477
background-color: var(--color-d-gray-80);
7578
border: 1px solid var(--color-d-gray-50);
79+
border-bottom: none;
7680

7781
&-item {
7882
color: var(--color-d-gray-30);

scss/20_workspace/_tab-content.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/*────────────────────────────────────
22
Tab Content
33
────────────────────────────────────*/
4+
.workspace-tabs .workspace-leaf.mod-active,
5+
.workspace-tabs .workspace-leaf.mod-active:active {
6+
border-color: transparent;
7+
}
8+
49
.workspace-split.mod-right-split
510
.workspace-tabs:last-child {
611
padding-bottom: calc(-4px + var(--scale-8-3));

scss/20_workspace/_tab-header.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ body .workspace-tab-header
8989
.workspace-tab-header-inner-icon svg {
9090
height: var(--scale-8-2);
9191
width: var(--scale-8-2);
92-
vertical-align: 1px;
92+
display: flex;
93+
align-items: center;
94+
justify-content: center;
9395
}
9496

9597
/*─────────Tab Header for Light Mode──────────*/

scss/20_workspace/_title-bar.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.theme-light {
1818
& .titlebar {
1919
background: var(--color-l-white);
20+
border-bottom: none;
2021
}
2122

2223
& .titlebar-text {
@@ -64,6 +65,7 @@
6465
.theme-dark {
6566
& .titlebar {
6667
background: var(--color-d-gray-70);
68+
border-bottom: none;
6769
}
6870

6971
& .titlebar-text {

0 commit comments

Comments
 (0)