/*
Tabs
For tabs is used the excellent [**EasyTabs**](http://os.alfajango.com/easytabs/) jQuery plugin,
see full documentation for more in depth examples.
Script required:
Markup:
HTML Markup for these tabs
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
JS for these tabs
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
CSS Styles for these tabs
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Styleguide 19
*/
@if $tabs {
.tabs {
margin-bottom: rhythm();
.etabs {
margin: 0;
padding: 0;
@extend %tab__nav !optional;
li {
display: inline-block;
zoom: 1;
a {
line-height: 1em;
display: block;
padding: $tabs-tab-padding;
outline: none;
@include border-radius($base-border-radius $base-border-radius 0 0);
@extend %tab__btn !optional;
&:hover {
@extend %tab__btn__hover !optional;
}
}
&.active {
a {
position: relative;
font-weight: bold;
@extend %tab__btn__current !optional;
&:after {
@include position(absolute, 0 0px -1px 0px);
height: 2px;
display: block;
content: "";
}
}
}
}
}
.panel-container {
@extend %tab__container !optional;
@include border-radius(0 $base-border-radius $base-border-radius );
> div {padding: $tabs-content-padding;}
}
}
}