From 6ed9912209c8ec3f4bb23fbf47a3fd2fe5036c9b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 8 Jul 2014 03:48:40 -0700 Subject: nuke the v2.x to v3.x migration docs --- docs/migration.html | 444 ---------------------------------------------------- 1 file changed, 444 deletions(-) delete mode 100644 docs/migration.html (limited to 'docs/migration.html') diff --git a/docs/migration.html b/docs/migration.html deleted file mode 100644 index 5a1e1a012..000000000 --- a/docs/migration.html +++ /dev/null @@ -1,444 +0,0 @@ ---- -layout: default -title: Migrating to v3.x -slug: migration -lead: "Guidance on how to upgrade from Bootstrap v2.x to v3.x with emphasis on major changes, what's new, and what's been removed." ---- - - - - -
-

Migrating from 2.x to 3.0

- -

Bootstrap 3 is not backwards compatible with v2.x. Use this section as a general guide to upgrading from v2.x to v3.0. For a broader overview, see what's new in the v3.0 release announcement.

- -

Major class changes

-

This table shows the style changes between v2.x and v3.0.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bootstrap 2.xBootstrap 3.0
.row-fluid.row
.span*.col-md-*
.offset*.col-md-offset-*
.brand.navbar-brand
.navbar .nav.navbar-nav
.nav-collapse.navbar-collapse
.nav-toggle.navbar-toggle
.btn-navbar.navbar-btn
.hero-unit.jumbotron
.icon-*.glyphicon .glyphicon-*
.btn.btn .btn-default
.btn-mini.btn-xs
.btn-small.btn-sm
.btn-large.btn-lg
.alert-error.alert-danger
.visible-phone.visible-xs
.visible-tablet.visible-sm
.visible-desktopSplit into .visible-md .visible-lg
.hidden-phone.hidden-xs
.hidden-tablet.hidden-sm
.hidden-desktopSplit into .hidden-md .hidden-lg
.input-block-level.form-control
.control-group.form-group
.control-group.warning .control-group.error .control-group.success.form-group.has-*
.checkbox.inline .radio.inline.checkbox-inline .radio-inline
.input-prepend .input-append.input-group
.add-on.input-group-addon
.img-polaroid.img-thumbnail
ul.unstyled.list-unstyled
ul.inline.list-inline
.muted.text-muted
.label.label .label-default
.label-important.label-danger
.text-error.text-danger
.table .error.table .danger
.bar.progress-bar
.bar-*.progress-bar-*
.accordion.panel-group
.accordion-group.panel .panel-default
.accordion-heading.panel-heading
.accordion-body.panel-collapse
.accordion-inner.panel-body
-
- -

What's new

-

We've added new elements and changed some existing ones. Here are the new or updated styles.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ElementDescription
Panels.panel .panel-default .panel-body .panel-title .panel-heading .panel-footer .panel-collapse
List groups.list-group .list-group-item .list-group-item-text .list-group-item-heading
Glyphicons.glyphicon
Jumbotron.jumbotron
Extra small grid (<768px).col-xs-*
Small grid (≥768px).col-sm-*
Medium grid (≥992px).col-md-*
Large grid (≥1200px).col-lg-*
Responsive utility classes (≥1200px).visible-lg .hidden-lg
Offsets.col-sm-offset-* .col-md-offset-* .col-lg-offset-*
Push.col-sm-push-* .col-md-push-* .col-lg-push-*
Pull.col-sm-pull-* .col-md-pull-* .col-lg-pull-*
Input height sizes.input-sm .input-lg
Input groups.input-group .input-group-addon .input-group-btn
Form controls.form-control .form-group
Button group sizes.btn-group-xs .btn-group-sm .btn-group-lg
Navbar text.navbar-text
Navbar header.navbar-header
Justified tabs / pills.nav-justified
Responsive images.img-responsive
Contextual table rows.success .danger .warning .active .info
Contextual panels.panel-success .panel-danger .panel-warning .panel-info
Modal.modal-dialog .modal-content
Thumbnail image.img-thumbnail
Well sizes.well-sm .well-lg
Alert links.alert-link
-
- - -

What's removed

-

The following elements have been dropped or changed in v3.0.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ElementRemoved from 2.x3.0 Equivalent
Form actions.form-actionsN/A
Search form.form-searchN/A
Form group with info.control-group.infoN/A
Fixed-width input sizes.input-mini .input-small .input-medium .input-large .input-xlarge .input-xxlargeUse .form-control and the grid system instead.
Block level form input.input-block-levelNo direct equivalent, but forms controls are similar.
Inverse buttons.btn-inverseN/A
Fluid row.row-fluid.row (no more fixed grid)
Controls wrapper.controlsN/A
Controls row.controls-row.row or .form-group
Navbar inner.navbar-innerN/A
Navbar vertical dividers.navbar .divider-verticalN/A
Dropdown submenu.dropdown-submenuN/A
Tab alignments.tabs-left .tabs-right .tabs-belowN/A
Pill-based tabbable area.pill-content.tab-content
Pill-based tabbable area pane.pill-pane.tab-pane
Nav lists.nav-list .nav-headerNo direct equivalent, but list groups and .panel-groups are similar.
Inline help for form controls.help-inlineNo exact equivalent, but .help-block is similar.
Non-bar-level progress colors.progress-info .progress-success .progress-warning .progress-dangerUse .progress-bar-* on the .progress-bar instead.
-
- - -

Additional notes

-

Other changes in v3.0 are not immediately apparent. Base classes, key styles, and behaviors have been adjusted for flexibility and our mobile first approach. Here's a partial list:

- -

For more information on upgrading to v3.0, and code snippets from the community, see Bootply.

-
-- cgit v1.2.3