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

648 Commits

Author SHA1 Message Date
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
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
XhmikosR
622c914a3a
Update devDependencies. (#29447) 2019-10-07 09:31:12 +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
XhmikosR
de3a3731bd
Sass: remove redundant stylelint inline suppressions. (#29427) 2019-09-26 21:50:14 +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
04796b8f3a Update devDependencies. 2019-09-24 13:09:25 +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
XhmikosR
fbeed6f1d9 Darken footer color. 2019-09-16 23:41:57 +03:00
XhmikosR
943a074a2b Tweak syntax highlighting colors to be WCAG2AA valid. 2019-09-16 23:41:57 +03:00
jahanzaibsuleman07
d99ff902f8 Responsive sticky top (#29158) 2019-09-13 21:15:20 +03:00
Martijn Cuppens
2f549ecda8 Typo fix (#29382) 2019-09-07 22:16:48 +03:00
ysds
713dd82403 Remove unnecessary z-index 2019-09-06 18:06:13 +03:00
Martijn Cuppens
9066f9495c Make sure the content doesn't cover the navbar dropdown
See https://github.com/twbs/bootstrap/pull/29368#issuecomment-528725686
2019-09-06 18:06:13 +03:00
XhmikosR
c5e80ff2af about/brand.md: Remove unused class. 2019-09-06 18:06:13 +03:00
XhmikosR
c6ac6365e5 Use the $white variable. 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
f7fe5d5bca
homepage: remove redundant class (#29357)
This broke IE11.
2019-09-06 08:51:46 +03:00
Mark Otto
eb49bd11c9 Update subnav to remove breadcrumb and just keep versions and search (#29368) 2019-09-05 21:43:31 +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
XhmikosR
919b526f17
Fix shortcodes/example.html class bug. (#29344)
It always used the first placeholder's class before.
2019-08-31 08:11:16 +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
XhmikosR
ae249e8f55
docs-sidebar.html: reindent. (#29337) 2019-08-30 08:01:21 +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
XhmikosR
4ce8eab10c
Homepage: add missing link to the versions page. (#29308) 2019-08-27 23:19:52 +03:00
Martijn Cuppens
12442a68a4 Switch percentage font-sizes to em and change some font sizes for consistency in docs 2019-08-27 23:11:06 +03:00
XhmikosR
bf57274fb5
Dist (#29263) 2019-08-27 16:03:21 +03: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
294fcddeac
docs css: minor cleanup (#29266) 2019-08-18 16:57:25 +03:00
Martijn Cuppens
8e26010d06 docs: fix tap targets (#29272) 2019-08-18 16:29:23 +03:00
XhmikosR
dd383ff27b Move favicon.ico and apple-touch-icon.png in hugo mounts. 2019-08-17 13:17:59 +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
34afe84424
Use absURL so that we get consistent URLs. (#29226) 2019-08-08 18:30:43 +03:00
XhmikosR
3d8c5b9640
docs: minor simplification. (#29227) 2019-08-08 17:54:59 +03:00
XhmikosR
ecaefed920
Remove unneeded Stylelint suppressions. (#29222) 2019-08-07 17:26:04 +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
Martijn Cuppens
81af1bf9cc Change SVG dimensions to px values (#29195) 2019-08-03 16:58:25 +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
1ebb8e7d9b
robots.txt: adapt for Netlify. (#29192)
Since we build with `HUGO_ENV` set to `production` on Netlify, use another variable to prevent crawling.
2019-08-02 17:26:25 +03: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
8570d86d79 Rename site/data/nav.yml to sidebar.yml. 2019-07-29 10:59:56 +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