Skip to content

Commit

Permalink
override navbar link states for visited and focus
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesjwarren committed Feb 9, 2015
1 parent b5cda05 commit 3f85f50
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions app/less/default/modules/navbar.less
Expand Up @@ -22,26 +22,28 @@ nav.navbar {
position: relative;
}

li a {
a:link,
a:visited,
a:focus {
background-color: transparent;
display: block;
height: 100%;
.transition(~"background 0.2s, color 0.2s");
padding: 30px 29px 11px 5px;
}

a:hover,
a:active {
background-color: @yellow;
color: @black;
}

li a i {
display: block;
position: absolute;
top: 20px;
}

li a:hover,
li a:active {
background-color: @yellow;
color: @black;
}

li.disabled {
pointer-events: none;
}
Expand Down

0 comments on commit 3f85f50

Please sign in to comment.