aboutsummaryrefslogtreecommitdiff
path: root/scss/_modal.scss
AgeCommit message (Collapse)AuthorFilesLines
2024-07-15Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)Julien Déramond1-1/+1
2023-11-15Drop evenly items distribution for modal and offcanvas headers (#39373)MarkoOleksiyenko1-1/+0
2022-09-04Add workarounds for postcss values parser errorGeremia Taglialatela1-1/+1
postcss-values-parser returns a syntax error when a negative value is provided in a `calc` function after a CSS variable. This is not an issue with Bootstrap itself, but a workaround to allow projects using postcss-values-parser to keep upgrading and compiling bootstrap Ref: shellscape/postcss-values-parser#138, twbs/bootstrap#35033 Fix: #36851
2022-05-12Revert backdrop utilization, handling clicks over modal (#36324)GeoSot1-1/+0
* refactor(Modal.js): stop using backdrop class to handle clicks over modal * Revert #35554 and backdrop callback usage Explanation: In order to bypass `.modal`, was applied a css rule `pointer-events:none` which caused the side effect, and user couldn't scroll "long content modals" * Update .bundlewatch.config.json Co-authored-by: Mark Otto <[email protected]>
2022-04-12Changing the CSS var managementlouismaxime.piton1-14/+5
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto1-35/+71
* Convert accordion to CSS vars * Update accordion.md * Convert navs to CSS variables * Split up CSS vars * bundlewatch * fix vars * Convert cards to CSS vars * Convert modals to CSS variables * Bundlewatch Co-authored-by: Geremia Taglialatela <[email protected]>
2022-02-18Add null modal-footer-bg variable (#35858)Mark Otto1-0/+1
Fixes #35782
2022-01-30Modal: handle click event from backdrop callbackGeoSot1-0/+1
2021-12-14Update stylelint and stylelint-config-twbs-bootstrap (#35438)XhmikosR1-1/+1
2021-06-25Variablize backdrop for modal and offcanvasMark Otto1-11/+1
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto1-4/+4
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
2021-05-13remove modal css overrideGeoSot1-11/+2
2021-04-11Decouple Modal's scrollbar functionality (#33245)GeoSot1-9/+0
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-0/+2
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <[email protected]>
2020-09-22Tweak sizing and alignment of .btn-close in modal headersMark Otto1-4/+3
2020-09-22Rename .close to .btn-close, replace times sign with background SVG, update ↵Mark Otto1-1/+1
focus state
2020-06-25Fix scrollable modal (#31151)Shohei Yoshida1-2/+3
Co-authored-by: XhmikosR <[email protected]>
2020-06-14Change breakpoint-max implementationMartijn Cuppens1-2/+2
- 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-04-01Fix border radiiMartijn Cuppens1-1/+9
2020-04-01Fix CSS and improve docsysds1-14/+19
2020-04-01Add Full-Screen size to Modal and Responsive variations for breakpointsgsoti1-0/+16
(Works from breakpoint and down)
2020-03-18Remove Internet Explorer leftoversysds1-9/+0
2020-03-18Drop IE support from SassMartijn Cuppens1-25/+0
2020-02-29Fix centered modal scrolling issue (#30244)Shohei Yoshida1-0/+2
Use the `min-content` property.
2019-10-31Add add and subtract functionysds1-8/+8
2019-10-25Added animation when modal backdrop is static (#29516)Higor Araújo dos Anjos1-0/+5
2019-09-26Sass: remove redundant stylelint inline suppressions. (#29427)XhmikosR1-1/+0
2019-08-16Enable wrapping for elements in .modal-footer (#25103)Martijn Cuppens1-4/+9
2019-05-28Calc modal header/footer border radius according to the border width (#28775)Shohei Yoshida1-2/+2
2019-05-27Correct grammar in modal.scss (#28829)Aditya Shankar1-1/+1
2019-01-20Make component colors configurable (#28035)Martijn Cuppens1-0/+1
2019-01-20Scrollable modal (#27769)Shohei Yoshida1-4/+46
2018-11-11Fix modal positioning on Android.jvitela1-4/+4
When the address bar is hidden, sometimes the visual position of the controls is out of sync with its logical position.
2018-10-19Fix size of modal dialogs at different widths (#27094)namiltd1-1/+4
2018-09-18Allow multiple ways of padding declaration for modal header (#26976)Martijn Cuppens1-1/+1
* #26967: Allow multiple ways of padding declaration for modal header * #26976: split vertical and horizontal modal padding
2018-08-28Remove extra line breakysds1-2/+0
2018-08-25Round corners on modal footerMark Otto1-0/+1
Matches the method used for the modal header. Fixes #26955.
2018-08-13Tweak modal transform (#27005)Martijn Cuppens1-2/+2
2018-07-24Merge branch 'v4-dev' into malkomich-v4-devMark Otto1-6/+18
2018-07-20fix `.modal-dialog-centered` on IE10/11Mohammad Younes1-0/+12
2018-07-20Fix modal overflow style nesting (#26742)Joshua David1-6/+6
Nest `.modal` styling directly under `.modal-open` to avoid issues when bootstrap is nested.
2018-07-07Merge branch 'v4-dev' of https://github.com/malkomich/bootstrap into ↵Mark Otto1-0/+4
malkomich-v4-dev
2018-03-03Adding a variable to handle the change of a modals border-radius. (#25691)Adam Kolinski1-2/+2
2017-11-24lets the centered modal have any height (#24803)Andres Galante1-5/+2
2017-10-29Add `.modal-dialog-centered` for optional vertically centered modal (#24510)Mark Otto1-0/+15
* Add .modal-dialog-centered for optional vertically cenetered modal Fixes #23638 * adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling * mention limitations * fix aria attr * Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
2017-10-23Refactor a few selectors. (#24404)XhmikosR1-9/+12
1. move a couple of them before the more specific ones. 2. change nesting to be under the same parent selector 3. use the ampersand more
2017-10-02Switch to stylelint. (#23572)XhmikosR1-1/+2
2017-10-02adds a border radius to modal headers (#23799)Andres Galante1-0/+1
2017-10-01extends the click area of the close btn on modals (#23783)Andres Galante1-2/+3
2017-08-22Add pointer-events declarationsPatrick H. Lauke1-0/+4
make outer `.modal-dialog` pass through events for custom click handling, counteract it for the actual `.modal-content`