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

7939 Commits

Author SHA1 Message Date
Johann-S
cc303d5d26 Update Popper.js to 1.9.9 2017-05-24 14:57:40 +02:00
Johann-S
9e894991b0 Update documentation for Tooltips/Popovers about auto placement 2017-05-24 14:57:40 +02:00
Johann-S
460ff235fa Documentation display tooltips/popovers arrows with css for static examples 2017-05-23 15:19:54 +02:00
Laussel Loïc
be742b0f5c fix tooltip documentation page missing classname prefix "bs-" to popover top 2017-05-17 16:54:28 +02:00
Johann-S
dd78950d0a Update Popper.js 1.9.4 2017-05-17 14:22:10 +02:00
Johann-S
3719ed4cb6 build 2017-05-16 10:09:48 +02:00
Anand Chowdhary
183205afb8 Change "Max CDN" to "MaxCDN" 2017-05-14 11:58:26 +02:00
Johann-S
21c3864134 Update Popper.js 1.9.3 2017-05-14 11:41:19 +02:00
Johann-S
c78cbb275b Change fallbackPlacement to flip by default for Tooltips/Popovers 2017-05-14 11:41:19 +02:00
Johann-S
0ae9d28ba3 Add fallbackPlacement option for Tooltip and Popover 2017-05-14 11:41:19 +02:00
Johann-S
3cfa5e8c05 Update Popper.js 1.9.1 + Update documentation about Dropdown placement 2017-05-14 11:41:19 +02:00
Johann-S
85f41309e2 Documentation - fix examples for Tooltip and Popovers (display arrow) 2017-05-14 11:41:19 +02:00
Johann-S
4f882a840c Allow to disable flip behaviour on Dropdown + documentation 2017-05-14 11:41:19 +02:00
Johann-S
458b3cc4a3 Update Popper.js 1.8.2 2017-05-14 11:41:19 +02:00
Johann-S
e5a0471b0b Add an update method to allow to update position for Tooltip/Popover/Dropdown manually 2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626 Fix some css for the arrow of Popover/Tooltip + update documentation 2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5 Remove totaly Tether from documentation + dependencies 2017-05-14 11:41:19 +02:00
Johann-S
c4b4d534a4 Remove Tether from package.json + Update Popper 2017-05-14 11:41:19 +02:00
Johann-S
69de65180f Fix unit tests + Update Popper to 1.6.0 2017-05-14 11:41:19 +02:00
Johann-S
6cf0fe8780 Use Popper for tooltip and popover 2017-05-14 11:41:19 +02:00
Peter Blazejewicz
aa68ca3580 tooltips/popover must be hidden before their corresponding element is removed from the DOM 2017-05-09 10:51:44 +02:00
Mark Otto
ee1af53d9f Merge branch 'v4-dev' into form-tweaks 2017-05-07 17:44:57 -07:00
Patrick H. Lauke
2a4be9a0c9 Add explicit role="main" to <main> elements (#22574)
For compatibility in IE10/IE11 which don't otherwise "know" this element's role/don't expose it to AT
2017-05-05 10:22:09 +01:00
Laussel Loïc
c81be77929 Add missing <main> element to documentation
includes explicit `role="main"` for IE10/IE11 compatibility
2017-05-05 10:10:28 +01:00
Patrick H. Lauke
02d1776069 Styling and accessibility clarification for navs documentation
* Split out/expand mention that base navs lack active styles
* Add accessibility notes for navigation bars vs dynamic tabbed interfaces
2017-05-04 17:07:52 +01:00
Mark Otto
8c7fe6cf14 Merge branch 'v4-dev' into form-tweaks 2017-05-01 21:54:50 -07:00
Peter Gerdes
e00de46540 Link to package.json Fixed
The link to package.json in the v4 docs was linking to package.json in the v3 source.  Fixed to point to the correct v4 location.  A change like this will need to be made for all branches on version 4 if you want the docs to be linked correctly (github may be smart enough to follow the link to the current branch if you are on github but it was wrong from the main site).
2017-05-01 18:34:17 -05:00
Patrick H. Lauke
f7f644a4e5 Documentation cleanup (inc. use of <input ... readonly> for static form controls example)
* Fix incorrect code indentation
* Remove unnecessary vendor prefix for `box-sizing` - all modern browsers now support this unprefixed
* Remove incorrect `<label>` and change static controls to readonly inputs
* Allow `<img>` elements without `src` to allow for `holder.js` images used in the docs, which lack `src` and use `data-src` instead
2017-04-27 23:57:10 +01:00
Mark Otto
80438e93e1 Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks 2017-04-21 23:59:06 -07:00
Mark Otto
ba312c20a5 build 2017-04-21 23:58:09 -07:00
Bardi Harborow
2906b612d5 More minor build tweaks and docs updates. 2017-04-21 21:08:40 +10:00
Johann-S
9af6bf8f7a Add Johann-S to Core team 🎆 2017-04-19 22:36:03 +01:00
Patrick H. Lauke
c0f068bc73 Port button group accessibility callout from v3 to v4 2017-04-18 15:14:07 +01:00
Patrick H. Lauke
9a3e002e8f Add dropdown menu accessibility callout and fix <a> example
As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their `role="menu"` etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).

