Skip to content

Commit

Permalink
fix: navbar heading icon
Browse files Browse the repository at this point in the history
  • Loading branch information
zelfroster committed Jan 14, 2024
1 parent 7bd9812 commit e6e85a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webui-src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ root = true

# Change these settings to your own preference
indent_style = space
indent_size = 4
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
Expand Down
14 changes: 13 additions & 1 deletion webui-src/app/scss/components/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

&__logo {
padding: 1.2rem 0;
@include flex(column, $align: center, $gap: 0.3rem);
@include flex($align: center, $gap: 0.3rem);

img {
width: 1.6rem;
Expand Down Expand Up @@ -81,17 +81,20 @@
display: none;
}
}

.nav-menu__box {
.item {
padding: 0.675rem 0;
width: 2.5rem;
justify-content: center;
transition: 300ms;

& p {
display: none;
}
}
}

button i {
rotate: 180deg;
}
Expand All @@ -107,44 +110,52 @@
width: 13rem;
background-color: white;
@include flex(column);

& a {
text-decoration: none;
text-transform: capitalize;
padding: 1rem;
cursor: pointer;
color: #999;

&:hover {
color: #222;
}
}

& .selected-sidebar-link {
font-weight: bold;
color: #222;
border-left: 5px solid #3ba4d7;
animation: expand-left-border 0.1s;
}
}

.sidebarquickview {
& > h6 {
padding: 0.5rem;
}

& a {
text-decoration: none;
text-transform: capitalize;
padding: 0.5rem 1rem;
display: block;
color: #999;

& a:hover {
color: #222;
}
}

& .selected-sidebarquickview-link {
font-weight: bold;
color: #222;
border-left: 5px solid #3ba4d7;
animation: expand-left-border 0.1s;
}
}

/* Content adjacent to sidebar */
.node-panel {
width: 100%;
Expand All @@ -156,6 +167,7 @@
from {
border-left: 0;
}

to {
border-left: 5px solid #3ba4d7;
}
Expand Down
4 changes: 2 additions & 2 deletions webui-src/styles.css

Large diffs are not rendered by default.

0 comments on commit e6e85a0

Please sign in to comment.