XhmikosR
4fca7ddd73
Update optimize.md
...
For some weird reason, using "Exports" as the callout header leads to TypeError coming from clipboard.js
2020-10-20 11:17:06 +03:00
Johann-S
480561c64b
mention default export in our docs optimize section
2020-10-20 11:17:06 +03:00
Pascal Pepe
9cc24cf549
Update docs example on how to optimize JavaScript bundle
2020-10-20 11:17:06 +03:00
Patrick H. Lauke
6b25abfdcc
Small typo - remove the unnecessary "the" ( #31932 )
2020-10-19 15:33:03 +03:00
XhmikosR
e6618a6ebb
docs: switch to fenced codeblocks ( #31806 )
2020-10-19 12:56:49 +03:00
Gaël Poupard
48177c946f
docs(migration): mention spinners slow down ( #31929 )
2020-10-19 12:06:14 +03:00
Gaël Poupard
ed2f43e1b9
Apply smooth-scroll when prefers-reduced-motion: no-preference
( #31877 )
...
* feat(reboot): apply smooth-scroll when not prefers-reduced-motion
* docs(migration): mention scroll-behavior in alpha3
* docs(accessibility): mention scroll-behavior in reduced motion section
* docs(accessibility): rewording smooth scroll sentence
* feat(variable): introduce enable-smooth-scroll variable
* docs(accessibility): reword smooth-scroll sentence
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-19 12:00:37 +03:00
Gaël Poupard
ece40bcd11
Slow down spinners when prefers-reduced-motion: reduce
( #31882 )
...
* feature(spinners): slow down spinners when prefers-reduced-motion
* docs(spinners): add reduced motion callout and mention slowing down in accessibility page
* Update spinners.md
* docs(accessibility): rewording
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2020-10-19 11:42:19 +03:00
Gaël Poupard
e0a3b7ef0d
docs(forms): use a legend for fieldset instead of aria-label
2020-10-19 11:38:22 +03:00
Gaël Poupard
116deb27c5
docs(forms): fix incorrect legend nesting in fieldset
2020-10-19 11:38:22 +03:00
Gaël Poupard
9589d9c54a
docs(forms): drop useless text faking a label in horizontal forms example
2020-10-19 11:38:22 +03:00
XhmikosR
28f18f84a7
docs: switch to suggesting jsDelivr as a CDN ( #31894 )
2020-10-19 11:25:31 +03:00
XhmikosR
fb30989ee2
Update manifest.json ( #31893 )
...
Switch to relative URLs so that we don't need to change the path with every major/minor release
2020-10-15 16:32:52 +03:00
Patrick H. Lauke
836a4c0bd6
Remove redundant visually hidden "(current)" from pagination controls ( #31892 )
...
* Replace visually hidden span with aria-current in tests
* Remove redundant visually hidden "(current)" when `aria-current` already used
Closes #31891
2020-10-14 11:59:43 +01:00
Mark Otto
0205a016b1
Update copy and add utilities to example
2020-10-13 16:48:17 +03:00
Gaurav Behere
776afb8e9e
Adding overflow visible as util
2020-10-13 16:48:17 +03:00
XhmikosR
f3cfc8e7ec
Revert "Improve callout shortcode. ( #31802 )" ( #31871 )
...
This reverts commit 5c6925385e
.
2020-10-13 16:37:21 +03:00
Mark Otto
4c3c552f93
Split up dropdown sizing docs to improve rendering ( #31861 )
...
- Drop the included .btn-toolbar, no need
- Split large and small button examples
Closes #31841
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-13 15:14:55 +03:00
Martijn Cuppens
cdc12165a9
Colors rewrite ( #30622 )
2020-10-13 09:58:06 +02:00
XhmikosR
5c6925385e
Improve callout shortcode. ( #31802 )
...
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown.
This allows for stuff like:
{{% callout info %}}
##### I'm an info callout!
```css
.foo {
color: #fff;
}
```
{{< example >}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
</div>
{{< /example >}}
{{% /callout %}}
2020-10-12 09:06:06 +03:00
Gaël Poupard
00dd55269a
docs: fix contrast color against .bg-info
( #31839 )
...
* docs(badge): ensure info badge's contrast
* docs(colors): fix contrasts in example using .bg-info
* Update card.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-05 16:47:46 +03:00
Ankit Mishra
ce1db01af0
carousel: add missing to
description and fix nextwhenvisible
description ( #31809 )
2020-10-05 15:49:02 +03:00
Rohit Sharma
e4be0640ee
Explain the "dispose" method appropriately ( #30838 )
2020-10-02 14:58:59 +03:00
Christian Oliff
c5966de273
Update btn-close-white docs to filter (not backdrop-filter) ( #31796 )
...
This PR fixes an error in the v5 docs. The btn-close-white class actually uses the filter (not backdrop-filter)
2020-09-30 14:57:00 +03:00
Justin
dd5ad8fb52
webpack.md: Replace "both of them" with "it" ( #31794 )
...
🎉 Yay! I helped!
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-30 08:57:28 +03:00
Mopsan
6105ebfe8d
validation.md: fix _validation.scss file reference ( #31795 )
2020-09-30 08:52:24 +03:00
Kyle Tsang
905b1b11b3
docs(Modal): Add xxl fullscreen example ( #31583 )
...
* docs(Modal): Add xxl fullscreen example
* Update modal.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:56:01 +03:00
Nikita Mikhaylov
0cb880c7fb
Fix disabled checkbox toggle buttons ( #31651 )
...
* fix disabled checkbox toggle buttons
* add disabled checks-radios examples in documentation
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:49:50 +03:00
Mark Otto
319954d369
v5: Add disabled examples for .form-control, .form-select, and .form-range ( #31686 )
...
* Add disabled state example to the .form-control page
* Document disabled attribute on select too
* Add disabled example for file input
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:39:37 +03:00
XhmikosR
42ae96f26d
Update social.html: use article
when it's a page ( #31775 )
2020-09-29 19:28:03 +03:00
XhmikosR
476bd883ad
docs: remove pixels from SVGs ( #31791 )
...
It's the default unit.
2020-09-29 19:23:55 +03:00
XhmikosR
b083c9639f
Prepare v5.0.0-alpha2. ( #31748 )
2020-09-29 18:33:00 +03:00
XhmikosR
d862a9f276
Revert #31761 ( #31792 )
...
Revert "Re-optimize SVG"
This reverts commit 331566bc85
.
Revert "Move homepage-hero.svg to an img tag"
This reverts commit c24acf8d2c
.
2020-09-29 18:24:30 +03:00
Mark Otto
187213305d
Change grid classes to utilities to make vertical nav example more resilient to narrow viewports ( #31785 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 10:11:46 +03:00
XhmikosR
4238a04de3
Compress the new images
2020-09-28 19:22:53 +03:00
Mark Otto
661577173d
Add new Bootstrap Icons homepage images
2020-09-28 19:22:53 +03:00
XhmikosR
ec812dcf80
Replace ellipsis Unicode symbol with three dots. ( #31774 )
2020-09-28 15:01:25 +03:00
XhmikosR
668ff4e62e
Tweak versions page columns ( #31754 )
2020-09-28 12:40:34 +03:00
XhmikosR
331566bc85
Re-optimize SVG
2020-09-28 11:03:21 +03:00
XhmikosR
c24acf8d2c
Move homepage-hero.svg to an img tag
2020-09-28 11:03:21 +03:00
XhmikosR
e268e1c481
Minor wording fixes
2020-09-28 10:58:51 +03:00
XhmikosR
1b0db5944b
Fix links
2020-09-28 10:58:51 +03:00
Mark Otto
d4ea73fef1
v5 alpha 2 migration guide updates
2020-09-28 10:58:51 +03:00
Mark Otto
b060c9e3d2
Convert SVGs in navbar and subnav to pixels ( #31767 )
2020-09-28 10:39:29 +03:00
XhmikosR
6c2abf3a1e
brand: minor consistency changes ( #31750 )
2020-09-25 19:40:58 +03:00
Mark Otto
74279460c2
v5: Adjust docs sidebar and navbar ( #31119 )
...
* Hide the docs nav on mobile, redesign it for two columns on narrow devices
* Tweak spacing on ToC
* Redesign sidebar and subnav
* Revamp subnav mobile layout so everything's on one line
* Tighten up masthead a little
* Switch the icon for the subnav and do a little icon toggling
* Fix mobile overflow since we changed guters stuff
* Add the widths
* make the subnav icon purple
2020-09-25 09:35:24 -07:00
Mark Otto
f951be36a1
Carousel enhancements, including .carousel-dark ( #31650 )
...
* Replace existing carousel control icons with chevrons from Bootstrap Icons
* Add .carousel-dark variant
* Test
* Add variable for .carousel-dark filter
* Update _variables.scss
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 13:16:20 -07:00
XhmikosR
979c66b674
docs: link to the Asynchronous functions section ( #31738 )
2020-09-24 22:20:01 +03:00
Mark Otto
585b3ec532
Add .dropdown-menu-dark ( #30171 )
...
* Add .dropdown-menu-dark
* Match background color to navbar dark
* Update docs to include a navbar example
* Update dropdowns.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 18:55:15 +03:00
Mark Otto
9f60659d1d
Updates to .ratio selectors and docs
...
- Remove group selector for ratio items
- Drop the .ratio-item entirely
- Update docs to explain updated approach
- Update Migration guide to reflect the latest
2020-09-23 13:30:11 -07:00
Mark Otto
73e5640405
Add example of responsive behavior for aspect ratios
2020-09-23 13:30:11 -07:00
Mark Otto
3b8c17029f
Move styles to docs CSS
2020-09-23 13:30:11 -07:00
Mark Otto
fe38a85839
Rename the classes and docs page, update everything accordingly
2020-09-23 13:30:11 -07:00
Mark Otto
18f8601d29
Updates responsive embeds with new class names and CSS variables
...
- Renames .embed-responsive-XbyY classes to .embed-responsive-XxY
- Simplifies the Sass map to just be key and value, ratio and percentage
- Builds .embed-responsive-* modifiers with CSS variables
- Updates docs to show power of CSS variables
- Add notes to the Migration guide
2020-09-23 13:30:11 -07:00
Mark Otto
fae9aef3db
Update toasts dismiss (moving more styles to CSS instead of utilities), fix some more close examples, and add a new .btn-close-white variant
2020-09-22 16:49:02 -07:00
Mark Otto
67f33a06c7
Update some close button examples
2020-09-22 16:49:02 -07:00
Mark Otto
57fc28a854
Add details to the Migration page
2020-09-22 16:49:02 -07:00
Mark Otto
1e69503a73
Increase margin in button examples to better highlight focus styles
2020-09-22 16:49:02 -07:00
Mark Otto
99777662c6
Rename .close to .btn-close, replace times sign with background SVG, update focus state
2020-09-22 16:49:02 -07:00
Jaume Sala
7bbfd439c9
Extra position utilities ( #31280 )
...
* Extra position utilities
Given that there are utilities for the *position* property, it seems logic to have utilities for the *top*, *left*, *bottom* and *right* propertires.
* Update extra position utilities
* add default position values map
* tweak examples
* add real life examples
* fix double colon
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-20 19:42:41 -07:00
XhmikosR
4e9a29e47a
Update webpack.md
...
Format snippets
2020-09-18 15:08:08 +03:00
Matthew Orahood
26c1fbe839
Update webpack.md
...
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
2020-09-18 15:08:08 +03:00
XhmikosR
b5fb84a91d
docs: fix a few redirects ( #31689 )
...
* Fix GitHub's permanent redirects
* Fix a11yproject redirects
* Update postcss-loader repo URL to the current one
2020-09-17 20:01:04 +03:00
kyletsang
fec511da02
Docs: Fix vertical align link
2020-09-16 22:09:42 -07:00
Gaël Poupard
390ce245cc
docs(scrollspy): mention keyboard access and apply tabindex=0 ( #31578 )
2020-09-15 18:29:49 +03:00
Mark Otto
512242943c
Rremove separate JS includes from homepage for simplicity's sake, but include a link to doing it separately
2020-09-15 08:57:19 +03:00
Mark Otto
e3b7880abf
Rewrite quick start JS sections in getting started page so things are more clearly organized
2020-09-15 08:57:19 +03:00
XhmikosR
85d00e6d85
Update site/content/docs/5.0/getting-started/download.md
...
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-09-15 08:57:19 +03:00
XhmikosR
7571fe73b6
docs: mention our bundle file clearly.
...
Note that we are using the bundle file already in our docs since 787441d
.
2020-09-15 08:57:19 +03:00
Rohit Sharma
94c0f12329
Add getInstance method in the docs for tooltip ( #31636 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-15 08:28:08 +03:00
Mark Otto
65d130fbd8
Mention the quotes requirement in the docs too
2020-09-15 08:19:58 +03:00
Gaël Poupard
5f5f1cbcff
Typo in About / Overview
2020-09-14 11:52:18 -07:00
Gaël Poupard
b2d7d29f6d
docs(examples): ensure content sits in landmarks ( #31579 )
2020-09-10 12:39:29 +03:00
Gaël Poupard
28a92234e5
docs(layout): ensure content sits in main ( #31610 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:33:11 +03:00
Gaël Poupard
cbe4daff6f
docs(home): wrap all content in <main> & use <section> ( #31580 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:26:26 +03:00
Mark Otto
e6ce3989ed
Update team
2020-09-10 11:56:02 +03:00
Mark Otto
fe31971552
Remove sibling projects and fix image dimensions
2020-09-10 11:56:02 +03:00
XhmikosR
b7b470683f
Update _brand.scss
2020-09-10 11:56:02 +03:00
XhmikosR
d9318796fe
Remove loading=lazy
from navbar snippets
2020-09-10 11:56:02 +03:00
XhmikosR
1b4bb95033
docs-navbar.html: add missing width
2020-09-10 11:56:02 +03:00
XhmikosR
ea5d555139
Fix the remaining instances using the old logos.
2020-09-10 11:56:02 +03:00
XhmikosR
135c78a043
Update the new SVGs with the svgo config we use
2020-09-10 11:56:02 +03:00
XhmikosR
001b4f0d6b
Remove loading=lazy
from the image in viewport
2020-09-10 11:56:02 +03:00
XhmikosR
23803d3de7
Remove the unused PNG files.
2020-09-10 11:56:02 +03:00
Mark Otto
eb23b98fb5
First pass at cleaning up About pages and brand assets
2020-09-10 11:56:02 +03:00
Patrick H. Lauke
42a0f8f007
Docs: (subjectively) nicer looking accordion example ( #31137 )
...
* Docs: (subjectively) nicer looking accordion example
the use of `.btn-link` currently just looks a bit odd, subjectively (as in v5 we now force the underline to always be there, while in v4 at least it was only on hover/focus).
`.btn-light` seems more fitting
* Add extra classes for nicer overall look
as suggested by @ysds
* Tweak accessibility note for accordions and optional keyboard interactions
2020-09-10 08:04:13 +01:00
Mauricio Hernan Cabrera
6455c2e8aa
Add border width utility ( #31484 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-09-09 11:28:52 +03:00
Gaël Poupard
5b37d03ff9
docs(placeholder): drop role=img and use aria-hidden for decorative SVG placeholders ( #31575 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-04 20:21:54 +03:00
Gaël Poupard
fb9bf54d2c
docs(build tools): mention how to get the sources ( #31590 )
2020-09-04 20:18:20 +03:00
Gaël Poupard
7134f6aa38
Drop h4 color customization in callouts ( #31576 )
2020-09-03 10:45:04 +02:00
Patrick H. Lauke
0e007e697e
Docs: Add top/bottom margin to highlighted code samples ( #31036 )
...
* Add top/bottom margin to highlighted code samples
provide more space to avoid having the "Copy" button overlap code sample content
* Modify clipboard button style
Per https://github.com/twbs/bootstrap/pull/31036#issuecomment-661322566 and https://github.com/twbs/bootstrap/pull/31036#issuecomment-668162630
* Tweak margin, clipboard button size and position
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-02 07:17:53 +01:00
Arnaud Thomas D
7326232b0e
Fix incorrect green and cyan hex codes ( #31572 )
2020-09-01 14:20:59 -07:00
Jeremy Jackson
1503aa18d1
Add default parameters to each border radius mixin ( #31571 )
...
* Add default parameters to each border radius mixin
* Add border radius changes to migration guide
Co-authored-by: Jeremy Jackson <jeremy@librarymarket.com>
2020-09-01 14:17:17 -07:00
Alex Plescan
a8b8f631cf
docs: Fix typo on Customize -> Color page ( #31556 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-01 17:05:40 +03:00
Łukasz Holeczek
730a020140
Update icons.yml
...
Add new icons set - CoreUI Icons
2020-08-22 14:41:46 -07:00
Gaël Poupard
b547ef4a85
docs(typography): missing punctuation ( #31505 )
2020-08-19 15:44:52 +01:00
Christian Oliff
ed9c481ef4
Mention that Edge Legacy also supports 'filling' their track
...
Edge Legacy support filling their track by default.
Example: https://codepen.io/coliff/pen/VwaZgVZ
2020-08-17 17:00:04 -07:00
Christian Oliff
d0a87ef784
Remove 'both' as its no longer just 2 breakpoints (now that XXL is there)
2020-08-17 16:59:12 -07:00
maks
adf4567386
make breakpoints specifications consistent with layout/grid.md
...
0-576px could be misinterpreted "up to 576px included"
2020-08-05 16:05:16 -07:00
kyletsang
b6b672c00b
docs: Fix issue number typo in migration
2020-08-05 16:04:58 -07:00
Shohei Yoshida
e8566e10c7
box-shadow() mixin allow 'null' and drop support 'none' with multiple args ( #30394 )
...
* Support 'null' and drop `none` with multiple args
* Output a warning when use 'none' with multiple arguments
* Add migration note
* Update migration.md
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 21:51:19 +03:00
Mark Otto
2d2b6759b6
Add view on GitHub links for easier content editing from the docs ( #31339 )
...
* Add view on GitHub links for easier content editing from the docs
* Update docs.html
* Move to .btn-bd-light
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 08:09:45 +03:00
Mohammad Ali Shahbazi
5be7fe001e
Added opacity-75 and opacity-50 classes
2020-08-03 10:54:03 -07:00
Mohammad Ali Shahbazi
76ad4aa083
Fixed typo in docs v5 (Utilities/API) page
2020-08-03 10:54:03 -07:00
Mark Otto
393efaf795
Update migration guide ( #31387 )
...
* Document change to form check and radio size
* Update todos in Migration guide
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-03 19:42:31 +03:00
Patrick H. Lauke
a21f605299
Add padding to badges ( #31132 )
...
* Add padding to badges
The current badges are very tightly padded, and because the top and bottom padding are the same, and aligned to the baseline, this makes badges with descenders (e.g. the "g" in "Danger") look uncomfortably close to the bottom. Adding more ample padding masks this a bit.
An alternative would be to have separate top and bottom padding, with the bottom one slightly larger than the top - but conversely, that then makes badges that contain no text with descenders, and particularly badges that contain all uppercase characters, look too bottom-heavy.
Also adding some left/right extra padding, as currently the pill badges look uncomfortably tight on the sides due to the rounding.
2020-08-02 16:28:23 +03:00
Mark Otto
2a3e487dba
Update copy around breakpoint sizing ( #31382 )
...
* Update copy around breakpoint sizing
Fixes #31288
* Update breakpoints.md
* Further copy changes
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-31 12:38:17 -07:00
Patrick H. Lauke
23c3806864
Add accessibility note about dismissible alerts and focus ( #31358 )
2020-07-31 10:31:09 +01:00
Patrick H. Lauke
cdea25584d
Cleanup/fix after the sr-only to visually-hidden renaming ( #31359 )
...
* sr-only -> visually-hidden cleanup
It seems the old screen-readers.md file was left behind, and forgot to rename the mixin
* Fix broken mixins for visually-hidden
2020-07-31 10:27:36 +01:00
Rohit Sharma
2ec2e138c9
Add toasts to the components requiring JavaScript ( #31344 )
2020-07-21 16:08:21 +03:00
Gaël Poupard
cb1eee16f0
docs(skippy): prevent skip links from overlapping header
2020-07-13 12:36:29 -07:00
XhmikosR
9e372b121a
Sort the versions from the latest to the oldest.
2020-07-13 12:08:34 -07:00
Mark Otto
c52b7d5475
Improve spacing
2020-07-13 12:08:34 -07:00
Laim
aa5be4c20c
Update version.md to include v5
...
Version.md on v5.getbootstrap.com is only referring to v1 > v4 when it should be referring to v1 > v5.
2020-07-13 12:08:34 -07:00
Mark Otto
8d89e0a14d
Migration update ( #31278 )
...
* Clarify screen reader changes
* Add some docs and reboot notes to migration guide
* Add mention of docs renaming of screen reader helper page
* Mention null vars from navs PR at #31035
* Update migration.md
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-13 21:40:27 +03:00
Mark Otto
6914efe8dd
v5: Tweak some colors ( #31276 )
...
* Tweak green and cyan colors, bump min contrast ratio to 4.5
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-13 21:23:38 +03:00
Rohit Sharma
91c11d6465
toasts: make default duration 5s ( #31109 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-12 15:43:26 +03:00
Gaël Poupard
37ef4e4b5e
Easier disabled state customization for button variants ( #30639 )
...
* feat(buttons): easier disabled state customization
* docs(migration): mention new arguments for disabled state in button-variant()
* Update migration.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-07-12 07:56:33 +03:00
Patrick H. Lauke
eeb73e0ccf
Docs: forms accessibility cleanup ( #31114 )
...
* Expand on disabled fieldsets and faked buttons
include further advice/information on how to disable faked buttons for keyboard/AT users
* Centralise accessible name advice in forms overview
seems odd to only mention (separately) label, aria-label etc in input-group and layout. the advice is just as pertinent in other sections like select. checks only skims over this.
moving this, in expanded form, into the overview section itself. adding a specific cross-reference (just because they are easily left with no accname at all) in the checks page.
* Change warning about accessibility, modify server-side example
- paradoxically, due to our current problems with validation (see #28414 ) and the fact that browsers seem to have improved in this area for the most part, it's now actually better to use browser-native validation
- added explicit `id` and `aria-describedby` association to at least the server-side form error messages, to show how it should be done properly, and expanded the prose for that explaining this.
* Replace `.sr-only` with `.visually-hidden` in new addition
* Copy edits for clarity in parenthetical
* Copy and formatting tweaks
- Wordsmithing here and there
- Turns some hyphens into em dashes
- Turns a long running comma separated list into an unordered list
- Rearranges some copy just a bit
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-07-11 21:38:43 +01:00
Florian Lacreuse
19b5908b05
Fix docs sass importing example.
2020-07-11 12:01:15 -07:00
Mark Otto
6acdfdbfa0
Update layout.md
2020-07-11 11:49:56 -07:00
Rohit Sharma
6eaa36fb6f
Single line example for inline forms
2020-07-11 11:49:56 -07:00
Patrick H. Lauke
69b3c46483
Rename sr-only
to visually-hidden
in new/renamed helper doc file
2020-07-10 16:00:50 -07:00
Patrick H. Lauke
9d2cd1b9b8
Add alias/redirect
2020-07-10 16:00:50 -07:00
Patrick H. Lauke
7657c1e37d
Reword slightly awkward-sounding description
2020-07-10 16:00:50 -07:00
Patrick H. Lauke
4702f0cdd4
Emphasise/call out the note about .invisible
and AT
2020-07-10 16:00:50 -07:00
Patrick H. Lauke
3a79335a0b
Docs: rename "Screen readers" helper page to "Visually hidden"
...
"screen readers" is quite reductive, as there are other assistive technologies. content hidden this way is even announced by things like Alexa/Siri etc, so it's not so much just "screen readers".
in the long run, we may even consider changing the actual classnames (maybe `.visually-hidden` / `.visually-hidden-focusable`, though admittedly that's a bit verbose).
also includes a tiny tweak to layout.md to generalise the note about using `.sr-only`
2020-07-10 16:00:50 -07:00
Florian Lacreuse
49934b2bba
Fix some hexa in colors docs. ( #31254 )
2020-07-07 20:28:24 +03:00
Patrick H. Lauke
828366de89
Docs: separate button group out of checks/radios, expand button groups page ( #31201 )
...
* Keep checks/radio toggle buttons on topic
- give examples of the pure toggle checks and radios, without the button group class. show that these work fine without `.btn-group`, but still cross-reference it
- move the explanation from "Checkbox toggle buttons" directly to "Toggle buttons", as the mention of using button classes applies equally to the subsequent "Radio toggle buttons" and "Outlined styles" subsections.
* Expand button group description
as it's not just single line, but vertical as well
* Expand button group examples
- add more colour ... `.btn-secondary` is just dull and uninspiring
- new section to showcase "Checkbox and radio button groups"
- add a mixed styles example
- add an example of vertical radio button group
2020-07-06 08:52:43 +01:00
Martijn Cuppens
7cedb8eeae
Fix sidebar jump ( #31232 )
2020-07-03 15:16:05 +02:00
Patrick H. Lauke
10690dd317
Rename sr-only
/sr-only-focusable
( #31139 )
...
* Rename `sr-only`/`sr-only-focusable`
To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-03 14:38:11 +03:00
Patrick H. Lauke
0a6cf9036c
Docs: improve/expand button documentation ( #31093 )
...
* Docs: improve/expand button documentation
- since we're not doing the disabled cursor thing anymore anyway, remove confusing/unnecessary mention for link-based disabled buttons
- make the disabled toggle example using a link actually follow the preceding advice of also having `tabindex="-1"` and `aria-disabled="true"`
- tweak the link functionality callout to also still mention `aria-disabled` to reinforce the idea
- tweak toggle state description (not just `<button>`s, but also links etc...so just remove mention of `<button>` there; also reinforce accessibility aspect once more)
- add a new callout that cross-references checkbox-based toggles, and what the similarity/difference between them is
- add a matching cross-reference callout to the checkbox-based toggle buttons page
* Update link to now renamed checks-radios.md
2020-07-03 12:34:32 +01:00
Patrick H. Lauke
386f9e327e
Docs: clarify that pointer events classes don't affect keyboard interaction ( #31134 )
...
* Docs: clarify that pointer events classes don't affect keyboard interaction
* Neutralise example links that are `pe-none`
2020-07-03 12:23:28 +01:00
Sascha Nuissl
dca5ad0288
Fix generated example code for RFS ( #31213 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-07-01 18:13:20 +02:00
XhmikosR
f6ca8f1efb
Update migration.md ( #31122 )
...
* Add a new v5.0.0-alpha2 section
* Add missing Browser versions from v5.0.0-alpha1
2020-07-01 15:43:06 +03:00
XhmikosR
da9c7d12ab
Remove extra space
2020-07-01 15:21:43 +03:00
XhmikosR
daa45824d5
homepage-hero.svg: move defs
before g
2020-07-01 15:21:43 +03:00
XhmikosR
6cd3159caa
Use the site param for icons
2020-07-01 15:21:43 +03:00
XhmikosR
6c00c51d97
homepage: Fix wrong indentation ( #31211 )
2020-06-30 14:49:47 +01:00
Alex Mohr
f7cf44d3a0
Fix spelling mistake ( #31190 )
...
Co-authored-by: Alex Mohr <mohralexj@gmail.com>
2020-06-27 21:39:17 +01:00
Patrick H. Lauke
490acf60ca
Docs: rename form checks page to "Checks / radios" ( #31090 )
...
* Docs: rename form checks page to "Checks / radios"
it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless
2020-06-27 21:31:59 +03:00
Patrick H. Lauke
2c38800ea2
Add code to method/property tables ( #31130 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-27 14:28:21 +03:00
Mark Otto
ca22e72411
Remove backdrop-filter from docs subnav
...
Fixes #31163 .
2020-06-25 09:47:20 +03:00
Gaël Poupard
9c320df652
Floating labels improvements ( #30966 )
...
* docs(example): floating-labels' better Edge fallback
* docs(example): refactor floating-labels' CSS
2020-06-24 14:11:20 +03:00
Patrick H. Lauke
d6671d8f2d
Docs: move color utility callouts to start of page ( #31135 )
...
* Move color utility callouts to start of page
Hierarchically/structurally, in the position they are currently at, the two callouts seem like they "belong" just to the "background color" section. Moving them to the start makes it clearer that those two callouts relate to everything in the page (both "Color" and "Background color" classes.
* Change heading level
otherwise the assistive technology callout looks like it's hierarchically under the "Dealing with specificity" heading
2020-06-21 15:33:07 +03:00
Mark Otto
806f64e162
Correctly document how to add to Sass maps ( #31107 )
...
Fixes #31089 .
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-20 07:29:20 +03:00
Mattonit
fc74a0d915
Updated the command to install using yarn ( #31075 )
...
* updated yarn command to install latest version
* Update README.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-19 20:55:04 +03:00
Quy
d3aa909c92
Fix links to gutters page ( #31116 )
2020-06-19 20:42:25 +03:00
Patrick H. Lauke
edbcc401c2
Change whitelist to allowlist ( #31066 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-19 11:31:37 +03:00
Hiws
7acf586d3e
Docs: fix typo ( #31106 )
...
* Fixes a typo so it displays the correct px's.
* Update gutters.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-19 08:10:28 +03:00
Nic Johnson
b84c9ed489
Fix typo ( #31102 )
2020-06-18 21:46:03 +03:00
Mark Otto
d6a9e785b5
Add new toasts examples ( #30572 )
...
* Add two new toasts examples
- Adds a new custom content example that removes the toast header and adds a custom close icon
- Adds docs for how to create your own color schemes
- Adds example of additional buttons
* Update toasts examples
- Remove span and place aria on SVG element
- Add .border-0 to color scheme example for crisper edges
* Update toasts.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:27:42 -07:00
Christian Studer
3a61e1ae2f
Fix Stack Overflow tag ( #31062 )
2020-06-18 12:56:57 +03:00
Patrick H. Lauke
b1560e2d18
Docs: add Gaël Poupard to the core team page ( #31081 )
...
Docs: add Gaël Poupard to the core team page
2020-06-18 09:24:23 +01:00
Tanguy Krotoff
d80a9fc553
Fix tooltip when hovering a children element (delegateTarget) ( #30928 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:02:44 +03:00
Mark Otto
ffbdb08474
Add oxford commas
2020-06-17 21:45:34 +03:00
Patrick H. Lauke
e6ce44e5e2
Docs: tweak accessibility section
...
- point to WCAG 2.1 rather than 2.0
- soften/expand the language around color contrast, since the situation has definitely improved in v5 but we still can't guarantee all possible permutations of colors/opacities/etc
- minor language/stylistic tweaks
- add further resources
2020-06-17 21:45:34 +03:00
Bruno Baguette
f4e6932611
Typo fix : depedending ⮞ depending
2020-06-17 10:44:58 -07:00
Bruno Baguette
588a029abc
Typo fix : individiual ⮞ individual
2020-06-17 10:44:45 -07:00
Bruno Baguette
d2aefa7d94
Typo fix : ocassions ⮞ occasions
2020-06-17 10:44:31 -07:00
Bruno Baguette
59943ab868
Several typo fixes ( #31077 )
...
* Typo fix : thesse ⮞ these
* Several typo fixes
verical ⮞ vertical
availble ⮞ available
thesse ⮞ these
2020-06-17 10:43:54 -07:00
Patrick H. Lauke
639fb4f251
Docs: clarify rationale for button group on links ( #31071 )
2020-06-17 16:37:27 +02:00
Patrick H. Lauke
5ad43fec83
Docs: fix old/broken example capture and typo ( #31070 )
...
* Docs: fix old/broken example capture and typo
* Make example less broken-looking
don't want to give impression that now it's ok to just sprinkle `role="button"` around. this at least makes the `span` keyboard-focusable, similar to at least the start of a custom control
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-17 15:28:35 +03:00
Mark Otto
40fd8350f3
Update v5 readme
...
- New logo
- Add callout to v4-dev branch
2020-06-16 22:02:03 +03:00
XhmikosR
723cd8d12b
Prepare docs for v5.getbootstrap.com
...
* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag
2020-06-16 22:02:03 +03:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
Mark Otto
970f3b3a8f
v5: Add role=button cursor in Reboot ( #31040 )
...
* v5: Add role=button cursor in Reboot
Ports the changes from #30562 made in v4.5 and adds them to v5. This replaces #30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility.
* Update reboot.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-16 11:30:40 -07:00
Quy
11e63c1b36
Fix typo ( #31051 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-16 21:25:54 +03:00
XhmikosR
d126c1fe4e
Move homepage-hero.svg and improve compression
2020-06-16 21:19:32 +03:00
XhmikosR
a9519d6336
Remove the unused bootstrap-stack.svg
2020-06-16 21:19:32 +03:00
Mark Otto
69921580fd
Downsize SVG, add role=img
2020-06-16 21:19:32 +03:00
Mark Otto
e8a590f253
Center up the B in our logo a bit better
2020-06-16 21:19:32 +03:00
Mark Otto
442df2119b
Update navbar logo and hero image
2020-06-16 21:19:32 +03:00
Mark Otto
0cc66b4145
Update navbar and subnav to xxl container
2020-06-16 21:19:32 +03:00
Mark Otto
6ca54573a9
Update v5 homepage to match v4.5's changes
2020-06-16 21:19:32 +03:00
XhmikosR
e084588517
Fix social_image_path dimensions
2020-06-16 20:04:56 +03:00
XhmikosR
cf6ab08842
Add new favicons.
2020-06-16 20:04:56 +03:00
XhmikosR
1776197c26
Remove IE-specific images/files.
2020-06-16 20:04:56 +03:00
Mark Otto
17768d2459
v5: New favicons
2020-06-16 20:04:56 +03:00
XhmikosR
96aa924d37
Fix BootstrapCDN's name ( #31049 )
2020-06-16 19:37:42 +03:00
XhmikosR
3b66bbeddc
Fix a broken link and a redirect. ( #31045 )
2020-06-16 19:32:00 +03:00
Martijn Cuppens
8b7b234fd1
Switch to btn-check
2020-06-15 19:04:19 -07:00
Martijn Cuppens
1a0a0858ef
Remove checkbox/radio toggle from button plugin in favor of a CSS only solution
2020-06-15 19:04:19 -07:00
Jonathan
1b2ea5efb1
Update index.html
...
Hyphen to minus for amount.
Hyphen to dash for ranges.
2020-06-14 21:22:35 -07:00
Martijn Cuppens
7e28764e67
Change breakpoint-max implementation
...
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint.
- The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-06-14 14:50:47 -07:00
Gaël Poupard
aee711bfa9
docs(examples): fix pricing example
2020-06-14 14:47:56 -07:00
Gaël Poupard
6fa3dfe8d9
docs(examples): improve headings hierarchy
2020-06-14 14:47:56 -07:00
Gaël Poupard
7b30cb9b77
docs(examples): empty alt for screenshots to prevent redundancy
2020-06-14 14:47:56 -07:00
Mark Otto
a656458856
Run dist on latest
2020-06-14 13:52:54 -07:00
Mark Otto
286f16b92c
v5: Redo blockquote attributions ( #30814 )
...
* v5: Redo blockquote attributions
- Renames -small-* variables to -footer-*
- Updates blockquote demos with attribution to place it outside the blockquote with a figure wrapper
* Updated class name
* docs(examples): refactor blockquotes in masonry example
Co-authored-by: Gaël Poupard <gael.poupard@orange.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-12 14:26:37 -07:00
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 div
s. ( #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 range
s. ( #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-size
s 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
Martijn Cuppens
d95d08249c
Remove $enable-hover-media-query
2019-07-26 22:37:10 +02:00
XhmikosR
756d4ec91e
config.yml: add OpenCollective. ( #29143 )
...
This was missing since the Hugo switch (d95d300
).
2019-07-26 19:05:51 +03:00
XhmikosR
d39aa6f676
Update docs vendor libs ( #29134 )
...
* Update bs-custom-file-input.min.js to v1.3.2.
* Update anchor.min.js to v4.2.0.
2019-07-26 10:17:51 +03: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
Mark Otto
172d580db3
Fix busted hover/focus on sidebar
2019-07-25 10:25:39 +03:00
Mark Otto
3adcf3a954
Restore 7rem
so that the sidebar is balanced on top and bottom
2019-07-25 10:25:39 +03:00
Martijn Cuppens
2f4f15c018
Sidebar theming tweaks
2019-07-25 10:25:39 +03:00
Mark Otto
0d1e259ecf
Increase navbar link brightness for slightly better color contrast
2019-07-25 10:25:39 +03:00
Mark Otto
94693f899c
Split up docs _nav.scss
...
- _navbar.scss for all main navbar code
- new _subnav.scss to move all subnav styles into
2019-07-25 10:25:39 +03:00
Mark Otto
2494140689
Restore height and overflow on docs sidebar
2019-07-25 10:25:39 +03:00
Ben Boyter
f4dbffe93a
Remove https://glyph.smarticons.co/ from list of suggestions as the ( #29121 )
...
domain is now for sale and is triggers warnings in Firefox and Chrome
2019-07-24 11:12:44 +03:00
Martijn Cuppens
b2ae6a6a94
Apply at-mixin-argumentless-call-parentheses: always
stylelint rule
2019-07-24 10:31:49 +03:00
Mark Otto
114a0ee193
Rebuild the dist to pickup new utilities file ( #29105 )
...
Dist after adding new utils file
2019-07-24 09:13:50 +03:00
XhmikosR
d7a62b505c
Don't add the crossorigin attribute unless we pass integrity. ( #29112 )
2019-07-23 17:47:33 +03:00
Johann-S
a76c13589d
fix docs bad use of private methods to change title of our tooltips ( #29111 )
2019-07-23 16:18:41 +03:00
XhmikosR
b65a5cb2c9
Move Icons in data. ( #29087 )
2019-07-23 09:41:14 +03:00
XhmikosR
025f69cb20
Fix subnavbar active style.
2019-07-22 17:13:44 +03:00
XhmikosR
3521947611
Disable the !default
rule for our docs variables.
2019-07-22 17:13:44 +03:00
XhmikosR
8780d9360a
Use the background shorthand.
2019-07-22 17:13:44 +03:00
XhmikosR
3f27053c44
docs: use the escape_svg
function.
2019-07-22 17:13:44 +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
4ba4cc2e79
Simplify code.
2019-07-22 16:08:58 +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
e7890d1562
Move search styles, prep for responsive containers in docs
2019-07-21 21:44:32 -07:00
Mark Otto
0fcb0af131
no need for checks or conditions
2019-07-21 21:44:32 -07:00
Mark Otto
39e4615763
remove subnav from home and examples
2019-07-21 21:44:32 -07:00
Mark Otto
5a0be01e3e
Make subnav and sidebar work on mobile too
2019-07-21 21:44:32 -07:00
Mark Otto
956cbbc6b7
make docs navbar more usable on mobile
2019-07-21 21:44:32 -07:00
Mark Otto
5027a8086a
Move subnav to partial, take first pass at conditionalizing breadcrumb links
2019-07-21 21:44:32 -07:00
Mark Otto
b08d2b6adc
Add :focus to all new :hover selectors
2019-07-21 21:44:32 -07: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
2c5e41a95b
Optimize a few SVGs.
2019-07-19 09:19:56 +03:00
XhmikosR
c0a1cfa075
SVGs: lowercase hex values.
2019-07-19 09:19:56 +03:00
XhmikosR
fc38f25287
Remove trailing spaces.
2019-07-19 09:19:56 +03:00
XhmikosR
73c2bfc7a0
docs-navbar.html: reindent and use our classes.
2019-07-19 09:19:56 +03:00
XhmikosR
38557b2fa1
Remove unneeded div.
...
This is a link.
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
Martijn Cuppens
4634fd7c1a
Fix ads alignment
2019-07-17 16:21:47 +03:00
XhmikosR
e09f306b6b
Use has-children
.
2019-07-17 16:21:47 +03:00
XhmikosR
67bea95df5
It's viewBox
.
2019-07-17 16:21:47 +03:00
XhmikosR
cc2d55b8f2
Fix inline SVG.
2019-07-17 16:21:47 +03:00
Mark Otto
ebcc3ff9af
Move sidebar icon to CSS
2019-07-17 16:21:47 +03:00
XhmikosR
8bc6692082
Move the icon to a partial and optimize it.
2019-07-17 16:21:47 +03:00
XhmikosR
3898df1f5a
Add width/height in the SVG arrow.
...
Fixes IE.
2019-07-17 16:21:47 +03:00
XhmikosR
5e6f5d8f38
Remove display none code.
2019-07-17 16:21:47 +03:00
XhmikosR
506282fb9e
Use the responsive themes image.
2019-07-17 16:21:47 +03:00
XhmikosR
e864f65789
Fix docs search. ( #29067 )
2019-07-17 16:05:56 +03:00
XhmikosR
b81a3e8b3c
Add redirect for /forms/
.
2019-07-17 15:27:01 +03:00
XhmikosR
9745790514
Use the direct link to migrations page.
2019-07-17 15:27:01 +03:00
XhmikosR
e4dc6b84b1
Move inline JS to application.js.
2019-07-17 14:52:11 +03:00
XhmikosR
9be99c9b34
Ignore sw.js.
2019-07-17 14:52:11 +03:00
XhmikosR
fe09d106dc
site/.eslintrc.json: specify ecmaVersion.
2019-07-17 14:52:11 +03:00
XhmikosR
ef98fbdb84
Fix application.js after aaf03bd
2019-07-17 14:52:11 +03:00
XhmikosR
d39977271c
Fix bootstrap-themes.png. ( #29061 )
...
For some reason the old image was bad quality.
2019-07-17 14:36:14 +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
Mark Otto
cdb6504e48
Drop breakpoint CSS custom properties ( #29020 )
...
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation.
Fixes #29012 .
2019-07-14 11:44:49 +03:00
Brian Juul Andersen
37ec7f6928
Update collapse.md ( #29025 )
...
Corrected minor spelling error.
2019-07-13 10:04:49 +03:00
Mark Otto
39c4ca3970
dist v5
2019-07-12 16:56:26 -05: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
Shohei Yoshida
50f97710eb
Drop support for .form-control-plaintext inside .input-group ( #28972 )
...
* Revert "Fix readonly-plain-text with button addon (#25871 )"
This reverts commit ff40e00323
.
* Add migration comment
2019-07-12 13:23:43 +03: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
Bardi Harborow
08bddb8743
Add ARIA search landmark to documentation. ( #28983 )
2019-07-02 21:17:42 +03:00
XhmikosR
2fb6ccf951
Minor wording changes.
2019-06-24 09:15:52 +03:00
Jonathan Hawkins
39fc46fb71
Combine duplicate documentation examples into one to fix the confusing text.
...
fixes issue #28892
2019-06-24 09:15:52 +03:00
Robin D'Arcy
cbabd8ff0d
Docs – update extend/approach.md ( #28941 )
2019-06-22 16:21:20 +03:00
Martijn Cuppens
1efcf7a5dc
Typo fix ( #28920 )
2019-06-18 10:43:15 +03:00
Martijn Cuppens
83fc5a3239
Decrease number of order utilities ( #28874 )
2019-06-18 07:02:14 +02: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
XhmikosR
cafbbdc3b6
Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
...
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
1835004b96
Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
...
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
8c61254919
Examples: make use of core utils in more places.
2019-06-06 19:15:18 +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
Shohei Yoshida
8437be2f33
Rename the text helper page ( #28869 )
2019-06-04 20:46:52 +02:00
Shohei Yoshida
3283fe1b52
Rename .text-monospace to .font-monospace ( #28867 )
2019-06-05 00:51:36 +09: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
XhmikosR
8f97e2dc52
Update devDependencies. ( #28798 )
...
Notably:
* bundlesize 0.15.3 → ^0.17.2
* eslint-plugin-unicorn ^8.0.2 → ^9.0.0
* terser ^3.17.0 → ^4.0.0
2019-06-03 14:26:52 +03:00
Jay Pinho
91d07fb26c
Make example description more accurate ( #28842 )
2019-05-29 18:17:40 +03:00
Martijn Cuppens
769c8d8246
Helpers & utilities split ( #28445 )
2019-05-23 11:56:03 +02:00
Martijn Cuppens
a4a04cd9ec
.sr-only
& .sr-only-focusable
tweaks (#28720 )
...
* Prevent .sr-only-focusable overriding properties when being focused
* Typo
2019-05-20 10:03:51 +02:00
Christian Oliff
2d6e086342
Update Yarn package link to link to the Bootstrap package ( #28781 )
...
I think it makes more sense to link to the Bootstrap package on Yarn here (like the package link for NPM above)
2019-05-16 21:47:26 +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
976e825d26
remove jquery references in browsers-devices 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
4ea7e11233
add notes about arrow selector changes
2019-05-14 15:28:43 +02:00
Johann-S
7694a5a70a
remove jquery references from popover docs
2019-05-14 14:32:45 +02:00
Johann-S
df3277f14d
remove jquery references from javascript.md 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