Additionally, fixes up the `<a>` example for dropdown trigger, with the
missing `role="button"` and neutering the `href` (which would be useless
anyway since BS overrides the link-like nature of the `<a>` so it could
never be triggered/followed anyway)
2017-04-18 09:34:55 +01:00
Patrick H. Lauke
6ae5fb12e6 Fix carousel "hover" behavior on touch-enabled devices
* Add carousel mouse listeners even if touch events enabled

- touch events are enabled not just on "mobile", just also on
touch-enabled desktop/laptop devices; additionally, it's possible to
pair a mouse with traditionally touch-only devices (e.g. Android
phones/tablets); currently, in these situations the carousel WON'T pause
even when using a mouse

* Restart cycle after touchend

as `mouseenter` is fired as part of the touch compatibility events, the
previous change results in carousels which cycle until the user
tapped/interacted with them. after that they stop cycling (as
`mouseleave` is not sent to the carousel after user scrolled/tapped
away).
this fix resets the cycling after `touchend` - essentially returning
to the previous behavior, where on touch the carousel essentially never
pauses, but now with the previous fix it at least pauses correctly for
mouse users on touch-enabled devices.
includes documentation for this new behavior.
2017-04-17 13:26:46 +01:00
Patrick H. Lauke
7ffb61ac52 Rewrite getting started/accessibility docs
A long overdue rewrite of the accessibility section - instead of the few
snippets of strangely superficial and out-of-context advice (skip links,
use correct heading levels), this tries to answer some of the
fundamental questions about "is Bootstrap accessible", with emphasis on
the fact that the final result will depend in large part on what BS is
applied to/on (since BS relies on the markup etc authored by
developers). This also sets out our ambition to have things work for
keyboard and assistive tech users, and that we strive to make all our
examples etc accessible and semantic.

* Changes based on @mdo's feedback
2017-04-17 00:04:49 +01:00
Mark Otto
b21b83b7ea fixes #22244 by providing more specific guidance on input types 2017-04-16 14:51:27 -07:00
Patrick H. Lauke
ea1d69c64b Make "Copy" buttons actual buttons
This makes them keyboard-accessible. For mouse users, the only change
here is that the focus outline will remain on the button once clicked
(in future, this can be solved with :focus-ring, but for now this would
require a polyfill). the tooltip is explicitly hidden on `mouseleave`,
so even though the `<button>` retains focus after clicking, the tooltip
won't stay visible once mouse user moves away.
the mouse hover styles have explicitly not been make to also apply to
:focus, so as to minimise the visual impact for
mouse users (though the tooltip remains visible)
 - but due to the default outline and the custom tooltip, it
should be fairly clear when keyboard users set focus to a copy button
too.
2017-04-16 13:57:33 -07:00
Mark Otto
bc0cf36dc8 grunt 2017-04-16 13:54:07 -07:00
Patrick H. Lauke
6d64afe508 Replace dropdown backdrop hack with cleaner JS-only hack
* Replace backdrop with simple noop mouse listener

As discussed in https://github.com/twbs/bootstrap/pull/22422 the current
approach of injecting a backdrop (to work around iOS' broken event
delegation for the `click` event) has annoying consequences on
touch-enabled laptop/desktop devices.
Instead of a backdrop `<div>`, here we simply add extra empty/noop
mouse listeners to the immediate children of `<body>` (and remove
them when the dropdown is closed) in order to force iOS to properly
bubble a `click` resulting from a tap (essentially, method 2 from
https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html)
This is sufficient (except in rare cases where the user does manage to tap
on the body itself, rather than any child elements of body - which is not
very likely in an iOS phone/tablet scenario for most layouts) to get iOS to
get a grip and do the correct event bubbling/delegation, meaning the regular
"click" event will bubble back to the `<body>` when tapping outside of the dropdown,
and the dropdown will close properly (just like it already does, even without
this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and
Windows on a touch laptop).
This approach, though a bit hacky, has no impact on the DOM structure, and
has no unforeseen side effects on touch-enabled laptops/desktops. And crucially,
it works just fine in iOS.

* Remove dropdown backdrop styles

* Update doc for dropdowns and touch-enabled devices
2017-04-14 09:19:00 +01:00
Patrick H. Lauke
3275ca4b30 Reword "mobile" to "touch-enabled"
...as touch is not exclusive to "mobile" anymore nowadays. also explicitly clarifies this is a fix for iOS, and that it impacts touch laptops etc as well. lastly, renames the variable from "dropdown" to "backdrop" for clarity/consistency
2017-04-12 18:39:23 +01:00
Patrick H. Lauke
53b2c5520b Remove inappropriate role="listbox" from carousels 2017-04-11 11:12:30 +01:00
Patrick H. Lauke
18e8704221 Fix collapse.js aria-expanded behavior
* Remove aria-expanded from collapse.js target element

