1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 11:51:23 +02:00
Commit Graph

566 Commits

Author SHA1 Message Date
Mark Otto
a9df5dd0e3 border utils, css/sass vars, and more 2025-06-10 09:10:46 -07:00
Mark Otto
7f9c85d5bb Fix RFS in utilities 2025-05-30 20:33:22 -07:00
Mark Otto
a9822ac21c New focus styles 2025-05-30 20:33:22 -07:00
Mark Otto
12fb082b3b WIP, needs to be broken apart
- button ideas
- rewrite utility mixin
- cleanup some code
- remove hyphen from infix by default
2025-05-30 20:31:15 -07:00
Mark Otto
125651adbd Remove add(), subtract(), and divide() functions for calc() and Sass math.div() 2025-05-30 20:30:55 -07:00
Mark Otto
37d579548a All utilities are no longer !important; they use the top CSS layer instead so they're always applied 2025-05-30 20:30:55 -07:00
Mark Otto
c4fefeba36 Use CSS variable for border-radius in utilities 2025-05-30 20:30:55 -07:00
Mark Otto
3ce5bfcfb2 Migrate to Sass modules
fix function
2025-05-30 20:30:55 -07:00
Mark Otto
8692a00565 Reorganize scss folder 2025-05-30 20:30:55 -07:00
Julien Déramond
7f946d4241 Consolidate multiple 'none' values in box-shadow Sass mixin (#41469) 2025-05-19 20:53:18 -07:00
Mark Otto
f849680d16 Release v5.3.6 (#41406)
* Update to v5.3.6

* Rebuild

* Rebuild
2025-05-05 12:21:55 -07:00
Gaël Poupard
c5bec4ea7b fix(visually-hidden): prevent overflowing children to become focusable (#41286) 2025-05-04 13:21:30 -07:00
Mark Otto
85f23534bd Bump to v5.3.5 (#41348)
* Bump to v5.3.5

* Undo comment version change

* undo comment

* release again
2025-04-04 11:20:30 -07:00
XhmikosR
51581ed235 Release v5.3.4 (#40656)
* Bump version to v5.3.4

* Dist

* Dist

* dist again

* re-run npm release

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2025-04-03 08:58:10 -07:00
XhmikosR
541acb4aac Bump year to 2025 2025-01-15 13:43:41 +02:00
Christian Oliff
8885dc2a77 Remove unneeded flexbug workaround (#40876)
This was only needed for Internet Explorer. Removing it saves a couple of bytes. :-)

REF: https://github.com/philipwalton/flexbugs#flexbug-4
2024-10-02 08:19:55 +03:00
Louis-Maxime Piton
3083596e87 Docs: update WCAG links and references (#40703)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-08-07 12:11:06 +02:00
Julien Déramond
6e1f75f420 Release v5.3.3 (#39524)
* Release v5.3.3

* Dist

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-20 17:14:29 +02:00
Julien Déramond
52cc9342cb Bump copyright year to 2024 2024-02-05 20:13:23 -08:00
Dmitry Karpunin
56d80ea53c Fix focus box-shadow for validation stated form-controls (#38719)
Co-authored-by: Dmitry Karpunin <ext-dmitriy.karpunin@sbermarket.ru>
2023-12-09 09:34:21 +01:00
Edwin
8a965cadf8 Fix typo in _grid.scss (#39387) 2023-11-10 11:51:55 +01:00
Julien Déramond
344e912d04 Release v5.3.2 (#39173)
* Bump version to 5.3.2

* Dist
2023-09-14 17:19:27 +03:00
Sebastian Blank
d07d3a60c5 Fix dart-sass deprecation warning (#39030)
* Fix dart-sass deprecation warning

* Fix wrong percentages

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-09-12 13:04:02 -07:00
XhmikosR
2a1bf52b73 Release v5.3.1 (#38956)
* Bump version to 5.3.1

* Dist
2023-07-26 10:46:38 +03:00
XhmikosR
60098ac499 Release v5.3.0 (#38657)
* Bump version to 5.3.0

* Dist
2023-05-30 18:15:55 +03:00
XhmikosR
ac576614a5 Release v5.3.0-alpha3 (#38357)
* Bump version to 5.3.0-alpha3

* Dist
2023-04-03 10:26:50 +03:00
XhmikosR
c877cefcef Release v5.3.0-alpha2 (#38244)
* Bump version to 5.3.0-alpha2

* Dist
2023-03-24 16:30:16 +02:00
Julien Déramond
980116e02f Docs: missing deprecated callout for list-group-item-variant() mixin 2023-01-07 14:52:43 -08:00
louismaximepiton
1ed86c905f Fix 2023-01-06 11:47:24 -08:00
Patrick H. Lauke
2cc580e2d1 Docs: remove remnants of Twitter / bump dates (#37779) 2023-01-01 16:30:53 -08:00
Romaric Pascal
33ccbc23e3 SCSS testing of the utilities API (#36029)
* Set up CSS testing using sass-true and mocha

Use mocha to handle the heavy lifting of finding tests and running them.
Mocha is made to look directly for SCSS files which are compiled
thanks to Node's require.extensions mechanism.

* Add CSS tests to workflow

* Add tests for the generate-utility mixin

* Add tests for utilities generation

* Fix linting issues

* Fix test contents

Don't know why the whole utilities.test.scss ended up copied in the api.test.scss

* Remove unnecessary entry in package.json

* Move to Jasmine for running the tests

* Move running of CSS tests before CSS build

* Update linting set up

Add exceptions for test files in stylelint

* Remove irrelevant option for sass-true

* Fix linting issues after rebase

* Add color mode tests

* Fix linter

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 14:29:20 -08:00
XhmikosR
cf9454caa0 Release v5.3.0-alpha1 (#37661)
* Bump version to 5.3.0-alpha1

* Dist

* Add docs versions updates

* Update note in homepage hero

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-24 18:37:22 +02:00
Julien Déramond
41f62c5a11 Fix Sass compilation when $color-mode-type is set to media-query (#37687)
* Fix Sass compilation when `$color-mode-type` is set to `media-query`

* Update mixin names, fix docs color modes for using media queries by using mixin

Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-12-21 08:52:07 +02:00
Mark Otto
f6687e99b5 Follow up 2022-12-20 14:25:36 -08:00
Mark Otto
fc3f4b67d6 Add dark mode support (#35857)
* Add dark mode to docs

* Minor fix: missing space indentation

* Minor fix: revert utilities/z-index added-in modification

* Remove prev: and next: from doc because extracted to another PR

* Use .bg-body-tertiary in all Utilities > Overflow examples

* fix example

* Fix up spacing examples

* Update box-shadow Sass variables and utilities to auto-adjust to color modes

* Remove unused docs class

* Refactor form styles to use CSS variable for background images on .form-check and .form-switch

* Fix docs selector

* Rename shortcut for clarity

* Heading consistency

* Reintroduce missing 4th grid item in Utilities > Spacing example

* Fix bundlewatch

* .bd-callout* rendering is OK so removing comments in the code

* Update scss/_utilities.scss

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* Fix gutters example styling

* Fix text colors on background utils docs

* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken

* fix some color utils examples

* Deprecate mixin notice

* Deprecate notice for list-group-item-variant() mixin

* Revamp new link CSS vars

* Use map-keys in some each Sass files

* Remove list-group-item-variant mixin ref in sass loop desc

* Display CSS vars scoped to our built-in dark mode

* Revert previous commit

* Fix list group variant link

* Fix typo

* Remove imports of alert/list-group mixins in scss/_mixins.scss

* Small formatting + comments removal in scss/_content.scss

* Fix alert links colors

* fix dropdown border-radius mixin

* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline

* fix colors on docs navbar for dark mode

* remove two changes

* missing ref

* another link underline fix, just use sass vars for link decoration for now

* missing color bg docs, plus move dropdown override to scss

* more changes from review

* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin

* Few fixes around type

- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them

* Restyle custom details > summary element in docs

* Rewrite some migration docs

* fix form checks

* Fix up some navbar styling, tweak docs callout

* Fix select images, mostly for validation styling

* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs

* Update site/content/docs/5.2/components/scrollspy.md

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* Apply suggestions from code review

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* mention form control css vars in migration guide

* Tweak grid and flex docs background examples

* clarify some docs

* fix some more things

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-28 22:30:26 -08:00
XhmikosR
8f6de23682 Merge branch 'main' into prepare-523 2022-11-22 09:51:29 +02:00
XhmikosR
39589472f7 Bump version to 5.2.3 2022-11-21 20:15:33 +02:00
maks
fffe0553c2 Add parameters to the caret mixin 2022-10-03 11:19:56 -07:00
Vino Rodrigues
3b95c311ea Add color CSS vars for .alert-link (#36456)
* color css vars for .alert-link

* Update scss/mixins/_alert.scss

Co-authored-by: Mark Otto <otto@github.com>
2022-10-03 10:47:51 -07:00
XhmikosR
961d5ff984 Release v5.2.2 (#37236)
* Bump version to v5.2.2

* Dist
2022-10-03 10:44:02 +03:00
Julien Déramond
9edfed8a5e Don't redefine $border-color in table-variant mixin (#37239)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-10-02 16:33:11 +02:00
XhmikosR
23e50829f9 Release v5.2.1 (#37098)
* Bump version to v5.2.1.

* Dist
2022-09-07 18:31:39 +03:00
Florian Lacreuse
2f3aec819a Fix input group z-index focus + validation 2022-08-31 18:17:41 -07:00
Julien Déramond
17aa6732ab Fix typos after #36762 (#36771) 2022-07-29 21:49:01 +02:00
なつき
04b5d099b3 Remove unused parameter of bsBanner mixin (#36791) 2022-07-22 10:35:38 +02:00
XhmikosR
edf9c40956 Release v5.2.0 (#36768)
* Bump version to 5.2.0

* Dist

* Update masthead.html
2022-07-19 18:43:58 +03:00
Marc Wrobel
705d6857ad Fix typos in code (#36763)
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
2022-07-18 13:30:29 -07:00
GeoSot
54317bf7c8 Add a banner mixin, helping future releases and maintenance (#36178)
* Add a banner mixin, helping future releases and maintenance

* Update scss/bootstrap-reboot.scss

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* Apply suggestions from code review

Co-authored-by: Julien Déramond <julien.deramond@orange.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-07-11 16:36:12 -07:00
Neeraj Kumar Das
ac654a0f66 Add CSS custom property: --bs-btn-disabled-border-color to mixin: button-outline-variant 2022-07-11 01:38:05 -07:00
Mark Otto
5f75413735 Generate local CSS variables on utilities when using state option 2022-06-13 14:07:13 -07:00