Skip to content

Releases: twbs/bootstrap

v2.0.2

18 Jul 00:05
@mdo mdo
Compare
Choose a tag to compare

Documentation updates

  • All docs pages now have distinct titles, such as Scaffolding · Twitter Bootstrap.
  • Updated the Apple touch icons (now black on black instead of the blue grid) and fixed the links to them in the docs.
  • Added new global styles docs section to the Scaffolding page.
    • Required use of HTML5 doctype
    • Overview of global typographic and links details
    • Mention of our embedded CSS reset via Normalize.css
  • Added version number to the download button on the docs homepage.
  • Updated progress bars section to simplify how the classes stack and more clearly indicate the available optional classes and styles.
  • Added a new example, SoundReady.fm, to the homepage
  • Added various sizes to the docs for button groups

Resolved bugs

  • Removed all IE7 hacks and floats from .input-prepend and .input-append, however, this requires you to ensure there is no whitespace in your code between .add-on and the input.
  • In .input-prepend and .input-append, added ability to use add-ons on both sides when you chain the selectors.
  • Updated lingering .btn-dark reference to .btn-inverse.
  • Fixed issue with content being cut off in .tab-content for tabbable sections.
  • Updated .navbar .container to use width: auto; to start and then reset the fixed widths via the #gridSystem mixin (it's a little dirty, but required to avoid adding another class).
  • Modal footer buttons are now aligned by their parent via text-align: right; instead of float: right on the button level. This was changed to allow the use of .pull-left and .pull-right to align buttons easily. Double check your button order with this change!
  • Fixed problem where default striped progress bar was green instead of blue.
  • Fixed CSS selector used for input and textarea grid sizes to properly apply the CSS (was input > .span* and now is input.span*).

New features

  • Horizontal dividers support added to nav lists
  • Added basic version of badges
  • Added visible/hidden classes for devices
  • Added support for buttons in input-prepend/append component
  • Added .navbar-fixed-bottom support
  • Added .dropup support for dropdown menus to pop them upward instead of downward (this is automatically done for the newly added fixed bottom navbar).
  • Added mixin for new image replacement technique
  • Added pause on hover for the carousel
  • Added tons of new variables for typography, buttons, forms, dropdowns, navbar, and more for the LESS pros out there. These variables have also been reflected on the Customize page.
  • Added new horizontal description list variation
  • Added .disabled class support to the pager component (also added a mention of this to the docs)
  • Added .well-large and .well-small classes for extending the well component

v2.0.1

18 Jul 00:05
@mdo mdo
Compare
Choose a tag to compare
  • Previously the docs called for use of .control-label in the examples, but the CSS didn't make clear use of it. This class is required for horizontal forms and has been reflected in the CSS.
  • We've tried our best to improve rendering of buttons and icons across all browsers. Some issues remain; Firefox throws an !importanton line-height for inputs, so that's the big one.
  • We refined the label component style to move away from uppercase.
  • Added the black button option, .btn-inverse.
  • Added a mini button class, .btn-mini.
  • We had to re-add the protocol, http: to the HTML5 schim because IE7-8 wouldn't recognize it, dropping some HTML5 support for those browsers and introducing major performance issues.
  • Resolved some issues with responsive layouts where media queries would overlap at 768px and 980px.
  • Rearranged Scaffolding docs page to split fixed and fluid grid systems.
  • Tons of docs updates for typos and language changes.

v2.0.0

18 Jul 00:05
@mdo mdo
Compare
Choose a tag to compare

Essentially an entire rewrite of the library—docs, CSS, and JavaScript. Adds optional responsive CSS for nearly all components.

Project changes

  • Docs: major updates across the board to general structure, examples, and code snippets. Also made responsive with new media queries.
  • Docs: all docs pages are now powered by Mustache templates and strings are wrapped in i18n tags for translation by the Twitter Translation Center. All changes to documentation must be done here and then compiled (similar to our CSS and LESS).
  • Repo directory structure: removed the compiled CSS from the root in favor of a large direct download link on the docs homepage. Compiled CSS is in /docs/assets/css/.
  • Docs and repo: one makefile, just type make in the Terminal and get updated docs and CSS.

