forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 5
Upcoming 3.0 changes
mdo edited this page Dec 3, 2012
·
15 revisions
While our last major version bump (2.0) was a complete rewrite of the docs, CSS, and JavaScript, the move to 3.0 is not quite as ambitious. This is an ongoing document to identify the changes we'll be making along the way.
Note: ❑ indicates incomplete tasks.
- Consolidated the Scaffolding and Base CSS pages into a new CSS page. Helps simplify where to find CSS-related things and removes a bunch of overhead in the docs.
- ❑ Add full gallery showcase page to expand on homepage highlights.
- ❑ Add variables to dictate page titles for docs pages (rather than abstract from file name). Would improve capitalization, enable more accurate titles, etc.
-
Dropped support for IE7. Removed all
*hacks, such as*zoom: 1;, and other IE7-specific lines of CSS. -
Dropped support for Firefox 3.6. Removed
-moz-box-shadowinstances and button inner padding hacks. -
All variables now use dashes instead of camelCase. For example, it's now
@body-backgroundinstead of@bodyBackground. -
Responsive CSS is no longer separate. All responsive features are now compiled into the core
bootstrap.cssfile. Separate files are no longer required, and have thus been removed. -
Removed all color variables (e.g.,
@blue,@orange, etc). New, more meaningful variables are on their way (such as@state-warning-text). -
Removed
.border-radius()and.border-*-*-radiusmixins. As only Android 2.1, iOS 3.2, and older desktop browsers require a prefixed version, we've removed the base mixin. Since we no longer require prefixes for independent corners, we've dropped those mixins as well. Mixins for a single side, however, are still in use. -
Removed layouts.less. Since it only held styles
.containerand.container-fluid, and the fluid container has been removed (see next section), we move the default.containerstyles togrid.less. - ❑ Standardize use of
.*-importantand.*-dangerclasses. Includes buttons, labels, badges, text, alerts. and progress bars. - ❑ Update clearfix docs to reflect CSS changes.
- Dropped all things fluid. We removed the fluid grid system, fluid container, and fluid layout.
-
Overhauled default grid system. Now uses percentage widths, padding, and
box-sizing: border-boxinstead of pixel widths and margins. Nesting and offsets remain the same. - Removed dedicated table grid system classes.
-
.containernow usesmax-widthinstead ofwidth. Helps resolve some issues with containers in components like navbars.
- Dropped the
@altFontFamilyvariable.
-
Updated box modal for inputs. Switched to
box-sizing: border-box;andwidth: 100%;by default for all textual inputs. This means you'll need to specify a size for inputs, whereas before 3.0 inputs had a set width (around 220px) to start. - ❑ Allow form field states to apply to individual inputs.
- Converted to Glyphicons v1.7 @font-face, dropping the old PNGs.
- ❑ Refactor to allow dropdowns within button groups
- ❑ Separate classes for regular button dropdown and segmented button dropdown
- ❑ Consolidate down to a single component with a modifier.
- ❑ Convert class to
.jumbotron.
-
Removed the
.nav-listoption to simplify nav offerings. - ❑ Instead,
.nav-stackedwill be a modifier class for tabs and pills to achieve virtually the same component.
-
Dropped the
.thumbnailsmeta component. Instead of special HTML and CSS for grid sizing, just use the grid system itself. - Individual
.thumbnailstyles are still available, but for sizing, require a parent with a setwidth(e.g., grid columns).