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

7590 Commits

Author SHA1 Message Date
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
Mark Otto
11ba308b2f more docs updates 2017-03-23 23:02:28 -07:00
Mark Otto
c5d10f6dee update docs 2017-03-23 23:02:28 -07:00
Mark Otto
a3a1a592b5 update docs example to use new stuff 2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
c1325a756e Generate correct breakpoints for navbar-toggleable-* and generate toggleable without media query to never collapse 2017-03-23 23:02:28 -07:00
Mark Otto
d0b568470f fixes #22254 2017-03-23 22:34:35 -07:00
Patrick Hayes
e41316cd94 Fix modal documentation (#22252)
The example code has the class `"modal fade"`, but the visible example has the class `"modal"`. `"fade"` appears to not work for modals that you do not intend to animate onto the page
2017-03-23 21:16:06 -07:00
Johann
3f247a42f2 Fix Modal documentation about _handleUpdate method + move to public scope (#21877)
Fix Modal documentation about _handleUpdate method + move to public scope
2017-03-23 22:22:09 +01:00
Pierre Vanduynslager
37f438910f Accordion behavior with JQuery interface (#21726)
Fix accordion behavior with JQuery interface
2017-03-23 21:15:41 +01:00
Gifford Nowland
7c4ed09da2 fix data-pause documentation for carousel (#21938)
fix data-pause documentation for carousel
2017-03-22 23:02:56 +01:00
Johann
c72a315740 Carousel - Add attributes from and to for Slid and Slide events (#21668)
Carousel - Add attributes from and to for Slid and Slide events
2017-03-22 22:42:13 +01:00
Bardi Harborow
cab6f7d16c More config tweaks. 2017-03-21 21:37:33 +11:00
Mark Otto
1ecb74e007 bump to jquery 3.2.1 2017-03-20 23:27:54 -07:00
Bardi Harborow
09fb2b9af3 Update dependencies. 2017-03-20 17:37:05 +11:00
Mark Otto
38f89726b9 fixes #21920 2017-03-19 20:51:35 -07:00
Mark Otto
e506e59c45 grunt 2017-03-19 19:03:32 -07:00
Mark Otto
b836371525 document it 2017-03-19 19:03:29 -07:00
Mark Otto
6bc93c9593 grunt 2017-03-19 18:42:20 -07:00
Mark Otto
b1b2cfbc9d fix markdown docs tables 2017-03-19 18:39:48 -07:00
Mark Otto
374c45048c rewrite in markdown 2017-03-19 18:39:48 -07:00
Mark Otto
caebfcd246 Fix justified nav styles and update nav docs for fill/justify
- Justified and fill nav variants need .nav-item classes on the anchors in addition to .nav-link
- Fix broken styles for the .nav-justified class which wasn't actually doing what we needed it to
2017-03-19 15:47:34 -07:00
Mark Otto
bfcfbb7d5c link to caniuse for context 2017-03-19 15:24:20 -07:00
Bardi Harborow
95841f7432 Change duplicate id. 2017-03-19 22:57:17 +11:00
Mark Otto
5f3473258e add header and footer to example 2017-03-18 16:49:55 -07:00
Mark Otto
ab77282004 grunt 2017-03-18 16:31:26 -07:00
Mark Otto
e1c561a723 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-03-18 16:30:24 -07:00
Mark Otto
ec8c251928 fixes #21584
- revert back to display block for list items to prevent unwanted behaviors
- fixes a handful of other linked issues (see main thread)
- updates docs to include more utilities for the one example
2017-03-18 16:30:12 -07:00
jak
860181212d docs: add text-truncate and extend on text-nowrap 2017-03-18 13:18:05 -07:00
Mark Otto
7180b42aa1 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-03-12 17:56:09 -07:00
Bardi Harborow
84ce248f06 Update config files across the board. 2017-03-12 16:15:00 +11:00
Bardi Harborow
348c770a6c Update dependencies. 2017-03-12 14:41:41 +11:00
Mark Otto
7e07d5bf2e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-03-07 20:44:42 -08:00
Starsam80
95f37e4c40 Clean up spacers a bit more 2017-03-05 16:05:12 -06:00
Mark Otto
ac3a2fe9bf add more 2017-03-05 12:25:41 -08:00
Mark Otto
a607ead34c fill in docs for layout utils page 2017-03-05 12:25:41 -08:00
Mark Otto
78937cbb39 move visibility docs and add .visible mention 2017-03-05 12:25:41 -08:00
Mark Otto
b7bf343958 update the migration docs 2017-03-05 12:25:41 -08:00
Mark Otto
22ee8c1aee clear out docs css 2017-03-05 12:25:41 -08:00
Mark Otto
c6fdac9415 update instances of old classes in the docs 2017-03-05 12:25:41 -08:00
Mark Otto
ebe405a01b Start rearranging the docs for a utilities update
— Rename display docs page
— Move print display utils to display utils page
— Drop remaining of responsive utils page as it's being replaced with display utils
— Update nav to reflect changes
2017-03-05 12:25:41 -08:00
Mark Otto
ed1de86794 Update spacer utilities (#22123)
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Mark Otto
4a1b8919d1 grunt 2017-03-03 11:31:47 -08:00
Alex Neises
c10200267b Fixed spelling error. (#22102) 2017-03-02 16:32:21 -08:00
Sam Rapaport
651243f57c Fix spelling error. 2017-03-02 14:22:01 +11:00
Bardi Harborow
e8015e3f16 Fix broken links. 2017-02-27 21:51:26 +11:00
Mark Otto
07f63324d1 add more grid layout options 2017-02-26 17:14:25 -08:00
Mark Otto
dcd020b3f7 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-02-26 15:35:17 -08:00
Jason Millis
312522529c Re-arranged contextual rows/cells (#21980)
Re-arranged contextual rows/cells so that example HTML matches example result.
2017-02-26 15:32:34 -08:00
Mark Otto
d2ddb55180 use secondary buttons instead of primary ones for a bit better example of styles 2017-02-12 17:15:16 -08:00
Mark Otto
820d912860 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-02-11 17:06:24 -08:00
Matt Eason
29a8f9fc99 Change 'has no affect' to 'has no effect' 2017-02-09 16:17:32 +00:00
Waldson Moura
20389c10da Fix fallback jquery filename (#21940) 2017-02-07 19:22:48 -08:00
Mark Otto
342e19ae89 grunt 2017-02-07 18:11:13 -08:00
Mark Otto
672fde1a02 stub out icons page in docs 2017-02-04 21:14:41 -08:00
Mark Otto
7263ec60e2 Rename icon-fonts.md to icons.md 2017-02-04 19:46:07 -08:00
Mark Otto
0da20476ec Fixes #21892 2017-02-04 16:43:05 -08:00
Mark Otto
d822e9e491 grunt 2017-02-04 12:55:36 -08:00
Patrick H. Lauke
f5745ab846 Add aria-label to docs search field 2017-01-26 11:12:39 +00:00
Mark Otto
a5abfe0ac0 fixes #21567 2017-01-24 00:22:31 -08:00
Mark Otto
d82e04e749 grunt (fixes #21819) 2017-01-24 00:18:41 -08:00
Mark Otto
519ecc1c69 Rename order utilities to intended class names (#21739)
* rename order utilities to intended class names

* Documentation fixes.
2017-01-24 00:01:44 -08:00
Geremia Taglialatela
104477af17 Fix body padding in Dashboard and Jumbotron examples.
The actual navbar height is 3.5rem.
2017-01-23 22:20:07 +11:00
Bardi Harborow
c5a9ebf576 Move htmllint to npm script. 2017-01-23 20:53:17 +11:00
Quy
563926717c Change to markdown (#21815) 2017-01-22 20:37:14 -08:00
Quy
091f3b8c24 Change header to use markdown (#21809)
Header will now display in the Contents section.
2017-01-22 11:17:17 -08:00
Mark Otto
c920049b5b Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-01-21 18:02:23 -08:00
Marcus Molchany
3cb252570a Update grid layout docs (#21806)
Update Mix and match section with correct responsive classes
for stacking cols.
2017-01-21 18:01:13 -08:00
Mark Otto
deb1c59c53 grunt 2017-01-21 17:50:45 -08:00
Mark Otto
4fa7749442 Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css

* Nuke the old comment, consolidate to a single line and number as appropriate

* Bring over styles for HTML element from Normalize to Reboot

* Move margin override for body element from Normalize to Reboot

* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support

* Building on previous commit, do the same thing for figure, figcaption, and main

* Remove IE9- display from Normalize given our browser support

* Drop IE8 figure margin because we're IE10+

* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already

* Drop Safari 6 b and strong normalization because we're Safari 8+

* Remove mark styles for IE9- from Normalize

* Remove old iOS audio fixes from Normalize

* Remove IE9- display for progress from Normalize

* Remove more IE9- rules from Normalize

* One more IE9- display removal for canvas element

* Move pre overrides from Normalize to Reboot

* Move over some link resets to Reboot, drop others

- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links

* Move over more code element resets, consolidate with pre overrides, too

* Move over sub and sup wholesale

* Move over img normalization to Reboot

* Move over SVG override too

* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary

* Remove bulk of @viewport comment

* edit down that code comment

* consolidate html-based normalizations

* update comments

* Consolidate abbr styles

* move over more type elements

* move over hr changes

* move over form controls and more

* move over button resets

* move over firefox button changes

* move over search changes and more

* we nuke all these styles for fieldsets anyway, so outright remove them

* no need for those, we override them

* move over legend, fieldset, progress

* line break

* delete normalize file

* linting

* update comment

* clarify docs mentions of normalize and reboot

* remove normalize excludes from linter

* remove normalize excludes from cli task

* linting

* callout license since we forked part of normalize

* Improve comments, move table background reset to .table class instead of in reboot

* trailing space
2017-01-21 14:14:25 -08:00
Mark Otto
0220d8b7d4 grunt 2017-01-21 13:25:29 -08:00
Erin Brown
8167682deb Specify card component is necessary for accordion behavior (#21746)
- It is unclear that the use of the card component is necessary
when extending the collapse behavior to behave like an accordion.
2017-01-16 10:25:42 -08:00
Geremia Taglialatela
2a45ca5106 Fix horizontal scrollbar appearing in docs (#21747)
On small screens (< 576px), all documentation pages containing
`.bd-example` styled tags, show the horizontal scrollbar because of a
wrong horizontal margin property.

This PR sets the horizontal margin on gutter width basis instead of rem.
2017-01-16 10:24:59 -08:00
Quy
87751da482 Update .tag to .badge in migration (#21565) 2017-01-15 21:46:42 -08:00
Quy
db4fe7c69d Remove IE9 from SVG images callout (#21566) 2017-01-15 21:46:16 -08:00
Pierre-Denis Vanduynslager
1528516dd6 Add doc example with badge links (#21674) 2017-01-15 21:45:04 -08:00
Christian Oliff
5eb67091b5 Update Search input to type="search" (#21617)
This is semantically correct and works just as well.
2017-01-15 21:44:27 -08:00
Amy Gori
44684a60e5 Correct xs and sm breakpoint values in responsive utilities docs (#21664) 2017-01-15 21:37:06 -08:00
Pierre-Denis Vanduynslager
a3bc607c10 Remove unused scss variables (#21579)
* Remove unused scss variables

* Remove unnecessary space

* Remove $zindex-navbar from docs

* Re-add $progress-box-shadow
2017-01-15 21:35:18 -08:00
Pierre-Denis Vanduynslager
1d0f527249 Add alert divider (<hr>) example in docs (#21673)
* Add alert divider (<hr />)example in docs

* <hr/> => <hr> per @vsn4ik suggestion
2017-01-15 21:33:32 -08:00
Marios Zindilis
57fe8ac84c Fixed minor typo 2017-01-15 17:14:25 +00:00
Patrick H. Lauke
25f81e1fe6 Merge pull request #21730 from patrickhlauke/v4-docs-focus-styles
[Docs] Add missing :focus styles
2017-01-15 01:46:33 +00:00
Pierre-Denis Vanduynslager
ec697b2076 Update broken links. (#21696) 2017-01-15 12:11:57 +11:00
Patrick H. Lauke
4adaa64d9a Add missing :focus styles
Double up :hover styles to also apply on :focus (particularly the
masthead button needs this, as otherwise it gives no visible indication
of being focused)
2017-01-14 22:54:55 +00:00
Patrick H. Lauke
b47c252ee1 Merge pull request #21671 from vanduynslagerp/fix-21665
Fix modal id in doc example (Fix #21665)
2017-01-12 13:34:40 +00:00
Patrick H. Lauke
6b48ba4e0d Remove incorrect aria-multiselectable
Closes https://github.com/twbs/bootstrap/issues/21635
2017-01-11 23:57:59 +00:00
Pierre-Denis Vanduynslager
a98fb3c83a Fix modal id in doc 2017-01-11 18:30:48 -05:00
Bardi Harborow
cdf73209df Fix incorrect docs.min.js bundle source. 2017-01-08 12:14:05 +11:00
Mark Otto
d2fbf58546 grunt 2017-01-06 08:39:56 -08:00
Mark Otto
7ea1417b90 rubygems version bump 2017-01-06 08:39:00 -08:00
Mark Otto
045888fa38 version bump 2017-01-06 08:38:04 -08:00
Mark Otto
4f4aa9fdb7 grunt 2017-01-06 08:28:50 -08:00
Bardi Harborow
af05b889a8 Fix media object alignment examples. 2017-01-06 16:45:06 +11:00
Mark Otto
43d9391fba grunt 2017-01-05 14:51:14 -08:00
Quy
98e55484e7 Doc updates (#21542)
* Change it's to its.

* Fix links

* Fix typos
2017-01-05 14:24:40 -08:00
Bardi Harborow
0ac7eb4fe0 Update dependencies. 2017-01-05 14:39:18 +11:00
Bardi Harborow
e4c0311626 Update broken links. 2017-01-05 11:17:22 +11:00
Mark Otto
0015da793a grunt 2017-01-04 11:59:07 -08:00
Mark Otto
f93930199e Update custom content example for list group to use utils so the layout doesn't break 2017-01-04 11:41:40 -08:00
Pierre-Denis Vanduynslager
b2121d499c Fix progress doc markup 2017-01-04 11:27:45 -08:00
Sergio Pantoja
ff0cf67a7e Fix typo on v4 Migration page 2017-01-04 11:26:54 -08:00
Mark Otto
57d3a25fec leave a note in the docs 2017-01-03 19:32:57 -08:00
Mark Otto
acea0b4cc2 grunt 2017-01-03 19:25:15 -08:00
Mark Otto
7a087b69b7 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-01-03 19:24:31 -08:00
Mark Otto
f3d0fee91e fixes #21454 by revamping some docs styles for dropdowns 2017-01-03 19:24:24 -08:00
Mark Otto
8b5c5408bb remove some docs callouts 2017-01-03 19:23:30 -08:00
Bardi Harborow
450ef91b7d Move node-sass to npm script and drop Ruby Sass. 2017-01-04 12:28:06 +11:00
Mark Otto
56f917dd8c grunt 2017-01-03 13:16:18 -08:00
Mark Otto
bd72b9593b Drop .table-reflow
Tried redoing this in flexbox, but it falls apart really quickly. Any changes in height of the cells throws it all off since the rows become columns (and thus, content across columns cannot be equally sized). Rather than implement something with such glaring flaws, I'm nuking it outright.
2017-01-03 13:11:25 -08:00
Mark Otto
f1229e8c47 autohide scrollbar for IE 2017-01-03 12:53:01 -08:00
Mark Otto
38e53fc888 update text 2017-01-03 12:26:32 -08:00
Quy
8f0ac7193e Update sizing links 2017-01-03 11:52:48 -08:00
Jonathan
1d2aaed4ab Added information about list-group-flush 2017-01-03 11:51:41 -08:00
Mark Otto
9fc54f89f4 grunt 2017-01-02 11:54:28 -08:00
Mark Otto
20b05e42e3 update rest of docs, remove navbar specific modifiers, fix docs example css 2017-01-02 11:48:51 -08:00
Mark Otto
4dc6f44796 update docs and examples to use new utils 2017-01-02 11:48:05 -08:00
Mark Otto
2239ea6b53 document new utils and change organization to match css 2017-01-02 11:46:06 -08:00
Mark Otto
21b28903a4 New position utils, split docs
- Renames .pos-f-t to .fixed-top, adds .fixed-bottom and .sticky-top
- Updates utilities Sass to be split across more files (one for position, sizing, and spacing)
2017-01-02 11:45:30 -08:00
Mark Otto
b6b6deff57 fixes #21509: remove reference to .card-deck-wrapper 2017-01-02 10:58:48 -08:00
Mark Otto
fc4ef0ce24 grunt 2017-01-02 10:57:56 -08:00
Quan You
bb07fff66c Update more copyright years to 2017 (#21491)
* Update ie10-viewport-bug-workaround.js year

* Update narrow-jumbotron copyright year to 2017

* Update carousel/index.html copyright year to 2017

* Update browsers-devices.md copyright year to 2017

* Update change-version.js copyright year to 2017
2017-01-01 12:02:41 -08:00