Scaffolding

Grid system

  • Updated grid system, now only 12 columns instead of 16
  • Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more
  • Removed unused (by default) grid columns support for 17-24 columns

Responsive (media queries)

  • Media queries added for basic support across mobile and tablet devices
  • Responsive CSS is compiled separately, as bootstrap-responsive.css

Base CSS

Typography

  • h4 elements were dropped from 16px to 14px with a default line-height of 18px
  • h5 elements were dropped from 14px to 12px
  • h6 elements were dropped from 13px to 11px
  • Right-aligned option for blockquotes if float: right;

Code

  • New graphical style for <code>
  • Google Code Prettify styles updated (based on GitHub's gists)

Tables

  • Improved support for colspan and rowspan
  • Styles now restricted to new base class, .table
  • Table classes standardized with .table- required as a prefix
  • Removed unused table color options (too much code for such little impact)
  • Dropped support for TableSorter

Buttons

  • New classes for colors and sizes, all prefixed with .btn-
  • IE9: removed gradients and added rounded corners
  • Updated active state to make styling clearer in button groups (new) and look better with custom transition
  • New mixin, .buttonBackground, to set button gradients

Forms

  • Default form style is now vertical (stacked) to use less CSS and add greater flexibility
  • Form classes standardized with .form- required as a prefix
  • New built-in form defaults for search, inline, and horizontal forms
  • More flexible horizontal form markup with classes for all styling, including new optional class for the label
  • Form states: colors updated and customizable via new LESS variables

Icons, by Glyphicons

  • New Glyphicons Halflings icon set added in sprite form, in black and white
  • Simple markup required for an icon in tons of contexts: <i class="icon-cog"></>
  • Add another class, .icon-white, for white variation of the same icon

Components

Button groups and dropdowns

  • Two brand new components in 2.0: button groups and button dropdowns
  • Dependency: button dropdowns are built on button groups, and therefore require all their styles
  • Button groups, .btn-group, can be grouped one level higher with a button toolbar, .btn-toolbar

Navigation

  • Tabs and pills now require the use of a new base class, .nav, on their <ul>
  • New nav list variation added that uses the same base class, .nav
  • Vertical tabs and pills have been added—just add .nav-stacked to the <ul>
  • Pills were restyled to be less rounded by default
  • Pills now have dropdown menu support (they share the same markup and styles as tabs)

Navbar (formerly topbar)

  • Base class changed from .topbar to .navbar
  • Now supports static position (default behavior, not fixed) and fixed to the top of viewport via .navbar-fixed-top (previously only supported fixed)
  • Added vertical dividers to top-level nav
  • Improved support for inline forms in the navbar, which now require .navbar-form to properly scope styles to only the intended forms.
  • Navbar search form now requires use of the .navbar-search class and its input the use of .search-query. To position the search form, you must use .pull-left or .pull-right.
  • Added optional responsive markup for collapsing navbar contents for smaller resolutions and devices.

Dropdown menus

  • Updated the .dropdown-menu to tighten up spacing
  • Now requires you to add a <span class="caret"></span> to show the dropdown arrow
  • 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.

Labels

  • Label colors updated to match form state colors
  • Not only do they match graphically, but they are powered by the same new variables

Thumbnails

  • Formerly .media-grid, now just .thumbnails, we've thoroughly extended this component for more uses while maintaining overall simplicity out of the box.
  • Individual thumbnails now require .thumbnail class

Alerts

  • New base class: .alert instead of .alert-message
  • Class names standardized for other options, now all starting with .alert-
  • Redesigned base alert styles to combine the deafult alerts and block-level alerts into one
  • Block level alert class changed: .alert-block instead of .block-message

Progress bars

  • New in 2.0
  • Features multiple styles via classes, including striped and animated variations via CSS3

Miscellaneous components

  • Added documentation for the well component and the close icon (used in modals and alerts)

Javascript plugins

We're rewritten just about everything for our plugins, so head on over to the Javascript page to learn more.

Popovers

  • Child elements now properly namespaced: .title to .popover-title, .inner to .popover-inner, and .content to .popover-content.

New plugins

  • Collapse
  • Carousel
  • Typeahead

v1.4.0

18 Jul 00:04
@mdo mdo
Compare
Choose a tag to compare
  • Updated tables to make no border the default and add options for condensed and bordered versions
  • Updated form states to expand on error styles and provide warning and success variations
  • New javascript plugin for button states
  • Switched to strict mode for Javascript plugins
  • Added more data attribute controls to our plugins
  • Full list of 25+ issues fixed: https://github.com/twitter/bootstrap/issues?milestone=6&state=closed

v1.3.0

18 Jul 00:03
@mdo mdo
Compare
Choose a tag to compare

New features

  • Javascript plugins for modals, alerts, dropdowns, scrollspy, tabs, tooltips, and popovers that work with jQuery and Ender
  • Massively updated docs for both the main page and for the new javascript plugins
  • Inline labels for marking inline content with key visual flags
  • Media thumbnails
  • Breadcrumbs

Updated docs

  • Added complete javascript page with detailed documentation for how to use plugins
  • Three complete example pages of using Bootstrap, linked from main docs page with thumbnails
  • Added section for compiling Less, for guidelines on how to recompile Bootstrap with Less
  • Added section for customizing grid variables in Less to roll your own grid system
  • Added section for code for using pre and code tags
  • Added section for form field sizes that match grid column sizes

Key bug fixes and changes

  • Updated table styles to be just a tad bit more refined
  • Added new form input sizes based on the Bootstrap grid system (meaning now you can do input.span5 for a 280px-wide input)
  • Removed :focus states from :active links in Firefox
  • Fixed unqualified .clearfix in forms.less that added bottom margin to all containers
  • Updated .container() mixing to be .fixed-container() to prevent conflicts when compiling
  • Added focus states (either box-shadow or outline on :focus) to all buttons, links, and inputs
  • No longer require h3 in topbar, but still support for backwards compatibility

v1.2.0

18 Jul 00:03
@mdo mdo
Compare
Choose a tag to compare
  • Dropdowns refactored to be extensible (now work in ul.tabs)
  • Added HTML5 form support by generalizing the form selectors (e.g., input instead of input[type=text|password])
  • Gradients back in IE, but removed rounded corners in IE9 to prevent background bleed on buttons and alert messages
  • Simplified the grid CSS by removing the static .span1-16 classes in favor of CSS-style regex for column styles in the grid
  • Added .one-third and .two-thirds columns to the grid system
  • Fixed bug in disabled buttons where they received :active styles
  • Bug fixes

v1.1.1

18 Jul 00:03
@mdo mdo
Compare
Choose a tag to compare
  • Redesigned alerts to be more readable
  • Refactored buttons and alerts CSS to be simpler
  • Updated grid system to be more specific and not require .column or columns
  • Improved on specificity of CSS selectors by removing unnecessary tag and parent selectors
  • Miscellaneous updates to docs
  • Bug fixes

v1.1.0

18 Jul 00:02
@mdo mdo
Compare
Choose a tag to compare
  • Added support for IE7 and IE8
  • Added examples directory with first example usage of Bootstrap for a simple website
  • Syntax fixes for gradients and color-stops
  • Miscellaneous updates to docs
  • Bug fixes

v1.0.0

18 Jul 00:02
@mdo mdo
Compare
Choose a tag to compare

Initial release of Bootstrap! Includes only CSS and docs (JavaScript plugins not added until v1.3).