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

13852 Commits

Author SHA1 Message Date
Chris Rebert
f954e5958c Merge pull request #18678 from patrickhlauke/docs-button-active1
Docs: add aria-pressed=true to components buttons active state example
2015-12-25 15:11:53 -07:00
Chris Rebert
4de483a411 Remove nonstandard zoom: 1 from media object
It should be unnecessary since we only support IE>=9, and this hasLayout hack is for IE6-7.
https://developer.mozilla.org/en-US/docs/Web/CSS/zoom
http://stackoverflow.com/questions/1794350/what-is-haslayout

[skip sauce]
[skip validator]
2015-12-25 14:54:48 -07:00
Patrick H. Lauke
efe2419fec Change "preformatted text" heading and intro para
also, stray "blocks" in the "Sample output", which doesn't seem to
belong there.
2015-12-25 21:26:41 +00:00
Patrick H. Lauke
fc7fb0694a Merge pull request #18680 from patrickhlauke/docs-modal-tweak1
Docs: add ellipsis to modal example code
2015-12-25 21:21:27 +00:00
Patrick H. Lauke
f6b0f8f3ad Add ellipsis to modal example code 2015-12-25 21:17:32 +00:00
Chris Rebert
9325bf045d Merge pull request #18677 from twbs/fix-text-hide-font
Fix syntax of .text-hide's `font` property value
2015-12-25 14:14:44 -07:00
Patrick H. Lauke
66479d8a5f Add aria-disabled to disabled link example and description 2015-12-25 21:13:57 +00:00
Patrick H. Lauke
b5bf4334ca Add aria-pressed=true to example
...as per the text immediately preceding this example
2015-12-25 21:09:59 +00:00
Chris Rebert
4a05f19a3b Fix syntax of .text-hide's font property value
In SCSS, the quotes were included verbatim in the resulting CSS, which isn't valid syntax for the `font` property.
Removing the quotes fixes the syntax error and does not cause any SCSS compiler error.

[skip sauce]
[skip validator]
2015-12-25 14:06:39 -07:00
Patrick H. Lauke
68e0b01ac8 Fix code block example
use `<code>` (as it's still semantically code that we're marking up) and
make the example actually multiple lines...
2015-12-25 13:49:16 +00:00
Patrick H. Lauke
25a36729bc Missing angle brackets 2015-12-25 13:44:33 +00:00
Chris Rebert
4258fb7992 Merge pull request #18670 from twbs/unnest-autoprefixer-settings
Un-nest Autoprefixer settings in module object
2015-12-24 22:17:22 -07:00
Chris Rebert
b0ab6bbf05 Un-nest Autoprefixer settings in module object
[skip sauce]
[skip validator]
2015-12-24 21:32:54 -07:00
Chris Rebert
4c86e37c2d Remove .dl-horizontal; it's redundant to the grid system; fixes #18652
[skip sauce]
2015-12-24 21:26:26 -07:00
Chris Rebert
c9d86ff3a3 Update current Firefox ESR to 38 in Autoprefixer settings
See https://www.mozilla.org/en-US/firefox/organizations/faq/

[skip sauce]
[skip validator]
2015-12-24 20:11:12 -07:00
Chris Rebert
e4989bf784 autoprefixer-settings.js: Link to Firefox ESR webpage
[skip sauce]
[skip validator]
2015-12-24 19:52:38 -07:00
Bass Jobsen
4445c4f0f3 Move Autoprefixer settings out of Gruntfile.js and into a separate file
Refs #18584
Closes #18659

