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

460 Commits

Author SHA1 Message Date
Martijn Cuppens
1efcf7a5dc Typo fix (#28920) 2019-06-18 10:43:15 +03:00
Martijn Cuppens
83fc5a3239
Decrease number of order utilities (#28874) 2019-06-18 07:02:14 +02:00
Martijn Cuppens
2ac2a5a91e Removal of one of the most iconic components of Bootstrap: the jumbotron (#28876) 2019-06-07 14:44:25 +03:00
XhmikosR
cafbbdc3b6 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
1835004b96 Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
8c61254919 Examples: make use of core utils in more places. 2019-06-06 19:15:18 +03:00
Shohei Yoshida
543ff4e3e5 Clean component examples CSS (#28872)
* Remove unused classes/styles and use utilities instead of specific styles
* Use `getElementById` instead of `querySelector`
2019-06-06 09:04:48 +03:00
Shohei Yoshida
8437be2f33 Rename the text helper page (#28869) 2019-06-04 20:46:52 +02:00
Shohei Yoshida
3283fe1b52
Rename .text-monospace to .font-monospace (#28867) 2019-06-05 00:51:36 +09:00
Patrick H. Lauke
87030c98ac Docs: add accessibility/keyboard callout to popovers, tweak tooltips callout (#28851)
- Add same advice about keyboard/AT handling to popovers as a callout; also add information about not adding excessive content or interactive controls (and the suggestion to opt for a modal)
- Tweak the tooltips callout for consistency
2019-06-04 10:36:57 +03:00
XhmikosR
8f97e2dc52
Update devDependencies. (#28798)
Notably:

* bundlesize 0.15.3 → ^0.17.2
* eslint-plugin-unicorn ^8.0.2 → ^9.0.0
* terser ^3.17.0 → ^4.0.0
2019-06-03 14:26:52 +03:00
Jay Pinho
91d07fb26c Make example description more accurate (#28842) 2019-05-29 18:17:40 +03:00
Martijn Cuppens
769c8d8246
Helpers & utilities split (#28445) 2019-05-23 11:56:03 +02:00
Martijn Cuppens
a4a04cd9ec
.sr-only & .sr-only-focusable tweaks (#28720)
* Prevent .sr-only-focusable overriding properties when being focused

* Typo
2019-05-20 10:03:51 +02:00
Christian Oliff
2d6e086342 Update Yarn package link to link to the Bootstrap package (#28781)
I think it makes more sense to link to the Bootstrap package on Yarn here (like the package link for NPM above)
2019-05-16 21:47:26 +03:00
Johann-S
02f80c1616 remove util references from our docs 2019-05-16 14:44:11 +02:00
Johann-S
803088c526 remove jquery references from tooltip docs 2019-05-16 14:44:11 +02:00
Johann-S
976e825d26 remove jquery references in browsers-devices docs 2019-05-16 14:44:11 +02:00
Johann-S
759fe25567 remove jquery references in toast docs 2019-05-16 14:44:11 +02:00
Johann-S
4ea7e11233 add notes about arrow selector changes 2019-05-14 15:28:43 +02:00
Johann-S
7694a5a70a remove jquery references from popover docs 2019-05-14 14:32:45 +02:00
Johann-S
df3277f14d remove jquery references from javascript.md docs 2019-05-14 14:32:45 +02:00
Johann-S
104308b276 rewrite modal docs without jquery 2019-05-14 14:32:45 +02:00
Johann-S
19e86a34af remove jquery references in dropdown docs 2019-05-14 14:32:45 +02:00
Johann-S
fd8a651521 remove some jquery references in collapse docs 2019-05-14 14:32:45 +02:00
Johann-S
99b2a80db8 remove some jquery references in carousel docs 2019-05-14 14:32:45 +02:00
Martijn Cuppens
5db281d7c4
Move close icon to components in docs (#28512)
* Move close icon to components

* Remove redundant float from close
2019-05-10 20:27:22 +02:00
Katherine Shaw
a5d7dff164 Docs unordered lists dropdowns (#28591)
Replace snippets and examples in dropdown docs to use semantic `ul` and `li` elements.
2019-05-09 11:19:32 +03:00
XhmikosR
bc012957b5
Remove Base64 for SVGs. (#28749)
It results in bigger files.
2019-05-09 09:34:13 +03:00
Mark Otto
473689ce5d v5: Drop all print styles and classes (#28339) 2019-05-09 07:57:58 +02:00
Mark Otto
d806e874b4 v5: Drop .media (#28265) 2019-05-08 21:45:24 +03:00
Martijn Cuppens
f1e6e6e4a1 Remove hover mixin documentation 2019-05-08 20:58:07 +03:00
Mark Otto
1d4d9f8d89 Drop all hover mixins
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-08 20:58:07 +03:00
Martijn Cuppens
a827934f13 Documentation tweaks (#28679)
* Documentation tweaks

* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
Ashfahan Khan
292cb46cb9 add icofont to icon options (#28738)
30 Categories , 2100+ SVG and icons from icofont
2019-05-08 19:51:25 +03:00
Patrick H. Lauke
d102363c9f Album example: remove misleading jumbotron-heading classname (#28741) 2019-05-08 15:53:08 +03:00
Johann-S
45a1954740 fix progress bar animation, remove forEach not needed currently 2019-05-05 17:45:39 +02:00
Martijn Cuppens
a776cc473d Switch from list to map for responsive embeds (#28678) 2019-05-05 10:41:27 +03:00
Mark Otto
57a09376b1
[WIP] v5: Prep migration docs page (#28472)
* Migration docs page for v5

* Add JS section, tweak some copy

* Update migration.md
2019-05-03 10:52:58 -07:00
XhmikosR
336778f463
Examples: include favicons. (#28504) 2019-05-02 10:47:48 +03:00
Martijn Cuppens
f36890d1cd Add truncated example of custom file browser 2019-04-30 10:45:05 +03:00
ysds
a454ea7cf7 Change custom file markup 2019-04-30 10:45:05 +03:00
Martijn Cuppens
99eff2f58f Remove top margin 2019-04-30 10:31:37 +03:00
XhmikosR
312f54fa66 Show the other navbar items on small screens too. 2019-04-30 10:31:37 +03:00
XhmikosR
952c3d3677
docs SVGs: Allow passing a custom title. (#28660) 2019-04-29 17:11:40 +03:00
XhmikosR
091aa1e9fd
v5 dist (#28657) 2019-04-18 14:47:52 +03:00
XhmikosR
80dfee9dc1
Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631) 2019-04-15 11:49:24 +03:00
Johann-S
bff1c3a53d change how bootstrap can be imported in bundlers 2019-04-15 10:09:21 +02:00
XhmikosR
105687ac4a Update eslint config for the new xo rules. 2019-04-10 15:18:57 +03:00
XhmikosR
c6c9e322f7
_sidebar.scss: change ID to a class and type selector. (#28610) 2019-04-04 11:56:06 +03:00
XhmikosR
6672aea5a9
Remove http from docs search. (#28557)
We use only `https` for a few months now.
2019-03-26 12:49:45 +02:00
XhmikosR
b0f918982f Revert back to the old snippet and just add anonymize IP.
We don't need the extra bloat of gtag.
2019-03-18 12:26:50 +02:00
Mark Otto
2017eb9aed Update GA to latest script & anonymize IPs 2019-03-18 12:26:50 +02:00
XhmikosR
c2fa74b652 Revert "Remove Internet Explorer leftovers."
This reverts commit 089e3334a7.
2019-03-18 01:11:05 +02:00
XhmikosR
bcf76ef5f0 Revert "Add information about IE 11 compatibility."
This reverts commit 1da5b9f76a.
2019-03-18 01:11:05 +02:00
Martijn Cuppens
a88d58605a Remove hover states on background utilities (#28457) 2019-03-14 19:36:02 +02:00
Mark Otto
837ff0cc11 v5: Drop remaining deprecated mixins (#28461)
- Deletes mixin mentions from float docs
- Deletes mixin mention from visibility docs
- Deletes the image-replacement page for text-hide
2019-03-14 19:23:54 +02:00
Mark Otto
c16532c724 v5: Update badges (#28458)
- Drop hover and focus states
- Drop .badge-* variants and associated mixin for .bg-* utilities
- Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill
- Remove unused variables
- Add default color value to .badge base class
- Update docs to reflect changes
2019-03-14 19:15:26 +02:00
Mark Otto
43eb6b1703
Revert "Don't run Google Analytics locally. (#28384)" (#28489) 2019-03-13 19:07:54 -07:00
XhmikosR
6a3433da9a browsers-devices.md: escape what we read. 2019-03-13 18:33:51 -07:00
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