diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index ca001c1e6c..94e2fa1f31 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 5a97f23a62..acd3a396e8 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 cbe3539855..292e4a3963 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 7f5243dde8..cb79496a85 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}} diff --git a/less/button-groups.less b/less/button-groups.less index d8957c52d7..a04220a9a6 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -134,7 +134,7 @@ .btn-danger, .btn-info, .btn-success, -.btn-dark { +.btn-inverse { .caret { border-top-color: @white; .opacity(75); diff --git a/less/buttons.less b/less/buttons.less index 0ac2be67a0..292e046267 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -108,8 +108,8 @@ .btn-success:hover, .btn-info, .btn-info:hover, -.btn-dark, -.btn-dark:hover { +.btn-inverse, +.btn-inverse:hover { text-shadow: 0 -1px 0 rgba(0,0,0,.25); color: @white; } @@ -144,8 +144,8 @@ .btn-info { .buttonBackground(#5bc0de, #2f96b4); } -// Dark appears as black -.btn-dark { +// Inverse appears as dark gray +.btn-inverse { .buttonBackground(#454545, #262626); }