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

7274 Commits

Author SHA1 Message Date
Mark Otto
c92e9c0090 cleanup navbar docs for flex changes 2016-12-22 13:48:07 -08:00
Mark Otto
bc1afa093a remove .navbar-container; just need .navbar now 2016-12-22 13:48:07 -08:00
Mark Otto
18453f06f9 flexbox this thing
- drop the table styles, use flex
- remove commented out code
- consolidate styles a bit
- add a huge flex-grow to the nav, making the assumption you want nav to take up most space
2016-12-22 13:48:07 -08:00
Mark Otto
4a06c98027 spacing 2016-12-22 13:48:07 -08:00
Mark Otto
99ac0bcedc exploring table based navbar again 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
Mark Otto
df0842d1c2 grunt 2016-12-22 13:42:01 -08:00
Bardi Harborow
855a67b1d6 Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
Mark Otto
a86f8f7bcf grunt 2016-12-21 20:37:46 -08:00
Mark Otto
e111e2e58e grunt 2016-12-21 20:33:54 -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
a6a87b0d9d grunt 2016-12-20 14:53:50 -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
ab38529dcc grunt 2016-12-19 21:48:24 -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
Mark Otto
7e5f21c2b4 Rename _animation.scss to _transitions.scss (#21370)
* Rename _animation.scss to _transitions.scss for accuracy

* fix docs reference to file name

* cleanup line breaks
2016-12-19 21:37:09 -08:00
Mark Otto
a8b3e09f22 grunt 2016-12-19 21:08:24 -08:00
Geoffrey Tisserand
69a09520d8 Fix typo in migration docs: card-title is replacing panel-title (#21331) 2016-12-19 20:35:02 -08:00
Bardi Harborow
da18d07d8e Add 'system-ui' to font stack. 2016-12-19 20:29:44 -08:00
Johann-S
8b538c8ad3 Remove mention of popovers auto placement + add note to migration docs 2016-12-19 09:38:56 +01:00
Mark Otto
d04eb86715 clarify that 2016-12-10 17:03:32 -08:00
Mark Otto
14ce741fa0 grunt 2016-12-10 17:03:28 -08:00
Mark Otto
cd76a6775d grunt 2016-12-07 20:46:17 -08:00
Starsam80
d991c868a4
Fix tabs by using new classes 2016-12-07 21:20:18 -07:00
Starsam80
bf39bb3ac3
Rename .active to .show 2016-12-07 21:20:15 -07:00
Mark Otto
ede925d79b Merge pull request #21298 from twbs/carousel
Refactor carousel
2016-12-05 23:31:14 -08:00
Mark Otto
e0edea0d1a typo 2016-12-05 20:37:22 -08:00
Mark Otto
4ef547f4bb drop the .carousel-control base class 2016-12-04 23:19:54 -08:00
Mark Otto
6d9ded8375 update migration docs 2016-12-04 23:17:30 -08:00
Mark Otto
e40a09ba2e redo the carousel example to match 2016-12-04 22:18:49 -08:00
Mark Otto
9fca3e3ec8 rename once more 2016-12-04 22:05:16 -08:00
Mark Otto
8ad30ff8b8 rename in docs 2016-12-04 21:40:02 -08:00
Mark Otto
1e3ec89355 Merge branch 'v4-dev' into carousel 2016-12-04 21:05:19 -08:00
Mark Otto
5abd0ed521 move multiple carousels section up, add responsive classes there, reformat some stuff 2016-12-04 20:37:21 -08:00
Mark Otto
b0db5788df break up example into three separate examples to show flexibility 2016-12-04 20:07:01 -08:00
Mark Otto
d57ec90243 clear up docs intro 2016-12-04 20:06:45 -08:00
Mark Otto
a5c2562c06 update left/right classes on controls and add img classes 2016-12-04 19:53:37 -08:00
Starsam80
ea9f846e0f Remove .float-left from card header nav (#21292) 2016-12-04 16:46:57 -08:00
Bardi Harborow
e156d2bb72 Fix A11yUserVoice bugify rendering. (#21282) 2016-12-04 16:45:50 -08:00
Bardi Harborow
0bb604157c Remove duplicate jQuery browser bug link. (#21283) 2016-12-04 16:45:38 -08:00
Bardi Harborow
a3567a119d Documentation navigation fixes. (#21288)
* Make /utilities/ redirect to /utilities/borders/.

* Rewrite sidebar active link logic to ensure superstrings are not selected.
2016-12-04 16:44:37 -08:00
Chris Rebert
4c615573ad Remove Wall of Browser Bugs entry for #14975
https://webkit.org/b/150079 has been fixed!
Refs #14975

[ci skip]
2016-12-02 10:27:08 -08:00
Chris Rebert
5a78b5e77b https://crbug.com/534750 was marked as a duplicate of https://crbug.com/568691
So update the Wall of Browser Bugs entry accordingly.

[ci skip]
2016-12-02 10:23:01 -08:00
Chris Rebert
996499d4fe Remove Chrome entry for position:sticky from Most Wanted Features list
It's shipping in Chrome 56:
https://bugs.chromium.org/p/chromium/issues/detail?id=231752

[ci skip]
2016-12-02 10:16:42 -08:00
Mark Otto
3ec37d4a4d grunt 2016-12-02 10:13:36 -08:00
Chris Rebert
e3a569f4f6 Remove soon-to-be-defunct callout about Firefox fieldset bug (#21262)
The relevant bug has been fixed in Firefox 53:
https://bugzilla.mozilla.org/show_bug.cgi?id=504622
2016-12-02 09:58:18 -08:00
Chris Rebert
edf1e4b99e Remove https://bugzil.la/504622 from Wall of Browser Bugs (#21260)
It's fixed in Firefox 53! Yay!
Refs #12359
[ci skip]
2016-11-30 16:42:16 -08:00
ysds
eb219c806c Remove .btn-outline-inverse 2016-11-30 21:48:34 +09:00
ysds
ef028ab383 Remove .btn-outline 2016-11-30 21:47:57 +09:00
Mark Otto
59dc3e174d grunt 2016-11-29 21:37:00 -08:00
Chris Rebert
f2bc3bec7c Add Wall of Browser Bugs entry for #21092
Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1315994
Refs #21092
[ci skip]
2016-11-28 22:49:26 -08:00
Chris Rebert
0c6bd4d4c4 docs/_data/browser-bugs.yml: Fix ordering
[ci skip]
2016-11-28 22:33:20 -08:00
Chris Rebert
036437ec86 Add Wall of Browser Bugs entry for #20759
Refs https://bugs.webkit.org/show_bug.cgi?id=162362
Closes #20759
[ci skip]
2016-11-28 22:23:28 -08:00
Brad Kent
8250bd1b21 Fix #20936 make inline checkbox/radio markup same as stacked (#20995)
* #20936 make inline checkbox/radio markup same as stacked

* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
af937836d9 Fix #20908 (#21244)
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
2016-11-28 20:26:28 -08:00
Mark Otto
4c807de7f0 fixes #21072: clarify location of variables file (and avoid linking to a file that will be broken depending on the branch name) 2016-11-28 17:21:48 -08:00
Mark Otto
9749bab4ce grunt 2016-11-28 17:18:44 -08:00
Mark Otto
339f8c3c48 fixes #21219: update docs to reflect current sm breakpoint value 2016-11-28 17:05:36 -08:00
Mark Otto
c3ffe13553 grunt 2016-11-28 13:40:47 -08:00
Mark Otto
d6c1fa37bd grunt 2016-11-28 13:36:46 -08:00
Mark Otto
2f9a94caac Inverse card improvements (#21242)
* Add a color to .card-inverse to account for non .card- prefixed classes

* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
a6f54889fd Replacement for #20602 (#21236)
* Fixed incorrect instruction: "Press ⌘ to copy"

It needed to be "Press ⌘C to copy"

* Updated to concatenate copy string

Updated copy command to concatenated string to prevent potential issues

* Updated the way the copy string concatenates

As per excellent suggestion by @tomlutzenberger

* Removed semicolon line endings

;P

* var not const or let
2016-11-28 13:10:19 -08:00
Mark Otto
9338cf5970 grunt 2016-11-28 09:14:31 -08:00
Mark Otto
5357bad9a0 grunt 2016-11-27 23:39:50 -08:00
Starsam80
08e36a3cc9 Rename .col-xs to .col + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter

* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Mark Otto
4393da18f6 grunt 2016-11-27 22:29:55 -08:00
Mark Otto
5db88075c1 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-27 22:29:33 -08:00
Mark Otto
1562a2db4c make a brief mention of #20433 2016-11-27 22:29:24 -08:00
Starsam80
54908a95a8 Rename .navbar-toggleable-xs to .navbar-toggleable + more cleanup (#21226)
* Clean up some utilities

- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies

* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication

* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Mark Otto
869bd23937 Update clearfix mixin (#21224)
* Update clearfix to use block instead of table display (also reorder properties for linting)
* update docs snippet for clearfix mixin—was apparently still using Less syntax and had old clearfix hack (even before the block change in this PR)
2016-11-27 17:05:29 -08:00
Mark Otto
585516db95 Add max-width 100% and max-height 100% utilities (#21221) 2016-11-27 16:31:31 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
b1e8d60348 Remove 'xs' from text utilities (#21217) 2016-11-26 20:33:46 -08:00
Mark Otto
0b8a281920 grunt 2016-11-26 19:17:23 -08:00
Mark Otto
b2bf8294a0 minor docs content tweaks to fix #18997 2016-11-26 18:39:51 -08:00
Mark Otto
87a0749f89 Merge branch 'container-tooltip-option' into v4-dev 2016-11-26 17:02:40 -08:00
Mark Otto
181e124bc1 grunt 2016-11-26 17:01:17 -08:00
Stephen Puiszis
7d3abdb9c7 Update migration file for renamed image classes (#21215) 2016-11-26 16:57:25 -08:00
Mark Otto
e17e75b757 Update inline forms (updated docs and new flexbox styles) (#21212)
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Mark Otto
b456cb351d grunt 2016-11-26 16:49:39 -08:00
Ken Dale
dc52029bea Add .rounded-0 utility class (#21214)
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795 Border utilities (#21213)
* grunt

* add border utilities for removing borders

* clean up comments

* add basic border docs

* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
ec5e7e5e5a Add .no-gutters option to remove gutters from rows (#21211)
Fixes #19107.
2016-11-26 12:13:15 -08:00
Mark Otto
c7b8451cdc grunt 2016-11-26 11:16:53 -08:00
Mark Otto
73a320a27f Merge pull request #21076 from 3dd13/use-rounded-circle-in-carousel-example
in carousel example, replace img-circle by rounded-circle css class
2016-11-26 02:35:38 -08:00
Mark Otto
275ac87488 Merge pull request #21204 from ounziw/patch-1
grid-breakpoint fix [document]
2016-11-26 02:04:51 -08:00
Mark Otto
8ef1d93d0c Merge pull request #21205 from twbs/navbar-disabled
v4 disabled navbar links
2016-11-26 02:03:46 -08:00
Mark Otto
967ee175dc Move .table-responsive to .table instead of as a parent 2016-11-26 01:45:40 -08:00
Mark Otto
19ab4873ff grunt 2016-11-26 01:00:16 -08:00
Mark Otto
cb294854a3 grunt 2016-11-26 00:58:11 -08:00
Mark Otto
e953d5d4f0 grunt 2016-11-26 00:40:17 -08:00
Mark Otto
25216349b3 add some disabled navbar link examples 2016-11-26 00:19:30 -08:00
andyexeter
0ded703f6b Implement container option for tooltips and popovers. 2016-11-26 19:13:15 +11:00
Fumito Mizuno
050ba7390c grid-breakpoint fix
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186

current document shows 544px, but it should be 576px
2016-11-26 15:47:40 +09:00
Mark Otto
990a901e52 grunt 2016-11-25 21:48:39 -08:00
Bardi Harborow
91f70c538a Refactor Dashboard example. (#21140) 2016-11-25 20:23:11 -08:00
Mark Otto
d315c9499d v4: Flexbox nav options (#21201)
* Add some flexbox nav components
  - Includes .nav-justified for inline, tab, and pill nav components
  - Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
f2b98f6b2c grunt 2016-11-25 17:40:44 -08:00
Mark Otto
8a7ce25cf1 grunt 2016-11-25 17:29:28 -08:00
Mark Otto
49be9bc63a grunt 2016-11-25 15:00:23 -08:00
Mark Otto
3cfd40782c grunt 2016-11-25 14:20:49 -08:00
Mark Otto
83c8bfa30d Fixes #21195: Add more table of contents to pages with longer contents 2016-11-25 14:01:06 -08:00
Mark Otto
5b151eb891 grunt 2016-11-25 13:55:34 -08:00
Mark Otto
ec47feefd6 Fixes #21114: clarify by removing mention of nesting 2016-11-23 11:35:41 -08:00
Mark Otto
91bb6a038d Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2016-11-23 11:28:22 -08:00
Mark Otto
8d3f0995d1 Fixes #21123: More specific definition of fixed-width block level for .mx-auto 2016-11-23 11:28:17 -08:00
Mark Otto
ab54151ed3 Fixes #21179: docs typos on pull/float action 2016-11-23 11:26:37 -08:00
Chris Rebert
63843de193 Add Wall of Browser Bugs entry for #21120
Refs https://bugs.chromium.org/p/chromium/issues/detail?id=510079
Closes #21120

[skip sauce]
2016-11-22 23:56:41 -08:00
Mark Otto
573e029feb grunt 2016-11-16 20:42:40 -08:00
Mark Otto
6910516d2c Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
c104709193 Fix padding on .bg-faded demo. 2016-11-16 16:16:35 +11:00
Daniel Lo Nigro
fd184b45f3 it's → its
Small grammar fix.
2016-11-13 13:59:18 -08:00
Mark Otto
93ba9ac629 grunt 2016-11-09 20:00:16 -08:00
Chris Rebert
2133dbd718 browser-features.yml: Fix MS A11y UserVoice entry
And move one Firefox entry to keep the entries sorted by browser.
Refs #21089
2016-11-08 18:22:06 -08:00
Chris Rebert
dafd900e93 docs/_plugins/bugify.rb: Add support for MS A11y UserVoice ideas
Refs #21089
[ci skip]
2016-11-08 18:19:05 -08:00
Mark Otto
cbd13e5229 Merge pull request #21062 from vanillajonathan/patch-1
Linked to slack
2016-11-08 13:33:23 -08:00
Bardi Harborow
b4dbc69f0e Fix broken and redirected links. 2016-11-09 01:14:48 +11:00
Patrick H. Lauke
e123cdda16 Add browser features around virtual/accessibility focus
These would help in making hidden skip links show up visually once they
receive AT focus (for sighted/partially sighted AT users)
2016-11-05 15:27:26 +00:00
Patrick H. Lauke
6b184763f0 Add Safari skip link bug 2016-11-05 15:24:37 +00:00
Eric Nolte
cec0c7c6d6 Update docs to reflect new breakpoint naming convention 2016-11-04 10:54:34 -06:00
Eddie Lau 3dd13
760990fa13 replace img-circle by rounded-circle css class 2016-11-03 12:00:29 +08:00
Jonathan
cb270b182c Linked to slack 2016-11-01 15:37:47 +01:00
Mark Otto
cd5c7a2263 grunt 2016-10-31 21:36:10 -07:00
Mark Otto
ffaad0a819 Responsive display utilities (#20934)
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
76d53404b5 grunt 2016-10-31 21:14:23 -07:00
Mark Otto
f734814f6b Make spacer utils responsive (#20926)
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Rodrigo Castro
d6cc0e017d Fixes #21057, fixes utilities link on typography documentation page (#21058) 2016-10-31 19:27:40 -07:00
Mark Otto
d1171ac44a grunt 2016-10-30 15:21:53 -07:00
Mark Otto
7ba4ac0cd3 add specific docs example for badged list group items
floated content has to come first in the DOM, otherwise you can get alignment bugs. in flexbox though, that's not the case. as such, i'm adding this example code to guide folks to the changes needed to move between default and flex modes.
2016-10-30 14:13:06 -07:00
Mark Otto
d86d580d26 grunt 2016-10-30 13:40:11 -07:00
Mark Otto
c9dc04b4f5 grunt 2016-10-30 13:37:11 -07:00
Mark Otto
b071de65c7 grunt 2016-10-28 19:28:41 -07:00
Mark Otto
6a11ae580d add horizontal form examples 2016-10-28 16:38:30 -07:00
Mark Otto
a6cd4937af rework some copy 2016-10-28 16:36:09 -07:00
Mark Otto
cecf0db2ce grunt 2016-10-27 22:29:10 -07:00
Mark Otto
63a524b352 Merge pull request #19887 from ryanburnett/v4-dev
Alphabetized carousel options & added "ride" to it
2016-10-27 22:21:06 -07:00
Mark Otto
96d8553bec grunt 2016-10-27 22:11:22 -07:00
Mark Otto
fa0605132f grunt 2016-10-27 20:04:33 -07:00
Mark Otto
6608b2a9ee Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev 2016-10-27 20:04:04 -07:00
Mark Otto
fde7101f13 grunt 2016-10-27 20:03:56 -07:00
judetucker
b3944c2334 cleaned up the docs to complete the change from tag to badge 2016-10-27 15:03:45 -07:00
Mark Otto
da6b5a0551 Merge pull request #21028 from judetucker/card_docs_float
Docs correction to change .pull to .float on Card docs
2016-10-27 11:51:06 -07:00
Mark Otto
93ac9381be Fixes #17631: Add mention of removed .btn-group-justified
It was only available for anchor elements and not button elements, so it was super weird to support. Might be bringing it back with flexbox though in v4 as an option.
2016-10-27 10:31:37 -07:00
Mark Otto
9dbfc90eae grunt 2016-10-27 09:51:22 -07:00
Mark Otto
a26080c047 rework flex grid autolayout docs
Adds clearer headings to each section, reworks some copy to be more direct.
2016-10-27 09:50:25 -07:00
Mark Otto
26c33fa5ed unrelated change; bold that stuff to emphasize it 2016-10-27 09:49:57 -07:00
Mark Otto
e2068d0e53 Merge branch 'auto-flex-col' of https://github.com/alanmoo/bootstrap into alanmoo-auto-flex-col 2016-10-27 09:41:33 -07:00
Mark Otto
115a37db1a Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest 2016-10-27 09:31:38 -07:00
Mark Otto
3cc0239903 Document our z-index values
Fixes #18532
2016-10-27 09:26:23 -07:00