]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename .hero-unit to .jumbotron becaue fuck dashes in filenames and sports metaphors...
authorMark Otto <otto@github.com>
Thu, 20 Dec 2012 05:37:16 +0000 (21:37 -0800)
committerMark Otto <otto@github.com>
Thu, 20 Dec 2012 05:37:16 +0000 (21:37 -0800)
docs/assets/css/bootstrap.css
docs/components.html
docs/templates/pages/components.mustache
less/bootstrap.less
less/jumbotron.less [moved from less/hero-unit.less with 74% similarity]
less/variables.less

index 299049115aac2c507af15da11ac119d4616b80ff..0968ee62137556ef0a768ff66d3189f2897d9840 100644 (file)
@@ -4974,7 +4974,7 @@ a.badge:hover {
   margin-bottom: 0;
 }
 
-.hero-unit {
+.jumbotron {
   padding: 60px;
   margin-bottom: 30px;
   font-size: 18px;
@@ -4985,7 +4985,7 @@ a.badge:hover {
   border-radius: 6px;
 }
 
-.hero-unit h1 {
+.jumbotron h1 {
   margin-bottom: 0;
   font-size: 60px;
   line-height: 1;
@@ -4993,7 +4993,7 @@ a.badge:hover {
   color: inherit;
 }
 
-.hero-unit li {
+.jumbotron li {
   line-height: 30px;
 }
 
index 873bff63d9b10e6f812cdd911cf7f2a95d736294..3c070e2e4749b80b1a8d222ae6e32594b99cc716 100644 (file)
             <h1>Typographic components</h1>
           </div>
 
-          <h2>Hero unit</h2>
+          <h2>Jumbotron</h2>
           <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p>
           <div class="bs-docs-example">
-            <div class="hero-unit">
+            <div class="jumbotron">
               <h1>Hello, world!</h1>
               <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
               <p><a class="btn btn-primary btn-large">Learn more</a></p>
             </div>
           </div>
 <pre class="prettyprint linenums">
-&lt;div class="hero-unit"&gt;
+&lt;div class="jumbotron"&gt;
   &lt;h1&gt;Heading&lt;/h1&gt;
   &lt;p&gt;Tagline&lt;/p&gt;
   &lt;p&gt;
index f9fbaf4cbb7afcd70ac3784b6962472a2cb2d803..a97a97b205f6a76e88dd41bb429d0a223635eeba 100644 (file)
             <h1>Typographic components</h1>
           </div>
 
-          <h2>Hero unit</h2>
+          <h2>Jumbotron</h2>
           <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p>
           <div class="bs-docs-example">
-            <div class="hero-unit">
+            <div class="jumbotron">
               <h1>Hello, world!</h1>
               <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
               <p><a class="btn btn-primary btn-large">Learn more</a></p>
             </div>
           </div>
 <pre class="prettyprint linenums">
-&lt;div class="hero-unit"&gt;
+&lt;div class="jumbotron"&gt;
   &lt;h1&gt;Heading&lt;/h1&gt;
   &lt;p&gt;Tagline&lt;/p&gt;
   &lt;p&gt;
index 1ed13496ba531349e1b092e5f683536d2bfb664f..68d595c2c1a8823a10476f1c466e34ac5b18b200 100644 (file)
@@ -56,7 +56,7 @@
 @import "progress-bars.less";
 @import "accordion.less";
 @import "carousel.less";
-@import "hero-unit.less";
+@import "jumbotron.less";
 
 // Utility classes
 @import "utilities.less"; // Has to be last to override when necessary
similarity index 74%
rename from less/hero-unit.less
rename to less/jumbotron.less
index 1e61033ad03dee9bec69d30ac5ce3973a89ed736..add4319691da4149b8c1fb545ee11e38cc5cb9fb 100644 (file)
@@ -1,22 +1,22 @@
 //
-// Hero unit
+// Jumbotron
 // --------------------------------------------------
 
 
-.hero-unit {
+.jumbotron {
   padding: 60px;
   margin-bottom: 30px;
   font-size: 18px;
   font-weight: 200;
   line-height: @line-height-base * 1.5;
-  color: @hero-lead-color;
-  background-color: @hero-background;
+  color: @jumbotron-lead-color;
+  background-color: @jumbotron-background;
   border-radius: 6px;
   h1 {
     margin-bottom: 0;
     font-size: 60px;
     line-height: 1;
-    color: @hero-heading-color;
+    color: @jumbotron-heading-color;
     letter-spacing: -1px;
   }
   li {
index 4841d485fcfe4ede6caf2ffa427e2f0b95663fdf..058792eff9b733d0702522bb0f203b35dba4362e 100644 (file)
 @pagination-border:                    #ddd;
 
 
-// Hero unit
+// Jumbotron
 // -------------------------
 
-@hero-background:              @grayLighter;
-@hero-heading-color:            inherit;
-@hero-lead-color:               inherit;
+@jumbotron-background:           @grayLighter;
+@jumbotron-heading-color:        inherit;
+@jumbotron-lead-color:           inherit;
 
 
 // Form states and alerts