-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update navbar to guidelines created separate file for styles update logo img file
- Loading branch information
1 parent
a7e862e
commit 6eb4f24
Showing
6 changed files
with
181 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
// Orange navbar | ||
// | ||
// | ||
|
||
.navbar { | ||
padding: 0; | ||
height: 10rem; | ||
font-size: $font-size-base; | ||
|
||
&.navbar-light, | ||
&.navbar-dark { | ||
color: $brand-orange-white; | ||
background: $brand-orange-black; | ||
} | ||
|
||
.nav-item { | ||
font-weight: $brand-font-weight-bold; | ||
|
||
.nav-link { | ||
padding: 0; | ||
line-height: $btn-line-height; | ||
margin-top: 5.9rem; | ||
} | ||
|
||
.dropdown-toggle { | ||
@include hover-focus { | ||
color: $brand-orange; | ||
} | ||
display: block; | ||
// padding-top: .425rem; | ||
// padding-bottom: 1rem; | ||
line-height: $btn-line-height; | ||
margin-top: 5.9rem; | ||
color: $brand-orange-white; | ||
} | ||
} | ||
|
||
.nav-item + .nav-item { | ||
margin-left: 2rem; | ||
} | ||
|
||
.nav-item:first-child { | ||
margin-left: 3rem; | ||
} | ||
|
||
.form-inline { | ||
margin-top: 3.5rem; | ||
margin-left: 1rem; | ||
} | ||
|
||
.btn-inverse-outline { | ||
@include hover-focus { | ||
color: $brand-orange; | ||
border-color: $brand-orange; | ||
} | ||
|
||
@include active { | ||
color: $brand-orange-white; | ||
background-color: $brand-orange; | ||
border-color: $brand-orange; | ||
} | ||
|
||
color: $brand-orange-white; | ||
background-color: $brand-orange-black; | ||
border-color: $brand-orange-white; | ||
} | ||
} | ||
|
||
.navbar-toggler { | ||
@include navbar-toggle-vertical-align($navbar-toggle-vertical-margin); | ||
padding: $nav-link-padding; | ||
margin-right: $navbar-padding-horizontal; | ||
background-color: transparent; | ||
background-image: none; | ||
border: 1px solid transparent; | ||
border-radius: $border-radius; | ||
|
||
@include hover-focus { | ||
background-color: $brand-orange; | ||
} | ||
|
||
// We remove the `outline` here, but later compensate by attaching `:hover` | ||
// styles to `:focus`. | ||
&:focus { | ||
outline: 0; | ||
} | ||
|
||
// Bars | ||
.icon-bar { | ||
display: block; | ||
width: 22px; | ||
height: 2px; | ||
border-radius: 1px; | ||
} | ||
|
||
.icon-bar + .icon-bar { | ||
margin-top: 4px; | ||
} | ||
|
||
@media (min-width: $grid-float-breakpoint) { | ||
display: none; | ||
} | ||
} | ||
|
||
.navbar-brand { | ||
// height: $navbar-height; | ||
padding-top: 2.5rem; | ||
padding-bottom: 2.5rem; | ||
margin: 0; | ||
|
||
&.nav-link { | ||
margin: 0; | ||
} | ||
|
||
img { | ||
font-size: 1.2rem; | ||
font-weight: $brand-font-weight-normal; | ||
color: $brand-orange-white; | ||
height: 5rem; | ||
width: auto; | ||
} | ||
} | ||
|
||
.navbar-header { | ||
padding-right: $navbar-padding-horizontal; | ||
padding-left: $navbar-padding-horizontal; | ||
} | ||
|
||
.navbar-toggle-complement { | ||
position: relative; | ||
float: right; | ||
} | ||
|
||
.navbar-toggle-complement .navbar-nav { | ||
margin: $padding-base-vertical 0 0; | ||
} | ||
|
||
.navbar-toggle-complement li { | ||
float: left; | ||
} | ||
|
||
@media (min-width: $screen-sm) { | ||
.navbar-toggle-complement { | ||
display: none; | ||
} | ||
} | ||
|
||
// Navbar nav links | ||
// | ||
// Builds on top of the `.nav` components with its own modifier class to make | ||
// the nav the full height of the horizontal nav (above 768px). | ||
.navbar-nav { | ||
.nav-item-cdu { | ||
float: left; | ||
padding: .425rem 0 1rem; | ||
margin-top: 2.8rem; | ||
font-weight: $brand-font-weight-bold; | ||
color: $brand-orange-white !important; | ||
|
||
@include hover-focus { | ||
color: $brand-orange !important; | ||
} | ||
} | ||
// Uncollapse the nav | ||
@media (min-width: $grid-float-breakpoint) { | ||
.nav-link { | ||
margin-top: 2.8rem; | ||
} | ||
} | ||
|
||
> li { | ||
> a { | ||
font-size: $font-size-base; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters