Commit b9105b98 authored by Mark Otto's avatar Mark Otto

move from downloads.html to customize.html to better match purpose of page,...

move from downloads.html to customize.html to better match purpose of page, fix up customize page layout to match other docs, link style refinement to jumbotrons
parent ee750bbc
...@@ -118,19 +118,41 @@ hr.soften { ...@@ -118,19 +118,41 @@ hr.soften {
line-height: 30px; line-height: 30px;
margin-bottom: 30px; margin-bottom: 30px;
} }
.jumbotron .btn-large {
font-size: 18px; /* Link styles (used on .masthead-links as well) */
font-weight: normal; .jumbotron a {
padding: 13px 24px; color: #fff;
margin-right: 10px; color: rgba(255,255,255,.5);
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.jumbotron a:hover {
color: #fff;
text-shadow: 0 0 10px rgba(255,255,255,.25);
}
/* Download button */
.masthead .btn {
padding: 14px 24px;
font-size: 24px;
font-weight: 200;
color: #fff; /* redeclare to override the `.jumbotron a` */
border: 0;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
-moz-border-radius: 6px; -moz-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
} }
.jumbotron .btn-large small { .masthead .btn:active {
font-size: 14px; -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
} }
/* Pattern overlay /* Pattern overlay
------------------------- */ ------------------------- */
.jumbotron .container { .jumbotron .container {
...@@ -167,22 +189,6 @@ hr.soften { ...@@ -167,22 +189,6 @@ hr.soften {
line-height: 1.25; line-height: 1.25;
} }
/* Drop borders on buttons, improve shadows */
.masthead .btn {
font-size: 24px;
padding: 14px 24px;
font-weight: 200;
border: 0;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
}
.masthead .btn:active {
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
}
/* Textual links in masthead */ /* Textual links in masthead */
.masthead-links { .masthead-links {
margin: 0; margin: 0;
...@@ -193,17 +199,6 @@ hr.soften { ...@@ -193,17 +199,6 @@ hr.soften {
padding: 0 10px; padding: 0 10px;
color: rgba(255,255,255,.25); color: rgba(255,255,255,.25);
} }
.masthead-links a {
color: #fff;
color: rgba(255,255,255,.5);
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.masthead-links a:hover {
color: #fff;
text-shadow: 0 0 10px rgba(255,255,255,.25);
}
/* Social proof buttons from GitHub & Twitter */ /* Social proof buttons from GitHub & Twitter */
.bs-docs-social { .bs-docs-social {
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
</div> </div>
<h2>Example</h2> <h2>Example</h2>
<p>An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p> <p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
<div class="bs-docs-example"> <div class="bs-docs-example">
<div class="dropdown clearfix"> <div class="dropdown clearfix">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
...@@ -140,26 +140,20 @@ ...@@ -140,26 +140,20 @@
<h2>Markup</h2> <h2>Markup</h2>
<p>Dropdowns require...</p> <p>Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then just create the menu.</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt; &lt;div class="dropdown"&gt;
&lt;li class="active"&gt;&lt;a href="#"&gt;Regular link&lt;/a&gt;&lt;/li&gt; &lt;!-- Link or button to toggle dropdown --&gt;
&lt;li class="dropdown" id="menu1"&gt; &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt;
&lt;a id="dLabel" role="button" class="dropdown-toggle" data-toggle="dropdown" href="#menu1"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
Dropdown &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
&lt;b class="caret"&gt;&lt;/b&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
&lt;/a&gt; &lt;li class="divider"&gt;&lt;/li&gt;
&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt; &lt;/div&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt; </pre>
&lt;li class="divider"&gt;&lt;/li&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
...
&lt;/ul&gt;</pre>
<hr class="bs-docs-separator"> <hr class="bs-docs-separator">
......
This diff is collapsed.
This diff is collapsed.
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
<li class=""> <li class="">
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class="active"> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p> <p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" >Download Bootstrap</a></p> <p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" >Download Bootstrap</a></p>
<ul class="masthead-links"> <ul class="masthead-links">
<li><a href="./download.html" >Customize</a></li> <li><a href="./extend.html" >Extend</a></li>
<li><a href="http://github.com/twitter/bootstrap" >GitHub project</a></li> <li><a href="http://github.com/twitter/bootstrap" >GitHub project</a></li>
<li>Version 2.1.0</li> <li>Version 2.1.0</li>
</ul> </ul>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
<li class="{{javascript}}"> <li class="{{javascript}}">
<a href="./javascript.html">{{_i}}Javascript{{/i}}</a> <a href="./javascript.html">{{_i}}Javascript{{/i}}</a>
</li> </li>
<li class="{{extend}}"> <li class="{{customize}}">
<a href="./extend.html">{{_i}}Extend{{/i}}</a> <a href="./customize.html">{{_i}}Customize{{/i}}</a>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
<h2>{{_i}}Example{{/i}}</h2> <h2>{{_i}}Example{{/i}}</h2>
<p>{{_i}}An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p> <p>{{_i}}Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p>
<div class="bs-docs-example"> <div class="bs-docs-example">
<div class="dropdown clearfix"> <div class="dropdown clearfix">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;"> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
...@@ -69,26 +69,20 @@ ...@@ -69,26 +69,20 @@
<h2>{{_i}}Markup{{/i}}</h2> <h2>{{_i}}Markup{{/i}}</h2>
<p>{{_i}}Dropdowns require...{{/i}}</p> <p>{{_i}}Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then just create the menu.{{/i}}</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt; &lt;div class="dropdown"&gt;
&lt;li class="active"&gt;&lt;a href="#"&gt;Regular link&lt;/a&gt;&lt;/li&gt; &lt;!-- Link or button to toggle dropdown --&gt;
&lt;li class="dropdown" id="menu1"&gt; &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt;
&lt;a id="dLabel" role="button" class="dropdown-toggle" data-toggle="dropdown" href="#menu1"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Action{{/i}}&lt;/a&gt;&lt;/li&gt;
{{_i}}Dropdown{{/i}} &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Another action{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;b class="caret"&gt;&lt;/b&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Something else here{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;/a&gt; &lt;li class="divider"&gt;&lt;/li&gt;
&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt; &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Separated link{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Action{{/i}}&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Another action{{/i}}&lt;/a&gt;&lt;/li&gt; &lt;/div&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Something else here{{/i}}&lt;/a&gt;&lt;/li&gt; </pre>
&lt;li class="divider"&gt;&lt;/li&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Separated link{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
...
&lt;/ul&gt;</pre>
<hr class="bs-docs-separator"> <hr class="bs-docs-separator">
......
This diff is collapsed.
This diff is collapsed.
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p> <p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.1.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p> <p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.1.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p>
<ul class="masthead-links"> <ul class="masthead-links">
<li><a href="./download.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Customize']);"{{/production}}>Customize</a></li> <li><a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>Extend</a></li>
<li><a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>GitHub project</a></li> <li><a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>GitHub project</a></li>
<li>Version 2.1.0</li> <li>Version 2.1.0</li>
</ul> </ul>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<a href="./javascript.html">Javascript</a> <a href="./javascript.html">Javascript</a>
</li> </li>
<li class=""> <li class="">
<a href="./extend.html">Extend</a> <a href="./customize.html">Customize</a>
</li> </li>
</ul> </ul>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment