aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/utilities
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR17-2421/+0
2021-08-03Document the utility API's new css-var booleanMark Otto3-39/+149
Co-Authored-By: Gaël Poupard <[email protected]>
2021-08-03Update color and background-color utilitiesMark Otto2-0/+95
- 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
2021-06-22Add utility classes for opacity (#33781)harishhalodoc1-0/+30
* Add responsive utility classes for opacity - fix for #33483 * remove responsive opacity utils as it has impact on bootstrap.css bundle size * Update opacity.md * Update site/content/docs/5.0/utilities/opacity.md Co-authored-by: Mark Otto <[email protected]> * Update site/content/docs/5.0/utilities/opacity.md Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Harish <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: alpadev <[email protected]>
2021-06-14Add important to utilities, mention it's usage and global variableMark Otto1-45/+49
2021-05-22Document how to make utilities responsive using the API (#34062)Mark Otto1-0/+51
2021-05-08Fix value (#33868)Jaume Sala1-1/+1
2021-05-04Neutralise more words from placeholder text (#33731)Patrick H. Lauke1-4/+4
* Neutralise more words from placeholder text Follow-up to https://github.com/twbs/bootstrap/pull/33726 * Match fullscreen modal to other sizes * Ditch the lyrics outright * Rewrite and tweak the blog example some * update cheatsheet * text utils copy too * Fix the tbody validation error * fix typo Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: alpadev <[email protected]> Co-authored-by: alpadev <[email protected]>
2021-04-14Correct the heading for the States sectionMark Otto1-1/+1
2021-03-30The spacing margin side identifiers 's' and 'e' may be intuitive for many ↵John1-2/+2
but explicitly helping users associate the abbreviations to 'start' and 'end' should help people migrate from version 4 with less friction
2021-03-17Utilities to Utilities API (Borders doc page) (#33380)Semih Raif Gürel1-1/+1
2021-03-10Fix Flex utilities to add vertical space in exampleGarrett Johnson1-1/+1
The `justify-content-around` example is missing a `mb-3` class because it is not the last example.
2021-03-02Add an example of v4's media component in the flex utils docs (#33207)Mark Otto1-0/+28
* Add an example of v4's media component in the flex utils docs * Link to new example from Migration guide Co-authored-by: XhmikosR <[email protected]>
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto12-2/+134
* 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]>
2021-02-03Update docs for color and bg utilitiesMark Otto3-34/+121
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-25Replace .bg-white with .bg-body in docsVino Rodrigues2-3/+4
Response to issue #32810 Use of the .bg-white class to define visual aspects of the examples would be unintuitive for theme builders to test themes on. This replaces instances of .bg-white with .bg-body in the examples. - Edited examples to replace use .bg-white class with .bg-body class - product - offcanvas - pricing - cheatsheet - cheatsheet-rtl - Edited utilities colors.md & shadows.md to include .bg-body class
2021-01-13Improve docs regarding RTL migration (#32771)Gaël Poupard1-0/+19
* docs(migrations): add a note regarding migration from v4 used for RTL layouts * docs(RTL): LTR & RTL at the same time * docs(utilities): how-to use the API to rename utilities * docs(RTL): mention issue when nesting styles with .ltr / .rtl
2021-01-05Fixes #32557: Add functions and variables to the utilities API docs imports ↵Mark Otto1-1/+7
(#32684) Co-authored-by: XhmikosR <[email protected]>
2020-12-21API docs: add missing comma (#32543)XhmikosR1-1/+1
2020-12-11Replace Lorem Ipsum placeholder text with more representative (or at least ↵Patrick H. Lauke1-4/+4
english language) text (#32246) Replaces shorter examples with more sensible/representative/inforrmative text. For longer passages, resorted to using SFW extracts from http://katyperryipsum.com/
2020-12-10Typo: show on xxl, if only xl should be hidden. (#32287)Thomas Güttler1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-12-04Add `.translate-middle-x` and `.translate-middle-y` utilitiesMartijn Cuppens1-0/+16
2020-12-04docs(examples): new cheatsheet and RTL examplesGaël Poupard8-54/+87
2020-11-19Fix a few typos (#32204)XhmikosR1-1/+1
2020-11-17Fix the marker SVG color to match the button (#32174)Christian Oliff1-1/+1
2020-11-13Move states docs and rewrite to match existing examplesMark Otto1-56/+34
2020-11-13Add hover utilitiesNikita Mikhaylov1-0/+56
remome several hobers refactoring hover utilities refactoring hover utilities
2020-11-13Add hyphen between Sass and based (#32134)Jonathan1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-11-08Add .gap utilities (#32074)Mark Otto1-5/+21
* Add gap utilities * Update .bundlewatch.config.json * Revamp headings on this page for better organization Co-authored-by: XhmikosR <[email protected]>
2020-11-06Add .d-grid to our display utilities (#32066)Mark Otto1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2020-11-05Big copy edits and testingMark Otto1-15/+25
Moves the remote utilities section to the using the api section and updates the code snippet to work. Previous one removed all utilities.
2020-11-05docs: add info on modifying and adding utilitiesLuke-zhang-041-0/+42
2020-11-05Editing and formatting utilities API pageMark Otto1-160/+81
2020-10-31Contrast colors added to theme-colors (#30044)Sead Memic1-3/+3
* Contrast colors added to theme-colors * redundant colors removed froms docs, theme-colors refactor * Add spaces for consistency * Adapt to the recent changes Co-authored-by: Sead Memic <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-10-30Updated .rounded utilities (#31687)Mark Otto1-7/+7
* 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: XhmikosR <[email protected]>
2020-10-29Minor Markdown fixes (#32009)XhmikosR1-1/+1
* add missing language after fenced block * add missing end of file newline
2020-10-26v5: Add .fs-* utilities for font-size and rename font-weight/-style ↵Mark Otto1-8/+25
utilities (#30571) * 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: Martijn Cuppens <[email protected]>
2020-10-19docs: switch to fenced codeblocks (#31806)XhmikosR6-40/+40
2020-10-13Update copy and add utilities to exampleMark Otto1-3/+3
2020-10-13Adding overflow visible as utilGaurav Behere1-1/+9
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR4-10/+10
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-12Improve callout shortcode. (#31802)XhmikosR4-10/+10
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-10-05docs: fix contrast color against `.bg-info` (#31839)Gaël Poupard1-2/+2
* docs(badge): ensure info badge's contrast * docs(colors): fix contrasts in example using .bg-info * Update card.md Co-authored-by: XhmikosR <[email protected]>
2020-09-20Extra position utilities (#31280)Jaume Sala1-1/+83
* 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: XhmikosR <[email protected]>
2020-09-16Docs: Fix vertical align linkkyletsang1-1/+1
2020-09-09Add border width utility (#31484)Mauricio Hernan Cabrera1-0/+10
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-08-17Remove 'both' as its no longer just 2 breakpoints (now that XXL is there)Christian Oliff1-1/+1
2020-08-03Added opacity-75 and opacity-50 classesMohammad Ali Shahbazi1-0/+31
2020-08-03Fixed typo in docs v5 (Utilities/API) pageMohammad Ali Shahbazi1-4/+4
2020-07-10Reword slightly awkward-sounding descriptionPatrick H. Lauke1-1/+1