Commit c802923d by Sartika Aritonang

Upload New File

parent 598be968
#mainNav {
min-height: 56px;
background-color: $white;
.navbar-toggler {
font-size: 80%;
padding: 0.75rem;
color: $primary;
border: 1px solid $primary;
&:focus {
outline: none;
}
}
.navbar-brand {
color: $black;
font-weight: 700;
padding: .9rem 0;
}
.navbar-nav {
.nav-item {
&:hover {
color: fade(white, 80%);
outline: none;
background-color: transparent;
}
&:active,
&:focus {
outline: none;
background-color: transparent;
}
}
}
@media (min-width: 992px) {
padding-top: 0;
padding-bottom: 0;
border-bottom: none;
background-color: transparent;
transition: background-color 0.3s ease-in-out;
.navbar-brand {
padding: .5rem 0;
color: fade-out($white, .5);
}
.nav-link {
transition: none;
padding: 2rem 1.5rem;
color: fade-out($white, .5);
&:hover {
color: fade-out($white, .25);
}
&:active {
color: white;
}
}
&.navbar-shrink {
background-color: $white;
.navbar-brand {
color: $black;
}
.nav-link {
color: $black;
padding: 1.5rem 1.5rem 1.25rem;
border-bottom: 0.25rem solid transparent;
&:hover {
color: $primary;
}
&:active {
color: darken($primary, 15%);
}
&.active {
color: $primary;
outline: none;
border-bottom: 0.25rem solid $primary;
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment