123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- //
- // Navbar
- //
-
-
- // Navbar links
-
- .navbar-horizontal {
- .navbar-nav {
- .nav-link {
- font-size: $navbar-nav-link-font-size;
- font-weight: $navbar-nav-link-font-weight;
- text-transform: $navbar-nav-link-text-transform;
- letter-spacing: $navbar-nav-link-letter-spacing;
- @include transition($navbar-transition);
-
- .nav-link-inner--text {
- margin-left: .25rem;
- }
- }
- }
-
-
- // Navbar brand (logo)
-
- .navbar-brand {
- font-size: $font-size-sm;
- font-weight: 600;
- text-transform: uppercase;
- font-size: .875rem;
- letter-spacing: .05px;
-
- img {
- height: 30px;
- }
- }
-
- .navbar-dark {
- .navbar-brand {
- color: $white;
- }
- }
-
- .navbar-light {
- .navbar-brand {
- color: $gray-800;
- }
- }
-
- .navbar-nav {
- .nav-item {
- .media:not(:last-child){
- margin-bottom: 1.5rem;
- }
- }
- }
-
- @include media-breakpoint-up(lg) {
- .navbar-nav {
- .nav-item {
- margin-right: .5rem;
-
- [data-toggle="dropdown"]::after {
- transition: $transition-base;
- }
-
- &.show {
- [data-toggle="dropdown"]::after {
- transform: rotate(180deg);
- }
- }
- }
- .nav-link {
- padding-top: $navbar-nav-link-padding-y;
- padding-bottom: $navbar-nav-link-padding-y;
- border-radius: $navbar-nav-link-border-radius;
-
- i {
- margin-right: .625rem;
- }
- }
-
- .nav-link-icon {
- padding-left: .5rem !important;
- padding-right: .5rem !important;
- font-size: 1rem;
- border-radius: $navbar-nav-link-border-radius;
-
- i {
- margin-right: 0;
- }
- }
- }
- }
-
-
- // Transparent navbar
-
- .navbar-transparent {
- position: absolute;
- top: 0;
- width: 100%;
- z-index: 100;
- background-color: transparent;
- border: 0;
- box-shadow: none;
-
- .navbar-brand {
- color: rgba(255, 255, 255, 1);
- }
-
- .navbar-toggler {
- color: rgba(255, 255, 255, 1);
- }
-
- .navbar-toggler-icon {
- background-image: $navbar-dark-toggler-icon-bg;
- }
- }
-
- @include media-breakpoint-up(md) {
- .navbar-transparent {
- .navbar-nav {
- .nav-link {
- color: $navbar-dark-color;
-
- @include hover-focus {
- color: $navbar-dark-hover-color;
- }
-
- &.disabled {
- color: $navbar-dark-disabled-color;
- }
- }
-
- .show > .nav-link,
- .active > .nav-link,
- .nav-link.show,
- .nav-link.active {
- color: $navbar-dark-active-color;
- }
- }
-
- .navbar-brand {
- color: $navbar-dark-color;
-
- @include hover-focus {
- color: $navbar-dark-color;
- }
- }
- }
- }
- }
|