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

1042 Commits

Author SHA1 Message Date
XhmikosR
3d8d0012c8
Stylelint: remove redundant disables (#31006) 2020-06-12 11:11:36 +03:00
Gaël Poupard
2a4e97b56c docs(layout): drop useless .text-left on overview table 2020-06-11 22:39:49 -07:00
Rohit Sharma
6061227f77 Update docs for navs
Co-authored-by: Mark Otto <otto@github.com>
2020-06-09 07:48:58 +03:00
Rohit Sharma
e140ff92ed Remove .nav-item from .nav-link to make it consistent
- Closes #28423
2020-06-09 07:48:58 +03:00
Rohit Sharma
5faf41eb48
Add role="dialog" in modals via JavaScript (#30936) 2020-06-04 10:35:09 +03:00
XhmikosR
358d637d1c Read validate-forms.js from assets. 2020-06-03 15:57:20 +03:00
XhmikosR
6824d67beb Fix forms validation snippets. 2020-06-03 15:57:20 +03:00
XhmikosR
08742abda3 shortcodes/example.html: allow specifying the highlighting language 2020-06-03 15:57:20 +03:00
Mark Otto
c682e751bf
Restore word-break: break-word on .text-break to fix text breaking on flex containers (#30932) 2020-05-31 06:49:23 +03:00
Edson Jr
1f1b147f19
Add space-evenly option for justify-content (#30910) 2020-05-30 15:19:10 +02:00
Gaël Poupard
407b4c3606
docs(layout): improve layout when content is short (#30908)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-28 20:33:41 +03:00
Gaël Poupard
ad518e2097
Apply utilities in docs styles (#30866)
* docs(theming): apply utilities where possible

* Update docs-sidebar.html

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:02:19 +03:00
XhmikosR
167739baf1 Update grid.md
Fix docsref links
2020-05-26 18:48:03 +03:00
XhmikosR
b1c720d047
examples: remove no longer used classes. (#30894) 2020-05-26 11:01:17 +03:00
Mark Otto
c9cd3e4a08
v5: Make navbar active links consistent (#30831)
* Update navbar docs to put .active class on .nav-link

Fixes #30652 in v5.

* Remove two selectors from navbar nav that are either unused, or duplicative

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-20 15:56:42 +03:00
XhmikosR
3b06411402
homepage: fix headings hierarchy (#30871) 2020-05-20 13:04:36 +03:00
Gaël Poupard
e1f320851a docs(customize/sass): dark color-contrast is #212529 as of now 2020-05-20 09:49:18 +02:00
Gaël Poupard
b45a2ab178 docs(customize/colors): dump grays swatches (unused) and merge -500 in swatches 2020-05-20 09:49:18 +02:00
Gaël Poupard
e03ef123e2 docs(contrasts): move content after rebasing master 2020-05-20 09:49:18 +02:00
Gaël Poupard
a0dd474bc6 docs(theming): display contrast ratios in color swatches 2020-05-20 09:49:18 +02:00
Gaël Poupard
a7e1b914ef docs(colors): better color utilities pairing to ensure sufficient contrast 2020-05-20 09:49:18 +02:00
XhmikosR
e271d01606
Streamline application.js exampleModal code (#30819)
* use `textContent` since we only need to add text
* move comments
2020-05-19 08:33:12 +03:00
XhmikosR
62626db320 More Markdownlint fixes 2020-05-18 16:28:22 +03:00
Mark Otto
d2f07ec9e1 Fix some easy Markdown linting issues
- Always use dashes for bullets
- Add some basic alt text for our readme OC sponsors
2020-05-18 16:28:22 +03:00
XhmikosR
01d1d6bb0c migration.md: a few grammar fixes 2020-05-15 15:03:12 +03:00
Martijn Cuppens
b531bda07c Improve gradients
- Use a semitransparent gradient from light to dark which works on any background-color
- Store the gradient as a custom property (--bs-gradient)
- Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled
- Add gradients to navbar, active page links and badges when gradients are enabled
2020-05-15 15:03:12 +03:00
Mark Otto
12a6576f48
Simplify list-group borders in cards (#30808) 2020-05-14 19:48:46 +02:00
Mark Otto
46d876314b
Split table cell padding variables (#30815) 2020-05-14 19:43:33 +02:00
XhmikosR
5d11d5790a
Fix broken anchors. (#30828) 2020-05-14 19:43:56 +03:00
XhmikosR
38ec7c4df7
Bump version to 5.0.0-alpha1 (#29925)
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
Christian Oliff
53eb7d3883
Fix .browserslistrc file name in docs (#30800) 2020-05-13 21:28:57 +03:00
Rohit Sharma
ec3cfae29c
Removed role="document" from the modal dialog (#30755) 2020-05-11 12:45:42 +03:00
Regis Philibert
f979307833 Add a param shortcode to work around the escaped characters in hashes 2020-05-07 20:53:21 +03:00
XhmikosR
2bd3bd842d Use safeHTMLAttr in the integrity attributes. 2020-05-07 20:53:21 +03:00
XhmikosR
23aaee8c6f
Fix typo (#30745) (#30746)
Use possessive form of it

(cherry picked from commit d63b651f37)

Co-authored-by: Quy <quy@fluxbb.org>
2020-05-06 09:12:26 +03:00
Johann-S
f91788548c
enforce element check on scrollspy target (#30747) 2020-05-06 07:30:43 +03:00
Gaël Poupard
fb0ad7a93c
Fix form file height (#30699) 2020-05-05 19:43:16 +02:00
XhmikosR
37f2c04c5f
Clean up lint rules (#30721)
* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
2020-05-04 19:32:09 +03:00
Mark Otto
1f531a6583 Update CSS variables docs to clarify usage and intent 2020-05-02 15:13:58 -07:00
Mark Otto
ee2765076d Finish up creating your own components docs 2020-05-01 11:35:40 -07:00
Mark Otto
e0b1eff2d3 Update function names in migration, clarify tints and shades are Sass variables 2020-05-01 11:35:40 -07:00
Mark Otto
ca5c67364a Remove mentions of Bootstrap 4 in a few places, replacing with updated guidance where appropriate 2020-05-01 11:35:40 -07:00
XhmikosR
81404d2e3c
search.js: make the check for URL stricter (#30695) 2020-04-30 21:07:26 +03:00
Mark Otto
3e73039936
v5: Unify spacing across components (#30564)
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-30 15:17:08 +02:00
Martijn Cuppens
ed2caa5117
Remove borders from iframes by default (#30620) 2020-04-29 20:32:35 +02:00
XhmikosR
df88748eb7
Add a script to zip the built examples (#30130) 2020-04-29 21:03:26 +03:00
XhmikosR
9922ef5c16
masthead-followup: Add missing traling slash (#30681) 2020-04-29 17:23:34 +03:00
dependabot-preview[bot]
3300c6267a
Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 (#30663)
* Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 18.0.1 to 19.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.1...v19.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* ESlint: disable a few new rules for now.

* unicorn/no-fn-reference-in-iterator
* unicorn/no-null

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 16:28:46 +03:00
Mark Otto
28cb1ff2b2 Fill in some unusedcss section links 2020-04-26 17:26:04 -07:00
Mark Otto
ac58c25dc8 Update CSS variables docs
- Rename available vars section to root vars and mention they're globally available
- Add new component vars section and link to table docs for WIP example
2020-04-26 17:26:04 -07:00
Mark Otto
7ba43e3361 Include code snippet for lean JS section 2020-04-26 17:26:04 -07:00
Mark Otto
78261846dd Add example of a custom component using docs callouts 2020-04-26 17:26:04 -07:00
Mark Otto
cb4aff6eac Update shortcode usage 2020-04-26 17:26:04 -07:00
Mark Otto
81417a2fc6 wordsmithing 2020-04-26 17:26:04 -07:00
Mark Otto
1e3672418a pull in latest from old theming page 2020-04-26 17:26:04 -07:00
Mark Otto
88490fe81d Use scss-docs for color maps 2020-04-26 17:26:04 -07:00
Mark Otto
cab56abd08 Add more context to customizing components 2020-04-26 17:26:04 -07:00
Mark Otto
cbe8ad0bf8 Add overview intro to the Customize section 2020-04-26 17:26:04 -07:00
Mark Otto
f6e2f4c656 Rewrite Theming docs as Customize section
- Broke up existing theming page into separate pages
- Audited and updated each new docs page (some pages include some TBD sections)
- Update sidenav to reflect changes
- Fix links that pointed to the old Theming page
- Update docs styles to reflect recent changes
- Rewrite some bits in the Migration page
2020-04-26 17:26:04 -07:00
Mark Otto
85ac2fc35e Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables 2020-04-26 17:26:04 -07:00
Mark Otto
0408799ae5 Rename variables for brevity
- Rename `$enable-prefers-reduced-motion-media-query` to `$enable-reduced-motion`
- Rename `$enable-pointer-cursor-for-buttons` to `$enable-button-pointers`
2020-04-26 17:26:04 -07:00
Mark Otto
bb7ada6548 Remove existing Theming page as we build out a new Customize section 2020-04-26 17:26:04 -07:00
Martijn Cuppens
cff2a085bb Update table docs copy
Co-Authored-By: Mark Otto <markd.otto@gmail.com>
2020-04-24 10:05:10 +02:00
Martijn Cuppens
eed27f35cc Add bs prefix 2020-04-24 10:05:10 +02:00
Martijn Cuppens
d089a683c8 Prevent nested tables style leaks 2020-04-24 10:05:10 +02:00
Martijn Cuppens
4fc701f6aa
Drop @support (position: sticky) media query (#30415) 2020-04-18 14:10:18 +02:00
Martijn Cuppens
b79e55fed4
Remove negative margins leftovers (#30596)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-18 09:11:17 +03:00
XhmikosR
d2325b65c8
Improve docs-sidebar.html (#30567)
Reduce the output HTML
2020-04-17 18:47:19 +02:00
Catalin Zalog
3ff3680d4e
feat: removes .form-text display (#30598)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-16 16:38:21 +02:00
Martijn Cuppens
8cdb057111
Add bs- prefixes to custom properties (#30591) 2020-04-15 18:52:16 +02:00
XhmikosR
f0abe26b98
guuters.md: fix link and highlight (#30595) 2020-04-15 17:14:56 +03:00
Martijn Cuppens
5c2a50fb9e
Disable negative margins by default (#30585)
* Disable negative margins by default

* Use shorter enable variable

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:36:35 +03:00
Mark Otto
fea6f6987d
v5: Improve the responsiveness of our Dashboard example (#30573)
Cleans up some column classes to ensure things line up across all viewports. Also fixes some broken padding on the .navbar-brand.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:22:55 +03:00
Mark Otto
3ab9323ad2 Slight adjustment to the h3 heading spacing in docs 2020-04-14 21:03:56 -07:00
Mark Otto
4efc1c462d
Redo display headings (#30568)
- Convert to Sass map
- Consolidate font-weights into single option (matching line-height for them)
- Add two new sizes and create a new scale
- Update migration docs

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-14 13:57:11 +02:00
Catalin Zalog
e2afbbfa82
Restore .form-text (#30565) 2020-04-14 09:21:13 +03:00
Mark Otto
7dedccfb9a Update docs for new XXL grid tier
- Updates mentions of number and exact tiers
- Updates grid example to include xxl container
- Adds some scss-docs references
- Cleans up other grid mentions and docs
- Updates navbar example to include an expand at XXL variant
2020-04-13 14:40:47 -07:00
Mark Otto
e3583115c6 Clarify media query using .02px and bump from callout to warning 2020-04-13 13:55:34 -07:00
XhmikosR
5f932ff734 layout/z-index.md: retrieve z-index variables on build time 2020-04-13 13:55:34 -07:00
Mark Otto
33a4e8ff9b Rewrite grid docs to account for new grid tier
- Breaks grid content across multiple pages
- Updates mentions of grid tiers from five to six
- Rewrites how it works sections to reference new options and tiers
2020-04-13 13:55:34 -07:00
Mark Otto
bb3e5f712a Move table of contents to new sidebar, restyle it to be simpler 2020-04-13 13:55:34 -07:00
Martijn Cuppens
8fe162d67a
Remove redundant class and line height (#30542) 2020-04-09 21:25:09 +03:00
Gaël Poupard
bfbf265a50
Use correct hex color code(#30533) 2020-04-08 12:50:57 +02:00
Martijn Cuppens
83b49aa688
Create scss-docs shortcode to get some snippets from the Scs… (#30502)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
ysds
062002d952 Fix CSS and improve docs 2020-04-01 10:05:43 +03:00
gsoti
e138decdbb Add Full-Screen size to Modal and Responsive variations for breakpoints
(Works from breakpoint and down)
2020-04-01 10:05:43 +03:00
Martijn Cuppens
43d866313d Fix active state dropdown 2020-03-31 22:52:57 +02:00
Martijn Cuppens
c48d89cb70 Use unordered lists in dropdown-menus 2020-03-31 22:52:57 +02:00
cccabinet
695088ba8f Docs: Use unordered lists in dropdowns 2020-03-31 22:52:57 +02:00
Martijn Cuppens
6dfe8e02d7
Fix text decorations (#30492)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 21:42:38 +03:00
Martijn Cuppens
df707cd727
Require .form-label classes on form labels (#30476) 2020-03-31 20:02:57 +02:00
Gaël Poupard
a0c2a29a8d
docs(tables): 1, 2, 2, 4… (#30489)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 17:28:10 +03:00
Martijn Cuppens
8414126266
Switch to custom properties to control grid gutter widths (#30475) 2020-03-30 15:12:36 +02:00
XhmikosR
9496cb60f3
docs: remove makeArray (#30470) 2020-03-28 18:05:11 +02:00
Martijn Cuppens
4448856038 Simplify sidebar styles 2020-03-28 17:57:22 +02:00
Gaël Poupard
9efaeba35e docs(sidenav): use class selector for active item 2020-03-28 17:57:22 +02:00
Gaël Poupard
c0aa3a1e1e docs(sidenav): transition arrow too 2020-03-28 17:57:22 +02:00
Gaël Poupard
72230091b6 docs(sidenav): get rid of custom JS for active state 2020-03-28 17:57:22 +02:00
Gaël Poupard
79dc21b22b docs(sidenav): fix struggling CSS when collapsing sidenav 2020-03-28 17:57:22 +02:00
Gaël Poupard
5f58b3df2c docs(sidenav): use collapse components 2020-03-28 17:57:22 +02:00
XhmikosR
74afe149c4
Dist (#29924) 2020-03-28 12:29:08 +02:00
XhmikosR
c0efceb6d5
docs: remove duplicate code for indeterminate (#30471) 2020-03-28 11:41:03 +02:00
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
XhmikosR
8411c37974 Fix links after #30041 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
Gaël Poupard
9eccb3a230
Documentation skip links (#30073)
* docs(skip-links): add a skip to main navigation skip link

* docs(skip-links): revamp skip-links pattern

* docs(navs): use aria-label on navs

* docs(navs): use 'docs navigation' label in sidebar nav
2020-03-23 16:23:37 +02:00
Martijn Cuppens
25d2eac45b Use a link helper instead of the text color utility 2020-03-23 14:11:29 +01:00
Martijn Cuppens
4a37677dda
Merge branch 'master' into underline-links 2020-03-20 12:30:41 +01:00
Martijn Cuppens
7fc4037a02 Remove redundant text decoration from hover states 2020-03-20 09:35:55 +01:00
Martijn Cuppens
39c11c6b3f Restore hover text decoration on toc links 2020-03-20 09:33:53 +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
13b27f8a09
Update docs-navbar.html (#30418)
Open icons in a new tab like the rest of the external links
2020-03-18 20:52:58 +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
Mark Otto
1e0575ced2 remove dupe text-decoration 2020-03-17 12:26:35 -07:00
Mark Otto
685da5c802 supress underline on toc 2020-03-17 12:26:35 -07:00
Mark Otto
a66e5e6643 Remove links from docs sidebar 2020-03-17 12:26:35 -07:00
Catalin Zalog
8501f2413f
style: fixes indent (#30396) 2020-03-15 22:10:08 +02:00
Martijn Cuppens
3b555aaf61 Limit to scroll-margin-top to elements with an id 2020-03-12 17:56:16 +02:00
Martijn Cuppens
61b86c1e86 Use scroll-margin-top instead of pseudo hack 2020-03-12 17:56:16 +02:00
Martijn Cuppens
e45c92f1d5 Remove .bd-example-responsive-containers
Added in https://github.com/twbs/bootstrap/pull/29095/files#diff-d4fb29267ed3a7c27482bbeac1723ab6 but never used
2020-03-12 08:45:28 +01: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
Catalin Zalog
0e611a3dcd style(css): removes &-* scss pattern 2020-03-08 12:59:18 -07:00
Christian Oliff
f59ed75ba3
Remove unneeded og:image:secure_url from social.html (#30362)
The image is always available over HTTPS anyway

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-08 10:06:49 +02: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
163e1934c2
Update clipboard.js to v2.0.6 (#30341) 2020-03-06 09:26:19 +02:00
XhmikosR
7eaf7528fc
Add loading="lazy" in images (#30199) 2020-03-05 10:12:59 +02:00
XhmikosR
414314f3cb
Switch versions & docs search (#30336) 2020-03-05 10:01:15 +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
Mark Otto
50c95d9b5d
Embedded examples cleanup (#30330)
* Thin out embedded examples borders, rounded their corners
* Fix busted class
* Adjust nesting of .bd-example styles, tweak padding while I'm at it
* combine selectors
* cleanup some margins that always cancel each other out
* Remove redundant universal selector

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-04 21:32:45 +09:00
Martijn Cuppens
648bceadd8
Add pointer event utilities (#30185) 2020-02-23 01:07:33 +01:00
XhmikosR
b8ffcdf9a4
Use hugo.Environment instead of getenv (#29240)
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-22 08:54:43 +02:00
XhmikosR
f1e47e24c3
scripts.html: don't load docsearch JS when it's not needed (#30205) 2020-02-17 20:52:28 +02:00
Gaël Poupard
48c8697fed
docs(theming): improve headings hierarchy under Sass → Functions (#30207) 2020-02-17 20:40:08 +02:00
XhmikosR
b9f6c29459
homepage: reduce margin and padding for small devices (#30195) 2020-02-17 20:35:11 +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
737308ae47
Update docs-versions.html (#29971)
Remove old versions
2020-02-16 21:55:21 +02:00
Martijn Cuppens
2e581510dc
Add transparent background color to versions switcher (#30192) 2020-02-16 21:49:54 +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
Mark Otto
22062ed9d7
Docs table of contents list style fix (#30176)
* Fix missing bullets from table of contents top level

* Add .text-muted to toc for lighter bullets
2020-02-15 09:40:27 +02: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
Mike Rogers
6933bd4a1d
Adding version number to documentation <title> (#30090)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-14 20:35:08 +01:00
Martijn Cuppens
9aee71776d
Fix logo alignment for IE (#29955) 2020-02-14 14:09:46 +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
Martijn Cuppens
6f4784c8bb
Docs navbar tweaks (#29948) 2020-02-13 13:45:33 +01:00
tu4mo
ba72645eaf
Remove IE10 mention, since it's not supported (#30167) 2020-02-12 21:58:28 +02:00
Martijn Cuppens
dc64ff3314 Convert background shorthands to separate properties 2020-02-12 19:45:54 +02:00
XhmikosR
c32209eb8a
Update bs-custom-file-input to v1.3.4 (#30162) 2020-02-11 18:41:49 +02:00
Martijn Cuppens
6e8ea2722d
Introduce posibility to disable !important suffix for utility classes (#29625) 2020-02-10 16:05:07 +02:00
Martijn Cuppens
a880a582b7
Add ysds to the team page (#30145) 2020-02-09 13:12:28 +01:00
Gaël Poupard
96ac6068b3
Use aria-current where appropriate (#30079) 2020-02-07 13:18:30 +02:00
Gaël Poupard
8f94ed8e30
docs(SVG placeholder): add focusable=false to placeholder SVGs (#30075)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-06 09:01:02 +02:00
XhmikosR
cef9b4e2ee
Change file permissions to 644. (#30106) 2020-02-05 10:24:09 +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
fb91ee4d84
Cleanup content (#30120) 2020-02-03 11:34:20 +02: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
Gaël Poupard
5b896b526e docs(styles): drop .booticon styles (#30071) 2020-01-23 15:29:34 +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
5d1da6377d Fix the new lint errors. 2020-01-07 22:25:50 +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
XhmikosR
7b990eb2f4
Bump copyright year to 2020. (#29944) 2020-01-02 11:34:48 +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
b39f704954
Cleanup algolia theming (#29888) 2019-12-25 21:08:15 +01: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
XhmikosR
4dfcb035cf
Add v4.4.1 in versions (#29747) 2019-12-14 17:07:28 +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
wojtask9
043b054480 Remove .form-group leftovers (#29449) 2019-12-09 19:22:12 +01: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
XhmikosR
9894000b42
Remove the now unused docs-search.html partial (#29799) 2019-12-04 13:24:55 +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
2a4d526ce8
Update anchor.js to v4.2.1 (#29662) 2019-11-12 09:34:16 +02:00
XhmikosR
c3fa502d32
dashboard/index.html: update feather-icons to v4.24.1 (#29651) 2019-11-07 11:20:12 +02:00
XhmikosR
258a56b473
site/assets/js/search.js: ignore the LGTM alert (#29634) 2019-11-04 15:42:09 +02:00
XhmikosR
972369c997 Tighten regex a bit.
If we need to make this more robust in the future, we can revert this as needed.
2019-11-04 15:32:29 +02:00
XhmikosR
e40b3355f0 example.html: use double quotes 2019-11-04 15:32:29 +02:00
Christopher Morrissey
04acb679ab Example shortcode: use a regex and simplify logic. 2019-11-04 15:32:29 +02:00
XhmikosR
a28adc7666
Move docs JS one folder up. (#29632) 2019-11-04 14:44:07 +02:00
Johann-S
6b3ee0e5fd removing last occurences of _fixTitle in our docs (#29631) 2019-11-04 11:50:07 +02:00
XhmikosR
8805122f73
Update modal.md (#29621)
Fix typo
2019-11-01 13:18:28 +02:00
Martijn Cuppens
08ba61e276 Remove calc function from docs 2019-10-31 08:30:53 +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
XhmikosR
23c3cdbd43
Remove unneeded ESLint suppression and regenerate lock file (#29593)
* Remove unneeded ESLint suppression

* Regenerate package-lock.json
2019-10-27 16:39:54 +02:00
midzer
819f922276 remove superflous transition parameter (#29595) 2019-10-26 18:47:55 +02: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
Mark Otto
1fa337cc20 Add link to Icons site in our docs (#29544) 2019-10-18 10:28:16 +03:00