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

6689 Commits

Author SHA1 Message Date
Tobias
bf73425277 Document the possibility of extending the $spacers map
It's very handy to add another spacer size (e.g. `4`) which can easily be done by extending the map.
Example:
```
$spacers: (
  0: (
    x:   0,
    y:   0
  ),
  1: (
    x:   $spacer-x,
    y:   $spacer-y
  ),
  2: (
    x:   ($spacer-x * 1.5),
    y:   ($spacer-y * 1.5)
  ),
  3: (
    x:   ($spacer-x * 3),
    y:   ($spacer-y * 3)
  ),
  4: (
    x:   ($spacer-x * 5),
    y:   ($spacer-y * 5)
  )
);
```

Closes #18706
[skip sauce]
2016-02-18 18:18:47 -08:00
Chris Rebert
e0dfe0d24d Docs: Remove <meta name="keywords"> from <head>
Ports #18872 to v4
[skip sauce]
2016-02-18 18:08:43 -08:00
James Mosier
ba50680724 Modal docs: Added JS event handler for relatedTarget demo
Fixes #17584
Closes #17607 by merging it
2016-02-18 17:58:23 -08:00
Patrick H. Lauke
fb1d511a2a Merge pull request #19255 from patrickhlauke/color-accessibility-callout-include
Docs: add/unify advice on contextual colors and accessibility
2016-02-17 16:48:51 +00:00
Patrick H. Lauke
9bc56d9b10 Replace "label" with "tag" in navigation 2016-02-17 11:06:32 +00:00
Patrick H. Lauke
40aee9325d - Conveying color meaning to AT as markdown include
- Add/replace callout for color and AT with include
2016-02-17 10:53:50 +00:00
Mark Otto
b6b9d4202c grunt 2016-02-16 20:34:35 -08:00
Mark Otto
4d62aa41c7 update migration docs 2016-02-16 20:30:20 -08:00
Mark Otto
db9f0ce9fc grunt 2016-02-16 20:28:56 -08:00
Mark Otto
d6207d852a Merge branch 'fix-19094' of https://github.com/ameya-pandilwar/bootstrap into ameya-pandilwar-fix-19094 2016-02-16 20:28:51 -08:00
Mark Otto
a2fe2aaced Merge pull request #19116 from twbs/docs-17264
Docs: Add captions above progress bars
2016-02-16 20:26:41 -08:00
Mark Otto
e194db05c8 Merge branch 'v4-dev' into mark-padding 2016-02-16 20:25:40 -08:00
Mark Otto
aca4be6539 grunt 2016-02-16 20:24:39 -08:00
Mark Otto
3b84ffcc54 grunt 2016-02-16 20:09:57 -08:00
Jaga Santagostino
87d248a482 Fix typos in plural tag names 2016-02-16 20:29:59 +01:00
Igor Tarasov
c27ff124c3 Fix docs for new naming of .btn-outline
This one was overlooked at edit

