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

400 Commits

Author SHA1 Message Date
Christian Oliff
02e0aa3b60 Don't run Google Analytics locally. (#28384) 2019-03-13 19:22:59 +02:00
Martijn Cuppens
28ad7a901e Push footer to the bottom of the page 2019-03-13 19:22:59 +02:00
XhmikosR
913f290e3d Fix 404 layout. 2019-03-13 19:22:59 +02:00
XhmikosR
46e88fb8f3 404: output to 404.html and add meta robots. 2019-03-13 19:22:59 +02:00
Christian Oliff
35c6b2b12b Create 404.md 2019-03-13 19:22:59 +02:00
XhmikosR
6a82a2ebe8 Fix the chroma fix and use Sass more. 2019-03-13 19:22:59 +02:00
Bardi Harborow
6e16720b12 Workaround problematic Chroma bash highlighting. 2019-03-13 19:22:59 +02:00
XhmikosR
e58b587a72 Add support for meta robots. 2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen
b1860eca05 Simplify browser bugs inline shortcode 2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen
69e18b9634 Fix bugify. 2019-03-13 19:22:59 +02:00
XhmikosR
04a58887cd Update syntax highlighting styles to match the Chroma ones. 2019-03-13 19:22:59 +02:00
XhmikosR
5d6e896ebb Add a docsref shortcode.
This allows for the build to fail if a reference isn't found.
2019-03-13 19:22:59 +02:00
XhmikosR
23ddfa99a3 Move this to a partial to work around the stray p issue. 2019-03-13 19:22:59 +02:00
XhmikosR
d948a3f9cb Work around the docs/ redirects.
This happens because we have the section kind enabled (needed for examples).
2019-03-13 19:22:59 +02:00
XhmikosR
850817bb09 Remove newlines in raw HTML.
This causes `p` tags which is invalid HTML.
2019-03-13 19:22:59 +02:00
XhmikosR
1afa67fca8 Remove HTML comment; it breaks rendering. 2019-03-13 19:22:59 +02:00
XhmikosR
e2fd847032 browsers-devices.md: Read .browserslistrc instead of duplicating the content. 2019-03-13 19:22:59 +02:00
XhmikosR
d95d30029f Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00
Jim Jiang
ff1788666f Remove redundant placeholders in forms docs (#28406)
* Change state field to select
* Include "Choose..." placeholder for select
* Change validated select to .custom-select
2019-03-12 15:22:39 +02:00
Johann-S
ba9caacaa5 add docs about how to use the esm version 2019-03-11 17:59:08 +02:00
XhmikosR
5bcd6a29cd Disable a few rules for now. 2019-03-11 17:01:28 +02:00
XhmikosR
46c037410b Comply to the new rules. 2019-03-11 17:01:28 +02:00
XhmikosR
44e6abcba5 Switch to eslint-config-xo and eslint-plugin-unicorn. 2019-03-11 17:01:28 +02:00
Jonathan
c8361e2adf Hyphenate server-side (#28401) 2019-03-04 15:52:13 +02:00
XhmikosR
19aee321a0
Dist (#28392) 2019-03-01 18:31:34 +02:00
XhmikosR
d5f9107abb
Remove the now unneeded shrink-to-fit directive. (#28314) 2019-02-27 17:47:41 +02:00
Bardi Harborow
428280574b Use .text-danger for IE not supported cell. (#28371) 2019-02-27 15:23:17 +02:00
Laussel Loïc
427799d075 put secondary navigation in an explicit landmark nav and add a label on each nav (#28361) 2019-02-27 13:37:52 +02:00
Laussel Loïc
fdfe1679ba add an explicit aria-label on link with svg on sample pages (#28360) 2019-02-27 13:29:29 +02:00
Johann-S
8a37045b79 move util in a util folder with the sanitizer 2019-02-26 13:04:04 +02:00
XhmikosR
5ad2121819
Remove DOMContentLoaded. (#28337)
There's no reason for us to wait here.
2019-02-24 15:42:18 +02:00
XhmikosR
7d964650ee forms.md: remove jQuery from snippet. 2019-02-20 22:05:45 +02:00
Johann-S
5877306104 download.md: reword import bootstrap section. 2019-02-20 22:05:45 +02:00
XhmikosR
2b8eebb4b8 Remove focusable="false" from SVGs. 2019-02-20 22:05:45 +02:00
XhmikosR
089e3334a7 Remove Internet Explorer leftovers. 2019-02-20 22:05:45 +02:00
XhmikosR
7f7f858cb9 Remove jQuery from docs/repo.
Some of the snippets need to be updated later.
2019-02-20 22:05:45 +02:00
Johann-S
1da5b9f76a Add information about IE 11 compatibility. 2019-02-20 22:05:45 +02:00
Peter Blazejewicz
cbd333185e Use consistent arrow class (#28105) 2019-02-20 22:05:45 +02:00
XhmikosR
709dcb98dd Convert offcanvas.js to vanilla JS. 2019-02-20 22:05:45 +02:00
XhmikosR
e04a5139ab Fix anchors wrapper. 2019-02-20 22:05:45 +02:00
Johann-S
388d16360a use Util.makeArray in our docs 2019-02-20 22:05:45 +02:00
aTable
e866b1ae43 v4 without jquery: updated button, carousel, collapse docs (#27173) 2019-02-20 22:05:45 +02:00
Johann-S
a2f1d79045 Refactor util plugin and some tests 2019-02-20 22:05:45 +02:00
Johann-S
19b836c907 update alert documentation without jquery (#27062) 2019-02-20 22:05:45 +02:00
Johann-S
cf821e1d4d fix(docs): remove jQuery from our docs 2019-02-20 22:05:45 +02:00
XhmikosR
ececf644f4
Replace uglify-js with terser. (#27813) 2019-02-19 15:51:50 +02:00
Laussel Loïc
3a61df51d7 add tabindex="-1" and aria-disabled="true" on disabled links (#28305) 2019-02-19 15:42:08 +02:00
Steve Moser
3731f0d271 Remove --save option from npm i as it isn't required anymore (#28302)
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.
2019-02-19 12:05:54 +02:00
Patrick H. Lauke
4b00aa6c4e Remove incorrect aria-haspopup from dropdown toggles (#28299)
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup)

in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.

in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.

but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +02:00
XhmikosR
ff29c1224c
Update docs and meta for 3.4.1. (#28255) 2019-02-13 19:12:01 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. (#28252) 2019-02-13 18:01:40 +02:00
Johann-S
7bc4d2e0bc Add sanitize template option for tooltip/popover plugins. 2019-02-13 08:32:15 +02:00
Martijn Cuppens
45ced606f4 Update font size (#28232) 2019-02-12 09:38:42 +02:00
Mark Otto
1ded0d6a4e
Release v4.3.0 (#28228)
* Prep for v4.3.0

* More updates for v4.3.0.

* rerun to build docs source map
2019-02-11 11:15:34 -08:00
XhmikosR
3aa0770b71
docs snippets: a few more minor tweaks (#28225)
* Remove extra comma.

* Use curly braces in snippet.
2019-02-11 11:34:02 +02:00
XhmikosR
adf16da25e toasts.md: Remove useless divs.
Instead pass the class to the example include.
2019-02-11 08:54:17 +02:00
XhmikosR
2bfe581eeb Remove stray parameter from capture. 2019-02-11 08:54:17 +02:00
XhmikosR
bbf8b768ef Cosmetic changes in snippets. 2019-02-11 08:54:17 +02:00
XhmikosR
7a9a8db7b1
docs: remove -ms-overflow-style: -ms-autohiding-scrollbar (#28220)
Similar to #28153
2019-02-10 22:13:13 +02:00
XhmikosR
24253b18e1
migration.md: use https. (#28221) 2019-02-10 22:05:16 +02:00
Martijn Cuppens
545f3fa921 Prevent text selection in placeholder images (#28218) 2019-02-09 14:21:41 +02:00
XhmikosR
6c7dcc6882
placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
It broke the example include.
2019-02-09 13:10:29 +02:00
XhmikosR
1145365f6d Reword footer text. 2019-02-08 22:51:45 +02:00
XhmikosR
bd328bf217 Use the site.repo variable. 2019-02-08 22:51:45 +02:00
XhmikosR
a920429089 Change footer link to point to the docs team page 2019-02-08 22:51:45 +02:00
XhmikosR
c56b10c147
Offcanvas example: transition the transform (#28203)
This is more efficient than transitioning the `left` property.
2019-02-08 18:08:40 +02:00
Shohei Yoshida
93dec4c67c Fix scrollable modal snippet 2019-02-07 21:33:25 -08:00
Martijn Cuppens
51375abca5
Responsive font size implementation (#23816) 2019-02-07 23:32:05 +01:00
Martijn Cuppens
bcfb7ed159 Deprecate invisible() mixin (#28066) 2019-02-07 19:19:00 +02:00
XhmikosR
c0e42cb89e
Optimize and normalize SVGs. (#28200)
Mostly be consistent with the attributes' order and improve compression when possible.
2019-02-07 15:01:25 +02:00
XhmikosR
00df9177fc Make ToC's entries' color darker.
The previous was too light.
2019-02-07 11:53:47 +02:00
XhmikosR
3473b77527 Remove unused selector. 2019-02-07 11:53:47 +02:00
XhmikosR
f663a86810 approach.md: Remove stray comma. 2019-02-07 11:53:47 +02:00
XhmikosR
30ddcafb2d Rename Screenreaders to "Screen readers".
No redirect is added because the next version will be a minor version bump.
2019-02-07 11:53:47 +02:00
XhmikosR
f0eb29cd5e Remove ToC from pages when we don't have (m)any headers. 2019-02-07 11:53:47 +02:00
Martijn Cuppens
8f4f201424 Fix .nav-justified example (#28193) 2019-02-06 23:44:44 +02:00
Patrick H. Lauke
b4cb48d9f3 Remove outdated reference to not-allowed cursor (#28188)
as this styling was removed back in 7056f70240
2019-02-06 17:12:11 +02:00
Martijn Cuppens
58470c0ac5 Fix text break in Firefox (#28063) 2019-02-06 12:38:13 +02:00
XhmikosR
8217499640 carousel.md: Highlight the whole example for consistency. 2019-02-06 11:47:31 +02:00
XhmikosR
c1ea5ac49a docs license header: split sentence in period. 2019-02-06 11:47:31 +02:00
XhmikosR
1131705f14 Add missing trailing slash. 2019-02-06 11:47:31 +02:00
Jason Golieb
e44d0475e0 Move dropdown offset function logic into private function. (#28138) 2019-02-05 10:31:18 +02:00
Jason Golieb
88a34aacbe Add support for tooltip offset option to be a function. 2019-02-05 10:24:49 +02:00
XhmikosR
1accd37aa0
examples: remove JS from blog and sticky footer. (#28173)
They don't use it.
2019-02-04 23:42:23 +02:00
Ryan Worth
1275e35336 Fix negative margin example (#28140)
Negative margin example wasn't displaying correctly due to border and background styling being applied directly to the `.col` element. Made a child element and applied the styling to it
2019-02-03 22:58:54 +02:00
XhmikosR
f134d4ba01
components: redirect to the alerts page (#28147) 2019-01-30 21:52:42 +02:00
XhmikosR
a60c595dc1 image-replacement.md: use three dots. 2019-01-29 17:21:11 +02:00
XhmikosR
be5d3de1d6 Add missing trailing slash. 2019-01-29 17:21:11 +02:00
XhmikosR
ffe05d3a9c analytics.html: use double quotes in src attribute. 2019-01-29 17:21:11 +02:00
XhmikosR
2adefeb055 build-tools.md: npm is written lowercase. 2019-01-29 17:21:11 +02:00
XhmikosR
4bec752345 migration.md: remove stray /. 2019-01-29 17:21:11 +02:00
Martijn Cuppens
5c56e9adff
Add deprecate() mixin (#28092) 2019-01-22 20:55:23 +01:00
XhmikosR
f7e8445f72
Add canonical URL. (#28093) 2019-01-21 14:59:51 +02:00
XhmikosR
cf25028640
Fix approach redirect. (#28095) 2019-01-21 14:49:55 +02:00
Martijn Cuppens
59d040fcbb Make component colors configurable (#28035) 2019-01-20 23:38:29 +02:00
Shohei Yoshida
de0bb1e052 Scrollable modal (#27769) 2019-01-20 23:28:16 +02:00
Laussel Loïc
8eb8b8d3da Examples: add tabindex="-1" and aria-disabled="true" on disabled links 2019-01-14 23:29:51 +00:00
Martijn Cuppens
93272f45f3 Add some margin below the buttons 2019-01-13 16:24:36 -08:00
Justin
8f5abf0ab0 Add new rounded sizes classes (#28011)
* update border-radius mixins

Add $enable-rounded as a keyword argument to border-raidus mixins

* Update rounded classes

- use border-radius mixins to repleace !important
- use true for $enable-rounded for rounded classes
- Add `.rounded-sm` and `.rounded-sm`  #27934

* update borders docs

* Revert touch of dist files

* Revert change of border-radius mixins

* use !important in border-radius utilies classes

* update border radius classes keep only rounded-lg and rounded-sm
2019-01-13 11:49:25 -08:00
Mark Otto
deea117293 Add form-validation-states Sass map (#27999) 2019-01-11 21:16:50 +02:00