Chirag Modi
6a5a38106a
Fix broken links in doc ( #23324 )
2017-08-11 17:40:41 +03:00
XhmikosR
f8e89c52b5
Fix JavaScript case and a typo. ( #23320 )
2017-08-11 16:50:08 +03:00
Jan Karlo Dela Cruz
537b5f0127
Fix broken links in documentation. ( #23315 )
2017-08-11 16:26:51 +03:00
Sean
ce35fdd527
Updated Feather link ( #23303 )
...
Feather link didn't go anywhere.
Changed feather link from `colebemis.com/feather` to `feathericons.com`
2017-08-11 14:42:02 +03:00
béla
06044d5f82
Update Rubygems version. ( #23289 )
2017-08-11 13:54:24 +03:00
Garth Bjerk
bfd05c3423
Fix the broken about link in the footer ( #23298 )
2017-08-11 13:43:06 +03:00
XhmikosR
61e8aa2a55
Fix HTML validation errors.
2017-08-11 12:43:17 +03:00
Patrick Yeo
d36f5c7fa5
v4 docs remove left over Tooltips and Popover documentation from Button Group page
2017-08-10 23:10:42 -07:00
Christian Oliff
b5f89d5672
Remove the Internet Explorer 10 for Windows Phone 8 workaround ( #23122 )
...
I suggest that there's no longer a need to include the section on workaround for the IE10 bug on Windows Phone 8. Not only was this bug patched in a later release of Windows Phone 8 (which shipped in 2013), but Windows Phone 8's support ended a long time ago - even its successor Windows Phone 8.1 is no longer supported by Microsoft. The potential audience affected by this bug is likely microscopic so I suggest it can be safely removed.
I suggest the workaround JS (http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js ) can also be safely removed from the docs and examples but I haven't done that in this PR.
2017-08-10 23:06:15 -07:00
Mark Otto
5b584c2619
missed a modifier
2017-08-10 23:00:37 -07:00
Mark Otto
e9c24b0cda
clarify text, break up larger paragraph, shorten
2017-08-10 23:00:37 -07:00
Mark Otto
11299fe47c
Update badges in buttons examples
...
- Given buttons a required modifier (.btn alone is incomplete)
- Given the primary button, use a .badge-light for better contrast
- Consolidate example and highlight code with a `{% example %}` block
2017-08-10 23:00:37 -07:00
Patrick Yeo
e25b11d433
v4 docs Input Group Sizing section should display .input-group-sm
( #23151 )
2017-08-10 22:56:32 -07:00
Dave
2a2231d55b
Update progress.md to reflect setting height on .progress
2017-08-10 22:50:59 -07:00
CarloMartini
0bb9fd2082
Update modal.md
...
Removed a duplicate explanation.
2017-08-10 22:49:15 -07:00
Dillon Chanis
9706ce72c9
Add clear description and use case with example
2017-08-10 22:45:35 -07:00
Dillon Chanis
b1b8aedf0e
Add use case description and example
2017-08-10 22:45:35 -07:00
Mark Otto
d23813988a
Add examples of forms in dropdown menus
2017-08-10 22:44:57 -07:00
Mark Otto
09019a8ecd
Set explicit text-align on <body> element so we can use inherit to override the default <th> text-align value
2017-08-10 22:43:50 -07:00
Mark Otto
caa7117e23
Update javascript.md
2017-08-10 22:42:23 -07:00
Varunram
5538967381
Add event.preventDefault documentation to javascript.md
2017-08-10 22:42:23 -07:00
Mark Otto
db3dcb7c66
Mention util.js on all JS plugin pages ( #22955 )
...
Fixes #20660
2017-08-10 22:38:45 -07:00
Mark Otto
006590ed9a
Remove broken CSS that tried to reset the absolute positioning when there was no text
2017-08-10 22:36:35 -07:00
Mark Otto
3fbdedbf22
Add basic property-value utils for position
2017-08-10 22:35:38 -07:00
Mark Otto
0356a1417a
Merge branch 'new-home' into v4-dev
2017-08-10 20:46:25 -07:00
Jonathan
94e860c557
Dropped .radio-inline and .checkbox-inline
...
Dropped `.radio-inline` and `.checkbox-inline`.
2017-08-10 20:42:55 -07:00
Mark Otto
209a963539
remove commented out code while here
2017-08-09 08:32:14 -07:00
Mark Otto
4e07146624
rewrite parts of download page
2017-08-09 08:32:14 -07:00
Mark Otto
ba7d921732
clarify optional js, add some links, emphasize some text
2017-08-09 08:32:14 -07:00
XhmikosR
fd113b93f6
Fix flex order generated code and a typo.
2017-08-09 08:29:52 -07:00
Mark Otto
da3185ee0a
new homepage, new assets, clean out old stuff
2017-08-07 21:35:43 -07:00
Pablo Crivella
8606c0d3ec
Fix typo
2017-08-06 19:14:55 -07:00
Mark Otto
0cde0ae18d
better label, remove some contents to better illustrate behavior
2017-08-04 15:15:42 -07:00
Mark Otto
062d113eee
remove old validation docs, fixes #23217
2017-08-04 14:21:21 -07:00
Mark Otto
698a7b4253
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-31 11:31:54 -07:00
Mark Otto
0d14fe9e88
fixes https://github.com/toshimaru/jekyll-toc/issues/25
2017-07-31 11:31:44 -07:00
XhmikosR
b6791721f5
Fix HTML errors. ( #23184 )
...
The "aria-controls" attribute must point to an element in the same document.
2017-07-31 13:56:43 +03:00
XhmikosR
ef1c729156
Update docs and carousel example for order-
.
2017-07-30 14:00:14 -07:00
汪磊
3619586c16
Update accessibility.md
2017-07-30 13:58:52 -07:00
Johann-S
f4f63d8623
Update Popper.js to 1.11.0 ( #23162 )
2017-07-28 09:34:53 +03:00
Scott Petrovic
21d8909598
fix location of favicons so it loads when viewing the examples. This is the only one I found in the project, so I am assuming it is the right one to point to ( #22895 )
2017-07-16 16:19:20 +03:00
Mark Otto
2e5be3f46f
only need the one utility class, it'll naturally apply at sm and above
2017-07-14 16:44:44 -07:00
John Galt
095c46c242
Fix #22974
2017-07-14 16:44:44 -07:00
Mark Otto
64bf037bd1
mention how to do edge-to-edge in docs
...
/cc #23070
2017-07-14 16:31:34 -07:00
Mark Otto
16fdaa2bef
fixes #23045
2017-07-14 16:31:13 -07:00
Mark Otto
f2e912bb0e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-12 21:11:08 -07:00
Patrick H. Lauke
c00437ec1b
Add badge counter example and accessibility advice
2017-07-13 00:25:40 +01:00
Casper
b14c5cc4b8
Fixed a word (connectinh / connecting)
2017-07-12 07:35:39 +02:00
Mark Otto
6c0e31f82e
fix broken example link
2017-07-09 19:57:16 -07:00
Vincent Le Put
136a0d5cb6
Docs: added missing quote in input-group example ( #23010 )
2017-07-06 23:33:50 +02:00
Mark Otto
4d515e4026
move the about directory into the docs to avoid collision with the multiple versions of our hosted docs
2017-07-05 11:27:06 -07:00
Mark Otto
a662f85398
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-04 11:53:55 -07:00
Johann-S
2cbaefc244
Update Popper.js to 1.10.8
2017-07-04 10:37:44 +02:00
Casper
6797e84215
fixed doc vertical-align.md "inlie" to "inline" ( #22984 )
2017-07-04 09:32:41 +02:00
Mark Otto
d785e8a53a
fixes #22979
2017-07-03 19:05:50 -07:00
Mark Otto
6cf1a106d4
fixes #22968
2017-07-02 14:37:46 -07:00
Mark Otto
67245a474f
fix some busted links
2017-07-02 12:00:24 -07:00
Mark Otto
6f073edc79
Add .text-truncate class. We already had a mixin and documented the class, so this fixes that.
2017-07-01 23:05:51 -07:00
Mark Otto
cfb383cc01
update link
2017-07-01 23:05:51 -07:00
Mark Otto
502856b5c2
update name
2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f
Redo the "responsive helpers" files
...
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -07:00
Mark Otto
58816b38b7
Move /utilities/typography to /utilities/text to match SCSS file name
2017-07-01 23:05:51 -07:00
Mark Otto
25d5ffc9f9
Move /utilities/flexbox to /utilities/flex to match name of SCSS file
2017-07-01 23:05:51 -07:00
Mark Otto
78167242b3
cleanup offsets
2017-07-01 10:42:36 -07:00
Mark Otto
88b9e558fb
clip to border-box, update overlay
2017-06-30 15:28:50 -07:00
Mark Otto
77639905cb
remove a few .card-dark refs
2017-06-30 15:26:40 -07:00
Mark Otto
221f41adaf
account for new blockquote changes
2017-06-30 15:23:36 -07:00
Mark Otto
150d686a30
migration guide updated
2017-06-30 15:23:36 -07:00
Mark Otto
6af449f645
Update card docs to loop over the theme colors and use bg, border, and color utilities
2017-06-30 15:23:36 -07:00
Mark Otto
96b1e5bce5
ditch .card-blockquote for a regular .blockquote (dependent on #22949 )
2017-06-30 15:23:36 -07:00
Mark Otto
45722e94ac
Drop .blockquote-reverse, replace with text utils, and redesign blockquote to not have a border
2017-06-30 15:04:56 -07:00
Mark Otto
4554d74221
update redirect_from on docs pages
2017-06-30 15:04:10 -07:00
Mark Otto
7eafb16579
update that docs bit too
2017-06-30 11:44:09 -07:00
Mark Otto
3afb571ec3
formatting
2017-06-30 11:44:09 -07:00
Mark Otto
3fd0708f8d
this were removed
2017-06-30 11:44:09 -07:00
Mark Otto
6b34cba118
drop that part of the docs, not applicable
2017-06-30 11:44:09 -07:00
Mark Otto
4982926dcf
Drop offsets and push/pull for new order variants
2017-06-30 11:44:09 -07:00
Mark Otto
b013b987b0
remove grid gutter sass map as it's output css was all jacked up
2017-06-30 09:01:39 -07:00
Mark Otto
7cebaa8bb0
callout for future sass implementation
...
[skip ci]
2017-06-30 08:55:16 -07:00
Mark Otto
6055453e41
Merge branch 'v4-dev' into colors-redux
2017-06-29 23:15:48 -07:00
Mark Otto
964e06800a
Drop the old $gray- variables for the new color range
2017-06-29 23:15:27 -07:00
Craig Potter
41f8af8afa
fix broken links on Utilities for layout page
2017-06-29 15:41:50 -07:00
Mark Otto
0f232de9d7
move table variants to use sass map
2017-06-28 09:36:27 -07:00
Mark Otto
3e0375e03b
move list group variants to be generated from sass map
2017-06-28 09:29:59 -07:00
Mark Otto
64008ad721
Merge branch 'v4-dev' into colors-redux
2017-06-27 19:59:09 -07:00
Richard Beales
db732995cc
Update migration.md to fix minor typo
2017-06-27 12:59:29 +02:00
Mark Otto
2f1bcaafa2
Merge branch 'v4-dev' into colors-redux
2017-06-25 18:42:14 -07:00
Mark Otto
9bfbee3503
add border color utilities
2017-06-25 18:39:14 -07:00
Mark Otto
f8d61218ca
revamp button docs to loop over theme colors
2017-06-25 18:31:34 -07:00
Mark Otto
52cf0fe648
update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-light
2017-06-25 18:31:23 -07:00
Mark Otto
9372eef9e1
rename .card-inverse to .card-dark, update docs to match
2017-06-25 18:30:24 -07:00
Mark Otto
36e482ed27
update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables
2017-06-25 18:29:43 -07:00
Mark Otto
2392047a0c
update alert component to use theme sass map and add a ton of options in the process
2017-06-25 18:22:51 -07:00
Mark Otto
fc053ed096
update background utils
2017-06-25 18:16:37 -07:00
Mark Otto
aa83c4f417
update badges to use the theme colors sass map
2017-06-25 18:15:32 -07:00
Mark Otto
a0fb496635
update rendering of colors in options.md
2017-06-25 18:12:50 -07:00
Sibiraj
d9920317f3
Writing style Tweaks to accessibility.md
...
* fix accessibility.md
* Update accessibility.md
2017-06-21 13:02:24 +02:00
Johann-S
38ddf9ec28
Fix modal overflow with our navbar documentation and fix typo ( #22864 )
...
* Fix modal overflow with our navbar documentation and fix typo
* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto
222eddda5e
Merge branch 'v4-dev' into colors-redux
2017-06-18 18:32:42 -07:00
Mark Otto
7e2d41becd
remove mention of postcss-flexbugs-fixes from docs
2017-06-18 18:17:48 -07:00
Mark Otto
597e9f8618
remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map
2017-06-18 02:57:16 -07:00
Mark Otto
74f1d002b4
Merge branch 'v4-dev' into colors-redux
2017-06-18 02:19:34 -07:00
Mark Otto
bcc1f84d56
close #22338 by putting h4 text within links, but keep headings as is because i can't justify writing h3.h4 😭
2017-06-17 21:57:47 -07:00
Mark Otto
ea2d6adfc7
mention labels being outside input-group
2017-06-17 21:10:06 -07:00
Mark Otto
58bd8fdf2b
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-06-17 19:03:25 -07:00
Mark Otto
3e25ebb587
document it
2017-06-17 13:13:47 -07:00
Mark Otto
54ee882e50
redo intro
2017-06-15 20:30:02 -07:00
Mark Otto
42d614347e
fix broken button
2017-06-15 20:28:14 -07:00
Mark Otto
09e3509ff3
render the colors
2017-06-15 11:16:40 -07:00
Mark Otto
ae6440a480
clarify now that custom is gone
2017-06-15 09:32:26 -07:00
Mark Otto
9c0e423008
Rename popover classes
...
Part of an update to align the naming schemes across our components.
- Renames .popover-title to .popover-header
- Renames .popover-content to .popover-body
Refs: #22092
2017-06-15 09:05:30 -07:00
Mark Otto
6c8c0aa4cf
Rename .card-block to .card-body to match nomenclature of modals
2017-06-15 09:05:16 -07:00
Johann-S
e6303d4500
Fix duplicate ID in our documentation
2017-06-15 11:45:32 +02:00
Mark Otto
d7302c221a
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-06-14 20:31:43 -07:00
Mark Otto
c2b68104b6
mention updates in migration doc
2017-06-14 20:31:17 -07:00
Patrick H. Lauke
658fbd5c96
Add note to migration guide
2017-06-14 19:52:37 -07:00
Patrick H. Lauke
ff5c75510d
Rename .form-control-static to .form-control-readonly-plain
2017-06-14 19:51:50 -07:00
Mark Otto
22bd955434
Merge branch 'v4-dev' into form-tweaks
2017-06-14 19:13:44 -07:00
Johann-S
8f431fc5b8
Update Popper.js 1.10.1
2017-06-14 21:13:42 +02:00
Johann-S
f0124769c9
Collapse supports multi-target thanks to @vanduynslagerp ( #22713 )
2017-06-14 13:21:49 +02:00
Mark Otto
3fb1bf7a20
copy tweaks
2017-06-13 22:13:05 -07:00
Mark Otto
d16ece5b2a
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-06-13 22:12:04 -07:00
Mark Otto
dc71bee83e
rearrange, new examples, new docs
2017-06-13 22:11:44 -07:00
Mark Otto
142c2a0851
reorder that
2017-06-11 16:24:20 -07:00
Mark Otto
b95aa65c74
nuke subheader
2017-06-10 18:13:36 -07:00
Mark Otto
dc5a1db625
add labels and ids
2017-06-10 16:31:36 -07:00
Mark Otto
59817a1729
document server side fallbacks
2017-06-10 16:31:27 -07:00
Mark Otto
0cb95c6643
mention fallbacks
2017-06-10 16:31:14 -07:00
Mark Otto
e2b6a71725
words
2017-06-10 16:30:35 -07:00
Mark Otto
6c214ad4c2
drop the old validation styles and docs
2017-06-06 11:27:29 -07:00
Mark Otto
4831076d6e
some text for the browser default version
2017-06-06 11:26:24 -07:00
Mark Otto
bcfef5b28c
add instructions, clarify
2017-06-06 11:26:08 -07:00
Mark Otto
c51b7cae95
callout that
2017-06-06 11:25:54 -07:00
Mark Otto
d2c9f3f00a
flesh out invalid styles on .was-validated
2017-06-05 23:00:14 -07:00
Mark Otto
af097bd5bf
start rewriting
2017-06-05 20:21:08 -07:00
Mark Otto
4a554e5ff5
trying out new validation styles
2017-06-01 08:06:17 -07:00
Mark Otto
f13eb51940
Merge branch 'v4-dev' into form-tweaks
2017-05-31 21:29:23 -07:00
Mark Otto
332d882cdb
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-31 20:46:29 -07:00
Johann-S
5f493cfc74
Remove the use of x-arrow attribute for Tooltips/Popovers arrows
2017-05-31 09:54:58 +02:00
Mark Otto
8f9c883c32
build
2017-05-30 21:00:43 -07:00
Mark Otto
ae0f94d469
redo some dropdown docs
2017-05-30 13:59:33 -07:00
Mark Otto
39a258ddfe
redo button styles
...
- rename .btn-bs to .btn-bd-purple
- abstract yellow masthead button into .btn-bd-yellow and use it the new
docs navbar
2017-05-30 12:03:34 -07:00
Mark Otto
43fac7418e
forgot bugify in plugin list
2017-05-30 11:37:27 -07:00
Mark Otto
cb030314cc
hella migration updates
2017-05-30 11:31:57 -07:00
Mark Otto
bb54e854de
give migration page toc and description
2017-05-29 23:32:28 -07:00
Mark Otto
0ef7cb866e
more examples path fixing
2017-05-29 23:32:28 -07:00
Mark Otto
723a03cc43
update examples link and add a redirect
2017-05-29 23:32:28 -07:00
Mark Otto
b2c1e89c6a
update urls
2017-05-29 23:32:28 -07:00
Mark Otto
d326df63f2
revamp some files
2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656
Rearrange all the docs to allow for a docs/major.minor/ setup
2017-05-29 23:32:28 -07:00
Mark Otto
32153eb7cb
customize focus state
2017-05-28 22:23:27 -07:00
Mark Otto
9fc9977a25
purple sidebar
2017-05-28 21:40:23 -07:00
Mark Otto
64c548527a
add new var, update alignment
2017-05-28 21:40:15 -07:00
Mark Otto
c043c0a5ba
remove footer from docs pages
2017-05-28 21:40:05 -07:00
Mark Otto
9cf11d71dd
move algolia overrides to separate scss partial
2017-05-28 21:24:44 -07:00
Mark Otto
f894dd4a24
move docs vars to new scss partial
2017-05-28 21:24:29 -07:00
Mark Otto
66011fb74c
more algolia design tweaks
2017-05-28 21:21:50 -07:00
Mark Otto
69b5178c0a
shorter title
2017-05-28 19:48:44 -07:00
Mark Otto
fc045e0e76
html linting
2017-05-28 19:47:22 -07:00
Mark Otto
a9fccc8813
jobs url added
2017-05-28 19:36:03 -07:00
Mark Otto
d4a1244c60
fix font-size and borders
2017-05-28 18:01:24 -07:00
Mark Otto
251c7be168
hide social on mobile for now
2017-05-28 18:01:14 -07:00
Mark Otto
f2fb861308
fix font-size to compute to 14px even
2017-05-28 18:01:08 -07:00
Mark Otto
31613b55de
.bd-lead refinement for mobile
2017-05-28 18:00:38 -07:00
Mark Otto
bef65b17dc
fix homepage
2017-05-28 17:52:52 -07:00
Mark Otto
930012f29a
try out a different navbar approach
2017-05-28 17:49:46 -07:00
Mark Otto
9c4d588f0b
new styles for docsearch
2017-05-28 16:16:13 -07:00
Maxime Locqueville
c709ce19a5
add docsearch
2017-05-28 16:15:08 -07:00
Mark Otto
10ca9c6d5a
add jekyll include parameters
2017-05-28 13:40:25 -07:00
Mark Otto
9c1f0c94e4
update svgs
2017-05-28 11:26:13 -07:00
Mark Otto
f682dec5c2
new toc in utils and about and extend
2017-05-28 11:25:59 -07:00
Mark Otto
c72cc98bd5
update components docs
2017-05-27 23:01:14 -07:00
Mark Otto
5a3a356651
revisit how we do these heading examples because the jekyll-toc plugin renders them awkwardly
2017-05-27 22:40:00 -07:00
Mark Otto
968c0c6971
update content docs
2017-05-27 22:16:44 -07:00
Mark Otto
fdf4b7be5f
hide third level toc and deeper
2017-05-27 22:12:18 -07:00
Mark Otto
fa2731b626
update layout pages
2017-05-27 22:12:00 -07:00
Mark Otto
1f43d9c066
revamp getting started docs to use new toc
2017-05-27 22:03:48 -07:00
Mark Otto
fa413aece1
prep the navbar for some old version stuff
2017-05-27 22:03:17 -07:00
Mark Otto
27a98e014a
fix viewbox
2017-05-27 21:44:50 -07:00
Mark Otto
a3f7639728
swap kramdown toc for jekyll-toc plugin, update page layout to only show on xl and above
2017-05-27 21:44:42 -07:00
Mark Otto
3b8202db93
update nav to use logo at all times
2017-05-27 21:43:52 -07:00
Mark Otto
ed3b308c27
purple nav
2017-05-27 20:10:35 -07:00
Mark Otto
0322e7e83b
remove top/bottom padding
2017-05-27 20:10:02 -07:00
Mark Otto
07ef129fc6
always show docs search
2017-05-27 18:47:59 -07:00
Mark Otto
f6b7c38c9b
finesse the docs layout
2017-05-27 18:47:45 -07:00
Mark Otto
3c838067a6
redesign sidebar a bit
2017-05-27 18:30:58 -07:00
Mark Otto
5b66579e4d
make it big screen friendly
2017-05-27 18:24:00 -07:00
Mark Otto
8627c506f7
more responsive docs nav
2017-05-27 18:12:45 -07:00
Mark Otto
7c9efe786a
move .scss-lint.yml to route dir instead of symlink (which didn't work)
2017-05-27 17:54:23 -07:00
Mark Otto
9dbe77a0b0
explicit styles
2017-05-27 17:37:34 -07:00
Mark Otto
6bf63cbe67
hack the headings for sticky header so shit doesn't overlap
2017-05-27 17:37:25 -07:00
Mark Otto
33b322e9b5
position the markdown toc on the right for larger screens
2017-05-27 17:37:03 -07:00
Mark Otto
ded32a682a
new nav styles
2017-05-27 17:36:35 -07:00
Mark Otto
4564f7e3ef
give the navbar a fixed height so we can position other sticky elements more reliably
2017-05-27 17:36:20 -07:00
Mark Otto
ca6c23161f
moved file
2017-05-27 17:35:52 -07:00
Mark Otto
e1cd3c7c2b
remove ads from in these pages, move some content to descriptions
2017-05-27 17:35:43 -07:00
Mark Otto
1029a35f74
Add a symlink to the scss-lint for doing local dev
2017-05-27 17:34:32 -07:00
Mark Otto
480944e66e
• Add SVGs for GitHub, Slack, and Twitter
...
• Move the Bootstrap SVG into the same folder
2017-05-27 17:34:17 -07:00
Mark Otto
456d6a07f0
style our svg icons in the navbar
2017-05-27 17:31:55 -07:00
Mark Otto
bf0fcd7a96
drop navbar search for download button and social icons
2017-05-27 17:31:28 -07:00
Mark Otto
56415b18c6
full width navbar too
2017-05-27 17:30:28 -07:00
Mark Otto
c91da107ad
make the body full width
2017-05-27 17:30:07 -07:00
Mark Otto
8f67ac19a7
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-27 15:26:48 -07:00
Geremia Taglialatela
db44e4b311
Update nav and navbar HTML markup
...
According to the docs, you just need to apply the `navbar-nav` to an
`<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to
override all the css properties set by `nav`.
Also, `nav-item` class should be used only for `<li>` tags, or in
conjunction with `<a>` tags to entirely avoid the list-based approach.
This commit removes the redundant `nav` class from `navbar-nav` `<ul>`
tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly
adds `nav-item` class to `<li>` tags where missing.
Refs:
* https://v4-alpha.getbootstrap.com/components/navs/
* https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-27 15:21:49 -07:00
Mark Otto
8a6642bbff
rename section
2017-05-27 14:38:37 -07:00
Mark Otto
6c3f833076
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-26 22:28:09 -07:00
Mark Otto
f3acf9d890
custom forms example with new grid styles
2017-05-26 21:54:35 -07:00
Mark Otto
9e6644a206
Update forms docs to add more headings and move the huge type example into a table
2017-05-26 21:54:25 -07:00
Mark Otto
04724939a3
Merge branch 'v4-dev' into form-tweaks
2017-05-26 21:22:08 -07:00
Hugh Bellamy
4a8728d54c
Update migration docs for .has-error rename
2017-05-26 20:54:39 -07:00
Mark Otto
733c092681
Drop CSS icons for SVGs ( #22708 )
...
* add the svg icon as a partial so we can include it easily
* add the icon to the homepage
* drop .bd-booticon for svgs here
* rip out the import for .bd-booticon sass file
* Delete _booticon.scss
* indentation
* Update bootstrap-icon.html
* remove those
2017-05-26 20:54:12 -07:00
Mark Otto
b872a6f807
build
2017-05-26 20:21:29 -07:00
Mark Otto
4282d892f3
build
2017-05-26 20:20:10 -07:00
Mark Otto
e0e1e849e6
document more form layout options with grid, including some compact .gutters-sm examples
2017-05-26 20:15:30 -07:00
Mike Cooper
c8c51186f5
update equal-width numbering in docs ( #22697 )
2017-05-26 11:06:25 -07:00
Heiko Jansen
38682f69af
Merge branch 'v4-dev' into patch-1
2017-05-26 11:07:06 +02:00
Idan Cohen
fc5e8b9415
add webpack to documentation ( #22423 )
...
* add webpack to documentation"
implementing PR comments
implementing PR comments
* replace tether with popper
2017-05-25 21:01:07 -07:00
Ayachii
5fa262adec
Fix 22643 - Readme links to vanished file ( #22647 )
...
* Fixed dead link to browser list
The link to the list of browsers supported through Autoprefixer was dead, now updated to a working link.
* Updated label to display new file path
Changed the labeling on the updated link to show read as the new updated file path.
2017-05-24 21:50:22 -07:00
Heiko Jansen
3689be8115
Sync code shown with code actually used
...
Remove class and attributes from buttons which are not expected to trigger dropdowns.
Code used to render the examples is correct but code shown was not.
2017-05-24 16:32:36 +02:00
Johann-S
f5527c65f1
Fix fallbackPlacement default value for Popovers documentation
2017-05-24 15:10:26 +02:00
Johann-S
cc303d5d26
Update Popper.js to 1.9.9
2017-05-24 14:57:40 +02:00
Johann-S
9e894991b0
Update documentation for Tooltips/Popovers about auto placement
2017-05-24 14:57:40 +02:00
Johann-S
460ff235fa
Documentation display tooltips/popovers arrows with css for static examples
2017-05-23 15:19:54 +02:00
Laussel Loïc
be742b0f5c
fix tooltip documentation page missing classname prefix "bs-" to popover top
2017-05-17 16:54:28 +02:00
Johann-S
dd78950d0a
Update Popper.js 1.9.4
2017-05-17 14:22:10 +02:00
Johann-S
3719ed4cb6
build
2017-05-16 10:09:48 +02:00
Anand Chowdhary
183205afb8
Change "Max CDN" to "MaxCDN"
2017-05-14 11:58:26 +02:00
Johann-S
21c3864134
Update Popper.js 1.9.3
2017-05-14 11:41:19 +02:00
Johann-S
c78cbb275b
Change fallbackPlacement to flip by default for Tooltips/Popovers
2017-05-14 11:41:19 +02:00
Johann-S
0ae9d28ba3
Add fallbackPlacement option for Tooltip and Popover
2017-05-14 11:41:19 +02:00
Johann-S
3cfa5e8c05
Update Popper.js 1.9.1 + Update documentation about Dropdown placement
2017-05-14 11:41:19 +02:00
Johann-S
85f41309e2
Documentation - fix examples for Tooltip and Popovers (display arrow)
2017-05-14 11:41:19 +02:00
Johann-S
4f882a840c
Allow to disable flip behaviour on Dropdown + documentation
2017-05-14 11:41:19 +02:00
Johann-S
458b3cc4a3
Update Popper.js 1.8.2
2017-05-14 11:41:19 +02:00
Johann-S
e5a0471b0b
Add an update method to allow to update position for Tooltip/Popover/Dropdown manually
2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626
Fix some css for the arrow of Popover/Tooltip + update documentation
2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5
Remove totaly Tether from documentation + dependencies
2017-05-14 11:41:19 +02:00
Johann-S
c4b4d534a4
Remove Tether from package.json + Update Popper
2017-05-14 11:41:19 +02:00
Johann-S
69de65180f
Fix unit tests + Update Popper to 1.6.0
2017-05-14 11:41:19 +02:00
Johann-S
6cf0fe8780
Use Popper for tooltip and popover
2017-05-14 11:41:19 +02:00
Peter Blazejewicz
aa68ca3580
tooltips/popover must be hidden before their corresponding element is removed from the DOM
2017-05-09 10:51:44 +02:00
Mark Otto
ee1af53d9f
Merge branch 'v4-dev' into form-tweaks
2017-05-07 17:44:57 -07:00
Patrick H. Lauke
2a4be9a0c9
Add explicit role="main" to <main> elements ( #22574 )
...
For compatibility in IE10/IE11 which don't otherwise "know" this element's role/don't expose it to AT
2017-05-05 10:22:09 +01:00
Laussel Loïc
c81be77929
Add missing <main> element to documentation
...
includes explicit `role="main"` for IE10/IE11 compatibility
2017-05-05 10:10:28 +01:00
Patrick H. Lauke
02d1776069
Styling and accessibility clarification for navs documentation
...
* Split out/expand mention that base navs lack active styles
* Add accessibility notes for navigation bars vs dynamic tabbed interfaces
2017-05-04 17:07:52 +01:00
Mark Otto
8c7fe6cf14
Merge branch 'v4-dev' into form-tweaks
2017-05-01 21:54:50 -07:00
Peter Gerdes
e00de46540
Link to package.json Fixed
...
The link to package.json in the v4 docs was linking to package.json in the v3 source. Fixed to point to the correct v4 location. A change like this will need to be made for all branches on version 4 if you want the docs to be linked correctly (github may be smart enough to follow the link to the current branch if you are on github but it was wrong from the main site).
2017-05-01 18:34:17 -05:00
Patrick H. Lauke
f7f644a4e5
Documentation cleanup (inc. use of <input ... readonly> for static form controls example)
...
* Fix incorrect code indentation
* Remove unnecessary vendor prefix for `box-sizing` - all modern browsers now support this unprefixed
* Remove incorrect `<label>` and change static controls to readonly inputs
* Allow `<img>` elements without `src` to allow for `holder.js` images used in the docs, which lack `src` and use `data-src` instead
2017-04-27 23:57:10 +01:00
Mark Otto
80438e93e1
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-04-21 23:59:06 -07:00
Mark Otto
ba312c20a5
build
2017-04-21 23:58:09 -07:00
Bardi Harborow
2906b612d5
More minor build tweaks and docs updates.
2017-04-21 21:08:40 +10:00
Johann-S
9af6bf8f7a
Add Johann-S to Core team 🎆
2017-04-19 22:36:03 +01:00
Patrick H. Lauke
c0f068bc73
Port button group accessibility callout from v3 to v4
2017-04-18 15:14:07 +01:00
Patrick H. Lauke
9a3e002e8f
Add dropdown menu accessibility callout and fix <a> example
...
As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their `role="menu"` etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).
Additionally, fixes up the `<a>` example for dropdown trigger, with the
missing `role="button"` and neutering the `href` (which would be useless
anyway since BS overrides the link-like nature of the `<a>` so it could
never be triggered/followed anyway)
2017-04-18 09:34:55 +01:00
Patrick H. Lauke
6ae5fb12e6
Fix carousel "hover" behavior on touch-enabled devices
...
* Add carousel mouse listeners even if touch events enabled
- touch events are enabled not just on "mobile", just also on
touch-enabled desktop/laptop devices; additionally, it's possible to
pair a mouse with traditionally touch-only devices (e.g. Android
phones/tablets); currently, in these situations the carousel WON'T pause
even when using a mouse
* Restart cycle after touchend
as `mouseenter` is fired as part of the touch compatibility events, the
previous change results in carousels which cycle until the user
tapped/interacted with them. after that they stop cycling (as
`mouseleave` is not sent to the carousel after user scrolled/tapped
away).
this fix resets the cycling after `touchend` - essentially returning
to the previous behavior, where on touch the carousel essentially never
pauses, but now with the previous fix it at least pauses correctly for
mouse users on touch-enabled devices.
includes documentation for this new behavior.
2017-04-17 13:26:46 +01:00
Patrick H. Lauke
7ffb61ac52
Rewrite getting started/accessibility docs
...
A long overdue rewrite of the accessibility section - instead of the few
snippets of strangely superficial and out-of-context advice (skip links,
use correct heading levels), this tries to answer some of the
fundamental questions about "is Bootstrap accessible", with emphasis on
the fact that the final result will depend in large part on what BS is
applied to/on (since BS relies on the markup etc authored by
developers). This also sets out our ambition to have things work for
keyboard and assistive tech users, and that we strive to make all our
examples etc accessible and semantic.
* Changes based on @mdo's feedback
2017-04-17 00:04:49 +01:00
Mark Otto
b21b83b7ea
fixes #22244 by providing more specific guidance on input types
2017-04-16 14:51:27 -07:00
Patrick H. Lauke
ea1d69c64b
Make "Copy" buttons actual buttons
...
This makes them keyboard-accessible. For mouse users, the only change
here is that the focus outline will remain on the button once clicked
(in future, this can be solved with :focus-ring, but for now this would
require a polyfill). the tooltip is explicitly hidden on `mouseleave`,
so even though the `<button>` retains focus after clicking, the tooltip
won't stay visible once mouse user moves away.
the mouse hover styles have explicitly not been make to also apply to
:focus, so as to minimise the visual impact for
mouse users (though the tooltip remains visible)
- but due to the default outline and the custom tooltip, it
should be fairly clear when keyboard users set focus to a copy button
too.
2017-04-16 13:57:33 -07:00
Mark Otto
bc0cf36dc8
grunt
2017-04-16 13:54:07 -07:00
Patrick H. Lauke
6d64afe508
Replace dropdown backdrop hack with cleaner JS-only hack
...
* Replace backdrop with simple noop mouse listener
As discussed in https://github.com/twbs/bootstrap/pull/22422 the current
approach of injecting a backdrop (to work around iOS' broken event
delegation for the `click` event) has annoying consequences on
touch-enabled laptop/desktop devices.
Instead of a backdrop `<div>`, here we simply add extra empty/noop
mouse listeners to the immediate children of `<body>` (and remove
them when the dropdown is closed) in order to force iOS to properly
bubble a `click` resulting from a tap (essentially, method 2 from
https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html )
This is sufficient (except in rare cases where the user does manage to tap
on the body itself, rather than any child elements of body - which is not
very likely in an iOS phone/tablet scenario for most layouts) to get iOS to
get a grip and do the correct event bubbling/delegation, meaning the regular
"click" event will bubble back to the `<body>` when tapping outside of the dropdown,
and the dropdown will close properly (just like it already does, even without
this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and
Windows on a touch laptop).
This approach, though a bit hacky, has no impact on the DOM structure, and
has no unforeseen side effects on touch-enabled laptops/desktops. And crucially,
it works just fine in iOS.
* Remove dropdown backdrop styles
* Update doc for dropdowns and touch-enabled devices
2017-04-14 09:19:00 +01:00
Patrick H. Lauke
3275ca4b30
Reword "mobile" to "touch-enabled"
...
...as touch is not exclusive to "mobile" anymore nowadays. also explicitly clarifies this is a fix for iOS, and that it impacts touch laptops etc as well. lastly, renames the variable from "dropdown" to "backdrop" for clarity/consistency
2017-04-12 18:39:23 +01:00
Patrick H. Lauke
53b2c5520b
Remove inappropriate role="listbox" from carousels
2017-04-11 11:12:30 +01:00
Patrick H. Lauke
18e8704221
Fix collapse.js aria-expanded behavior
...
* Remove aria-expanded from collapse.js target element
aria-expanded="true"/aria-expanded="false" only applies to the trigger,
not the element that is being expanded/collapsed.
* Tweak collapse.js accessibility section
...to make it clearer that the aria-expanded attribute always just goes
on the control.
* Fix collapse.js unit tests
- reword some of the text to make it clear we're checking behavior of
trigger/control
- move incorrect aria-expanded out of the <div>s and to the actual
trigger/control <a>s
- fix incorrect test assertion text output false -> true
2017-04-10 14:51:22 +01:00
Patrick H. Lauke
ba306d98bb
Merge branch 'v4-dev' into v4-dev-docs-navs-js-tabpanel-fix
2017-04-09 22:09:45 +01:00
Patrick H. Lauke
50d178ece0
Remove incorrect role="tabpanel" from navs docs
...
`role="tabpanel"` is not appropriate as role for the overall container -
it only applies to the individual content parts of each tab
2017-04-09 21:15:05 +01:00
Patrick H. Lauke
c5db196e76
Merge branch 'v4-dev' into v4-docs-button-group-a11y-patch1
2017-04-09 13:25:47 +01:00
Mark Otto
0719ab1888
grunt
2017-04-08 22:05:50 -07:00
Mark Otto
ee5dc37ba3
drop img-fluid for w-100
2017-04-08 16:29:21 -07:00
Mark Otto
feb35b94a6
Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )"
...
This reverts commit 2f21403a93
.
2017-04-08 15:15:14 -07:00
Mark Otto
2f21403a93
Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )
2017-04-08 14:23:47 -07:00
Mark Otto
9a475730dc
Docs and CSS updates for #21807 ( #22336 )
...
* tweak some copy
* fix up scrollspy docs
* remove nav styles that were added
* fix nav-based docs by requiring .nav-item on .nav-link
2017-04-08 13:58:20 -07:00
Mark Otto
364e01885f
grunt
2017-04-08 13:22:53 -07:00
Johann-S
31a21044e0
Documentation - Add inserted event for Tooltip and Popover
2017-04-07 14:23:26 +02:00
Pierre Vanduynslager
7e64147adf
Rename navbar-toggleable to navbar-expand in docs ( #22309 )
2017-04-02 12:44:38 -07:00
Mark Otto
7d88f365c0
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-04-02 12:00:52 -07:00
Pierre Vanduynslager
91b62941af
Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...)
2017-04-02 11:21:04 +02:00
Mark Otto
49b6cf845d
grunt
2017-04-01 19:18:29 -07:00
Patrick H. Lauke
63cd4e96b3
Add explicit aria-label to placeholder-only inputs
...
While `placeholder` is nominally valid per spec
http://rawgit.com/w3c/html-api-map/master/index.html#accessible-name-and-description-calculation
it is inelegant, a fallback, and not supported in ios/safari/voiceover
and android/chrome/talkback, to name a few combinations
`aria-describedby` is also not really the right tool for providing a
name/label equivalent, so remove that from the list of possible
alternative methods / clarify how it can be used
2017-03-30 23:31:14 +01:00
Pierre Vanduynslager
48c5efa4c3
Fix JS components console error "Error: <Component> is transitioning"
2017-03-28 23:43:15 +02:00
Mark Otto
b3cad39782
quickly fix #21761 by adding .text-gray-dark example
2017-03-28 09:35:39 -07:00
Mark Otto
cf7d3e11e0
grunt
2017-03-28 09:31:32 -07:00
Mark Otto
7742ba6dc9
grunt
2017-03-27 22:56:14 -07:00
Mark Otto
fe3acc097a
Card image fixes ( #22288 )
...
* fix image stretching due to flexbox
* fix broke text-muted on dark bg
* no img-fluid needed
2017-03-27 22:52:24 -07:00
Mark Otto
8edfe0ff56
fixes #21608
2017-03-26 17:31:29 -07:00
Mark Otto
6331b9962b
grunt
2017-03-26 15:26:07 -07:00
Mark Otto
319c278cfe
grunt
2017-03-26 14:52:41 -07:00
Mark Otto
7ca078da81
fixes #22111
...
- add .col-*-auto to the extend in our grid framework mixins so it gets padding
- this means we can avoid the col-12 classes in our docs for the responsive variants
2017-03-26 13:23:49 -07:00
Mark Otto
1d48151975
git that a link too for now
2017-03-26 13:23:49 -07:00
Mark Otto
9010978c1a
add example and document bug behavior to fix #21967
2017-03-26 13:23:49 -07:00
Mark Otto
1ad0496724
fix broken fieldset grid, workaround for flexbug 9
2017-03-26 13:23:49 -07:00
Mark Otto
1e6902d21f
fixes #22133
2017-03-26 13:23:49 -07:00
Mark Otto
2b3a2b65a9
doh forgot to save
2017-03-26 13:23:49 -07:00
Mark Otto
9596cb5087
clarify docs a bit more and remove some words; closes #21683
2017-03-26 13:23:49 -07:00
Mark Otto
1a264be8b3
Redo semantic grid example and make it real in the docs
2017-03-26 13:23:49 -07:00
Mark Otto
2d243086c9
clean up mixin docs
2017-03-26 13:23:49 -07:00
Mark Otto
4ab06ca453
grunt
2017-03-26 11:26:31 -07:00
Sid
d2b919143c
Add missing v4 docs for tooltip/popover methods ( #22246 )
...
Add missing v4 docs for tooltip/popover methods
2017-03-24 11:32:39 +01:00
Mark Otto
7f21a80a6a
fix dupe ids
2017-03-23 23:02:28 -07:00
Mark Otto
2af1be2440
fix broken justified-nav example, fixes #21874
2017-03-23 23:02:28 -07:00
Mark Otto
90c5f6230b
rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else
2017-03-23 23:02:28 -07:00