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

11901 Commits

Author SHA1 Message Date
Mark Otto
6d2599be92 Merge pull request #16176 from twbs/input_group_sizing
Static form control sizing in input groups, again
2015-04-04 01:35:13 -07:00
Patrick H. Lauke
f76d1a0e87 Merge pull request #16222 from yuan3y/patch-1
fix dead link: reduced text cases
2015-04-03 15:21:47 +01:00
Yuan Yiyang
b6723cf0eb fix dead link: reduced text cases 2015-04-03 22:01:23 +08:00
Zac Echola
e46c998316 Adds button styles to .list-group-item
Includes buttons with anchor sytles and modifies buttons to match width
and text alignment.
2015-04-02 14:07:53 -05:00
Steven Black
d3cbf018a8 Eliminate spurrious padding in .bs-docs-header
I agree with all the comments here.

Rather than dicker with container nesting at this late juncture, near sunset for BS 3.0x, let's just fix and move on.  It's docs only.

This PR addresses issue #15100 and eliminates the unnecessary horizontal scrollbar that appears for width for width >=768px and <= 782px.

Tested on three different iOS devices and FireFox/Chrome on OSX and it's fine now.

The only difference is the text in .bs-docs-header is shifted left by 15-pixels, lines are 30 px longer so wrap less in some circumstances in some viewports.
2015-04-01 21:53:10 -04:00
Patrick H. Lauke
38f48d6471 Merge pull request #16194 from fyquah95/master
Remove stray spaces from modal/using-grid-system sample code
2015-04-01 10:54:26 +01:00
fyquah95
4d153b9125 indented javascript/modal/using-grid-system sample code from 4 spaces to 2 spaces 2015-04-01 17:43:32 +08:00
Adrien Jarthon
5921724d9c fixed IE incompatible CSS 2015-03-29 19:16:59 +02:00
Adrien Jarthon
df96c3e615 Added non-regression test & fixed existing one 2015-03-29 14:59:21 +02:00
Bootstrap's Grunt bot
bb6af65ca6 automatic grunt dist 2015-03-29 06:40:29 +00:00
Mark Otto
ce75f289f2 grunt 2015-03-28 23:33:11 -07:00
Mark Otto
27da9b290a Fixes #15536: Resize .control-label's font-size and account for border on static form control in form groups 2015-03-28 22:43:33 -07:00
Mark Otto
a2c69b8145 fixes #15830: properly reset border-radius on list items in collapsing panel groups 2015-03-28 21:37:40 -07:00
Bootstrap's Grunt bot
a922985788 automatic grunt dist 2015-03-29 04:10:35 +00:00
Mark Otto
e90d69c28c Merge pull request #15956 from twbs/input-group-sizes-glyphicon
Input group sizes: Properly position `.form-control-feedback`
2015-03-28 21:07:56 -07:00
Bootstrap's Grunt bot
e260661ab8 automatic grunt dist 2015-03-29 04:00:36 +00:00
Mark Otto
f025840eae Merge pull request #16159 from twbs/input_sizing
Fixes #15074
2015-03-28 20:52:14 -07:00
Mark Otto
6a6ac5db33 Merge pull request #16174 from twbs/bang_table_utility
Update .visible* classes to use !important on table elements
2015-03-28 20:50:37 -07:00
Mark Otto
b5fefefd49 Match all other responsive utilities and use important on the display: table 2015-03-28 20:34:06 -07:00
Mark Otto
57c8e3cd51 Merge branch 'master' into input_sizing
Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
2015-03-28 20:31:53 -07:00
Bootstrap's Grunt bot
93bf800e1f automatic grunt dist 2015-03-28 00:50:33 +00:00
Patrick H. Lauke
59bbb65e5f Merge pull request #16154 from patrickhlauke/focus-active-disambiguation
Darker style focus/hover on active buttons
2015-03-28 00:40:34 +00:00
Chris Rebert
6e85535b7c Merge pull request #16171 from zachleat/patch-1
There is no jshint:src task
2015-03-27 16:55:48 -07:00
Zach Leatherman
7661456029 There is no jshint:src task 2015-03-27 15:31:56 -05:00
Patrick H. Lauke
ac8c0df2b5 Merge pull request #16167 from patrickhlauke/tabpanel-documentation
Remove wrong role="tabpanel" from docs
2015-03-27 12:19:27 +00:00
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