1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-07 14:16:47 +02:00
Commit Graph

935 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
bcf9e51c79 Remove some unused rgb vars 2025-05-31 15:28:39 -07:00
Mark Otto
e929e0cdcf Migrate some Sass vars to be local to specific stylesheets
- Update ScssDocs tags where appropriate
- Removed a null Sass variable, $table-th-font-weight
- Removed $table-caption-color because we put table Sass vars in the _tables.scss file away from the _reboot.scss file
- Fix docs styles as needed
2025-05-30 22:20:50 -07:00
Mark Otto
d809eef178 fix some css vars 2025-05-30 21:03:02 -07:00
Mark Otto
57a81db0cf split border-radius, new utility reference table, start adding mdn link 2025-05-30 20:33:22 -07:00
Mark Otto
4634b58cd8 Redo aspect ratio docs 2025-05-30 20:33:22 -07:00
Mark Otto
f9c74a0974 Move around box shadow vars 2025-05-30 20:33:08 -07:00
Mark Otto
bcb50912cd WIP scss 2025-05-30 20:32:57 -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
d1fe9fedba Fix stylelint 2025-05-30 20:30:55 -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
78b6a5a0ad Breakpoints edits
Breakpoints update

- Rename $grid-breakpoints to $breakpoints
- Rename -xxl to -2xl
- Update docs to use new classes
- Update breakpoints docs to add new language around updated breakpoint mixins and media queries, including no longer needing -.02px
2025-05-30 20:30:55 -07:00
Mark Otto
21a94cae37 Give helpers folder an index.scss, migrate ratio helper to aspect-ratio utility 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
Somi Park
ed2bf138a3 Fix null modal-content-color in modal.scss (#39977)
Identified that $modal-content-color was set to null, which could lead
to display issues in React Bootstrap Modals. Changed the value to --#{$prefix}body-color
to ensure consistency and correct color application in modal components.
2025-04-02 23:49:33 -07:00
Julien Déramond
a5d430d526 Fix display issues of close button in contextual light and dark modes (#41126) 2024-12-31 09:08:59 +01:00
Julien Déramond
0cbfe13adf Fix display issues of carousel child elements in contextual light and dark modes (#40695)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
2024-12-19 08:23:57 +01:00
Grimalkin
c536836aa8 CSS: consistent approach for calc with negative values (#41004)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-12-18 09:51:19 +01: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
XhmikosR
859a134203 Optimize Sass SVG files (#39804) 2024-03-19 21:31:07 +02:00
Julien Déramond
4e35f64fdc Drop --bs-accordion-btn-focus-border-color and deprecate $accordion-button-focus-border-color (#39560)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-06 22:04:06 +02:00
Sergei
7bec4de761 Optimize the accordion icon (#39411)
Co-authored-by: Serhii Babakov <babakov@aweb.ua>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-01-30 19:05:54 +01:00
Julien Déramond
587e89f11b Fix Sass compilation breaking change in v5.3 (#39380) 2023-11-14 08:01:29 +01:00
Giovanni Piller Cottrer
d1d49ffe1d New $btn-link-focus-shadow-rgb for color modes customisation (#39119) 2023-09-13 09:18:07 +02:00
Julien Déramond
bde23ae661 Allow <mark> colors customization for color modes (#39141) 2023-09-13 08:50:42 +02:00
Louis-Maxime Piton
86672f4222 Fix table state rendering for color modes (#39033) 2023-09-13 08:17:23 +02:00
Julien Déramond
4724e7ae9a Make form range track background more contrasted (#39095) 2023-09-13 07:59:53 +02:00
Julien Déramond
78b4e5d2d6 Use box-shadow CSS vars instead of Sass vars in assets and variables 2023-08-05 15:04:45 -07:00
Julien Déramond
6a9b9af59e New Sass variable to change vertical rule width 2023-07-16 20:39:54 -07:00
Julien Déramond
ad724cb136 Add $navbar-dark-icon-color 2023-05-31 19:29:15 -07:00
Julien Déramond
9cc85fd69b Remove duplicate $alert-*-scale Sass vars (#38674) 2023-05-31 07:37:03 +03:00
Louis-Maxime Piton
5400415bb5 Table: active <tr> fix (#37084)
* Adding the custom cascade to make `.active` work on `:hover` and on `.table-striped`.

* Prevent nesting backgrounds

* Small typo

* .

* Adding some docs

* Match variable syntax

* .

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-04-25 20:32:27 -07:00
Louis-Maxime Piton
0bea3f35c6 CSS: New var proposal + init headings-color (#37904)
* Proposal

* Revert opacity changes

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-04-20 20:09:43 -07:00
Mark Otto
3aabfc70c3 Another pass at fixing floating labels disabled colors (#38313)
* Another pass at fixing floating labels disabled colors

* Fix height for textareas

* Fix disabled background

* Move from full width to an inline-block-ish approach

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-29 13:46:09 -04:00
Julien Déramond
92f9dda263 Add a check for interpolation variables to node-sass workflow (#38283)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2023-03-27 17:34:14 +02:00
jonnysp
3b9b154563 Use border-radius CSS variables in more components (#38284)
* Update _variables.scss

missing global variable on nav-pills-border-radius

* Update _variables.scss
2023-03-24 21:41:44 -05:00
Julien Déramond
833da72712 Fix missing modifications when --bs-{color}-text was changed to --bs-{color}-text-emphasis (#38176) 2023-03-07 06:45:07 +01:00
lavsemen
9a1f4ed9e5 Fix button visibility issue on dark theme (#38115)
* Fix button visibility issue on dark theme

* Add $btn-color-variable in _buttons.scss

* Apply suggestions from code review

---------

Co-authored-by: Семен Лаверентьев <remark.lavrentev@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2023-03-02 10:49:54 -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
afd37369bc Drop duplicate $nav-link-disabled-color declaration (#38083) 2023-02-23 07:59:47 +01:00
Julien Déramond
d86c316a88 Drop duplicate $btn-close-focus-shadow definition 2023-02-15 08:33:32 -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
639306242f Use color mode adaptive color for disabled dropdown menu items 2023-02-04 14:51:11 +07: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
louismaximepiton
15744ee1d0 Proposal to rename the CSS and Sass variables 2023-01-21 09:46:48 -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
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
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
Eren Okka
17f14ac39f Remove outdated comment from $input-border-color variable 2023-01-12 18:54:00 -08:00