Skip to content

Commit

Permalink
Update navbar
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <[email protected]>
  • Loading branch information
mohin7 committed Jun 27, 2024
1 parent 3684985 commit 180b0bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
26 changes: 14 additions & 12 deletions static/assets/sass/components/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@
&.navbar-product {
will-change: transform;
transition: transform 200ms linear;
.navbar-appscode:not(.documentation-menu) {
background-color: $primary-light-gray;
}
.documentation-menu {
margin-left: 319px;
border-left: 1px solid $color-border;

@media screen and (max-width: 1440px) {
margin-left: 0;
border-left: none;
}
}
background-color: $primary-light-gray;

// .documentation-menu {
// .navbar-right {
// margin-left: 299px;
// border-left: 1px solid $color-border;
// padding-left: 24px;
// @media screen and (max-width: 1440px) {
// margin-left: 0;
// border-left: none;
// padding-left: 0;
// }
// }
// }

.mega-menu-wrapper {
top: 57px;
Expand Down
12 changes: 0 additions & 12 deletions static/assets/sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -19296,20 +19296,8 @@ video {
.navbar-appscode-wrapper.navbar-product {
will-change: transform;
transition: transform 200ms linear;
}
.navbar-appscode-wrapper.navbar-product .navbar-appscode:not(.documentation-menu) {
background-color: hsl(var(--primary-h), 10%, 96%);
}
.navbar-appscode-wrapper.navbar-product .documentation-menu {
margin-left: 319px;
border-left: 1px solid hsl(var(--secondary-h), 10%, 90%);
}
@media screen and (max-width: 1440px) {
.navbar-appscode-wrapper.navbar-product .documentation-menu {
margin-left: 0;
border-left: none;
}
}
.navbar-appscode-wrapper.navbar-product .mega-menu-wrapper {
top: 57px;
}
Expand Down

0 comments on commit 180b0bd

Please sign in to comment.