See #17719 and #19199
2016-02-16 08:20:44 +03:00
Mark Otto
35b9c2283b grunt 2016-02-15 19:11:35 -08:00
Mark Otto
0c46412a4c Merge branch 'v4-dev' into v4-custom-forms-validation 2016-02-13 17:55:23 -08:00
Mark Otto
ceb0e9b69f grunt 2016-02-13 17:55:07 -08:00
Mark Otto
4724110583 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-02-13 17:54:40 -08:00
Ameya Pandilwar
8cd2778148 Updated label to tag in list-group example 2016-02-11 18:59:47 -05:00
Ameya Pandilwar
4ed5fa77ff Rename .label class to .tag 2016-02-11 03:54:30 -05:00
Chris Rebert
a24112e850 Remove http://bugzil.la/1060131 from Wall of Browser Bugs
http://bugzil.la/1060131 has been fixed by http://bugzil.la/823483 which should land in Firefox 46.
Refs #14320
[ci skip]
2016-02-10 19:58:30 -08:00
Chris Rebert
183b57b504 Remove http://bugzil.la/975632 from Wall of Browser Bugs
http://bugzil.la/975632 has been fixed by http://bugzil.la/823483 which should land in Firefox 46.
Refs #10690
[ci skip]
2016-02-10 19:49:21 -08:00
Chris Rebert
a1bf344c4f Merge pull request #18925 from twbs/fixes-18922
Make translation of custom file input text easier
2016-02-09 01:38:14 -08:00
Mark Otto
d7d32c475f clearer copy 2016-02-09 00:20:18 -08:00
Mark Otto
a263e19419 grunt 2016-02-08 23:43:43 -08:00
Mark Otto
09aefaa2af Alternate fix to #17965: Updates to use the new class name and adds some basic docs for custom checkbox/radio validation 2016-02-08 23:21:32 -08:00
Mark Otto
a40d94000f grunt 2016-02-08 22:32:59 -08:00
Mark Otto
c8bd62b214 clarify, fix margin 2016-02-08 22:13:30 -08:00
Chris Rebert
df07536dd1 Revert "https://webkit.org/b/138201 no longer repros" 2016-02-08 20:10:10 -08:00
Chris Rebert
b6b063812b Merge pull request #19126 from twbs/native-font-stack-docs
Fixes+tweaks to native font stack docs
2016-02-08 12:59:25 -08:00
Chris Rebert
3c8e08e307 Grid docs: Remove !default from SCSS snippets
Fixup for fb4f5f0bf1
[skip sauce]
2016-02-08 04:01:58 -08:00
Chris Rebert
74002ce92d Migration docs: Mention $grid-breakpoints and $container-max-widths by name
[skip sauce]
2016-02-08 03:57:41 -08:00
Chris Rebert
9248602ecf Fixes+tweaks to native font stack docs
[skip sauce]
2016-02-08 03:53:59 -08:00
Chris Rebert
1d14d5c404 Fix apparent typo in b8ff763d62
[ci skip]
2016-02-08 03:05:03 -08:00
Chris Rebert
72f10dd7e6 Only caption 1st set of progress bar examples 2016-02-08 00:39:33 -08:00
Mark Otto
ba4d52ef29 grunt 2016-02-07 23:49:09 -08:00
Mark Otto
9c3ba540b4 add example of multiple add-ons to docs 2016-02-07 23:48:47 -08:00
Mark Otto
23d47122ef Merge branch 'multiple-input-group-addon' of https://github.com/vicary/bootstrap into vicary-multiple-input-group-addon 2016-02-07 23:41:35 -08:00
Mark Otto
48df6e3b72 grunt 2016-02-07 23:38:03 -08:00
Chris Rebert
e3b55aadea grunt dist docs 2016-02-07 21:17:05 -08:00
Chris Rebert
44eedd2115 docs/components/forms.md: Fix typo: non => none
Fixup for 365db6e3a8
/fyi @mdo
[skip sauce]
2016-02-07 17:50:38 -08:00
Chris Rebert
f618aa7c01 https://webkit.org/b/138201 no longer repros
Wasn't able to reproduce in iOS 9.2.
So remove its entry from the Wall of Browser Bugs.
Refs #14708
[skip sauce]
2016-02-07 16:52:14 -08:00
Chris Rebert
7cbbc6a074 Merge pull request #19112 from twbs/m-x-auto-doc-centering
Docs: Add "Horizontal centering" subheading for .m-x-auto
2016-02-07 13:18:59 -08:00
Chris Rebert
5142ac2389 Docs: Add captions above progress bars; refs #17264
[skip sauce]
2016-02-07 13:13:07 -08:00
Chris Rebert
0fe396211d Fix bad localhost link in Typography docs
Fixup for 27ba4beb22
/fyi @mdo
[skip sauce]
2016-02-07 03:04:33 -08:00
Chris Rebert
8dfd30cc21 Docs: Add "Horizontal centering" subheading for .m-x-auto
Refs #19102
[skip sauce]
2016-02-07 03:00:59 -08:00
Chris Rebert
3bd8dee1c7 docs/components/modal.md: Fix typo
Fixup for #19105
[ci skip]
2016-02-06 21:29:30 -08:00
Mark Otto
cb7b780876 grunt 2016-02-06 20:32:24 -08:00
Mark Otto
6c2b0d2b76 Updat modal sizing
- Switch from width to max-width for all widths to avoid scaling outside viewport bounds
- Rejigger the media queries for a more logical breakpoint for the large and small modal sizes
- Avoids changing the width of the default modal (nullifying #17794 and fixing #17581)
2016-02-06 20:18:48 -08:00
Mark Otto
ccf971d860 Fixes #17969: Clear horizontal dls
- Using the grid classes, they still need clearfixes since rows aren't injected between them all
- Update docs to fix broken classes
2016-02-06 20:01:37 -08:00
Mark Otto
cbda7e3862 Revamp list group items built with anchors and buttons
- Make it an explicit class instead of qualifying with elements (.list-group-item-action)
- Rearrange the entire file for more straightforward flow
- Fix text-decoration bug as a result of the reorder
- Switch from h4's to h5's in docs
- Update docs to merge anchors and buttons sections; clearify usage guidelines there, too
- Nullify #17479 in the process
2016-02-06 19:50:00 -08:00
Mark Otto
de944e088b Fixes #17300: drop the unused at-viewports 2016-02-06 18:45:56 -08:00
Mark Otto
b8ff763d62 Tweak disabled button docs to help out #17231 2016-02-06 18:34:52 -08:00
Mark Otto
9c0e20e41d grunt 2016-02-06 18:20:30 -08:00
Mark Otto
365db6e3a8 clarify some docs for form validation including quick mention for customizing or disabling icons 2016-02-06 18:16:37 -08:00
Mark Otto
12bb0a7212 grunt 2016-02-06 18:09:07 -08:00
Mark Otto
b2854d85c5 grunt 2016-02-06 16:47:57 -08:00
Mark Otto
442277ddce Merge branch 'v4-dev' into v4-center-utils 2016-02-06 15:58:40 -08:00
Mark Otto
856e217574 migration notes for the text utils changes 2016-02-06 15:56:33 -08:00
Mark Otto
27ba4beb22 cross ref the type utils in the type docs 2016-02-06 15:53:10 -08:00
Mark Otto
fc6c593bec rogue line break 2016-02-06 15:50:19 -08:00
Mark Otto
b72e4ed8d6 add note to migration docs 2016-02-06 15:41:30 -08:00
Mark Otto
c59dbe56fe Drop .center-block for .m-x-auto
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
612b824ae0 grunt 2016-02-06 15:32:03 -08:00
Mark Otto
e06d6365f8 Strip out .err from our syntax highlighting styles because it fucks up our placeholders in code snippets 2016-02-06 15:32:00 -08:00
Mark Otto
40c3be90ca grunt 2016-02-06 15:20:08 -08:00
Mark Otto
fffaaed0fd Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 15:09:32 -08:00
Mark Otto
8291562258 unrelated linting bs 2016-02-06 15:07:25 -08:00
Mark Otto
9c69f6f5c5 Merge branch 'v4-dev' into v4-font-stack 2016-02-06 15:01:44 -08:00
Mark Otto
d8e82e2e8f document 2016-02-06 13:32:53 -08:00
Mark Otto
844a180fae mention media query changes 2016-02-06 13:05:54 -08:00
Mark Otto
ce81dd8537 document migration for grid system /cc #17593 2016-02-06 13:02:59 -08:00
Mark Otto
fb4f5f0bf1 document how to customize grid tiers 2016-02-06 13:02:42 -08:00
Mark Otto
bc45addbc3 update grid vars docs 2016-02-06 13:02:28 -08:00
Mark Otto
7114e94d66 formatting 2016-02-06 13:02:10 -08:00
Mark Otto
f127bc68a3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974 linter overhaul 2016-02-06 12:28:18 -08:00
Mark Otto
d043fe4eb2 disable linter 2016-02-06 12:27:44 -08:00
Mark Otto
95f34be093 More grid updates
- Flexbox responsive behavior fixed with specific .col-{breakpoint} classes now added
- Dropped the make-col mixin in favor of a column-basics placeholder that we can extend across our grid infrastructure
- Updated docs to use required .col-xs-12 (as a safeguard for when folks enable flexbox mode--this isn't necessary in default grid mode)
- Update flexbox grid docs to include responsive docs, tweak some other bits too
2016-02-06 11:31:46 -08:00
Mark Otto
414997baa8 flip things around again, no more base class, try out some new stuff to keep responsive flex grid working 2016-02-06 10:51:59 -08:00
Mark Otto
94999c98cf simpler, more specific docs example css 2016-02-06 01:47:40 -08:00
Mark Otto
2a678d4b88 document horizontal flex utils, update the classes for the middle vertical ones 2016-02-06 01:47:25 -08:00
Mark Otto
44bcaffb95 Tweak docs example CSS for flexbox grid cols 2016-02-06 01:30:31 -08:00
Mark Otto
9a519bb7e3 Add vertical alignment docs for flexbox grid 2016-02-06 01:30:11 -08:00
Mark Otto
cac92017d3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 00:47:40 -08:00
Mark Otto
e149a6035e Update base class for grid cols in all examples 2016-02-06 00:47:33 -08:00
Mark Otto
9a645ef51a Ensure docs grid example highlighting for flexbox mode 2016-02-06 00:47:19 -08:00
Mark Otto
511b959ff9 Add flexbox grid page to the docs (still more content to add) 2016-02-06 00:46:50 -08:00
Mark Otto
3f30818a4b Fix docs layout with added base class 2016-02-06 00:46:23 -08:00
Mark Otto
a9e428a728 Update grid docs to include new required .col base class 2016-02-06 00:46:00 -08:00
Mark Otto
29dcf9ac62 Update grid mixins code snippets in the docs to include flexbox changes 2016-02-06 00:23:52 -08:00
Mark Otto
42c52a278f Improve docs sidenav active link highlighting
Capture the slug once before applying it and add a slash to it to so we get a unique string to match against instead of a fuzzy partial 'contains'. Helps avoid 'grid' highlighting 'flexbox-grid', for example.
2016-02-06 00:22:31 -08:00
Mark Otto
18be3be3f4 grunt 2016-02-05 22:26:22 -08:00
Mark Otto
ba8ad7c5b5 Merge pull request #19086 from twbs/migration-vendor-prefix-mixins
Add migration guidance regarding vendor prefix mixins
2016-02-05 22:01:50 -08:00
Quy
3076790add Remove pager section from migration 2016-02-05 04:40:18 -08:00
Chris Rebert
12a506f1cd Add Wall of Browser Bugs entry for https://webkit.org/b/153856
Refs https://github.com/twbs/bootstrap/issues/14839#issuecomment-60940738
[skip sauce]
2016-02-04 23:12:53 -08:00
Chris Rebert
c33783814b Add migration guidance regarding vendor prefix mixins
Refs #19080
2016-02-04 20:38:46 -08:00
Chris Rebert
2c86b67a0b Mention https://webkit.org/b/153852 in browser compatibility docs
Refs #19077
[skip sauce]
2016-02-03 22:52:12 -08:00