]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch '3.0.0-wip' of https://github.com/cvrebert/bootstrap into cvrebert-3...
authorMark Otto <otto@github.com>
Thu, 20 Dec 2012 07:18:02 +0000 (23:18 -0800)
committerMark Otto <otto@github.com>
Thu, 20 Dec 2012 07:18:02 +0000 (23:18 -0800)
Conflicts:
docs/assets/css/bootstrap.css
less/mixins.less

1  2 
docs/assets/css/bootstrap.css
docs/css.html
docs/templates/pages/css.mustache
less/buttons.less
less/forms.less
less/mixins.less

index e8c2b1fc207c0e3602bb2ea4ac60c9bd89af7f8f,06384d3649592f93402183aad658a8f17411ea61..83fec25aeb5e0ce5de6e6e2135d91680b9fc1bf4
@@@ -2583,8 -2818,10 +2588,9 @@@ button.close 
  }
  
  .btn.disabled,
- .btn[disabled] {
+ .btn[disabled],
+ fieldset[disabled] .btn {
    cursor: default;
 -  background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
diff --cc docs/css.html
Simple merge
Simple merge
index d35b7f90118e451676e1604f211f70ea04665c9e,4af87c5798655f875aec977b4999897405c51357..14de3529ca0d08d801d78a42235ec99699b29651
      .tab-focus();
    }
  
 -  // Active state
 -  &.active,
 -  &:active {
 -    background-image: none;
 +  &:hover {
 +    text-decoration: none;
 +  }
 +
 +  &:active,
 +  &.active {
      outline: 0;
 -    .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
 +    background-image: none;
 +    .box-shadow(~"inset 0 3px 5px rgba(0,0,0,.15), 0 1px 0 rgba(255,255,255,.1)");
    }
  
 -  // Disabled state
    &.disabled,
-   &[disabled] {
+   &[disabled],
+   fieldset[disabled] & {
      cursor: default;
 -    background-image: none;
      .opacity(65);
      .box-shadow(none);
    }
diff --cc less/forms.less
Simple merge
index bdd8cf1e044e0d53eed9a631b6e469b050a4d84b,5e323cc3eadd528f6c7c7adda4e98749f8de3c17..ebfce5f912d50421edae8419760bd6a4ee2c8a7a
  
  // Button backgrounds
  // ------------------
 -.buttonBackground(@startColor, @endColor, @text-color: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
 +.buttonBackground(@background-start, @background-end, @text-color: #fff, @text-shadow: 0 -1px 0 rgba(0,0,0,.25)) {
    color: @text-color;
 -  text-shadow: @textShadow;
 -  #gradient > .vertical(@startColor, @endColor);
 -  border-color: @endColor @endColor darken(@endColor, 15%);
 -  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
 -  .reset-filter();
 -
 -  // in these cases the gradient won't cover the background, so we override
 -  &:hover, &:active, &.active, &.disabled, &[disabled], fieldset[disabled] & {
 +  text-shadow: @text-shadow;
 +  #gradient > .vertical(@background-start, @background-end);
 +  border-color: darken(@background-end, 5%);
 +
 +  &:hover,
 +  &:active,
 +  &.active {
      color: @text-color;
-     background-position: 0 -15px;
 -    background-color: @endColor;
 +    background-color: @background-end;
++    background-position: 0 -15px;
    }
 -
 -  // IE8 can't handle box-shadow to show active, so we darken a bit ourselves
    &:active,
    &.active {
 -    background-color: darken(@endColor, 10%) e("\9");
 +    background-image: none;
    }
  }