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

18788 Commits

Author SHA1 Message Date
Martijn Cuppens
62b8e84970 Make it possible to change default alignment & allow to inherit alignment from table (#29039) 2019-07-18 08:49:39 +03:00
Mark Otto
99676c7809 Use :focus-within for .form-file focus state (#29036)
Fixes #26563, closes #26576, closes #29021.
2019-07-17 16:56:54 +03:00
Martijn Cuppens
4634fd7c1a Fix ads alignment 2019-07-17 16:21:47 +03:00
XhmikosR
e09f306b6b Use has-children. 2019-07-17 16:21:47 +03:00
XhmikosR
67bea95df5 It's viewBox. 2019-07-17 16:21:47 +03:00
XhmikosR
cc2d55b8f2 Fix inline SVG. 2019-07-17 16:21:47 +03:00
Mark Otto
ebcc3ff9af Move sidebar icon to CSS 2019-07-17 16:21:47 +03:00
XhmikosR
8bc6692082 Move the icon to a partial and optimize it. 2019-07-17 16:21:47 +03:00
XhmikosR
3898df1f5a Add width/height in the SVG arrow.
Fixes IE.
2019-07-17 16:21:47 +03:00
XhmikosR
5e6f5d8f38 Remove display none code. 2019-07-17 16:21:47 +03:00
XhmikosR
506282fb9e Use the responsive themes image. 2019-07-17 16:21:47 +03:00
XhmikosR
e864f65789
Fix docs search. (#29067) 2019-07-17 16:05:56 +03:00
XhmikosR
b81a3e8b3c Add redirect for /forms/. 2019-07-17 15:27:01 +03:00
XhmikosR
9745790514 Use the direct link to migrations page. 2019-07-17 15:27:01 +03:00
Martijn Cuppens
57edecbfb8 Remove redundant fill-rule 2019-07-17 15:10:44 +03:00
XhmikosR
18cf5c02c9 Move xmlns after svg for consistency. 2019-07-17 15:10:44 +03:00
XhmikosR
294752ed9e Escape the newly added SVGs.
Also use `viewBox` instead of `viewbox`.
2019-07-17 15:10:44 +03:00
Johann-S
18077460aa updated babel 2019-07-17 15:03:32 +03:00
XhmikosR
34e9c5ee0c Update devDependencies.
Held babel back due to issues with `objectSpread`.
2019-07-17 15:03:32 +03:00
XhmikosR
e4dc6b84b1 Move inline JS to application.js. 2019-07-17 14:52:11 +03:00
XhmikosR
9be99c9b34 Ignore sw.js. 2019-07-17 14:52:11 +03:00
XhmikosR
fe09d106dc site/.eslintrc.json: specify ecmaVersion. 2019-07-17 14:52:11 +03:00
XhmikosR
ef98fbdb84 Fix application.js after aaf03bd 2019-07-17 14:52:11 +03:00
XhmikosR
d39977271c
Fix bootstrap-themes.png. (#29061)
For some reason the old image was bad quality.
2019-07-17 14:36:14 +03:00
M. Wacker
78c9c8bdd4 Fix breaking layout breaking error in code (#28328)
Change `word-break: break-word;` to `word-wrap: break-word;`
2019-07-16 10:54:36 +03:00
XhmikosR
bce2b5e7ed
Move the linkinator test in npm t. (#29003) 2019-07-15 16:26:36 +03:00
Martijn Cuppens
88e87ca7c9 Make text align configurable (#28989)
This was causing issues for RTL, see https://github.com/twbs/bootstrap/issues/28238
2019-07-15 14:34:01 +03:00
Martijn Cuppens
d2f4e2bf97 Revert incorrect change (#29044) 2019-07-15 14:24:32 +03:00
Mark Otto
df1c3c0ce8 v5: Reuse box-shadow variables (#29023)
* Remove default kbd element shadow, simplify selector while here

* Add new -shadow-inset variable so our shadows match on .form-control's, .form-select's, and .progress's

* Reuse box-shadow variables for .dropdown's, .popover's, .toast's, .modal's, and .img-thumbnail's
2019-07-15 10:29:13 +03:00
Manuel Alcaraz
b4f99cb968 #29034 Fix broken links (#29035) 2019-07-14 12:41:34 +03:00
Patrick H. Lauke
cc49977038 Fix dropdown unit test (#29037)
swap jQuery's `trigger(...)` with the more verbose native `dispatchEvent(...)`, as the former may not always behave/bubble correctly (observed while trying to write unit tests for keyboard handling of ARIA tab navigation), which may lead to this test passing even though it fails in real usage.
2019-07-14 12:24:27 +03:00
Mark Otto
cef69b9a65 v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the  support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field.

Fixes #28176.
2019-07-14 12:00:57 +03:00
Sunny Dhoke
6a9fd74a83 Added link to creative commons license (#29032)
The previous link is dead one.
2019-07-14 11:52:33 +03:00
Mark Otto
cdb6504e48 Drop breakpoint CSS custom properties (#29020)
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation.

Fixes #29012.
2019-07-14 11:44:49 +03:00
Brian Juul Andersen
37ec7f6928 Update collapse.md (#29025)
Corrected minor spelling error.
2019-07-13 10:04:49 +03:00
Mark Otto
39c4ca3970 dist v5 2019-07-12 16:56:26 -05:00
Mark Otto
aaf03bdc9e
v5: Forms update (#28450)
* Initial spike of consolidated form checks

* Stub out forms rearrangement

- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

* rewrite flex-check as form-check, replace all custom properties

* Remove old forms doc

* stub out new subpage link section

* update migration guide

* Update nav, forms overview in page nav, and descriptions

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

* better way to do this contents stuff, redo the toc while i'm at it

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

* Redesign the docs navbar, add a subheader, redo the sidebar

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

* Part of sidebar update, remove migration from nav.yml

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696

* rename back

* fix size and alignment

* rename that back too
2019-07-12 16:52:33 -05:00
Shohei Yoshida
50f97710eb Drop support for .form-control-plaintext inside .input-group (#28972)
* Revert "Fix readonly-plain-text with button addon (#25871)"

This reverts commit ff40e00323.

* Add migration comment
2019-07-12 13:23:43 +03:00
Martijn Cuppens
d479fd89d0 Remove attribute selectors (#28988) 2019-07-12 13:15:50 +03:00
Johann-S
92c45a19a5 separate file for our polyfills to have lighter plugins 2019-07-10 10:40:52 +02:00
XhmikosR
fdbc63fb3f
Fix typo. (#29008) 2019-07-10 10:45:27 +03:00
Mark Otto
9badcf6c41
Fixes #28994 2019-07-09 14:30:07 -05:00
XhmikosR
c7a847b6a1
Move bundlesize config to a separate file. (#29002) 2019-07-09 17:18:14 +03:00
Patrick H. Lauke
53a3d449fd Add prefers-reduced-motion callout to toast documentation (#28993)
x-ref #28987
2019-07-08 21:05:53 +03:00
Bardi Harborow
08bddb8743 Add ARIA search landmark to documentation. (#28983) 2019-07-02 21:17:42 +03:00
Martijn Cuppens
f5f09d8b0b
Remove redundant border radius on pagination (#28980)
Pagination used to have box shadow back in the days which required this property, but nowadays it's redundant. (see 0cd186183c/less/pagination.less (L17))
2019-07-02 08:08:12 +02:00
Martijn Cuppens
4b3d2635f3
Remove redundant radius properties (#28956) 2019-06-26 15:11:37 +02:00
Martijn Cuppens
65f21bbef1 Fix pre color (#28966) 2019-06-26 13:18:59 +03:00
Martijn Cuppens
27824ec586 Stretched link updates (#28958)
- Remove IE10 background hack
- Ability to change the pseudo element
- Ability to change the z-index
- Remove pointer events, just inherit this
2019-06-26 07:54:51 +03:00
Patrick H. Lauke
f2c63ac729 Port new unit test for dropdown from v4 (#28913)
Add unit test from #28912 to v5
2019-06-25 14:57:41 +03:00