aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2022-06-29Fix tooltip/badge border radius when rounded disabledJulien Déramond2-2/+2
2022-06-14Don't style `readonly` inputs as `disabled` (#36499)Mark Otto1-3/+6
* Don't style readonly inputs as disabled Also remove the Chrome-specific focus styling from readonly plaintext * Update some docs comments
2022-06-13Generate local CSS variables on utilities when using state optionMark Otto1-0/+5
2022-06-08Manually set hover and active backgrounds and borders for dark and light buttonsMark Otto1-1/+21
2022-06-03Update some WCAG links, expand sass.md contrast explanation (#36489)Patrick H. Lauke1-3/+3
2022-06-01Fix .dropdown-item border-radius when -padding-y is 0Mark Otto1-12/+12
2022-05-30fix alert border radiusmcoms1-1/+1
2022-05-26Update Sass for computing `.table-group-divider` border (#36446)Mark Otto1-1/+1
* Update Sass for computing .table-group-divider border * Remove stylelint rule
2022-05-22Stylelint: Disable `custom-property-empty-line-before`Mark Otto13-21/+5
2022-05-21Truncate text to prevent multiline floating labelHDPham1-0/+4
2022-05-20add back focus box shadow on btn linkRyan Berliner1-0/+1
2022-05-20Update form-control-color sizing and styles (#36156)Mark Otto1-3/+5
2022-05-20CSS: few proposals (#36406)Louis-Maxime Piton1-3/+3
* Something to try about `!important` in color-bg helper * Better understanding border utility `.border-*-0` * Having rounded numbers of px
2022-05-14Offcanvas not showing with .showing (#36353)Justin Kruit1-11/+11
The transform of .showing was being overridden by .offcanvas.offcanvas-start, while .show wasn't. This resulted in an illusion of the offcanvas waiting for the backdrop, reported in #36347. Moving the show classes below the position classes fixes this problem.
2022-05-13Prepare v5.2.0-beta1Mark Otto4-4/+4
2022-05-13tooltip: ignore `$tooltip-margin` warning for coreXhmikosR1-1/+1
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-05-08Remove leftover abbr styles in Reboot for tooltipsMark Otto1-10/+8
/cc @GeoSot
2022-05-06Fix color-adjust with autoprefixer 10.4.6 (#36258)amirhossein-karimi1-1/+1
Co-authored-by: Mark Otto <[email protected]>
2022-05-05Iterate on border utilities (#36239)Mark Otto2-15/+14
* Remove `--bs-border-opacity: 1` from `.border-*` utilities We set `--bs-border-opacity: 1` globally at the `:root` level, so redeclaring it on every `.border-*` utility doesn't make much sense. I think we can drop this. * Remove global border-opacity var, restore on .border-color classes, move .border-color utils down the list to fix some specificity issues * Add some demos of border utils to the docs
2022-05-05Handle disabled focused tabs with tab JavaScript plugin (#36169)Julien Déramond1-1/+8
* Handle disabled tabs * Fix after feedback * Update js/src/tab.js Co-authored-by: GeoSot <[email protected]> * Update js/src/tab.js Co-authored-by: GeoSot <[email protected]> * Commit suggestions via GitHub broke the thing * Add some unit tests * Remove temp doc modification * Add tests for left arrow * Add disabled tabs in JavaScript Behavior section * Compact 4 tests to 2 tests * Compact 4 tests to 2 tests * Add 'disabled' attribute for all buttons * Change the disabled pane position only for the vertical version * Change ids for the confusing first example in JavaScript behavior * Use disabled attribute instead of the class for buttons in tabs Co-authored-by: GeoSot <[email protected]>
2022-05-05Fix proposallouismaxime.piton1-46/+31
2022-04-30Add new text-bg-color utilitiesMark Otto2-0/+11
2022-04-29Revert `border-color` change (#36238)Mark Otto2-7/+9
* Revert `border-color` change * Add new border-color-translucent for when we want optional alpha-transparency in our border-color Apply to drodpowns, modals, offcanvas, popovers, and toasts * bundlewatch
2022-04-28Add input-disabled-color Sass variableMark Otto2-0/+2
2022-04-28Clean up last `$variable-prefix` usagesJulien Déramond1-2/+2
2022-04-20Update _breakpoints.scssMetadavid1-7/+7
2022-04-17v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto3-92/+135
* Add responsive offcanvas classes - Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now. - Adds some JS to the offcanvas component to help with responsiveness Co-Authored-By: GeoSot <[email protected]> * Redesign homepage, docs, and examples Homepage: - New Bootstrap purple navbar - Redesigned masthead - Rewrote and redesigned homepage content - Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances - Fixed padding issues in site footer - Match homepage button styles to examples page, use gap instead of tons of responsive margin utils Docs: - New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles. - New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings - Sidebar navigation autoscrolls to active link for better usability - Subnav and navbar padding issues ironed out - Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version. - Redesign callouts to add more color to our pages - Collapse table of contents on mobile - Cleanup and redesign button styles with CSS variables - Update design for subnav version dropdown - Update highlight and example to be full-width until md - Improve the Added In badges - Turn the ToC into a well on mobile - Redesign code snippets to better house two action buttons Examples: - Redesign Examples page layout - Add new example for responsive offcanvases in navbars * Convert offcanvas to CSS vars * Feat: add resize handler to Offcanvas.js. If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior The `aria-modal` addon is to protect us, selection backdrop elements * Separate examples code, Add some selectors, fix stackblitz btn Co-authored-by: GeoSot <[email protected]>
2022-04-16Minor fixeslouismaxime.piton2-3/+3
2022-04-12Add black to colors mapRyan Buckley1-0/+1
2022-04-12Fix space between popover's arrow and triggering element (#35976)Julien Déramond1-5/+6
* Fix margin between popover arrow and triggering element * Oups-use .25 increment for bundlewatch Co-authored-by: Mark Otto <[email protected]>
2022-04-12Fix proposallouismaxime.piton1-0/+1
2022-04-12Changing the CSS var managementlouismaxime.piton1-14/+5
2022-04-12Remove tooltip and popover styling as it is handled by Popper (#34627)GeoSot3-7/+2
* Remove not needed css form tooltip & popover as it is made by popper Remove tooltip margin variable, as popper needs margin to be zero * Remove popover left/top initializers as they are handled by popper * nullify `margin` variable and add deprecation message * Document change in migration guide * Update _variables.scss Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2022-04-11Improve use of CSS vars in ToastsJulien Déramond1-2/+3
2022-04-11Add CSS vars for accordions (#36148)Julien Déramond1-16/+27
* Add CSS vars for accordions * Fix Bundlewatch
2022-04-08Update devDependencies (#36120)XhmikosR4-4/+4
* Update devDependencies * @babel/core ^7.17.8 → ^7.17.9 * @popperjs/core ^2.11.4 → ^2.11.5 * clean-css-cli ^5.5.2 → ^5.6.0 * eslint-plugin-import ^2.25.4 → ^2.26.0 * find-unused-sass-variables ^4.0.3 → ^4.0.4 * karma-rollup-preprocessor ^7.0.8 → ^7.0.7 * sass ^1.49.11 → ^1.50.0 * stylelint 14.2.0 → ^14.6.1 * Fix currentcolor case
2022-04-07Revert border-color utilities to use the CSS property instead of the variableMark Otto1-2/+1
2022-04-06New CSS varlouismaxime.piton2-1/+3
2022-04-06Fix for missing CSS variables on `.navbar-nav` (#36105)Mark Otto1-15/+8
* Fix for missing CSS variables on .navbar-nav * Document new CSS vars on .navbar-nav
2022-04-06Bring back webkit calendar picker indicator for datalists (#35406)Neeraj Kumar Das1-3/+3
* Bring back webkit calendar picker indicator for datalists * Replace webkit datalist indicator with Bootstrap Icons * Use default datalist icons on date or time inputs in Chrome Remove the dropdown arrow from text type inputs * Bundlewatch Co-authored-by: Mark Otto <[email protected]>
2022-04-04Use new CSS vars (#36098)Louis-Maxime Piton1-8/+8
* Proposal to use new CSS var when it could be used. * Bundlewatch Co-authored-by: Mark Otto <[email protected]>
2022-04-04Adding CSS var to list-group-item-actionlouismaxime.piton1-5/+10
2022-03-31Adding @include everytime it's not the caselouismaxime.piton6-8/+7
2022-03-31Reuse all breadcrumb CSS vars availableJulien Déramond1-2/+2
2022-03-31Fix duplicate border radius CSS var definitionJulien Déramond1-1/+0
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto5-108/+206
* 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-03-24Define Pagination font size CSS var (#35917)Julien Déramond2-0/+5
Co-authored-by: Mark Otto <[email protected]>
2022-03-22Convert list group to CSS variables (#35862)Mark Otto1-18/+33
* Convert list-group to CSS vars * bundlewatch
2022-03-19v5.2.0 migration updates (#36038)Mark Otto1-28/+28