]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip
authorMark Otto <markdotto@gmail.com>
Wed, 18 Jan 2012 07:19:21 +0000 (23:19 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 18 Jan 2012 07:19:21 +0000 (23:19 -0800)
Conflicts:
bootstrap.css
bootstrap.min.css
docs/javascript.html
lib/accordion.less

1  2 
bootstrap.css
bootstrap.min.css
docs/base-css.html
docs/javascript.html
lib/accordion.less

diff --cc bootstrap.css
index acd0ae5c88129b30a43c65e3e34268cbf33893f0,8b82efd57939778bef83d75a4284855cc424b087..9d3f9d9b6cfbb1137e5feadb5008214abe65bde4
@@@ -6,7 -6,7 +6,7 @@@
   * http://www.apache.org/licenses/LICENSE-2.0
   *
   * Designed and built with all the love in the world @twitter by @mdo and @fat.
-  * Date: Mon Jan 16 16:01:19 PST 2012
 - * Date: Sun Jan 15 21:58:40 PST 2012
++ * Date: Tue Jan 17 23:17:49 PST 2012
   */
  html, body {
    margin: 0;
@@@ -2939,28 -2939,23 +2939,25 @@@ a.thumbnail:hover 
  .accordion {
    padding: 0;
  }
-   margin-bottom: 9px;
-   background-color: #eee;
 +.accordion-group {
++  background-color: #f5f5f5;
 +  -webkit-border-radius: 4px;
 +  -moz-border-radius: 4px;
 +  border-radius: 4px;
 +}
  .accordion-heading {
-   display: block;
-   padding: 9px 15px;
 -  padding: 5px 10px;
 -  border: 1px solid #ddd;
++  padding: 8px 15px;
+   border-bottom: 0;
  }
  .accordion-body {
-   display: none;
-   padding: 15px;
-   margin-left: 0;
-   border-top: 1px solid #ddd;
-   -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-   -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
 -  margin: 0 0 1px 0;
 -  border-bottom: 1px solid #ddd;
++  margin: 0 0 2px;
+ }
+ .accordion-inner {
 -  padding: 10px;
 -  margin-bottom: 0;
 -  border: 1px solid #ddd;
 -  border-bottom: 0;
++  padding: 9px 15px;
++  border-top: 1px solid #e5e5e5;
  }
  .accordion .in {
-   display: block;
+   margin-bottom: 9px;
  }
  .carousel {
    position: relative;
index 93b85abc1a57e59668ba2f2e57af847775584597,a3e2b354607d68567ce3d140911a64493d85e8f1..09ecc6663a4ffa10e2ba8dd5bbab8242278e0e83
@@@ -514,10 -514,10 +514,11 @@@ a.thumbnail:hover{border-color:#0088cc;
  .progress.info .bar{background-color:#339bb9;background-image:-khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);}
  .progress.info.striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
  .accordion{padding:0;}
- .accordion-group{margin-bottom:9px;background-color:#eee;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
- .accordion-heading{display:block;padding:9px 15px;}
- .accordion-body{display:none;padding:15px;margin-left:0;border-top:1px solid #ddd;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25);}
- .accordion .in{display:block;}
 -.accordion-heading{padding:5px 10px;border:1px solid #ddd;border-bottom:0;}
 -.accordion-body{margin:0 0 1px 0;border-bottom:1px solid #ddd;}
 -.accordion-inner{padding:10px;margin-bottom:0;border:1px solid #ddd;border-bottom:0;}
++.accordion-group{background-color:#f5f5f5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
++.accordion-heading{padding:8px 15px;border-bottom:0;}
++.accordion-body{margin:0 0 2px;}
++.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;}
+ .accordion .in{margin-bottom:9px;}
  .carousel{position:relative;line-height:1;}
  .carousel-inner{overflow:hidden;width:100%;position:relative;}
  .carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;}
Simple merge
index 543578426600d38cb9c8b14d8e89a0cfb64c57c3,b582b13954bea9920d9b542a2bfabe75291debf0..34dfc1c4b6eebaa64e8c42e31e8ba2dc5dcaaf2c
@@@ -1079,43 -1079,39 +1079,47 @@@ $('#my-alert').bind('closed', function 
          <div class="span9 columns">
            <h2>Example accordion</h2>
            <p>Using the collapse plugin, we built a simple accordion style widget:</p>
-           <div class="accordion">
++        
++          <div class="accordion2" id="accordion2">
 +            <div class="accordion-group">
-               <a class="accordion-heading" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
-                 Collapsible group #1
-               </a>
-               <div class="accordion-body collapse in" id="collapseOne">
-                 <h5>Lorem ipsum</h5>
-                 <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.</p>
-                 <p>Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.</p>
-                 <p>Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</p>
++              <div class="accordion-heading">
++                <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
++                  Collapsible Group Item #1
++                </a>
++              </div>
++              <div id="collapseOne" class="accordion-body collapse in">
++                <div class="accordion-inner">
++                  Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
++                </div>
 +              </div>
 +            </div>
 +            <div class="accordion-group">
-               <a class="accordion-heading" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
-                 Collapsible group #2
-               </a>
-               <div class="accordion-body collapse" id="collapseTwo">
-                 <h5>Lorem ipsum</h5>
-                 <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.</p>
-                 <p>Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.</p>
-                 <p>Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</p>
++              <div class="accordion-heading">
++                <a data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
++                  Collapsible Group Item #2
++                </a>
++              </div>
++              <div id="collapseTwo" class="accordion-body collapse">
++                <div class="accordion-inner">
++                  Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
++                </div>
 +              </div>
 +            </div>
 +            <div class="accordion-group">
-               <a class="accordion-heading" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
-                 Collapsible group #3
-               </a>
-               <div class="accordion-body collapse" id="collapseThree">
-                 <h5>Lorem ipsum</h5>
-                 <p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.</p>
-                 <p>Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.</p>
-                 <p>Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</p>
++              <div class="accordion-heading">
++                <a data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
++                  Collapsible Group Item #3
++                </a>
++              </div>
++              <div id="collapseThree" class="accordion-body collapse">
++                <div class="accordion-inner">
++                  Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
++                </div>
 +              </div>
 +            </div>
 +          </div>
  
 -          <dl class="accordion" id="accordion">
 -            <dt class="accordion-heading">
 -              <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
 -                Collapsible Group Item #1
 -              </a>
 -            </dt>
 -            <dd id="collapseOne" class="accordion-body collapse in">
 -              <p class="accordion-inner">
 -              Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
 -              </p>
 -            </dd>
 -            <dt class="accordion-heading">
 -              <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
 -                Collapsible Group Item #2
 -              </a>
 -            </dt>
 -            <dd id="collapseTwo" class="accordion-body collapse">
 -              <p class="accordion-inner">
 -              Blog +1 eiusmod, williamsburg chambray craft beer brooklyn. Trust fund squid whatever, sunt hoodie skateboard mustache 3 wolf moon art party wes anderson ad leggings officia. Skateboard keytar incididunt gluten-free retro sartorial, single-origin coffee et viral. Art party blog sunt, readymade fugiat 8-bit aesthetic ex echo park fanny pack keytar. Thundercats sustainable labore, mustache adipisicing tattooed dolore aute occaecat velit 8-bit raw denim letterpress. In occaecat freegan, next level single-origin coffee chambray excepteur nihil duis exercitation adipisicing ex sartorial twee squid. You probably haven't heard of them fugiat ea retro eiusmod quis cosby sweater, +1 fap sapiente biodiesel banksy.
 -              </p>
 -            </dd>
 -            <dt class="accordion-heading">
 -              <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
 -                Collapsible Group Item #3
 -              </a>
 -            </dt>
 -            <dd id="collapseThree" class="accordion-body collapse">
 -              <p class="accordion-inner">
 -              Tempor gentrify pariatur nihil salvia, irony synth incididunt odio commodo brunch aute. Four loko est vice echo park wes anderson jean shorts, tempor ea vero locavore. Seitan DIY dolore readymade williamsburg viral. Dolor fap master cleanse delectus, ad butcher labore duis vice mollit cillum exercitation eu banh mi. Austin banksy 3 wolf moon locavore sed, helvetica next level VHS you probably haven't heard of them ethical odio. Incididunt locavore minim, do seitan consequat qui thundercats labore before they sold out retro laborum. Esse twee readymade laboris fap vice, voluptate DIY.
 -              </p>
 -            </dd>
 -          </dl>
++          
            <hr>
            <h2>Using bootstrap-collapse.js</h2>
            <p>Enable via javascript:</p>
index 25e8fec631d128bfdcb69e1d0a62e9320f63e725,7bd0b8278edb1a7eae9ffd08f70e6ef0793dad7f..b7542b18f275b7b613a07143e08213d34668bb28
@@@ -2,24 -2,27 +2,27 @@@
  // ---------
  
  .accordion {
--  padding: 0;
++  margin-bottom: @baseLineHeight;
  }
-   margin-bottom: @baseLineHeight / 2;
-   background-color: #eee;
 +.accordion-group {
++  background-color: #f5f5f5;
 +  .border-radius(4px);
 +}
  .accordion-heading {
-   display: block;
-   padding: 9px 15px;
 -  padding: 5px 10px;
 -  border: 1px solid #ddd;
++  padding: 8px 15px;
+   border-bottom: 0;
  }
  .accordion-body {
-   display: none;
-   padding: 15px;
-   margin-left: 0;
-   border-top: 1px solid #ddd;
-   .box-shadow(inset 0 1px 0 rgba(255,255,255,.25));
 -  margin: 0 0 1px 0;
 -  border-bottom: 1px solid #ddd;
++  margin: 0 0 2px;
  }
 -  padding: 10px;
 -  margin-bottom: 0;
 -  border: 1px solid #ddd;
 -  border-bottom: 0;
+ .accordion-inner {
++  padding: 9px 15px;
++  border-top: 1px solid #e5e5e5;
+ }
  .accordion .in {
-   display: block;
+   margin-bottom: @baseLineHeight / 2;
  }