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

1848 Commits

Author SHA1 Message Date
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
Patrick H. Lauke
9013c9884e
Docs: add explanation of the base .btn class (#37275)
* Docs: add explanation of the base `.btn` class

and a callout reminding authors to at least define some focus styling if they intend to use it "naked"

* Turn callout into a warning

* Add initial heading

* Tweak callout wording
2023-01-03 11:28:27 +00:00
Mark Otto
3ee2a75495 Use Bootstrap colors in syntax highlighting 2023-01-02 22:06:59 -08:00
AucT
19d547be3d
fix live toast demo (#37590)
* fix live toast demo

* Fix live toast demo

* Update snippets.js

* Update toasts.md

* Update snippets.js

* Code review comments addressed

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2023-01-02 22:06:09 -08:00
Julien Déramond
e60002b1fc Docs: add CSS variables section in close button section 2023-01-02 11:39:13 -08:00
Louis-Maxime Piton
0d64dc6dfc
Docs: offcanvas toggles accessibility fixes, fully hide layout template input
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2023-01-02 16:07:48 +00:00
XhmikosR
dbdfab8a95
Update tooltips.md 2023-01-02 17:44:55 +02:00
Mark Otto
d0b0fec409 Fix code color in callouts 2023-01-01 22:33:54 -08:00
Patrick H. Lauke
212c0dfd07
Docs: Make theme switcher accessible (#37780)
* Make theme switcher accessible

* set an explicit `aria-label` to the switcher (as the `<span>` is not sufficient, as it can be display:none'd and then the button has no accName)
* make the theme buttons actual `aria-pressed` toggles

* Dynamically update aria-label for theme switcher

* Explicitly reset focus after activating theme

* Use innerText for the constructed dynamic aria-label

this way, if the text ever gets changed in the html, this will adapt appropriately

* Tweak accessible name for the dropdown

* Fixup

* Use `textContent` instead of `innerText`
2023-01-01 21:54:46 -08:00
Patrick H. Lauke
2cc580e2d1
Docs: remove remnants of Twitter / bump dates (#37779) 2023-01-01 16:30:53 -08:00
Patrick H. Lauke
1b39d1275b Docs: Remove unnecessary id/aria-labelledby from accordion examples
Follow-up to https://github.com/twbs/bootstrap/pull/37718
2022-12-30 16:50:10 -08:00