Skip to content

Commit

Permalink
fix(component): navbar accessibility
Browse files Browse the repository at this point in the history
dropdown outline alignement
cdu outline alignement
  • Loading branch information
ygatesoupe committed Aug 24, 2016
1 parent 64ca435 commit 0f7bce8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions scss/_o-navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,20 @@
@include hover-focus {
color: $brand-primary;
}

@include focus {
outline: 1px dotted white;
outline-offset: .625rem;
}

display: block;
margin-top: 3.6875rem;
margin-top: 3.75rem;
line-height: $btn-line-height;
color: #fff;

.caret {
position: absolute;
}
}
}

Expand Down Expand Up @@ -341,7 +351,7 @@
.navbar-nav {
.nav-item-cdu {
display: inline-block;
margin-top: 3.6875rem;
margin-top: 3.75rem;
padding-right: .75rem;
font-weight: bold;
line-height: $btn-line-height;
Expand Down

0 comments on commit 0f7bce8

Please sign in to comment.