0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

16332 Commits

Author SHA1 Message Date
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
bfdc228c41 Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-27 15:30:06 -07:00
Mark Otto
793e84400c Add docs-clean task to watch scripts
Without this, the CSS and JS files don't get copied over to the `docs/dist/` folder during development. I imagine we can simplify this and not run it twice, and instead run it once? Unsure.

/cc @johann-s
2017-05-27 15:28:41 -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
Patrick Yeo
f2829dd6ea Rename $navbar-*-toggler-bg to $navbar-*-toggler-icon-bg since it's placed on .navbar-toggler-icon (#22564) 2017-05-26 20:55:07 -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
f8c150fbe0 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-05-26 20:20:19 -07:00
Mark Otto
4282d892f3 build 2017-05-26 20:20:10 -07:00
Mark Otto
7e1497ddb8 Revert simplified grid column styles from #22376
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.

/cc @sachinsinghi
2017-05-26 20:16:12 -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
Mark Otto
a11ae7facf add a compact gutter option, .gutters-sm 2017-05-26 20:15:05 -07:00
Mike Cooper
c8c51186f5 update equal-width numbering in docs (#22697) 2017-05-26 11:06:25 -07:00
Mark Otto
2a833d559a Add box-shadow to .progress-bar (#22579)
* Add box-shadow to .progress-bar

Puts an unused variable back in use for when folks set `$enable-shadows` to `true`.
2017-05-25 21:32:59 -07:00
Mark Otto
9982626eff Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-05-25 21:16:31 -07:00
Mark Otto
24668e4a6e build 2017-05-25 21:16:23 -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
4c3b6c5ceb Placement auto for popovers 2017-05-24 14:57:40 +02:00
Johann-S
2c72af88ee Placement auto for tooltips 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
Johann-S
aa36439e17 Use Popper.js to manage arrow position 2017-05-23 15:19:54 +02:00
Catalin Zalog
3706c88348 Fix (css): force .navbar .dropdown-menu positioning 2017-05-22 16:20:58 +02:00
Johann-S
70f4a30def Better management of dropdown/dropup with alignment 2017-05-22 16:14:10 +02:00
Johann-S
b36d8ae6cb Use popper to align dropdown menu instead of using css with important 2017-05-17 22:03:11 +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
ba2352c14e Force dropdown to be displayed in position static for navbar, to override Popper css 2017-05-16 14:48:12 +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
2b403819b7 Fix tooltip margin to be stick at their caller 2017-05-14 11:41:19 +02:00
Johann-S
cc455c16c3 Fix bad position for Tooltips with animation at true 2017-05-14 11:41:19 +02:00
Johann-S
0cdf176f7a Use _jQueryInterface for Dropdown to call toggle method 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
ab7dc8ae2a Fix dropdown in scrollspy visual test (add Popper.js) 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