diff options
author | Mark Otto <otto@github.com> | 2013-12-15 09:40:16 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-12-15 09:40:16 +0400 |
commit | 072ccd4ddad1dcf642e27497c5253ce578182719 (patch) | |
tree | 82c2acfaa7af93f7473c8bd29600b0126d51500f /dist/css/bootstrap.css | |
parent | 67b536ea51108c655ac59f1371f11fd8867eaf16 (diff) |
Fixes #11572: Add contextual background-color classes to match text classes; move both sets of classes to Helper Classes section of the CSS docs
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r-- | dist/css/bootstrap.css | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index c868d75858..c3027b3a97 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -450,6 +450,18 @@ small, cite { font-style: normal; } +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} .text-muted { color: #999; } @@ -483,17 +495,36 @@ cite { .text-info:hover { color: #245269; } -.text-left { - text-align: left; +.bg-primary { + color: #fff; + background-color: #428bca; } -.text-right { - text-align: right; +a.bg-primary:hover { + background-color: #3071a9; } -.text-center { - text-align: center; +.bg-warning { + background-color: #fcf8e3; } -.text-justify { - text-align: justify; +a.bg-warning:hover { + background-color: #f7ecb5; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover { + background-color: #e4b9b9; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover { + background-color: #c1e2b3; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover { + background-color: #afd9ee; } .page-header { padding-bottom: 9px; |