Last active
January 2, 2016 17:39
-
-
Save markotom/8338273 to your computer and use it in GitHub Desktop.
"nav-tabs" stackable in Bootstrap 3 with the "old" look (Bootstrap 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav-tabs { | |
&.nav-stacked { | |
border-bottom: 0; | |
> li { | |
float: none; | |
> a { | |
margin-right: 0; | |
border: 1px solid @nav-tabs-border-color; | |
border-radius: 0; | |
&:hover, &:focus { | |
border-color: @nav-tabs-border-color; | |
z-index: 2; | |
} | |
} | |
&:first-child > a { | |
.border-top-radius(@border-radius-base); | |
} | |
&:last-child > a { | |
.border-bottom-radius(@border-radius-base); | |
} | |
} | |
> li + li { | |
margin-top: 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment