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

7463 Commits

Author SHA1 Message Date
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
Quy
c2ff9b7387 Change .in to .show (#21500) 2017-01-01 12:00:55 -08:00
Quy
7d48a5b27c Fix carousel markup 2017-01-01 14:36:09 +01:00
Heinrich Fenkart
daff021578 grunt 2017-01-01 03:21:02 +01:00
Nuno Arruda
c767a00d5d Update copyright years to 2017 2017-01-01 12:56:11 +11:00
Quy
ff8d28cf25 Move .table-responsive from wrapper to .table 2016-12-31 16:39:42 -08:00
Mark Otto
bccb8ce213 tweak a few more things
- adjust some verbiage
- change the example to correct some labels and range names
2016-12-31 12:47:57 -08:00
Alice Young
b9f44d0c8b minor rephrasing on layout/overview docs 2016-12-31 12:47:57 -08:00
Mark Otto
e2b6badb86 v4: Rip out IE compatibility mode meta tags (#21483)
* Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8
* update and remove some IE bits from our supported browser page
* update introduction.md to match
* reword starter template intro
2016-12-31 12:20:32 -08:00
Mark Otto
7b7e777dca move local docs jquery to slim 2016-12-31 00:52:08 -08:00
Mark Otto
9184980057 update homepage to include depedencies, fixes #21250 2016-12-31 00:52:08 -08:00
Mark Otto
a3f5def40c make note of slim build 2016-12-31 00:52:08 -08:00
Mark Otto
3d6c473696 switch to jquery slim, update examples to use code.jquery.com cdn 2016-12-31 00:52:08 -08:00
Mark Otto
a7931f0c1e add example of width util 2016-12-30 22:46:00 -08:00
Mark Otto
217e13a11b hook up animation toggle 2016-12-30 22:46:00 -08:00
Mark Otto
a0141aa38e Rewrite progress component without <progress> element
- <progress> element didn't allow animation, labels overlaid, multiple bars, etc.

- Revamps CSS to use something more similar to v3's implementation

- Ditches variant mixin for `bg-` utils

- Rebuilds docs to match, including adding a new Height section for customizing that.

Only potential remaining todo is adding `.sr-only` instances to within the bar. Unsure if that's necessary.
2016-12-30 22:46:00 -08:00
Bardi Harborow
869dc64038 Change remaining JS files to comply with ESLint config. 2016-12-31 16:49:15 +11:00
Quy
e4e0154e3a Document $enable-print-styles (#21474) 2016-12-30 21:31:25 -08:00
Quy
de1eaef35b Drop IE9 callout 2016-12-29 10:17:42 -08:00
Mark Otto
76d8291e38 grunt 2016-12-28 20:50:01 -08:00
Mark Otto
0e84876379 update all examples 2016-12-28 19:07:33 -08:00
Mark Otto
0e26b14ffb reorder classes because i like it this way :p 2016-12-28 19:07:33 -08:00
Mark Otto
a41d241ecc dedupe 2016-12-28 19:07:33 -08:00
Mark Otto
158dd5adb0 clarify need for .navbar-toggleable classes 2016-12-28 19:07:33 -08:00
Mark Otto
861cda109a drop the flex-grow: 10 in favor of auto margin utils 2016-12-28 19:07:33 -08:00
Mark Otto
2f52b3aee8 drop the .nav base class from .navbar-nav 2016-12-28 19:07:33 -08:00
Mark Otto
1531077140 no float utils, use class name 2016-12-28 19:07:33 -08:00
Mark Otto
2c8675bbf6 better describe example 2016-12-28 19:07:33 -08:00
Mark Otto
d2906950d9 consistent punctuation
it's important, yo
2016-12-28 19:07:33 -08:00
Mark Otto
e1e621be04 grunt 2016-12-28 15:15:29 -08:00
Mark Otto
766d22ebb7 add alignment docs with flex utils 2016-12-28 15:13:43 -08:00
Mark Otto
12c6a97ce3 simpler sizing examples 2016-12-28 15:13:43 -08:00
Mark Otto
566534afb9 rogue extra line break 2016-12-28 15:13:43 -08:00
Mark Otto
703e83204b redo active and disabled docs snippets
- remove screen reader stuff in favor of explicit labels
- remove 4 and 5 items to keep examples simpler
2016-12-28 15:13:43 -08:00
Mark Otto
5ec35d800d add a working with icons example
frees us up to not have to encourage so much markup throughout these pagination examples
2016-12-28 15:13:43 -08:00
Mark Otto
2b6276f685 redo main example to work in screen reader love instead of putting it in a callout 2016-12-28 15:13:43 -08:00
Mark Otto
d19fead4a6 redo intro paragraph 2016-12-28 15:13:43 -08:00
Mark Otto
f1016efaf4 update docs to improve contextual classes section 2016-12-28 15:13:43 -08:00
Mark Otto
f228802fd0 Revamp list group states and docs to match
- Overhauls the states, including the link/button variants, for list groups to better match how we handle .btn states.
- Moved the .list-group-item-action styles before the .list-group-item so that we don't have to do as much overriding.
- Removed the plain-hover-focus mixins from the disabled and active states since they're unnecessary.
- Added support for :active states on the .list-group-item-action variant (for the current click state).
- Removed the heading and text classes and variables since we can accomplish the same thing with utilities.
- Added support for :disabled on the .list-group-item-action as well since we can use those with button elements.
- Rearranged docs to reflect all the above changes.
- Reformatted some Sass variables.
2016-12-28 15:13:43 -08:00
Mark Otto
b5044765b7 update to migration docs 2016-12-28 15:09:51 -08:00
Mark Otto
a28f119943 follow up to the fix for #20506 with some docs examples of input groups in button toolbars 2016-12-27 22:37:50 -08:00
Mark Otto
fd75c41279 revamp button group with flexbox 2016-12-27 22:37:50 -08:00
Mark Otto
2cb2979908 update example with brand and new util 2016-12-27 22:37:09 -08:00
Quy
6645111e11 Fix grammatical/typo errors 2016-12-27 22:05:55 -08:00
Mark Otto
d3646e3884 grunt 2016-12-27 14:27:41 -08:00
Starsam80
e8ff150ab7 Don't show .bd-* classes to the user (#21443)
* Don't show `bd-*` classes to the user

* Add comments and another regex
2016-12-27 14:15:22 -08:00
Mark Otto
069a80254f Document how to break equal width cols to multiple rows
Fixes #21287
2016-12-27 14:14:49 -08:00
Mark Otto
7a91b65d47 grunt 2016-12-27 14:13:56 -08:00
Mark Otto
dac31ebf35 fixes #21445
remove broken example class from grid docs
2016-12-27 14:11:48 -08:00
Mark Otto
8de5730c87 more flexbox docs 2016-12-26 13:23:07 -08:00
Mark Otto
d3cf4759b0 follow up to #21436 to add docs for the .flex-row-reverse , .flex-column-reverse, and .flex-wrap-reverse 2016-12-26 13:17:50 -08:00
Mark Otto
14fe088cab grunt 2016-12-26 13:11:05 -08:00
Bardi Harborow
7961886efe Remove Meteor install instructions. 2016-12-26 13:29:42 +11:00
Mark Otto
4d1b7df0d8 grunt 2016-12-25 15:52:16 -08:00
Mark Otto
308114f65c throw some margin utils to fix spacing 2016-12-25 15:48:44 -08:00
Mark Otto
2cad717634 space that out a smidge 2016-12-25 15:48:44 -08:00
Mark Otto
0e8ee1bfba grunt 2016-12-25 15:47:03 -08:00
Starsam80
7fdedbd5e6 Remove some leftover IE9/flex stuff 2016-12-25 15:32:34 -08:00
Mark Otto
33746dc63e flex the modal header so we can remove custom styles
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25 15:28:44 -08:00
Mark Otto
4ca1a7f077 document it all, add align items examples 2016-12-25 14:03:50 -08:00
Mark Otto
f99d179690 reorder docs 2016-12-25 14:03:50 -08:00
Mark Otto
f2f489c837 stub out some docs 2016-12-25 14:03:50 -08:00
Mark Otto
0d96c633b3 grunt 2016-12-24 17:50:19 -08:00
Quy
c64da95e92 Update IE9 support (#21424) 2016-12-24 16:12:26 -08:00
Mark Otto
cd18ee8af6 grunt 2016-12-24 14:29:41 -08:00
Mark Otto
43ef8b129e fixes #21423 by updating docs to mention flex display instead of inline-block; clarifies follow-up text about use of the proper utilities 2016-12-24 14:21:04 -08:00
Mark Otto
af977b561a dedupe 2016-12-24 14:21:04 -08:00
Mark Otto
4f9f1a0ea3 started fixing nested .bd-example stuff, then rewrote the modal docs
- better table of contents and overall structure

- clearer examples of modal contents, longer modals, and modal options
2016-12-24 14:21:04 -08:00
Mark Otto
6b419fdc3a nest modal examples css 2016-12-24 14:21:04 -08:00
Mark Otto
6fb2c18e14 add order docs 2016-12-24 14:21:04 -08:00
Mark Otto
9d13fd3fe3 remove old flex utils, update docs to match 2016-12-24 14:21:04 -08:00
Mark Otto
378aa6667b align-self docs 2016-12-24 14:21:04 -08:00
Mark Otto
75e756dfef document align-content utils 2016-12-24 14:21:04 -08:00
Mark Otto
7d47a01158 change presentation of those utils docs 2016-12-24 14:21:04 -08:00
Mark Otto
463e8bee76 document justify-content and align-items utils 2016-12-24 14:21:04 -08:00
Mark Otto
4024dc7a52 indentation 2016-12-24 14:21:04 -08:00
Mark Otto
90aa8a28a2 remove the table classes in favor of lists 2016-12-24 14:21:04 -08:00
Mark Otto
feb445376b try out alt responsive variation lists 2016-12-24 14:21:04 -08:00
Mark Otto
6fa6bf7123 add docs class for highlighting 2016-12-24 14:21:04 -08:00
Mark Otto
5464f4ab7e Start to blow out and document more flexbox utilities
- Adds new flexbox.md file to utilities docs

- Adds a `breakpoints.yml` data file for easier output of responsive classes in the docs. Will put this to use on other pages soon.

- Adds hella flex utils. There are some dupes for now, but they'll get removed in time.
2016-12-24 14:21:04 -08:00
Mark Otto
9979827cd3 Revamp navs docs
- Reorganize things, leading with the base nav first instead of an accessibility note, and then moving the rest to a new available styles section.

- Add horizontal alignment options thanks to new flex utils (these new utils will be documented later in another commit).

- Dropped `.nav-stacked` for a flex util and added additional alignment options, so document those, too.
2016-12-24 14:21:04 -08:00
Mark Otto
ec0dbc74a7 pull in changes from #19832 to fix offcanvas 2016-12-24 14:21:04 -08:00
Mark Otto
4377e2956b update navbars in jumbotron, offcanvas, starter examples to flex versions 2016-12-24 14:21:04 -08:00
Mark Otto
9fd339bdc8 better/more form spacing in navbars 2016-12-24 14:21:04 -08:00
Mark Otto
f721ebf3b4 unify alignment of all these dang navbar forms 2016-12-24 14:21:04 -08:00
Mark Otto
800cfa24ad overhauls media object docs
- better copy and examples throughout
- callout on flexbug #12 for inline elements like links and images (which is the problem in #20408)
- add order section
2016-12-22 21:29:48 -08:00
Mark Otto
94bd6b76be Merge branch 'flex-cards' into v4-dev 2016-12-22 21:27:54 -08:00
Mark Otto
4b62a93906 ugh 2016-12-22 21:20:47 -08:00
Mark Otto
5b2d9f95d5 grunt 2016-12-22 21:19:12 -08:00
Mark Otto
f297282833 typo 2016-12-22 21:18:33 -08:00
Mark Otto
6b367b12c9 margins to separate some cards in examples 2016-12-22 19:13:39 -08:00
Bardi Harborow
fe4cd38877 Change scope of docs anchor preventDefault to include modals. 2016-12-23 13:11:06 +11:00
Mark Otto
754698c4d7 New width and height utils
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 17:15:10 -08:00
Mark Otto
51f723d669 no more need for this 2016-12-22 16:52:25 -08:00
Mark Otto
bc69ff108a final docs cleanup with columns and more 2016-12-22 16:47:30 -08:00
Mark Otto
ce35655f5f card deck footer example 2016-12-22 16:47:10 -08:00
Mark Otto
433df0c67e add aligned footer example 2016-12-22 16:46:29 -08:00
Mark Otto
cba7b51081 redo subheadings and organization of card layout options 2016-12-22 16:46:10 -08:00
Mark Otto
5692406a11 better grouping of card styles docs 2016-12-22 16:45:48 -08:00
Mark Otto
49315dc16d redo image section for intros and subheadings 2016-12-22 16:44:54 -08:00