Commit ac9073e1 authored by Mark Otto's avatar Mark Otto

Merge branch '2.0-left-and-right-tabs' of...

Merge branch '2.0-left-and-right-tabs' of https://github.com/avalanche123/bootstrap into avalanche123-2.0-left-and-right-tabs
parents 27b8e5e4 cb13f010
...@@ -379,19 +379,71 @@ ...@@ -379,19 +379,71 @@
} }
// Tabs on left // Tabs on left
&.tabs-left .tabs { &.tabs-left {
.clearfix();
.tab-content {
float: left; float: left;
} }
&.tabs-left .tabs > li { .tabs {
float: left;
> li {
float: none; float: none;
margin-bottom: -1px;
margin-right: -1px;
> a {
margin-right: 0;
margin-bottom: 2px;
.border-radius(4px 0 0 4px);
&:hover {
border-color: transparent;
border-right-color: #ddd;
}
}
}
> .active > a,
> .active > a:hover {
border-color: #ddd;
border-right-color: transparent;
}
}
} }
// Tabs on right // Tabs on right
&.tabs-right .tabs { &.tabs-right {
.clearfix();
.tab-content {
float: right; float: right;
} }
&.tabs-right .tabs > li { .tabs {
float: right;
> li {
float: none; float: none;
margin-bottom: -1px;
margin-left: -1px;
> a {
margin-left: 0;
margin-bottom: 2px;
.border-radius(4px 0 0 4px);
&:hover {
border-color: transparent;
border-left-color: #ddd;
}
}
}
> .active > a,
> .active > a:hover {
border-color: #ddd;
border-left-color: transparent;
}
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment