aboutsummaryrefslogtreecommitdiff
path: root/scss/_modal.scss
AgeCommit message (Collapse)AuthorFilesLines
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`
2017-08-10Ensure alignment of modal dismiss when no .modal-title is presentMark Otto1-0/+4
2017-06-13(#22414) Renamed for consistency `$modal-dialog-sm-up-margin-y`, ↵Patrick Yeo1-3/+3
`$modal-content-xs-box-shadow`, `$modal-content-sm-up-box-shadow`, to `$modal-dialog-margin-y-sm-up`, `$modal-content-box-shadow-xs`, `$modal-content-box-shadow-sm-up`, respectively
2017-01-28Add new extra large size for modal containersJuan Carlos González Cabrero1-0/+4
2016-12-25lintingMark Otto1-2/+2
2016-12-25flex the footer and include some margin magicMark Otto1-2/+7
- we need to set margin for space between footer buttons as flexbox doesn't render HTML spaces like inline-block does - flexbox doesn't have collapsing margins or anything, so we hack it with some :not(:first-child) and :not(:last-child) action
2016-12-25flex the modal header so we can remove custom stylesMark Otto1-5/+3
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25No need to override a margin-top that never was set; only specify ↵Mark Otto1-1/+1
margin-bottom override
2016-12-25Enable flex on the .modal-content, ensure .modal-body stretches the height ↵Mark Otto1-0/+5
(if needed)
2016-12-19Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into ↵Mark Otto1-2/+2
Starsam80-fix-20982