Skip to content

Commit

Permalink
Update layout.component.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
mkz212 authored Nov 20, 2023
1 parent f5e8f83 commit 9b220c9
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions ui/src/app/shared/layout/layout.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,24 @@
margin-top: 0px;
}

/* State when the navbar is collapsed */
/* State when the navbar is collapsed - BARS */

.navbar-toggler.collapsed .top-bar {
position: absolute !important;
top: 0px !important;
transform: rotate(0deg) !important;
}

.navbar-toggler.collapsed .middle-bar {
opacity: 1;
.navbar-toggler .top-bar {
position: absolute;
top: 10px;
filter: alpha(opacity=0);
top: 0px;
transform: rotate(0deg);
}

.navbar-toggler.collapsed .bottom-bar {
.navbar-toggler .bottom-bar {
position: absolute;
top: 20px;
top: 18px;
transform: rotate(0deg);
}

/* when navigation is clicked */
/* when navigation is clicked - X */

.navbar-toggler:not(.collapsed) .top-bar {
top: inherit;
top: 10px;
transform: rotate(135deg);
}

Expand All @@ -75,7 +68,7 @@
}

.navbar-toggler:not(.collapsed) .bottom-bar {
top: inherit;
top: 10px;
transform: rotate(-135deg);
}

Expand Down

0 comments on commit 9b220c9

Please sign in to comment.