Skip to content

Commit

Permalink
(less) Correctly set .btn-link colors in a .navbar and .navbar-inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
supergibbs committed Feb 22, 2014
1 parent fe45467 commit 2132383
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,20 @@
}
}

.btn-link {
color: @navbar-default-link-color;
&:hover,
&:focus {
color: @navbar-default-link-hover-color;
}
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus {
color: @navbar-default-link-disabled-color;
}
}
}
}

// Inverse navbar
Expand Down Expand Up @@ -613,4 +627,18 @@
}
}

.btn-link {
color: @navbar-inverse-link-color;
&:hover,
&:focus {
color: @navbar-inverse-link-hover-color;
}
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus {
color: @navbar-inverse-link-disabled-color;
}
}
}
}

0 comments on commit 2132383

Please sign in to comment.