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

8201 Commits

Author SHA1 Message Date
John Bennet Veloya
f194b9db75 Fix order of Save/Close buttons in modal code example (#25855) 2018-03-15 22:18:30 +00:00
m5o
d01b4eb025 Remove custom example plugin. (#25784) 2018-03-14 17:44:38 +02:00
Varunram Ganesh
03b7f52e82 Document .form-control-range. (#25839) 2018-03-14 01:06:43 +02:00
XhmikosR
c98ece5490 approach.md: Use normal apostrophes.
They are converted when building.
2018-03-13 14:51:11 +02:00
XhmikosR
dea778f4f5 approach.md: Fix empty link. 2018-03-13 14:51:11 +02:00
Martijn Cuppens
1fadad1c33 Variable transition durations (#25662) 2018-03-13 09:59:20 +01:00
Stephen Beemsterboer
1859595cb6 Clarify the necessary data-target/href attribute for carousel controls (#25690) 2018-03-13 09:31:37 +02:00
m5o
b9628d0642 Use bugify without custom Jekyll plugin (#25334) 2018-03-12 23:08:44 +02:00
m5o
b5e6eb22a6 Use callout without custom Jekyll plugin. 2018-03-12 21:50:21 +02:00
ysds
5b0e40b625 Fix examples' issues #25664 and #25388 (#25665)
* Prevent sign-in form from going outside viewport (#25388)

* Workaround IE centering bug
2018-03-12 19:29:45 +02:00
m5o
2b86193591 add Icons8 to icon options (#25763)
[Icons8](https://icons8.com/) is a great resource for icons.

They provide 15 different icon styles, exportable as fonts or svg
2018-03-08 14:38:48 +02:00
Robert Martin
817b80d54b Update webpack.md
Minor edits for style and consistency
2018-03-08 09:20:00 +01:00
Mark Otto
e9412e7fe4 Update blockquote migration docs to reflect #22949
Fixes #25669, closes #25779.
2018-03-04 11:16:54 -08:00
Mark Otto
c0e1f7dc6e Fix #25746 2018-03-04 11:07:31 -08:00
Isma
ae1a068d02 Replace img-fluid by w-100 to conform with HTML 2018-03-03 13:06:00 -08:00
Jos Maissan
6431d746bc display on xl viewport
See issue #25711
2018-03-01 22:32:36 -08:00
Peter Blazejewicz
c9b194ae21 Add tabindex attribute to disabled buttons sample. Closes #23361 (#25680)
As discussed in issue's comment:
https://git.io/vAuPW

Thanks!
2018-02-24 23:15:19 +00:00
Mark Otto
9cf3ebbf2b Fixes #25703 2018-02-24 12:46:23 -08:00
Mark Otto
b8bfd26358 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2018-02-24 12:38:51 -08:00
daviddalbusco
6708c4dba5 Fix typo of example in hiding doc 2018-02-24 12:23:14 -08:00
Peter Blazejewicz
4752159939 Brush up vertical rhythm of form-check in docs. Closes #25546
This adds `form-group` to add the same vertical space to the `form-check` as in other grouped controls
used in form sample markup.

Thanks!
2018-02-24 12:22:20 -08:00
Mark Otto
982aeea1f7 Merge branch 'accordion-borders' of https://github.com/andresgalante/bootstrap into v4-dev 2018-02-19 15:04:55 -08:00
Pierre GIRAUD
24a5376a14 Be more explicit where to find variables (#25624)
* Tell where to find the variables to override

* Be consistent with path to _variables.scss

* Get rid of some 'our' in the doc

Replaced by 'Boostrap's' when relevant
2018-02-19 14:42:26 -08:00
Mark Otto
470b4472c6
Custom range input (#25600)
* added the styling

* added the documentation

* update for one rule per line

* fix hound error: trailing whitespace

* trimmed off vendor prefixes

* Add note about track and thumb

* Psuedo-elements must be split across multiple rulesets to have an affect

* Fix firefox inner focus

* Seems that FF is the only one affected by this

* Add support for gradients

* Add labels, clarify min/max changes

* add step example

* add custom range vars
2018-02-19 14:40:59 -08:00
Martijn Cuppens
3dd0bde664 Fix carousel transition duration (#25218) 2018-02-19 10:10:25 +01:00
Patrick H. Lauke
c381d19965
Add type="button" to <button>s in accordion example (#25643)
For consistency. Closes https://github.com/twbs/bootstrap/issues/25642
2018-02-16 17:37:09 +00:00
Patrick H. Lauke
73357f9430
[Docs] Clarify suggested use of custom validation styles, add note about resetting form appearance after validation (#25628)
* Expand/clarify recommendation for using custom validation styles

Seems support for correctly announcing browser default navigation bubbles/notifications has improved recently. Now it seems only Chrome (at least on Win and Android, not tested on macOS) is the odd one out.

However, we should really make sure the custom validation messages are also tied correctly to their relevant form controls - need to dig out the PR that will ensure that.

* Add note about resetting form appearance after submission

xref https://github.com/twbs/bootstrap/issues/25626
2018-02-16 11:07:36 +00:00
Patrick H. Lauke
cd7f252bdb
Reword alert and list group text to avoid "a/an" problems
Closes https://github.com/twbs/bootstrap/issues/25611
2018-02-14 01:06:36 +00:00
Andy Pickler
27e670a4c3 Update position.md (#25607)
2 small typos
2018-02-13 13:25:29 +00:00
Johann-S
65ae622d40 Dropdown - Allow to disable Popper.js style (#24092)
* Dropdown - Allow to disable Popper.js style

* Update dropdown.js

* Update dropdown.html

* copy changes
2018-02-11 16:45:59 -08:00
Mark Otto
98111214c2
Update .sr-only mixin and utility (#25197)
* Remove clip-path from .sr-only utility as it causes perf regressions in Chrome

* change snippet to example
2018-02-11 15:05:50 -08:00
ysds
3ffe4f82b7 Update themeing docs for more clearly how to remove from map (#25589)
* Add note about insert position of "map-remove"

* Use optional keys instead of required keys
2018-02-11 14:24:47 -08:00
Jesse Mandel
54a43a7247 Remove show class from example code (#25570) 2018-02-11 02:12:15 +02:00
ysds
eca9c983f7 Fix the incorrect id in center modal example 2018-02-09 16:05:21 +00:00
Mark Otto
0f8145af20 Clarify migration docs to remove mention of .table-responsive being for the parent element vs the table element itself (#25539) 2018-02-03 10:02:14 +02:00
Mark Otto
24ab1fcf42 close #25534 2018-02-02 22:38:01 -08:00
ysds
e216c8833c Examples: Prevent focus into closed offcanvas (#25524)
* Prevent focus into closed offcanvas
2018-01-31 16:43:27 +00:00
Bardi Harborow
399ae311b9 Add FontAwesome to icon list. (#25451) 2018-01-31 10:31:46 +02:00
Jan Clarin
87e5fa1184 Clarify stacked-to-horizontal in layout/grid.md (#25520)
- Fixes typo with "with at" in "horizontal with at the small breakpoint"
2018-01-31 10:22:14 +02:00
ysds
8adb533fe1 Fix "CVV" label pointing to wrong field (#25518) 2018-01-31 10:16:32 +02:00
Ryan Cleary
0a4c0a527d Fix example Blog post card text overflowing for medium screen size. (#25416) 2018-01-30 10:33:55 +02:00
exige81
f76e1f6a25 Fix typo in approach.md (#25492) 2018-01-28 15:20:25 -08:00
XhmikosR
5068b437a4
Update jQuery to v3.3.1. (#25398) 2018-01-23 08:18:33 +02:00
M. Appelman
3e2fbd5fb0 Fix typo in navs.md (#25404) 2018-01-23 08:04:36 +02:00
Mark Otto
663057d441
Feature: Add carousel fade option (#22958)
* Move helpful code comments

* Add .carousel-fade option to Sass

* Document example of the fade carousel

* more logical warning of the .active class on carousel items
2018-01-21 22:51:08 -08:00
Mark Otto
d402183014
v4.1: Add .dropdown-item-text (#22965)
* Add .dropdown-item-text class

* Add example of plain text within a .dropdown-menu, too

* reorganize, simple/clearer headings
2018-01-21 22:40:55 -08:00
Taufek Johar
2b42ef0db2 Add CSS Utility for auto width and height Properties (#24249)
Currently bootstrap only provides 4 variations of `width` and `height` css utilities, which are:

1. 25%
2. 50%
3. 75%
4. 100%.

Here, I'm adding `auto` to the list. This is useful when we need to reset the width/height value
back to the browser default value at some point.
2018-01-21 12:28:22 -08:00
Mark Otto
8374f542be Document .flex-fill class in flex utils 2018-01-21 12:16:17 -08:00
Johann-S
5a6be71791 Remove escaping selector and add a warning to inform folks to escape their selectors (#25390) 2018-01-21 22:02:16 +02:00
719media
bd9084d249 Update dropdown.js to allow referenceElement (#25219) 2018-01-21 19:09:23 +01:00
Mark Otto
a098de125f tweak html 2018-01-20 15:11:19 -08:00
Mark Otto
f800383e7d Merge branch 'borderless-table' of https://github.com/Varunram/bootstrap into Varunram-borderless-table 2018-01-20 15:06:02 -08:00
m5o
0f53402fc0 Use Jekyll's markdownify filter instead of a custom plugin (#25319) 2018-01-19 19:30:17 +02:00
Christian Oliff
ee4988164e Remove mention of disabled buttons support for Opera 18 (#25357)
Opera 19 was released in January 2014 and auto-updates so I suggest no need to mention about browser support for this old version.
2018-01-19 19:24:04 +02:00
Christian Oliff
47028b6359 Correct capitalisation of PayPal (#25362) 2018-01-19 19:18:45 +02:00
Mark Otto
8a628b943c Remove -Pre from Nuget install info since we're stable now /cc @supergibbs 2018-01-18 10:29:48 -08:00
Mark Otto
572d00ac7e Bump version to 4.0.0 2018-01-18 10:24:51 -08:00
Christian Oliff
bffa438f8e Update progress.md (#25355)
Removed '**Animated progress bars don't work in Opera 12**—as they don't support CSS3 animations.' note.

Bootstrap 4 doesn't (and doesn't need to) support the ancient Opera 12 released in 2012 with a 0.04% marketshare so no need to mention.
2018-01-18 11:50:43 +00:00
XhmikosR
91d584636a Improve examples' screenshots compression.
Convert them to 8-bit and compress them with optipng and zopflipng.

Before: 902 KB (923,969 bytes)
After:  431 KB (441,372 bytes)
2018-01-17 17:35:48 -08:00
Mark Otto
6902219573 Consistently sized 960x600 wide images. 2018-01-17 17:35:48 -08:00
Mark Otto
b00bbf0a56 Only 2-col on sm+ 2018-01-17 17:35:48 -08:00
Mark Otto
9b0fcbf9c3
Prevent print utils from overriding all other display utils (#25269)
* Prevent print utils from overriding all other display utils

Fixes #25221.

I agree with the referenced issue—this is unexpected and also causes a serious bug when mixed with other utility classes. This wasn't an issue in v3 given we had different utilities for hiding that weren't focused on display property.

* Add printing changes to migration docs

* unrelated heading sentence case change

* List out all .d-print- classes
2018-01-17 17:29:28 -08:00
Casper Bornebusch
f4132dba07 Add order-last grid class (#24915)
* Add order-*-last grid class

* copy updates
2018-01-16 09:10:40 -08:00
Mark Otto
d16eb10e49
Mention .input-group-text in migration docs (#25325)
Closes #25231
2018-01-15 21:44:04 -08:00
Mark Otto
2f4e785a8c Adjust language 2018-01-15 21:42:33 -08:00
Mark Otto
c8d9c0efcd Merge branch 'form-check-input-validation' of https://github.com/supergibbs/bootstrap into supergibbs-form-check-input-validation 2018-01-15 21:39:27 -08:00
Mark Otto
b5039d594b closes #25280 2018-01-15 19:41:07 -08:00
Mark Otto
fa3de5cbd8 Add example of a Spanish translation for custom file input (#25302) 2018-01-15 09:19:12 +02:00
Mark Otto
0d110c8f91
Update copyright for 2k18 (#25303)
* Update copyright range to include 2018

* Extend copyright date range on new files from 2017 to include 2018
2018-01-14 20:08:58 -08:00
ysds
bcccfaa5f3 Fixes dropdown snippets (#25301)
* Make dropright snippet the same as demo

* Add missing .dropdown-toggle-split class

* Make clear the split button label the same as demo
2018-01-14 20:08:33 -08:00
Mark Otto
eb6db8a3f9
Theming docs update (#25300)
* heading for better linking

* tell folks where to start

* more headings

* required keys section added, closes #25293
2018-01-14 20:07:57 -08:00
Mark Otto
ed286e0f3d one more img compression 2018-01-14 16:58:18 -08:00
Mark Otto
e946348eca
Examples updates (#24898)
* fix cover nav

* Improve signin visuals and alignment with that flexbox love

* rewrite cover example in flexbox

* lighten signin bg

* first pass at pricing example

* redo examples index with data file

* tighten up spacing a bit

* update navbar descriptions

* link pricing

* move that back

* property order

* Fix test errors.

* Compress pricing.png.

* add form validation example

* remove that

* rename that

* restyle and space out

* fix errors

* change order

* cleanup album css and styles

* tweak examples index

* make it a badge

* options

* improve sticky footer alignment

* redesign example index

* brand new blog layout

* start new screenshots

* new product example page a la apple

* add email field

* fix linter, remove unused blog css

* hook up feather icons to start

* redo dashboard

* fix linting

* add floating labels example

* formatting

* formatting

* lint

* fix values on select

* optional input, plus input group

* new dashboard image

* start to reboot the offcanvas example

* updated images

* new offcanvas mostly implemented

* linting

* edit description

* more description changes

* - Add vertical margin to album hero buttons for when they're stacked
- Adjust font-size and padding for pricing header and hero
- Fix checkout's stacked column margins, plus update their check/radio
markup
- Update product's utilities to be responsive
- Made blog cards somewhat responsive (needs a bit more work tbh)

* drop leading zero

* more linting

* swap empty images for holder, fix border

* dist the docs

* navbars have no margin-bottom to begin

* add css var, tweak padding for mobile

* comment headers

* nix commented out code

* nix the navbar structure for a custom one, stack it on mobile

* tweak heading button group for mobile

* Removed narrow jumbotron and justified nav examples as these are easily accomplished with new components in v4

* improve card sizing on pricing

* update and compress
2018-01-14 16:06:52 -08:00
Jason Korth
638953e119 add List Group Flush to List Group docs (#25289)
fixes #25288
2018-01-14 15:46:58 -08:00
Mark Otto
71550d3c9c Add new Approach docs page (#25165) 2018-01-14 02:34:31 +02:00
XhmikosR
6d336502c7 Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-11 18:48:46 +02:00
Mark Otto
92cc0aba7b Deprecate hover media query shim and mixins (#25270)
* Deprecate hover media query shim and mixins

Fixes #25195.

This never was completed or fully implemented, and the docs are inaccurate as to what browsers are currently affected by this stickied hover problem. This PR aims to update the docs and deprecate the shim from our mixins and only return the pseudo-classes. To reflect the order of these states used elsewhere (e.g., our button styles), I've also updated the order of each within the mixin.

* Mention in docs and variables that it's deprecated
2018-01-11 10:12:15 +00:00
Patrick H. Lauke
2e15b94888
Remove touch-action:manipulation click optimization (#25250)
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed.

Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-11 09:51:44 +00:00
Vytas
bea31472ea Fix invalid "constraint validation API" URL in docs (#25244) 2018-01-11 10:36:16 +02:00
Christian Oliff
d015ab9099 Update browser compatibility note for position: sticky since Edge supports it now (#25229)
The latest shipping version of Edge supports position: sticky and I've successfully tested it with Bootstrap 4 and it works as intended. I added IE10 in place of Edge in that note as I assume that IE10 also has the `position: relative` fallback.
REF: https://caniuse.com/#search=sticky
2018-01-11 10:31:03 +02:00
Vytas
5c53c8e647 Fix variable name in display utility class naming (#25261) 2018-01-11 10:26:32 +02:00
Jesse Mandel
20a251a597 Added required checkbox example 2018-01-05 12:24:19 -08:00
ysds
8184c649a1 Document order-0 (#25191) 2018-01-03 16:47:13 +02:00
Patrick H. Lauke
7044ea82c1 Patch fractional viewport widths to work around Safari rounding bug (#25177)
Includes simplifying the prose in `tables.md` and adding the bug to the list of browser bugs.

Closes https://github.com/twbs/bootstrap/issues/25166
2018-01-03 09:42:03 +02:00
Mark Otto
1cfbb8305a
Add some documentation on using CSS vars (#25176)
* Add some documentation on using CSS vars

Fixes #25147

* link to MDN doc
2018-01-02 22:58:40 -08:00
Mark Otto
460849ddcd
Validation tooltip example (#25143)
* Add additional form validation examples

Fixes #24811.

This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs.

* Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element

* update ids

* finish docs paragraph, mention position: relative
2018-01-02 21:57:56 -08:00
Mark Otto
1e6a0f4ff3 add example of textarea to docs 2018-01-02 21:18:14 -08:00
Patrick H. Lauke
8462cc2a19
Expand keyboard advice for tooltips, clarify what manual trigger does in table 2018-01-02 19:35:13 +00:00
Patrick H. Lauke
8bb39f27bd
Remove incorrect roles from accordion, tweak/expand accessibility info, use buttons for accordion
* Remove incorrect roles from accordion, tweak/expand accessibility info
* Use `<button>` elements rather than links for the accordion
2018-01-02 18:19:47 +00:00
Andres Galante
c0246e926f improves accordion styles 2018-01-02 09:46:07 -03:00
Mark Otto
dccd0037d8 improve additive/subtractive border util docs 2018-01-01 20:51:20 -08:00
Mark Otto
7acfa61ec0 Merge branch 'docs-border-utilities' of https://github.com/ysds/bootstrap into ysds-docs-border-utilities 2018-01-01 20:32:44 -08:00
patrickhlauke
987ae5b8c8 Use <button> elements rather than links for the accordion 2018-01-01 21:59:05 +00:00
patrickhlauke
04bffc36dd Remove incorrect roles from accordion, tweak/expand accessibility info 2018-01-01 21:43:41 +00:00
Martijn Cuppens
ae71e71fe1 Allow nested structure for accordions (#25121)
This commit allows nested structures for accordions. Also a part of
the documentation about data-children is removed because this
functionality didn't work and it's not applicable anymore.

Tests with the collapse accordion are also a bit adjusted to the new
situation.
2017-12-31 14:53:33 +02:00
ysds
e290d8f527 Add description about positive border 2017-12-31 15:09:43 +09:00
ysds
863cb131c9 Add positive border utilities 2017-12-31 14:52:02 +09:00
ysds
6b5a2ff626 Apply of #25068 to input group 2017-12-30 20:59:57 -08:00
Kramb
8c87e019a5 Add modal-dialog-centered class to vertically centered modal example. 2017-12-30 20:57:22 -08:00
Mark Otto
fc942ce310 Mention -file-text change in Migration docs (#25144)
Fixes #25127.
2017-12-31 02:38:09 +02:00