diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 682dbbc7f1..78d7f57a42 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 8d27437090..8fe389563a 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -195,11 +195,11 @@ .row-fluid:after { clear: both; } - .row-fluid [class*="span"] { + .row-fluid > [class*="span"] { float: left; margin-left: 2.762430939%; } - .row-fluid [class*="span"]:first-child { + .row-fluid > [class*="span"]:first-child { margin-left: 0; } .row-fluid .span1 { @@ -288,6 +288,7 @@ background-image: none; } .navbar .container { + width: auto; padding: 0; } .navbar .brand { @@ -476,11 +477,11 @@ .row-fluid:after { clear: both; } - .row-fluid [class*="span"] { + .row-fluid > [class*="span"] { float: left; margin-left: 2.564102564%; } - .row-fluid [class*="span"]:first-child { + .row-fluid > [class*="span"]:first-child { margin-left: 0; } .row-fluid .span1 { diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 61e5e3e588..7d987a56cc 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -205,11 +205,11 @@ a:hover { .row-fluid:after { clear: both; } -.row-fluid [class*="span"] { +.row-fluid > [class*="span"] { float: left; margin-left: 2.127659574%; } -.row-fluid [class*="span"]:first-child { +.row-fluid > [class*="span"]:first-child { margin-left: 0; } .row-fluid .span1 { @@ -1655,6 +1655,8 @@ table .span12 { } .btn.primary, .btn.primary:hover, +.btn.warning, +.btn.warning:hover, .btn.danger, .btn.danger:hover, .btn.success, @@ -1665,6 +1667,7 @@ table .span12 { color: #ffffff; } .btn.primary.active, +.btn.warning.active, .btn.danger.active, .btn.success.active, .btn.info.active { @@ -1694,6 +1697,30 @@ table .span12 { .btn.primary:active, .btn.primary.active { background-color: #003399 \9; } +.btn.warning { + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -ms-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(top, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); + border-color: #f89406 #f89406 #ad6704; + 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.warning:hover, +.btn.warning:active, +.btn.warning.active, +.btn.warning.disabled, +.btn.warning[disabled] { + background-color: #f89406; +} +.btn.warning:active, .btn.warning.active { + background-color: #c67605 \9; +} .btn.danger { background-color: #da4f49; background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); diff --git a/docs/base-css.html b/docs/base-css.html index b76ace1e24..5df63b917d 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1229,6 +1229,11 @@ For example, <code>section</code> should be wrapped as inline. .success Indicates a successful or positive action + + Warning + .warning + Indicates caution should be taken with this action + Danger .danger diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 95de45e093..433a18c885 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1153,6 +1153,11 @@ .success {{_i}}Indicates a successful or positive action{{/i}} + + {{_i}}Warning{{/i}} + .warning + {{_i}}Indicates caution should be taken with this action{{/i}} + {{_i}}Danger{{/i}} .danger diff --git a/less/buttons.less b/less/buttons.less index d5a4353b32..2bc457f652 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -9,6 +9,8 @@ // Set text color &.primary, &.primary:hover, + &.warning, + &.warning:hover, &.danger, &.danger:hover, &.success, @@ -19,6 +21,7 @@ color: @white } &.primary.active, + &.warning.active, &.danger.active, &.success.active, &.info.active { @@ -27,6 +30,10 @@ &.primary { .buttonBackground(@primaryButtonBackground, spin(@primaryButtonBackground, 20)); } + // Warning appears are orange + &.warning { + .buttonBackground(lighten(@orange, 15%), @orange); + } // Danger and error appear as red &.danger { .buttonBackground(#ee5f5b, #bd362f); diff --git a/less/mixins.less b/less/mixins.less index 804f834e56..545ccb9bad 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -212,10 +212,10 @@ .clearfix(); // Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7, thanks @dhg) - [class*="span"] { + > [class*="span"] { #fluidGridSystem > .gridColumn(@fluidGridGutterWidth); } - [class*="span"]:first-child { + > [class*="span"]:first-child { margin-left: 0; } // Default columns diff --git a/less/responsive.less b/less/responsive.less index 4a9fc6fb81..e9920251ea 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -184,6 +184,7 @@ background-image: none; } .navbar .container { + width: auto; padding: 0; } // Account for brand name