[skip sauce]
[skip validator]
2015-12-24 19:49:26 -07:00
Chris Rebert
99dfd88219 Merge pull request #18392 from twbs/exempt-getUID
Exempt getUID() from ESLint's no-bitwise rule
2015-12-24 18:58:19 -07:00
Chris Rebert
5deb734b53 ESLint: enable no-bitwise rule
[skip sauce]
2015-12-24 18:53:41 -07:00
Chris Rebert
ad4c0ee52f Exempt getUID() from ESLint's no-bitwise rule
[skip sauce]
[skip validator]
2015-12-24 18:53:08 -07:00
Chris Rebert
56a6d964e0 Merge pull request #18667 from twbs/tether-examples
Add Tether to example pages that were missing it
2015-12-24 18:18:33 -07:00
Chris Rebert
95d030c226 Add Tether to example pages that were missing it
[skip sauce]
2015-12-24 18:13:53 -07:00
Chris Rebert
d3a9fdcc0b Merge pull request #18666 from twbs/fix-18664
Include Tether via CDN in starter templates
2015-12-24 18:12:17 -07:00
Chris Rebert
11b526e51d Include Tether via CDN in starter templates; fixes #18664
[skip sauce]
2015-12-24 18:08:41 -07:00
Patrick H. Lauke
88064925a4 Use more appropriate structure for site navigation
Use the structure as documented in
http://v4-alpha.getbootstrap.com/components/navbar/#collapsible-content
- wrapping both the toggle and the navigation in a `<nav>`, using a
`<ul>` for the navigation items
2015-12-24 19:46:39 +00:00
Patrick H. Lauke
5a06173a53 Move collapsing navbar after the toggle
It's unclear why the example currently has the content that's
shown/hidden BEFORE the toggle. Generally, this is not a recommended
content order, as after toggling, the newly shown content precedes the
toggle and requires keyboard users, and particularly assistive
technology users, to then navigate in reverse to reach it.
2015-12-24 18:10:37 +00:00
Patrick H. Lauke
3317d04a0b Add missing aria attributes to main site navigation menu toggle 2015-12-24 16:55:41 +00:00
Patrick H. Lauke
d0d9183a8f Add missing aria attributes to navbar collapse examples 2015-12-24 16:52:43 +00:00
Chris Rebert
74f1d3b9b8 Merge pull request #18393 from twbs/dropdown-bitwise-less-tricksy
dropdown.js: Use more straightforward phrasing for index bound check
2015-12-24 08:16:19 -07:00
Chris Rebert
d30310feae Merge pull request #18638 from twbs/fix-18365
Modal: Ignore spurious focus event that Firefox fires at document when switching back to its tab
2015-12-24 08:15:27 -07:00
Patrick H. Lauke
e2bf1e9fae Merge pull request #18654 from patrickhlauke/docs-helptext1
Docs: reintroduce `aria-describedby` advice for help text
2015-12-24 13:38:46 +00:00
XhmikosR
612ff4f5d1 Run grunt.
[ci skip]
2015-12-24 12:50:15 +02:00
XhmikosR
53bc3ffbf3 Update dependencies. 2015-12-24 12:49:50 +02:00
Patrick H. Lauke
e9ccb573ef Add aria-describedby to main form controls example 2015-12-24 10:11:33 +00:00
Patrick H. Lauke
0fe8f920b7 Docs: reintroduce aria-describedby advice for help text
Based on v3 http://getbootstrap.com/css/#forms-help-text, adapted to
make examples more "real life"
2015-12-24 10:08:29 +00:00
Chris Rebert
edbdf21de5 Merge pull request #18464 from twbs/btn-block-spacing-y
Introduce $btn-block-spacing-y variable
2015-12-23 23:44:50 -07:00
Chris Rebert
5cdb092318 Merge pull request #18536 from twbs/moz-progress
Uncomment Firefox <progress> styles
/fyi @mdo
2015-12-23 23:36:45 -07:00
Chris Rebert
7cfdc771f8 Uncomment Firefox .progress styles; fixes #18536
[skip sauce]
[skip validator]
2015-12-23 23:19:44 -07:00
Chris Rebert
a96e522d6a Organize existing .progress styles 2015-12-23 22:35:45 -07:00
Chris Rebert
68061027b6 Merge pull request #18474 from twbs/breadcrumbs-2.0
Refactor Breadcrumbs component
2015-12-23 22:22:21 -07:00
Chris Rebert
76a4c303ee Refactor Breadcrumbs component
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.

Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

[skip sauce]
2015-12-23 22:16:35 -07:00
Chris Rebert
5173cb1def Merge pull request #18656 from twbs/fix-18145-v4
Update shrinkwrap
2015-12-23 21:33:33 -07:00
Chris Rebert
f5e97c16b6 Update shrinkwrap; fixes #18145 2015-12-23 21:26:05 -07:00
Chris Rebert
b1ac8ced4f Merge pull request #18537 from twbs/utils-dir
Reorganize utilities into more separate files under a `utilities` directory
2015-12-23 21:07:43 -07:00
Chris Rebert
7aabd49364 Reorganize utilities into more separate files under a /scss/utilities/ directory
[skip sauce]
[skip validator]
2015-12-23 21:01:17 -07:00
Chris Rebert
1e8743ec89 Merge pull request #18473 from twbs/fix-18036
Remove useless .col-*-offset-12 and .col-xs-offset-0 classes
2015-12-23 20:33:37 -07:00
Chris Rebert
b6fcabf892 Merge pull request #18655 from twbs/fix-18583
Apply clearfix to .card-{header,footer,block}
/fyi @mdo
2015-12-23 17:32:51 -07:00
Chris Rebert
25cecdb55a Apply clearfix to .card-footer
[skip sauce]
[skip validator]
2015-12-23 17:25:37 -07:00
Chris Rebert
da533b8926 Apply clearfix to .card-header; fixes #18633 2015-12-23 17:20:23 -07:00
Chris Rebert
2e2b48da13 Apply clearfix to .card-block; fixes #18583 2015-12-23 17:18:19 -07:00