From a57dbada0f17bc3dfd4a77de436a5e590fb0d1e3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 12 Feb 2012 15:18:20 -0800 Subject: change classname from .btn-dark to .btn-inverse, change use text --- docs/assets/bootstrap.zip | Bin 52782 -> 53038 bytes docs/assets/css/bootstrap.css | 34 ++++++++++++++++++++++++++++++--- docs/base-css.html | 5 +++++ docs/templates/pages/base-css.mustache | 8 ++++---- 4 files changed, 40 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index ca001c1e6..94e2fa1f3 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 5a97f23a6..acd3a396e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1794,7 +1794,9 @@ table .span12 { .btn-success, .btn-success:hover, .btn-info, -.btn-info:hover { +.btn-info:hover, +.btn-inverse, +.btn-inverse:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; } @@ -1802,7 +1804,8 @@ table .span12 { .btn-warning.active, .btn-danger.active, .btn-success.active, -.btn-info.active { +.btn-info.active, +.btn-dark.active { color: rgba(255, 255, 255, 0.75); } .btn-primary { @@ -1925,6 +1928,30 @@ table .span12 { .btn-info:active, .btn-info.active { background-color: #24748c \9; } +.btn-inverse { + background-color: #393939; + background-image: -moz-linear-gradient(top, #454545, #262626); + background-image: -ms-linear-gradient(top, #454545, #262626); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#454545), to(#262626)); + background-image: -webkit-linear-gradient(top, #454545, #262626); + background-image: -o-linear-gradient(top, #454545, #262626); + background-image: linear-gradient(top, #454545, #262626); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#454545', endColorstr='#262626', GradientType=0); + border-color: #262626 #262626 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); +} +.btn-inverse:hover, +.btn-inverse:active, +.btn-inverse.active, +.btn-inverse.disabled, +.btn-inverse[disabled] { + background-color: #262626; +} +.btn-inverse:active, .btn-inverse.active { + background-color: #0c0c0c \9; +} button.btn, input[type="submit"].btn { *padding-top: 2px; *padding-bottom: 2px; @@ -2057,7 +2084,8 @@ button.btn.small, input[type="submit"].btn.small { .btn-primary .caret, .btn-danger .caret, .btn-info .caret, -.btn-success .caret { +.btn-success .caret, +.btn-inverse .caret { border-top-color: #ffffff; opacity: 0.75; filter: alpha(opacity=75); diff --git a/docs/base-css.html b/docs/base-css.html index cbe353985..292e4a396 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1285,6 +1285,11 @@ For example, <code>section</code> should be wrapped as inline. Danger .btn-danger Indicates a dangerous or potentially negative action + + + Inverse + .btn-inverse + Alternate dark gray button, not tied to a semantic action or use diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 7f5243dde..cb79496a8 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1210,10 +1210,10 @@ .btn-danger {{_i}}Indicates a dangerous or potentially negative action{{/i}} - - {{_i}}Dark{{/i}} - .btn-dark - {{_i}}Indicates a potential abort or black magic{{/i}} + + {{_i}}Inverse{{/i}} + .btn-inverse + {{_i}}Alternate dark gray button, not tied to a semantic action or use{{/i}} -- cgit v1.2.3