aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.1/examples
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Prep for v4.2.0 releaseMark Otto44-3243/+0
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-13SVG accessibility fixes (#27826)Patrick H. Lauke4-12/+12
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-11-28Remove unneeded ESLint config file.XhmikosR1-11/+0
We have /site/.eslintrc.json that covers this.
2018-11-27Move examples images in assets/img/examples/ folder.XhmikosR41-3/+3
2018-11-27Use srcset for examples too.XhmikosR41-1/+3
2018-11-24prevent text selection for floating labels example (#27719)m5o1-0/+1
* prevent text selection for floating labels * expand the click target by no selecting the label text * use `pointer-events: none;` instead of `user-select` * thx @MartijnCuppens
2018-11-20Use the new include in examples too.XhmikosR5-31/+26
2018-11-15Use fancy apostrophe in HTML files.XhmikosR7-9/+9
For Markdown files, this isn't needed because the Markdown converter takes care of this.
2018-11-11Remove custom properties from examples so that they work in IE (#27634)Martijn Cuppens2-18/+9
2018-11-09Dashboard example: update 3rd-party libs and use the same CDN.XhmikosR1-2/+2
2018-11-09Add an examples layout.XhmikosR22-2599/+2180
Reduces duplication and makes maintenance easier.
2018-11-02Remove the obsolete tooltip-viewport example and redirect it.XhmikosR4-103/+4
2018-10-21Disallow transition property (use mixin instead)Martijn Cuppens1-0/+1
2018-10-21Example dashboard: Responsive padding-top of the main content (#26332)ysds1-1/+7
2018-10-21Improve Grid examples. (#26808)Martijn Cuppens3-92/+75
Removes the grid.css file of the grid example and makes use of utility classes
2018-10-15Combine examples and simple layouts.XhmikosR1-1/+1
2018-10-14Fix invalid selectors in tests and examples.XhmikosR1-1/+1
2018-09-25Fix examples after the recent JS changes.XhmikosR4-12/+12
`https://example.com` isn't a valid selector.
2018-09-18Switch to `.btn-secondary` for the search button so that it's accessible ↵Nabil Kadimi1-1/+1
(#27255)
2018-09-18docs: use the bundle dist file.XhmikosR17-34/+17
2018-09-14Use https in more places and fix a few redirects.XhmikosR2-2/+2
2018-09-03Added type="button" to <button>s without any type (#27174)Herst1-3/+3
(again) https://github.com/twbs/bootlint/wiki/W007
2018-08-25Specify new height for inputs in floating label example after v4.1.3's ↵Mark Otto1-0/+1
addition of a fixed height property on .form-control
2018-08-12Fix paths.XhmikosR2-2/+2
2018-07-24Flexbox based sticky footer example (#26674)ysds4-55/+27
* Flexbox based sticky footer * Update guide message * Use utility classes instead of custom CSS
2018-07-14Update cursor on floating labels example (#26826)Mark Otto1-0/+1
2018-07-14Merge branch 'examples-cleanup' of ↵Mark Otto6-22/+0
https://github.com/MartijnCuppens/bootstrap into MartijnCuppens-examples-cleanup
2018-07-14Merge branch 'box-shadow_issue_26377' of ↵Mark Otto11-42/+30
https://github.com/parammittal16/bootstrap into parammittal16-box-shadow_issue_26377
2018-07-11Reorganize docs for easier deploysMark Otto66-0/+3870
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.