2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

extract .alert-variant mix-in

This commit is contained in:
Chris Rebert
2013-07-06 22:01:34 -07:00
parent 95655e7275
commit e757ddd60f
2 changed files with 17 additions and 27 deletions
+14
View File
@@ -361,6 +361,20 @@
border-bottom: 1px solid @bottom;
}
// Alerts
// -------------------------
.alert-variant(@background, @border, @text-color) {
background-color: @background;
border-color: @border;
color: @text-color;
hr {
border-top-color: darken(@border, 5%);
}
.alert-link {
color: darken(@text-color, 10%);
}
}
// Button psuedo states
// -------------------------
// Easily pump out default styles, as well as :hover, :focus, :active,