Skip to content

Commit

Permalink
Update for v.1.4.8 ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliamay committed Aug 13, 2022
1 parent 95fd6b9 commit 3053e8f
Show file tree
Hide file tree
Showing 24 changed files with 2,126 additions and 680 deletions.
1,368 changes: 1,053 additions & 315 deletions obsidian.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion obsidian.css.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion scss/10_base/_var__global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

:root,
body {

/*──────────Font Families──────────*/

--font-preview: var(--font-text);
Expand Down Expand Up @@ -66,6 +65,9 @@ body {
--tracking-5: 2.56px;

/*──────────Layout Sizing──────────*/

/* Obsidian Defaults */
--border-width: 1px;

--scale-0-0: 0px;

Expand Down
14 changes: 14 additions & 0 deletions scss/20_workspace/_file-explorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
.nav {
&-folder-title,
&-file-title {
font-size: var(--font-scale-0-5);
line-height: var(--line-height-0-5);
width: 100%;
padding: calc(1px + var(--scale-2-1))
Expand All @@ -37,6 +38,8 @@
}

&-folder-title-content {
display: flex;
align-items: center;
padding: var(--scale-0-0)
var(--scale-0-0)
var(--scale-0-0)
Expand All @@ -56,6 +59,10 @@
white-space: normal;
}

&-folder-collapse-indicator {
align-items: flex-start;
}

&-folder-collapse-indicator.collapse-icon {
margin-top: var(--scale-2-1);
margin-left: var(--scale-0-0);
Expand All @@ -67,6 +74,13 @@
}
}

// removes opened note border
.workspace-leaf.mod-active .nav-folder.has-focus > .nav-folder-title,
.workspace-leaf.mod-active .nav-file.has-focus {
border-color: transparent;
background-color: none;
}

// resets color of arrow triangle when hovering folder title
body:not(.is-grabbing) .nav-folder-title:hover .nav-folder-collapse-indicator {
color: unset;
Expand Down
4 changes: 3 additions & 1 deletion scss/20_workspace/_nav-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.workspace-split.mod-right-split .nav-header {
padding: var(--scale-2-1)
var(--scale-2-2)
var(--scale-2-2)
var(--scale-2-1)
var(--scale-2-2);
margin: var(--scale-0-0)
var(--scale-0-0)
Expand Down Expand Up @@ -36,6 +36,8 @@
var(--scale-0-0);
border-radius: var(--scale-2-3);
opacity: 1;
display: flex;
align-items: center;

.theme-light & {
color: var(--color-l-gray-60);
Expand Down
7 changes: 5 additions & 2 deletions scss/20_workspace/_side-dock-ribbon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@

/* Side Dock Ribbon Icons Sizing */
.side-dock-ribbon-action {
display: flex;
align-items: center;
justify-content: center;
padding: var(--scale-0-0)
var(--scale-0-0)
var(--scale-2-4)
var(--scale-2-6)
var(--scale-0-0);
}

.workspace-ribbon.side-dock-ribbon {
& .workspace-ribbon-collapse-btn {
margin-top: var(--scale-2-3);
margin-top: var(--scale-0-0);
padding: var(--scale-2-4)
var(--scale-2-5);
}
Expand Down
4 changes: 4 additions & 0 deletions scss/20_workspace/_status-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
────────────────────────────────────*/

.status-bar {
font-size: var(--font-scale-0-5);

max-height: unset;
display: flex;
justify-content: flex-end;
Expand Down Expand Up @@ -37,6 +39,7 @@
color: var(--color-l-gray-50);
background-color: var(--color-l-gray-10);
border: 1px solid var(--color-l-gray-40);
border-bottom: none;

&-item {
color: var(--color-l-gray-60);
Expand Down Expand Up @@ -73,6 +76,7 @@
color: var(--color-d-gray-30);
background-color: var(--color-d-gray-80);
border: 1px solid var(--color-d-gray-50);
border-bottom: none;

&-item {
color: var(--color-d-gray-30);
Expand Down
5 changes: 5 additions & 0 deletions scss/20_workspace/_tab-content.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/*────────────────────────────────────
Tab Content
────────────────────────────────────*/
.workspace-tabs .workspace-leaf.mod-active,
.workspace-tabs .workspace-leaf.mod-active:active {
border-color: transparent;
}

.workspace-split.mod-right-split
.workspace-tabs:last-child {
padding-bottom: calc(-4px + var(--scale-8-3));
Expand Down
4 changes: 3 additions & 1 deletion scss/20_workspace/_tab-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ body .workspace-tab-header
.workspace-tab-header-inner-icon svg {
height: var(--scale-8-2);
width: var(--scale-8-2);
vertical-align: 1px;
display: flex;
align-items: center;
justify-content: center;
}

/*─────────Tab Header for Light Mode──────────*/
Expand Down
2 changes: 2 additions & 0 deletions scss/20_workspace/_title-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
.theme-light {
& .titlebar {
background: var(--color-l-white);
border-bottom: none;
}

& .titlebar-text {
Expand Down Expand Up @@ -64,6 +65,7 @@
.theme-dark {
& .titlebar {
background: var(--color-d-gray-70);
border-bottom: none;
}

& .titlebar-text {
Expand Down
Loading

0 comments on commit 3053e8f

Please sign in to comment.