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

718 Commits

Author SHA1 Message Date
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
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
Mark Otto
7e07d5bf2e Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-03-07 20:44:42 -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
d2ddb55180 use secondary buttons instead of primary ones for a bit better example of styles 2017-02-12 17:15:16 -08:00
Matt Eason
29a8f9fc99 Change 'has no affect' to 'has no effect' 2017-02-09 16:17:32 +00:00
Mark Otto
0da20476ec Fixes #21892 2017-02-04 16:43:05 -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
Pierre-Denis Vanduynslager
1528516dd6 Add doc example with badge links (#21674) 2017-01-15 21:45:04 -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
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
Quy
98e55484e7 Doc updates (#21542)
* Change it's to its.

* Fix links

* Fix typos
2017-01-05 14:24:40 -08:00
Bardi Harborow
e4c0311626 Update broken links. 2017-01-05 11:17:22 +11: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
Mark Otto
f3d0fee91e fixes #21454 by revamping some docs styles for dropdowns 2017-01-03 19:24:24 -08:00
Quy
8f0ac7193e Update sizing links 2017-01-03 11:52:48 -08:00
Mark Otto
4dc6f44796 update docs and examples to use new utils 2017-01-02 11:48:05 -08:00
Mark Otto
b6b6deff57 fixes #21509: remove reference to .card-deck-wrapper 2017-01-02 10:58:48 -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
Quy
ff8d28cf25 Move .table-responsive from wrapper to .table 2016-12-31 16:39:42 -08:00
Mark Otto
a7931f0c1e add example of width util 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
Quy
de1eaef35b Drop IE9 callout 2016-12-29 10:17:42 -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
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
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
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
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
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
9d13fd3fe3 remove old flex utils, update docs to match 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
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
6b367b12c9 margins to separate some cards in examples 2016-12-22 19:13:39 -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
Mark Otto
85525e2940 retitle nav section 2016-12-22 16:44:39 -08:00
Mark Otto
3f5c0a884a update alignment section with widths 2016-12-22 16:44:33 -08:00
Mark Otto
3cc23e9747 redo sizing section with utils and grid callouts 2016-12-22 16:44:12 -08:00
Mark Otto
4b88284b5a redo the supported content section entirely to give it sub sections 2016-12-22 16:43:21 -08:00
Mark Otto
503c4da10a redo docs intro for the example 2016-12-22 16:41:56 -08:00
Mark Otto
8231b188c3 remove .hidden-* classes from .navbar-toggler and make that part of the .navbar-toggleable-* 2016-12-22 13:48:07 -08:00
Mark Otto
c858af7932 couple more utils 2016-12-22 13:48:07 -08:00
Mark Otto
df566160e7 put new toggler markup to use 2016-12-22 13:48:07 -08:00
Mark Otto
80674b0c58 fixes #18115: move forward with one naming scheme for inversed color schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name) 2016-12-22 13:48:07 -08:00
Mark Otto
ecba56828d fixes #18053 by removing container padding at lower breakpoints on responsive navbars 2016-12-22 13:48:07 -08:00
Mark Otto
0677b6b18c even more utils for forms 2016-12-22 13:48:07 -08:00
Mark Otto
567a289137 more margin utils on forms 2016-12-22 13:48:07 -08:00
Mark Otto
4750c5a7b4 make sure all nav demos for the navbar are using toggleable-* classes for proper responsive styles 2016-12-22 13:48:07 -08:00
Mark Otto
d236041748 make more examples responsive 2016-12-22 13:48:07 -08:00
Mark Otto
5c76cbea77 remove now unneeded collapse section 2016-12-22 13:48:07 -08:00
Mark Otto
562bcd9380 fix colors 2016-12-22 13:48:07 -08:00
Mark Otto
17dca54278 add responsive behaviors section 2016-12-22 13:48:07 -08:00
Mark Otto
93fabfa7a4 update responsive behavior in demo 2016-12-22 13:48:07 -08:00
Mark Otto
8a8719b75c unique ids 2016-12-22 13:48:07 -08:00
Mark Otto
50c76fd841 make supported content example responsive 2016-12-22 13:48:07 -08:00
Mark Otto
be1a316320 no more .navbar-full 2016-12-22 13:48:07 -08:00
Mark Otto
530b9bcba4 more navbar docs changes 2016-12-22 13:48:07 -08:00
Mark Otto
c92e9c0090 cleanup navbar docs for flex changes 2016-12-22 13:48:07 -08:00
Mark Otto
65e87f7ef4 follow up to #21393: clarify progress docs browser support and remove ie9 section 2016-12-22 13:43:19 -08:00
Bardi Harborow
855a67b1d6 Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
Mark Otto
eb2e1102be Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)
* remove the $enable-flex variable option

* remove bootstrap-flex.css dist file and it's grunt task

* remove the separate flex css file for docs; it's all the same now

* remove flexbox docs (porting some to the main grid docs in next commit)

* clean up few grid docs bits to simplify copy, start to mention flexbox

* port relevant flexbox-grid.md content to grid.md

- clean up mixins
- update how it works section
- bring over sizing and alignment sections

* remove the $enable-flex from the options.md page

* update lead paragraph to mention flexbox

* update migration to mention loss of ie9 support

* remove mention of flexbox dist file

* clarify IE support

* making a note

* remove flexbox variant mentions from component docs

- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default

* remove $enable-flex if/else from sass files

* remove flex dist files

* update scss lint property order to account for flex properties

* linting

* change to numberless classes for autosizing, wrap in highlighting div

* bump gruntfile and postcss to ie10

* redo intro sections

* rearrange

* phew, redo hella grid docs

- rearrange all the things
- consolidate some bits

* remove reference to flexbox mode

* more border action for demo

* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Mark Otto
a6f03b0f71 update docs to use .mt-1 on floated labels; clarify docs for guidance 2016-12-20 22:55:01 -08:00
Mark Otto
c1cf6310f2 remove .mb-0 from static form controls to follow up #21270 2016-12-20 14:46:45 -08:00
Mark Otto
8eeb71c91c Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982 2016-12-19 21:44:03 -08:00