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

419 Commits

Author SHA1 Message Date
Laussel Loïc
7ce29d75f3
v5 tabs - accessibility issue when using ul/li semantic
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-03-28 09:51:24 +02:00
XhmikosR
98c4598696 Fix redirected links. 2020-03-24 22:05:26 +02:00
Patrick H. Lauke
7af4af209c Add accessible name to fieldset 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
00ff5b83f9 Add explicit aria-label to unlabeled controls
- in particular, controls that just relied on `placeholder`, as this is still not officially/consistently supported as a valid way to provide an accessible name (though some browsers do use it as a fallback)
2020-03-24 15:02:58 +02:00
Patrick H. Lauke
a68f73e754 Remove unnecessary <form> elements, add a submit button to validation example 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
c96f6391e8 Add explicit title to iframe embed 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
1871412978 Add explicit scope="col" to <th> column headers 2020-03-24 15:02:58 +02:00
Mark Otto
4ccd522a76
Add .caption-top for tables (#30435)
* Move caption-side to <table> element in Reboot

* Add class for .caption-top
2020-03-24 10:00:45 +01:00
Zedicius
64a5987cc0
File chooser size (#30040)
Co-authored-by: David Van Doninck <david.vandoninck@intracto.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-23 18:36:54 +01:00
Shohei Yoshida
1b7e13f2a3
Update modal docs (#30325) 2020-03-23 18:15:30 +01:00
Gaël Poupard
03908ea37a
Use WCAG contrast algo (#30168) 2020-03-23 18:03:56 +01:00
Martijn Cuppens
85b12549ec Simplify input groups by dropping .input-group-prepend and .input-group-append 2020-03-23 15:35:07 +01:00
Martijn Cuppens
25d2eac45b Use a link helper instead of the text color utility 2020-03-23 14:11:29 +01:00
satotake
a523caab87
Fix commonmark syntax (#30276)
* Fix commonmark syntax

related https://github.com/gohugoio/hugo/issues/6553

* Fix indentation

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-19 21:11:29 +02:00
Martijn Cuppens
27ec3e8690 Update Legacy Edge support 2020-03-18 20:59:27 +02:00
XhmikosR
018a94c9c1 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
XhmikosR
dffe600b1c Revert "Revert "Add information about IE 11 compatibility.""
This reverts commit bcf76ef5f0.
2020-03-18 20:59:27 +02:00
XhmikosR
cece839fc9
Clarify card group behavior (#30416)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-03-18 10:29:10 +02:00
XhmikosR
0ca2cf4cca
Dashboard example: use the core .position-sticky class. (#30408) 2020-03-18 09:35:39 +02:00
Catalin Zalog
8501f2413f
style: fixes indent (#30396) 2020-03-15 22:10:08 +02:00
Martijn Cuppens
973876eda6 fix indention
Co-Authored-By: Shohei Yoshida <ysds.code@gmail.com>
2020-03-10 20:30:29 +01:00
Martijn Cuppens
fca5e35d13 Add row-cols-auto and responsive variants 2020-03-10 20:30:29 +01:00
Martijn Cuppens
66408b6e59 Remove card decks in favor of the grid 2020-03-10 20:30:29 +01:00
Martijn Cuppens
8eb8c97bec Bootstrap 5 migration guide 2020-03-10 20:30:29 +01:00
Martijn Cuppens
df8f64d195 Update examples to the Bootstrap 5 grid 2020-03-10 20:30:29 +01:00
Martijn Cuppens
9daf36fdb7 Bootstrap 5 grid documentation
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-03-10 20:30:29 +01:00
Christian Oliff
cfa874f5b9
Update browsers + devices support page to remove IE10, IE11 Mobile (#30363)
This PR removes unsupported browsers from supported tables based on the current `.browserlistrc` config
2020-03-08 09:20:43 +02:00
Martijn Cuppens
fcc67da41f
Align navbar in docs (#30359) 2020-03-07 13:09:05 +01:00
XhmikosR
7eaf7528fc
Add loading="lazy" in images (#30199) 2020-03-05 10:12:59 +02:00
Martijn Cuppens
0cfd8dfddf CSS & alignment tweaks 2020-03-04 16:17:01 +02:00
Minobi
a99c531aa7 Example dashboard: fix menu disappearing on small viewport 2020-03-04 16:17:01 +02:00
Martijn Cuppens
648bceadd8
Add pointer event utilities (#30185) 2020-02-23 01:07:33 +01:00
Gaël Poupard
48c8697fed
docs(theming): improve headings hierarchy under Sass → Functions (#30207) 2020-02-17 20:40:08 +02:00
Christian Oliff
cc44b4479a
Add Microsoft Edge for MacOS to supported browsers (#29956)
The new Chromium-based Edge has been available as a beta for sometime and general availability of the final version is expected to ship from Jan 15. I think it makes sense to add it as a supported browser once it's out of beta.
REF: https://blogs.windows.com/windowsexperience/2019/11/04/introducing-the-new-microsoft-edge-and-bing/
2020-02-17 09:55:32 +02:00
Michael Lehenbauer
f3e3c4976b
Docs: Rephrase 'img-fluid' explanation for clarity (and avoid passive voice). (#30190) 2020-02-17 09:50:27 +02:00
XhmikosR
90375b5433
tables.md: make vertical table responsive (#30191)
Fixes page overflow on mobile.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-16 16:55:19 +01:00
Michael Lehenbauer
1dcd4967cc
Remove confusing "Equal-width multi-line" section from docs (#30189) 2020-02-16 15:47:55 +01:00
Martijn Cuppens
148421be12
Remove map merges (#28508) 2020-02-15 14:41:59 +01:00
XhmikosR
d7088cf048
interactions.md: remove trailing space (#30184) 2020-02-15 15:07:57 +02:00
Martijn Cuppens
3e8ab644ea
Remove color shades callout (#30181)
Not applicable anymore since https://github.com/twbs/bootstrap/pull/29348
2020-02-15 13:52:27 +01:00
Martijn Cuppens
139b480b6d
Update copy sizing utilities (#30182)
The `$sizes` Sass map doesn't exist anymore in `v5`.
2020-02-15 14:35:35 +02:00
XhmikosR
8d791f2800
Revert "Placeholder for transitions reset to prevent code duplication #29862"
This reverts commit cd7e5d1111.

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-15 12:41:33 +01:00
Martijn Cuppens
1d8a3a9597
Add RFS to utility API (#30050) 2020-02-15 12:01:32 +01:00
Gaël Poupard
cd7e5d1111
Placeholder for transitions reset to prevent code duplication… (#29870)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-14 20:50:50 +01:00
Jens Luyten
7a694396c1
Add utility class for the user-select property (#30035)
* Add utility class for the user-select property

* Docs: Add new page for behavior utility classes - includes user select utility

* Update and rename behaviors.md to interactions.md

* Update sidebar.yml

Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-14 09:24:16 +02:00
Christopher Morrissey
7fd6dd9d58
v5 docs: added wrapping class for rounded utils (#29379)
* Added wrapping class for rounded utils

Tweak /utilities/borders/#border-radius #29343

* Remove the extra div.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-13 22:22:10 -08:00
tu4mo
ba72645eaf
Remove IE10 mention, since it's not supported (#30167) 2020-02-12 21:58:28 +02:00
Martijn Cuppens
6e8ea2722d
Introduce posibility to disable !important suffix for utility classes (#29625) 2020-02-10 16:05:07 +02:00
Gaël Poupard
96ac6068b3
Use aria-current where appropriate (#30079) 2020-02-07 13:18:30 +02:00
Mark Otto
3b2aadf2a1
Update migration guide for removal of .form-text (#30134)
Closes #29630
2020-02-04 11:14:55 +02:00
eliasswns
807d67fe7e
Added extra information about flex-alignment on vertical-alignment (#30047)
* change sentence

* Update vertical-align.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2020-02-03 23:28:29 +02:00
Martijn Cuppens
532feab38b
Split grid & containers (#29146) 2020-02-03 21:02:53 +01:00
Martijn Cuppens
3350931585 Fix file input (#30086) 2020-01-25 15:58:32 +02:00
Gaël Poupard
9a5a60676c docs(licence): fix headings hierarchy (#30080) 2020-01-25 11:10:07 +02:00
Ty Mick
430c16dfac Remove unnecessary comma in 'All colors' (#30010)
* Remove unnecessary comma in 'All colors'

(Using a comma between a subject and predicate)[https://en.wikipedia.org/wiki/Comma#Between_the_subject_and_predicate] is nonstandard.

* Update theming.md

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-01-16 09:46:42 +02:00
XhmikosR
7f999ff588
Blog example: add display=swap for the Google Font (#30013) 2020-01-13 22:48:23 +02:00
XhmikosR
e7ed63a693
Dashboard example: update Chart.js to v2.9.3. (#30014) 2020-01-13 22:43:18 +02:00
XhmikosR
45c2a0c3c5
javascript.md: Add srcset in sanitizer docs (#30007) 2020-01-13 17:49:36 +02:00
Giovanni Mendoza
954a0b1e6a Close modal with keyboard=true & backdrop=static (#29986)
* Close modal with keyboard=true & backdrop=static
2020-01-10 11:06:12 +02:00
XhmikosR
5d9dd3b25e
Delete icons.md (#29939)
This is unused
2020-01-06 10:14:15 +02:00
Martijn Cuppens
c7ce627ca8 Remove redundant overflow-wrap property
While `overflow-wrap` is the more recommanded option, `word-wrap` alone has a wider support.
2020-01-04 18:26:24 +01:00
Florian Lacreuse
d5270cb811 Use word-wrap in .text-break for IE and Edge compatibility. 2020-01-04 18:26:24 +01:00
XhmikosR
27cc792615
reboot.md: Fix rendering for the recent Hugo versions (#29938) 2020-01-02 12:40:57 +02:00
XhmikosR
e2530d38aa
reboot.md: Add missing Noto Sans font (#29937)
* reboot.md: Add missing Noto Sans font

* Sans serif order fix

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-01-02 12:02:57 +02:00
Martijn Cuppens
bd27834198 Drop .text-justify class (#29793)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-30 22:33:34 +02:00
Martijn Cuppens
4387038421 Simplify disabled styles (#29296)
* Simplify disabled styles

* Mention pointer-events usage
2019-12-27 18:40:06 +02:00
Martijn Cuppens
e2f7fe6cf1 Remove redundant classes 2019-12-25 21:00:21 +02:00
XhmikosR
3ac97a1e85 Update index.html 2019-12-25 21:00:21 +02:00
XhmikosR
1f7cbc2212 Examples: adapt after the container requirement. 2019-12-25 21:00:21 +02:00
XhmikosR
94e20317d0
Fix offcanvas example. (#29909) 2019-12-25 14:28:26 +02:00
Martijn Cuppens
c6cfc23239
Documentation fix: move width after make-container() mixin (#29820)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2019-12-25 12:28:02 +01:00
Martijn Cuppens
31038b03ba examples: Fix checkout page (#29886) 2019-12-20 09:00:49 +02:00
Christian Oliff
7d2f24ed02 Fix broken team link on icons page (#29871)
Change: https://github.com/twbs/members to: https://github.com/orgs/twbs/people
2019-12-18 09:40:45 +02:00
XhmikosR
44ca196534 Work around invalid generated HTML 2019-12-16 01:54:47 +02:00
Martijn Cuppens
665e1e56b9 Add form-control-focus() deprecation to migration guide 2019-12-14 15:47:39 +02:00
Martijn Cuppens
346be3e7ea Typo fix (#29832) 2019-12-11 13:25:54 +02:00
Martijn Cuppens
ac704a57ac Update states (#29792) 2019-12-08 15:54:27 +02:00
Matthieu Vignolle
1a5b7f4a8e Add font style normal (#29744) 2019-12-06 02:34:10 +02:00
Shohei Yoshida
e1833cec72 Improve wrapping and hit area of accordion example titles (#29782) 2019-12-01 17:41:15 +01:00
cccabinet
1dc3901979 docs: $enable-rfs is true by default (#29766) 2019-11-28 15:19:27 +02:00
Matthieu Vignolle
4de4874e72 Change deprecated html tags to text decoration classes (#29604) 2019-11-27 08:43:49 +02:00
cccabinet
1977a661e6 justify-content:between ⇒ justify-content:space-between (#29734) 2019-11-26 09:11:07 +02:00
Mark Otto
2180daa6f5 Some minor text tweaks 2019-11-25 13:05:57 +02:00
Martijn Cuppens
d5c212bbcb Link to versioned docs 2019-11-25 13:05:57 +02:00
Mark Otto
ff256ca23c Copywriting edits 2019-11-25 13:05:57 +02:00
Martijn Cuppens
cd077cd599 Enable RFS for font resizing
- Enable RFS
- Add documentation
- Disable doc font size overrides
2019-11-25 13:05:57 +02:00
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
c3fa502d32
dashboard/index.html: update feather-icons to v4.24.1 (#29651) 2019-11-07 11:20:12 +02:00
XhmikosR
8805122f73
Update modal.md (#29621)
Fix typo
2019-11-01 13:18:28 +02:00
Mark Otto
9e54d8e120 Doc tweaks. 2019-10-31 08:30:53 +02:00
ysds
d6ebc60d3d Add add and subtract function 2019-10-31 08:30:53 +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
XhmikosR
3251de8d57 Get rid of unneeded divs. (#29563)
Use our example shortcode's `class` parameter instead.
2019-10-21 19:11:22 -07:00
Mark Otto
8d56c19b55
v5: Icons docs cleanup (#29450)
* Remove mention of icons from migration since they're not part of the core project

* Cleanup icons page to mention Bootstrap Icons
2019-10-18 11:06:12 -07:00
Mark Otto
943bef258d
v5: Update colors to add shades and tints (#29348)
* Add variables for shades and tints of each major color

* getting-started/theming.md: use a `range`.
2019-10-18 11:04:27 -07:00
Jeremy Jackson
4e37fc3ab4 Add color argument to button mixins (#29444)
Add optional `$color` argument to `button-variant()` and
`button-outline-variant()` for additional flexibility.
2019-10-12 11:21:22 +03:00
Mark Otto
b3451ff258 Add new .bg-body utility class (#29511) 2019-10-10 21:18:19 +03: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
129bb08fc4
Use Hugo for our docs Sass and JS. (#29280)
Now there's only one command needed to run the docs: `npm run docs-serve`.

Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR
a9c05ab798 examples: darken gray a little bit. 2019-09-16 23:41:57 +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
jahanzaibsuleman07
d99ff902f8 Responsive sticky top (#29158) 2019-09-13 21:15:20 +03:00
XhmikosR
c5e80ff2af about/brand.md: Remove unused class. 2019-09-06 18:06:13 +03:00
Martijn Cuppens
b6b96c174b Docs tweaks
- Simplify display headings example markup
- Simplify footer styles
- Remove z-indices hacks in the docs
- Remove redundant modal styling in docs
- Use `escape-svg()` to escape docs sidebar chevron
- Simplify sidebar chevron code
- Cleanup masthead css & fix column width between `md` & `lg`
- Easier to download logo's with the `download` attribute.
- Changed some color codes into variables
- Cleanup brands css
2019-09-06 18:06:13 +03:00
XhmikosR
d6945d5e8f Move shortcodes used only once where they are needed. 2019-09-06 11:57:50 +03:00
XhmikosR
2c9e22ef88 getting-started/theming.md: throw an error if the regex doesn't succeed. 2019-09-06 11:57:50 +03:00
XhmikosR
cf4ae75eff Break a couple of long lines. 2019-09-06 11:57:50 +03:00
XhmikosR
db002902da
Tweak form validation snippet. (#29359)
* remove load event
* use `forEach` and `querySelectorAll`
* simplify check
2019-09-03 18:04:11 +03:00
XhmikosR
d0affaa2ec
Examples: use our utilities more. (#29358) 2019-09-02 19:19:25 +03:00
XhmikosR
88d7d8b822
Use the example shortcode in more places. (#29346) 2019-09-02 12:52:26 +03:00
XhmikosR
6f1eb110e7
Docs: simplify a few Hugo ranges. (#29333) 2019-09-02 12:31:02 +03:00
XhmikosR
edf7923c8f
Fix a few redirected links. (#29352) 2019-09-02 12:21:42 +03:00
ysds
b1f4909287 Add responsive example 2019-08-30 13:07:27 -07:00
ysds
ebfeaa4ad1 Allow override default col width 2019-08-30 13:07:27 -07:00
Mark Otto
cc248791b0 Cleanup
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07: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
Martijn Cuppens
007ea0d8d0 Clean up line heights & add line height utilities (#29271) 2019-08-30 10:42:41 +03:00
Mark Otto
8360edc57b
Clean up instances of old .form-group (#29321) 2019-08-29 14:07:55 -06:00
XhmikosR
e99625c088
docs: remove swatches for theme colors. (#29327)
Use the built-in utilities instead.
2019-08-29 15:18:47 +03:00
XhmikosR
ee01dc2340
theming.md: automate _root.scss. (#29326) 2019-08-29 15:09:24 +03:00
XhmikosR
84cba07246
theming.md: bring :root up to par with Scss. (#29323)
Also, add a warning in _root.scss so that we don't miss it again.
2019-08-29 11:10:06 +03:00
XhmikosR
1d69e6ccfd blog example: remove unused CSS. (#29316) 2019-08-28 17:29:15 +02:00
Mark Otto
cd4dc92dd8 mention new variable in our docs 2019-08-27 11:10:56 +03:00
XhmikosR
c463c261ed
Remove "Wall of browser bugs" page. (#29297)
While important in the past, it has become obsolete, so removing it seems the best solution.
2019-08-27 08:44:35 +03:00
Martijn Cuppens
19ee63ad25 Link helpers & use utility API for all utilities 2019-08-26 08:21:24 +02:00
Mark Otto
b02bae769e Document example of datalists with form controls (#29058)
- Add example to the new form control docs
- Reset the [list] selector in Reboot to hide the random dropdown arrow in Chrome
2019-08-24 02:59:57 +03:00
Martijn Cuppens
d9abb8e20d Documentation tweak 2019-08-24 02:26:28 +03:00
Mark Otto
57e17706a9 Add support and docs for color input 2019-08-24 02:26:28 +03:00
tracyjordan
a5e725fa2e fixed minor typo (#29291) 2019-08-22 10:58:08 +03:00
Martijn Cuppens
0aabaa209d Drop nav divider mixin 2019-08-22 08:10:44 +02: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
Martijn Cuppens
361ab8063d Clarify order documentation (#29252) 2019-08-16 11:23:51 +03:00
XhmikosR
4b243de2c0
Fix redirects. (#29254) 2019-08-14 22:40:46 +03:00
XhmikosR
6fc9108a86
browser-devices.md: Fix Android version (#29224) 2019-08-07 17:13:14 +03:00
Mark Otto
d94148bf50
Responsive containers (follow-up to #29095) (#29118)
* Follow-up to #29095

This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong.

Fixes #25631.

* update navbar as well because we cannot reset all containers uniformly

* Update navbars example to include container-xl example to ensure containers match

* rewrite responsive containers docs, add table of max-widths

* Update container docs
- Move table up to the intro
- Remove the container example because it's actually hella confusing
- Update and link to grid example as a demo instead
2019-08-05 12:12:16 -07:00
XhmikosR
9c75a63bfc
Update form-control.md (#29203)
Fix Readonly plain text form alignment
2019-08-04 20:20:00 +03:00
XhmikosR
d2b79d97e7 Update javascript.md 2019-08-04 13:22:47 +02:00
Johann-S
83058fb34c explain how to use bootstrap 5 with jQuery 2019-08-04 13:22:47 +02:00
Johann-S
8468f4a37e remove jquery references from list group 2019-08-04 13:22:47 +02:00
joseigor
2be5f03bfc v5: Docs Utilities API updates (#29126)
Improvement to better understand how utilities class name are generated by the (_api.scss) base in the line of code below:
`$property-class: if($property-class, $property-class, nth($properties, 1));`

fc02932946/scss/mixins/_utilities.scss (L21)
2019-08-04 08:42:23 +03:00
XhmikosR
b316235e63
docs: Fix badges after #28458. (#29199) 2019-08-04 08:23:25 +03:00
Mark Otto
7bce809a63 Mention pagination margin change in migration docs (#29196)
From #28948.
2019-08-03 17:27:33 +03:00
XhmikosR
a0f3fd2342 Update javascript.md 2019-08-02 16:50:05 +02:00
Johann-S
8b2b490f9b add a way to disable jQuery detection 2019-08-02 16:50:05 +02:00
XhmikosR
96ed9f7bf0 Update javascript.md 2019-08-01 10:37:27 +02:00
XhmikosR
09c3a8f893 Update javascript.md 2019-08-01 10:37:27 +02:00
Johann-S
b7a079d808 add callout about jquery events 2019-08-01 10:37:27 +02: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
Patrick H. Lauke
749622f43d Fix minor typo (#29168) 2019-07-30 09:42:55 +03:00
XhmikosR
6cdfcdf658 Update migration.md 2019-07-29 11:34:12 +02: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
XhmikosR
9131e3e401 docs: Move trailing URL slashes to the variables. 2019-07-29 10:59:56 +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
d95d08249c Remove $enable-hover-media-query 2019-07-26 22:37:10 +02:00
ysds
c0a64e989a Remove outdated documentation
* Remove about generated button of file form
* Remove and merge layout examples of custom forms
* Clarify id/for
* Change some spacing classes for consistency
2019-07-25 10:58:06 -07:00
Martijn Cuppens
ea34b6c5be Merge code page with reboot 2019-07-25 19:26:27 +02:00
Martijn Cuppens
855d763ae5 Reboot updates
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842)
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
2019-07-25 19:26:27 +02:00
Martijn Cuppens
39b88d4293 Mention dropped .pre-scrollable class in migration guide. 2019-07-25 18:42:45 +02:00
Martijn Cuppens
97e9214edd Drop .pre-scrollable class 2019-07-25 18:42:45 +02:00
Martijn Cuppens
1c05c1dbf1 Drop color(), theme-color() & gray() functions (#29083)
Drop `color()`, `theme-color()` & `gray()` functions  in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. 

Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-07-25 10:41:13 +03:00
XhmikosR
b65a5cb2c9
Move Icons in data. (#29087) 2019-07-23 09:41:14 +03:00
Christian Oliff
6bebd2938a Simplify code for 'cover' example by using utility classes. (#28986) 2019-07-22 17:02:03 +03:00
Martijn Cuppens
2f08484be9 Add utilities documentation 2019-07-22 16:51:45 +03:00
julian-hecker
c69326dd6b Add bootstrap-utilities.scss 2019-07-22 16:51:45 +03:00
XhmikosR
967f1ab37a Use sha384. 2019-07-22 16:08:58 +03:00
XhmikosR
262a24b627 Manually escape script. 2019-07-22 16:08:58 +03:00
XhmikosR
8b59b73a2b Remove useless script. 2019-07-22 16:08:58 +03:00
Mark Otto
88065dfe71 Use .html like every other example, change the layout, simplify some things for now 2019-07-22 16:08:58 +03:00
Martijn Cuppens
b4c4223409 Remove card columns in favor of masonry grid 2019-07-22 16:08:58 +03:00
Martijn Cuppens
3b73dfc44b Allow to pass integrity & async attribute to extra js 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
Mark Otto
14e0ef57db Document changes to tables 2019-07-21 21:44:32 -07:00
Mark Otto
5912fdc916 Clarify form control visual updates in migration guide 2019-07-21 21:44:32 -07:00
Mark Otto
fe71808494 Update Migration docs to mention new icons 2019-07-21 21:44:32 -07:00
Mark Otto
1cdba95c50 Revert padding-right on ol and ul in Reboot, update migration doc 2019-07-21 21:44:32 -07:00
Mark Otto
634344c003
v4/v5: Add responsive containers (#29095)
* create responsive containers

provide more flexibility and allow the user to determine when containers switch from fluid to fixed width.

* fix the base container code

this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use.

I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'.  Then we loop through that and, with the appropriate infixes, extend our placeholder

* formatting for style

forgot to run my tests before the last push, i think these are better.

* finish incomplete comment

* fix the responsive containers

using the `@extend` directive I was able to clean up this code

* fix responsive containers in the navbar

mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc)

* Simplify container extends

* Simplify navbar containers

* Rearrange, add comments, ensure everything is nested in $enable-grid-classes

* Reduce new CSS by using attribute selector

We avoid using `@extend` whenever possible, and this is more readable

* Update _grid.scss

* Update _navbar.scss

* Add docs for responsive containers, redesign the container layout page

* Add to the Grid example
2019-07-21 17:38:36 -07:00
Kitten King
37703a6fc9 Fix Typos across Bootstrap repository (#29082) 2019-07-20 12:53:02 +03:00
Martijn Cuppens
f6694b7440 Use escape-svg() function (#29077)
* Use escape-svg() function

* Update theming.md
2019-07-19 18:57:12 -07:00
XhmikosR
28dfa54083
Remove iconic and add feather icons. (#29079) 2019-07-19 18:25:03 +03:00
XhmikosR
fc38f25287 Remove trailing spaces. 2019-07-19 09:19:56 +03:00
Martijn Cuppens
62b8e84970 Make it possible to change default alignment & allow to inherit alignment from table (#29039) 2019-07-18 08:49:39 +03:00
XhmikosR
67bea95df5 It's viewBox. 2019-07-17 16:21:47 +03:00
XhmikosR
b81a3e8b3c Add redirect for /forms/. 2019-07-17 15:27:01 +03:00
XhmikosR
e4dc6b84b1 Move inline JS to application.js. 2019-07-17 14:52:11 +03:00
Martijn Cuppens
88e87ca7c9 Make text align configurable (#28989)
This was causing issues for RTL, see https://github.com/twbs/bootstrap/issues/28238
2019-07-15 14:34:01 +03:00
Mark Otto
cef69b9a65 v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the  support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field.

Fixes #28176.
2019-07-14 12:00:57 +03:00