Skip to content

Commit

Permalink
fix(supra): Delocalize boosted navbar scss into a new file
Browse files Browse the repository at this point in the history
  • Loading branch information
LE DIOURON Kevin committed Sep 23, 2021
1 parent 127cfac commit b6b1f82
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
24 changes: 0 additions & 24 deletions scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -419,27 +419,3 @@
}
}
}

// Boosted mod : supra bar
.supra {
display: none;
padding-top: 0;
padding-bottom: $navbar-supra-padding-bottom;
line-height: 1;
border-bottom: 1px solid $gray-700;

@include media-breakpoint-up(md) {
display: flex;
}

.nav-link {
font-size: $font-size-sm;
}

a {
margin-right: .313rem;
}
a::before {
bottom: -.438rem;
}
}
31 changes: 31 additions & 0 deletions scss/_orange-navbar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Contents
//
// Supra bar


// Supra bar
//
// Brand exclusive thin navbar that can be used with orange navbar

.supra {
display: none;
padding-top: 0;
padding-bottom: $navbar-supra-padding-bottom;
line-height: 1;
border-bottom: 1px solid $gray-700;

@include media-breakpoint-up(md) {
display: flex;
}

.nav-link {
font-size: $font-size-sm;
}

a {
margin-right: .313rem;
}
a::before {
bottom: -.438rem;
}
}
1 change: 1 addition & 0 deletions scss/boosted.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
// Boosted
@import "back-to-top";
@import "stepped-process";
@import "orange-navbar";

// Helpers
@import "helpers";
Expand Down

0 comments on commit b6b1f82

Please sign in to comment.