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

61 Commits

Author SHA1 Message Date
Jonathan Hefner
0caed940a5 Set vertical-align on .form-check-input (#29521)
This is a follow-up to #29322, specifically "allowing easy placement of
the `.form-check-input` in more places."  In my testing in Firefox and
Chrome, setting `vertical-align: top` removes the need to add
`float-left` to vertically align the checkbox and label text.  And doing
so does not visually affect examples which do apply `float: left` via
nesting in a `.form-check`.
2019-11-24 20:15:35 +01:00
XhmikosR
8805122f73
Update modal.md (#29621)
Fix typo
2019-11-01 13:18:28 +02:00
Mark Otto
9c7bc1a111
v5: Simplify navbars by requiring containers (#29339)
* v5: Simplify navbars by requiring containers

* Update migration docs for navbar
2019-10-27 20:26:52 -07:00
Higor Araújo dos Anjos
46912797b2 Added animation when modal backdrop is static (#29516) 2019-10-25 21:12:09 +03:00
Martijn Cuppens
9ee9b8a1e8 Add configurable button text wrapping (#29554) 2019-10-25 12:37:52 +03:00
Shohei Yoshida
3b876be652 Rename close icon to close button (#29387) 2019-10-21 19:27:43 -07:00
Martijn Cuppens
03c9788f7a
Variable card height (#29462) 2019-10-03 09:21:40 +02:00
Mark Otto
707973ebdd v5: .form-check layout changes (#29322)
* Scope .form-check-input layout to the .form-check parent

* Remove margin-bottom from list-group-items in case they are label elements

* document .form-check in input groups and list groups, and cleanup the no-label examples in the main .form-check docs
2019-10-02 22:19:45 +03:00
Shohei Yoshida
d2a24e09ec Grid card example tweaks (#29409)
Stack in cards in one column when < md
2019-09-24 13:48:45 +03:00
XhmikosR
758ee5f0f8 card.md: use text-dark for warning card. 2019-09-16 23:41:57 +03:00
XhmikosR
1edba8072d badge.md: use text-dark for warning. 2019-09-16 23:41:57 +03:00
XhmikosR
cf4ae75eff Break a couple of long lines. 2019-09-06 11:57:50 +03:00
Mark Otto
db692d02d5 Move margins, and equal height via utility example 2019-08-30 13:07:27 -07:00
Mark Otto
e2252e0230 First pass at .row-cols classes
Trying to find a new way to do responsive card decks while not locking ourselves into the cards themselves. My thinking here is we can easily control the column (.col) width by the parent, but I don't know how many we need (have 0-5 now) across each breakpoint. This works for cards so far, and I think could get us equal height, too.
2019-08-30 13:07:27 -07:00
XhmikosR
4041d70eb5
card.md remove empty class placeholder argument (#29345) 2019-08-30 17:35:12 +03:00
XhmikosR
aa3b4c41a4
carousel.md: Remove duplicate bd-example div. (#29341)
The example shortcode already adds this.
2019-08-30 17:21:47 +03:00
Mark Otto
8360edc57b
Clean up instances of old .form-group (#29321) 2019-08-29 14:07:55 -06:00
XhmikosR
9cee3c2808 Minor wording tweaks 2019-08-18 17:19:36 +03:00
Johann-S
f03c10a189 allow to pass popper.js configuration for tooltip/popover and dropdown 2019-08-18 17:19:36 +03:00
XhmikosR
6335fbe224
Use US locale consistently. (#29255) 2019-08-16 13:20:26 +03:00
XhmikosR
4b243de2c0
Fix redirects. (#29254) 2019-08-14 22:40:46 +03:00
Johann-S
8468f4a37e remove jquery references from list group 2019-08-04 13:22:47 +02:00
XhmikosR
b316235e63
docs: Fix badges after #28458. (#29199) 2019-08-04 08:23:25 +03:00
Johann-S
291bbac519 remove jquery in scrollspy docs 2019-08-01 10:37:27 +02:00
Johann-S
cd21ca074e remove jquery in tab docs 2019-08-01 10:37:27 +02:00
Herst
3100dd3dab Add missing role="document" (#29172) 2019-07-31 09:52:52 +03:00
Johann-S
dcba526775 remove underscore for static methods 2019-07-29 11:34:12 +02:00
Patrick H. Lauke
144220f0c5 Minor: fix sentence (#29160)
"Popovers whose both title..."
2019-07-29 11:23:44 +03:00
Brian Juul Andersen
420efb0bac Update scrollspy.md (#29156)
Fixed minor grammatical error:

"... the best method get scroll ..."

=>

"... the best method to get scroll ..."
2019-07-28 14:02:23 +03:00
Martijn Cuppens
b4c4223409 Remove card columns in favor of masonry grid 2019-07-22 16:08:58 +03:00
Mark Otto
af9d6c3dd3 Update remaining tables to Bootstrap tables in docs by adding .table class 2019-07-21 21:44:32 -07:00
XhmikosR
67bea95df5 It's viewBox. 2019-07-17 16:21:47 +03:00
Brian Juul Andersen
37ec7f6928 Update collapse.md (#29025)
Corrected minor spelling error.
2019-07-13 10:04:49 +03:00
Mark Otto
aaf03bdc9e
v5: Forms update (#28450)
* Initial spike of consolidated form checks

* Stub out forms rearrangement

- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

* rewrite flex-check as form-check, replace all custom properties

* Remove old forms doc

* stub out new subpage link section

* update migration guide

* Update nav, forms overview in page nav, and descriptions

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

* better way to do this contents stuff, redo the toc while i'm at it

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

* Redesign the docs navbar, add a subheader, redo the sidebar

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

* Part of sidebar update, remove migration from nav.yml

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696

* rename back

* fix size and alignment

* rename that back too
2019-07-12 16:52:33 -05:00
XhmikosR
fdbc63fb3f
Fix typo. (#29008) 2019-07-10 10:45:27 +03:00
Mark Otto
9badcf6c41
Fixes #28994 2019-07-09 14:30:07 -05:00
Patrick H. Lauke
53a3d449fd Add prefers-reduced-motion callout to toast documentation (#28993)
x-ref #28987
2019-07-08 21:05:53 +03:00
Martijn Cuppens
2ac2a5a91e Removal of one of the most iconic components of Bootstrap: the jumbotron (#28876) 2019-06-07 14:44:25 +03:00
Shohei Yoshida
543ff4e3e5 Clean component examples CSS (#28872)
* Remove unused classes/styles and use utilities instead of specific styles
* Use `getElementById` instead of `querySelector`
2019-06-06 09:04:48 +03:00
Patrick H. Lauke
87030c98ac Docs: add accessibility/keyboard callout to popovers, tweak tooltips callout (#28851)
- Add same advice about keyboard/AT handling to popovers as a callout; also add information about not adding excessive content or interactive controls (and the suggestion to opt for a modal)
- Tweak the tooltips callout for consistency
2019-06-04 10:36:57 +03:00
Johann-S
02f80c1616 remove util references from our docs 2019-05-16 14:44:11 +02:00
Johann-S
803088c526 remove jquery references from tooltip docs 2019-05-16 14:44:11 +02:00
Johann-S
759fe25567 remove jquery references in toast docs 2019-05-16 14:44:11 +02:00
Johann-S
7694a5a70a remove jquery references from popover docs 2019-05-14 14:32:45 +02:00
Johann-S
104308b276 rewrite modal docs without jquery 2019-05-14 14:32:45 +02:00
Johann-S
19e86a34af remove jquery references in dropdown docs 2019-05-14 14:32:45 +02:00
Johann-S
fd8a651521 remove some jquery references in collapse docs 2019-05-14 14:32:45 +02:00
Johann-S
99b2a80db8 remove some jquery references in carousel docs 2019-05-14 14:32:45 +02:00
Martijn Cuppens
5db281d7c4
Move close icon to components in docs (#28512)
* Move close icon to components

* Remove redundant float from close
2019-05-10 20:27:22 +02:00
Katherine Shaw
a5d7dff164 Docs unordered lists dropdowns (#28591)
Replace snippets and examples in dropdown docs to use semantic `ul` and `li` elements.
2019-05-09 11:19:32 +03:00