diff options
| author | Mark Otto <[email protected]> | 2011-09-12 20:07:26 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-12 20:07:26 -0700 |
| commit | 206334ba70c22dc91ec9381f9693ed6356358994 (patch) | |
| tree | 7122de0c1a9343d2622ea7e54873426f656ba767 /lib/patterns.less | |
| parent | 2978934bd529e9cd5b1182d1df98b9942066beda (diff) | |
| download | bootstrap-206334ba70c22dc91ec9381f9693ed6356358994.tar.xz bootstrap-206334ba70c22dc91ec9381f9693ed6356358994.zip | |
remove theme.less and split preboot.less to mixins.less and variables.less to isolate customization from function
Diffstat (limited to 'lib/patterns.less')
| -rw-r--r-- | lib/patterns.less | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/patterns.less b/lib/patterns.less index ee4a8a13d..3e5e0114a 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -488,6 +488,35 @@ footer { // BUTTON STYLES // ------------- +// Shared colors for buttons and alerts +.btn, +.alert-message { + // Set text color + &.danger, + &.danger:hover, + &.error, + &.error:hover, + &.success, + &.success:hover, + &.info, + &.info:hover { + color: @white + } + // Danger and error appear as red + &.danger, + &.error { + .gradientBar(#ee5f5b, #c43c35); + } + // Success appears as green + &.success { + .gradientBar(#62c462, #57a957); + } + // Info appears as a neutral blue + &.info { + .gradientBar(#5bc0de, #339bb9); + } +} + // Base .btn styles .btn { // Button Base |
