Skip to content

Commit

Permalink
WebTools - MainLayout sidemenu styles changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKotschenreuther committed Feb 27, 2024
1 parent 8f25853 commit 28cfc20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 36 deletions.
12 changes: 8 additions & 4 deletions WebTools/Shared/MainLayout.razor.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#sideMenu {
min-width: 250px;
}

/* navigation styles */
Expand All @@ -11,9 +10,9 @@
font-size: 1.1rem;
}

.nav-link [class^="bi-"] {
font-size: 1.1rem;
width: 2rem;
.nav-item {
min-width: 15rem;
font-size: 0.9rem;
}

.nav-item:first-of-type {
Expand Down Expand Up @@ -43,6 +42,11 @@
color: white;
}

.nav-link [class^="bi-"] {
font-size: 1.1rem;
width: 2rem;
}

/*.page {
position: relative;
display: flex;
Expand Down
32 changes: 0 additions & 32 deletions WebTools/Shared/NavMenu.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,6 @@
top: -2px;
}
.nav-item {
font-size: 0.9rem;
padding-bottom: 0.5rem;
}
.nav-item:first-of-type {
padding-top: 1rem;
}
.nav-item:last-of-type {
padding-bottom: 1rem;
}
.nav-item ::deep a {
color: #d7d7d7;
border-radius: 4px;
height: 3rem;
display: flex;
align-items: center;
line-height: 3rem;
}
.nav-item ::deep a.active {
background-color: rgba(255,255,255,0.25);
color: white;
}
.nav-item ::deep a:hover {
background-color: rgba(255,255,255,0.1);
color: white;
}
@media (min-width: 641px) {
.navbar-toggler {
display: none;
Expand Down

0 comments on commit 28cfc20

Please sign in to comment.