Skip to content

Instantly share code, notes, and snippets.

@rafamaciel
Last active August 29, 2015 14:05
Show Gist options
  • Save rafamaciel/d5bc49f001b7b1a1c2eb to your computer and use it in GitHub Desktop.
Save rafamaciel/d5bc49f001b7b1a1c2eb to your computer and use it in GitHub Desktop.
Customização da navbar do twitter bootstrap 3.
$navbar_background : #83BFE6;
$navbar_high_light : #47ABED;
$navbar_default_color : #FCFCFC;
$navbar_hover_color : #DAE6ED;
$navbar_high_light_hover : #DAE6ED;
$navbar_border_radius : 0px;
.navbar-default {
background-color: $navbar_background;
border-color: $navbar_high_light;
border-radius: $navbar_border_radius;
.navbar-brand {
color: $navbar_default_color;
&:hover, &:focus {
color: $navbar_high_light_hover; }}
.navbar-text {
color: $navbar_default_color; }
.navbar-nav {
> li {
> a {
color: $navbar_default_color;
&:hover, &:focus {
color: $navbar_high_light_hover; }}}
> .active {
> a, > a:hover, > a:focus {
color: $navbar_high_light_hover;
background-color: $navbar_high_light; }}
> .open {
> a, > a:hover, > a:focus {
color: $navbar_high_light_hover;
background-color: $navbar_high_light; }}}
.navbar-toggle {
border-color: $navbar_high_light;
&:hover, &:focus {
background-color: $navbar_high_light; }
.icon-bar {
background-color: $navbar_default_color; }}
.navbar-collapse,
.navbar-form {
border-color: $navbar_default_color; }
.navbar-link {
color: $navbar_default_color;
&:hover {
color: $navbar_high_light_hover; }}}
@media (max-width: 767px) {
.navbar-default .navbar-nav .open .dropdown-menu {
> li > a {
color: $navbar_default_color;
&:hover, &:focus {
color: $navbar_high_light_hover; }}
> .active {
> a, > a:hover, > a:focus, {
color: $navbar_high_light_hover;
background-color: $navbar_high_light; }}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment