]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch 'bartt-master' into 2.0.3-wip
authorMark Otto <markotto@twitter.com>
Sat, 24 Mar 2012 03:56:48 +0000 (20:56 -0700)
committerMark Otto <markotto@twitter.com>
Sat, 24 Mar 2012 03:56:48 +0000 (20:56 -0700)
Conflicts:
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/button-groups.less

1  2 
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/button-groups.less
less/forms.less
less/mixins.less

index cd93364e479919eef559d53136d0b8f84820a972,03259655f369841c09865f73de6cecc3e597ae52..954f4d3e1668ebc1dbeaff18cf93151cdf66d279
Binary files differ
index 634ea7a53b48cf953e793331cb6d0d94a8694de1,624f599ef0d695d68978e07b361778ea240c7e5b..b1417228efd1cc5fdca2bc50a8d8fb44fce73407
@@@ -2382,32 -2376,21 +2382,32 @@@ input[type="submit"].btn.btn-mini 
    padding-left: 12px;
    padding-right: 12px;
  }
 -.btn-group.open {
 -  *z-index: 1000;
 -}
 -.btn-group.open .dropdown-menu {
 -  display: block;
 -  margin-top: 1px;
 -  -webkit-border-radius: 5px;
 -  -moz-border-radius: 5px;
 -  border-radius: 5px;
 -}
  .btn-group.open .dropdown-toggle {
    background-image: none;
-   -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-   -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-   box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
 -  -webkit-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
 -  -moz-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
 -  box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
++  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
++  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
++  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) 0 1px 2px rgba(0, 0, 0, 0.05);
 +}
 +.btn-group.open .btn.dropdown-toggle {
 +  background-color: #e6e6e6;
 +}
 +.btn-group.open .btn-primary.dropdown-toggle {
 +  background-color: #0055cc;
 +}
 +.btn-group.open .btn-warning.dropdown-toggle {
 +  background-color: #f89406;
 +}
 +.btn-group.open .btn-danger.dropdown-toggle {
 +  background-color: #bd362f;
 +}
 +.btn-group.open .btn-success.dropdown-toggle {
 +  background-color: #51a351;
 +}
 +.btn-group.open .btn-info.dropdown-toggle {
 +  background-color: #2f96b4;
 +}
 +.btn-group.open .btn-inverse.dropdown-toggle {
 +  background-color: #222222;
  }
  .btn .caret {
    margin-top: 7px;
index d28e5bbad9854ef5c8ccf32a08d46e8a70f7d8fe,d4006f8a0bb7505940b41004e83e43336ecf7294..81961123d33b21b964ded8523484464123f3d788
  }
  
  .btn-group.open {
 -  // IE7's z-index only goes to the nearest positioned ancestor, which would
 -  // make the menu appear below buttons that appeared later on the page
 -  *z-index: @zindexDropdown;
 -
 -  // Reposition menu on open and round all corners
 -  .dropdown-menu {
 -    display: block;
 -    margin-top: 1px;
 -    .border-radius(5px);
 -  }
  
 +  // The clickable button for toggling the menu
 +  // Remove the gradient and set the same inset shadow as the :active state
    .dropdown-toggle {
      background-image: none;
-     @shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
-     .box-shadow(@shadow);
 -    .box-shadow(inset 0 1px 6px rgba(0,0,0,.15),
++    .box-shadow(inset 0 2px 4px rgba(0,0,0,.15),
+                 0 1px 2px rgba(0,0,0,.05));
    }
 +
 +  // Keep the hover's background when dropdown is open
 +  .btn.dropdown-toggle {
 +    background-color: @btnBackgroundHighlight;
 +  }
 +  .btn-primary.dropdown-toggle {
 +    background-color: @btnPrimaryBackgroundHighlight;
 +  }
 +  .btn-warning.dropdown-toggle {
 +    background-color: @btnWarningBackgroundHighlight;
 +  }
 +  .btn-danger.dropdown-toggle {
 +    background-color: @btnDangerBackgroundHighlight;
 +  }
 +  .btn-success.dropdown-toggle {
 +    background-color: @btnSuccessBackgroundHighlight;
 +  }
 +  .btn-info.dropdown-toggle {
 +    background-color: @btnInfoBackgroundHighlight;
 +  }
 +  .btn-inverse.dropdown-toggle {
 +    background-color: @btnInverseBackgroundHighlight;
 +  }
  }
  
 +
  // Reposition the caret
  .btn .caret {
    margin-top: 7px;
diff --cc less/forms.less
Simple merge
Simple merge