aboutsummaryrefslogtreecommitdiff
path: root/site/assets
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18Docs: change sidebar collapse controls to actual button elements (#31098)Patrick H. Lauke1-16/+29
apart from the visual styling, there's probably no good reason why these shouldn't be `<button>` elements, semantically the buttons still look a shade too button-like, despite using `.btn-light`. the last remnant of button styling can probably be suppressed further, *or* this makes the case for expanding the core button styles to have one that looks completely non-button and non-link like (for cases where an additional style/hint was given already, or it's clear from context that something's an actionable button or link) Co-authored-by: XhmikosR <[email protected]>
2020-11-14search.js: remove `window.location.origin` workaroundXhmikosR1-15/+1
2020-11-14Use `String.startsWith`XhmikosR1-1/+1
2020-11-14Rename docs version data attributeXhmikosR1-1/+1
2020-11-14Add `bs` in data attributesRohit Sharma2-9/+9
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-13application.js: remove non-existent selector (#32131)XhmikosR1-1/+1
2020-11-09search.js: check for `search-input` element early (#32100)XhmikosR1-2/+3
2020-11-09search.js: use the current v5.getbootstrap.com URL (#32099)XhmikosR1-1/+1
2020-11-05Add keyboard shortcut to focus search field (#31702)Mark Otto2-3/+37
* Documentation: Add slash key event to focus the input search. * Add little tag for keyboard shortcut in the search field * Use ctrl / as keyboard shortcut * Update search.js Co-authored-by: chuckrincon <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-11-05Drop Legacy Edge support.XhmikosR1-1/+0
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-02Make docs anchorjs links darker on keyboard focus (#32050)Patrick H. Lauke1-0/+1
* Make docs anchorjs links darker on keyboard focus Not just on mouse hover * Update site/assets/scss/_anchor.scss Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2020-10-28Drop custom file upload plugin in favor of CSSMartijn Cuppens2-10/+1
2020-10-23Don't wrap the code snippets in our docs (#31679)Mark Otto1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2020-10-22Update anchor-js to v4.3.0. (#31951)XhmikosR1-3/+3
2020-10-13Colors rewrite (#30622)Martijn Cuppens3-5/+5
2020-09-25v5: Adjust docs sidebar and navbar (#31119)Mark Otto4-18/+48
* Hide the docs nav on mobile, redesign it for two columns on narrow devices * Tweak spacing on ToC * Redesign sidebar and subnav * Revamp subnav mobile layout so everything's on one line * Tighten up masthead a little * Switch the icon for the subnav and do a little icon toggling * Fix mobile overflow since we changed guters stuff * Add the widths * make the subnav icon purple
2020-09-23Updates to .ratio selectors and docsMark Otto1-5/+6
- Remove group selector for ratio items - Drop the .ratio-item entirely - Update docs to explain updated approach - Update Migration guide to reflect the latest
2020-09-23Add example of responsive behavior for aspect ratiosMark Otto1-0/+9
2020-09-23Move styles to docs CSSMark Otto1-1/+4
2020-09-23Rename the classes and docs page, update everything accordinglyMark Otto1-2/+2
2020-09-23Updates responsive embeds with new class names and CSS variablesMark Otto1-0/+13
- Renames .embed-responsive-XbyY classes to .embed-responsive-XxY - Simplifies the Sass map to just be key and value, ratio and percentage - Builds .embed-responsive-* modifiers with CSS variables - Updates docs to show power of CSS variables - Add notes to the Migration guide
2020-09-22Increase margin in button examples to better highlight focus stylesMark Otto1-2/+1
2020-09-20Extra position utilities (#31280)Jaume Sala1-0/+23
* 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-10docs(layout): ensure content sits in main (#31610)Gaël Poupard1-10/+24
Co-authored-by: XhmikosR <[email protected]>
2020-09-10Update _brand.scssXhmikosR1-2/+0
2020-09-10First pass at cleaning up About pages and brand assetsMark Otto1-3/+3
2020-09-03Drop h4 color customization in callouts (#31576)Gaël Poupard1-6/+8
2020-09-02Docs: Add top/bottom margin to highlighted code samples (#31036)Patrick H. Lauke2-8/+8
* Add top/bottom margin to highlighted code samples provide more space to avoid having the "Copy" button overlap code sample content * Modify clipboard button style Per https://github.com/twbs/bootstrap/pull/31036#issuecomment-661322566 and https://github.com/twbs/bootstrap/pull/31036#issuecomment-668162630 * Tweak margin, clipboard button size and position Co-authored-by: XhmikosR <[email protected]>
2020-07-13docs(skippy): prevent skip links from overlapping headerGaël Poupard1-7/+14
2020-07-03Fix sidebar jump (#31232)Martijn Cuppens1-5/+0
2020-06-25Remove backdrop-filter from docs subnavMark Otto1-2/+1
Fixes #31163.
2020-06-16Update v5 homepage to match v4.5's changesMark Otto3-33/+26
2020-06-14Change breakpoint-max implementationMartijn Cuppens3-3/+3
- 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-06-12Stylelint: remove redundant disables (#31006)XhmikosR1-2/+0
2020-06-03Read validate-forms.js from assets.XhmikosR1-24/+0
2020-06-03Fix forms validation snippets.XhmikosR1-0/+24
2020-05-28docs(layout): improve layout when content is short (#30908)Gaël Poupard1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2020-05-26Apply utilities in docs styles (#30866)Gaël Poupard8-42/+2
* docs(theming): apply utilities where possible * Update docs-sidebar.html Co-authored-by: XhmikosR <[email protected]>
2020-05-20docs(customize/colors): dump grays swatches (unused) and merge -500 in swatchesGaël Poupard1-8/+1
2020-05-20docs(theming): display contrast ratios in color swatchesGaël Poupard1-0/+31
2020-05-19Streamline application.js exampleModal code (#30819)XhmikosR1-3/+5
* use `textContent` since we only need to add text * move comments
2020-04-30 search.js: make the check for URL stricter (#30695)XhmikosR1-6/+6
2020-04-30v5: Unify spacing across components (#30564)Mark Otto1-1/+1
Co-Authored-By: Martijn Cuppens <[email protected]>
2020-04-26Rewrite Theming docs as Customize sectionMark Otto2-0/+14
- Broke up existing theming page into separate pages - Audited and updated each new docs page (some pages include some TBD sections) - Update sidenav to reflect changes - Fix links that pointed to the old Theming page - Update docs styles to reflect recent changes - Rewrite some bits in the Migration page
2020-04-18Drop `@support (position: sticky)` media query (#30415)Martijn Cuppens1-8/+6
2020-04-14Slight adjustment to the h3 heading spacing in docsMark Otto1-1/+1
2020-04-13Update docs for new XXL grid tierMark Otto3-23/+59
- Updates mentions of number and exact tiers - Updates grid example to include xxl container - Adds some scss-docs references - Cleans up other grid mentions and docs - Updates navbar example to include an expand at XXL variant
2020-04-13Move table of contents to new sidebar, restyle it to be simplerMark Otto1-7/+27
2020-04-09Remove redundant class and line height (#30542)Martijn Cuppens1-1/+0
2020-03-31Fix active state dropdownMartijn Cuppens1-3/+1