MDL-46470 bootstrapbase: support linkedwhenselected attribute for tabs

This commit is contained in:
Marina Glancy
2014-08-06 11:46:16 +08:00
parent 6b7a5f86a0
commit ef494edcd6
3 changed files with 11 additions and 8 deletions
+7 -5
View File
@@ -130,16 +130,18 @@
}
}
// Active state, and it's :hover/:focus to override normal :hover/:focus
.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
color: @gray;
.nav-tabs > .active > a {
background-color: @bodyBackground;
border: 1px solid #ddd;
border-bottom-color: transparent;
cursor: default;
}
.nav-tabs > .active > a:not([href]),
.nav-tabs > .active > a:not([href]):hover,
.nav-tabs > .active > a:not([href]):focus {
color: @gray;
cursor: default;
}
// PILLS
// -----