2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Merge pull request #8407 from cvrebert/label-variant-mixin

extract .label-variant mix-in
This commit is contained in:
Mark Otto
2013-07-07 18:26:54 -07:00
2 changed files with 16 additions and 28 deletions
+12
View File
@@ -406,6 +406,18 @@
}
}
// Labels
// -------------------------
.label-variant(@color) {
background-color: @color;
&[href] {
&:hover,
&:focus {
background-color: darken(@color, 10%);
}
}
}
// Navbar vertical align
// -------------------------
// Vertically center elements in the navbar.