0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Commit Graph

7661 Commits

Author SHA1 Message Date
Mark Otto
723a03cc43 update examples link and add a redirect 2017-05-29 23:32:28 -07:00
Mark Otto
b2c1e89c6a update urls 2017-05-29 23:32:28 -07:00
Mark Otto
d326df63f2 revamp some files 2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00
Mark Otto
32153eb7cb customize focus state 2017-05-28 22:23:27 -07:00
Mark Otto
9fc9977a25 purple sidebar 2017-05-28 21:40:23 -07:00
Mark Otto
64c548527a add new var, update alignment 2017-05-28 21:40:15 -07:00
Mark Otto
c043c0a5ba remove footer from docs pages 2017-05-28 21:40:05 -07:00
Mark Otto
9cf11d71dd move algolia overrides to separate scss partial 2017-05-28 21:24:44 -07:00
Mark Otto
f894dd4a24 move docs vars to new scss partial 2017-05-28 21:24:29 -07:00
Mark Otto
66011fb74c more algolia design tweaks 2017-05-28 21:21:50 -07:00
Mark Otto
69b5178c0a shorter title 2017-05-28 19:48:44 -07:00
Mark Otto
fc045e0e76 html linting 2017-05-28 19:47:22 -07:00
Mark Otto
a9fccc8813 jobs url added 2017-05-28 19:36:03 -07:00
Mark Otto
d4a1244c60 fix font-size and borders 2017-05-28 18:01:24 -07:00
Mark Otto
251c7be168 hide social on mobile for now 2017-05-28 18:01:14 -07:00
Mark Otto
f2fb861308 fix font-size to compute to 14px even 2017-05-28 18:01:08 -07:00
Mark Otto
31613b55de .bd-lead refinement for mobile 2017-05-28 18:00:38 -07:00
Mark Otto
bef65b17dc fix homepage 2017-05-28 17:52:52 -07:00
Mark Otto
930012f29a try out a different navbar approach 2017-05-28 17:49:46 -07:00
Mark Otto
9c4d588f0b new styles for docsearch 2017-05-28 16:16:13 -07:00
Maxime Locqueville
c709ce19a5 add docsearch 2017-05-28 16:15:08 -07:00
Mark Otto
10ca9c6d5a add jekyll include parameters 2017-05-28 13:40:25 -07:00
Mark Otto
9c1f0c94e4 update svgs 2017-05-28 11:26:13 -07:00
Mark Otto
f682dec5c2 new toc in utils and about and extend 2017-05-28 11:25:59 -07:00
Mark Otto
c72cc98bd5 update components docs 2017-05-27 23:01:14 -07:00
Mark Otto
5a3a356651 revisit how we do these heading examples because the jekyll-toc plugin renders them awkwardly 2017-05-27 22:40:00 -07:00
Mark Otto
968c0c6971 update content docs 2017-05-27 22:16:44 -07:00
Mark Otto
fdf4b7be5f hide third level toc and deeper 2017-05-27 22:12:18 -07:00
Mark Otto
fa2731b626 update layout pages 2017-05-27 22:12:00 -07:00
Mark Otto
1f43d9c066 revamp getting started docs to use new toc 2017-05-27 22:03:48 -07:00
Mark Otto
fa413aece1 prep the navbar for some old version stuff 2017-05-27 22:03:17 -07:00
Mark Otto
27a98e014a fix viewbox 2017-05-27 21:44:50 -07:00
Mark Otto
a3f7639728 swap kramdown toc for jekyll-toc plugin, update page layout to only show on xl and above 2017-05-27 21:44:42 -07:00
Mark Otto
3b8202db93 update nav to use logo at all times 2017-05-27 21:43:52 -07:00
Mark Otto
ed3b308c27 purple nav 2017-05-27 20:10:35 -07:00
Mark Otto
0322e7e83b remove top/bottom padding 2017-05-27 20:10:02 -07:00
Mark Otto
07ef129fc6 always show docs search 2017-05-27 18:47:59 -07:00
Mark Otto
f6b7c38c9b finesse the docs layout 2017-05-27 18:47:45 -07:00
Mark Otto
3c838067a6 redesign sidebar a bit 2017-05-27 18:30:58 -07:00
Mark Otto
5b66579e4d make it big screen friendly 2017-05-27 18:24:00 -07:00
Mark Otto
8627c506f7 more responsive docs nav 2017-05-27 18:12:45 -07:00
Mark Otto
7c9efe786a move .scss-lint.yml to route dir instead of symlink (which didn't work) 2017-05-27 17:54:23 -07:00
Mark Otto
9dbe77a0b0 explicit styles 2017-05-27 17:37:34 -07:00
Mark Otto
6bf63cbe67 hack the headings for sticky header so shit doesn't overlap 2017-05-27 17:37:25 -07:00
Mark Otto
33b322e9b5 position the markdown toc on the right for larger screens 2017-05-27 17:37:03 -07:00
Mark Otto
ded32a682a new nav styles 2017-05-27 17:36:35 -07:00
Mark Otto
4564f7e3ef give the navbar a fixed height so we can position other sticky elements more reliably 2017-05-27 17:36:20 -07:00
Mark Otto
ca6c23161f moved file 2017-05-27 17:35:52 -07:00
Mark Otto
e1cd3c7c2b remove ads from in these pages, move some content to descriptions 2017-05-27 17:35:43 -07:00
Mark Otto
1029a35f74 Add a symlink to the scss-lint for doing local dev 2017-05-27 17:34:32 -07:00
Mark Otto
480944e66e • Add SVGs for GitHub, Slack, and Twitter
• Move the Bootstrap SVG into the same folder
2017-05-27 17:34:17 -07:00
Mark Otto
456d6a07f0 style our svg icons in the navbar 2017-05-27 17:31:55 -07:00
Mark Otto
bf0fcd7a96 drop navbar search for download button and social icons 2017-05-27 17:31:28 -07:00
Mark Otto
56415b18c6 full width navbar too 2017-05-27 17:30:28 -07:00
Mark Otto
c91da107ad make the body full width 2017-05-27 17:30:07 -07:00
Mark Otto
8f67ac19a7 Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-27 15:26:48 -07:00
Geremia Taglialatela
db44e4b311 Update nav and navbar HTML markup
According to the docs, you just need to apply the `navbar-nav` to an
`<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to
override all the css properties set by `nav`.

Also, `nav-item` class should be used only for `<li>` tags, or in
conjunction with `<a>` tags to entirely avoid the list-based approach.

This commit removes the redundant `nav` class from `navbar-nav` `<ul>`
tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly
adds `nav-item` class to `<li>` tags where missing.

Refs:

* https://v4-alpha.getbootstrap.com/components/navs/
* https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-27 15:21:49 -07:00
Mark Otto
8a6642bbff rename section 2017-05-27 14:38:37 -07:00
Mark Otto
6c3f833076 Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined 2017-05-26 22:28:09 -07:00
Mark Otto
f3acf9d890 custom forms example with new grid styles 2017-05-26 21:54:35 -07:00
Mark Otto
9e6644a206 Update forms docs to add more headings and move the huge type example into a table 2017-05-26 21:54:25 -07:00
Mark Otto
04724939a3 Merge branch 'v4-dev' into form-tweaks 2017-05-26 21:22:08 -07:00
Hugh Bellamy
4a8728d54c Update migration docs for .has-error rename 2017-05-26 20:54:39 -07:00
Mark Otto
733c092681 Drop CSS icons for SVGs (#22708)
* add the svg icon as a partial so we can include it easily

* add the icon to the homepage

* drop .bd-booticon for svgs here

* rip out the import for .bd-booticon sass file

* Delete _booticon.scss

* indentation

* Update bootstrap-icon.html

* remove those
2017-05-26 20:54:12 -07:00
Mark Otto
b872a6f807 build 2017-05-26 20:21:29 -07:00
Mark Otto
4282d892f3 build 2017-05-26 20:20:10 -07:00
Mark Otto
e0e1e849e6 document more form layout options with grid, including some compact .gutters-sm examples 2017-05-26 20:15:30 -07:00
Mike Cooper
c8c51186f5 update equal-width numbering in docs (#22697) 2017-05-26 11:06:25 -07:00
Idan Cohen
fc5e8b9415 add webpack to documentation (#22423)
* add webpack to documentation"

implementing PR comments

implementing PR comments

* replace tether with popper
2017-05-25 21:01:07 -07:00
Ayachii
5fa262adec Fix 22643 - Readme links to vanished file (#22647)
* Fixed dead link to browser list

The link to the list of browsers supported through Autoprefixer was dead, now updated to a working link.

* Updated label to display new file path

Changed the labeling on the updated link to show read as the new updated file path.
2017-05-24 21:50:22 -07:00
Johann-S
f5527c65f1 Fix fallbackPlacement default value for Popovers documentation 2017-05-24 15:10:26 +02:00
Johann-S
cc303d5d26 Update Popper.js to 1.9.9 2017-05-24 14:57:40 +02:00
Johann-S
9e894991b0 Update documentation for Tooltips/Popovers about auto placement 2017-05-24 14:57:40 +02:00
Johann-S
460ff235fa Documentation display tooltips/popovers arrows with css for static examples 2017-05-23 15:19:54 +02:00
Laussel Loïc
be742b0f5c fix tooltip documentation page missing classname prefix "bs-" to popover top 2017-05-17 16:54:28 +02:00
Johann-S
dd78950d0a Update Popper.js 1.9.4 2017-05-17 14:22:10 +02:00
Johann-S
3719ed4cb6 build 2017-05-16 10:09:48 +02:00
Anand Chowdhary
183205afb8 Change "Max CDN" to "MaxCDN" 2017-05-14 11:58:26 +02:00
Johann-S
21c3864134 Update Popper.js 1.9.3 2017-05-14 11:41:19 +02:00
Johann-S
c78cbb275b Change fallbackPlacement to flip by default for Tooltips/Popovers 2017-05-14 11:41:19 +02:00
Johann-S
0ae9d28ba3 Add fallbackPlacement option for Tooltip and Popover 2017-05-14 11:41:19 +02:00
Johann-S
3cfa5e8c05 Update Popper.js 1.9.1 + Update documentation about Dropdown placement 2017-05-14 11:41:19 +02:00
Johann-S
85f41309e2 Documentation - fix examples for Tooltip and Popovers (display arrow) 2017-05-14 11:41:19 +02:00
Johann-S
4f882a840c Allow to disable flip behaviour on Dropdown + documentation 2017-05-14 11:41:19 +02:00
Johann-S
458b3cc4a3 Update Popper.js 1.8.2 2017-05-14 11:41:19 +02:00
Johann-S
e5a0471b0b Add an update method to allow to update position for Tooltip/Popover/Dropdown manually 2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626 Fix some css for the arrow of Popover/Tooltip + update documentation 2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5 Remove totaly Tether from documentation + dependencies 2017-05-14 11:41:19 +02:00
Johann-S
c4b4d534a4 Remove Tether from package.json + Update Popper 2017-05-14 11:41:19 +02:00
Johann-S
69de65180f Fix unit tests + Update Popper to 1.6.0 2017-05-14 11:41:19 +02:00
Johann-S
6cf0fe8780 Use Popper for tooltip and popover 2017-05-14 11:41:19 +02:00
Peter Blazejewicz
aa68ca3580 tooltips/popover must be hidden before their corresponding element is removed from the DOM 2017-05-09 10:51:44 +02:00
Mark Otto
ee1af53d9f Merge branch 'v4-dev' into form-tweaks 2017-05-07 17:44:57 -07:00
Patrick H. Lauke
2a4be9a0c9 Add explicit role="main" to <main> elements (#22574)
For compatibility in IE10/IE11 which don't otherwise "know" this element's role/don't expose it to AT
2017-05-05 10:22:09 +01:00
Laussel Loïc
c81be77929 Add missing <main> element to documentation
includes explicit `role="main"` for IE10/IE11 compatibility
2017-05-05 10:10:28 +01:00
Patrick H. Lauke
02d1776069 Styling and accessibility clarification for navs documentation
* Split out/expand mention that base navs lack active styles
* Add accessibility notes for navigation bars vs dynamic tabbed interfaces
2017-05-04 17:07:52 +01:00
Mark Otto
8c7fe6cf14 Merge branch 'v4-dev' into form-tweaks 2017-05-01 21:54:50 -07:00
Peter Gerdes
e00de46540 Link to package.json Fixed
The link to package.json in the v4 docs was linking to package.json in the v3 source.  Fixed to point to the correct v4 location.  A change like this will need to be made for all branches on version 4 if you want the docs to be linked correctly (github may be smart enough to follow the link to the current branch if you are on github but it was wrong from the main site).
2017-05-01 18:34:17 -05:00
Patrick H. Lauke
f7f644a4e5 Documentation cleanup (inc. use of <input ... readonly> for static form controls example)
* Fix incorrect code indentation
* Remove unnecessary vendor prefix for `box-sizing` - all modern browsers now support this unprefixed
* Remove incorrect `<label>` and change static controls to readonly inputs
* Allow `<img>` elements without `src` to allow for `holder.js` images used in the docs, which lack `src` and use `data-src` instead
2017-04-27 23:57:10 +01:00