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

extract .label-variant mix-in

This commit is contained in:
Chris Rebert
2013-07-07 14:26:51 -07:00
parent 95655e7275
commit a7dd1088d2
2 changed files with 16 additions and 28 deletions
+12
View File
@@ -392,6 +392,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.