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

270 Commits

Author SHA1 Message Date
Patrick H. Lauke
05d88ca285 Fix docs horizontal scrollbar (#24878)
* Fix docs horizontal scrollbar in Components > Modal

* Add overflow to docs example class

* Drop the handleUpdate() variant

While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
2017-11-27 11:23:05 -08:00
XhmikosR
544b3ee954
Remove unused CSS. (#24872) 2017-11-25 22:01:10 +02:00
XhmikosR
e29398ee20 Remove unused file and bundle ie-emulation-modes-warning.js with docs.min.js (#24825)
* Remove the unused assets/js/ie10-viewport-bug-workaround.js.

* Combine ie-emulation-modes-warning.js with docs.min.js.
2017-11-19 13:30:10 +01:00
XhmikosR
0ff7231faa
Update popper.js to v1.12.9. (#24797) 2017-11-16 12:53:11 +02:00
Mark Otto
b42a38b886 dist 2017-11-06 22:24:24 -06:00
m5o
09ae92a0a0 descriptive docs variable naming (#24521)
* use descriptive docs btn naming

* rename `btn-bd-yellow` to `btn-bd-download`

* sort state vars

* sort state vars
  * info, warning, danger

* rename btn-bd-purple

* rename `.btn-bd-purple` to `.btn-bd-primary`

* align docs color variables

* generate $bd-purple-light color

* with http://razorltd.github.io/sasscolourfunctioncalculator/

* allow overide of docs variables
2017-11-06 14:21:03 -08:00
Mark Otto
ff4f5d4461 dist 2017-11-06 12:44:57 -08:00
Mark Otto
fceffd16c0 dist 2017-10-29 11:46:16 -07:00
XhmikosR
0d02addc5c
Remove the now unused _data/core-team.yml and the relevant scss. (#24593) 2017-10-29 17:55:28 +02:00
XhmikosR
0d71a8a738 Update popper.js to v1.12.6 and package-lock.json. (#24512) 2017-10-23 10:21:38 +03:00
Mark Otto
a79e0f9c78 dist 2017-10-22 19:40:05 -07:00
XhmikosR
52d99a887e Refactor a few selectors. (#24404)
1. move a couple of them before the more specific ones.
2. change nesting to be under the same parent selector
3. use the ampersand more
2017-10-23 00:17:28 +03:00
XhmikosR
29d58fb758 Enable stylelint's function-comma-space-after. (#24501)
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
Mark Otto
1b76b3cf2f dist 2017-10-22 12:26:15 -07:00
Gijs Boddeus
b21c822e50 Change max-height to height in documentation sidebars (#24446)
If the content of the page does not extend the full viewport height, the sidebars were shortened.
2017-10-20 10:12:38 +03:00
Mark Otto
80c909c99c dist 2017-10-18 09:29:05 -07:00
Mark Otto
e953d195f2 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-17 18:29:55 -07:00
Mark Otto
8a98bfd8c9 Merge branch 'yiq-function-update' of https://github.com/gijsbotje/bootstrap into v4-dev 2017-10-17 17:29:15 -07:00
m5o
77e975afb2 remove unused docs color variables (#24406) 2017-10-18 01:45:52 +03:00
Mark Otto
7ce2b03b1a dist 2017-10-15 15:51:44 -07:00
Gijs Boddeus
98778164e0 Merge branch 'v4-dev' into yiq-function-update 2017-10-15 11:55:02 +02:00
XhmikosR
ebc82db8ef Enable stylelint's no-duplicate-selectors rule. 2017-10-07 00:11:40 +03:00
Gijs Boddeus
48676f0e2b revert a77c13c 2017-10-04 10:55:48 +02:00
Gijs Boddeus
a77c13c403 change order off properties in _colors.scss 2017-10-04 08:51:24 +02:00
Gijs Boddeus
263190305e Merge branch 'v4-dev' into yiq-function-update 2017-10-04 08:46:03 +02:00
Mark Otto
898708dd27 dist 2017-10-02 21:48:56 -07:00
Mark Otto
acaa6d6f23 dist 2017-10-02 20:36:35 -07:00
XhmikosR
7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
Mark Otto
79c6e54af1 dist 2017-10-01 12:14:55 -07:00
Mark Otto
f5ad6e3987 dist 2017-09-30 14:28:03 -07:00
XhmikosR
e8d9a034d0 Add eslint-plugin-compat.
We can check for browser compatibility on lint time now.
2017-09-26 17:16:27 +03:00
XhmikosR
388356acdf docs: fix syntax highlighting for shell scripts. (#24103)
Switch all instances to `sh` but keep `bash` so that things won't break either way.
2017-09-26 12:30:58 +03:00
XhmikosR
5fc5485ed1 Lossy compress a few remaining PNGs. (#24097)
Before: 312 KB (320.250 bytes)
After:  253 KB (259.961 bytes)
2017-09-26 10:21:30 +03:00
XhmikosR
b4d84b9cdf Update anchor.js to v4.1.0. (#24011) 2017-09-20 12:48:38 +03:00
Michael
5951508898 Pre-cache key assets with Workboxjs. (#23533) 2017-09-15 13:37:34 +03:00
gijsbotje
cc092272ee modified the yiq to to an actual function
function only returns a value, not the attribute itself
updated every use of the former mixin to use the new function
2017-09-13 17:32:44 +02:00
Mark Otto
df47558ef6 dist 2017-09-05 21:05:12 -07:00
Johann-S
a416d32521 Update Popper.js to 1.12.3 2017-08-23 10:43:57 +03:00
XhmikosR
ef8c77d8dc Tweak ESLint rules. 2017-08-23 00:05:38 +03:00
Mark Otto
25bbfcdd7c dist 2017-08-20 12:09:33 -07:00
XhmikosR
20abbc3c16 Register a service worker. 2017-08-15 14:35:36 +03:00
XhmikosR
e9323459ab New favicons.
Include everything for most browsers to work including Android.

Kept favicon.ico to the root dir.

Also added a manifest.json for PWA.
2017-08-15 14:35:36 +03:00
Mark Otto
ca7b7cd377 dist 2017-08-14 20:23:45 -07:00
Mark Otto
52310bfd69 Rearrange margins for .highlight (#23396)
Only applies the margins to .highlight instances within .bd-content, thus negating any need for #23279.
2017-08-13 16:44:52 -07:00
Mark Otto
2be34d5ce9 dist 2017-08-13 12:59:27 -07:00
Gijs Boddeus
9a03d7efc6 fix docs modal example fade out
the z-index was only corrected for `.modal.show` which made the modal drop behind the header and backdrop when fading out
simply dropping the `.show` from this selector will correct this issue
2017-08-12 22:08:09 +02:00
XhmikosR
185fe1b444 Convert the new PNGs to 8-bit and compress them. (#23299)
Before: 354 KB (363.514 bytes)
After:  129 KB (132.748 bytes)
2017-08-11 15:25:12 +03:00
Mark Otto
17232b2db4 docs dist 2017-08-10 20:49:00 -07:00
Mark Otto
0356a1417a Merge branch 'new-home' into v4-dev 2017-08-10 20:46:25 -07:00
Mark Otto
7a5dd0d1ce dist 2017-08-10 20:43:53 -07:00