Skip to content

Commit

Permalink
reorder nav-justified classes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypopp committed Jul 29, 2013
1 parent 0d7940d commit e0395b4
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions less/navs.less
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,36 @@
// Nav variations
// --------------------------------------------------

// Justified nav links
// -------------------------

.nav-justified {
width: 100%;
> li {
float: none;
display: table-cell;
width: 1%;
> a {
text-align: center;
}
}
}

// Move borders to anchors instead of bottom of list
.nav-tabs-justified {
border-bottom: 0;
> li > a {
border-bottom: 1px solid @nav-tabs-justified-link-border-color;

// Override margin from .nav-tabs
margin-right: 0;
}
> .active > a {
border-bottom-color: @nav-tabs-justified-active-link-border-color;
}

}

// Tabs
// -------------------------

Expand Down Expand Up @@ -154,37 +184,6 @@
}
}

// Justified nav links
// -------------------------

.nav-justified {
width: 100%;
> li {
float: none;
display: table-cell;
width: 1%;
> a {
text-align: center;
}
}
}

// Move borders to anchors instead of bottom of list
.nav-tabs-justified {
border-bottom: 0;
> li > a {
border-bottom: 1px solid @nav-tabs-justified-link-border-color;

// Override margin from .nav-tabs
margin-right: 0;
}
> .active > a {
border-bottom-color: @nav-tabs-justified-active-link-border-color;
}

}



// Tabbable tabs
// -------------------------
Expand Down

0 comments on commit e0395b4

Please sign in to comment.