0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Commit Graph

11326 Commits

Author SHA1 Message Date
Patrick H. Lauke
3b28b75cf3 Remove wrong role="tabpanel" from parent container
As per discussion on https://github.com/w3c/wai-wcag-quickref/issues/2
and #13554
2015-03-27 11:57:03 +00:00
Bootstrap's Grunt bot
0fa643a8a3 automatic grunt dist 2015-03-27 08:50:27 +00:00
Patrick H. Lauke
8eccd088a0 Merge pull request #16160 from monoblaine/master
Make .bg-variant adjust :focus color in addition to :hover color
2015-03-27 08:19:23 +00:00
Heinrich Fenkart
01ff20e1b2 Merge pull request #16162 from twbs/jscs-fn-decl
JSCS: Add "disallowSpacesInFunctionDeclaration"
2015-03-26 18:51:46 +01:00
Heinrich Fenkart
da63ff2e95 JSCS: Add "disallowSpacesInFunctionDeclaration"
Valid:

    function a() {}

Invalid:

    function a () {}
2015-03-26 18:28:17 +01:00
Serhan Apaydın
85837639ee Make .bg-variant adjust :focus color in addition to :hover color 2015-03-26 11:45:17 +02:00
Bootstrap's Grunt bot
5833d079a0 automatic grunt dist 2015-03-26 05:40:28 +00:00
Chris Rebert
cf0f3218cb Merge pull request #16089 from max-b/jumbotron-font-size
Jumbotron: Putting heading font size in variables to allow for easier overrides
2015-03-25 22:39:55 -07:00
Bootstrap's Grunt bot
087c68bd85 automatic grunt dist 2015-03-26 05:10:31 +00:00
Serhan Apaydın
ba2d556455 Make .text-emphasis-variant adjust :focus color in addition to :hover color
Closes #16047 by merging a tweaked version of it.
2015-03-25 22:08:36 -07:00
Bootstrap's Grunt bot
39a05d7420 automatic grunt dist 2015-03-26 05:00:30 +00:00
Chris Rebert
02f9f2bd26 Merge pull request #16092 from twbs/pointer-events-none-a
Only disable pointer-events on disabled <a> btns
2015-03-25 21:58:05 -07:00
Mark Otto
df8010b815 Fixes #15074: Manually handle input sizing in form groups instead of using mixins because nesting 2015-03-25 21:18:19 -07:00
Bootstrap's Grunt bot
b6508f5d04 automatic grunt dist 2015-03-26 01:50:28 +00:00
Chris Rebert
caa84299ec Merge pull request #16158 from twbs/fix-16020
remove redundant aria-hidden usage from Modals
2015-03-25 18:40:44 -07:00
Chris Rebert
d6714d1383 Merge pull request #16157 from twbs/fix-16069
Document how to disable transitions in jQuery plugins
2015-03-25 18:14:15 -07:00
Chris Rebert
e3c10d0d01 Merge pull request #16156 from twbs/fix-16115
Properly document $(...).tab('show') method
2015-03-25 18:13:29 -07:00
Chris Rebert
6c5e7dfce1 rm redundant aria-hidden usage from Modals; fixes #16020 2015-03-25 18:06:47 -07:00
Chris Rebert
e8a5112b31 Document how to disable transitions in jQuery plugins; fixes #16069
[skip sauce]
2015-03-25 17:56:59 -07:00
Chris Rebert
343827081f Properly document $(...).tab('show') method; fixes #16115
[skip sauce]
2015-03-25 17:47:56 -07:00
Chris Rebert
1bafd4c829 docs: #myTab => #myTabs, to slightly increase clarity 2015-03-25 17:39:44 -07:00
Patrick H. Lauke
068675c72c Darker style focus/hover on active buttons
Currently, hovering with mouse or setting focus on a button which is
active has same styling as on a non-active button. This results in
problems for keyboard users, who set focus on a toggle and activate it,
but cannot visually see that their action had any effect. Ditto for
mouse users hovering over a toggle and clicking it. This adds an
explicit additional style for focus/hover on active buttons.
Note that this does not address issues of browser focus remaining on a
button after a mouse click (e.g. #13971), as this will likely require
extra JavaScript to fix.
2015-03-25 22:52:49 +00:00
Adrien Jarthon
0e8e5222ff Tooltip/popover: Fix auto placement to use viewport
Currently, auto placement is using the container dimensions (if provided) or the element's parent to determine where to open the tooltip:
```javascript
var $container   = this.options.container ? $(this.options.container) : this.$element.parent()
var containerDim = this.getPosition($container)
```
This is quite broken in fact, because the parent element could be just a small div outside the element for example, leading in a totally random placement (placing the tooltip on top even if there's no room). And the container can also be outside of the viewport.

This fix simply uses the viewport instead, that's the purpose of the viewport actually, to position the tooltip.
So the auto placement should use it to find where there's more room.
By default this is body, which is good.
2015-03-25 18:05:58 +01:00
Chris Rebert
2f3076f20a add missing <code> within docs heading for .modal('handleUpdate') 2015-03-24 15:15:21 -07:00
Chris Rebert
d37bc2ae65 Merge pull request #15987 from twbs/fix-15972
add role="button" to a[data-toggle="collapse"]
2015-03-24 08:57:56 -07:00
Patrick H. Lauke
3685aff68f Merge pull request #16140 from patrickhlauke/toggle-navigation-aria-expanded
Add aria-expanded to navbar toggles
2015-03-24 10:48:36 +00:00
Patrick H. Lauke
04280335f6 Add aria-expanded and aria-controls to docs navbar toggle
Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)
2015-03-24 10:32:53 +00:00
Patrick H. Lauke
dc4aa004d4 Add aria-expanded to navbar toggles 2015-03-24 10:30:12 +00:00
Patrick H. Lauke
13546cac35 Merge pull request #16136 from patrickhlauke/docs-tooltip
Callout for tooltips and keyboard/AT accessibility
2015-03-23 22:18:39 +00:00
Patrick H. Lauke
6c2548e031 Move all tooltip callouts into appropriate section
Before, most callouts hierarchically came under Examples > Four
directions, which is not appropriate. Now they're under Markup
2015-03-23 22:06:22 +00:00
Patrick H. Lauke
debcb1de59 Callout for tooltips and keyboard/AT accessibility
Include callout explicitly mentioning tooltips should only be added to
focusable elements. Closes #16134
2015-03-23 21:53:30 +00:00
Bootstrap's Grunt bot
e22a73fd38 automatic grunt dist 2015-03-21 23:10:30 +00:00
Emmanuel Bourgerie
fa9d28b634 Fix #16072: Clicking into input field within dropdown no longer closes the dropdown
Closes #16073 by merging it
2015-03-21 16:00:15 -07:00
Chris Rebert
74ae498800 Fix #16117 more permanently/generically 2015-03-21 15:33:13 -07:00
Patrick H. Lauke
777c013997 Merge pull request #16117 from vsn4ik/inc_quick_start
Increment quick start options to six in readme.md
2015-03-21 10:11:47 +00:00
vsn4ik
a07bc07889 Increment quick start options to six
[skip validator]
[skip sauce]
2015-03-21 08:21:39 +03:00
Rodrigo Prado
fbe0836a8f Add docs on how to install Bootstrap via composer
Closes #16113
Closes #16114

[skip sauce]
2015-03-20 18:42:03 -07:00
Chris Rebert
fb74d72764 Merge pull request #16107 from vikynandha/migration-doc
Add `.alert-warning` related change to migration doc
2015-03-19 10:03:48 -07:00
Vignesh Nandha Kumar
5281d7b4bc Add .alert-warning related change to migration doc 2015-03-19 17:27:38 +05:30
Bootstrap's Grunt bot
eece194763 automatic grunt dist 2015-03-19 05:30:30 +00:00
Chris Rebert
9aad9a4164 Merge pull request #16024 from twbs/unnecessary-parsing
avoid unnecessary HTML string building+parsing
2015-03-18 22:28:07 -07:00
Chris Rebert
cb4144af85 Merge pull request #16101 from guybedford/master
Update jspm configuration
2015-03-18 22:04:54 -07:00
Maxb
9558211c8c Jumbotron: Putting heading font size in variables to allow for easier overrides. 2015-03-18 17:29:59 -07:00
Guy Bedford
09ccd432b8 update jspm configuration 2015-03-18 12:59:55 +02:00
Chris Rebert
c26ffd43c3 Only disable pointer-events on disabled <a> btns; fixes #16088
<a> doesn't support the `[disabled]` attribute,
so `a.btn.disabled` simulates it using `pointer-events: none`.
However, this is unnecessary for <button>s and <input>s, and
also prevents their `[disabled]` cursor from displaying.

[skip sauce]
[skip validator]
2015-03-17 10:29:36 -07:00
Bootstrap's Grunt bot
f5250d0a0e automatic grunt dist 2015-03-16 15:50:28 +00:00
Chris Rebert
a10eb60bc0 full grunt 2015-03-16 08:44:41 -07:00
Chris Rebert
312e527cb0 BootstrapCDN: v3.3.2 => v3.3.4 2015-03-16 08:41:00 -07:00
Chris Rebert
8dbdb8f977 Sass: v3.3.3 => v3.3.4 2015-03-16 08:40:34 -07:00
Chris Rebert
4d652035dc v3.3.2 => v3.3.4 2015-03-16 08:39:31 -07:00