diff --git a/LICENSE b/LICENSE index 8d94aa9ac9..f4c52d6a4b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2011-2014 Twitter, Inc +Copyright (c) 2011-2015 Twitter, Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 0d8488f1b5..372f72b807 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # [Bootstrap](http://getbootstrap.com) -[](http://badge.fury.io/bo/bootstrap) -[](http://badge.fury.io/js/bootstrap) -[](https://travis-ci.org/twbs/bootstrap) -[](https://david-dm.org/twbs/bootstrap#info=devDependencies) + +[](https://www.npmjs.com/package/bootstrap) +[](https://travis-ci.org/twbs/bootstrap) +[](https://david-dm.org/twbs/bootstrap#info=devDependencies) [](https://saucelabs.com/u/bootstrap) Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thornton](https://twitter.com/fat), and maintained by the [core team](https://github.com/orgs/twbs/people) with the massive support and involvement of the community. @@ -39,8 +39,10 @@ Within the download you'll find the following directories and files, logically g bootstrap/ ├── css/ │ ├── bootstrap.css +│ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── bootstrap-theme.css +│ ├── bootstrap-theme.css.map │ └── bootstrap-theme.min.css ├── js/ │ ├── bootstrap.js @@ -49,10 +51,11 @@ bootstrap/ ├── glyphicons-halflings-regular.eot ├── glyphicons-halflings-regular.svg ├── glyphicons-halflings-regular.ttf - └── glyphicons-halflings-regular.woff + ├── glyphicons-halflings-regular.woff + └── glyphicons-halflings-regular.woff2 ``` -We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). Fonts from Glyphicons are included, as is the optional Bootstrap theme. +We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/chrome-developer-tools/docs/css-preprocessors) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme. @@ -126,4 +129,4 @@ For transparency into our release cycle and in striving to maintain backward com ## Copyright and license -Code and documentation copyright 2011-2014 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE). +Code and documentation copyright 2011-2015 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE). diff --git a/dist/fonts/glyphicons-halflings-regular.woff2 b/dist/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000000..64539b54c3 Binary files /dev/null and b/dist/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 0403c2c336..22155b0f68 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -19,7 +19,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: transition.js v3.3.1 * http://getbootstrap.com/javascript/#transitions * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -79,7 +79,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: alert.js v3.3.1 * http://getbootstrap.com/javascript/#alerts * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -174,7 +174,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: button.js v3.3.1 * http://getbootstrap.com/javascript/#buttons * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -291,7 +291,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: carousel.js v3.3.1 * http://getbootstrap.com/javascript/#carousel * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -529,7 +529,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: collapse.js v3.3.1 * http://getbootstrap.com/javascript/#collapse * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -741,7 +741,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: dropdown.js v3.3.1 * http://getbootstrap.com/javascript/#dropdowns * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -903,7 +903,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: modal.js v3.3.1 * http://getbootstrap.com/javascript/#modals * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -1229,7 +1229,7 @@ if (typeof jQuery === 'undefined') { * http://getbootstrap.com/javascript/#tooltip * Inspired by the original jQuery.tipsy by Jason Frame * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -1671,18 +1671,12 @@ if (typeof jQuery === 'undefined') { function Plugin(option) { return this.each(function () { - var $this = $(this) - var data = $this.data('bs.tooltip') - var options = typeof option == 'object' && option - var selector = options && options.selector + var $this = $(this) + var data = $this.data('bs.tooltip') + var options = typeof option == 'object' && option if (!data && option == 'destroy') return - if (selector) { - if (!data) $this.data('bs.tooltip', (data = {})) - if (!data[selector]) data[selector] = new Tooltip(this, options) - } else { - if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) - } + if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) if (typeof option == 'string') data[option]() }) } @@ -1707,7 +1701,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: popover.js v3.3.1 * http://getbootstrap.com/javascript/#popovers * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -1791,18 +1785,12 @@ if (typeof jQuery === 'undefined') { function Plugin(option) { return this.each(function () { - var $this = $(this) - var data = $this.data('bs.popover') - var options = typeof option == 'object' && option - var selector = options && options.selector + var $this = $(this) + var data = $this.data('bs.popover') + var options = typeof option == 'object' && option if (!data && option == 'destroy') return - if (selector) { - if (!data) $this.data('bs.popover', (data = {})) - if (!data[selector]) data[selector] = new Popover(this, options) - } else { - if (!data) $this.data('bs.popover', (data = new Popover(this, options))) - } + if (!data) $this.data('bs.popover', (data = new Popover(this, options))) if (typeof option == 'string') data[option]() }) } @@ -1827,7 +1815,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: scrollspy.js v3.3.1 * http://getbootstrap.com/javascript/#scrollspy * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -2003,7 +1991,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: tab.js v3.3.1 * http://getbootstrap.com/javascript/#tabs * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ @@ -2157,7 +2145,7 @@ if (typeof jQuery === 'undefined') { * Bootstrap: affix.js v3.3.1 * http://getbootstrap.com/javascript/#affix * ======================================================================== - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ diff --git a/docs/_data/browser-bugs.yml b/docs/_data/browser-bugs.yml index e0cda34f0b..a4ddae0264 100644 --- a/docs/_data/browser-bugs.yml +++ b/docs/_data/browser-bugs.yml @@ -98,16 +98,6 @@ origin: > Bootstrap#12078 -- - browser: > - Safari (OS X) - summary: > - Scrollbar clipped in `select[multiple]` with padding. - upstream_bug: > - WebKit#128489 - origin: > - Bootstrap#12536 - - browser: > Chrome @@ -128,6 +118,16 @@ origin: > Bootstrap#14409 +- + browser: > + Safari (OS X) + summary: > + Scrollbar clipped in `select[multiple]` with padding. + upstream_bug: > + WebKit#128489, Safari#19208483 + origin: > + Bootstrap#12536 + - browser: > Safari (OS X) @@ -150,16 +150,6 @@ origin: > Bootstrap#9774 -- - browser: > - Safari (iOS) - summary: > - `transform: translate3d(0,0,0);` rendering bug. - upstream_bug: > - WebKit#138162, Safari#18804973 - origin: > - Bootstrap#14603 - - browser: > Safari (OS X) @@ -170,6 +160,26 @@ origin: > Bootstrap#14868 +- + browser: > + Safari (OS X) + summary: > + Alpha linear-gradient has dark line at its edge. + upstream_bug: > + WebKit#139803 + origin: > + Bootstrap#15205 + +- + browser: > + Safari (iOS) + summary: > + `transform: translate3d(0,0,0);` rendering bug. + upstream_bug: > + WebKit#138162, Safari#18804973 + origin: > + Bootstrap#14603 + - browser: > Safari (iOS) @@ -182,10 +192,10 @@ - browser: > - Chrome (Windows & Linux) + Safari (iOS) summary: > - Body content can be scrolled even though `overflow: hidden;` is applied to it. + `display: block` causes text of temporal ``s to become vertically misaligned upstream_bug: > - Chromium#175502 + WebKit#139848 origin: > - Bootstrap#14972 + Bootstrap#11266, Bootstrap#13098 diff --git a/docs/_data/core-team.yml b/docs/_data/core-team.yml index b9e67f230d..d1fd76320a 100644 --- a/docs/_data/core-team.yml +++ b/docs/_data/core-team.yml @@ -21,3 +21,7 @@ - name: Heinrich Fenkart user: hnrch02 gravatar: 0d53f5d3d3d28bd470f394d98f7ef48f + +- name: Patrick H. Lauke + user: patrickhlauke + gravatar: 357f279672db832fc41a5a2f36559fcb diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html deleted file mode 100644 index 4557a44a42..0000000000 --- a/docs/_includes/js/popovers.html +++ /dev/null @@ -1,303 +0,0 @@ -
Add small overlays of content, like those on the iPad, to any element for housing secondary information.
-Popovers whose both title and content are zero-length are never displayed.
- -Popovers require the tooltip plugin to be included in your version of Bootstrap.
-For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.
-One way to initialize all popovers on a page would be to select them by their data-toggle
attribute:
When using popovers on elements within a .btn-group
or an .input-group
, you'll have to specify the option container: 'body'
(documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).
To add a popover to a disabled
or .disabled
element, put the element inside of a <div>
and apply the popover to that <div>
instead.
Sometimes you want to add a popover to a hyperlink that wraps multiple lines. The default behavior of the popover plugin is to center it horizontally and vertically. Add white-space: nowrap;
to your anchors to avoid this.
Four options are available: top, right, bottom, and left aligned.
-Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
-Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
-Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
-Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
-Use the focus
trigger to dismiss popovers on the next click that the user makes.
For proper cross-browser and cross-platform behavior, you must use the <a>
tag, not the <button>
tag, and you also must include a tabindex
attribute.
Enable popovers via JavaScript:
- {% highlight js %}$('#example').popover(options){% endhighlight %} - -Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-animation=""
.
Name | -Type | -Default | -Description | -
---|---|---|---|
animation | -boolean | -true | -Apply a CSS fade transition to the popover | -
container | -string | false | -false | -
- Appends the popover to a specific element. Example: |
-
content | -string | function | -'' | -
- Default content value if If a function is given, it will be called with its |
-
delay | -number | object | -0 | -
- Delay showing and hiding the popover (ms) - does not apply to manual trigger type -If a number is supplied, delay is applied to both hide/show -Object structure is: |
-
html | -boolean | -false | -Insert HTML into the popover. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks. |
-
placement | -string | function | -'right' | -
- How to position the popover - top | bottom | left | right | auto. When a function is used to determine the placement, it is called with the popover DOM node as its first argument and the triggering element DOM node as its second. The |
-
selector | -string | -false | -If a selector is provided, popover objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added. See this and an informative example. | -
template | -string | -'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' |
-
- Base HTML to use when creating the popover. -The popover's The popover's
The outermost wrapper element should have the |
-
title | -string | function | -'' | -
- Default title value if If a function is given, it will be called with its |
-
trigger | -string | -'click' | -How popover is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. | -
viewport | -string | object | -{ selector: 'body', padding: 0 } | -
- Keeps the popover within the bounds of this element. Example: |
-
Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.
-Initializes popovers for an element collection.
- -Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.
- {% highlight js %}$('#element').popover('show'){% endhighlight %} - -Hides an element's popover.
- {% highlight js %}$('#element').popover('hide'){% endhighlight %} - -Toggles an element's popover.
- {% highlight js %}$('#element').popover('toggle'){% endhighlight %} - -Hides and destroys an element's popover.
- {% highlight js %}$('#element').popover('destroy'){% endhighlight %} -Event Type | -Description | -
---|---|
show.bs.popover | -This event fires immediately when the show instance method is called. |
-
shown.bs.popover | -This event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete). | -
hide.bs.popover | -This event is fired immediately when the hide instance method has been called. |
-
hidden.bs.popover | -This event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete). | -
The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.
-