diff options
| author | Chris Rebert <[email protected]> | 2013-07-06 22:01:34 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-07 15:21:40 -0700 |
| commit | e757ddd60fb48849159e19abb9ebbc6df10fc78d (patch) | |
| tree | 7bc46b1a28a00e12f56f0cbe13298f47920fa332 /less/mixins.less | |
| parent | 95655e72754b9450d04108593f60647cf2e2241c (diff) | |
| download | bootstrap-e757ddd60fb48849159e19abb9ebbc6df10fc78d.tar.xz bootstrap-e757ddd60fb48849159e19abb9ebbc6df10fc78d.zip | |
extract .alert-variant mix-in
Diffstat (limited to 'less/mixins.less')
| -rw-r--r-- | less/mixins.less | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less index eb05623ac..8bbb551a5 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -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, |
