diff options
author | Mark Otto <markdotto@gmail.com> | 2017-05-29 08:50:57 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2017-05-30 09:32:28 +0300 |
commit | 3e76d6565603fafa2c85ad81d7b6345c4e279c72 (patch) | |
tree | fad0aa6a4a70cafb4a803bd920d6ae2fa44dc466 /_data | |
parent | 32153eb7cba316b873e82cd7b9362c92ca00eddf (diff) |
Rearrange all the docs to allow for a docs/major.minor/ setup
Diffstat (limited to '_data')
-rw-r--r-- | _data/breakpoints.yml | 29 | ||||
-rw-r--r-- | _data/browser-bugs.yml | 471 | ||||
-rw-r--r-- | _data/browser-features.yml | 159 | ||||
-rw-r--r-- | _data/core-team.yml | 39 | ||||
-rw-r--r-- | _data/nav.yml | 85 | ||||
-rw-r--r-- | _data/showcase.yml | 19 | ||||
-rw-r--r-- | _data/translations.yml | 19 |
7 files changed, 821 insertions, 0 deletions
diff --git a/_data/breakpoints.yml b/_data/breakpoints.yml new file mode 100644 index 0000000000..3c8cfe293c --- /dev/null +++ b/_data/breakpoints.yml @@ -0,0 +1,29 @@ +- breakpoint: xs + abbr: "" + name: Extra small + min-width: 0px + container: "" + +- breakpoint: sm + abbr: -sm + name: Small + min-width: 576px + container: 540px + +- breakpoint: md + abbr: -md + name: Medium + min-width: 768px + container: 720px + +- breakpoint: lg + abbr: -lg + name: Large + min-width: 992px + container: 960px + +- breakpoint: xl + abbr: -xl + name: Extra large + min-width: 1200px + container: 1140px diff --git a/_data/browser-bugs.yml b/_data/browser-bugs.yml new file mode 100644 index 0000000000..256d268756 --- /dev/null +++ b/_data/browser-bugs.yml @@ -0,0 +1,471 @@ +- + browser: > + Edge + summary: > + Visual artifacts in scrollable modal dialogs + upstream_bug: > + Edge#9011176 + origin: > + Bootstrap#20755 + +- + browser: > + Edge + summary: > + Native browser tooltip for `title` shows on first keyboard focus (in addition to custom tooltip component) + upstream_bug: > + Edge#6793560 + origin: > + Bootstrap#18692 + +- + browser: > + Edge + summary: > + Hovered element still remains in `:hover` state after scrolling away. + upstream_bug: > + Edge#5381673 + origin: > + Bootstrap#14211 + +- + browser: > + Edge + summary: > + When hovering over a `<select>` menu item, the cursor for the element underneath the menu is displayed. + upstream_bug: > + Edge#817822 + origin: > + Bootstrap#14528 + +- + browser: > + Edge + summary: > + CSS `border-radius` sometimes causes lines of bleed-through of the `background-color` of the parent element. + upstream_bug: > + Edge#3342037 + origin: > + Bootstrap#16671 + +- + browser: > + Edge + summary: > + `background` of `<tr>` is only applied to first child cell instead of all cells in the row + upstream_bug: > + Edge#5865620 + origin: > + Bootstrap#18504 + +- + browser: > + Edge + summary: > + `@-ms-viewport{width: device-width;}` has side-effect of making scrollbars auto-hide + upstream_bug: > + Edge#7165383 + origin: > + Bootstrap#18543 + +- + browser: > + Edge + summary: > + Background color from lower layer bleeds through transparent border in some cases + upstream_bug: > + Edge#6274505 + origin: > + Bootstrap#18228 + +- + browser: > + Edge + summary: > + Hovering over descendant SVG element fires `mouseleave` event at ancestor + upstream_bug: > + Edge#7787318 + origin: > + Bootstrap#19670 + +- + browser: > + Edge + summary: > + Active `position: fixed;` `<button>` flickers when scrolling + upstream_bug: > + Edge#8770398 + origin: > + Bootstrap#20507 + +- + browser: > + Firefox + summary: > + `.table-bordered` with an empty `<tbody>` is missing borders. + upstream_bug: > + Mozilla#1023761 + origin: > + Bootstrap#13453 + +- + browser: > + Firefox + summary: > + If the disabled state of a form control is changed via JavaScript, the normal state doesn't return after refreshing the page. + upstream_bug: > + Mozilla#654072 + origin: > + Bootstrap#793 + +- + browser: > + Firefox + summary: > + `focus` events should not be fired at the `document` object + upstream_bug: > + Mozilla#1228802 + origin: > + Bootstrap#18365 + +- + browser: > + Firefox + summary: > + Wide floated table doesn't wrap onto new line + upstream_bug: > + Mozilla#1277782 + origin: > + Bootstrap#19839 + +- + browser: > + Firefox + summary: > + Mouse sometimes not within element for purposes of `mouseenter`/`mouseleave` when it's within SVG elements + upstream_bug: > + Mozilla#577785 + origin: > + Bootstrap#19670 + +- + browser: > + Firefox + summary: > + `position: absolute` element that's wider than its column renders differently than other browsers + upstream_bug: > + Mozilla#1282363 + origin: > + Bootstrap#20161 + +- + browser: > + Firefox + summary: > + Layout with floated columns breaks when printing + upstream_bug: > + Mozilla#1315994 + origin: > + Bootstrap#21092 + +- + browser: > + Firefox (Windows) + summary: > + Right border of `<select>` menu is sometimes missing when screen is set to uncommon resolution + upstream_bug: > + Mozilla#545685 + origin: > + Bootstrap#15990 + +- + browser: > + Firefox (OS X & Linux) + summary: > + Badge widget causes bottom border of Tabs widget to unexpectedly not overlap + upstream_bug: > + Mozilla#1259972 + origin: > + Bootstrap#19626 + +- + browser: > + Chrome (Android) + summary: > + Tapping on an `<input>` in a scrollable overlay doesn't scroll the `<input>` into view + upstream_bug: > + Chromium#595210 + origin: > + Bootstrap#17338 + +- + browser: > + Chrome (OS X) + summary: > + Clicking above `<input type="number">` increment button flashes the decrement button. + upstream_bug: > + Chromium#419108 + origin: > + Offshoot of Bootstrap#8350 & Chromium#337668 + +- + browser: > + Chrome + summary: > + CSS infinite linear animation with alpha transparency leaks memory. + upstream_bug: > + Chromium#429375 + origin: > + Bootstrap#14409 + +- + browser: > + Chrome + summary: > + `:focus` `outline` style causes cursor to not be displayed when toggling a `readonly` `<input>` to read-write. + upstream_bug: > + Chromium#465274 + origin: > + Bootstrap#16022 + +- + browser: > + Chrome + summary: > + `table-cell` borders not overlapping despite `margin-right: -1px` + upstream_bug: > + Chromium#568691 + origin: > + Bootstrap#17438, Bootstrap#14237 + +- + browser: > + Chrome + summary: > + Clicking scrollbar in `<select multiple>` with overflowed options will select nearby `<option>` + upstream_bug: > + Chromium#597642 + origin: > + Bootstrap#19810 + +- + browser: > + Chrome + summary: > + Don't make `:hover` sticky on touch-friendly webpages + upstream_bug: > + Chromium#370155 + origin: > + Bootstrap#12832 + +- + browser: > + Chrome (Windows & Linux) + summary: > + Animation glitch when returning to inactive tab after animations occurred while tab was hidden. + upstream_bug: > + Chromium#449180 + origin: > + Bootstrap#15298 + +- + browser: > + Chrome (Linux) + summary: > + `<select>`'s pop-up menu is blank on some systems. + upstream_bug: > + Chromium#510079 + origin: > + Bootstrap#21120 + +- + browser: > + Safari + summary: > + `rem` units in media queries should be calculated using `font-size: initial`, not the root element's `font-size` + upstream_bug: > + WebKit#156684 + origin: > + Bootstrap#17403 + +- + browser: > + Safari + summary: > + Link to container with id and tabindex results in container being ignored by VoiceOver (affects skip links) + upstream_bug: > + WebKit#163658 + origin: > + Bootstrap#20732 + +- + browser: > + Safari (OS X) + summary: > + `px`, `em`, and `rem` should all behave the same in media queries when page zoom is applied + upstream_bug: > + WebKit#156687 + origin: > + Bootstrap#17403 + +- + browser: > + Safari (OS X) + summary: > + Weird button behavior with some `<input type="number">` elements. + upstream_bug: > + WebKit#137269, Safari#18834768 + origin: > + Bootstrap#8350, + Normalize#283, + Chromium#337668 + +- + browser: > + Safari (OS X) + summary: > + Small font size when printing webpage with fixed-width `.container`. + upstream_bug: > + WebKit#138192, Safari#19435018 + origin: > + Bootstrap#14868 + +- + browser: > + Safari (iOS) + summary: > + `transform: translate3d(0,0,0);` rendering bug. + upstream_bug: > + WebKit#138162, Safari#18804973 + origin: > + Bootstrap#14603 + +- + browser: > + Safari (iOS) + summary: > + Text input's cursor doesn't move while scrolling the page. + upstream_bug: > + WebKit#138201, Safari#18819624 + origin: > + Bootstrap#14708 + +- + browser: > + Safari (iOS) + summary: > + Can't move cursor to start of text after entering long string of text into `<input type="text">` + upstream_bug: > + WebKit#148061, Safari#22299624 + origin: > + Bootstrap#16988 + +- + browser: > + Safari (iOS) + summary: > + `display: block` causes text of temporal `<input>`s to become vertically misaligned + upstream_bug: > + WebKit#139848, Safari#19434878 + origin: > + Bootstrap#11266, Bootstrap#13098 + +- + browser: > + Safari (iOS) + summary: > + Tapping on `<body>` doesn't fire `click` events + upstream_bug: > + WebKit#151933 + origin: > + Bootstrap#16028 + +- + browser: > + Safari (iOS) + summary: > + `position:fixed` is incorrectly positioned when tab bar is visible on iPhone 6S+ Safari + upstream_bug: > + WebKit#153056 + origin: > + Bootstrap#18859 + +- + browser: > + Safari (iOS) + summary: > + Tapping into an `<input>` within a `position:fixed` element scrolls to the top of the page + upstream_bug: > + WebKit#153224, Safari#24235301 + origin: > + Bootstrap#17497 + +- + browser: > + Safari (iOS) + summary: > + `<body>` with `overflow:hidden` CSS is scrollable on iOS + upstream_bug: > + WebKit#153852 + origin: > + Bootstrap#14839 + +- + browser: > + Safari (iOS) + summary: > + Scroll gesture in text field in `position:fixed` element sometimes scrolls `<body>` instead of scrollable ancestor + upstream_bug: > + WebKit#153856 + origin: > + Bootstrap#14839 + +- + browser: > + Safari (iOS) + summary: > + Tapping from one `<input>` to another in an overlay can cause shaking/jiggling effect + upstream_bug: > + WebKit#158276 + origin: > + Bootstrap#19927 + +- + browser: > + Safari (iOS) + summary: > + Modal with `-webkit-overflow-scrolling: touch` doesn't become scrollable after added text makes it taller + upstream_bug: > + WebKit#158342 + origin: > + Bootstrap#17695 + +- + browser: > + Safari (iOS) + summary: > + Don't make `:hover` sticky on touch-friendly webpages + upstream_bug: > + WebKit#158517 + origin: > + Bootstrap#12832 + +- + browser: > + Safari (iOS) + summary: > + Element which is `position:fixed` disappears after opening a `<select>` menu + upstream_bug: > + WebKit#162362 + origin: > + Bootstrap#20759 + +- + browser: > + Safari (iPad Pro) + summary: > + Rendering of descendants of `position: fixed` element gets clipped on iPad Pro in Landscape orientation + upstream_bug: > + WebKit#152637, Safari#24030853 + origin: > + Bootstrap#18738 diff --git a/_data/browser-features.yml b/_data/browser-features.yml new file mode 100644 index 0000000000..830a91386f --- /dev/null +++ b/_data/browser-features.yml @@ -0,0 +1,159 @@ +- + browser: > + Edge + summary: > + Focusable elements should fire focus event / receive :focus styling when they receive Narrator/accessibility focus + upstream_bug: > + A11yUserVoice#16717318 + origin: > + Bootstrap#20732 + +- + browser: > + Edge + summary: > + Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4 + upstream_bug: > + UserVoice#12299532 + origin: > + Bootstrap#19984 + +- + browser: > + Edge + summary: > + Implement [sticky positioning](http://html5please.com/#position:sticky) from CSS Positioned Layout Level 3 + upstream_bug: > + UserVoice#6263621 + origin: > + Bootstrap#17021 + +- + browser: > + Edge + summary: > + Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) + upstream_bug: > + UserVoice#6508895 + origin: > + Bootstrap#20175 + +- + browser: > + Edge + summary: > + Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled + upstream_bug: > + UserVoice#15939898 + origin: > + Bootstrap#20618 + +- + browser: > + Edge + summary: > + Implement the [`of <selector-list>` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class + upstream_bug: > + UserVoice#15944476 + origin: > + Bootstrap#20143 + +- + browser: > + Firefox + summary: > + Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled + upstream_bug: > + Mozilla#1264125 + origin: > + Mozilla#1182856 + +- + browser: > + Firefox + summary: > + Implement the [`of <selector-list>` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class + upstream_bug: > + Mozilla#854148 + origin: > + Bootstrap#20143 + +- + browser: > + Firefox + summary: > + Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) + upstream_bug: > + Mozilla#840640 + origin: > + Bootstrap#20175 + +- + browser: > + Firefox + summary: > + When virtual focus is on a button or link, fire actual focus on the element, too + upstream_bug: > + Mozilla#1000082 + origin: > + Bootstrap#20732 + +- + browser: > + Chrome + summary: > + Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled + upstream_bug: > + Chromium#642487 + origin: > + Chromium#437860 + +- + browser: > + Chrome + summary: > + Implement the [`of <selector-list>` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class + upstream_bug: > + Chromium#304163 + origin: > + Bootstrap#20143 + +- + browser: > + Chrome + summary: > + Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4 + upstream_bug: > + Chromium#576815 + origin: > + Bootstrap#19984 + +- + browser: > + Safari + summary: > + Fire a [`transitioncancel` event](https://developer.mozilla.org/en-US/docs/Web/Events/transitioncancel) when a CSS transition is canceled + upstream_bug: > + WebKit#161535 + origin: > + Bootstrap#20618 + +- + browser: > + Safari + summary: > + Implement the [`:dir()` pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/:dir) from Selectors Level 4 + upstream_bug: > + WebKit#64861 + origin: > + Bootstrap#19984 + +- + browser: > + Safari + summary: > + Implement the HTML5 [`<dialog>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) + upstream_bug: > + WebKit#84635 + origin: > + Bootstrap#20175 diff --git a/_data/core-team.yml b/_data/core-team.yml new file mode 100644 index 0000000000..7528bdc11b --- /dev/null +++ b/_data/core-team.yml @@ -0,0 +1,39 @@ +- name: Mark Otto + user: mdo + gravatar: bc4ab438f7a4ce1c406aadc688427f2c + +- name: Jacob Thornton + user: fat + gravatar: a98244cbdacaf1c0b55499466002f7a8 + +- name: Chris Rebert + user: cvrebert + gravatar: edec428c425453955f770095a7d26c50 + +- name: Julian Thilo + user: juthilo + gravatar: 0f7dd3ce58a416be5685ea6194f82b11 + +- name: XhmikosR + user: xhmikosr + gravatar: e37759b1ea0125d4e97b1e00b5eed26f + +- name: Heinrich Fenkart + user: hnrch02 + gravatar: 0d53f5d3d3d28bd470f394d98f7ef48f + +- name: Patrick H. Lauke + user: patrickhlauke + gravatar: 357f279672db832fc41a5a2f36559fcb + +- name: Thomas McDonald + user: thomas-mcdonald + gravatar: 24cd55ab1a62ffb113ab8c02f64c9301 + +- name: Gleb Mazovetskiy + user: glebm + gravatar: 729f685b8e8d7e9feed18c177c82e59b + +- name: Johann-S + user: johann-s + gravatar: d90d49733a4fe1aa461e45cb4a4fd9e3 diff --git a/_data/nav.yml b/_data/nav.yml new file mode 100644 index 0000000000..a66ed3d007 --- /dev/null +++ b/_data/nav.yml @@ -0,0 +1,85 @@ +- title: Getting started + pages: + - title: Introduction + - title: Download + - title: Contents + - title: Browsers & devices + - title: JavaScript + - title: Options + - title: Build tools + - title: Best practices + - title: Webpack + - title: Accessibility + +- title: Layout + pages: + - title: Overview + - title: Grid + - title: Media object + - title: Utilities for layout + +- title: Content + pages: + - title: Reboot + - title: Typography + - title: Code + - title: Images + - title: Tables + - title: Figures + +- title: Components + pages: + - title: Alerts + - title: Badge + - title: Breadcrumb + - title: Buttons + - title: Button group + - title: Card + - title: Carousel + - title: Collapse + - title: Dropdowns + - title: Forms + - title: Input group + - title: Jumbotron + - title: List group + - title: Modal + - title: Navs + - title: Navbar + - title: Pagination + - title: Popovers + - title: Progress + - title: Scrollspy + - title: Tooltips + +- title: Utilities + pages: + - title: Borders + - title: Clearfix + - title: Close icon + - title: Colors + - title: Display + - title: Flexbox + - title: Image replacement + - title: Position + - title: Responsive helpers + - title: Screenreaders + - title: Sizing + - title: Spacing + - title: Typography + - title: Vertical align + - title: Visibility + +- title: Extend + pages: + # - title: Approach + - title: Icons + +# - title: About +# pages: +# - title: History +# - title: Team +# - title: Brand +# - title: License +# - title: Translations + +- title: Migration diff --git a/_data/showcase.yml b/_data/showcase.yml new file mode 100644 index 0000000000..435286f39b --- /dev/null +++ b/_data/showcase.yml @@ -0,0 +1,19 @@ +- name: Lyft + url: https://www.lyft.com + expo_url: https://expo.getbootstrap.com/2014/10/29/lyft/ + img: lyft + +- name: Vogue + url: http://www.vogue.com + expo_url: https://expo.getbootstrap.com/2014/09/30/vogue/ + img: vogue + +- name: Riot Design + url: http://riotdesign.eu/en/ + expo_url: https://expo.getbootstrap.com/2014/03/13/riot-design/ + img: riot + +- name: Newsweek + url: http://www.newsweek.com/ + expo_url: https://expo.getbootstrap.com/2014/02/12/newsweek/ + img: newsweek diff --git a/_data/translations.yml b/_data/translations.yml new file mode 100644 index 0000000000..52241e3d59 --- /dev/null +++ b/_data/translations.yml @@ -0,0 +1,19 @@ +- name: Chinese + code: zh + description: Bootstrap 中文文档 + url: https://v4.bootcss.com/ + +- name: Chinese + code: zh + description: Bootstrap 4 中文文档教程 + url: http://wiki.jikexueyuan.com/project/bootstrap4/ + +- name: Japanese + code: ja + description: Bootstrap 4 日本語リファレンス + url: http://bootstrap4.jp/ + +- name: Brazilian Portuguese + code: pt-BR + description: Bootstrap 4 Português do Brasil + url: https://bootstrapbrasil.github.io/v4/ |