From b6945a21682042948543fd6809976d06ad234384 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 19 Dec 2012 21:37:16 -0800 Subject: [PATCH] Rename .hero-unit to .jumbotron becaue fuck dashes in filenames and sports metaphors are cooler than ad ones --- docs/assets/css/bootstrap.css | 6 +++--- docs/components.html | 6 +++--- docs/templates/pages/components.mustache | 6 +++--- less/bootstrap.less | 2 +- less/{hero-unit.less => jumbotron.less} | 10 +++++----- less/variables.less | 8 ++++---- 6 files changed, 19 insertions(+), 19 deletions(-) rename less/{hero-unit.less => jumbotron.less} (74%) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 299049115a..0968ee6213 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; } diff --git a/docs/components.html b/docs/components.html index 873bff63d9..3c070e2e47 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1610,17 +1610,17 @@

Typographic components

-

Hero unit

+

Jumbotron

A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.

-
+

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more

-<div class="hero-unit">
+<div class="jumbotron">
   <h1>Heading</h1>
   <p>Tagline</p>
   <p>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index f9fbaf4cbb..a97a97b205 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1542,17 +1542,17 @@
             

Typographic components

-

Hero unit

+

Jumbotron

A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.

-
+

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more

-<div class="hero-unit">
+<div class="jumbotron">
   <h1>Heading</h1>
   <p>Tagline</p>
   <p>
diff --git a/less/bootstrap.less b/less/bootstrap.less
index 1ed13496ba..68d595c2c1 100644
--- a/less/bootstrap.less
+++ b/less/bootstrap.less
@@ -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
diff --git a/less/hero-unit.less b/less/jumbotron.less
similarity index 74%
rename from less/hero-unit.less
rename to less/jumbotron.less
index 1e61033ad0..add4319691 100644
--- a/less/hero-unit.less
+++ b/less/jumbotron.less
@@ -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 {
diff --git a/less/variables.less b/less/variables.less
index 4841d485fc..058792eff9 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -199,12 +199,12 @@
 @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