aria-expanded="true"/aria-expanded="false" only applies to the trigger,
not the element that is being expanded/collapsed.

* Tweak collapse.js accessibility section

...to make it clearer that the aria-expanded attribute always just goes
on the control.

* Fix collapse.js unit tests

- reword some of the text to make it clear we're checking behavior of
trigger/control
- move incorrect aria-expanded out of the <div>s and to the actual
trigger/control <a>s
- fix incorrect test assertion text output false -> true
2017-04-10 14:51:22 +01:00
Patrick H. Lauke
ba306d98bb Merge branch 'v4-dev' into v4-dev-docs-navs-js-tabpanel-fix 2017-04-09 22:09:45 +01:00
Patrick H. Lauke
50d178ece0 Remove incorrect role="tabpanel" from navs docs
`role="tabpanel"` is not appropriate as role for the overall container -
it only applies to the individual content parts of each tab
2017-04-09 21:15:05 +01:00
Patrick H. Lauke
c5db196e76 Merge branch 'v4-dev' into v4-docs-button-group-a11y-patch1 2017-04-09 13:25:47 +01:00
Mark Otto
0719ab1888 grunt 2017-04-08 22:05:50 -07:00
Mark Otto
ee5dc37ba3 drop img-fluid for w-100 2017-04-08 16:29:21 -07:00
Mark Otto
feb35b94a6 Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376)"
This reverts commit 2f21403a93.
2017-04-08 15:15:14 -07:00
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
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
Mark Otto
5d7db50739 redo and make sticky 2016-12-29 13:22:45 -08:00
Mark Otto
a769542888 update navbar 2016-12-29 13:22:34 -08:00
Mark Otto
424380f7b4 remove commented out code, add top margin 2016-12-29 13:22:26 -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
51b00ea833 Merge branch 'navbar-tweaks' into v4-docs-streamlined 2016-12-28 17:47:13 -08:00
Mark Otto
488c18e99b update all examples 2016-12-28 17:25:00 -08:00
Mark Otto
90d235af3a reorder classes because i like it this way :p 2016-12-28 17:04:07 -08:00
Mark Otto
c67ac18f07 dedupe 2016-12-28 17:03:28 -08:00
Mark Otto
e56ab55d22 clarify need for .navbar-toggleable classes 2016-12-28 17:03:25 -08:00
Mark Otto
b3dd2034a1 drop the flex-grow: 10 in favor of auto margin utils 2016-12-28 16:39:52 -08:00
Mark Otto
c56547a841 drop the .nav base class from .navbar-nav 2016-12-28 16:38:50 -08:00
Mark Otto
934d2d3d98 no float utils, use class name 2016-12-28 16:37:13 -08:00
Mark Otto
1191938886 better describe example 2016-12-28 16:37:04 -08:00
Mark Otto
3f94ee9c90 consistent punctuation
it's important, yo
2016-12-28 16:36:55 -08:00
Mark Otto
047d4a77da Merge branch 'v4-dev' into v4-docs-streamlined 2016-12-28 15:52:28 -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
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
d4217ea137 New width and height utils
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 16:37:18 -08:00
Mark Otto
0ec049d222 grunt 2016-12-22 13:52:33 -08:00
Mark Otto
d86a1dbfd4 redo custom docs navbar 2016-12-22 13:48:07 -08:00
Mark Otto
bb97ae18f7 streamline example navbars by removing .hidden-* classes on togglers 2016-12-22 13:48:07 -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
e37a57a34d more example fixes 2016-12-22 13:48:07 -08:00
Mark Otto
f041fb7373 migrate some notes on over here 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
67dc3b0702 dedupe ids 2016-12-22 13:48:07 -08:00
Mark Otto
6e61830633 update justified nav to use justified navbar; remove safari bug warning given flexbox implementation 2016-12-22 13:48:07 -08:00
Mark Otto
635c1ce06e fix carousel navbar 2016-12-22 13:48:07 -08:00
Mark Otto
cfdc66a342 fix sticky footer example navbar 2016-12-22 13:48:07 -08:00
Mark Otto
802de24a4a fix up navbar top and fixed top examples 2016-12-22 13:48:07 -08:00
Mark Otto
a6ce3aba5c redo album navbar with new 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
fd79471e8a override pos-f-t in examples 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
7c7bd17f0f rearrange examples, go center nav only instead of trying to hack centered with siblings 2016-12-22 13:48:07 -08:00
Mark Otto
60234f023b nuke 2016-12-22 13:48:07 -08:00
Mark Otto
9c423b5c6d move and consolidate navbar examples, fix em up 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
c7be14d66b no need for this; we have max-width 100% on them now 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
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