0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/docs/templates/pages/upgrading.mustache

86 lines
3.8 KiB
Plaintext
Raw Normal View History

2012-01-24 00:17:32 +01:00
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
2012-01-24 23:14:01 +01:00
<h1>{{_i}}Upgrading to Bootstrap 2{{/i}}</h1>
<p class="lead">{{_i}}Learn about significant changes and additions since v1.4 with this handy guide.{{/i}}</p>
2012-01-24 00:17:32 +01:00
</header>
2012-01-23 23:14:16 +01:00
<h2>Rough outline</h2>
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Docs completely overhauled{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Responsive thanks to new grid system{{/i}}</li>
<li>{{_i}}Now less marketing and more information{{/i}}</li>
<li>{{_i}}Extensive use of tables to share classes and elements of most components{{/i}}</li>
<li>{{_i}}Broken down into several pages for easier consumption{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Updated grid system, now only 12 columns{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Same great classes, but now only 12 columns{{/i}}</li>
<li>{{_i}}Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}New thumbnails (previously media grids){{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}<code>.media-grid</code> class has been changed to <code>.thumbnails</code>{{/i}}</li>
<li>{{_i}}Individual thumbnails now require <code>.thumbnail</code> class{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Updated forms{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Default form style is now stacked to use less CSS and add flexibility{{/i}}</li>
<li>{{_i}}Exact same markup is required for vertical or horizontal forms&mdash;just swap the classes{{/i}}</li>
<li>{{_i}}New form defaults for search, inline, vertical, and horizontal{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
<li>Updated tables
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Table classes made more consistent{{/i}}</li>
<li>{{_i}}Removed unused table color options (too much code for such little impact){{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
<li>Typography
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Right-aligned option for blockquotes if float: right;{{/i}}</li>
<li>{{_i}}<code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px{{/i}}</li>
<li>{{_i}}<code>h5</code> elements were dropped from 14px to 12px{{/i}}</li>
<li>{{_i}}<code>h6</code> elements were dropped from 13px to 11px{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Buttons{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Added button bar options{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Examples{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Fluid examples redone. <code>.fluid-container</code> now requires a <code>.sidebar-left</code> or <code>.sidebar-right</code> as well. Fluid sidebar element has a new class, <code>.fluid-sidebar</code>.{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Dropdown menus{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Updated the <code>.dropdown-menu</code> to tighten up spacing{{/i}}</li>
<li>{{_i}}Now requires you to add a <code>&lt;span class="caret"&gt;&lt;/span&gt;</code> to show the dropdown arrow{{/i}}</li>
<li>{{_i}}The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.{{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Navigation{{/i}}
2012-01-23 23:14:16 +01:00
<ul>
2012-01-24 23:14:01 +01:00
<li>{{_i}}Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code>&lt;ul&gt;</code>{{/i}}</li>
<li>{{_i}}New nav list component added that uses the same base class, <code>.nav</code>{{/i}}</li>
<li>{{_i}}Vertical tabs and pills have been added&mdash;just add <code>.stacked</code> to the <code>&lt;ul&gt;</code><{{/i}}/li>
<li>{{_i}}Pills were restyled to be less rounded by default{{/i}}</li>
<li>{{_i}}Pills now have dropdown menu support (they share the same markup and styles as tabs){{/i}}</li>
2012-01-23 23:14:16 +01:00
</ul>
</li>
</ul>
<!--
<li>
<ul>
<li></li>
</ul>
</li>
-->
</ul>