Skip to content

Commit

Permalink
improv: header bar styling for headers that are still visible
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 20, 2024
1 parent edefc4c commit 4c8ab0e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions source/4-user-interface/header-bar.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
body:not(.normal-header-bar, .is-mobile) .workspace-leaf-content:not([data-type="browser"]) {
/* the shading at the end of the header */
& .view-header-title-container::after {
display: none;
}

& .view-header-breadcrumb {
color: var(--text-faint);
font-size: 0.9rem;
Expand Down Expand Up @@ -63,6 +58,19 @@ body:not(.normal-header-bar, .is-mobile) .workspace-leaf-content:not([data-type=
}
}

/* always hide the shading at the end of the header */
.view-header .view-header-title-container::after {
display: none;
}

/* more contrast for the header bars that are visible */
.workspace-leaf-content[data-type="browser"] .view-header.view-header,
.normal-header-bar .view-header,
.pdf-toolbar {
background: var(--bg3);
}

/* hover for breadcrumbs */
.view-header-breadcrumb.view-header-breadcrumb.view-header-breadcrumb.view-header-breadcrumb:hover {
color: var(--hover-accent);
cursor: var(--cursor-link);
Expand Down

0 comments on commit 4c8ab0e

Please sign in to comment.