Louis-Maxime Piton
f8a56da8b0
Docs: scss-docs unindent automatically the code inside shortcode
2023-03-24 16:11:22 +02:00
Hannah Issermann
2008c65c54
Docs: fix two class attributes on same button ( #38317 )
2023-03-24 16:05:56 +02:00
Julien Déramond
0653e7f648
Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target ( #38310 )
...
* Fix reference to twbs/examples/icons-font + fine-tune index.html SB location target
* Use urlquery
* Add `rel="noopener"`
---------
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-24 16:00:58 +02:00
Julien Déramond
aadfe7edce
Fix comment position in assets/scss/_content.scss ( #38281 )
2023-03-23 14:31:24 +02:00
Julien Déramond
99867eb9ba
Update Vite, Parcel and Webpack guides ( #38305 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-23 08:07:04 +02:00
XhmikosR
b3faa0cfac
docs: remove moot v from docs-versions.yml ( #38301 )
2023-03-22 10:24:17 +02:00
Louis-Maxime Piton
a6d8aa827d
Proposal to use scroll-margin-top instead of introducing padding and negative margin ( #38220 )
2023-03-19 17:45:46 -07:00
XhmikosR
5d4048350f
Slightly improve examples PNG files ( #38270 )
...
Before: 97,4 KB (99.758 bytes)
After: 94,2 KB (96.512 bytes)
2023-03-19 17:42:52 -07:00
Julien Déramond
f52d4a35b3
Fix placeholder shortcode color and background params when 'img' markup ( #38263 )
2023-03-19 17:42:30 -07:00
Mark Otto
6855ce9512
Revert "Guard more in color-modes.js ( #38235 )" ( #38280 )
...
This reverts commit 474bf2aed1 .
2023-03-19 17:35:57 -07:00
Julien Déramond
2d0c94c05a
Docs: make all headings use var(--bs-emphasis-color) ( #38262 )
2023-03-19 16:57:35 -07:00
XhmikosR
8701d89b16
icon-link.md: remove moot aliases ( #38246 )
2023-03-17 07:58:09 +02:00
Julien Déramond
4ba2deb534
Docs: consistent deprecation messages in Close Button dark variant ( #38247 )
2023-03-16 18:22:20 +02:00
XhmikosR
adf7b8dc40
Docs: use core mixins in a couple of places ( #38236 )
2023-03-15 06:40:58 +02:00
XhmikosR
c400653990
Tweak stylelint config ( #38228 )
...
* rename to .stylelintrc.json
* add reportInvalidScopeDisables to config
* move reportNeedlessDisables to config
* merge the two configs
* remove unneeded disabled rules from the examples config
2023-03-15 06:30:45 +02:00
XhmikosR
474bf2aed1
Guard more in color-modes.js ( #38235 )
2023-03-14 20:30:11 +02:00
Julien Déramond
c57be44686
Docs: consistent usage of CSS sections ( #38175 )
2023-03-13 11:41:27 +01:00
Julien Déramond
59c556cea6
Drop unused bootstrap-social-logo.png
2023-03-10 12:36:46 -06:00
Mark Otto
6f18ad9d69
Update buttons.md ( #38169 )
...
* Update buttons.md
Updates the buttons documentation to refer to the button styles as variants as opposed to "predefined styles" as that language was previously troublesome elsewhere in our docs, and variants makes more sense.
* Update site/content/docs/5.3/components/buttons.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
---------
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2023-03-10 12:35:58 -06:00
Hannah Issermann
fd7cfac4cb
Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples ( #38182 )
...
* Improve docs on Modals, Alerts, Offcanvas and Toasts close triggers examples
* Update site/layouts/shortcodes/js-dismiss.html
Co-authored-by: Julien Déramond <juderamond@gmail.com>
---------
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-03-10 11:23:59 -06:00
Louis-Maxime Piton
25579aad7c
Fix ( #38191 )
...
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-03-10 11:19:58 -06:00
Julien Déramond
24130a4e63
Fix typo in utilities/colors.md ( #38194 )
2023-03-10 11:19:21 -06:00
Louis-Maxime Piton
2032a6aa8e
Docs: Remove unnecessary href and tabindex="-1" ( #38196 )
...
* Proposal
* fix(review)
2023-03-10 11:17:38 -06:00
louismaxime.piton
8e27427fd9
Improve scss-docs link
2023-03-10 11:16:59 -06:00
louismaxime.piton
1f7e7ebd10
Better use the CSS
2023-03-10 11:15:33 -06:00
mrlife
2a2c4abaf4
Docs: fix typo in Color modes page ( #38198 )
2023-03-08 15:16:34 +01:00
Mark Otto
a3f8480d5b
Remove nesting color modes docs section ( #38192 )
...
* Update docs for nesting color modes to better communicate issues with nesting light in dark
* Remove nesting entirely actually, it's impossible to properly show an example when in dark mode
2023-03-07 21:53:31 -08:00
Mark Otto
3cec38c368
Fixes click area for header example snippet
2023-03-07 21:53:05 -08:00
Julien Déramond
423f112b23
Docs: minor modifications in our migration guide for the v5.3.0-alpha2 ( #38177 )
2023-03-07 06:49:38 +01:00
Julien Déramond
cff5c60a45
Docs: vertically align starters images in example page ( #38179 )
2023-03-07 06:40:08 +01:00
Patrick H. Lauke
d5f4532b3e
Docs: fix overflow:auto horizontal scrollbars covering last line of code blocks ( #37694 )
...
* Add dirty hack for Firefox
* Disable stylelint check for function-url-quotes
to make the hack go through unchallenged
* Make the fix across all browsers
It's not just Firefox - same issue can be seen (though slightly less horrible looking) on macOS / Chrome etc
* Tweak padding, move clipboard button down slightly
* Further CSS tweaks
Forcing `overflow: overlay` should normalise behaviour between Chrome/Win and other implementations. While visually the Chrome/Win scrollbar still looks big and ugly, its height/spacing is now taken into account as being part of the content, so styles can be applied consistently with extra padding at the bottom
* Linting fixes
* Linting fixes
* Apply suggestions from code review
---------
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-04 12:05:54 -08:00
Andrew Dawes
ea19c3da8a
Fixed some grammar issues
2023-03-04 11:50:05 -08:00
Louis-Maxime Piton
b26233c1ab
Examples: color mode enhancement ( #38144 )
...
* Tool bar proposal inside examples
* Some examples fixes
* Change appearance and position of the color mode toggler
* Proposal
* .
---------
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-03-04 11:49:07 -08:00
Louis-Maxime Piton
783213691a
Icon link: envariable + enhance the documentation ( #38130 )
...
* Envariable the icon-link helper
* Proposal
* .
2023-03-02 10:32:43 -08:00
Julien Déramond
912cfe5823
Fix dropdown toggle visible focus in headers example
2023-03-02 10:32:03 -08:00
Julien Déramond
b8b81669f0
Docs: .text-body-secondary appears two times in Utilities > Colors
2023-03-02 10:24:58 -08:00
Julien Déramond
38a431068f
Docs: replace 'popover' by 'tooltip' in tooltip's page' options section
2023-03-02 10:23:38 -08:00
Julien Déramond
34901f1bc7
Docs: rollback some modification about .text-muted deprecation messages
2023-03-02 10:23:03 -08:00
Louis-Maxime Piton
23d20fa54f
Utilities: add 0 value to link-underline-opacity ( #38131 )
2023-03-02 07:45:25 +01:00
Julien Déramond
80ba848443
Docs: fix code indentation in homepage JavaScript plugins section ( #38112 )
2023-02-25 19:05:15 +01:00
Julien Déramond
6b4b77e320
Docs: Drop unused .focused style ( #38087 )
2023-02-25 18:18:04 +01:00
Julien Déramond
51299bf4e1
Drop unused --bs-focus-ring-box-shadow and add documentation for --bs-focus-ring-{x|y|blur} ( #38095 )
2023-02-25 08:01:20 +01:00
Julien Déramond
78f879eb57
Docs: drop unused icons ( #38103 )
2023-02-23 07:55:56 +01:00
Julien Déramond
5241b988c0
Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples ( #38071 )
...
* Bump Chart.js from 2.9.4 to 4.2.1 in dashboard examples
* Rollback myChart var modification
* Add some padding between tooltip color and text
---------
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-02-19 10:34:15 +02:00
Julien Déramond
31221272e0
Fix console error in examples pages du to no theme switcher ( #38074 )
2023-02-17 08:56:30 +02:00
Julien Déramond
42e99cc59f
Reduce size of guide dev server images ( #37741 )
...
* Reduce size of guide dev server images
* Optimised images with calibre/image-actions
* Lossy compress new images
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-02-15 10:41:33 -08:00
Mark Otto
2dc329dd37
WIP: New snippet examples ( #36309 )
...
* Start work on some new snippet examples
* Update for dark mode, fixes
* Add images, update descriptions
* examples fixes
2023-02-14 20:58:39 -08:00
Mark Otto
f256874675
More updates to migration guide
2023-02-14 15:46:45 -08:00
Mark Otto
8fddb9fe57
Update form validation styles to use new CSS variables for color and border-color ( #38044 )
...
* Update form validation styles to use new CSS variables for color and border-color
* Use better Sass variables
2023-02-14 15:22:35 -08:00
Mark Otto
9dd42e1a07
Attempt to fix focus ring being cut off in table of contents ( #37965 )
...
* Attempt to fix focus ring being cut off in table of contents
* Update _toc.scss
---------
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-14 08:58:08 -08:00
Patrick H. Lauke
d0fece9320
Docs: add scroll-margin-top for keyboard navigation
2023-02-14 08:53:25 -08:00
Julien Déramond
30e8d139fe
Remove unused partials and add some way to automatically detect it ( #38004 )
...
* Add docs-check-unused-templates in npm commands and workflow
* Remove unused partials icons templates
2023-02-14 08:48:44 -08:00
Julien Déramond
68afebe5b5
Docs: Use ESM Popper CDN reference in 'Using Boottrap as a module'
2023-02-14 08:46:55 -08:00
Louis-Maxime Piton
7bffd6ea8d
Docs: Progress fix + proposal ( #38014 )
...
* Fix + proposal
* fix(review)
---------
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-02-13 18:38:21 -08:00
Julien Déramond
70bad9b1b6
Docs: uniformize disabled nav links for underline nav
2023-02-13 18:12:35 -08:00
Julien Déramond
9f5dca0777
Remove debug references from DocSearch v2 ( #38032 )
2023-02-11 08:04:09 +01:00
汪心禾
aff8f0dc9a
Remove redundant space in forms/validation.md
2023-02-04 17:40:51 +07:00
Mark Otto
99e3724459
Add mention to migration guide
2023-02-04 17:40:20 +07:00
Mark Otto
c735b2e196
Migration guide changes for v5.3.0-alpha2 ( #37862 )
...
* WIP
* More changes mentioned
* more
* mention dropdown-menu-dark deprecation
* More edits
2023-01-28 09:36:19 +08:00
Mark Otto
82391bc7b7
Theme color improvements ( #37953 )
...
* Use tint-color() and shade-color() functions to generate new color mode adaptive theme values
* More consistent shading
* Fix callouts use of emphasis variables
* Use tint and shade functions on link and code colors for dark mode
2023-01-25 18:11:22 -08:00
Patrick H. Lauke
1299b163c7
Docs: tweak icon link and callouts ( #37923 )
...
* Tweak callout for icon link
- no need to talk about `alt` for `<img>` since these don't use `<img>`
- make start of sentence more readable
* Tweak language of dropdown warning callout
* Tweak popover warning callout
* Tweak rtl warning callouts
* Tweak color warning callout
* Add/move accessibility callout for color to relevant pages
* Update site/content/docs/5.3/helpers/icon-link.md
* Update site/layouts/partials/callouts/warning-color-assistive-technologies.md
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-01-21 09:51:45 -08:00
louismaximepiton
15744ee1d0
Proposal to rename the CSS and Sass variables
2023-01-21 09:46:48 -08:00
Patrick H. Lauke
cfd3560c6d
Docs: add overflow and text color info to progress bar page ( #37921 )
...
* Docs: add overflow and text color info to progress bar page
* Add example/reference for color & background helper use
* Add mention of color modes/dark mode
* Tweak link text
2023-01-21 09:34:09 -08:00
ChellyAhmed
d9d2b4fdb2
fix typo in gutters doc ( #37918 )
...
* fix typo in gutters doc
* Update site/content/docs/5.3/layout/gutters.md
Co-authored-by: Mark Otto <otto@github.com>
2023-01-21 09:30:08 -08:00
louismaximepiton
bada2b9a90
Proposal
2023-01-17 21:10:13 -08:00
louismaximepiton
16aff741ec
Proposal
2023-01-17 10:39:49 -08:00
louismaximepiton
5dc7f4c165
Harmonize the doc
2023-01-17 10:39:16 -08:00
louismaximepiton
e8b7d38276
Correction
2023-01-17 10:38:51 -08:00
Mark Otto
20ab8219a0
Sass docs updates ( #37897 )
...
* Add maps
* Redesign scss-docs rendering
* Update other CSS sections
* Fix linter
2023-01-16 18:57:24 -08:00
Mark Otto
eec5015520
Typo
2023-01-16 16:57:57 -08:00
Mark Otto
436de310ba
Add docs callout for utilities that don't respond to color modes
2023-01-16 16:57:57 -08:00
Mark Otto
a799f0149a
Include variables-dark in the import stacks, plus a customize overview fix
2023-01-16 16:57:18 -08:00
Mark Otto
779baab369
Small color mode docs CSS fixes ( #37896 )
...
* SImplify background gradient syntax
* Move inline style to CSS file
2023-01-16 16:56:50 -08:00
Mark Otto
ca88999448
Fix .form-control in dark mode ( #37893 )
...
* Fix .form-control in dark mode
* Remove CSS vars from docs
2023-01-16 15:56:23 -08:00
louismaximepiton
50723075aa
Update grid example
2023-01-16 15:55:47 -08:00
Louis-Maxime Piton
9042efd0f8
Deprecate the Sass var and remove any occurence of the .text-muted ( #37890 )
2023-01-16 15:55:28 -08:00
Maciej Kubień
934d7a0c1a
Changed ``popover` to `tooltip`` in docs
...
Changed ```popover``` to ```tooltip``` in tooltip component docs page.
2023-01-15 10:47:05 -08:00
Issermann Hannah
8865b469c3
Move form-text paragraph to Form control page instead of overview to have teh documentation in the same page than sass variables.
2023-01-15 09:48:17 -08:00
Julien Déramond
4536f60d95
Docs: update progress markup in Color modes page
2023-01-12 18:50:59 -08:00
Mark Otto
f23e203bd0
Mention deprecated classes for color mode on offcanvas
2023-01-11 21:05:21 -08:00
Julien Déramond
2d57b88902
Docs: fix broken links in Color modes page
2023-01-11 10:07:49 -08:00
Catalin Zalog
791c44cc6d
docs: updates .text-*-left changes
2023-01-11 09:58:30 -08:00
Mark Otto
a901027ab0
Update colored links, add new .link-body-emphasis helper ( #37833 )
...
* Rewrite colored links to use color property again instead of --bs-link-color-rgb value because nav links and more do not set --bs-link-color-rgb
* Update bundlewatch
* Document it
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2023-01-10 16:34:25 -08:00
Mark Otto
f40e76d1f7
Update snippet examples for dark mode ( #37834 )
...
* Update snippet examples for dark mode
* Fix markup
* Review comments
* undo colored links docs from this PR
2023-01-10 16:33:33 -08:00
Julien Déramond
3fc305b2de
Docs: fix typo in migration guide
2023-01-10 02:54:06 -08:00
A Kriya
1871531312
Docs: add .fw-medium utility class example
2023-01-08 15:48:44 -08:00
Julien Déramond
39905711fa
Remove autofocus on theme switch when page is loaded
2023-01-08 15:39:31 -08:00
Julien Déramond
980116e02f
Docs: missing deprecated callout for list-group-item-variant() mixin
2023-01-07 14:52:43 -08:00
Julien Déramond
7399b13052
Docs: fix .btn-clipboard and .btn-edit link hover color
2023-01-06 11:42:32 -08:00
Louis-Maxime Piton
fd1ec97bd3
Docs: Small enhancements ( #37803 )
...
* Consistency with the doc
* Bring a class to avoid weird behavior
* Consistency + Add some explaining text
* fix(color)
2023-01-05 19:59:59 -08:00
Julien Déramond
d17d2abb26
Docs: enhance colors description table
2023-01-05 19:58:52 -08:00
Julien Déramond
1b83ab24fc
Docs: remove some CSS from .highlight-toolbar def
2023-01-05 19:29:17 -08:00
Julien Déramond
8a35408030
Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font ( #37671 )
...
* Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font
* Revamp starter template to use new .icon-link, fix Bootstrap icon and text at top
* Remove extra CSS file
* Change links to twbs/examples
* Fix icon name
* Adjust icon link offset to more reasonable and scaling distance
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-01-04 13:38:45 -08:00
Mark Otto
846d6606ec
Include twbs/examples in the Examples page
2023-01-04 09:56:11 -08:00
Julien Déramond
803d9d405c
Docs: fix headings color in light/dark mode ( #37802 )
2023-01-04 08:47:31 -08:00
Mark Otto
d70b5db2e0
Add new link utilities, icon link helper, and update colored link helpers ( #37762 )
...
* Add new link utilities, update colored link helpers
* Remove commented out code
* Fixes
* Remove examples changes
* Fixes and copy
* Fix icon-link instances on homepage
* Bump bundlewatch
* Fix node-sass issue for rgba() function bug
* More bundlewatch
* One more time after merge
* Add callout for a11y
* Hover and focus-visible
* Add a11y callouts
* Remove duplicate for now
* More code review feedback
2023-01-03 22:23:46 -08:00
Mark Otto
89f9ffc212
Rewrite some callouts to remove most headings and reduce their content
2023-01-03 22:21:52 -08:00
Julien Déramond
f692ecdd5b
Docs: fix accordion flush description
2023-01-03 19:42:58 -08:00
Julien Déramond
8546804325
Add webpack build to webpack guide
2023-01-03 19:40:58 -08:00
Mark Otto
da1c968965
Remove dark mode --bs-heading-color value, set to null, and add custom styles for the docs dark mode headings
2023-01-03 19:36:20 -08:00