1. 06 Oct, 2022 1 commit
    • Daniel Raymond's avatar
      Utilities for overflow and object fit (#36848) · 708a3a0e
      Daniel Raymond authored
      
      * Added "overflow-x" and "overflow-y"
      
      - Having the same properties as overflow but for just the x and y axises
      - Usecase being I want my y axis to be scrollable but not my x axis
      - E.g a card with a vertical list of items.
      
      * Added "object-fit" utilities
      
      - The CSS object-fit property is used to specify how an <img> or <video> should be resized to fit its container.
      - A responsive alternative to using background-img for a resizable fill/fit image.
      
      * Updated documantation for the overflow utilities
      
      - Now includes docs for `overflow-x` and `overflow-y` utilities
      
      * Placeholder shortcode updated
      
      - Can now choose to render an img tag or svg
      - The image contains a base64 svg generated within the template
      - example shortcode updated to detect, replace and render preview of 'img' tags as well
      
      * New documentaion for Object Fit added
      
      - Documentation added for the 'object-fit' util
      
      * Updated spell checks issues
      
      * Update object-fit.md
      
      * Update overflow.md
      
      * Update object-fit.md
      
      * Updated markup to address HTML Validation Errors
      
      - error: Bad value  for attribute "src" on element "img": Illegal character in scheme data: space is not allowed.
      - info warning: Self-closing tag syntax in text/html documents is widely discouraged; it's unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you're using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool.
      
      * Updated Fix
      
      - Added Legibility to the img markup (example.html)
      - Fixed issue with example not working properly (because image closing tag no longer has "/>" )
      
      * update values by step of 0.25 in bundlewatch.config
      
      The following values in .bundlewatch.config.json have been updated:
      - ./dist/css/bootstrap-utilities.css
      - ./dist/css/bootstrap-utilities.min.css
      - ./dist/css/bootstrap.css
      - ./dist/css/bootstrap.min.css
      
      Co-authored-by: default avatarDaniel O <dobiekwe@byteworks.com.ng>
      Co-authored-by: default avatarMark Otto <otto@github.com>
      708a3a0e
  2. 03 Oct, 2022 2 commits
  3. 06 May, 2022 1 commit
    • Mark Otto's avatar
      Iterate on border utilities (#36239) · bca99232
      Mark Otto authored
      * 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
      bca99232
  4. 07 Apr, 2022 1 commit
  5. 13 Mar, 2022 1 commit
    • Mark Otto's avatar
      Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) · acf6ea74
      Mark Otto authored
      * Add additional root variables, rename $variable-prefix to $prefix
      
      - Adds new root CSS variables for border-radius, border-width, border-color, and border-style
      - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
      - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
      - Updates $mark-padding to be an even pixel number
      - Renames $variable-prefix to $prefix throughout
      
      * Bundlewatch
      acf6ea74
  6. 11 Mar, 2022 1 commit
  7. 02 Mar, 2022 1 commit
  8. 28 Feb, 2022 1 commit
    • Mark Otto's avatar
      Convert border utilities to CSS variables · de0dfca9
      Mark Otto authored
      - Updates the utilities mixin to check for specific CSS variable names via `css-variable`
      - Bonus fix: we now prevent local variables for `0` value utilities (e.g., `.border-top-0` no longer sets `--bs-border-opacity: 1`
      - Adds new `.border-opacity-*` classes
      - Adds new root variables: `--bs-border-color`, `--bs-border-style`, `--bs-border-width`
      - Documents the new variable changes
      de0dfca9
  9. 06 Feb, 2022 1 commit
  10. 14 Dec, 2021 1 commit
  11. 04 Aug, 2021 1 commit
    • Mark Otto's avatar
      Update color and background-color utilities · e72916e5
      Mark Otto authored
      - Adds new functions to generate additional Sass maps
      - Adds new root variables for rgb() versions of our theme colors, plus a few extras
      - Adds ability to change the alpha transparency of text color and background color utilities with new utilities, inline styles, or local CSS var
      - Updates documentation for color and background-color utilities pages
      - Deprecates .text-black-50 and .text-white-50 since those (and additional transparency levels) can be generated on the fly
      
      Change approach slightly to prevent cascade
      e72916e5
  12. 23 Jun, 2021 1 commit
  13. 11 Feb, 2021 1 commit
  14. 03 Feb, 2021 1 commit
  15. 04 Dec, 2020 2 commits
  16. 08 Nov, 2020 1 commit
  17. 06 Nov, 2020 1 commit
  18. 31 Oct, 2020 1 commit
  19. 30 Oct, 2020 1 commit
    • Mark Otto's avatar
      Updated .rounded utilities (#31687) · 241f910d
      Mark Otto authored
      
      * Updated rounded utilities to fix scale, but not rename anything else
      
      * Rename rounded-pill to border-radius-pill to match
      
      Also reorder some variables while I'm here to make more sense
      
      * Updated rounded utilities to fix scale, but not rename anything else
      
      * Rename rounded-pill to border-radius-pill to match
      
      Also reorder some variables while I'm here to make more sense
      
      * Small copy addition
      
      * Add example modifier class for spacing
      
      Co-authored-by: default avatarXhmikosR <xhmikosr@gmail.com>
      241f910d
  20. 26 Oct, 2020 1 commit
    • Mark Otto's avatar
      v5: Add .fs-* utilities for font-size and rename font-weight/-style utilities (#30571) · e5fa7084
      Mark Otto authored
      
      * v5: Add .fs-* utilities for font-size
      
      - Adds new font-sizes Sass map
      - Generates six new classes for setting only font-size
      - Updates docs to mention this, including a scss-docs reference
      
      * Update font utilities
      
      - Make .fs-* utils for font-size use RFS
      - Rename .font-weight-* utils to .fw-*
      - Rename .font-style-* utils to .f-*
      - Update order of utilities a bit
      - Update docs to match
      
      * Update migration docs to make note of these changes
      
      * Be more specific in font-size docs about scale
      
      * Update font-style abbreviation to .fst
      
      * Fix font-weight property
      
      * Formatting & font style utility fix
      
      * Move to Alpha 3 migration section
      
      * Update migration guide for more details, splitting alpha 2 stuff back to the appropriate section in Migration guide
      
      * Tweak language on example
      
      Co-authored-by: default avatarMartijn Cuppens <martijn.cuppens@gmail.com>
      e5fa7084
  21. 13 Oct, 2020 1 commit
  22. 30 Sep, 2020 1 commit
  23. 21 Sep, 2020 1 commit
    • Jaume Sala's avatar
      Extra position utilities (#31280) · 7bbfd439
      Jaume Sala authored
      
      * Extra position utilities
      
      Given that there are utilities for the *position* property, it seems logic to have utilities for the *top*, *left*, *bottom* and *right* propertires.
      
      * Update extra position utilities
      
      * add default position values map
      
      * tweak examples
      
      * add real life examples
      
      * fix double colon
      
      Co-authored-by: default avatarXhmikosR <xhmikosr@gmail.com>
      7bbfd439
  24. 09 Sep, 2020 1 commit
  25. 13 Aug, 2020 1 commit
  26. 31 May, 2020 1 commit
  27. 30 May, 2020 1 commit
  28. 15 May, 2020 1 commit
    • Martijn Cuppens's avatar
      Improve gradients · b531bda0
      Martijn Cuppens authored
      - Use a semitransparent gradient from light to dark which works on any background-color
      - Store the gradient as a custom property (--bs-gradient)
      - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled
      - Add gradients to navbar, active page links and badges when gradients are enabled
      b531bda0
  29. 15 Apr, 2020 1 commit
  30. 10 Apr, 2020 1 commit
  31. 15 Mar, 2020 1 commit
  32. 23 Feb, 2020 1 commit
  33. 14 Feb, 2020 1 commit
  34. 04 Jan, 2020 2 commits
  35. 30 Dec, 2019 1 commit
  36. 06 Dec, 2019 1 commit
  37. 27 Nov, 2019 1 commit