Jesse Mandel
fa4fbc8798
Backport: NuGet Changes
...
Update authors and copyright to match npm, add repository reference. Also incorporates licensing expression change by @vanillajonathan (#37378 )
Co-authored-by: Jesse Mandel <jesse.mandel@jdpa.com >
2022-11-09 09:17:19 +02:00
Louis-Maxime Piton
5aa7f72689
Change view in GitHub links ( #37223 )
2022-09-28 13:12:21 +02:00
XhmikosR
e5643aaa89
Release v4.6.2 ( #36725 )
...
* Bump version to 4.6.2.
* Dist
2022-07-19 18:13:44 +03:00
Julien Déramond
82a1f334cf
Docs: Capitalize Unicode ( #36735 )
2022-07-13 18:53:40 +03:00
Mark Otto
4954ea15fa
Add Fathom to v4 ( #36727 )
2022-07-12 18:41:19 +03:00
XhmikosR
fdf1c372d4
Update devDependencies ( #36724 )
...
* @babel/cli ^7.17.10 → ^7.18.6
* @babel/core ^7.18.2 → ^7.18.6
* @babel/preset-env ^7.18.2 → ^7.18.6
* @rollup/plugin-commonjs ^22.0.0 → ^22.0.1
* eslint ^8.17.0 → ^8.19.0
* eslint-plugin-qunit ^7.2.0 → ^7.3.1
* hugo-bin ^0.88.2 → ^0.89.0
* karma ^6.3.20 → ^6.4.0
* lockfile-lint ^4.7.4 → ^4.7.6
* nodemon ^2.0.16 → ^2.0.19
* postcss-cli ^9.1.0 → ^10.0.0
* rollup ^2.75.6 → ^2.76.0
* stylelint ^14.9.0 → ^14.9.1
* terser ^5.14.0 → ^5.14.1
2022-07-12 15:36:38 +03:00
Julien Déramond
35be9e74af
Docs: update clipboard.js to v2.0.11
2022-06-28 20:31:51 -07:00
XhmikosR
def158dc10
Update devDependencies ( #36522 )
...
* eslint ^8.16.0 → ^8.17.0
* hugo-bin ^0.87.1 → ^0.88.2
* rollup ^2.74.1 → ^2.75.6
* stylelint-config-twbs-bootstrap ^3.1.0 → ^4.0.0
* stylelint ^14.8.5 → ^14.9.0
* terser ^5.13.1 → ^5.14.0
2022-06-28 07:52:23 +02:00
Patrick H. Lauke
6fd203060b
v4: Improve accessible name of version dropdown in docs navbar ( #36504 )
...
- add `sr-only` "Bootstrap", which will be part of the accessible name
- extra `sr-only` text to give some context - that the dropdown is about switching versions
- remove the redundant id/aria-labelledby for the dropdown
- change the control from `<a>` to `<button>`
2022-06-05 10:33:18 +01:00
Patrick H. Lauke
d136302a57
v4 Docs: Update outdated ARIA/PF link, expand color contrast explanation in accessibility.md ( #36492 )
...
PF link is backport of https://github.com/twbs/bootstrap/pull/36489
change in `accessibility.md` is to bring this in line with existing v5 prose
2022-06-03 17:43:01 +01:00
Patrick H. Lauke
b4c994d296
Remove confusing unnecessary id/aria-labelledby for dropdown menus ( #36491 )
...
v4 port of https://github.com/twbs/bootstrap/pull/36487
2022-06-03 17:28:18 +01:00
Julien Déramond
4e951f8bc9
Docs: fix some ARIA Authoring Practices Guides broken links ( #36490 )
2022-06-03 10:41:59 +01:00
Louis-Maxime Piton
8274bf25d0
Fixing tabs' tests ( #36485 )
2022-06-02 12:58:43 +03:00
Mark Otto
4444f090b6
Add horizontal collapse support
2022-06-01 20:14:35 -07:00
Julien Déramond
5968ef23ca
Fix closing HTML tag in navs docs ( #36466 )
2022-05-31 17:40:36 +03:00
XhmikosR
261b418798
Update devDependencies
2022-05-26 08:00:04 +03:00
XhmikosR
c043a75d53
Update GitHub actions
2022-05-26 08:00:04 +03:00
XhmikosR
c1b42e3538
build/change-version.js: remove the executable flag
2022-05-26 08:00:04 +03:00
Patrick H. Lauke
7d57d9a68b
Dynamic tabs: use buttons rather than links (backport to v4) ( #33163 )
...
* Manually backport 32630
Dynamic tabs: use buttons rather than links
* Tweak unit test
* Tweak unit tests
* More tweakage
* show() should also bail if `disabled` attribute is set
* Tweak tests
* Simplify test for relatedTarget
* Temporarily remove problematic test
(as i can't get local tests to run just noww)
* Revert previous
* test: fix broken test cases for tab.js
* test: fix role=tablist invalid on nav element
* test: prefer <div/> over <div></div>
* Manually backport 32630
Dynamic tabs: use buttons rather than links
* test: fix broken test cases for tab.js
* Fixes
* Remove and ignore lock file
Co-authored-by: alpadev <alpa.muc@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
Co-authored-by: Mark Otto <markdotto@gmail.com >
2022-05-24 11:16:58 -07:00
Julien Déramond
e4dc2e91a5
Doc: remove role="group" from some split drop* buttons ( #36254 )
2022-05-24 11:04:59 +03:00
Adrian Curtin
6a500849de
Replace the deprecated color-adjust with print-color-adjust ( #36283 )
2022-05-24 10:36:27 +03:00
Wladyslaw Dudko
d9481ee054
_custom-forms.scss: fix order of attributes ( #36231 )
2022-05-14 21:37:08 +03:00
XhmikosR
d36b1a46cf
Fix lint issues
2022-04-19 09:07:15 +03:00
XhmikosR
7613953998
Update devDependencies
2022-04-19 09:07:15 +03:00
XhmikosR
0090af6a9c
package.json: add GitHub Sponsors and reorder properties ( #35451 )
2022-04-19 09:07:15 +03:00
XhmikosR
bae047fcee
Move linkinator to GitHub Actions. ( #35573 )
...
* Move linkinator to GitHub Actions.
* Remove `docs-linkinator` npm script since it's no longer used
2022-04-19 09:07:15 +03:00
pricop
3b63d509de
Updated the small-font-size to use a round value
...
This is a backport from BS5 to BS4.
As per https://github.com/twbs/bootstrap/issues/35553
The ```small-font -size``` will actually increase from ```13px``` to ```14px``` with this proposed change. Personally I'd prefer keeping it the BS5 way (```14px```), as the text is more readable now.
If it's needed, I can do another PR with the ```$small-font-size: .8125rem !default;``` to resemble BS4 more closely but I feel like this would be a move forward even for BS4.
2022-04-14 09:25:38 -07:00
Julien Déramond
5299abeeab
Doc: Reorder alphabetically lists of components ( #36128 )
2022-04-08 16:30:58 +03:00
XhmikosR
349a373ff6
Update devDependencies
...
* @babel/cli ^7.16.0 → ^7.16.7
* @babel/core ^7.16.5 → ^7.16.7
* @babel/preset-env ^7.16.5 → ^7.16.7
* @rollup/plugin-node-resolve ^13.1.1 → ^13.1.2
* autoprefixer ^10.4.0 → ^10.4.1
* eslint ^8.4.1 → ^8.6.0
* eslint-plugin-import ^2.25.3 → ^2.25.4
* eslint-plugin-qunit ^7.1.0 → ^7.2.0
* eslint-plugin-unicorn ^39.0.0 → ^40.0.0
* hugo-bin ^0.78.1 → ^0.79.2
* linkinator ^2.16.2 → ^3.0.3
* node-sass ^7.0.0 → ^7.0.1
* rollup ^2.61.1 → ^2.63.0
* stylelint ^14.1.0 → ^14.2.0
* stylelint-config-twbs-bootstrap ^3.0.0 → ^3.0.1
Also, remove the unused glob package.
2022-01-04 09:50:53 +02:00
XhmikosR
69c5dc8934
Bump copyright year to 2022
2022-01-04 09:50:53 +02:00
Patrick H. Lauke
8469f695f9
Strengthen and expand note about dynamic tabs with dropdown menus ( #35588 )
...
following on from https://github.com/twbs/bootstrap/pull/35213 this
- expands the note, making it clear it's not supported
- makes it a callout
2022-01-04 09:50:53 +02:00
XhmikosR
bee3847e6d
Add note to carousel crossfade docs about bg color ( #35587 )
2022-01-04 09:50:53 +02:00
Patrick H. Lauke
a3d14bb7b7
Tweak toast docs ( #35633 )
...
- a few rewordings/tweaks
- add info about toasts with focusable/actionable controls (shouldn't autohide them)
manual backport of https://github.com/twbs/bootstrap/pull/33810
2022-01-03 10:15:29 +02:00
Julien Déramond
9c60983949
Backport #35556 ( #35558 )
...
* Use param to set Bootstrap version in Contents doc
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-12-16 11:22:03 +02:00
XhmikosR
f7cb3639a7
Update devDependencies
2021-12-16 09:23:08 +02:00
XhmikosR
c488b8fcc3
Update Stylelint and our config too
2021-12-16 09:23:08 +02:00
Ty Mick
0b3796e33d
docs: Add responsive variations for align-content-between ( #35532 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-12-16 09:23:08 +02:00
XhmikosR
c24f751c63
JS tests: only test one Node.js version ( #35481 )
2021-12-16 09:23:08 +02:00
XhmikosR
33f37880df
CI: add workflow_dispatch ( #35454 )
2021-12-16 09:23:08 +02:00
XhmikosR
9a5a5c57aa
Remove the now outdated build/svgo.yml ( #35447 )
2021-12-16 09:23:08 +02:00
XhmikosR
7245437856
build/change-version.js: fix wrong map usage ( #35395 )
2021-12-16 09:23:08 +02:00
XhmikosR
d99c820f9c
README.md: wrap file contents in a details element ( #35452 )
...
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2021-12-16 09:23:08 +02:00
Christian Oliff
b81ce1f9e2
README.md remove broken "David DM" dependency badges ( #35313 )
2021-12-16 09:23:08 +02:00
Patrick H. Lauke
4097441977
Update links to CCA, MQ5 prefers-reduced-motion, evergreen WCAG urls, more resources ( #35427 )
...
Manual backport of https://github.com/twbs/bootstrap/pull/33797
2021-11-30 08:38:07 +02:00
pricop
e87eeb4ad6
Fixed docs for Toasts referencing blur transparency ( #35190 )
2021-11-15 12:49:55 +02:00
XhmikosR
043a03c95a
Release v4.6.1 ( #35272 )
...
* Bump version to v4.6.1
* Dist
2021-10-28 17:45:21 +03:00
Barabas
ef6a418535
images.md: remove zero-width space ( #35234 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-10-28 14:22:59 +03:00
XhmikosR
3f88326815
Update devDependencies ( #35271 )
...
* autoprefixer ^10.3.7 → ^10.4.0
* eslint ^8.0.1 → ^8.1.0
* karma ^6.3.5 → ^6.3.6
* rollup ^2.58.0 → ^2.58.3
2021-10-28 13:53:14 +03:00
XhmikosR
41330696b9
Update devDependencies and switch to Node.js 16/npm 8
...
* @babel/core ^7.15.5 → ^7.15.8
* @babel/preset-env ^7.15.6 → ^7.15.8
* @rollup/plugin-commonjs ^20.0.0 → ^21.0.1
* @rollup/plugin-node-resolve ^13.0.5 → ^13.0.6
* autoprefixer ^10.3.6 → ^10.3.7
* babel-plugin-istanbul ^6.0.0 → ^6.1.1
* clean-css-cli ^5.3.3 → ^5.4.2
* eslint ^7.32.0 → ^8.0.0
* eslint-config-xo ^0.38.0 → ^0.39.0
* eslint-plugin-import ^2.24.2 → ^2.25.1
* eslint-plugin-qunit ^6.2.0 → ^7.0.0
* eslint-plugin-unicorn ^36.0.0 → ^37.0.1
* karma ^6.3.4 → ^6.3.5
* linkinator ^2.14.0 → ^2.14.4
* nodemon ^2.0.13 → ^2.0.14
* postcss ^8.3.8 → ^8.3.11
* postcss-cli ^9.0.0 → ^9.0.1
* rollup ^2.57.0 → ^2.58.0
* stylelint-config-twbs-bootstrap ^2.2.3 → ^2.2.4
* vnu-jar 21.9.2 → 21.10.12
2021-10-22 17:07:51 +03:00
XhmikosR
fc492edfa3
terser: specify 2 passes as it offers slightly better compression
2021-10-22 17:07:51 +03:00
XhmikosR
fe73da982f
JS: minor refactoring
...
* shorten block comments
* reorder constants
2021-10-22 17:07:51 +03:00
XhmikosR
4f0187c891
Revert "Bundlewatch: stop ignoring dependabot branches ( #33192 )" ( #35069 )
...
This reverts commit 5560c86070 .
2021-10-22 17:07:51 +03:00
XhmikosR
6d0fd8c3a5
Backport #35074
...
sanitizer: add `sms` in the `SAFE_URL_PATTERN`
2021-10-22 17:07:51 +03:00
XhmikosR
7b3a47ee3d
Update terser to v5.9.0.
2021-10-22 17:07:51 +03:00
Gaël Poupard
e482fbb159
fix(input-group): custom-file with validation ( #33239 )
2021-10-21 09:00:22 +03:00
Julien Déramond
8133c3e5b2
Fix capitalization after period in Markdown files ( #35112 )
2021-10-05 17:51:44 +03:00
XhmikosR
44a01ec5b7
Update devDependencies ( #35068 )
...
* @babel/cli ^7.15.4 → ^7.15.7
* @rollup/plugin-node-resolve ^13.0.4 → ^13.0.5
* autoprefixer ^10.3.4 → ^10.3.6
* glob ^7.1.7 → ^7.2.0
* nodemon ^2.0.12 → ^2.0.13
* postcss ^8.3.6 → ^8.3.8
* postcss-cli ^8.3.1 → ^9.0.0
* qunit ^2.17.1 → ^2.17.2
* rollup ^2.56.3 → ^2.57.0
2021-09-28 18:32:57 +03:00
Julien Déramond
8ebd6d95d6
Remove extra spaces in Markdown files ( #35047 )
2021-09-28 12:22:52 +03:00
XhmikosR
bdab948670
Remove unneeded conditional
2021-09-15 15:44:20 +03:00
XhmikosR
af52795501
Remove duplicate test.
2021-09-15 15:44:20 +03:00
XhmikosR
f6ff736a59
Change test description so that it's unique
2021-09-15 15:44:20 +03:00
XhmikosR
77e0855e5e
Merge duplicate test.
2021-09-15 15:44:20 +03:00
XhmikosR
ed62ab6e41
Remove commented out test
2021-09-15 15:44:20 +03:00
XhmikosR
d4e162f4ac
Skip tests if attachShadow is not present
2021-09-15 15:44:20 +03:00
XhmikosR
551f37aff6
tests: comply to the new rules
...
Use `assert.strictEqual`/`assert.true`/`assert.false`
2021-09-15 15:44:20 +03:00
XhmikosR
5391ecdfde
Add eslint-plugin-qunit
2021-09-15 15:44:20 +03:00
XhmikosR
e202996a2b
Update devDependencies
...
* @babel/cli ^7.14.8 → ^7.15.5
* @babel/core ^7.14.8 → ^7.15.4
* @babel/preset-env ^7.14.8 → ^7.15.6
* @rollup/plugin-commonjs ^19.0.1 → ^20.0.0
* @rollup/plugin-node-resolve ^13.0.2 → ^13.0.4
* autoprefixer ^10.3.1 → ^10.3.4
* clean-css-cli ^5.3.0 → ^5.3.3
* eslint ^7.31.0 → ^7.32.0
* eslint-config-xo ^0.37.0 → ^0.38.0
* eslint-plugin-import ^2.23.4 → ^2.24.2
* eslint-plugin-unicorn ^34.0.1 → ^36.0.0
* hugo-bin ^0.74.0 → ^0.76.1
* qunit ^2.16.0 → ^2.17.1
* postcss ^8.3.5 → ^8.3.6
* rollup ^2.53.3 → ^2.56.3
* vnu-jar 21.6.11 → 21.9.2
2021-09-15 15:31:00 +03:00
XhmikosR
cb55e389b8
Update CodeQL workflow ( #34961 )
2021-09-15 15:31:00 +03:00
XhmikosR
08a550a044
Backport #34937
...
Update a URL mentioning dead name
2021-09-15 15:31:00 +03:00
XhmikosR
b0cd2078f7
docs: backport layouts updates from the main branch
2021-09-15 15:31:00 +03:00
XhmikosR
9cdfbc06ce
docs-navbar: use the config variable and update to 5.1
2021-09-15 15:31:00 +03:00
XhmikosR
f9a79141be
npm scripts: add aggregate-output ( #32907 )
2021-09-15 15:31:00 +03:00
Gaël Poupard
1db75d111b
More concise improvements for add() and subtract() ( #34432 )
2021-09-15 15:31:00 +03:00
Mark Otto
01036ff2ef
Update description of active buttons ( #34966 )
2021-09-14 15:05:07 +03:00
Patrick H. Lauke
f4a1a35cf2
v4: Disabled link cleanup ( #34924 )
...
manual backport of #34886
per https://www.w3.org/TR/html-aria/#docconformance
> It is NOT RECOMMENDED to use `aria-disabled="true"` on an `a` element with an `href` attribute.
>
>NOTE
>If a link needs to be "disabled", remove the `href` attribute.
This PR removes the unnecessary `href="#"`, `tabindex="-1"`, and `aria-disabled="true"` from disabled links in both docs pages and examples. `aria-disabled="true"` *is* kept for disabled link-based buttons (that have `role="button"`) as there it's appropriate to use (you *want* to convey to assistive technologies that this thing you're claiming is a button is also disabled at the moment)
Further, the PR extends the "Link functionality caveat" to show the "proper" way (removing `href` and adding `.disabled` class only) to disable a link, but then explains what to do if that's not possible (and then keeps an example with all the traditional `href="#" tabindex="-1" aria-disabled="true"`, but explains clearly that it's not ideal). Same sort of explanation is also added to the pointer event utilities page
2021-09-09 14:49:06 +03:00
XhmikosR
408252eff1
Move RFS version in config.yml and update it.
2021-09-08 09:06:42 +03:00
XhmikosR
94b310dc6f
Update RFS to v8.1.0
2021-09-08 09:06:42 +03:00
Mark Otto
8dec3d0a34
Replace Sass division with multiplication and custom divide() function
...
Fixes #34353 .
Co-Authored-By: Slaven Tomac <slaventomac@gmail.com >
2021-09-08 09:06:42 +03:00
alpadev
b010a6f9f4
fix(modal): change the order we return from show() method ( #34087 )
...
In case of a modal with fading enabled, a prevented show event can cause show to not showing the modal anymore.
See #34055
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-07-25 20:36:11 +03:00
XhmikosR
5d24fef741
Update devDependencies
...
* @babel/cli ^7.14.3 → ^7.14.8
* @babel/core ^7.14.3 → ^7.14.8
* @babel/preset-env ^7.14.2 → ^7.14.8
* @rollup/plugin-commonjs ^19.0.0 → ^19.0.1
* @rollup/plugin-node-resolve ^13.0.0 → ^13.0.2
* autoprefixer ^10.2.5 → ^10.3.1
* eslint ^7.26.0 → ^7.31.0
* eslint-config-xo ^0.36.0 → ^0.37.0
* eslint-plugin-import ^2.23.2 → ^2.23.4
* eslint-plugin-unicorn ^31.0.0 → ^34.0.1
* globby ^11.0.3 → ^11.0.4
* hugo-bin ^0.71.1 → ^0.73.0
* karma ^6.3.2 → ^6.3.4
* karma-firefox-launcher ^2.1.0 → ^2.1.1
* linkinator ^2.13.6 → ^2.14.0
* nodemon ^2.0.7 → ^2.0.12
* node-sass ^6.0.0 → ^6.0.1
* postcss ^8.3.0 → ^8.3.5
* qunit ^2.15.0 → ^2.16.0
* rollup ^2.48.0 → ^2.53.3
* stylelint-config-twbs-bootstrap ^2.2.0 → ^2.2.3
* vnu-jar 21.4.9 → 21.6.11
2021-07-21 16:20:01 +03:00
XhmikosR
70267da28e
CI: make use of the actions/setup-node's cache option ( #34453 )
2021-07-21 16:20:01 +03:00
dependabot[bot]
9cf31d9f8e
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 ( #34491 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3 )
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-07-21 16:20:01 +03:00
Kijima Daigo
a6618c437b
CONTRIBUTING.md: fix broken link to README.md ( #34389 )
2021-07-21 16:20:01 +03:00
XhmikosR
6c9951203c
Backport #34336
...
Remove unneeded `.text-white-50` CSS rule
This is already part of Bootstrap 4.6 and 5.0.
2021-07-21 16:20:01 +03:00
XhmikosR
ec986fcb57
Manually backport #34075 and #34279
...
Improve and clean up vnu-jar.js
2021-07-21 16:20:01 +03:00
XhmikosR
c272eb80bf
Update Hugo config and sitemap.xml ( #34074 )
2021-07-21 16:20:01 +03:00
Gaël Poupard
ca3ff6dc29
Handle complex expressions in add() & subtract() ( #34047 )
2021-07-21 16:20:01 +03:00
XhmikosR
0ef990f18e
Replace Freenode with Libera.Chat in the remaining files ( #34250 )
2021-07-21 16:20:01 +03:00
Christian Oliff
6c2c14d887
Remove print thead rule ( #34426 )
...
The `thead` rule is safe to remove -- it was a workaround for browsers that didn't conform to this part of the CSS 2.1 spec. (https://www.w3.org/TR/CSS21/tables.html#table-display )
In practice, this meant IE 6 & IE 7.
(thanks to @mattbrundage for this PR upstream for the main.css project (https://github.com/h5bp/main.css/pull/101 )
2021-07-08 08:28:53 +03:00
k-utsumi
086c0bfc25
🐛 Enable 0.x with negative margins @ v4 ( #33593 )
...
* 🐛 Enable `0.x` with negative margins @ v4
I set it as below, but no negative margin was added.
`$spacers: (0\.5: ($spacer * .125));`
After investigating, it seems that `0 \ .5` is also evaluated as 0.
So I changed it to string comparison.
HTML example: `<img class="mt-n0.5">`
* 💚 Clear CI errors
2021-06-24 10:57:47 +03:00
Christian Oliff
538ea32cb7
Fix repetition in the description.
2021-06-09 14:08:50 -07:00
Gaël Poupard
e376773ccc
docs(color): wrong secondary hex code ( #34159 )
...
Closes #34146
---
Not sure what happened but indeed, [our current `$secondary` is not what's shown in docs](https://github.com/twbs/bootstrap/blob/c2f949c1fdad09e30793b533e5502808c5e2d423/scss/_variables.scss#L68 ).
2021-06-02 04:59:48 +02:00
XhmikosR
c2f949c1fd
Update devDependencies
...
* @babel/cli ^7.13.14 → ^7.14.3
* @babel/core ^7.14.0 → ^7.14.3
* @babel/preset-env ^7.14.1 → ^7.14.2
* @rollup/plugin-commonjs ^18.0.0 → ^19.0.0
* @rollup/plugin-node-resolve ^11.2.1 → ^13.0.0
* clean-css-cli ^5.2.2 → ^5.3.0
* eslint ^7.23.0 → ^7.26.0
* eslint-config-xo ^0.35.0 → ^0.36.0
* eslint-plugin-import ^2.22.1 → ^2.23.2
* eslint-plugin-unicorn ^29.0.0 → ^31.0.0
* glob ^7.1.6 → ^7.1.7
* hugo-bin ^0.70.0 → ^0.71.1
* node-sass ^5.0.0 → ^6.0.0
* postcss ^8.2.9 → ^8.3.0
* qunit ^2.14.1 → ^2.15.0
* rollup ^2.44.0 → ^2.48.0
* stylelint ^13.12.0 → ^13.13.1
* stylelint-config-twbs-bootstrap ^2.1.0 → ^2.2.0
* vnu-jar 21.2.5 → 21.4.9
2021-05-21 08:19:22 +03:00
midzer
fb604bc03f
Replace freenode with libera IRC server ( #34050 )
2021-05-21 08:19:22 +03:00
XhmikosR
68f6aa6780
CI: remove Node.js 10 ( #33923 )
...
Node.js 10 is EOL since 30/04/2021
2021-05-21 08:19:22 +03:00
Mark Otto
f61c2ed8f1
Spinner alignment changes
2021-05-21 08:19:22 +03:00
XhmikosR
6ed3845f31
JS tests: add Node.js 16 ( #33720 )
2021-05-21 08:19:22 +03:00
XhmikosR
5e69eab37a
Update anchor.js to v4.3.1. ( #33668 )
2021-05-21 08:19:22 +03:00
XhmikosR
072a0402d8
docs: update clipboard.js to v2.0.8 ( #33583 )
2021-05-21 08:19:22 +03:00
Mark Otto
767856c7b8
Backport #33782 to v4
2021-04-30 14:40:27 -07:00
Carson Sievert
4b5eb3ca51
Backport #33634 ( #33649 )
...
Dropdown: support `.dropdown-item` wrapped in `<li>` tags
2021-04-28 07:02:22 +03:00
Patrick H. Lauke
d967553913
Remove aria-haspopup from dropdowns ( #33624 )
...
`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA).
In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present.
This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01
2021-04-15 06:35:54 +03:00
Stefano Bartoletti
016f8fff11
fix typo in docs ( #33562 )
2021-04-06 17:55:29 +03:00
XhmikosR
67f873f41a
Update devDependencies
...
* @babel/cli ^7.13.0 → ^7.13.14
* @babel/core ^7.13.8 → ^7.13.14
* @babel/preset-env ^7.13.9 → ^7.13.12
* @rollup/plugin-commonjs ^17.1.0 → ^18.0.0
* @rollup/plugin-node-resolve ^11.2.0 → ^11.2.1
* autoprefixer ^10.2.4 → ^10.2.5
* clean-css-cli ^5.2.0 → ^5.2.2
* eslint ^7.21.0 → ^7.23.0
* eslint-plugin-unicorn ^28.0.2 → ^29.0.0
* globby ^11.0.2 → ^11.0.3
* hugo-bin ^0.69.0 → ^0.70.0
* karma ^6.1.1 → ^6.3.2
* postcss ^8.2.6 → ^8.2.9
* qunit ^2.14.0 → ^2.14.1
* rollup ^2.40.0 → ^2.44.0
* stylelint ^13.11.0 → ^13.12.0
Also lock jQuery to v3.5.1 since 3.6.0 has a bug that affects at least our tests
2021-04-05 07:44:39 +03:00
XhmikosR
a06c2b6706
BrowserStack: test on iPhone 12 ( #33398 )
2021-04-05 07:44:39 +03:00
XhmikosR
b58ea4a42e
README.md: use shields.io for the tests badge too ( #33401 )
2021-04-05 07:44:39 +03:00
XhmikosR
459cc246b9
Improve change-version.js ( #33148 )
...
* switch to async/await
* remove shelljs
* switch to globby; supports .gitignore out of the box
* don't write any files to the disk if they are indentical
* add two more cmd switches: --dry and --verbose
* strip leading "v" from version arguments so that we don't end up with duplicate `v`s
2021-04-05 07:44:39 +03:00
XhmikosR
90228a4743
Delete the unused build/ship.sh ( #33326 )
2021-04-05 07:44:39 +03:00
Mark Otto
51c8b91d91
Manually backport #33386 to v4 to properly document Sass default variables
2021-03-18 18:57:12 -07:00
Patrick H. Lauke
e16b06929a
Manual backport of #32627 ( #33165 )
...
Carousel: use buttons, not links, for prev/next controls
2021-03-11 09:23:46 +02:00
XhmikosR
7365592fbe
Update .bundlewatch.config.json
2021-03-10 22:38:38 -08:00
Mark Otto
40da702f80
Adjust feedback icon position and padding for select.form-control
2021-03-10 22:38:38 -08:00
XhmikosR
a59d436518
Update devDependencies
...
* @babel/cli ^7.12.16 → ^7.13.0
* @babel/core ^7.12.16 → ^7.13.8
* @babel/preset-env ^7.12.16 → ^7.13.9
* eslint ^7.20.0 → ^7.21.0
* eslint-config-xo ^0.34.0 → ^0.35.0
* eslint-plugin-unicorn ^28.0.1 → ^28.0.2
* hugo-bin ^0.68.0 → ^0.69.0
* linkinator ^2.13.4 → ^2.13.6
* lockfile-lint ^4.3.7 → ^4.6.2
* rollup ^2.39.0 → ^2.40.0
* stylelint ^13.10.0 → ^13.11.0
2021-03-02 17:53:37 +02:00
XhmikosR
cce467616f
CodeQL: skip dependabot PRs too ( #33130 )
2021-03-02 17:53:37 +02:00
XhmikosR
58192b3cac
Bundlewatch: stop ignoring dependabot branches ( #33192 )
2021-03-02 17:53:37 +02:00
XhmikosR
cf70a58149
Rename _gh_pages to _site. ( #33129 )
2021-03-02 17:53:37 +02:00
XhmikosR
6692d1ed47
linkinator: replace --silent with --verbosity ( #33100 )
2021-03-02 17:53:37 +02:00
Nikon the Third
7ad0625b8d
Adjust SAFE_URL_PATTERN regex for use with test method. ( #33153 )
...
The `test` method on regexes does not behave like `match` on strings
for checks if the regex matches when the global modifier (g) is present.
Also adds a unit test on tooltips for sanitizing the same template twice.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-03-02 17:16:09 +02:00
XhmikosR
8ec32eec44
Update clean-css-cli to v5.2.0 ( #33144 )
...
* Update clean-css-cli to v5.2.0
* Enable clean-css's batch flag
2021-02-18 20:59:05 +02:00
XhmikosR
c341721439
Partially backport #33045
...
Simplify karma.conf.js
`customLaunchers` does not seem to be needed.
2021-02-17 06:54:38 +02:00
XhmikosR
23a26e12ff
Update devDependencies
...
* @babel/cli ^7.12.13 → ^7.12.16
* @babel/core ^7.12.13 → ^7.12.16
* @babel/preset-env ^7.12.13 → ^7.12.16
* @rollup/plugin-babel ^5.2.3 → ^5.3.0
* @rollup/plugin-node-resolve ^11.1.1 → ^11.2.0
* eslint ^7.19.0 → ^7.20.0
* eslint-plugin-unicorn ^27.0.0 → ^28.0.1
* karma ^6.0.4 → ^6.1.1
* postcss ^8.2.5 → ^8.2.6
* rollup ^2.38.5 → ^2.39.0
* stylelint ^13.9.0 → ^13.10.0
Kept clean-css-cli to 4.x for the time being.
2021-02-17 06:54:38 +02:00
XhmikosR
bb5b5891da
Backport #32940
...
* Update the default value for $enable-deprecation-messages
As seen in the https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss ,
the `$enable-deprecation-messages` variable is set to `true` by default.
2021-02-17 06:54:38 +02:00
Patrick H. Lauke
210cb72872
Add a callout for the sanitizer in popovers and tooltips ( #32272 )
...
* Add a callout for the sanitizer in popovers and tooltips
* Add second reference to sanitizer in the options
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-02-17 06:54:38 +02:00
XhmikosR
6487ba72f5
vnu-jar.js: quote vnu path ( #33016 )
...
Should work now with folders with spaces
2021-02-17 06:54:38 +02:00
XhmikosR
9c264dbea5
CI: remove the cache fallback and shorten cache key ( #33012 )
2021-02-17 06:54:38 +02:00
XhmikosR
254de4cb42
CI: switch to the coverallsapp/github-action tag ( #32919 )
...
Unfortunately, they don't offer a `v1` tag
2021-02-17 06:54:38 +02:00
XhmikosR
a824d09ecd
change-version: remove vendor, add resources ( #32917 )
2021-02-17 06:54:38 +02:00
Wesley Haines
9722106781
Fix minor visual bug in FF caused by moz-focusring (v4) ( #32821 )
...
Avoid bug in Firefox where text appears "noisy" due to text-shadow applying to focused form fields.
2021-02-17 06:00:37 +02:00
Gaël Poupard
030af97fad
fix(forms): input-group and validation icons ( #32968 )
...
Fixes #30131
Issue mentions `form-control` but it impacts `.custom-select` — but not `textarea` since it has a qualifying type selector that increases its specificty.
So another way could be to set `select.custom-select` and `input.form-control`. Would there be any other tag concerned by those classes?
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-02-15 21:13:43 +02:00
XhmikosR
29674b8426
Simplify bugify.html ( #33063 )
...
* use `in` instead of `strings.Contains` since the latter is not documented
* use `cond`
2021-02-15 21:08:44 +02:00
XhmikosR
ce8af15ad1
Update devDependencies ( #32967 )
...
* @babel/cli ^7.12.10 → ^7.12.13
* @babel/core ^7.12.10 → ^7.12.13
* @babel/preset-env ^7.12.11 → ^7.12.13
* @rollup/plugin-babel ^5.2.2 → ^5.2.3
* @rollup/plugin-commonjs ^17.0.0 → ^17.1.0
* @rollup/plugin-node-resolve ^11.1.0 → ^11.1.1
* autoprefixer ^10.2.3 → ^10.2.4
* eslint ^7.18.0 → ^7.19.0
* karma ^5.2.3 → ^6.0.4
* karma-qunit ^4.1.1 → ^4.1.2
* linkinator 2.11.2 → ^2.13.4
* postcss ^8.2.4 → ^8.2.5
* rollup ^2.38.0 → ^2.38.5
* vnu-jar 20.6.30 → 21.2.5
2021-02-09 07:50:00 +02:00
pricop
72a9fb4624
_variables.scss: add missing newline before new section ( #32868 )
2021-02-08 17:19:46 +02:00
XhmikosR
2267193d8f
Switch to jsDelivr for jQuery too. ( #32918 )
2021-01-28 23:26:39 +02:00
XhmikosR
17d8fba548
Update devDependencies ( #32852 )
...
Pin karma and linkinator due to failures
2021-01-27 18:37:18 +02:00
XhmikosR
6ffb0b48e4
Release v4.6.0. ( #32726 )
...
* Bump version to v4.6.0.
* Dist
2021-01-19 18:16:38 +02:00
XhmikosR
9d87bd7a30
Backport #32037 ( #32833 )
...
* Backport #32037
Add `.navbar-nav-scroll` for vertical scrolling of navbar content
* drop the css var for a Sass css
Co-authored-by: Mark Otto <markdotto@gmail.com >
2021-01-19 08:18:19 +02:00
Mark Otto
9c4abcc6a1
Backport #32759 ( #32832 )
...
Mention CSP and embedded SVGs in v4 docs
2021-01-19 07:22:27 +02:00
XhmikosR
d2477abecd
Backport #32760 ( #32827 )
...
Add a live toast example to the docs
2021-01-18 20:59:59 +02:00
voltaek
ee282aff27
Docs: Sass implementation and rounding precision ( #32791 )
...
* Backport of changes to v5 docs that updated and clarified information about the Sass compiler used and the minimum rounding precision we recommend with it.
Co-authored-by: Mark Otto <otto@github.com >
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-17 20:59:11 +02:00
Mark Otto
87e42ce7c5
Lighten disabled dropdown text to $gray-500
...
Fixes #32474
2021-01-15 09:22:27 +02:00
XhmikosR
5a17956e5e
Backport #32469 and #32799
...
Improve zip-examples.js by only including the assets we need
2021-01-15 09:22:27 +02:00
Mark Otto
05a108b3d5
Document some basic code conventions for us ( #32778 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-15 09:22:27 +02:00
XhmikosR
ec1d745c10
CI: change Node.js to 14 ( #32796 )
...
This is so that it's consistent with the JS workflow thus the cache should match.
2021-01-15 09:22:27 +02:00
Mark Otto
d674c33a04
Backport #32795 ( #32809 )
...
* Clarify Sass import and customize docs for how to modify variable defaults
* Add an npm starter project callout to a few pages
2021-01-15 09:16:32 +02:00
Patrick H. Lauke
80aefd862c
Remove role="button" from CTA links in carousel example ( #32789 )
...
They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get `role="button"`
2021-01-14 12:19:19 +02:00
XhmikosR
2ed7504783
Update devDependencies
2021-01-13 11:03:32 +02:00
XhmikosR
aeccf0e270
Stylelint: disallow some property values ( #32756 )
...
* `border: none`
* `outline: none`
2021-01-13 11:03:32 +02:00
Mark Otto
17521ed43a
Mention stretched-link constraints with table elements ( #32761 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-13 11:03:32 +02:00
XhmikosR
da458176f3
GitHub Actions cleanup ( #32755 )
...
* lowercase `runner.os`
* remove `CI` environment variable since it's already set by the runner
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
67c2f2c965
Darken dropdown item hover style
...
Backport of https://github.com/twbs/bootstrap/pull/32754
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
e7cbb59d53
Consistently use outline:0 rather than outline:none
...
Manual backport of https://github.com/twbs/bootstrap/pull/32751 (which has not been merged yet, but assume it will shortly)
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
dfe4810199
Suppress focus outline for buttons when it shouldn't be visible in Chromium
...
Manual backport of https://github.com/twbs/bootstrap/pull/32689
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
4e6c981f4e
Remove old/unnecessary reboot bug fix
...
Manual backport of https://github.com/twbs/bootstrap/pull/32631
2021-01-13 11:03:32 +02:00
XhmikosR
2e8f70f5a1
Backport #32737
...
package.json: move `version_short` variable under the `config` object
This is so that it works on npm 7.x too.
2021-01-13 11:03:32 +02:00
XhmikosR
0f1069a32e
Update karma config
...
* rename constants
* enforce the constants to be Boolean
* use the coverage plugin only one time, on the latest jQuery run
* fix karma `logLevel`
2021-01-13 10:49:09 +02:00
XhmikosR
f8da510367
karma: run tests in parallel
2021-01-13 10:49:09 +02:00
XhmikosR
37186db5fc
docs: add v5.0 in versions ( #32728 )
2021-01-08 21:03:22 +02:00
XhmikosR
6b788acf63
Update devDependencies
...
* @babel/cli ^7.12.8 → ^7.12.10
* @babel/core ^7.12.8 → ^7.12.10
* @babel/preset-env ^7.12.7 → ^7.12.11
* @rollup/plugin-babel ^5.2.1 → ^5.2.2
* @rollup/plugin-commonjs ^16.0.0 → ^17.0.0
* @rollup/plugin-node-resolve ^10.0.0 → ^11.0.1
* autoprefixer ^10.0.2 → ^10.2.1
* cross-env ^7.0.2 → ^7.0.3
* eslint ^7.14.0 → ^7.17.0
* eslint-config-xo ^0.33.1 → ^0.34.0
* eslint-plugin-unicorn ^23.0.0 → ^25.0.1
* find-unused-sass-variables ^3.0.0 → ^3.1.0
* hugo-bin ^0.66.2 → ^0.68.0
* linkinator ^2.2.2 → ^2.11.2
* nodemon ^2.0.6 → ^2.0.7
* postcss ^8.1.10 → ^8.2.3
* postcss-cli ^8.3.0 → ^8.3.1
* qunit ^2.12.0 → ^2.13.0
* rollup ^2.33.3 → ^2.36.1
2021-01-08 12:04:37 +02:00
XhmikosR
cafcca31ac
Backport #32423
...
Add two new variables for pagination border-radius values
2021-01-08 12:04:37 +02:00
XhmikosR
b633c2befe
Backport #32632
...
Docs: Tweak the wording for collapse to indicate button is preferred/more semantic
2021-01-08 12:04:37 +02:00
XhmikosR
4540436f3d
Backport #32685
...
Clarify the `$enable-shadows` option in our docs
2021-01-08 12:04:37 +02:00
XhmikosR
3768b6e5b6
Backport #32713
...
Bump copyright year to 2021
2021-01-08 12:04:37 +02:00
Patrick H. Lauke
264a412589
Remove incorrect mention of dropdowns for dynamic tab behavior ( #32634 )
...
While technically it still works, we're already saying authors shouldn't do it later on, and we removed any examples of this. This was a straggler.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-08 12:04:37 +02:00
XhmikosR
1141a51789
CI: update to actions/setup-node@v2 ( #32635 )
2021-01-08 12:04:37 +02:00
XhmikosR
ccee913e59
Tooltips: add missing space ( #32529 )
2021-01-08 12:04:37 +02:00
XhmikosR
378f3939c8
Backport #32489
...
Fix popover docs example
2021-01-08 12:04:37 +02:00
XhmikosR
bb99676a8a
BrowserStack: test on macOS Catalina instead of High Sierra ( #32486 )
2021-01-08 12:04:37 +02:00
Patrick H. Lauke
9fbf50c3ce
Docs: style clipboard button on :focus, not just :hover ( #32461 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-08 12:04:37 +02:00
XhmikosR
984aacc32f
Update CodeQL Action ( #32452 )
2021-01-08 12:04:37 +02:00
XhmikosR
b0e7e02ab6
CI: add a 30-min timeout for BrowserStack ( #32238 )
2021-01-08 12:04:37 +02:00
XhmikosR
fcfd2ce4b2
CONTRIBUTING: mention dist files ( #32314 )
...
* CONTRIBUTING: mention dist files
* Update CONTRIBUTING.md
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2021-01-08 12:04:37 +02:00
Christian Oliff
fca04236ad
Remove duplicated 'follow Bootstrap on Twitter' link in Community section ( #32399 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2021-01-08 12:04:37 +02:00
XhmikosR
810de41bc3
build-plugins: switch to "bundled" for babel helpers ( #32312 )
2021-01-08 12:04:37 +02:00
XhmikosR
307c08af42
README: fix path to search.js ( #32257 )
2021-01-08 12:04:37 +02:00
XhmikosR
4620b9838b
karma: add v4 in Browserstack build ID ( #32502 )
2021-01-08 10:05:56 +02:00
Aleksandr Gorbatov
d1e0610a45
docs: Add Russian translation ( #32253 )
2021-01-08 09:53:22 +02:00
Patrick H. Lauke
f1b2ed93df
v4: Add an actual data-touch="false" example in the carousel docs ( #32639 )
...
* v4: Add an actual `data-touch="false"` example in the carousel docs
Backport of https://github.com/twbs/bootstrap/pull/32638
* Remove data-ride from example carousel
* Correct attribute table explanation and remove slide class from example
i believe the correct option is `slide` here, not `ride`.
the `if "carousel"` bit was rather unclear/confusing
* Edits...
sorry, trying to make sense of our quirky carousel stuff, it seems some illogical things have been there ever since
* Add data-interval to suppress autoplay
* Tweak carousel options formatting
* Update site/content/docs/4.5/components/carousel.md
Co-authored-by: Mark Otto <markd.otto@gmail.com >
* Tweak language
mostly based on @mdo's suggestion, but also adds the word "attribute" after `data-ride` for better flow/legibility
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2021-01-05 23:42:55 +00:00
Patrick H. Lauke
4fc35bdc3c
v4 backport: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text ( #32462 )
...
Backport and expansion (for v4) of #32246 and #32479
2020-12-15 11:06:00 +02:00
Patrick H. Lauke
5db105e587
Add mention of the bs-custom-file-input plugin needed for the custom file input ( #32457 )
2020-12-15 09:22:34 +02:00
Kyle Tsang
1897b4cd89
v4: Move negative margin-bottom from .nav-item to .nav-link ( #32211 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-12-10 11:02:28 +02:00
Mark Otto
17bb67dd5b
Add hex values to colors ( #32411 )
2020-12-10 11:01:13 +02:00
XhmikosR
fbfaba5bb8
Revert colors.yml accidental changes ( #32206 )
...
* Revert colors.yml accidental changes
* Bring colors data files up to par with the vars
2020-12-10 00:42:38 +02:00
Gaël Poupard
53542dc027
Remove useless .text-left in Layout / Overview ( #32363 )
2020-12-08 08:59:13 +02:00
Rohit Sharma
8e59752ee1
Partially backport #32217 ( #32225 )
...
Remove unnecessary `_getCustomClass` method.
`customClass` will be in the configuration already, even if it is provided in the data attributes, and jQuery's [`addClass()`](https://api.jquery.com/addclass/ ) method will handle it, either `this.config.customClass` is a function or a class name (even if it is a blank string).
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-25 09:35:36 +02:00
Rohit Sharma
22168e9b15
Fix typos ( #32247 )
2020-11-24 15:58:47 +02:00
XhmikosR
6f58383f5a
Update codeql.yml ( #32125 )
...
Specify the branches and clean up the comments
2020-11-24 08:40:11 +02:00
XhmikosR
90ad4ffc82
introduction: split comments ( #32223 )
2020-11-24 08:40:11 +02:00
XhmikosR
b45b5e9e65
Update _syntax.scss ( #32117 )
...
* Update _syntax.scss with the latest chroma selectors
* Sort selectors
* Remove no longer needed chroma workaround
* remove comments
2020-11-24 08:40:11 +02:00
XhmikosR
c9876ed15b
CI: specify FORCE_COLOR:2 ( #32222 )
...
This should show any colors in the output
2020-11-24 08:40:11 +02:00
XhmikosR
b26768ee42
postcss.config.js: remove arrow return ( #32235 )
2020-11-24 08:40:11 +02:00
XhmikosR
9260427a34
Update devDependencies
2020-11-24 08:40:11 +02:00
XhmikosR
398ddedac7
Manually backport #32226
...
docs: use `event` instead of `e`
2020-11-24 08:40:11 +02:00
XhmikosR
57e045f0ab
Backport #32224
...
Be consistent with Popper's name.
2020-11-24 08:40:11 +02:00
Noah Rosenzweig
631b5d4df1
Improve build/generate-sri.js regex ( #29753 )
...
When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.
Also, allow trailing whitespaces and empty ("") values to be matched.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-24 08:40:11 +02:00
XhmikosR
13486b8e27
examples: add the version number in title ( #32198 )
2020-11-24 08:40:11 +02:00
XhmikosR
aed84c9430
Backport #32189
...
docs(dropdowns): clarify where is `.show` applied
2020-11-24 08:40:11 +02:00
XhmikosR
7eee78c517
Backport #32178 and #32182
...
Handle Chromium to run Karma
2020-11-24 08:40:11 +02:00
Rohit Sharma
bfb773d64b
Backport #32179 ( #32220 )
...
Don't hide modal when `config.keyboard` is false
2020-11-21 22:14:28 +02:00
James Remeika
2d8c02eb10
tooltip/popover: add a customClass option ( #31834 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-20 11:56:16 +02:00
XhmikosR
ffa88deb85
docs: update selector CodePen example ( #32202 )
...
Moving it to the CodePen org so that we can all edit it.
2020-11-20 11:36:35 +02:00
XhmikosR
6bc18dc113
scss: remove needless Stylelint disables ( #32212 )
2020-11-20 09:54:33 +02:00
XhmikosR
e567b9a7ab
Backport #32158 ( #32203 )
...
Switch to jsDelivr for the remaining docs assets
Also, update feather icons and chart.js
2020-11-19 20:35:28 +02:00
Patrick H. Lauke
e5b5881f8c
Add overflow suppression to custom file label ( #32160 )
...
Avoids unsightly spilling out of long filename text, particularly for multi file inputs
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-19 16:29:57 +02:00
XhmikosR
052f72d360
Use the example shortcode in more places
...
Now, it's safe to do use it since it covers more cases
2020-11-19 11:22:22 +02:00
XhmikosR
764184fc43
Fix syntax highlighting language
2020-11-19 11:22:22 +02:00
XhmikosR
b46f05a948
Switch to Hugo
...
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:
* removing empty lines in raw HTML that break output
* read .browserslistrc, CSS variables from disk instead of duplicating it
* using Hugo mounts
* using Hugo for the docs CSS/JS
* move ToC Sass code to a separate file while adapting it for Hugo
Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
2020-11-19 11:22:22 +02:00
XhmikosR
ae87f8f7ce
homepage: split snippets and show copy buttons ( #32196 )
2020-11-19 11:13:08 +02:00
XhmikosR
5fd0c239bc
alerts.md: use Markdown ( #32193 )
2020-11-18 21:29:41 +02:00
Mark Otto
4bdaa2604f
Mention user-select-all support in docs ( #32151 )
2020-11-13 20:49:32 +02:00
XhmikosR
5795e421ac
Manually backport #32121 ( #32141 )
...
Use correct value order
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-11-13 18:58:51 +02:00
Patrick H. Lauke
d3cb97ad71
Avoid invisible real file input "spilling" out of container ( #32145 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-13 18:52:42 +02:00
XhmikosR
c41897ca98
Fix caniuse.com redirects ( #32147 )
2020-11-13 17:45:11 +02:00
XhmikosR
6ddedbff77
Update devDependencies and gems
2020-11-13 12:50:13 +02:00
XhmikosR
4bbc32dda7
download.md: link to JS files comparison too ( #32087 )
2020-11-13 12:50:13 +02:00
XhmikosR
fb12b0bd6a
search.js: check for search-input element early ( #32100 )
2020-11-13 12:50:13 +02:00
XhmikosR
45bf55e4ba
package.json: fix clean-css level switch ( #32097 )
2020-11-13 12:50:13 +02:00
XhmikosR
e2e6e867f8
browsers-devices.md: make heading an h3 ( #32136 )
2020-11-13 12:44:27 +02:00
XhmikosR
49d5756f01
navbar.md: remove loading=lazy from snippets ( #32138 )
2020-11-12 20:40:15 +02:00
XhmikosR
03ec5342e0
input-group.md: fix wrong class .visually-hidden ( #32137 )
2020-11-12 20:39:19 +02:00
Mitchell Bryson
896e444895
Check for data-interval on the first slide of carousel - v4 ( #31820 )
...
When starting a cycle for a carousel, it only checks for a default interval, and not an interval defined on the slide element via data props. This adds a check in before creating the interval to move to the next slide.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-12 09:34:17 +02:00
Mark Otto
9e9e1e61d5
Clarify JS bundle docs once more for v4 ( #32106 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-11-10 09:36:04 +02:00
Patrick H. Lauke
dec3d86514
Changes to navbar documentation/explanation ( #32094 )
2020-11-09 18:10:04 +00:00
XhmikosR
43f7befe36
docs: mention "Liberation Sans" ( #32083 )
2020-11-08 20:30:07 +02:00
Patrick H. Lauke
44d54eb578
Make docs anchorjs links darker on keyboard focus ( #32050 )
...
* Make docs anchorjs links darker on keyboard focus
Not just on mouse hover
* Update site/assets/scss/_anchor.scss
Co-authored-by: Mark Otto <markd.otto@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-11-05 11:22:05 +02:00
XhmikosR
f1acc7f1d8
Update devDependencies
2020-11-05 11:22:05 +02:00
XhmikosR
b3aa3958da
Backport #32045
...
tests: fix sanitizer test.
The test template does not include a `script` tag so the test always returned true.
2020-11-05 11:22:05 +02:00
XhmikosR
3063d74b86
ESLint: enable new-cap rule but ignore properties ( #32036 )
2020-11-05 11:22:05 +02:00
XhmikosR
ecf7db731f
CODE_OF_CONDUCT.md: fix redirect ( #32033 )
2020-11-05 11:22:05 +02:00
XhmikosR
39e9cced88
Clarify PRs section ( #32027 )
2020-11-05 11:22:05 +02:00
XhmikosR
30641eb346
Lint: stop ignoring package.js ( #32021 )
2020-11-05 11:22:05 +02:00
Patrick H. Lauke
bbfd22f924
Backport #32040 ( #32054 )
...
Add callouts about using light colors ideally on a dark background
2020-11-03 09:44:42 +02:00
XhmikosR
5664e728b4
Move js/src/index.js one folder up ( #32001 )
2020-11-01 07:31:17 +02:00
XhmikosR
465135a0f8
Backport #32015
...
Fix redirects
2020-10-30 16:34:06 +02:00
XhmikosR
f808026e5b
Backport #31861
...
* Split up dropdown sizing docs to improve rendering
- Drop the included .btn-toolbar, no need
- Split large and small button examples
2020-10-30 16:34:06 +02:00
XhmikosR
76d4f728a0
Update devDependencies
...
* autoprefixer ^9.8.6 → ^10.0.1
* find-unused-sass-variables ^2.0.0 → ^3.0.0
* linkinator ^2.2.0 → ^2.2.2
* postcss-cli ^7.1.2 → ^8.2.0
2020-10-30 16:34:06 +02:00
Christian Oliff
1266103171
Update Edge's Rendering Engine on CONTRIBUTING.md ( #32008 )
...
* Update Edge's Rendering Engine on CONTRIBUTING.md
Also updated the URL to prevent a HTTP redirect.
* Add 'Go to "Help > Send Feedback" from the browser' note
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-30 16:34:06 +02:00
XhmikosR
3f0b15cca6
CI: switch to Node.js 14. ( #32003 )
2020-10-30 16:34:06 +02:00
XhmikosR
76958761f2
CI: Skip dependabot PR branches. ( #32006 )
...
Also, reword Node.js setup step
2020-10-30 16:34:06 +02:00
Martijn Cuppens
9a094d44ef
Remove bugreport.apple.com since it doesn't work ( #32005 )
2020-10-30 16:34:06 +02:00
Adam Jones
71e5b7ca2b
Fix form validation tooltip alignment ( #31557 )
...
* Fix form validation tooltip alignment
* Remove CSS hacks
* Update _forms.scss
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com >
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-30 16:15:31 +02:00
XhmikosR
23cf931c7f
list-group.md: fix snippet ( #31981 )
2020-10-27 12:11:01 +02:00
XhmikosR
09df15cc3c
CI: allow skipping BrowserStack ( #31878 )
...
This basically brings back the previous behavior we had on Travis CI, where if the commit message included `[ci skip]`, BrowserStack tests didn't run.
Additionally, this allows skipping BrowserStack if the commit message contains `[skip ci]` too.
2020-10-27 12:11:01 +02:00
XhmikosR
1a90b8a418
Update devDependencies and gems
2020-10-27 12:11:01 +02:00
XhmikosR
35de511cb3
Update CodeQL action ( #31930 )
...
Should run on PRs too.
2020-10-27 12:11:01 +02:00
Patrick H. Lauke
d8c189df59
Explicitly mention emoji fonts, tweak sentence in typography ( #31960 )
2020-10-27 12:11:01 +02:00
Patrick H. Lauke
5f1bc4a756
Remove redundant visually hidden "(current)" from pagination controls ( #31892 )
...
* Replace visually hidden span with aria-current in tests
* Remove redundant visually hidden "(current)" when `aria-current` already used
Closes #31891
2020-10-27 12:11:01 +02:00
Martijn Cuppens
a7d5923470
Suppress flexbox side effects in breadcrumb ( #31700 )
...
* Suppress flexbox side effects
* Trailing whitesapce
Co-authored-by: Mark Otto <markd.otto@gmail.com >
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-27 12:11:01 +02:00
XhmikosR
084795db82
Update anchor-js to v4.3.0. ( #31951 )
2020-10-27 12:11:01 +02:00
XhmikosR
c0401ebfa0
Jekyll: switch to Liquid's strict mode.
...
This should make the build error out if there are any issues instead of emitting a warning, which we won't notice.
2020-10-27 12:11:01 +02:00
Gaël Poupard
d29b05c775
Handle the Ubuntu sans-serif case ( #31657 )
...
On Ubuntu, our native font-stack doesn't output the same font on Firefox and Chrome. This is [a known aliasing issue](http://fontfamily.io/sans-serif ) — check at the bottom, Ubuntu 14.04. Ubuntu 18.04 (my current) doesn't use the same (Firefox uses Liberation Sans, Chrome uses the default system font Ubuntu).
I'm inclined to prefer Liberation Sans since it's closer to Arial / Helvetica. This patch already exists in Boosted, didn't notice it was missing in bootstrap until today…
BTW, our linked Smashing Magazine's system fonts post mentions this and is even more accurate since it targets the three major Linux distributions. AFAIK this is not needed since [Liberation Sans is available everywhere](http://fontfamily.io/Liberation_Sans ) — but we might go back to `Oxygen, Ubuntu, Cantarell`if we want to stick to system fonts.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-27 12:11:01 +02:00
Gaël Poupard
4b30fe622c
Backport #31882
...
* feature(spinners): slow down spinners when prefers-reduced-motion
* docs(spinners): add reduced motion callout and mention slowing down in accessibility page
* Update spinners.md
* docs(accessibility): rewording
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk >
2020-10-27 12:11:01 +02:00
XhmikosR
efabff3a74
browserconfig.xml: switch to relative image path
2020-10-27 12:11:01 +02:00
XhmikosR
59b65a2cb8
Backport #31893
...
Update manifest.json
Switch to relative URLs so that we don't need to change the path with every major/minor release
2020-10-27 12:11:01 +02:00
Gaël Poupard
5f3fa833c9
docs(forms): backport #31904
...
* docs(forms): use a legend for fieldset instead of aria-label
* docs(forms): fix incorrect legend nesting in fieldset
2020-10-27 12:11:01 +02:00
XhmikosR
cec8e5ddc3
Remove double spaces from homepage SVGs
2020-10-27 12:11:01 +02:00
Martijn Cuppens
5d310db486
Fix mobile menu jump & double border
2020-10-26 21:47:03 -07:00
Itamar Eduardo Gonçalves de Oliveira
61b5efbaf7
v4 Examples/Floating-labels: fix bad behavior with autofill
2020-10-26 21:19:56 -07:00
Martijn Cuppens
a1b2071fe0
Require .has-validation for input groups with validation
2020-10-26 13:43:52 -07:00
Julien Déramond
171da55628
docs(forms): change inline custom radio name ( #31936 )
2020-10-19 22:13:30 +01:00
Alexandre Rosario
b1ae785f40
Fixed: Undefined mixin 'deprecate' when importing 'bootstrap-grid-scss' ( #31886 )
...
* Fixed: Undefined mixin 'deprecate' when importing 'bootstrap-grid-scss'
* Updated: Mixin import moved down to feature together with others
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-15 16:32:08 +03:00
XhmikosR
f86149807d
docs: switch to suggesting jsDelivr as a CDN ( #31898 )
2020-10-14 20:41:37 +03:00
XhmikosR
a716fb03f9
Prepare v4.5.3. ( #31880 )
2020-10-13 18:38:30 +03:00
XhmikosR
d9f4bcf6ff
Update devDependencies
2020-10-13 15:24:40 +03:00
XhmikosR
c049713382
Remove the unused js/dist/index.js.map
2020-10-13 15:24:40 +03:00
XhmikosR
1b48122641
Update .eslintrc.json
...
Enforce ES5 for tests
2020-10-13 15:24:40 +03:00
Ankit Mishra
5d066caace
Backport #31809 ( #31851 )
...
carousel: add missing `to` and `nextwhenvisible` description
2020-10-09 07:51:12 +03:00
Martijn Cuppens
429a84ff33
Backport #31826 ( #31846 )
...
Fix for alert-dismissible close button not clickable with stretched-link
2020-10-09 07:44:20 +03:00
Mark Otto
91d0a65243
Update .text-break for wider browser support
2020-10-05 16:12:47 +03:00
Mark Otto
c437735b6c
Backport versions update from #31754 and reverse order of versions to match v5
2020-10-05 16:12:47 +03:00
Mark Otto
ca68277976
Backport color-adjust for v4
...
Keeps checkboxes, radios, and switches with their intended design when printing.
Backports #29714
2020-10-05 16:12:47 +03:00
Mark Otto
a03b2feff2
Backport Reboot's th updates
...
Manually backports #30781 to v4.
2020-10-05 16:12:47 +03:00
Laussel Loïc
24572b1577
buttons plugin : avoid multiple change event trigger ( #31000 )
...
- add unit test to count how many events are thrown when widget contains multiple tags inside label
- add a parameter to toggle, if click event is provided onto an input then don't trigger another change event already thrown by the browser
- simplify the case where toggle interface is called click provide from input itself OR it's a button without label. If label is present, then browser propagate click event from childrens through label and then cause multiple calls to toggle
- the test assumes that `.btn` class is always set onto the label if there's one, otherwise need to update this plugin and look for label around the input
Test with keyboard, mouse and js click call
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-10-02 17:40:20 +03:00
XhmikosR
d9b4426b07
Update .gitignore ( #31783 )
...
Add vscode and netlify folders
2020-09-30 08:44:42 +03:00
XhmikosR
d9cccf476b
Compress the new images
2020-09-30 08:44:42 +03:00
Mark Otto
b25e6d5fa9
Add new Bootstrap Icons homepage images
2020-09-30 08:44:42 +03:00
XhmikosR
80fc8d9f76
Stylelint: enable --rd option
2020-09-30 08:44:42 +03:00
XhmikosR
e0cd05019e
Stylelint: replace deprecated options
2020-09-30 08:44:42 +03:00
XhmikosR
3cd2cd25b7
Update devDependencies and gems
2020-09-30 08:44:42 +03:00
XhmikosR
6c051294aa
typography.md: update wording about RFS and Bootstrap version.
2020-09-30 08:44:42 +03:00
XhmikosR
ff1d751e36
docs: link to the Asynchronous functions section
2020-09-30 08:44:42 +03:00
Mark Otto
d106b01dec
Add new variable for -padding-x
...
(cherry picked from commit fe77208a01 )
2020-09-30 08:44:42 +03:00
Mark Otto
f927a95b6c
Backport #31300 ( #31769 )
...
* Manually backport JS bundle guidance
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-09-28 10:57:42 +03:00
Johann-S
e45fbe7f72
add suggested fix for gpu acceleration
2020-09-24 15:06:30 +03:00
XhmikosR
16aa05752b
Update popovers.md
2020-09-24 15:06:30 +03:00
Mark Otto
34208778ba
v4: Mention GPU acceleration fix in docs callout
...
Closes #22610
2020-09-24 15:06:30 +03:00
XhmikosR
400364c7fd
Update devDependencies
2020-09-21 14:58:34 +03:00
XhmikosR
30c3cd45a2
icons.md: add icofont like in v5
2020-09-21 14:58:34 +03:00
XhmikosR
6994dacee4
Backport #31689
...
docs: fix a few redirects
* Fix GitHub's permanent redirects
* Fix a11yproject redirects
2020-09-21 14:58:34 +03:00
XhmikosR
dfefd48c34
Backport #31516
...
Add new icons set - CoreUI Icons
2020-09-21 14:58:34 +03:00
XhmikosR
31eb108811
Add parentheses around multiple spread conditions
2020-09-21 14:58:34 +03:00
XhmikosR
b31046aab3
Cache a few variables.
2020-09-21 14:58:34 +03:00
XhmikosR
c86b74fe88
Unbreak lines and remove a TODO comment
2020-09-21 14:58:34 +03:00
XhmikosR
be18957933
Backport 65d130fbd8
...
Mention the quotes requirement in the docs too
2020-09-21 14:58:34 +03:00
Mark Otto
8acd7c9fbe
Add a comment for escape-svg function
...
Closes #30835 by leaving a comment in the source that the escape-svg() function must have quotes around data URIs.
(cherry picked from commit 849fea5a1e )
2020-09-21 14:58:34 +03:00
Joakim Riedel
b0a0c56788
ensure hidePrevented.bs.modal can be prevented ( #31696 )
2020-09-21 14:41:40 +03:00
Mr. Will
ab0aec397e
Add new Chinese Simplified translation ( #31540 )
2020-09-20 14:24:13 +03:00
Patrick H. Lauke
63b8a6ffdd
Docs: Add top/bottom margin to highlighted code samples ( #31706 )
...
Backport of #31036 to v4
2020-09-19 18:59:56 +03:00
Mark Otto
7539cfb29c
Update _custom-forms.scss ( #31693 )
...
Typo in box-shadow attribute, global variable used instead of local.
Co-authored-by: Arthur Shlain <artur.slain@gmail.com >
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-09-18 11:21:30 +03:00
XhmikosR
dc2f1e68cd
Dropdown: fix variable always evaluating to true ( #31673 )
2020-09-18 10:22:24 +03:00
XhmikosR
1bd1d78a78
Update devDependencies and gems ( #31624 )
...
* Update devDependencies and gems
* Bump bundlewatch limits
2020-09-15 08:31:57 +03:00
XhmikosR
3be585990c
Comply to the new rules
2020-09-10 12:06:30 +03:00
XhmikosR
1c37a2ba77
Switch to xo and remove babel-eslint
2020-09-10 12:06:30 +03:00
Gaël Poupard
39282bcc9d
docs(build tools): mention how to get the sources ( #31589 )
2020-09-04 20:17:37 +03:00
XhmikosR
5f2480a90a
Prepare v4.5.2. ( #31444 )
2020-08-06 19:22:43 +03:00
Martijn Cuppens
c0aa405632
Remove undefined $ignore-warning
2020-08-06 19:08:24 +03:00
XhmikosR
e6ab4ad86a
Deprecate the make-container-max-widths mixin
2020-08-06 19:08:24 +03:00
Mark Otto
af4419b723
Restore make-container-max-widths mixin
2020-08-06 19:08:24 +03:00
XhmikosR
f083759d03
Remove flex: 1 0 100% from rows ( #31439 ) ( #31445 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-08-06 18:59:17 +03:00
XhmikosR
89dc9750ec
Prepare v4.5.1. ( #31408 )
2020-08-04 19:24:33 +03:00
XhmikosR
e0f89dc90b
Backport #31339 ( #31414 )
...
* Backport #31339
Add view on GitHub links for easier content editing from the docs
2020-08-04 18:54:01 +03:00
XhmikosR
30d375b33f
Remove overflow: hidden from toasts ( #31381 ) ( #31407 )
...
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-08-03 19:13:32 +03:00
XhmikosR
6879a3c51d
Update devDependencies and gems
...
* @babel/cli ^7.10.4 → ^7.11.0
* @babel/core ^7.10.4 → ^7.11.0
* @rollup/plugin-babel ^5.0.4 → ^5.1.0
* @rollup/plugin-commonjs ^13.0.0 → ^14.0.0
* @rollup/plugin-node-resolve ^8.1.0 → ^8.4.0
* autoprefixer ^9.8.4 → ^9.8.6
* eslint ^7.4.0 → ^7.6.0
* karma ^5.1.0 → ^5.1.1
* rollup ^2.21.0 → ^2.23.0
2020-08-03 19:06:36 +03:00
XhmikosR
d44a1e105e
Backport #31344
...
Add toasts to the components requiring JavaScript
2020-08-03 19:06:36 +03:00
Gaël Poupard
81d3e2b917
docs(skippy): prevent skip links from overlapping header
2020-08-03 19:06:36 +03:00
Rohit Sharma
1abe9264aa
Add unit test for toast to check clearTimeout to have been called ( #31298 )
2020-08-03 19:06:36 +03:00
Rohit Sharma
f530ab7549
Clear timeout before showing the toast ( #31155 )
...
* clear timeout before showing the toast
* Add unit test
* Remove the check for timeout
* Check for clearTimeout to have been called
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
# Conflicts:
# js/tests/unit/toast.spec.js
2020-08-03 19:06:36 +03:00
XhmikosR
0ec2ce44b4
Update to Ruby 2.7/Bundler 2.x. ( #31296 )
2020-08-02 16:26:19 +03:00
Patrick H. Lauke
cc49a5b506
Turn off scroll anchoring for accordions ( #31347 )
...
New default behavior for scroll anchoring (rolled out in Chrome 84?) leads to unsightly/odd accordion interactions - see #31341
This rule suppresses this new behavior and reverts back to the old way.
See https://drafts.csswg.org/css-scroll-anchoring/
2020-07-21 21:44:41 +01:00
Patrick H. Lauke
99013a5c54
Docs: forms accessibility cleanup (backport from v5) ( #31234 )
...
* Expand advice for anchor-based controls
* Expand accessibility note in input group
* Correct statement about validation, fix server example
* Tweak label > accessible name
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-07-12 07:57:48 +03:00
XhmikosR
38bcf108c9
Update dependencies, gems and regenerate package-lock.json ( #31261 )
...
* @rollup/plugin-node-resolve 8.1.0
* popper.js 1.16.1
* qunit 2.10.1
* rollup 2.21.0
2020-07-09 15:21:41 +03:00
XhmikosR
f40e1b651b
Update devDependencies and gems
2020-07-06 16:40:27 +03:00
XhmikosR
ad8d3a6c54
Update Babel config ( #31011 )
...
* remove plugin-proposal-object-rest-spread
* add bugfixes
* `exclude: ['transform-typeof-symbol']` did nothing with our config
2020-07-06 16:40:27 +03:00
ysds
9a6cfeb36e
Backport #30326 (Unit test)
2020-07-06 16:40:27 +03:00
XhmikosR
ea01c29294
Backport #30326
...
Prevent overflowing static backdrop modal animation
TODO: backport the test too
2020-07-06 16:40:27 +03:00
XhmikosR
234dd96abf
Backport #31135
...
* Move color utility callouts to start of page
Hierarchically/structurally, in the position they are currently at, the two callouts seem like they "belong" just to the "background color" section. Moving them to the start makes it clearer that those two callouts relate to everything in the page (both "Color" and "Background color" classes.
* Change heading level
otherwise the assistive technology callout looks like it's hierarchically under the "Dealing with specificity" heading
2020-07-06 16:40:27 +03:00
XhmikosR
c49b084158
BrowserStack: test on Edge 15
2020-07-06 16:40:27 +03:00
Mark Otto
b2ef98f154
Remove backdrop-filter from toasts
2020-07-06 16:40:27 +03:00
Gaël Poupard
04dbb6c24c
Floating labels improvements ( #30966 )
...
* docs(example): floating-labels' better Edge fallback
* docs(example): refactor floating-labels' CSS
2020-06-24 15:16:58 +03:00
XhmikosR
5a9fc2938c
Update devDependencies and gems
2020-06-24 15:16:58 +03:00
Patrick H. Lauke
c995886c0f
Docs: add Gaël Poupard to the core team page ( #31081 )
...
Docs: add Gaël Poupard to the core team page
2020-06-24 15:16:58 +03:00
XhmikosR
9b241e630c
Backport #31070
...
* Make example less broken-looking
don't want to give impression that now it's ok to just sprinkle `role="button"` around. this at least makes the `span` keyboard-focusable, similar to at least the start of a custom control
2020-06-24 15:16:58 +03:00
XhmikosR
920dc619a4
README.md: update badges
...
* remove .svg from shields.io badges since it's the default
* switch to shields.io for the OC badges too
* fix badgesize badges' labels
2020-06-24 15:16:58 +03:00
XhmikosR
f6b74b8b41
Fix typo
2020-06-24 15:16:58 +03:00
XhmikosR
2e991732de
Update issue templates from main.
2020-06-24 15:16:58 +03:00
XhmikosR
2314247825
Remove unused issue templates
2020-06-24 15:16:58 +03:00
XhmikosR
3349eb6a41
Update links to point to v4-dev or main branches
2020-06-24 15:16:58 +03:00
XhmikosR
6c04d186e2
Split GitHub Actions.
2020-06-24 15:16:58 +03:00
XhmikosR
7de8582657
Stylelint: remove redundant inline suppressions
2020-06-24 15:16:58 +03:00
XhmikosR
242f75cd1f
Update .gitattributes ( #30934 )
...
This requires git >= 2.10 but it was released almost 4 years ago.
2020-06-24 15:16:58 +03:00
XhmikosR
78a51cb12f
Backport #30973
...
Remove the class `.nav-item` from `.nav-link` inside the non `ul` or `ol` based navs.
This makes the consistency for `.nav-item` (This class will not be required on the `.nav-link`).
`.nav-item` was only required when you use `.nav-fill` or `.nav-justified` on the `.nav`. In other cases, it was redundant. And the purpose of `.nav-item` on `.nav-link`s can be achieved via flexbox utilities as well (Mentioned in the docs also).
2020-06-24 15:16:58 +03:00
Gaël Poupard
89be07b51f
Prevent .row from shrinking in flex container ( #30940 )
2020-06-24 15:16:58 +03:00
Martijn Cuppens
4f44a2afd0
Remove duplicate properties after #30922 ( #31148 )
2020-06-23 09:28:13 +03:00
Gaël Poupard
7b5e48d307
fix(custom forms): disabled checked states weren't overriding background-image ( #30922 )
2020-06-15 08:41:12 +03:00
k-utsumi
c3572ceca9
Avoid duplication of container breakpoints ( #30969 )
2020-06-14 00:25:39 +03:00
Gaël Poupard
7c6a0db820
Floating labels examples in IE ( #30965 )
...
* docs(example): drop IE workaround since it works fine in IE
* Serial comma
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-06-13 09:38:13 +03:00
Gaël Poupard
5b8163301c
Backport #30979 ( #30999 )
...
fix(grid)[manual backport]: zero min-width on .col has too much side-effects
2020-06-10 16:12:12 +03:00
Laussel Loïc
e9f039d1fe
avoid preventing input event onclick ( #30992 )
...
* instead of stopping event if onclick is triggered on input, call toggle method only if its not on checkbox inside a label
* add unit test
* add a dedicated test to ensure click event is forward to label
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-06-10 15:45:31 +03:00
Gaël Poupard
ba6d5e802b
docs(toasts): centered examples flexbugs #3 in IE11
2020-06-10 08:14:30 +03:00
Gaël Poupard
8429acf460
fix(toasts): IE11 shrinks toasts when in flex container, unless we specify flex-basis
2020-06-10 08:14:30 +03:00
XhmikosR
3caea1ca02
visual/modal.html: fix close buttons placement
2020-06-04 17:53:16 +03:00
XhmikosR
7ac763bcdc
Bump bundlewatch limits
2020-06-04 17:53:16 +03:00
XhmikosR
8bc6dcd280
Backport #30936
...
Add role="dialog" in modals via JavaScript
2020-06-04 17:53:16 +03:00
XhmikosR
288b9b82b5
Backport #30932
...
Restore word-break: break-word on .text-break to fix text breaking on flex containers
2020-06-04 17:53:16 +03:00
XhmikosR
ac3c2e2356
Update devDependencies and gems
2020-06-04 17:53:16 +03:00
XhmikosR
24d5a1e996
CI: update to actions/cache@2
2020-06-04 17:53:16 +03:00
XhmikosR
35310454b1
Remove ESLint object-curly-newline rule.
2020-06-04 17:53:16 +03:00
XhmikosR
7a9bbd4489
Backport #30742
...
Update to `@rollup/plugin-babel`
2020-06-04 17:53:16 +03:00
Martijn Cuppens
fdb596b2c3
Prevent conflicts with components with classes ( #30830 )
2020-06-04 17:53:16 +03:00
Mark Otto
ce23903a76
v5: Add border-radius to .card-img-overlay ( #30817 )
...
Allows use of background-color and more. Fixes #29033 for v5.
2020-06-04 17:53:16 +03:00
Mark Otto
ac48bbe081
Simplify list-group borders in cards ( #30808 )
2020-06-04 17:53:16 +03:00
Mark Otto
f4a7888af5
v4: Add z-index to .custom-check to fix custom checks in CSS columns ( #30810 )
...
For some reason, custom checks in CSS columns need a new stacking order to maintain visibility. This PR adds `z-index: 1` to trigger that new stacking order. Since v5's forms are being redone entirely, and we're dropping IE10/11 there, I think this is totally fine to ship with v4 only. Will need to check v5's forms it in Edge though.
Fixes #29607 .
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-06-04 16:11:33 +03:00
Gaël Poupard
4e685e70b7
fix(custom forms): nullify box-shadow for custom forms' states ( #30957 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-06-04 09:34:30 +03:00
Gaël Poupard
b287736327
fix(forms): IE11 misalign validation tooltips in input-groups ( #30960 )
2020-06-04 09:27:08 +03:00
Gaël Poupard
6f4d9fff02
docs(cards): fix card-img-bottom example ( #30925 )
2020-05-29 18:01:40 +03:00
Gaël Poupard
daa01aacb5
docs(CDN): improve wording to match master and fix #30873 ( #30896 )
2020-05-26 18:48:53 +03:00
Mark Otto
58dd4cc66c
v4: Update docs callout for responsive SVG images ( #30809 )
...
Turns out this applies to IE11 as well as IE10, so this clarifies the docs callout.
Closes #25242 .
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-05-14 09:18:01 +03:00
Mark Otto
a8eb919f44
v4: Mention Bootstrap Icons in extend/icons.md ( #30813 )
...
- Closes #30796
2020-05-14 09:06:08 +03:00
XhmikosR
700c6036aa
Fix release script docs ( #30797 )
2020-05-13 09:13:27 +03:00
XhmikosR
7a6da5e3e7
Dist
2020-05-12 20:44:42 +03:00
XhmikosR
109ad5db90
Bump version to 4.5.0.
2020-05-12 20:44:42 +03:00
Mark Otto
4a0ddb02db
Wording fixes
2020-05-12 19:21:36 +03:00
XhmikosR
0f26be5ff3
Move the input groups validation workaround in docs.
2020-05-12 19:21:36 +03:00
XhmikosR
842b0d2ae4
Remove mention of build tools
...
They are not included in npm.
2020-05-12 19:21:36 +03:00
XhmikosR
32932d27d5
Grammar fixes
2020-05-12 19:21:36 +03:00
XhmikosR
4a26e51540
Include the newly added utilities/interactions.scss file
...
We missed it in #30562
2020-05-12 19:21:36 +03:00
XhmikosR
0f3eda8254
Update devDependencies and gems.
2020-05-12 19:21:36 +03:00
XhmikosR
30e7df6cca
Backport d59de33 from #30772
...
Add a test about the scrollbar issue on non-integer width
2020-05-12 19:21:36 +03:00
Giovanni Mendoza
f1827ce9cd
Avoid bad scrollbar replacement into width values
...
Refs #30772
2020-05-12 19:21:36 +03:00
XhmikosR
eb1df3e079
Update codeql.yml ( #30777 )
...
Remove moot fail-fast option
2020-05-12 19:21:36 +03:00
XhmikosR
df91d2cab0
Improve build/zip-examples.js ( #30759 )
...
* remove favicons meta tags
* copy the two brand images we use in the examples
* copy dist and brand images into an assets folder
2020-05-12 19:21:36 +03:00
Rohit Sharma
d2f9fbd055
Removed role="document" from the modal dialog ( #30755 )
2020-05-12 19:21:36 +03:00
XhmikosR
bad48dc3b9
CI: simplify cache
...
While it might not be possible to invalidate the cache by changing test.yml, this should speed things up a lot due to `bundle i` taking most of the time.
2020-05-12 19:21:36 +03:00
XhmikosR
86f2c01459
Partially revert "Use regex.test() when we want to check for a Boolean. ( #29969 )"
...
This partially reverts commit 6c46493803 .
2020-05-12 19:21:36 +03:00
XhmikosR
955c437f32
collapse.js: combine classes
2020-05-12 19:21:36 +03:00
XhmikosR
eb720f20ff
Minor lint tweaks and rules cleanup
2020-05-12 19:21:36 +03:00
XhmikosR
53eace04df
build-plugins.js: add missing shebang ( #30743 )
2020-05-12 19:21:36 +03:00
XhmikosR
1c9e203c52
dropdown.js: switch to a ternary
2020-05-12 19:21:36 +03:00
XhmikosR
5f79b75ea8
tests: switch to strictEqual/notStrictEqual
2020-05-12 19:21:36 +03:00
XhmikosR
195585f5a6
scrollspy.js add more tests
2020-05-12 19:21:36 +03:00
XhmikosR
fa8a7eca06
Remove variables used once.
2020-05-12 19:21:36 +03:00
XhmikosR
52fdab8d70
Join/break a few lines, no functional changes
2020-05-12 19:21:36 +03:00
XhmikosR
b3601aae5b
README.md: change Tests badge to point to v4-dev
2020-05-12 19:21:36 +03:00
XhmikosR
456194da11
package.json: add a docs-build script
...
Make the `docs-compile` one an alias of `docs-build`.
2020-05-12 19:21:36 +03:00
XhmikosR
fb4c8eacb0
CI: stop updating RubyGems since it's not needed
2020-05-12 19:21:36 +03:00
Mark Otto
5d10e4a58e
Add new interaction utilities and role attr to Reboot ( #30562 )
...
- Adds .user-select-* utils from v5
- Adds button role attribute util, one of the top requested features in our issues for adding pointer cursors
- Adds new docs page to demonstrate both
- Includes Sass list for customizing user select
2020-05-11 20:57:29 +03:00
XhmikosR
fce3370843
Backport #29272 and adapt if for v4-dev
...
docs: fix tap targets
2020-05-10 12:19:58 -07:00
XhmikosR
345d68cdbb
Add loading="lazy" in images
...
Backport of #30199 after adapting it for v4-dev.
2020-05-10 12:19:58 -07:00
Mark Otto
a1d8ed4413
v4: Update homepage, examples, and general docs styles
...
- Refreshes the look and feel of the homepage with fresh colors, new content, and simplified styles.
- Updates docs button styles
- Replaces bytesize icons with Bootstrap icons
- Adds themes callout to examples page
2020-05-10 12:19:58 -07:00
XhmikosR
4111242cbb
Update devDependencies and gems
2020-05-07 09:31:49 +03:00
XhmikosR
e82888daf4
Revert "Avoid bad scrollbar replacement into width values ( #30690 )"
...
This reverts commit 5f00bba652 .
2020-05-07 09:31:49 +03:00
Johann-S
015aaf3c3d
ensure build plugins can exit in error ( #30744 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-05-07 09:31:49 +03:00
Johann-S
22f75ca2e3
enforce element check on scrollspy target
2020-05-07 09:31:49 +03:00
XhmikosR
5f267b1854
Update jQuery to v3.5.1.
2020-05-07 09:31:49 +03:00
XhmikosR
0f6cb9139f
scrollspy.js: remove temporary variable ( #30724 )
2020-05-07 09:31:49 +03:00
XhmikosR
f3aed77dc7
Backport #30723
...
Move babel whitelist helpers to a common file
2020-05-07 09:31:49 +03:00
XhmikosR
d8691fcd5a
Update codeql.yml ( #30719 )
...
Remove `pull_request` event since it's not supported.
2020-05-07 09:31:49 +03:00
XhmikosR
566c829a1c
package.json: fix release script for v4.
2020-05-07 09:31:49 +03:00
Mark Otto
e51a09a2b8
Wording fixes
2020-05-06 20:56:04 +03:00
XhmikosR
8876866399
Update browser-bugs.md
...
Add a danger callout that the page is outdated
2020-05-06 20:56:04 +03:00
Quy
d63b651f37
Fix typo ( #30745 )
...
Use possessive form of it
2020-05-06 06:54:42 +03:00
XhmikosR
1fef25b777
Revert "v4: Add Release Drafter ( #30701 )" ( #30711 )
...
This reverts commit f93e58eddb .
2020-05-04 20:00:19 +03:00
XhmikosR
63dbe4705d
search.js: make the check for URL stricter ( #30695 )
2020-05-02 15:39:19 +03:00
Johann-S
5f00bba652
Avoid bad scrollbar replacement into width values ( #30690 )
2020-05-02 15:39:19 +03:00
XhmikosR
c06a1f305d
Backport #30130
...
Add a script to zip the built examples
2020-05-02 15:39:19 +03:00
Johann-S
1b16736a72
fix package.json add extension in main field
2020-05-02 15:39:19 +03:00
Martijn Cuppens
ec637483f2
Backport #30685
...
`<pre>`: Disable auto-hiding scrollbar in IE & legacy Edge
2020-05-02 15:39:19 +03:00
XhmikosR
971738b4b5
Backport the CodeQL Action addition
2020-05-02 15:39:19 +03:00
XhmikosR
33f47771ca
Fix redirect
2020-05-02 15:39:19 +03:00
XhmikosR
6d9256d2b1
Backport #30362
...
Remove unneeded og:image:secure_url from social.html
The image is always available over HTTPS anyway
2020-05-02 15:39:19 +03:00
Mark Otto
f93e58eddb
v4: Add Release Drafter ( #30701 )
...
* Create release-drafter.yml
* Create release-notes.yml
2020-05-01 11:22:10 +03:00
Shohei Yoshida
e344ed4446
v4: Change input group validation examples ( #30180 )
...
* Change input group examples
* Update forms.md
* Update site/docs/4.4/components/forms.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Mark Otto <markd.otto@gmail.com >
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-04-30 09:29:03 +03:00
Mark Otto
f79d14f7c8
Fixes #30503 to replace renamed position utility ( #30505 )
2020-04-30 08:11:51 +02:00
XhmikosR
748b1b9a5a
CI: remove no longer needed steps ( #30674 )
...
The latest `actions/setup-node` prints this info by default
2020-04-28 20:59:30 +03:00
XhmikosR
5ecccd1171
Update devDependencies and gems.
2020-04-28 20:59:30 +03:00
Martijn Cuppens
92fe8445b1
Prevent list group style leaks ( #30660 )
2020-04-28 20:59:30 +03:00
XhmikosR
9c7ee5e554
CI: set CI_BRANCH_BASE to v4-dev
...
This is so that bundlewatch compares against v4-dev and not master.
2020-04-28 20:59:30 +03:00
XhmikosR
f5c7da4c78
Backport 9b97dc6
...
Tweak syntax highlighting colors to be WCAG2AA valid.
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-04-28 20:59:30 +03:00
Martijn Cuppens
7a678fc64f
Backport #30633
...
Remove caret element
2020-04-28 20:59:30 +03:00
Martijn Cuppens
a66d9a3d50
Backport #30605
...
grid: checks for `$grid-columns > 0`
2020-04-28 20:59:30 +03:00
Catalin Zalog
9d0097013a
Backport #30606 ( #30612 )
...
checks for `$grid-row-columns`
2020-04-28 20:59:30 +03:00
Catalin Zalog
4853c5b527
feat: checks for $grid-breakpoints map list ( #30609 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-04-28 20:59:30 +03:00
Mark Otto
c4355e4a6b
v5: Improve the responsiveness of our Dashboard example ( #30573 )
...
Cleans up some column classes to ensure things line up across all viewports. Also fixes some broken padding on the .navbar-brand.
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-04-28 20:59:30 +03:00
k-utsumi
0321c632ed
Delete appearance from button.close ( #30582 )
2020-04-28 20:59:30 +03:00
XhmikosR
e33e344410
Revert "Add dependabot config for v4 ( #30008 )"
...
This reverts commit 04b8219c18 .
2020-04-28 20:59:30 +03:00
Martijn Cuppens
9f7fc4ac2b
Deprecate bg-gradient-variant mixin ( #30594 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-04-18 09:12:51 +03:00
XhmikosR
f5ec0dbf74
collapse: fix error with jQuery v3.5.0.
2020-04-17 11:41:32 +03:00
XhmikosR
d848c32297
Fix tests for jQuery v3.5.0.
2020-04-17 11:41:32 +03:00
XhmikosR
05cfefd32b
Update jQuery to v3.5.0.
2020-04-17 11:41:32 +03:00
XhmikosR
04b8219c18
Add dependabot config for v4 ( #30008 )
2020-04-13 21:51:22 +03:00
XhmikosR
341ad62517
Update clipboard.js to v2.0.6
2020-04-13 21:12:29 +03:00
XhmikosR
5053725870
Update bs-custom-file-input.js to v1.3.4
2020-04-13 21:12:29 +03:00
XhmikosR
04c1ecd79d
Update devDependencies and gems
2020-04-13 21:12:29 +03:00
Martijn Cuppens
abc17a4858
Backport #30555
...
Use `box-shadow` mixin for `.form-select`
2020-04-13 21:12:29 +03:00
Martijn Cuppens
4d863effdb
Backport #30512
...
Use `box-shadow` mixin for `.btn`
2020-04-13 21:12:29 +03:00
XhmikosR
5455e30048
Backport #30542
...
Remove redundant class and line height
2020-04-13 21:12:29 +03:00
XhmikosR
c1a75a7d8f
Add v4-dev in bundlewatch config. ( #30541 )
2020-04-13 21:12:29 +03:00
XhmikosR
adb08ca33a
Replace bundlesize with bundlewatch. ( #30538 )
2020-04-13 21:12:29 +03:00
Mark Otto
5f15f8cdbd
Fix spinner-grow animation ( #30504 )
...
* Fix spinner-grow animation
Safari seems to be interpreting the old keyframes animation as incomplete. Adding `transform` to the second frame seems to resolve the issue.
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-04-13 21:12:29 +03:00
Catalin Zalog
6edeaa4291
Add .card-footer color ( #30515 )
2020-04-13 21:12:29 +03:00
Martijn Cuppens
fe9384c216
Backport #30497
...
Fix card list group borders & radii
2020-04-13 21:12:29 +03:00
Martijn Cuppens
ddc58343d3
Backport #30480
...
Use `box-shadow` mixin for form controls
2020-04-13 21:12:29 +03:00
Martijn Cuppens
706bd3602d
Backport #30391
...
transition() mixin prevent redundant 'transition: none' and pass `null`
2020-04-13 21:12:29 +03:00
Laussel Loïc
0cf29baf63
v4 tabs - accessibility issue when using ul/li semantic ( #30381 )
...
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-04-10 08:35:09 +03:00
luktom
8cc9defbc0
Fix event propagation from inactive and disabled dropdowns ( #30510 ) ( #30511 )
2020-04-07 21:16:17 +03:00
Martijn Cuppens
1b575c27cd
Backport #30353 ( #30361 )
...
Remove appearance from date inputs
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-04-01 08:53:07 +03:00
XhmikosR
f7ed579d91
Switch to string constants. ( #30490 )
...
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly.
While at it, remove a few unused properties.
File Before After Diff
--------------------------------------------------------
bootstrap.bundle.min.js 22.09 kB 21.13 kB -0.96 kB (-4.35 %)
bootstrap.min.js 15.4 kB 14.46 kB -0.94 kB (-3.86 %)
2020-03-31 21:27:35 +03:00
XhmikosR
0225c1173b
Bump devDependencies and gems.
2020-03-31 21:11:29 +03:00
XhmikosR
467c961976
Remove holder.js leftovers ( #30469 )
2020-03-31 21:11:29 +03:00
Tim Dujardin
b30c68f8a1
Added focus state to .btn-link ( #30036 )
2020-03-31 21:11:29 +03:00
XhmikosR
573c10f099
Backport #30041 and #30448
...
Switch links to the GitHub organization and fix redirected links
2020-03-31 21:11:29 +03:00
Shohei Yoshida
effe4e9588
Update modal docs ( #30325 )
2020-03-31 21:11:29 +03:00
Johann-S
dabd458b4b
Backport ( #30383 )
...
fix: ensure totype always return stringified null when null passed
2020-03-31 21:11:29 +03:00
XhmikosR
0c8d8a48e1
Backport ( #30418 )
...
Open icons in a new tab like the rest of the external links
2020-03-31 21:11:29 +03:00
XhmikosR
03fec36b44
Clarify card group behavior ( #30416 )
...
Co-authored-by: Mark Otto <markd.otto@gmail.com >
2020-03-31 21:11:29 +03:00
XhmikosR
138e8da421
CI: switch to Ruby 2.6.
2020-03-31 21:11:29 +03:00
Frank Liepert
45c99f7130
Prevent vertical offset in IE 11 ( #29413 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-03-31 14:09:09 +02:00
Laussel Loïc
8b6dd449d7
fix $().button('toggle') not working for checkbox inside label ( #30388 )
2020-03-16 14:28:33 +02:00
XhmikosR
ac5685d368
Update .github/workflows/test.yml
2020-03-09 16:26:10 +02:00
XhmikosR
81e8f52fcb
Revert "CI: switch to Ruby 2.6"
2020-03-09 16:26:10 +02:00
XhmikosR
d65977a991
Backport #29920
...
Add lockfile-lint
2020-03-09 16:26:10 +02:00
XhmikosR
90fef3086d
CI: switch to Ruby 2.6
2020-03-09 16:26:10 +02:00
XhmikosR
9b71d9817d
Update CI caching
2020-03-09 16:26:10 +02:00
XhmikosR
3b5283602c
Replace uglify-js with terser.
2020-03-09 16:26:10 +02:00
XhmikosR
cc3ca2586f
Update Jekyll to v4.0.0.
2020-03-09 16:26:10 +02:00
XhmikosR
906a5de548
Replace broken-link-checker with linkinator
2020-03-09 16:26:10 +02:00
XhmikosR
61276d0881
Drop Node.js < 10 support and update all devDependencies.
...
* sinon 8.x doesn't work with IE, so leave it at 7.x.
2020-03-09 16:26:10 +02:00
XhmikosR
0ca1ec6fc3
Update devDependencies and gems
2020-03-09 16:08:41 +02:00
XhmikosR
f852dff122
build/ship.sh: shellcheck fixes. ( #30197 )
...
Also add `set -e` so that if a command fails the whole script fails too.
2020-03-09 16:08:41 +02:00
Martijn Cuppens
efb3fc402e
$link-decoration: underline affects some components ( #30262 )
...
Co-authored-by: Shohei Yoshida <fellows3@gmail.com >
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-03-09 16:08:41 +02:00
Martijn Cuppens
81ba76bb3c
CSS & alignment tweaks
2020-03-09 16:08:41 +02:00
Minobi
39ac525f6e
Example dashboard: fix menu disappearing on small viewport
2020-03-09 16:08:41 +02:00
Shohei Yoshida
fa7510c6af
Fix centered modal scrolling issue ( #30244 )
...
Use the `min-content` property.
2020-03-09 16:08:41 +02:00
XhmikosR
69f36286f9
Update jekyll-toc to v0.13.1.
2020-02-17 21:33:54 +02:00
XhmikosR
52c13233a3
Update devDependencies and gems.
2020-02-17 21:33:54 +02:00
XhmikosR
642d1001e3
.gitattributes: add .sh and remove .rb files. ( #30196 )
2020-02-17 21:33:54 +02:00
Gaël Poupard
473d36ff38
docs(theming): improve headings hierarchy under Sass → Functions ( #30207 )
2020-02-17 21:33:54 +02:00
XhmikosR
4a7cbd5b9f
Backport #29971
...
Remove old versions from docs-navbar.html
2020-02-17 21:33:54 +02:00
Shohei Yoshida
c40b71318c
Remove unnecessary reduce motion when $enable-transition: false ( #30183 )
2020-02-17 21:33:54 +02:00
Christian Oliff
037bad148c
Add Microsoft Edge for MacOS to supported browsers ( #29956 )
...
The new Chromium-based Edge has been available as a beta for sometime and general availability of the final version is expected to ship from Jan 15. I think it makes sense to add it as a supported browser once it's out of beta.
REF: https://blogs.windows.com/windowsexperience/2019/11/04/introducing-the-new-microsoft-edge-and-bing/
2020-02-17 21:33:54 +02:00
Giovanni Mendoza
0bd57ce212
Added new variable for padding on dropdown header ( #29946 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-02-17 21:33:54 +02:00
XhmikosR
8c4b61e30c
change-version.js: Remove nuspec files ( #30161 )
...
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
2020-02-17 21:33:54 +02:00
Shohei Yoshida
c77ec4fb06
Avoid border-radius functions return negative values ( #30166 )
...
* Avoid border-radius functions return negative values
* Update _border-radius.scss
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-02-17 21:33:54 +02:00
XhmikosR
4ea685a001
Bump bootstrap.min.js bundle size limit.
2020-02-17 21:33:54 +02:00
Martijn Cuppens
0d35f10842
Add ysds to the team page ( #30145 )
2020-02-17 21:33:54 +02:00
Giovanni Mendoza
6daae47cc0
Backport #29886
...
Close modal with keyboard=true & backdrop=static
2020-02-17 21:33:54 +02:00
Jesse Mandel
0f0a8c364d
Updated nuspec content files and icon ( #30148 )
...
* #30045 - Update nuspec for updated content type
* Update iconUrl (deprecated) to icon
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-02-17 21:33:54 +02:00
Jens Luyten
7ca811315f
Prevent grid with default cols from breaking when large pre was present ( #30049 )
2020-02-17 21:33:54 +02:00
Martijn Cuppens
1884b8a421
Backport #29325 . ( #30074 )
...
`.text-break` fix
2020-02-17 21:33:54 +02:00
jorimvanhove
92525e9ec4
IE auto-size input-group to column ( #30043 )
2020-02-17 21:33:54 +02:00
XhmikosR
6c46493803
Use regex.test() when we want to check for a Boolean. ( #29969 )
2020-02-17 21:33:54 +02:00
XhmikosR
f737c73a27
javascript.md: Add srcset in sanitizer docs ( #30007 )
2020-02-17 21:33:54 +02:00
XhmikosR
411922b14d
sanitizer.js: Add srcset in the allowed attributes ( #29968 )
2020-02-17 21:33:54 +02:00
Martijn Cuppens
21041eecb7
Backport #30090 ( #30175 )
...
Add version number to documentation `<title>`
2020-02-14 22:15:04 +02:00
Martijn Cuppens
fbf294a605
Fix disabled .btn cursor ( #30004 )
2020-02-03 19:54:29 +01:00
XhmikosR
0d1aee6a2f
reboot.md: Add missing Noto Sans font ( #29937 )
...
* reboot.md: Add missing Noto Sans font
* Sans serif order fix
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com >
2020-01-02 12:11:56 +02:00
XhmikosR
3c0cf9365b
Bump copyright year to 2020. ( #29944 )
2020-01-02 12:11:56 +02:00
XhmikosR
0e09c6b831
package.json: move funding property higher. ( #29936 )
2020-01-02 12:11:56 +02:00
XhmikosR
80d842b501
Update devDependencies and gems
2020-01-02 12:11:56 +02:00
Martijn Cuppens
55945dcc36
README.md: show sponsors first ( #29931 )
2020-01-02 12:11:56 +02:00
XhmikosR
42714733b6
CI: fix Ruby caching
2020-01-02 12:11:56 +02:00
Martijn Cuppens
35d5cbf4fd
Escape brackets ( #29857 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-01-02 12:11:56 +02:00
Martijn Cuppens
0d08c74d2f
Allow percentages in container widths ( #29819 )
2020-01-02 12:11:56 +02:00
Martijn Cuppens
00b0e0a9b7
Documentation fix: move width after make-container() mixin ( #29820 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com >
2020-01-02 12:11:56 +02:00
XhmikosR
16a82e7e99
Update test.yml ( #29863 )
...
Fix cache name
2020-01-02 12:11:56 +02:00
XhmikosR
e2530bf312
Update devDependencies and gems
2019-12-14 17:09:46 +02:00
XhmikosR
2d54fa9c3f
Actions: add gems caching
2019-12-14 17:09:46 +02:00
XhmikosR
97e2e0da7c
CI: update to actions/checkout@v2 ( #29847 )
2019-12-14 17:09:46 +02:00
XhmikosR
b77af55325
Actions: add npm cache ( #29765 )
2019-12-14 17:09:46 +02:00
AlexKoala
52aceee0ab
docs: Add Korean translation link
2019-12-14 17:09:46 +02:00
719media
70de5e8398
Fix breadcrumb spacing with whitespace ( #29745 )
2019-12-14 17:09:46 +02:00
Shohei Yoshida
52762f83d8
Improve wrapping and hit area of accordion example titles ( #29782 )
2019-12-14 17:09:46 +02:00
XhmikosR
dca1ab7d87
Release v4.4.1.
2019-11-28 14:59:49 +02:00
Shohei Yoshida
b07b6f743c
Fix dart Sass compatibility for subtract ( #29763 )
2019-11-28 14:59:49 +02:00
Shohei Yoshida
0d148d8854
V4: Add :disabled for disabled fieldset ( #29762 )
2019-11-28 14:59:49 +02:00
Martijn Cuppens
c24aaa6cbf
Fix dart Sass compatibility ( #29755 )
2019-11-28 14:59:49 +02:00
XhmikosR
301ee1972d
Update Gemfile.lock
2019-11-28 14:59:49 +02:00
XhmikosR
593574d510
Release v4.4.0 ( #29735 )
2019-11-26 19:12:00 +02:00
XhmikosR
d61bba584f
Backport #29734
...
justify-content:between ⇒ justify-content:space-between
2019-11-26 09:51:27 +02:00
XhmikosR
7aa1722a97
Update change-version.js ( #29736 )
...
Add `.nuspec` to the extensions list
2019-11-26 09:51:27 +02:00
XhmikosR
340009e6de
Update devDependencies and gems.
2019-11-25 13:12:53 +02:00
XhmikosR
bdd8752994
Switch to the Coveralls Action ( #29478 )
...
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
2019-11-25 13:12:53 +02:00
XhmikosR
e0a2d5890d
Backport #29624
...
config.yml: update popper.js to v1.16.0
2019-11-25 13:12:53 +02:00
XhmikosR
136afcf59b
Update anchor.js to v4.2.1 ( #29662 )
2019-11-25 13:12:53 +02:00
Sam Duvall
eb1e1cfb49
Fixed input-height-sm and input-height-lg calculations ( #29653 )
2019-11-25 13:12:53 +02:00
Martijn Cuppens
5be0fe8820
package.json: Add funding property ( #29646 )
2019-11-25 13:12:53 +02:00
XhmikosR
a0bb417691
Fix icons link.
2019-11-25 13:12:53 +02:00
Martijn Cuppens
590c1baeeb
progress: Fix IE overflow ( #29629 )
2019-11-25 13:12:53 +02:00
XhmikosR
f12ae8cea2
Sass: fix version in deprecation messages.
...
The final version will be bumped when the next version is released.
2019-11-25 13:12:53 +02:00
Gary PEGEOT
6b7ca1234b
Make check label cursor customizable ( #29633 )
2019-11-07 21:02:10 +02:00
XhmikosR
0aa6a81c11
Update devDependencies and gems.
2019-11-02 10:02:07 +02:00
XhmikosR
7629daedc1
Update modal.md ( #29621 )
...
Fix typo
2019-11-02 10:02:07 +02:00
Johann-S
dd96b832f7
backport #29516 : added animation when modal backdrop is static
2019-11-02 10:02:07 +02:00
Johann-S
29f585365f
backport #29523 : skip hidden dropdowns while focusing
2019-11-02 10:02:07 +02:00
Martijn Cuppens
f55566e36b
Add configurable button text wrapping ( #29554 )
2019-11-02 10:02:07 +02:00
XhmikosR
7ecfa6a343
Backport #29585
...
Enable eslint no-console rule except for build directory
2019-11-02 10:02:07 +02:00
XhmikosR
7453733ff6
Backport #29544
...
Add link to Icons site in our docs
2019-11-02 10:02:07 +02:00
XhmikosR
dd6b8682a6
CI: disable gem docs globally
2019-11-02 10:02:07 +02:00
XhmikosR
8e935b60c8
CI: install bundler 1.17 and without docs
2019-11-02 10:02:07 +02:00
Mark Otto
9be7aac831
Add make-col-auto mixin ( #29367 )
2019-11-02 10:02:07 +02:00
XhmikosR
f830450ca8
Fix highlighting.
...
v4-dev is using Jekyll, not Hugo.
2019-11-01 20:22:37 +02:00
Martijn Cuppens
b0b8d3c982
Convert v4-dev calc() left overs to add/subtract functions
2019-11-01 20:22:37 +02:00
Martijn Cuppens
90d4b72e06
Add calc() to function blacklist
2019-11-01 20:22:37 +02:00
Mark Otto
ea1d09c444
Doc tweaks.
2019-11-01 20:22:37 +02:00
ysds
7bd70e54f2
Add add and subtract function
2019-11-01 20:22:37 +02:00
Martijn Cuppens
ed4a4e6081
Link to versioned RFS repo ( #29598 )
2019-10-28 08:41:08 +02:00
Christian Oliff
087d0ea1e1
The HTML5 Boilerplate Print CSS moved to a separate repo ( #29522 )
...
The HTML5 Boilerplate CSS has moved to a separate GitHub repo (h5bp/main.css) so the source link referenced here no longer works. This PR updates the link to the new correct location.
2019-10-15 09:40:01 +03:00
XhmikosR
8cf6c209d8
Update devDependencies and gems.
...
Locked qunit to v2.9.2 to prevent test failures. We should revisit qunit later.
2019-10-14 12:12:05 +03:00
ysds
db19e8c706
Fix incorrect aspect ratio on IE11
2019-10-14 12:12:05 +03:00
Martijn Cuppens
510a446be6
Remove redundant properties
2019-10-14 12:12:05 +03:00
Martijn Cuppens
327bfca418
Fix top level ampersand ( #29518 )
...
Fixes dart sass compatibility.
2019-10-14 12:12:05 +03:00
XhmikosR
be452a0ed3
CI: move CI env variable to the root of the workflow. ( #29499 )
...
This way we match the Travis CI behavior, and it's inherited by all steps.
2019-10-14 12:12:05 +03:00
XhmikosR
23a78f0ab1
Update .gitignore.
...
Remove the old Hugo static dist folder.
2019-10-14 12:12:05 +03:00
Martijn Cuppens
6c9640c245
Backport #29445
...
Remove outline from select box in Firefox
2019-10-14 12:12:05 +03:00
astrahov
1260b4fb3f
Add variable for $breadcrumb-font-size ( #29467 )
2019-10-14 12:12:05 +03:00
Martijn Cuppens
d521e147f9
Fix border for single card in accordion ( #29453 )
2019-10-14 12:12:05 +03:00
Martijn Cuppens
f47243460e
Variable card height ( #29462 )
2019-10-14 12:12:05 +03:00
XhmikosR
91a9fd96b9
coveralls: Add COVERALLS_GIT_BRANCH ( #29458 )
...
Without this, coveralls didn't receive the branch info thus leading to failures when we switched branches.
2019-10-14 12:12:05 +03:00
XhmikosR
5e304b60a1
workflows/test.yml: specify CI=true ( #29440 )
2019-10-14 12:12:05 +03:00
XhmikosR
4c74d58f26
README.md: link to the Actions page for Tests ( #29480 )
2019-10-14 12:12:05 +03:00
Martijn Cuppens
cd64a164f1
IE image fix ( #29483 )
2019-10-08 08:49:29 +03:00
XhmikosR
1f2b048312
Use 180 for the grid-cards placeholder images' height.
2019-09-26 18:37:07 +03:00
XhmikosR
caf889e49e
Update devDependencies and gems.
2019-09-26 18:37:07 +03:00
Shohei Yoshida
b5ba078b12
Grid card example tweaks ( #29409 )
...
Stack in cards in one column when < md
2019-09-26 18:37:07 +03:00
XhmikosR
cdfba0be4a
GH Actions updates. ( #29429 )
2019-09-26 18:37:07 +03:00
XhmikosR
61cc86d68d
workflows/test.yml: use ruby-version.
...
`version` is deprecated.
2019-09-26 18:37:07 +03:00
XhmikosR
846b603413
workflows/test.yml: switch to setup-node@v1. ( #29410 )
2019-09-26 18:37:07 +03:00
XhmikosR
791b1943f2
Bump bundlesize limits.
2019-09-26 18:37:07 +03:00
ysds
8741eed7a5
Add responsive example
2019-09-26 18:37:07 +03:00
ysds
afc9cae32c
Allow override default col width
2019-09-26 18:37:07 +03:00
Mark Otto
d08567797f
Cleanup
...
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-09-26 18:37:07 +03:00
Mark Otto
acb2b7061c
Move margins, and equal height via utility example
2019-09-26 18:37:07 +03:00
Mark Otto
9ed860ef24
First pass at .row-cols classes
...
Trying to find a new way to do responsive card decks while not locking ourselves into the cards themselves. My thinking here is we can easily control the column (.col) width by the parent, but I don't know how many we need (have 0-5 now) across each breakpoint. This works for cards so far, and I think could get us equal height, too.
2019-09-26 18:37:07 +03:00
XhmikosR
28758a03f0
carousel.md: Remove duplicate bd-example div. ( #29341 )
...
The example shortcode already adds this.
2019-09-26 18:37:07 +03:00
XhmikosR
f732bf025a
docs: remove swatches for theme colors. ( #29327 )
...
Use the built-in utilities instead.
2019-09-26 18:37:07 +03:00
XhmikosR
68ddcec057
theming.md: bring :root up to par with Scss. ( #29323 )
...
Also, add a warning in _root.scss so that we don't miss it again.
2019-09-26 18:37:07 +03:00
XhmikosR
6d5739320e
blog example: remove unused CSS. ( #29316 )
2019-09-26 18:37:07 +03:00
Martijn Cuppens
5d39e36083
Don't bind validation to form controls
2019-09-26 18:37:07 +03:00
XhmikosR
269e5351aa
Update devDependencies and gems.
2019-08-27 16:32:25 +03:00
Johann-S
ef1c7aadbc
Backport #29298
...
dropdown show method should do the same as toggle
2019-08-27 16:32:25 +03:00
XhmikosR
dd181e91bd
Actions CI tweaks ( #29276 )
...
* Allow bundlesize to run for forks too.
* Add name for clone step.
* Add` fail-fast: false`
2019-08-27 16:32:25 +03:00
Johann-S
bab999701c
Backport #29277
...
dropdown - destroy old popper.js references
2019-08-27 16:32:25 +03:00
tracyjordan
41b8ce278b
fixed minor typo ( #29291 )
2019-08-27 16:32:25 +03:00
XhmikosR
de94f6003f
test.yml: reindent.
2019-08-27 16:32:25 +03:00
XhmikosR
3a3b0a4eae
change-version.js: Add _gh_pages folder in ignores. ( #29270 )
2019-08-27 16:32:25 +03:00
Martijn Cuppens
c4e5aa0d32
docs: fix tap targets ( #29272 )
2019-08-27 16:32:25 +03:00
Johann-S
7652d326e4
Backport #29251
...
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-08-27 16:32:25 +03:00
Martijn Cuppens
6381c63fb1
Add deprecation warning
2019-08-26 09:29:50 +02:00
Martijn Cuppens
9e1ef5623f
Deprecate nav-divider() mixin
2019-08-22 08:10:03 +02:00
Martijn Cuppens
9519b9e055
Enable wrapping for elements in .modal-footer ( #25103 )
2019-08-17 17:03:00 +03:00
Martijn Cuppens
94395af932
Restore cursor: pointer for checkbox/radio buttons ( #29239 )
2019-08-17 17:03:00 +03:00
Martijn Cuppens
81d5e6eb1b
Clarify order documentation ( #29252 )
2019-08-17 17:03:00 +03:00
XhmikosR
38d055e7fb
Fix redirects. ( #29254 )
2019-08-17 17:03:00 +03:00
XhmikosR
727c1684bb
Update devDependencies and gems.
2019-08-17 17:03:00 +03:00
Martijn Cuppens
e538b9f23e
Fix Firefox rendering issue ( #29234 )
2019-08-17 17:03:00 +03:00
XhmikosR
116da0b746
Bump bootstrap.min.css bundlesize limit.
2019-08-17 17:03:00 +03:00
Shohei Yoshida
c387223720
Fix min-width of input-group flex items ( #29209 )
2019-08-17 17:03:00 +03:00
Mark Otto
81fa902454
Responsive containers (follow-up to #29095 ) ( #29118 )
...
* Follow-up to #29095
This PR fixes the responsive containers that were added in #29095 , originally stubbed out in #25631 . Apologies to @browner12 for getting that wrong.
Fixes #25631 .
* update navbar as well because we cannot reset all containers uniformly
* Update navbars example to include container-xl example to ensure containers match
* rewrite responsive containers docs, add table of max-widths
* Update container docs
- Move table up to the intro
- Remove the container example because it's actually hella confusing
- Update and link to grid example as a demo instead
2019-08-17 17:03:00 +03:00
XhmikosR
d55f6c3073
Simplify css-prefix scripts. ( #29205 )
2019-08-17 17:03:00 +03:00
Martijn Cuppens
e5a3ee5e9c
Extend .container-fluid ( #29106 )
2019-08-17 17:03:00 +03:00
Mark Otto
3695c3a1fb
fix broken classes
2019-08-17 17:03:00 +03:00
Mark Otto
2892675f65
v4/v5: Add responsive containers ( #29095 )
...
* create responsive containers
provide more flexibility and allow the user to determine when containers switch from fluid to fixed width.
* fix the base container code
this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use.
I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'. Then we loop through that and, with the appropriate infixes, extend our placeholder
* formatting for style
forgot to run my tests before the last push, i think these are better.
* finish incomplete comment
* fix the responsive containers
using the `@extend` directive I was able to clean up this code
* fix responsive containers in the navbar
mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc)
* Simplify container extends
* Simplify navbar containers
* Rearrange, add comments, ensure everything is nested in $enable-grid-classes
* Reduce new CSS by using attribute selector
We avoid using `@extend` whenever possible, and this is more readable
* Update _grid.scss
* Update _navbar.scss
* Add docs for responsive containers, redesign the container layout page
* Add to the Grid example
2019-08-17 17:03:00 +03:00
XhmikosR
9abaafa546
Add workflows/test.yml for v4-dev. ( #29230 )
2019-08-09 10:38:33 +03:00
XhmikosR
c93fdec2f0
Disallow crawling on Netlify. ( #29194 )
2019-08-03 17:09:25 +03:00
Herst
8c3a1298f7
Add missing role="document" ( #29172 )
2019-07-31 11:37:39 +03:00
XhmikosR
fb6266a8df
carousel: fix transition properties order. ( #29173 )
2019-07-31 11:37:39 +03:00
XhmikosR
96d4a64944
Update devDependencies and gems.
2019-07-31 11:37:39 +03:00
Patrick H. Lauke
cf07b5a7ab
Fix minor typo ( #29168 )
2019-07-31 11:37:39 +03:00
Shohei Yoshida
f6b00cda24
Fix reboot for placeholder links ( #29164 )
2019-07-31 11:37:39 +03:00
Patrick H. Lauke
af0786b10f
Minor: fix sentence ( #29160 )
...
"Popovers whose both title..."
2019-07-31 11:37:39 +03:00
Patrick H. Lauke
d5266dc995
Fix reboot for placeholder links ( #29162 )
...
Backport of #29140
2019-07-31 11:37:39 +03:00
Chandan Deep
397359154c
Change property from background to background-image ( #29149 )
...
For Gradient, We have to use the background-image instead of only background.
2019-07-31 11:37:39 +03:00
Brian Juul Andersen
cd58245f10
Update scrollspy.md ( #29156 )
...
Fixed minor grammatical error:
"... the best method get scroll ..."
=>
"... the best method to get scroll ..."
2019-07-31 11:37:39 +03:00
Johann-S
e4d4c5d0bc
Backport #29155
...
allow dynamic modal body for scrollable modals
2019-07-31 11:37:39 +03:00
Martijn Cuppens
8f95b26d65
Haha, floats. It's 2019 ( #29147 )
2019-07-31 11:37:39 +03:00
XhmikosR
e1cd51e4fb
Update docs vendor libs ( #29134 )
...
* Update bs-custom-file-input.min.js to v1.3.2.
* Update anchor.min.js to v4.2.0.
2019-07-31 11:37:39 +03:00
XhmikosR
dcdd9be0b3
Backport #29121 .
...
Remove https://glyph.smarticons.co/ from list of suggestions.
The domain is now for sale and is triggers warnings in Firefox and Chrome
2019-07-31 11:37:39 +03:00
Martijn Cuppens
48e86c5796
Apply at-mixin-argumentless-call-parentheses: always stylelint rule for v4 mixins
2019-07-31 11:37:39 +03:00
Martijn Cuppens
d59aa2c702
Apply at-mixin-argumentless-call-parentheses: always stylelint rule
2019-07-31 11:37:39 +03:00
XhmikosR
22f6a4beea
Add --continue-on-error in the css-lint script. ( #29119 )
2019-07-31 11:37:39 +03:00
Shohei Yoshida
470adc3f16
Force reflow for fade-in animation ( #29113 )
2019-07-31 11:37:39 +03:00
XhmikosR
e01103e3f9
Downgrade karma-browserstack-launcher to v1.4.0. ( #29109 )
...
This might fix the build failures we are getting.
2019-07-31 11:37:39 +03:00
Martijn Cuppens
9322cc83bc
Simplify css-compile-main script ( #29102 )
2019-07-31 11:37:39 +03:00
XhmikosR
0f376c1107
Update svgo.yml. ( #29089 )
2019-07-31 11:37:39 +03:00
Kitten King
b66abdf3b1
Fix Typos across Bootstrap repository ( #29082 )
2019-07-31 11:37:39 +03:00
XhmikosR
1bee3c03cf
Remove iconic and add feather icons. ( #29079 )
2019-07-31 11:37:39 +03:00
Martijn Cuppens
a2a38058af
.custom-select: combine properties.
2019-07-30 15:43:38 +03:00
XhmikosR
41fd25abe1
Optimize the inline SVGs.
2019-07-30 15:43:38 +03:00
XhmikosR
f233e05acc
Disable the !default rule for our docs variables.
2019-07-30 15:43:38 +03:00
XhmikosR
eeea633150
Use the background shorthand.
2019-07-30 15:43:38 +03:00
XhmikosR
a5d280365b
docs: use the escape_svg function.
2019-07-30 15:43:38 +03:00
Martijn Cuppens
c26e68427c
Backport "Use escape-svg() function ( #29077 )"
...
Adapted for v4-dev.
2019-07-30 15:43:38 +03:00
XhmikosR
68ab243ffa
SVGs: lowercase hex values.
2019-07-30 15:43:38 +03:00
XhmikosR
cac30c0722
Update devDependencies.
2019-07-17 14:48:26 +03:00
XhmikosR
def8173e7b
Fix bootstrap-themes.png. ( #29061 )
...
For some reason the old image was bad quality.
2019-07-17 14:48:26 +03:00
M. Wacker
921f17a650
Fix breaking layout breaking error in code ( #28328 )
...
Change `word-break: break-word;` to `word-wrap: break-word;`
2019-07-17 14:48:26 +03:00
Brian Juul Andersen
636204974b
Updated sentence ( #29051 )
...
Checkboxes and radios use are built to support HTML-based form
=>
Checkboxes and radio buttons support ...
2019-07-17 14:48:26 +03:00
Manuel Alcaraz
c6cbae6b2a
#29034 Fix broken links ( #29035 )
2019-07-17 14:48:26 +03:00
Sunny Dhoke
4e4a1febb0
Added link to creative commons license ( #29032 )
...
The previous link is dead one.
2019-07-17 14:48:26 +03:00
Brian Juul Andersen
f2185b9b5f
Update collapse.md ( #29025 )
...
Corrected minor spelling error.
2019-07-17 14:48:26 +03:00
Johann-S
a894ea3a51
updated babel
2019-07-17 14:48:26 +03:00
XhmikosR
0ad0985ac0
Update devDependencies and gems.
...
Also lock babel versions, since we get failures with newer ones.
2019-07-10 11:03:54 +03:00
XhmikosR
d361194a99
Move bundlesize config to a separate file. ( #29002 )
2019-07-10 11:03:54 +03:00
Patrick H. Lauke
3d72b94ee9
Add prefers-reduced-motion callout to toast documentation ( #28993 )
...
x-ref #28987
2019-07-10 11:03:54 +03:00
Bardi Harborow
d395dfaafc
Add ARIA search landmark to documentation. ( #28983 )
2019-07-10 11:03:54 +03:00
Martijn Cuppens
e61d609bc0
Ignore the bg-variant deprecation warning in our files.
2019-07-10 11:03:54 +03:00
Martijn Cuppens
23d7dd6dbd
Remove redundant radius properties ( #28956 )
2019-07-10 11:03:54 +03:00
Patrick H. Lauke
be80d26cdb
Ensure button plugin sets/removes active class correctly on page load ( #28952 )
...
* Ensure correct active class is set on button toggles/checkboxes/radios on page load
Sanity check, ensures that the UI visually matches the actual values/states of controls. Also ensures that if any autocomplete/autofill happened, this is visually accounted for
by having the correct class set.
Includes unit tests (and `autocomplete` has been removed from these as it's no longer necessary)
* Remove now unnecessary autocomplete attribute
As the attribute was there to force/ensure that the visual presentation matched the state, and this is now taken care of programmatically, there's no need to unnecessarily suppress autocomplete...let them autocomplete if they want to...
2019-07-10 11:03:54 +03:00
Sergey Kovalenko
22f6b373f9
Remove negative margins for group list items ( #28940 )
...
To fix RGBA borders overlapping issue.
2019-07-10 11:03:54 +03:00
XhmikosR
a92f838c8d
Minor wording changes.
2019-07-10 11:03:54 +03:00
Jonathan Hawkins
e76fce5852
Combine duplicate documentation examples into one to fix the confusing text.
2019-07-10 11:03:54 +03:00
Martijn Cuppens
c121778b49
Change invalid icon from cross to exclamation mark ( #28944 )
...
The cross icon was confusing since some browsers use it as a reset button.
2019-07-10 11:03:54 +03:00
Robin D'Arcy
4376d92ea7
Docs – update extend/approach.md ( #28941 )
2019-07-10 11:03:54 +03:00
Martijn Cuppens
de163b337c
Deprecate bg-variant() mixin ( #28938 )
2019-06-20 21:30:09 +02:00
Patrick H. Lauke
5f44e01dab
Add missing dropdown unit test for closing with ESC ( #28929 )
...
Backport of the unit test from https://github.com/twbs/bootstrap/pull/28928
2019-06-19 13:43:48 +03:00
Martijn Cuppens
1c5e1cb3c9
Typo fix ( #28920 )
2019-06-18 15:02:58 +03:00
Shohei Yoshida
b165aff2f7
Fix position of browser default validation message ( #28852 )
2019-06-18 15:02:58 +03:00
Morteza Ziyae
1bdeab8159
Fix width and height of data svg images in IE10 ( #28883 )
2019-06-18 15:02:58 +03:00
Patrick H. Lauke
1da3aa3103
Don't open dropdown on ESC on trigger element ( #28912 )
...
* Don't open dropdown on ESC on trigger element
Closes #28751
2019-06-18 15:02:58 +03:00
XhmikosR
6587e5cf80
Update devDependencies and gems.
2019-06-18 15:02:58 +03:00
Johann-S
6c9f833a90
tooltip dispose:removing only own event handler ( #28896 )
2019-06-18 15:02:58 +03:00
Patrick H. Lauke
24abed1336
Fix keyboard handling of button-style checkbox/radio button groups ( #28834 )
...
- adds more defensive checks to make sure no unnecessary toggling happens on disabled buttons; this also fixes an up-to-now undiscovered bug where a toggle button with `.disabled` class would still have its `aria-pressed` toggled
- adds a set of explicit tests for the above case of disabled buttons and `aria-pressed`
- remove a now irrelevant (or at least very nonsensical) test for `<label>` containing both an actionable and a `hidden` `<input>`
- expand the test for disabled checkbox to also explicitly test starting conditions (used mainly in my debugging)
- ensure that `$btn[0].click()` is used to click checkboxes in tests, rather than the `click()` on the jquery object which is simply a shorthand for `trigger('click')` and does not actually trigger the browser default behavior
- remove the `preventDefault()` from the button handling, which was preventing correct keyboard functionality for checkboxes/radio buttons
- add extra logic to the button.js code to handle checkboxes correctly and avoid double-triggering as a result of mouse interactions (which saw the checkboxes being toggled twice, thus returning them to their original state)
- add logic that prevents the `checked` property from being added incorrectly for any inputs other than radio buttons and checkboxes
- added more tests (including the most basic test for a properly triggered fake checkbox button)
- work around Firefox bug #1540995 (which this code was hitting after removing the `preventDefault()`, due to Firefox's incorrect toggling of disabled checkboxes when programmatically (but not manually) activated with a `click()` event
2019-06-18 15:02:58 +03:00
Patrick H. Lauke
5bf876cb0f
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-18 15:02:58 +03:00
Shohei Yoshida
911b72cf78
Workaround for the image size bug in IE ( #28855 )
2019-06-18 15:02:58 +03:00
Christian Oliff
e0d0f5a1c6
HTTPS link to codeguide.co ( #28860 )
2019-06-18 15:02:58 +03:00
XhmikosR
5baad13902
Use npm-run-all in the netlify script. ( #28846 )
2019-05-30 11:58:34 +03:00
XhmikosR
d9a8b8ea80
Update devDependencies and gems.
2019-05-30 11:58:34 +03:00
Jay Pinho
1161bff6eb
Make example description more accurate ( #28842 )
2019-05-30 11:58:34 +03:00
Shohei Yoshida
a84a05a56a
Clean input group flex basis ( #28785 )
2019-05-30 11:58:34 +03:00
Shohei Yoshida
9d075734cb
Calc modal header/footer border radius according to the border width ( #28775 )
2019-05-30 11:58:34 +03:00
Aditya Shankar
9508c4c11b
Correct grammar in modal.scss ( #28829 )
2019-05-30 11:58:34 +03:00
Sezer Esen
01a71532d9
Fix background position ( #28814 )
2019-05-30 11:58:34 +03:00
XhmikosR
621391255b
vnu.jar: Update ignores. ( #28817 )
...
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
2019-05-30 11:58:34 +03:00
Johann-S
c6dd1a7d93
Backport #28777 .
...
Toast should allow prevent default for hide and show events
2019-05-30 11:58:34 +03:00
Shohei Yoshida
fe777292b5
Fix z-index according to our z-index rule ( #28784 )
...
https://getbootstrap.com/docs/4.3/extend/approach/#z-index-scales
2019-05-30 11:58:34 +03:00
Christian Oliff
67be130c7b
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-30 11:58:34 +03:00
XhmikosR
be7198a05b
Travis CI: Add Node.js 12.
2019-05-30 11:58:34 +03:00
XhmikosR
f72d2511ba
Update devDependencies.
2019-05-09 21:30:32 +03:00
Shohei Yoshida
4251c23f71
Reset input padding for cross browser consistency ( #28208 )
2019-05-09 21:30:32 +03:00
zhangbao
fc745a3ec8
Consistency modification ( #28750 )
2019-05-09 21:30:32 +03:00
Martijn Cuppens
e9d8c1a9dd
Backport #28679 .
...
* Documentation tweaks
* Remove redundant `col-12` classes
2019-05-09 21:30:32 +03:00
Patrick H. Lauke
36ea7e7421
Album example: remove misleading jumbotron-heading classname ( #28741 )
2019-05-09 21:30:32 +03:00
Shohei Yoshida
aa7b055064
Fix incorrect variable for popover border radius ( #28733 )
...
* Use $popover-border-radius
* Move and rename the local $offset-border-width to the global variable
2019-05-09 21:30:32 +03:00
Christian Oliff
add38103ad
Fix broken link to css-discuss.incutio.com/wiki/Printing_Tables ( #28637 )
...
Instead now pointing to the most recent Wayback Machine archive copy.
2019-05-09 21:30:32 +03:00
Martijn Cuppens
5c65ea6a38
Scrollbar fix ( #28417 )
2019-05-09 21:30:32 +03:00
XhmikosR
27287a6884
Update devDependencies including jQuery to v3.4.1.
2019-05-02 16:59:49 +03:00
XhmikosR
cc5292f510
Backport #28551 .
...
Show the other navbar items on small screens too.
2019-05-02 16:59:49 +03:00
XhmikosR
7da9729a62
Update (dev)Dependencies and gems.
...
Also, fix the `update-deps` excludes and add karma since 4.x requires Node.js >= 8.
2019-04-29 17:41:28 +03:00
Mark Otto
605704d7f5
Prevent form validation mixin from generating invalid CSS ( #28447 )
...
Extrapolates the previously used selector into a new mixin that only generates valid CSS by creating psuedo-classes for `valid` and `invalid`, and nothing else.
Fixes #28380 .
2019-04-29 17:41:28 +03:00
Shohei Yoshida
68932330f0
Sync plain text font-size with $input-font-size ( #28464 )
2019-04-29 17:41:28 +03:00
Martijn Cuppens
78f47133e9
Remove redundant slashes ( #28677 )
2019-04-29 17:41:28 +03:00
Johann-S
c50c1e9d23
fix unit tests for chrome mobile
2019-04-29 17:41:28 +03:00
Shohei Yoshida
10f91729aa
Add $custom-control-label-color variable ( #28633 )
2019-04-29 17:41:28 +03:00
ysds
57ff6ee9ef
Call hide() after delay time
2019-04-29 17:41:28 +03:00
XhmikosR
77973cd7fb
Fix clean-css breakWith option.
2019-04-29 17:41:28 +03:00
Matěj Kříž
41eea9edc4
Fix buttons :focus state styles ( #27890 )
...
* Fix buttons :focus state styles
Buttons :hover and :focus state shares styles.
Buttons :focus text color on 'a.btn' is now consistent with others '.btn'.
* `:focus` styles should be in sync with `.focus`.
So shared styles with hover were copy to focus definition. Rather then using
`hover-focus` mixin which do not contain `.focus`.
2019-04-29 17:41:28 +03:00
XhmikosR
060880296a
karma.conf.js: switch to CI === true. ( #28588 )
2019-04-29 17:41:28 +03:00
Loïc Goyet
1c7cb61072
Remove scss variable defined twice ( #28567 )
2019-04-29 17:41:28 +03:00
XhmikosR
3bf08d87c9
Update devDependencies and gems.
2019-03-27 20:57:28 +02:00
Johann-S
8fda884ad3
Reset carousel touch delta x to prevent click transformation in swipe ( #28558 )
2019-03-27 20:57:28 +02:00
XhmikosR
c0b2f72a06
Add a netlify npm script. ( #28552 )
2019-03-27 20:57:28 +02:00
XhmikosR
12532dc913
Remove http from docs search. ( #28557 )
...
We use only `https` for a few months now.
2019-03-27 20:57:28 +02:00
Patrick H. Lauke
3ab0441667
Check prefers-reduced-motion variable before adding reduced motion media query for animated progress bars ( #28530 )
2019-03-27 20:57:28 +02:00
Shohei Yoshida
60f31b32f8
Workaround for MS edge bug ( #28275 )
2019-03-27 20:57:28 +02:00
XhmikosR
77212386c0
Revert back to the old snippet and just add anonymize IP.
...
We don't need the extra bloat of gtag.
2019-03-27 20:57:28 +02:00
Mark Otto
e34ba3532f
Update GA to latest script & anonymize IPs
2019-03-27 20:57:28 +02:00
XhmikosR
72a1437dae
.gitignore: add the Hugo folders.
2019-03-27 20:57:28 +02:00
XhmikosR
413c313644
Use local doc versions favicon.ico.
2019-03-27 20:57:28 +02:00
XhmikosR
c9159ccf05
Include favicons for examples.
2019-03-27 20:57:28 +02:00
Jim Jiang
9ba80d31d4
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:23:12 +02:00
Patrick H. Lauke
86a97d197e
Remove indiscriminate outline suppression for tabindex="-1" elements ( #28437 )
...
instead, only apply outline suppression if the browser wouldn't normally apply the focus outline, using the (currently experimental) `:focus-visible` pseudo-class
2019-03-12 15:16:49 +02:00
Shohei Yoshida
87527d8149
Add <ol> to nav's comment ( #28426 )
2019-03-08 00:30:25 +02:00
mspae
be8ef5f655
disable assert assending check if the previous unit was a percentual value ( #28400 )
2019-03-08 00:30:25 +02:00
Johann-S
86de1d3875
fix jquery detection
2019-03-08 00:30:24 +02:00
XhmikosR
dad0765ed3
Update devDependencies and gems. ( #28347 )
2019-03-08 00:30:24 +02:00
Chris Barr
f2b9055c2b
Fix issue template links to the contributing guidelines ( #28378 )
2019-03-08 00:29:21 +02:00
Laussel Loïc
a5179125b0
put secondary navigation in an explicit landmark nav and add a label on each nav ( #28361 )
2019-03-08 00:29:21 +02:00
Laussel Loïc
1a8886b7f7
add an explicit aria-label on link with svg on sample pages ( #28360 )
2019-03-08 00:29:21 +02:00
Martijn Cuppens
ba641ae507
Fix border if only one card ( #28365 )
2019-03-08 00:29:21 +02:00
XhmikosR
11c40217cf
Add --continue-on-error in npm run lint. ( #28338 )
...
So if one of the two sub-tasks fails, it still completes linting the other one.
2019-03-08 00:29:21 +02:00
Pierre GIRAUD
3b6c5ee620
Fix indentation ( #28321 )
2019-03-08 00:29:21 +02:00
XhmikosR
d30039c1a9
Update CONTRIBUTING.md for the current state of things. ( #28283 )
2019-03-08 00:29:20 +02:00
Laussel Loïc
a46866c950
add tabindex="-1" and aria-disabled="true" on disabled links ( #28305 )
2019-03-08 00:29:20 +02:00
Bardi Harborow
146cfa21a3
Create SECURITY.md ( #28288 )
2019-03-08 00:29:20 +02:00
XhmikosR
5e9fd345da
Use npm-run-all for the release script. ( #28307 )
...
It's shorter.
2019-03-08 00:29:20 +02:00
XhmikosR
b2e9341b8c
Update devDependencies. ( #28292 )
2019-03-01 17:26:36 +02:00
XhmikosR
58a1c6ef92
Update devDependencies. ( #28271 )
2019-03-01 17:26:35 +02:00
Martijn Cuppens
fad6dda456
Deprecate form-control-focus mixin ( #28262 )
2019-03-01 17:25:58 +02:00
XhmikosR
60ba89b9a7
Replace 4.3.0 with 4.3.1 in nuget files. ( #28273 )
2019-03-01 17:25:58 +02:00
XhmikosR
8d109b62ba
Update docs and meta for 3.4.1. ( #28255 )
2019-03-01 17:25:58 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. ( #28252 )
2019-02-13 18:01:40 +02:00
XhmikosR
dae20da750
Remove unneeded glob. ( #28249 )
...
Typo from 10b97f6 .
2019-02-13 15:21:04 +02:00
XhmikosR
10b97f6ed9
Fix npm package contents
2019-02-13 08:32:15 +02:00
Johann-S
7bc4d2e0bc
Add sanitize template option for tooltip/popover plugins.
2019-02-13 08:32:15 +02:00
Martijn Cuppens
bf2515ae68
Update RFS to v8.0.1 ( #28245 )
...
Remove warning if RFS is included more than once.
2019-02-12 22:49:12 +01: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
94acdee691
Revert "Silence mkdir. ( #28184 )" ( #28209 )
...
This reverts commit 6ea000d2bc .
Unfortunately, it doesn't seem to work.
2019-02-09 13:20:02 +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
XhmikosR
52e6ce4512
Update devDependencies. ( #28175 )
2019-02-08 09:39:03 +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
Shohei Yoshida
d250567ce0
Remove -ms-autohiding-scrollbar to prevent overlapping the table content ( #28153 )
2019-02-07 19:52:23 +02:00
Martijn Cuppens
8b41cb1368
Optional btn & input font sizes ( #28068 )
2019-02-07 19:47:24 +02:00
Martijn Cuppens
2ee8ecedf4
Deprecate img-retina() mixin ( #28072 )
2019-02-07 19:33:57 +02: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
Zachary Welch
b647dd0565
Add map-name param to _assert-starts-at-zero ( #24986 )
...
* Add map-name param to _assert-starts-at-zero
* Set default value for backwards compatibility
2019-02-07 10:19:38 +01:00
João Lucas
eb1313d213
Create border-top-left-radius and border-bottom-right-radius mixins ( #28100 )
...
* Create border-top-left-radius mixin
* Create border-bottom-right-radius mixin
2019-02-07 09:02:05 +01:00
Martijn Cuppens
311d6dab68
Deprecate size mixin ( #28067 )
2019-02-07 08:21:47 +01:00
Martijn Cuppens
8f4f201424
Fix .nav-justified example ( #28193 )
2019-02-06 23:44:44 +02:00
Bardi Harborow
b5fb4f7d6b
Add text-decoration to .btn-link. ( #28169 )
2019-02-06 22:33:03 +01:00
Patrick H. Lauke
b4cb48d9f3
Remove outdated reference to not-allowed cursor ( #28188 )
...
as this styling was removed back in https://github.com/twbs/bootstrap/commit/7056f702408a97f01cb32bc6075d88ec27cdcf52
2019-02-06 17:12:11 +02:00
Johann-S
b54ddfda83
fix modal test to be sure we call getTransitionDurationFromElement
2019-02-06 15:01:13 +01:00
Johann-S
3c49467224
allow to override default toast options ( #28186 )
2019-02-06 15:19:04 +02:00
Martijn Cuppens
58470c0ac5
Fix text break in Firefox ( #28063 )
2019-02-06 12:38:13 +02:00
XhmikosR
6ea000d2bc
Silence mkdir. ( #28184 )
...
This can fail if run in parallel.
2019-02-06 12:22:49 +02:00
Johann-S
11880109fc
fix tabs, apply show class only when fade class is present ( #28183 )
2019-02-06 11:12:02 +01: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
XhmikosR
1139f62ca2
Adjust bundlesize limits.
2019-02-05 10:24:49 +02:00
Jason Golieb
8f6cffde97
Move offset function logic to a private function.
2019-02-05 10:24:49 +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
Martijn Cuppens
d4e782efab
Fix dropdown radius if $dropdown-padding-y is not 0 ( #28127 )
2019-02-03 23:07:16 +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
Martijn Cuppens
cbaf0c3f7c
Change logo size ( #28163 )
2019-02-03 17:52:36 +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
a93c71832b
generate-sri.js: move object.
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
Shohei Yoshida
e65dccfc95
Fix custom select caret issue on IE ( #28112 )
2019-01-25 21:09:21 +01:00
Shohei Yoshida
0f8f84329b
Fix validated custom select bg color ( #28119 )
2019-01-25 20:44:52 +01:00
Martijn Cuppens
6466a0461a
Deprecate float mixins ( #28104 )
2019-01-24 22:51:36 +02:00
Martijn Cuppens
2749bf34de
Add !important to .text-monospace utility class ( #28064 )
2019-01-24 22:42:42 +02:00
XhmikosR
3723613875
Update devDependencies and gems. ( #28094 )
2019-01-24 21:25:49 +02:00
Martijn Cuppens
dfba588d0d
Add default value for $ignore-warning ( #28103 )
2019-01-23 05:59:15 +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
Martijn Cuppens
41f85b64bf
Add ref to reason why min-width: 0; is added ( #28061 )
2019-01-20 23:23:05 +02:00
Johann-S
842da1ddc3
use absolute path to output lcov file for coveralls ( #28075 )
2019-01-17 11:06:43 +01:00
XhmikosR
3aeda9942d
tests: use jQuery from node_modules. ( #28059 )
2019-01-15 18:01:40 +02:00
XhmikosR
0828b88563
Fix js-main script. ( #28057 )
2019-01-15 17:30:21 +02:00
Martijn Cuppens
f1f740be09
Make progress animation respect $enable-transitions and prefers-reduced-motion media query
...
Make progress animation respect `$enable-transitions` and `prefers-reduced-motion` media query
2019-01-15 00:51:11 +00:00
Laussel Loïc
8eb8b8d3da
Examples: add tabindex="-1" and aria-disabled="true" on disabled links
2019-01-14 23:29:51 +00:00
XhmikosR
e2a6f297c0
Clean up .gitignore. ( #28050 )
2019-01-14 21:08:24 +02:00
Johann-S
d51ee0dcf1
Fix Carousel's touch option to not add touch listeners when set to false ( #28046 )
2019-01-14 18:53:54 +02:00
Martijn Cuppens
3d350c3b34
Remove map-merge ( #28033 )
2019-01-13 16:35:00 -08:00
Martijn Cuppens
d546cb8374
Cleanup popover arrows ( #28008 )
2019-01-13 16:29:37 -08:00
Martijn Cuppens
70f50f3079
Sync dropdown font size to base font size
2019-01-13 16:27:40 -08:00
Martijn Cuppens
e57cdee6bc
Sync dropdown font size with btn font size
2019-01-13 16:27:40 -08:00
Martijn Cuppens
fd98e77cac
Remove background from nested tables
2019-01-13 16:26:56 -08:00
Martijn Cuppens
93272f45f3
Add some margin below the buttons
2019-01-13 16:24:36 -08:00
Martijn Cuppens
d09bd2e629
Fix background size y
2019-01-13 16:24:01 -08:00
Martijn Cuppens
e2ac792bc7
Minify background property
2019-01-13 16:24:01 -08:00
Martijn Cuppens
50492b8840
Combine background properties into one
2019-01-13 16:23:32 -08:00
Martijn Cuppens
8db577bd51
Prevent useless property rendering
2019-01-13 16:22:25 -08:00
Martijn Cuppens
4b839b1c87
Don't render a background by default
2019-01-13 16:21:57 -08:00
Martijn Cuppens
5adcfe97f0
Prevent rendering of color property by default
2019-01-13 16:21:16 -08:00
Martijn Cuppens
cd4964f345
Change comment heading title to Typography ( #28032 )
2019-01-14 01:59:51 +02:00
Martijn Cuppens
b3226c1ccc
Align toast variables ( #28041 )
2019-01-14 01:51:53 +02: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
Martijn Cuppens
fd4d426e51
Change default custom select styles ( #28027 )
2019-01-13 09:52:46 +02:00
Martijn Cuppens
e077ddbc6c
Prevent wrapping if caret is included ( #28029 )
2019-01-13 09:43:52 +02:00
Mark Otto
deea117293
Add form-validation-states Sass map ( #27999 )
2019-01-11 21:16:50 +02:00
Miha Eržen
fd9dc1a0ca
Fix input-height-inner wrongly calculated ( #28018 )
...
In a scenario where `$input-line-height` or `$input-font-size` are different than `$input-btn-line-height` and `$input-btn-font-size` the final `$input-height-inner` was wrongly calculated.
2019-01-11 14:22:14 +02:00
XhmikosR
746a057f0c
Update devDependencies. ( #28016 )
2019-01-10 15:56:54 +02:00
XhmikosR
ff4c35f566
Tighten bundlesize limits. ( #28012 )
2019-01-10 09:03:16 +02:00
Mark Otto
39b76861a7
npm run test to build dist files
2019-01-08 21:23:50 +02:00
XhmikosR
0e5d387f04
Examples: use {{ site.time | date: "%Y" }}.
...
Since they are being build, no point in hardcoding the year.
2019-01-08 21:23:50 +02:00
XhmikosR
f11f56558b
Bump copyright year to 2019.
2019-01-08 21:23:50 +02:00
wojtask9
46f34fd131
remove redundant loop from list-group-horizontal ( #28005 )
2019-01-08 20:18:36 +02:00
wojtask9
5dcf7cd3b7
box-shadow mixin fix ( #28004 )
2019-01-08 19:42:28 +02:00
Shohei Yoshida
dc436427e9
Move z-index to .list-group-item-action and remove redundant text-decoration: none ( #27996 )
2019-01-08 06:59:49 +02:00
Martijn Cuppens
48fe2c23d3
Space fixes ( #27997 )
2019-01-08 06:46:29 +02:00
XhmikosR
b23241480a
Enable cache for stylelint.
2019-01-07 19:15:06 +02:00
XhmikosR
1213d06b2f
Enable cache for ESLint.
2019-01-07 19:15:06 +02:00
XhmikosR
cdece35bde
Update devDependencies and gems. ( #27981 )
2019-01-07 18:57:52 +02:00
Martijn Cuppens
68062cfe60
Allow configuration of caret spacing and vertical alignment ( #27994 )
2019-01-07 18:28:21 +02:00
Martijn Cuppens
2b96e9adf1
remove screen from media query ( #27985 )
2019-01-07 18:18:43 +02:00
文翼
87cd64e3bf
docs: use the twitter Jekyll variable everywhere ( #27990 )
2019-01-07 18:09:34 +02:00
Martijn Cuppens
8305114ab3
Blog example IE fix & minor tweaks ( #27933 )
2019-01-07 03:21:53 +02:00
Shohei Yoshida
92cc5a70d3
Fix incorrect responsive alignment of dropdown menu ( #27873 )
2019-01-07 03:12:51 +02:00
Vishnuprasad Venugopal
ea9129c8ae
fix border issue for nested card inside accordions ( #27881 )
2019-01-07 03:06:37 +02:00
Mark Otto
e6b1eefc73
Add horizontal list group modifier ( #27970 )
...
Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs.
Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
2019-01-07 03:01:36 +02:00
wojtask9
42bed436e8
take account 'none' for box-shadow ( #27972 )
2019-01-07 02:52:39 +02:00
Martijn Cuppens
cbc8a7273a
Sync custom select focus state with custom control focus state
2019-01-07 02:48:04 +02:00
XhmikosR
849067d763
README.md: fix redirect.
2019-01-06 17:22:51 +02:00
XhmikosR
d1067d7c35
Switch to our Stylelint config. ( #27974 )
2019-01-05 20:59:44 +02:00
XhmikosR
f21b5f9e98
Remove unneeded stylelint disables.
2019-01-05 20:50:07 +02:00
XhmikosR
fcb034828f
stylelint: no need to specify syntax.
...
This speeds things up a bit because we don't spawn a new instance.
2019-01-05 20:02:00 +02:00
Martijn Cuppens
75ec03c2ab
Run linters in parallel
...
This should speed up things a bit
2019-01-05 20:02:00 +02:00
XhmikosR
47610b0f8b
Update postcss-cli to v6.1.1.
2019-01-05 00:36:31 +02:00
Mark Otto
1488a83b13
latest changes
2019-01-04 08:29:45 -08:00
Johann-S
89a73f100e
carousel should not cycle when there is no data-ride on init ( #27968 )
2019-01-04 18:15:01 +02:00
XhmikosR
d4b5b4b78c
Update devDependencies and gems.
2019-01-04 14:22:23 +02:00
Mark Otto
b478234cba
Add note to the summary of important changes
2019-01-04 11:53:32 +02:00
Martijn Cuppens
e1b990fb90
Move hand cursor for buttons to reboot
2019-01-04 11:53:32 +02:00
Martijn Cuppens
83dc45b31b
Prevent select word wrap in Safari ( #27932 )
2019-01-04 11:40:10 +02:00
Florian Lacreuse
c71b291cd9
Remove unnecessary brackets for consistency ( #27966 )
2019-01-03 20:59:18 +02:00
sabruss
6813653bb1
Fix Typo on docs ( #27962 )
2019-01-02 18:33:52 +02:00
XhmikosR
bec34acbbe
Add a few more redirects.
2018-12-31 02:20:08 +02:00
Martijn Cuppens
e7336e7d7f
Remove wrapping paragraph in readme ( #27948 )
2018-12-29 18:40:56 +02:00
Martijn Cuppens
c0dfda964f
Configurable display utility classes ( #27917 )
2018-12-29 04:54:58 +02:00
Martijn Cuppens
952374654c
Fix custom select font sizes ( #27929 )
2018-12-29 04:44:35 +02:00
Martijn Cuppens
8eef162c44
Match input font size for .input-group-text ( #27941 )
2018-12-28 23:18:10 +02:00
XhmikosR
ee09d96628
reboot: Fix comment ( #27937 )
2018-12-28 00:48:51 +02:00
Martijn Cuppens
8bf823e22d
Fix form-feedback-icon-invalid color ( #27935 )
2018-12-27 23:05:29 +02:00
XhmikosR
501e8c0837
toasts: mention that positioning is manual. ( #27931 )
2018-12-27 21:41:14 +02:00
XhmikosR
dc17c924e8
stretched-link.md: fix typo ( #27918 )
2018-12-24 16:34:30 +02:00
Martijn Cuppens
4a5217c4c7
Add Open Collective to header ( #27916 )
2018-12-23 22:24:25 +02:00
Mark Otto
e4fe18e426
Add horizontal card example ( #27906 )
2018-12-23 15:00:51 +02:00
Johann-S
3bd9fb3649
getSelectorFromElement return null on bad selectors ( #27912 )
2018-12-23 14:30:35 +02:00
XhmikosR
7d5cb2df3a
versions: sort from newer to older. ( #27898 )
2018-12-23 14:12:13 +02:00
XhmikosR
3c88ed7069
Fix 4:3 embed ( #27910 )
2018-12-23 13:58:58 +02:00
Martijn Cuppens
81e35985b8
Simplify card group css ( #27901 )
2018-12-23 09:19:07 +02:00
Martijn Cuppens
39b14c9806
Blacklist border-radius property (use mixin instead) ( #27900 )
2018-12-23 09:11:11 +02:00
Mark Otto
6a5a1b073d
move to 4.2
2018-12-22 22:20:26 -08:00
XhmikosR
de7a38250b
Merge branch 'v4-dev' into stretched-link
2018-12-23 00:30:55 +02:00
XhmikosR
46f86df0bb
bootstrap-stack.svg: remove unneeded space.
2018-12-22 23:54:21 +02:00
XhmikosR
3bdb363495
Remove obsolete redirects in examples. ( #27897 )
2018-12-22 22:07:37 +02:00
XhmikosR
74987d9591
Add two new meta tags for Algolia ( #27902 )
2018-12-22 21:58:06 +02:00
XhmikosR
74a2d93517
Merge branch 'v4-dev' into stretched-link
2018-12-22 18:32:28 +02:00
Jesse Mandel
dee3ab427c
Update nuspec and build script ( #27894 )
...
Update nuspec and build script to support `<license />` instead of the deprecated `<licenseUrl />`
2018-12-22 17:09:51 +02:00
Mark Otto
f0e5cc3f41
Add a notes about multiple links/targets, remove multiple link example
2018-12-21 21:10:40 -08:00
XhmikosR
2dda0a22e4
Update devDependencies and gems.
2018-12-21 21:07:48 -08:00
Mark Otto
15be9d3277
Add variable for dropdown-divider-margin-y ( #27857 )
...
* Add variable for dropdown-divider-margin-y
For us to reassign the nav-divider-margin-y variable here, we have to rearrange some of the variables.
Fixes #26660 .
* bump bundlesize
2018-12-21 20:59:40 -08:00
Mark Otto
a8b0fabf0a
Merge branch 'table-dark-colors' into v4-dev
2018-12-21 15:36:09 -08:00
Mark Otto
d51b408d0f
Merge branch 'text-break-util' into v4-dev
2018-12-21 15:35:55 -08:00
Mark Otto
2162cb1806
dist
2018-12-21 15:35:15 -08:00
Mark Otto
fca7531897
Merge branch 'table-dark-colors' into v4-dev
2018-12-21 14:49:11 -08:00
Mark Otto
cdcfd3b1e8
Merge branch 'text-break-util' into v4-dev
2018-12-21 14:47:52 -08:00
ysds
27d691c64c
Prevent unnecessary css when $emphasized-link-hover-darken-percentage is 0 or 0%
2018-12-21 14:46:20 -08:00
Martijn Cuppens
20f49143fc
Sync modal header & footer border colors with $border-color
2018-12-21 13:56:44 -08:00
Martijn Cuppens
8bc118acce
Sync $table-border-color with $border-color
2018-12-21 13:56:11 -08:00
Shohei Yoshida
cda3301d08
Use border-radius() mixin for toast
2018-12-21 13:55:44 -08:00
Martijn Cuppens
fc841b0ceb
#27135 : themed link focus state & selector improvement ( #27136 )
2018-12-21 13:55:05 -08:00
Sam Tape
9d3930b6dd
Apply arrow styles to direct descendants of bootstrap popover classes
...
With the current styles, it is not possible to nest a popover inside of
another popover if they have different placements because the arrow
styles of the parent popover will conflict with the arrow styles of the
child popover.
2018-12-21 13:54:29 -08:00
Mark Otto
f6abb4976f
Prevent checks from shrinking in inline forms ( #27870 )
...
Fixes #25336
2018-12-21 13:52:02 -08:00
Mark Otto
2e1d0fed00
Add table-hover-color variables ( #27850 )
...
* Add table-hover-color variables
Fixes #26465
* Put $table-color to use outside _variables.scss
2018-12-21 13:51:38 -08:00
Mark Otto
1449d041c8
Merge branch 'validation-support-list' into v4-dev
2018-12-21 13:48:53 -08:00
Mark Otto
d9712b7bcd
Merge branch 'table-hover-colors' into v4-dev
2018-12-21 13:48:44 -08:00
Mark Otto
3b843c37c1
Merge branch 'grid-vertical-alignment-ie-warning' into v4-dev
2018-12-21 13:48:19 -08:00
Mark Otto
9e4e94747b
Bump to v4.2.1 ( #27892 )
2018-12-21 10:55:28 -08:00
XhmikosR
d50ed9a2bd
Update README.md
2018-12-21 09:03:29 -08:00
Martijn Cuppens
680f40c7cb
Add 4.1 to previous releases
2018-12-21 09:03:29 -08:00
XhmikosR
c5bd6a11f6
Update webpack.md
2018-12-21 09:03:29 -08:00
XhmikosR
140abf4c3d
Remove unneeded redirects.
2018-12-21 09:03:29 -08:00
XhmikosR
1bded2ffcd
Update docs-navbar.html
2018-12-21 09:03:29 -08:00
Mark Otto
eda851ee76
Prep for v4.2.0 release
...
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Florian Lacreuse
2c0cd7d2ed
Remove dead link entry for translations. ( #27891 )
2018-12-21 17:54:40 +02:00
jess
12c4d3c248
README.md: Add Open Collective ( #27864 )
2018-12-18 01:23:48 +02:00
Mark Otto
f7bf353cdc
Add docs for .text-break
2018-12-17 09:58:18 -08:00
Martijn Cuppens
353c8b4376
Update scss/utilities/_text.scss
...
Co-Authored-By: mdo <otto@github.com >
2018-12-17 09:48:06 -08:00
XhmikosR
901761a34b
Merge branch 'v4-dev' into table-dark-colors
2018-12-17 00:20:56 +02:00
Mark Otto
540537c481
Add new .text-break utility for applying word-break: break-word
2018-12-16 13:23:33 -08:00
XhmikosR
1960a52889
List v3.4.0 in versions page. ( #27860 )
2018-12-16 20:05:29 +02:00
XhmikosR
07b4b5907b
Revert "Remove now unnecessary shrink-to-fit viewport directive ( #27818 )" ( #27855 )
...
This reverts commit af484dc12c .
2018-12-16 16:39:48 +02:00
Florian Lacreuse
8ee2065d16
Update grid doc for consistent use of container. ( #27776 )
2018-12-16 14:55:46 +02:00
Martijn Cuppens
dac464a5b8
Use theme-color function for colors ( #27848 )
2018-12-16 01:59:16 +02:00
Mark Otto
ee72e7838d
dist
2018-12-16 01:33:05 +02:00
Mark Otto
4ad7ba7b23
List out what's supported in validation styles
...
Fixes #27169
2018-12-15 14:25:40 -08:00
Mark Otto
3b42a9ec5b
Add table-hover-color variables
...
Fixes #26465
2018-12-15 14:01:09 -08:00
Mark Otto
9d05cc25cb
Fixes #26468 : Mention min-height issue in IE10/11 for flexbox vertical alignment
2018-12-15 13:51:20 -08:00
Mark Otto
236c7803cb
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com >
2018-12-15 20:18:55 +01:00
Mark Otto
470145bdca
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com >
2018-12-15 20:17:45 +01:00
Mark Otto
210d49ec05
Update site/docs/4.1/utilities/stretched-link.md
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com >
2018-12-15 20:15:03 +01:00
Mark Otto
abd5a5e4bd
Copy change
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com >
2018-12-15 20:14:42 +01:00
Mark Otto
35caac013c
Copy change
...
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com >
2018-12-15 20:14:05 +01:00
Mark Otto
f50f6e0355
Match .table-dark background-color to the -dark variable
2018-12-15 10:15:52 -08:00
XhmikosR
ffd3402a92
Link to v3.4 docs ( #27842 )
2018-12-15 08:49:00 +02:00
Patrick H. Lauke
af484dc12c
Remove now unnecessary shrink-to-fit viewport directive ( #27818 )
...
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards
See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-15 01:05:49 +00:00
ChrissBott
b5b4f83cdb
Fix typo in "Hiding elements" section ( #27843 )
2018-12-14 17:07:44 +00:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Florian Lacreuse
1dc42a3373
Add missing parameter to grid mixins. ( #27841 )
2018-12-14 18:30:12 +02:00
Gijs Boddeus
26c5595164
Custom switch form control gutter fix ( #27837 )
2018-12-14 16:22:19 +02:00
Gijs Boddeus
c618f67187
Actual gutter definition ( #27797 )
2018-12-14 03:04:10 +02:00
Johann-S
af60644d2f
integration test to be sure bootstrap can be bundled
2018-12-14 02:08:18 +02:00
XhmikosR
db31ee1ea2
Remove the unused gcp-key.json.enc file.
2018-12-14 00:54:20 +02:00
XhmikosR
a074cb66d7
Make use of the package.json version_short property more.
2018-12-14 00:34:38 +02:00
Patrick H. Lauke
c031584bcd
SVG accessibility fixes ( #27826 )
...
* SVG accessibility fixes
- add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle
- completely hide decorative SVGs using `aria-hidden="true"`
- add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label`
- simplify placeholder default title
* Simplify usage of placeholder.svg in the docs
- in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly)
- no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class)
* Simplify example.html rewriting of <svg> to <img> code sample
- as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the
placeholder.svg itself
* Change svgo configuration to retain role attribute and add/force focusable=false
- regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-12-13 13:09:47 +00:00
Patrick H. Lauke
375d137561
Docs: add note about the grays being "cool" ( #27824 )
2018-12-12 21:55:20 +02:00
Patrick H. Lauke
f3fc973dd9
Remove now unnecessary -ms-viewport and -ms-overflow-style directives ( #27789 )
...
Edge/Mobile appears to have moved support for `-ms-viewport` behind a flag at some point, instead supporting meta viewport directives.
Removing this altogether also fixes issues in IE11 on high-dpi displays - see https://github.com/twbs/bootstrap/issues/21780
2018-12-12 21:24:47 +02:00
Gijs Boddeus
180a06eeb7
Add switch custom form control ( #23004 )
2018-12-12 15:28:25 +02:00
Martijn Cuppens
dbadf24bb3
Fix margin above toast when previous toast is hidden ( #27820 )
2018-12-12 14:23:10 +01:00
unaccomplished
0a55c7a8f6
Update Scrollspy doc to include missing method options ( #27754 )
2018-12-11 10:27:04 +02:00
XhmikosR
3100a3a95e
Update bs-custom-file-input to v1.3.1.
2018-12-10 17:19:30 +02:00
XhmikosR
60eeef5ddc
Update clipboard.js to v2.0.4.
2018-12-10 17:19:30 +02:00
XhmikosR
10d4e7f43d
Update glyphicons URL.
2018-12-10 12:27:27 +02:00
Johann-S
1f4d7903db
fix fade animation for toast
2018-12-10 10:38:11 +01:00
Mike Vastola
fc15c4c4ce
Change button checkbox/radios to ignore hidden input fields ( #27802 )
2018-12-10 10:40:08 +02:00
XhmikosR
385ce1c961
Update devDependencies. ( #27806 )
2018-12-10 10:34:30 +02:00
Patrick H. Lauke
c70b043a76
Remove nonsensical boolean check ( #27787 )
...
...as it always evaluates to true
2018-12-06 13:30:12 +02:00
Johann-S
fa03289d13
avoid console call in our unit tests ( #27790 )
2018-12-06 10:51:35 +02:00
XhmikosR
947f749e23
Update devDependencies. ( #27764 )
2018-12-06 08:34:35 +02:00
Gijs Rogé
3fbbe1bd35
Replaced fixed 'bolder' font weight value in reboot with variable. ( #27782 )
...
The default font weight value for <strong> <br> in reboot was
set by a fixed value we now use the variable $font-weight-bolder
to let users override this value.
2018-12-06 08:21:18 +02:00
Patrick H. Lauke
903e242650
Make disabled link in card examples non-focusable and add aria-disabled ( #27788 )
2018-12-06 08:16:22 +02:00
Patrick H. Lauke
6c00dd08bc
Add aria-modal to modals ( #27780 )
...
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden
2018-12-05 20:58:09 +02:00
Jacob Müller
8fb6e84fa0
Make form grid gutter width configurable ( #27766 )
2018-12-05 17:15:24 +02:00
Johann-S
b16127fc10
Allow Tooltips/Popovers to work in shadow DOM
2018-12-05 16:02:59 +01:00
Shohei Yoshida
850d99bb13
Add quotes according to the stylelint rule ( #27771 )
2018-12-05 12:40:59 +01:00
Johann-S
37f74c7070
fix regression about using element for tooltip container option
2018-12-05 10:57:02 +01:00
XhmikosR
e184c11618
Merge branch 'v4-dev' into stretched-link
2018-12-05 11:38:55 +02:00
Martijn Cuppens
3007d4b435
Stretched link
2018-12-04 21:22:12 +01:00
acidrums4
1a171b80ab
Remove double 'the' in comment ( #27767 )
2018-12-04 20:14:23 +01:00
Shohei Yoshida
e9ec5e7392
spinners: use .sr-only instead of text-hide technique ( #27736 )
2018-12-04 08:02:49 +02:00
XhmikosR
a2d0e78b44
Update contents.md
2018-11-29 10:59:06 +02:00
XhmikosR
8d81226a8e
Remove no_toc_section.
2018-11-28 21:09:50 +02:00
XhmikosR
24eb9a75e9
Revert "Use h5 for callouts so that they are not included in ToC."
...
This reverts commit 11da160114 .
This is no longer needed with jekyll-toc 0.9.1.
2018-11-28 21:09:50 +02:00
toshimaru
0b96d62fb3
Configure multiple no_toc_section classes
2018-11-28 21:09:50 +02:00
XhmikosR
698ccb4923
Update jekyll-toc to v0.9.1.
2018-11-28 21:09:50 +02:00
XhmikosR
8bfabdd1dc
.eslintignore: Remove unneeded entry.
2018-11-28 14:33:29 +02:00
XhmikosR
7492c12089
Remove unneeded ESLint config file.
...
We have /site/.eslintrc.json that covers this.
2018-11-28 14:33:29 +02:00
XhmikosR
05dfae3146
Revert "build/*.js: set sourceType to module."
...
This reverts commit b442ce3130 .
2018-11-28 14:33:29 +02:00
XhmikosR
11da160114
Use h5 for callouts so that they are not included in ToC.
...
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included.
We should revisit this if the bug is fixed later.
2018-11-27 16:01:07 +02:00
XhmikosR
cb2b21bb88
Inline bootstrap-stack.svg.
...
It's pretty small compressed; a little less than 1 KB with gzip.
2018-11-27 15:37:24 +02:00
XhmikosR
89876a5559
Use an SVG for the stack image.
...
Image by @mdo.
2018-11-27 15:37:24 +02:00
XhmikosR
b4f7b34b1e
Move examples images in assets/img/examples/ folder.
2018-11-27 15:37:24 +02:00
XhmikosR
4ad19f6f52
Use srcset for examples too.
2018-11-27 15:37:24 +02:00
XhmikosR
d5279bf18c
homepage: use srcset.
...
This should reduce the amount of bytes for non-2x displays.
2018-11-27 15:37:24 +02:00
Christian Oliff
fcfa436a31
Update migration page to indicate the info can be used for 4.1.x as well as 4.0.x
2018-11-26 22:46:09 +02:00
XhmikosR
7b274d358b
Update package-lock.json.
2018-11-26 22:22:05 +02:00
Christian Oliff
7a907ae09e
Change OS X to macOS in Sass comments ( #27729 )
...
It's been macOS for 3 years now and we use just 'macOS' elsewhere in the Bootstrap documentation.
https://en.wikipedia.org/wiki/MacOS
2018-11-26 14:57:33 +00:00
Johann-S
32ab52ba2e
Add test to make sure we enforce focus on modal ( #27723 )
2018-11-25 18:20:55 +02:00
XhmikosR
72bd3f5930
ship.sh: add missing period.
2018-11-25 14:50:32 +02:00
ysds
9f08f7dea6
Grow button width to the parent button group ( #27717 )
2018-11-25 12:05:31 +01:00
XhmikosR
5c336d0247
Dist
2018-11-25 11:46:37 +02:00
XhmikosR
fdc5c1f49a
Update devDependencies.
2018-11-25 11:46:37 +02:00
m5o
c9157be574
prevent text selection for floating labels example ( #27719 )
...
* prevent text selection for floating labels
* expand the click target by no selecting the label text
* use `pointer-events: none;` instead of `user-select`
* thx @MartijnCuppens
2018-11-24 13:25:18 +01:00
Martijn Cuppens
28a972ac9f
Add opacity transition
2018-11-23 15:28:39 +02:00
XhmikosR
0c60257114
Revert "Replace anchor.js with jekyll-anchor-headings."
...
This reverts commit b04f97f60b .
2018-11-23 15:28:39 +02:00
ysds
0140552322
Fix body scrolling issue when modal open ( #27698 )
2018-11-23 13:41:42 +01:00
Pixelastic
3e25bf403a
Update DocSearch.js to latest version
...
The latest (2.6.2) docsearch.js version now displays results as standard `<a href>` links, allowing users to `ctrl`-click on them to trigger default browser behavior of opening in a new tab.
To maintain backward compatibility, this behavior has only been enabled to users that didn't define their own `handleSelected` method.
This PR updates your `docsearch()` code to take advantage of the new `<a href>` template, by removing your custom `handleSelected` and moving its behavior to the `transformData` call. Namely, what you wanted to avoid was jumping to the first `<h1>` of the pages, which would prevent users from seeing the header. This PR checks if the suggestion targets the `#content` anchor (meaning it goes to this first `<h1>`) and remove it.
Behavior should be the same, but at least now you can enjoy the `ctrl`-click :)
2018-11-22 17:38:27 +02:00
XhmikosR
8a7ed6047b
Update devDependencies.
2018-11-22 11:15:21 +02:00
ysds
b6e616a70f
Fixed a fixed height issue of input-group size option ( #27687 )
2018-11-22 10:29:33 +02:00
Roy Klutman
e7e43edf65
Add border-radius to dropdown items ( #27703 )
2018-11-22 00:24:13 +02:00
m5o
31d6d03c47
Placeholders: use our gray colors ( #27701 )
...
Previously we were using the old holder.js colors.
2018-11-21 20:59:21 +02:00
Martijn Cuppens
58943c0257
Sass precision documentation ( #27705 )
2018-11-21 20:51:47 +02:00
XhmikosR
73a98d9738
reboot: Fix mailto address ( #27700 )
2018-11-21 15:24:38 +02:00
XhmikosR
487bd521e3
docs: fix path to assets. ( #27696 )
2018-11-21 15:11:31 +02:00
Martijn Cuppens
c628921465
Use wrapping span instead of div ( #27695 )
2018-11-20 21:53:10 +02:00
XhmikosR
749c8230c7
docs-sidebar.html: remove commented out code.
...
Leftover from old times.
2018-11-20 21:31:28 +02:00
XhmikosR
d9717d1945
Reindent.
2018-11-20 21:31:28 +02:00
XhmikosR
2b9af5e38c
Remove holder.js.
2018-11-20 21:31:28 +02:00
XhmikosR
369f03fbc5
Use the new include in examples too.
2018-11-20 21:31:28 +02:00
m5o
6163533d84
Fix placeholder image replacement.
2018-11-20 21:31:28 +02:00
XhmikosR
2ac3db8384
Tweak placeholder.svg.
...
* always include the title
* make it possible to skip adding the title by passing `title=' '`
* remove viewBox since we don't need it
2018-11-20 21:31:28 +02:00
Martijn Cuppens
072b5ab7fd
Replace holder.js with SVGs.
2018-11-20 21:31:28 +02:00
XhmikosR
b04f97f60b
Replace anchor.js with jekyll-anchor-headings.
...
This allows us to generate the anchor links on build time.
https://github.com/allejo/jekyll-anchor-headings
2018-11-20 11:47:10 +02:00
XhmikosR
8470c5f78c
Remove sudo from Travis config. ( #27693 )
...
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-20 11:36:37 +02:00
Tieson Trowbridge
ab183384ee
Allows both OL and UL lists for tab buttons
2018-11-20 09:58:04 +01:00
ysds
7c8cd0f272
Add documentation about .text-decoration-none ( #27686 )
2018-11-20 09:08:34 +02:00
ysds
1fe56358e7
Add documentation about viewport sizing utilities ( #27688 )
2018-11-19 18:44:08 +01:00
ysds
38ca58bf3c
Add documentation about .font-weight-bolder/lighter ( #27678 )
2018-11-18 10:15:49 +02:00
Martijn Cuppens
3f422bfc88
Prevent text decoration skip inc and reorder comments ( #27673 )
2018-11-18 10:09:41 +02:00
Martijn Cuppens
12ae122eda
Spinners cleanup
2018-11-17 20:34:58 -08:00
ysds
5042b3c93d
Support custom-select sizing in input-group ( #27677 )
2018-11-17 14:10:38 +02:00
Christian Oliff
4734a926e9
Enforce lowercase class name in .stylelintrc ( #27668 )
2018-11-17 14:01:16 +02:00
Martijn Cuppens
75526bf2d0
Inherit card header color ( #27681 )
2018-11-17 10:16:16 +01:00
XhmikosR
53d279b934
Update devDependencies and gems.
2018-11-16 08:59:37 +02:00
Iurii Kucherov
f83f4ae124
Update autoprefixer link to .browserslistrc file ( #27675 )
2018-11-16 08:44:52 +02:00
XhmikosR
ea4db3f89d
Use fancy apostrophe in HTML files.
...
For Markdown files, this isn't needed because the Markdown converter takes care of this.
2018-11-15 15:55:21 +02:00
Johann-S
9201a80510
some cleaning and changes for readability
2018-11-14 10:54:50 +01:00
Martijn Cuppens
fab1dea927
Keep input group & form label font size in sync with form control font size ( #27663 )
2018-11-13 21:11:59 +01:00
XhmikosR
fceee8d093
Dist
2018-11-13 08:47:32 +02:00
Mark Otto
220baef0d9
Clean up some docs for toasts
...
- Add headings to examples section
- Clarify styles and customization options in examples
- Add dismiss buttons to all toasts
- Missing period added for consistency
- Update roles, tweak text
2018-11-13 08:47:32 +02:00
Mark Otto
ab40a2b919
Nest the .toast.show and use display: block; as inherit causes broken styles
2018-11-13 08:47:32 +02:00
Laussel LOïc
dc07e8dca8
Update toast documentation following pull #27155
...
Also remove close button everywhere just let it when autohide is set to false
2018-11-13 08:47:32 +02:00
Johann-S
557d5ac74d
Remove the show delay for our toast plugin
2018-11-13 08:47:32 +02:00
Laussel Loïc
4cac833447
Implement data-dismiss="toast" to allow user to interact itself with the component ( #27155 )
2018-11-13 08:47:32 +02:00
Johann-S
2f81ab007c
Fix toast documentation page.
2018-11-13 08:47:32 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
Mark Otto
d0652a1be9
Add new toasts component
2018-11-13 08:47:32 +02:00
Martijn Cuppens
696c4078d1
Customize browse text of the custom file input with HTML ( #27651 )
2018-11-13 08:30:17 +02:00
XhmikosR
dafb498f75
Spinners: show all color variants.
2018-11-13 08:21:57 +02:00
XhmikosR
5afc708961
Bump bootstrap.min.css bundle size.
2018-11-13 08:21:57 +02:00
XhmikosR
e9d67982ae
spinners: use the animation shorthand property.
2018-11-13 08:21:57 +02:00
Mark Otto
52a86cc671
Add Bootstrap's very first spinners omfg it's actually happening
2018-11-13 08:21:57 +02:00
XhmikosR
f3bd8602df
Jekyll: Add wdm gem for Windows. ( #27658 )
2018-11-12 21:23:53 +02:00
Christian Oliff
75e6253b0a
Update clipboard.js to v2.0.3 ( #27657 )
2018-11-12 18:46:21 +02:00
XhmikosR
110c7f4cc0
Replace data-src with src="..." in docs. ( #27649 )
2018-11-11 14:45:48 +02:00
Patrick H. Lauke
e6a356a3ae
Minor/Docs: tweak accordion example heading level ( #27620 )
2018-11-11 09:12:29 +00:00
Martijn Cuppens
976efcd5ee
Allow to add more embed responsive ratios ( #25894 )
2018-11-11 11:04:04 +02:00
XhmikosR
9836a411e8
Redirect /extend/ to /extend/approach/.
2018-11-11 10:59:43 +02:00
Martijn Cuppens
6cb6e6510c
Remove custom properties from examples so that they work in IE ( #27634 )
2018-11-11 10:52:06 +02:00
jvitela
731f95bded
Fix modal positioning on Android.
...
When the address bar is hidden, sometimes the visual position of the controls is out of sync with its logical position.
2018-11-11 10:44:26 +02:00
XhmikosR
bbe2b2349d
Dashboard example: update 3rd-party libs and use the same CDN.
2018-11-09 15:02:42 +02:00
XhmikosR
807c1b6d06
Add an examples layout.
...
Reduces duplication and makes maintenance easier.
2018-11-09 15:02:42 +02:00
XhmikosR
e1b5b4f989
Move analytics to an include file.
2018-11-09 15:02:42 +02:00
XhmikosR
a933f076f4
Move stylesheets to an include.
2018-11-09 15:02:42 +02:00
Johann-S
1fdc7819cd
use bsCustomFileInput in our docs ( #27631 )
2018-11-08 17:22:45 +02:00
sts-ryan-holton
2df2cdd33d
Wrap checkboxes in .form-group ( #27624 )
2018-11-07 21:54:40 +01:00
ysds
8de915eded
Docs: Improve accessibility of disabled link example ( #27614 )
...
Add `tabindex="-1"` and `aria-disabled="true"` to disabled link
2018-11-06 10:47:59 +02:00
Johann-S
e5d9e0a06c
display chrome version on travis
2018-11-05 22:29:25 +02:00
XhmikosR
195404b106
Travis: Add back chrome addon ( #27610 )
2018-11-05 22:29:25 +02:00
XhmikosR
ea697555d5
Travis: exit pipeline if test fails.
2018-11-05 21:35:59 +02:00
Martijn Cuppens
6e10ac276e
Increase readability card columns docs ( #27609 )
2018-11-05 21:08:13 +02:00
sts-ryan-holton
89eef046ef
Add new .rounded-pill utility ( #27339 )
2018-11-05 19:19:00 +02:00
XhmikosR
5c03f23f85
Reorganize npm scripts.
2018-11-05 19:06:39 +02:00
Martijn Cuppens
b33d0d3790
Prevent white line in Firefox (regression) ( #27594 )
2018-11-05 18:56:41 +02:00
XhmikosR
e3abb8e4dd
Remove htmllint. ( #27603 )
...
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
2018-11-05 18:42:05 +02:00
LittleHuba
aa098991bf
Add Noto Sans to the font stack ( #27596 )
...
Fixes #27595
2018-11-05 08:22:40 +02:00
okazou
cb5c80124a
Add japanese to translations ( #27599 )
2018-11-05 08:15:04 +02:00
Arvind S
042042a48a
Made the disabled state for nav more obvious. ( #27382 )
2018-11-04 22:17:14 +02:00
ysds
4a1090ac48
Ligthen/Darken Button focus shadow color
2018-11-04 20:58:00 +02:00
XhmikosR
e0eb39f519
Update README.md ( #27588 )
...
* remove jobs link
* specify a link in the BrowserStack image
2018-11-04 20:49:31 +02:00
XhmikosR
15fa1566cd
Update devDependencies and gems.
2018-11-04 16:02:35 +02:00
Martijn Cuppens
b67c6fb435
Use a badge for .text-wrap example
2018-11-04 15:55:17 +02:00
XhmikosR
366bc88523
Add text-wrap example.
2018-11-04 15:55:17 +02:00
Andrew
cbc859ad8d
Add .text-wrap class.
...
this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines.
One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior.
2018-11-04 15:55:17 +02:00
XhmikosR
497766a3a6
Travis: stop using a separate stage for Browser tests.
...
This should be faster.
2018-11-04 15:40:09 +02:00
XhmikosR
ca47a21b70
broken-link-checker: force follow links.
...
After 3256a2c , blc honored robots.txt thus it didn't crawl anything.
Ignore robots.txt to work around the issue.
2018-11-04 15:32:59 +02:00
patrickhlauke
c46a0c7e88
Replace touch-action: none with pan-y, remove preventDefault from touch event handling
2018-11-04 14:40:19 +02:00
XhmikosR
9cc237d0ba
scss/_custom-forms.scss: fix typo in comment.
2018-11-04 12:17:56 +02:00
ysds
ea8f6c6ff3
Button group refactoring and fixes ( #25395 )
2018-11-04 08:50:21 +02:00
XhmikosR
d27509688d
Jekyll: switch to localhost
...
`0.0.0.0` has issues on Windows.
2018-11-04 08:33:30 +02:00
Vincent Langlet
793b83fda8
Avoid null value ( #27570 )
2018-11-04 08:18:56 +02:00
Martijn Cuppens
38e9e2b82c
Add TODO
2018-11-04 08:13:31 +02:00
Varunram
a31468cf84
Resolve #26226 : Sync with normalize 8.0.0
...
diff credits: @client9
2018-11-04 08:13:31 +02:00
XhmikosR
eeea8b5ed3
docs: remove false info from v3 suggestion.
2018-11-03 21:59:11 +02:00
Patrick H. Lauke
8b20bce873
Add Sass variable for prefers-reduced-motion, add callout to affected components ( #27581 )
...
* Tweak the accessibility/reduced motion text
include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS
xref https://github.com/twbs/bootstrap/issues/27525
* Add new callout for reduced motion
* Add variable to control prefers-reduced-motion media query support
* Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-11-03 19:23:26 +01:00
Johann-S
f7a4b39767
handle detached tooltip when we try to hide a modal
2018-11-02 13:39:58 +01:00
XhmikosR
e0d1f3f18b
Remove the obsolete tooltip-viewport example and redirect it.
2018-11-02 12:55:28 +02:00
XhmikosR
3256a2c231
robots.txt: disallow crawling when not in production. ( #27559 )
2018-11-02 12:41:57 +02:00
Sebastian Hädrich
4b15ec9cad
Make meaning of tooltip's selector option clearer ( #27573 )
2018-11-01 15:05:02 +02:00
ysds
2ffa1bff6e
Fix empty custom-control-label alignment issue ( #27566 )
2018-10-31 09:49:52 +02:00
Martijn Cuppens
96b49d7833
Fix Edge bounce and restore original transition easing ( #27279 )
2018-10-31 09:45:39 +02:00
Johann-S
f20e46e2da
Add @MartijnCuppens to our core team ! 🎉 ( #27562 )
2018-10-30 19:47:25 +02:00
ysds
eb5d0b49dc
Prevent hover/click on disabled .close links.
2018-10-30 18:25:14 +01:00
Martijn Cuppens
273861f145
IE10 homepage fix
2018-10-30 18:16:19 +02:00
Johann-S
cebdfb9090
fix dispose modal unit test
2018-10-30 16:59:24 +01:00
Andrew Luca
bd2851938a
test(Modal): check if modal is disposed
2018-10-30 16:28:32 +01:00
Andrew Luca
65dc8c9070
refactor(Modal): add _isTransitioning default value
...
Having variables initialised from start `_isTransitioning` is better.
Would be better to add an eslint rule to check for undeclared variables use.
Reordered enter checks for `show` and `hide` by priority.
2018-10-30 16:28:32 +01:00
XhmikosR
2b21657cd4
Remove trailing space.
2018-10-30 15:44:41 +02:00
XhmikosR
40e560aa12
docs: remove Webpack version reference.
2018-10-30 15:44:41 +02:00
XhmikosR
02df7cd0d2
Fix util tests on IE 10 ( #27556 )
2018-10-30 15:29:04 +02:00
Matheus Rocha Vieira
77ff5e8e42
download page: add Yarn ( #27544 )
2018-10-30 11:27:13 +02:00
Martijn Cuppens
e0fa9a812c
#27502 : Prevent active state border change
2018-10-30 09:06:25 +02:00
Martijn Cuppens
5aed968750
Prevent the background to be shown when transitioning
2018-10-30 08:57:02 +02:00
XhmikosR
5e6b53a7c0
Update Travis CI config.
...
Only run `coveralls` and `check-broken-links` tasks when we run the Test phase.
2018-10-29 16:04:22 +02:00
Johann-S
2868f07240
update our coverage required for branches and functions
2018-10-29 14:49:29 +01:00
Johann-S
91f8077ed5
add unit tests for our carousel
2018-10-29 14:49:29 +01:00
XhmikosR
bb0d6bf178
Update devDependencies and gems.
2018-10-29 15:40:20 +02:00
Johann-S
2c2d04aba5
add unit test to test tabs can be removed without throwing error
2018-10-29 14:01:03 +01:00
dercodercom
a282c22fc7
Update tab.js
...
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
2018-10-29 14:01:03 +01:00
Martijn Cuppens
fff9e17d7e
Delete sache.json ( #27530 )
2018-10-29 13:35:26 +02:00
Martijn Cuppens
45610a0f39
fix tab fade out ( #27533 )
2018-10-29 09:54:45 +01:00
Johann-S
ffc8d507c7
calculate modal transition duration based on modal-dialog element
2018-10-28 23:59:17 +02:00
Ng Yik Phang
47ef0a877e
Improve pagination's documentation accessibility.
...
- Remove `.sr-only` span for previous/next page, there is already`aria-label`
- Add `aria-disabled="true"` and `aria-current="page"`
2018-10-23 06:21:57 +03:00
ItaloBC
557f3fe100
Added Viewport Height & Width helpers
...
This allows the user to make a container (ideally) to use viewport height and width and allow better vertical/horizontal alignments of elements.
2018-10-23 06:04:08 +03:00
Martijn Cuppens
1c91f48251
Variable darken percentage for emphasized links
2018-10-23 05:58:19 +03:00
Caíque de Castro Soares da Silva
ff40e00323
Fix readonly-plain-text with button addon ( #25871 )
...
Fixes #25870
2018-10-23 05:53:38 +03:00
Mitko Georgiev
ee1daf090a
Easy merging of new grid breakpoints and containers ( #26714 )
...
This change follows exactly what was done for the `$grays`, `$colors`, and `$theme-colors` lists in #23260 . This allows for easy addition of new breakpoints or grid containers also.
2018-10-23 05:48:44 +03:00
Martijn Cuppens
dd539094ea
Custom select validation padding fix and additional custom select feedback icon variables
2018-10-23 05:43:59 +03:00
Martijn Cuppens
d0b7eb1111
Cleanup stylelint comments
2018-10-23 00:21:33 +03:00
XhmikosR
807e8fe4a2
Further ToC fixes.
2018-10-22 21:57:25 +03:00
XhmikosR
0c56f054a5
Remove unneeded check.
...
Leftover from after 43c20b9 .
2018-10-22 09:24:36 +03:00
XhmikosR
d48f03b050
Use the example shortcode in more places.
...
Now that we don't have the ToC issue with the examples' headers in ToC, we can safely do this.no_toc_section_class
2018-10-22 09:24:36 +03:00
Martijn Cuppens
00860f02d4
Disallow transition property (use mixin instead)
2018-10-21 22:46:20 +03:00
Johan Beckers
09aca3fb9a
Unitless breakpoints
...
If I want to customise the breakpoints using `em`, I get compatibility errors.
It is good practice to set breakpoints in `em` instead of `px` when users use browser scaling.
See https://zellwk.com/blog/media-query-units/#concluding-the-experiments for more information why someone would like to do this. Only Safari users can get annoyed: https://adamwathan.me/dont-use-em-for-media-queries/
In any case, using a unitless number at line 42 would be very convenient.
2018-10-21 21:31:28 +03:00
XhmikosR
9ed0b318b9
Update devDependencies and gems.
2018-10-21 19:11:20 +03:00
Nicolay Hvidsten
345f26a667
Change erroneous documentation for .flex-fill ( #27265 )
...
The current documentation for .flex-fill indicated that the flex
items would have equal widths, regardless of content. This update
ensures that the documentation reflects the fact that the width
of the flex items depends on their actual content.
2018-10-21 18:54:09 +03:00
Andrew Luca
1f1308ba22
test(Modal): reuse _getScrollbarWidth in tests
2018-10-21 17:45:02 +02:00
XhmikosR
ff9b195da7
Revert "Simplify .gitattributes."
...
This reverts commit 1c78f703e0 .
Unfortunately some Linux distros use an ancient git version and this change requires git >= 2.10.
2018-10-21 18:33:28 +03:00
Martijn Cuppens
44ddabad4b
Simplify theme color usage ( #27378 )
2018-10-21 17:39:23 +03:00
XhmikosR
0a3755b30a
Fix typo in the Popper.js checks. ( #27488 )
2018-10-21 11:51:20 +03:00
Andrew Pucci
d13ae1fc1a
Card header color theming ( #26573 )
...
Define new variable for card header color
2018-10-21 11:05:54 +03:00
ysds
becb6ce346
Add dropdown responsive alignment ( #26255 )
2018-10-21 11:01:22 +03:00
ysds
6bae9ef786
Example dashboard: Responsive padding-top of the main content ( #26332 )
2018-10-21 10:56:53 +03:00
Martijn Cuppens
49ca910667
Improve Grid examples. ( #26808 )
...
Removes the grid.css file of the grid example and makes use of utility classes
2018-10-21 10:52:13 +03:00
Andrey
3075432584
feature/yiq function, add parameters, with default values. ( #26917 )
2018-10-21 10:33:53 +03:00
Martijn Cuppens
e2014e8ed7
Custom checkboxes and radios retheming ( #27064 )
2018-10-21 10:25:07 +03:00
Martijn Cuppens
c9a43b027a
Re-add carousel control transition ( #27277 )
2018-10-21 10:13:35 +03:00
Doug Puchalski
59f1802e98
Outline button variant hover mixin ( #27289 )
...
The outline button variant mixin should use the hover mixin, as does the non-outline version.
2018-10-21 10:09:08 +03:00
midzer
50d866da24
optimize data URIs ( #27284 )
2018-10-21 10:03:17 +03:00
Martijn Cuppens
2a28c7d9fd
Carousel fade cleanup ( #27278 )
2018-10-21 09:55:43 +03:00
Roy Klutman
fccdda5448
Fix for double border on cards in an accordion ( #27133 )
2018-10-21 09:49:05 +03:00
XhmikosR
bc2a98522d
webpack page: Remove precss reference
2018-10-20 23:07:48 +03:00
719media
2c1a743cc9
Update _custom-forms.scss ( #27276 )
...
user-select has no effect on before/after pseudo elements
2018-10-20 22:35:56 +03:00
andresgalante
86822d93d6
changes the variables for input font size
2018-10-20 22:29:24 +03:00
Ian Walter
871a51a548
Fix #26372 : disabled btn hover issue ( #27407 )
...
When gradients are enabled there is still a hover state on disabled
buttons since the hover rules apply to background-image and disabled
rules apply to background-color. This applies the logic already present
in dropdowns to buttons. This fix was originally proposed by @ysds.
2018-10-20 22:12:33 +03:00
semenyakNik
c5eb6043d8
Custom select inconsistent padding ( #27415 )
2018-10-20 22:00:48 +03:00
Martijn Cuppens
7190c38e4c
Remove redundant width and height properties
2018-10-20 21:46:53 +03:00
XhmikosR
700f74cebd
Make use of jekyll-toc's no_toc_section class.
...
Requires jekyll-toc v0.8.0.
2018-10-20 21:39:53 +03:00
XhmikosR
79db264910
package.json: add version_short and use it in the npm scripts.
2018-10-20 21:17:50 +03:00
XhmikosR
242f19897d
Clean up docs Sass code.
...
* remove unused rules
* use Sass nesting in more places
* use the core mixins in more places
* use the color variables more
2018-10-20 21:08:37 +03:00
XhmikosR
d08607c080
Unregister Service Worker.
2018-10-20 16:00:28 +03:00
Mark Otto
5bf37eba53
Remove service worker
2018-10-20 16:00:28 +03:00
Johann-S
b1dc6b324c
avoid drag img
2018-10-20 15:32:09 +03:00
patrickhlauke
8883ccb205
Set touch-action to "none"
...
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke
9164f77269
Refactor (and correct) start/move/end functions
...
in particular, no need to use originEvent, and preventDefault() only needed for touch events
2018-10-20 15:32:09 +03:00
patrickhlauke
39ae077837
Remove unnecessary pointer event listeners
...
these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
2018-10-20 15:32:09 +03:00
patrickhlauke
6be7293a85
Abandon swipe altogether if more than one touch detected
2018-10-20 15:32:09 +03:00
patrickhlauke
7b8f01d839
Use correct touch-action values
...
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S
735c374e9c
use pointer events if available
2018-10-20 15:32:09 +03:00
Johann-S
c08652cfe8
swipe left/right without hammerjs
2018-10-20 15:32:09 +03:00
Johann-S
caefd70463
Add touch support in our carousel with HammerJS.
2018-10-20 15:32:09 +03:00
Christian Oliff
bf57389647
Add query string to the start_url to track how often app is launched
...
Useful suggestion from Google in the Web App Manifest documentation.
https://developers.google.com/web/fundamentals/web-app-manifest/#start-url
2018-10-20 14:58:37 +03:00
galczo5
6cbcd03efb
Add show and hide methods to dropdown ( #27370 )
2018-10-20 14:27:51 +03:00
Andres Galante
5088f02730
Add font weight options for form controls and custom select ( #27343 )
2018-10-20 11:50:20 +03:00
Bastien
a86aef0ae0
table: Add border color relative to theme for accessibility ( #25755 )
2018-10-20 11:21:31 +03:00
XhmikosR
282b77ee9c
docs search: take into account the current URL.
2018-10-19 22:09:50 +03:00
Catalin Zalog
a16ffc7ba1
feat: keep contrast on .table-dark
...
In case we set `$body-bg` to a dark color, we have to keep table contrast relevant.
2018-10-19 13:01:38 +03:00
namiltd
1231e1d6bc
Fix size of modal dialogs at different widths ( #27094 )
2018-10-19 12:56:46 +03:00
Roy Klutman
5a1588ed33
Fix double border on list-group ( #27126 )
2018-10-19 12:01:36 +03:00
chocolateboy
ef32979222
Fix doc typo
2018-10-19 11:36:18 +03:00
XhmikosR
5d834e0510
Travis: stop installing chrome ( #27468 )
...
It seems it works without it.
2018-10-18 11:56:55 +03:00
XhmikosR
43bf268248
Rename docs production script to production and use JEKYLL_ENV. ( #27410 )
2018-10-18 10:45:49 +03:00
XhmikosR
99e0e30402
Move lint scripts outside of the main scripts.
...
This allows us to run `npm run dist` without tests.
2018-10-18 10:05:19 +03:00
XhmikosR
f6a39e39c8
npm release-zip: remove the folder before zipping.
2018-10-18 10:05:19 +03:00
Martijn Cuppens
a6669b478b
Fix btn focus color ( #27178 )
2018-10-17 23:21:33 +03:00
Helmut Granda
ef27179c18
Delete callout-info-content-iamge-overlay-overflow.md
...
Deleting external file since it is not needed, the copy of this file will be added directly to card.md.
2018-10-17 23:15:01 +03:00
Helmut Granda
34c7b07f7f
Adding call out note directly to the page.
...
Instead of using an external source since this is only a one time note it is safe to be placed within the document itself.
2018-10-17 23:15:01 +03:00
Helmut Granda
42006e7b17
Adds a note about the limitations on content being larger than the image.
...
In the event that the content is larger than the image, the content will continue to be displayed outside the image itself. There are some workarounds but they apply only to browsers that support this option and IE11 is not one of them.
2018-10-17 23:15:01 +03:00
Martijn Cuppens
832a90d9d3
Move media from layout to components
2018-10-17 22:45:54 +03:00
XhmikosR
1c78f703e0
Simplify .gitattributes.
2018-10-17 12:23:01 +03:00
Mark Otto
8cf0fe2ee0
Add a CODEOWNERS file ( #27271 )
2018-10-15 16:17:42 +03:00
XhmikosR
29f849879b
Move docs .eslintrc in site/.
2018-10-15 16:03:16 +03:00
XhmikosR
18ff70c248
Update devDependencies and gems.
2018-10-15 14:52:22 +03:00
XhmikosR
3574af5231
Include css-copy in the css script.
2018-10-15 14:31:42 +03:00
Martijn Cuppens
ad60a58043
Rename everything to skippy and center skippy ( #27420 )
2018-10-15 14:19:41 +03:00
XhmikosR
43c20b912e
Combine examples and simple layouts.
2018-10-15 12:54:51 +03:00
XhmikosR
7d6a0aa24d
Tighten stylelint config. ( #27336 )
...
Also improve its formatting.
2018-10-15 12:24:53 +03:00
Martijn Cuppens
fc77c5540e
Change h1 to h2
2018-10-15 09:53:11 +03:00
XhmikosR
6c7ec73b16
Reduce indentation.
2018-10-14 22:00:58 +03:00
XhmikosR
70aec100e4
Travis: add --clean in bundle install command.
2018-10-14 17:05:04 +03:00
XhmikosR
bcbf3f2ec6
build/generate-sri.js: add popperjs.
2018-10-14 08:17:40 +03:00
XhmikosR
f9dea7624b
Move periods outside of links.
2018-10-14 08:17:40 +03:00
XhmikosR
ea575bc1a7
js/tests/visual: fix popper script.
...
Broken after 787441d .
2018-10-14 08:17:40 +03:00
XhmikosR
7749b91130
Fix a few links.
...
* fix `/versions/` link
* add missing trailing slashes
* fix a couple of redirects
2018-10-14 08:17:40 +03:00
XhmikosR
d2c6e237e4
Remove the unused jobs Jekyll variable.
2018-10-14 08:17:40 +03:00
XhmikosR
7d8b26980f
Update popper.js in docs.
2018-10-14 08:17:40 +03:00
XhmikosR
449979decf
docs: fix bundle SRI hash.
...
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14 08:17:40 +03:00
XhmikosR
339311ddb5
Fix invalid selectors in tests and examples.
2018-10-14 08:17:40 +03:00
XhmikosR
4ce091b87f
Add a release npm script.
2018-10-14 07:51:40 +03:00
XhmikosR
3fcddfa42e
Remove sri-toolbox dependency.
...
We can achieve the same very easily.
2018-10-14 07:41:45 +03:00
XhmikosR
b2b933c181
Update Travis config.
...
* remove `dist: trusty` since it's the default
* disable email notifications
2018-10-13 13:55:49 +03:00
m5o
0e5813bfd4
update holder.js image dimensions for sizing example
...
* update holder.js image dimensions for sizing example
* use `100%` instead of `100%`
* 📝 https://github.com/imsky/holder#fluid-placeholders
2018-10-13 00:10:05 +03:00
m5o
74393bffc9
refine deprecated holder.js color syntax
...
* refine deprecated holder.js color syntax
* remove `#55595c:#373a3c`
* harmonize with all other holder.js examples
2018-10-11 23:49:08 +03:00
XhmikosR
f59c2d946c
Update devDependencies and gems.
2018-10-07 08:20:24 +03:00
XhmikosR
9d63deb954
Rename script.
2018-10-07 08:20:24 +03:00
Mark Otto
29bd5e3218
Add overflow-auto and overflow-hidden utilities
2018-10-06 17:55:55 -07:00
Spencer Davies
23015571b9
fix - small grammar error
...
"given move to" -> "given the move to"
2018-10-06 11:39:09 +03:00
Tanmay Gupta
cd880619d4
updated README ( #27349 )
2018-10-02 23:38:46 +03:00
XhmikosR
19f70f9d4c
Tweak build/build-plugins.js.
2018-09-26 17:04:33 +03:00
Johann-S
7c7a1706c3
remove useless iife
2018-09-26 15:03:38 +02:00
XhmikosR
02c4444f6c
Remove unneeded path.resolve.
2018-09-26 15:53:44 +03:00
XhmikosR
59197765f4
Include the plugin's filename in the license header.
2018-09-26 15:53:44 +03:00
Helmut Granda
ebc220754b
Add license headers in js/dist files
...
By implementing the same approach of rollup.config.js
and replicate it in build-plugins.js, individual plugins
will display license headers.
2018-09-26 15:53:44 +03:00
Howard Cox
d7f79b06dc
Prevent pointer events on disabled list-group-item
2018-09-26 07:20:46 +03:00
Howard Cox
44b3f77852
Prevent pointer-events on disabled anchor dropdown-item
...
Fixes #26695
2018-09-26 07:20:46 +03:00
XhmikosR
0350858edf
Fix examples after the recent JS changes.
...
`https://example.com ` isn't a valid selector.
2018-09-25 17:45:06 +03:00
Florian Lacreuse
46893e23a3
Add explanation about accordion wrapper.
2018-09-25 11:41:35 +03:00
XhmikosR
252e538985
Make release-zip include the root folder.
...
Also, now it should work cross-platform assuming `zip` is present.
2018-09-20 12:54:34 +03:00
719media
e1b7404bb8
Update forms.md
...
fix duplicate id attribute
2018-09-20 09:31:02 +03:00
Mark Otto
4dc5671d1b
Remove flex utilities from .list-group-item's as they're display: block; meaning the utilities have no affect. Closes #27162 .
2018-09-18 22:14:45 -07:00
Mark Otto
55655b2781
dist
2018-09-18 21:42:38 -07:00
Mark Otto
2f611c657b
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-09-18 21:35:56 -07:00
Mark Otto
f6244654a6
dist
2018-09-18 21:35:40 -07:00
Martijn Cuppens
7bd1bc2431
Allow multiple ways of padding declaration for modal header ( #26976 )
...
* #26967 : Allow multiple ways of padding declaration for modal header
* #26976 : split vertical and horizontal modal padding
2018-09-18 21:33:31 -07:00
Mark Otto
0bec1c8897
Add new variables for form feedback tooltips ( #26959 )
...
Fixes #26886
2018-09-18 21:27:02 -07:00
XhmikosR
f9142bdd62
docs: switch to font-weight 600. ( #27226 )
...
Segoe UI doesn't have font-weight: 500 making things not looking as expected.
2018-09-18 18:31:51 -07:00
Johann-S
75f83da539
use bsCustomFileInput in our documentation ( #27264 )
2018-09-18 16:52:10 +03:00
Mark Otto
c8fd9ddd97
Consistently re-use input variables
2018-09-18 16:29:46 +03:00
Christopher Morrissey
ea0faadde5
feature(carousel): carousel-item interval ( #26667 )
...
adds the ability to assign data-interval to an individual carousel-item
2018-09-18 15:55:48 +03:00
Martijn Cuppens
e604958641
Variable .btn and .form-control font sizes ( #26908 )
2018-09-18 15:35:25 +03:00
ysds
18ae915f54
Bring the focused button in input group to the front ( #26910 )
2018-09-18 15:29:02 +03:00
Mark Otto
029f92c5e5
Document input group wrapping behavior and override via utility class
...
Fixes #25409
2018-09-18 14:51:34 +03:00
Nabil Kadimi
876e320364
Switch to .btn-secondary for the search button so that it's accessible ( #27255 )
2018-09-18 13:10:02 +03:00
Mark Otto
7c88c46517
Clarify docs for custom form structure
...
Fixes #25440
2018-09-18 13:03:44 +03:00
XhmikosR
787441d4bf
docs: use the bundle dist file.
2018-09-18 12:50:18 +03:00
Mark Otto
5543229950
dist
2018-09-17 12:36:49 -07:00
Mark Otto
9e24d68112
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-09-17 12:34:41 -07:00
Mark Otto
b68ea572da
dist
2018-09-17 12:34:34 -07:00
XhmikosR
47107d4647
Switch to find-unused-sass-variables for finding unused Sass variables.
2018-09-17 19:34:15 +03:00
Martijn Cuppens
bf4dab72df
#27220 : cleanup .btn-link hover/focus properties ( #27250 )
2018-09-17 09:34:34 -03:00
Mark Otto
301a22b164
Update copy
2018-09-17 09:06:12 +03:00
XhmikosR
0d869a1063
Remove background-colors example and show only the code.
...
This is to avoid confusion.
2018-09-17 09:06:12 +03:00
Catalin Zalog
928ebd8925
_variables.scss comments/spacing consistency ( #27247 )
...
* style: `_variables.scss` comments consistency
* style: `_variables.scss` spacing consistency
2018-09-16 14:32:11 -07:00
Nabil Kadimi
ed48d9a440
Typo ( #27248 )
2018-09-16 19:02:30 +01:00
XhmikosR
8bfecc7dc6
Update svgo.yml.
2018-09-16 18:06:24 +03:00
Mark Otto
c3d93b34ba
Simplify HTML and CSS
...
- Remove iframes
- Turn into larger click areas
- Drop entire team.scss file for components and utilities
2018-09-16 02:04:32 +03:00
XhmikosR
4e8c9ba1da
browsers-devices.md: Use Jekyll variable.
2018-09-16 02:04:32 +03:00
XhmikosR
685db4d64f
Restore team page.
2018-09-16 02:04:32 +03:00
XhmikosR
fe873a3310
Travis CI: Actually don't install npm@5 at all.
2018-09-16 01:52:14 +03:00
XhmikosR
3d17e3a93a
Travis: Don't install npm@5 when the current npm is newer.
2018-09-16 01:52:14 +03:00
Johann-S
8cd485fcc8
speed up browser tests
2018-09-15 08:50:13 +03:00
XhmikosR
0b97d1b0c4
Use https in more places and fix a few redirects.
2018-09-14 18:27:55 +03:00
XhmikosR
c6f7276729
Update popper.min.js to v1.14.4.
2018-09-14 18:07:50 +03:00
XhmikosR
bcb4e7be98
Update anchor.min.js to v4.1.1.
2018-09-14 18:07:50 +03:00
Martijn Cuppens
7a01f3c41b
Selector improvement ( #27219 )
2018-09-14 09:31:48 -03:00
Johann-S
a689120fd2
throw error when folks try to use a bad selector
2018-09-13 22:13:36 +02:00
Johann-S
9efed82522
refactor karma config in one file
2018-09-13 21:59:37 +02:00
Johann-S
c543f360c9
do not use coverage files on browserstack
2018-09-13 21:59:37 +02:00
Andres Galante
ed3c611949
creates variables for navbar brand colors #27187
2018-09-13 17:51:14 +03:00
Johann-S
6e2a823a44
collapse children with no data-parent
2018-09-10 21:10:00 +02:00
Herst
de75bd0a4f
Remove certain Chromium entries from Wall of Bugs
2018-09-10 09:52:13 +03:00
XhmikosR
83006463c9
Update devDependencies.
2018-09-09 19:05:03 +03:00
Herst
7b9c8e8eb3
Added type="button" to <button>s without any type ( #27174 )
...
(again)
https://github.com/twbs/bootlint/wiki/W007
2018-09-03 16:55:04 +01:00
Roman O
fad49e710e
Ignore percentage values for compare in maps
2018-09-02 16:43:54 -07:00
Martijn Cuppens
97eea3b2bf
Set .btn base color
2018-09-02 16:28:42 -07:00
Martijn Cuppens
3ef2db1e85
Move transparent background to .btn and remove background-image
2018-09-02 16:28:42 -07:00
Martijn Cuppens
19afb12b65
Set max-width to 100%
...
Fixes #27114
2018-09-02 16:26:53 -07:00
Martijn Cuppens
9f53e06e46
Remove -webkit-text-decoration-skip
2018-09-02 16:26:18 -07:00
Martijn Cuppens
e3c0b3d3af
#27112 : fix border focus border color
2018-09-02 16:25:55 -07:00
ysds
d1de8737aa
Move CSS of hover underline to base from color variants
2018-09-02 16:25:21 -07:00
Mark Otto
97801a7a2d
Add new docs Versions page.
2018-09-02 13:57:25 -07:00
Johann-S
a3e45d8ced
add information about valid selectors ( #27137 )
2018-08-31 21:00:29 +02:00
Johann-S
54d86e6249
move away from sauce labs to browserstack
2018-08-30 22:17:15 +02:00
XhmikosR
2f5f8ef755
build-plugins.js: Remove redundant space
2018-08-29 15:51:21 +03:00
XhmikosR
b5ad6129a2
Update devDependencies.
2018-08-28 21:48:38 +03:00
ysds
5266669d34
Remove extra line break
2018-08-28 02:22:46 +03:00
Martijn Cuppens
0e8831505a
Simpler carousel indicators css ( #26996 )
2018-08-26 14:53:36 +03:00
acj
b652932f0c
Remove redundant space from blockquote footer prefix
2018-08-26 14:48:51 +03:00
acj
cd28869a2f
Move blockquote footer font size to variables
...
Blockquote footer font size is currently hardcoded to 80%, implying (in a comment) that this would result in the default font size. However, since the blockquote font size itself is variable, this is not necessarily true, and 80% of anything actually results in an arbitrary font size.
80% as a default is still fine.
2018-08-26 14:48:51 +03:00
XhmikosR
00398e31c7
Remove _layouts/redirect.html.
...
This isn't needed, because it's not supposed to be seen normally, with JavaScript enabled.
2018-08-25 23:41:17 +03:00
m5o
7f9e70202e
add text-reset to text utilities ( #26866 )
2018-08-25 19:31:52 +03:00
Mark Otto
3a02f21b33
Specify new height for inputs in floating label example after v4.1.3's addition of a fixed height property on .form-control
2018-08-25 19:02:15 +03:00
Mark Otto
df3993a600
Round corners on modal footer
...
Matches the method used for the modal header. Fixes #26955 .
2018-08-25 18:49:09 +03:00
Martijn Cuppens
8073e10fb3
#23389 : Add breadbrumb in docs search results
2018-08-25 15:04:53 +03:00
XhmikosR
da717b03e6
Update devDependencies and gems.
2018-08-20 10:49:49 +03:00
Patrick H. Lauke
061a696855
Minor: missing dot before classname in explanatory text
2018-08-19 22:21:20 -07:00
Yannick Warnier
17008fb8f8
Fix section numbering in scrollspy doc example
2018-08-19 11:21:38 -07:00
Greg Tyler
5fb7c903b3
Use mr utility class throughout media object docs
2018-08-19 11:18:59 -07:00
Rowan-James Tran
24bdadf9d3
Remove nowrap from .btn
2018-08-19 11:17:10 -07:00
Martijn Cuppens
4def76c34e
#26975 : remove grid columns min height
2018-08-19 11:13:18 -07:00
Mark Otto
c0fd91788e
dist
2018-08-18 20:22:08 -07:00
Johann-S
ab7ce480f2
Recommend a plugin to animate custom file input ( #27088 )
2018-08-18 16:57:07 +03:00
XhmikosR
5fed73d409
Update deps.
2018-08-13 19:20:17 +03:00
XhmikosR
107a8da550
Update bundlesize limits.
2018-08-13 10:10:52 +03:00
Martijn Cuppens
bf7d4aef81
Change if statement
2018-08-13 10:10:52 +03:00
Martijn Cuppens
57661dff6d
Tweak modal transform ( #27005 )
2018-08-13 10:00:53 +03:00
Johann-S
c0b40745e0
add babel plugin proposal object rest spread to our dev deps
2018-08-12 23:34:25 +02:00
XhmikosR
c81bae06f5
Add missing trailing slash in Edge tracker links.
2018-08-12 23:42:01 +03:00
XhmikosR
e8e8df9cba
Revert "Remove Chinese translation since it 404s."
...
This reverts commit 8bb35313b1 .
This is no longer needed.
2018-08-12 23:42:01 +03:00
XhmikosR
34199be5ec
Revert "broken link checker: check external links too."
...
This reverts commit 9e5ec00d50 .
Unfortunately, we are getting too many timeouts.
2018-08-12 23:42:01 +03:00
XhmikosR
b442ce3130
build/*.js: set sourceType to module.
2018-08-12 22:22:12 +03:00
XhmikosR
acd19de6a9
Use ES6 arrow function.
2018-08-12 22:22:12 +03:00
XhmikosR
8bb35313b1
Remove Chinese translation since it 404s.
2018-08-12 21:15:55 +03:00
XhmikosR
63909069c4
docs/4.1/components/forms.md: fix useiconic link.
2018-08-12 21:15:55 +03:00
XhmikosR
9e5ec00d50
broken link checker: check external links too.
...
It's slower, but since it runs only on Travis, we better be safe.
2018-08-12 21:15:55 +03:00
XhmikosR
208f22c8d7
Run all css tasks in dist script.
2018-08-12 21:15:55 +03:00
XhmikosR
b5af1c6eaf
Fix paths.
2018-08-12 21:15:55 +03:00
XhmikosR
4317d4fb2d
Update devDependencies and gems.
...
Also, enforce LF in clean-css.
2018-08-12 20:52:35 +03:00
Johann-S
eab9da5beb
fix(util): use querySelector for ids
2018-08-12 17:01:01 +02:00
Johann-S
6b92321f6a
fix(util): use getElementById when it's possible
2018-08-07 18:49:02 +02:00
XhmikosR
ae53690ab4
Commit our svgo config.
2018-08-02 19:17:18 +03:00
jarstelfox
198091d635
Fix dispose causing popover title to change
...
see: https://github.com/twbs/bootstrap/issues/26847
in v4, destroy was replaced by dispose
2018-08-02 13:51:08 +02:00
Jonathan
854da5a7c1
Hyphenate client-side/server-side ( #27016 )
2018-08-02 11:13:19 +01:00
Mitchell Grice
c5bb4dc5d1
Fix #26990 broken external example
2018-08-02 11:38:21 +02:00
Martijn Cuppens
b8cd49015a
Use Iconic github page instead of site
...
The SSL certificate of the useiconic.com is expired
2018-08-02 12:28:45 +03:00
XhmikosR
81f1249e9c
Update package.json
...
Fix paths to docs.
2018-08-02 09:25:06 +02:00
XhmikosR
5570f1c161
package.json: be more explicit with the files we include.
2018-08-02 09:40:02 +03:00
Mark Otto
0b5a8d9c98
Merge branch 'form-validation-icons' into v4-dev
2018-07-29 14:18:09 -07:00
Martijn Cuppens
774724a7b6
#26972 : fix responsive highlight width
2018-07-29 14:13:28 -07:00
XhmikosR
c73b4a705e
Update devDependencies and gems.
2018-07-29 14:07:38 -07:00
Robert
70ad98d34d
Fix custom-select font size/padding ( #26585 )
...
fixes #26476
2018-07-29 14:04:35 -07:00
Mark Otto
6233ea378d
dist
2018-07-29 13:02:42 -07:00
Mark Otto
f803fb9903
Add margin utils to the grid for fully functional grid control ( #26957 )
...
* Add margin utils to the grid for fully functional grid control
* bump the max filesize
2018-07-28 21:34:27 -07:00
lgdean
e53ab71d4b
fix typo: seperator -> separator ( #26982 )
2018-07-27 19:34:30 -07:00
XhmikosR
a194abbb5a
Update browsers-devices.md
2018-07-26 06:41:29 +03:00
Martijn Cuppens
4f926671e9
Carousel indicators transition ( #26902 )
2018-07-24 21:15:05 -07:00
ysds
bbee41431d
Fix custom range height ( #26898 )
...
Fixes #26897
2018-07-24 17:56:03 -07:00
ysds
ab53ccc2cc
Flexbox based sticky footer example ( #26674 )
...
* Flexbox based sticky footer
* Update guide message
* Use utility classes instead of custom CSS
2018-07-24 17:40:55 -07:00
Martijn Cuppens
d80635c1cd
Custom input range disabled styling ( #26540 )
2018-07-24 17:39:15 -07:00
Mark Otto
ba25e38b4a
Merge branch 'garhbod-patch-1' into v4-dev
2018-07-24 17:26:29 -07:00
Mark Otto
fb2de04374
Merge branch 'v4-dev' into malkomich-v4-dev
2018-07-24 17:25:12 -07:00
Stefan Wrobel
e3b98c51da
Add .text-decoration-none utility class ( #25933 )
...
ref: https://github.com/twbs/bootstrap/pull/23881#issuecomment-337789596
2018-07-24 17:24:20 -07:00
Andrew
c8a4d9dd74
add 'lighter' and 'bolder' font weight classes ( #26580 )
...
* add 'lighter' and 'bolder' font weight classes
these are 2 special values for font weight, that will give their content a font-weight value of 100 more or less than their inherited font-weight.
probably doesn't fully fulfill this issue, https://github.com/twbs/bootstrap/issues/23969 , but it's a start
* Update .stylelintrc
* add 'lighter' and 'bolder' variables per @mdo 's request.
2018-07-24 17:23:17 -07:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Mark Otto
72447ad497
dist
2018-07-23 17:51:14 -07:00
Johann-S
d18045210c
fix(tests): visual plugins tests
2018-07-23 17:29:53 -07:00
Martijn Cuppens
c74a32703a
Allow background images for active buttons
2018-07-20 19:25:01 -05:00
Mark Otto
f87d5eab69
Clarify to close #26329
2018-07-20 19:11:23 -05:00
Mohammad Younes
6cca02f163
fix .modal-dialog-centered on IE10/11
2018-07-20 19:04:23 -05:00
Joshua David
c04d60b88f
Fix modal overflow style nesting ( #26742 )
...
Nest `.modal` styling directly under `.modal-open`
to avoid issues when bootstrap is nested.
2018-07-20 18:55:16 -05:00
Mark Otto
23e4d48e65
Merge branch 'document-tooltip-flickering' of https://github.com/simPod/bootstrap into simPod-document-tooltip-flickering
2018-07-20 18:34:57 -05:00
Martijn Cuppens
6f52b2eafa
#26912 : fix custom file input z-index
2018-07-20 18:31:47 -05:00
ysds
c45e5594b7
Fix property order
2018-07-20 18:28:09 -05:00
ysds
900775483f
Remove :not(:root) from the workaround for SVG overflow bug
...
* `svg:not(:root)` specificity is very high (https://github.com/necolas/normalize.css/issues/718 )
* Bootstrap do not support SVG documents (See #26878 )
2018-07-20 18:28:09 -05:00
ysds
d7acc977ef
Lower the specificity of vertical-align of SVG
2018-07-20 18:28:09 -05:00
Mark Otto
3cfa06004e
Add Noto Color Emoji to font stack
...
Fixes #26227
2018-07-20 18:24:14 -05:00
Mark Otto
bdb6723a45
Clarify custom select styles
...
Fixes #26281
2018-07-20 18:23:42 -05:00
Mark Otto
4693672cff
Update validation tooltips to use tooltip vars ( #26887 )
...
Updates the properties and values for which we have existing variables to match our tooltips. Come 4.2, we'll create new tooltips for these.
2018-07-20 18:21:40 -05:00
Mark Otto
28b9bc068f
Improve responsive table docs
...
- Splits the examples with code snippets
- Adds note about possible broken visuals
Closes #25813
2018-07-20 18:18:48 -05:00
Johann-S
eb81c39f2c
feat(plugins): allow to import separate plugins
2018-07-19 19:59:45 +02:00
XhmikosR
6cf8700fd9
Move the browserslist config to a separate file.
2018-07-16 21:34:53 +03:00
Mark Otto
6d84d491d1
Merge branch 'v4-dev' of https://github.com/Varunram/bootstrap into Varunram-v4-dev
2018-07-15 22:46:37 -07:00
Mark Otto
a4b2e39178
More wordsmithing
2018-07-15 22:27:36 -07:00
Mark Otto
233378ade9
dist
2018-07-15 14:16:35 -07:00
Lefteris Psitopoulos
9bfd400527
#25842 Remove max-width from table class
2018-07-15 14:06:33 -07:00
Mark Otto
f426a67394
Form control heights ( #26820 )
...
* Redo input height on .form-control
- Use the already present -height variables on .form-control
- Consolidate the select size and multiple overrides into the .form-control base class instead of sm/lg modifiers
- Remove the Sass extends from input groups since it picks up too many selectors
* Prevent height on textareas
2018-07-15 14:00:23 -07:00
ysds
48c723b60f
Fix custom range thumb style ( #26385 )
...
* Fix focus box shadow of custom ranges
* Put `:focus` selector right after `.custom-range`
* Remove unnecessary `outline: none`
* Fix box-shadow issues in IE/Edge
* Better align
* Fix thumb vertical positions in IE/Edge
* Fix incorrect formula of thumb vertical positions in Webkit
* Fix an incorrect comment
* Fix incorrect box-shadow-width
2018-07-14 21:31:20 -07:00
Andrew Luca
0fd40837e8
Fix custom-forms heights and position ( #25602 )
...
Now `.custom-control` will have height equal to `$font-size-base`
Fix custom checkbox and radio top position (we can't subtract rem from unit)
`$line-height-base - $custom-control-indicator-size` is not valid
Because `$line-height-base` is a unitless variable and `$custom-control-indicator-size`
is a unit (rem) variable
2018-07-14 21:29:19 -07:00
Mark Otto
2d8422f5f5
fixes #26579
2018-07-14 21:10:45 -07:00
Mark Otto
52813f4bc8
Update cursor on floating labels example ( #26826 )
2018-07-14 15:14:29 -07:00
Mark Otto
2eb456b5d8
Merge branch 'examples-cleanup' of https://github.com/MartijnCuppens/bootstrap into MartijnCuppens-examples-cleanup
2018-07-14 14:07:14 -07:00
Mark Otto
9928311bd9
Merge branch 'box-shadow_issue_26377' of https://github.com/parammittal16/bootstrap into parammittal16-box-shadow_issue_26377
2018-07-14 14:04:39 -07:00
Mark Otto
a5d48323a2
Update issue templates
2018-07-13 09:31:55 -07:00
Mark Otto
b2c4ce5273
Update issue template
2018-07-13 09:30:58 -07:00
Mark Otto
1f46337a89
Update README.md
2018-07-12 09:27:14 -07:00
Mark Otto
c4ccfbe04e
Ship v4.1.2
2018-07-12 09:27:14 -07:00
Simon Podlipsky
da56d918ac
Reword
2018-07-12 17:31:20 +03:00
XhmikosR
a49f5cab6f
Clean up npm scripts a bit more.
...
`docs-serve` was duplicated. Also, extend the existent `docs-serve` script for `docs-github-serve`.
2018-07-12 00:06:12 -07:00
XhmikosR
6589408a4b
Update scripts.
2018-07-11 23:30:46 -07:00
Mark Otto
de7bef881e
update card columns docs to make copy more accurate
...
closes #26586 , closes #26587
2018-07-11 23:30:46 -07:00
Mark Otto
5a11ba5d6b
clarify docs dev and add 4.0 link
2018-07-11 23:30:46 -07:00
Mark Otto
aedd700768
change dist to only affect main since docs css isn't distributed
2018-07-11 23:30:46 -07:00
Mark Otto
4518288c7c
Move copy tasks back to css-main and js-compile so docs-github task runs properly
2018-07-11 23:30:46 -07:00
Mark Otto
159aebc274
Update watch scripts to properly copy JS files
...
- Updates nodemon scripts to watch specific directories instead of ignoring several
- Split watch tasks for CSS and JS into main and docs
- Add docs-watch script to serve the docs instead of just build
- Add new start script so that instead of two tabs, one for docs-watch and one for watch, we just run npm start
2018-07-11 23:30:46 -07:00
Mark Otto
01f568d9a5
fixes #26637
2018-07-11 23:30:46 -07:00
Christian Oliff
50ff31bf51
Optimised Google Analytics Loading
2018-07-11 23:30:46 -07:00
Mark Otto
01c70b11ab
new url
2018-07-11 23:30:46 -07:00
Josh Wand
a0551c72f3
remove reference to breakpoint-specific gutter widths which are not implemented
...
see #22944 and #24620
2018-07-11 23:30:46 -07:00
Theodore Dubois
df24f880f4
Make navbar download the same as homepage download
2018-07-11 23:30:46 -07:00
Mark Otto
1c92bac655
remove jobs link
2018-07-11 23:30:46 -07:00
Mark Otto
0e920ce3f4
Reorganize docs for easier deploys
...
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07:00
Mark Otto
9e126b26a8
dist
2018-07-11 21:42:55 -07:00
Johann-S
283ab30164
fix(modal): fix unit test and resetting style
2018-07-11 11:05:38 +02:00
Catalin Zalog
cb82394fc8
fix(modal): removes .navbar-toggler margin
2018-07-11 11:05:38 +02:00
XhmikosR
e9ec13e974
Update tooltips.md
2018-07-10 23:26:30 +03:00
Simon Podlipsky
591725e838
Document tooltip flickering in combination with some overflow settings
2018-07-10 14:54:45 +03:00
Andrew
abb4868626
correct spelling errors ( #26837 )
2018-07-09 17:59:22 -07:00
XhmikosR
8b50a72f3c
Add missing role="button" in .navbar's .dropdown-toggle
...
Fixes #26830
2018-07-09 14:41:47 +01:00
Mark Otto
5495a19b5a
disable to fix ci
2018-07-08 18:43:40 -07:00
Mark Otto
b0b28c81e5
add grid docs mention
2018-07-08 18:18:13 -07:00
Mark Otto
7e96979cea
fix comment placement, remove unecessary prop wrapper
2018-07-08 17:29:01 -07:00
Mark Otto
0153f7d8cd
add docs
2018-07-08 17:28:37 -07:00
Mark Otto
f6b4945f1e
Merge branch 'patch-1' of https://github.com/garhbod/bootstrap into garhbod-patch-1
2018-07-08 16:46:44 -07:00
Mark Otto
8d8d3ef82a
Restore feedback icons on validated form fields
...
- Only applies to textual inputs and textareas with `.form-control` and selects with `.custom-select`
- Wrap the feedback icons in a Sass variable option, $enable-validation-icons, so folks who theme can disable
- Update docs to summarize styles, mention the icons, include a textarea demo, and add mention of the Sass variable option to the Theming section
2018-07-08 15:31:18 -07:00
Mark Otto
c6abb8ca84
class
2018-07-07 20:21:01 -07:00
Mark Otto
17a25b72c8
add table of classes
2018-07-07 20:15:48 -07:00
Mark Otto
cc41a5e64f
fix docs heading
2018-07-07 19:47:21 -07:00
parammittal16
e77d64b372
Replace shadow with shadow-sm
2018-07-08 06:08:14 +05:30
Mark Otto
5ad1049622
Merge branch 'v4-dev' of https://github.com/malkomich/bootstrap into malkomich-v4-dev
2018-07-07 16:16:43 -07:00
XhmikosR
cfc9c85b32
Update devDependencies.
...
Only bundlesize is kept back for Node.js 10.x compatibility.
2018-07-06 12:39:13 +03:00
XhmikosR
907f9a7ae4
Update gems.
2018-07-06 12:19:17 +03:00
Martijn Cuppens
6f8d322f74
Remove .border-bottom & .border-top classes from examples
2018-07-05 22:42:01 +02:00
Johann-S
09d0c5de0c
Merge pull request #26799 from Kirlovon/v4-dev
...
Fixed logo in README
2018-07-04 09:26:13 +02:00
Kirill Reunov
15a2eeb80f
Fixed logo in README
2018-07-03 23:34:49 +03:00
Christian Oliff
35a75eb0d4
OS X is now macOS ( #26796 )
...
* OS X is now macOS
* Update browser-bugs.yml
2018-07-03 07:55:07 +01:00
Patrick H. Lauke
7b746028c2
Fix incorrect visibility utility description regarding screen readers ( #26786 )
2018-07-02 19:52:28 +01:00
Martijn Cuppens
edc5597705
Add js maps & tweak docs
2018-07-02 09:49:45 +03:00
Supergibbs
ddd33cd957
Support nuget contentFiles, used for some project types
2018-07-01 10:02:09 +03:00
XhmikosR
13b8b9f03a
.browserslistrc: add not dead.
2018-07-01 09:56:22 +03:00
Johann-S
e57a2f244b
fix(tooltip): get tip on placement change
2018-06-25 16:54:14 +02:00
XhmikosR
4112df4125
Add broken-link-checker.
2018-06-25 16:54:06 +03:00
jakubhonisek
49e094619b
feat(dropdown): add original click event
2018-06-25 15:29:34 +02:00
Mark Otto
bca4ceacc7
dist
2018-06-24 13:13:42 -07:00
Christian Oliff
41ab1c6c9d
Fixes Edge and IE label overlapping issue ( #25919 )
...
The 'Floating labels' example is only supported on Chrome, Safari and Firefox. On Edge and IE the label is displayed always and any text input overlaps the label which makes it unreadable.
The fix here targets Edge and IE and makes the form behave normally, the labels are hidden and the placeholder color is standard.
2018-06-24 13:11:39 -07:00
Mark Otto
d78aac01d6
Update box-shadows on .custom-select ( #26754 )
...
- Fixes #25656 where custom selects had the wrong focus shadow
- Fixes #26668 where custom selects had no inset shadow (also closes #26572 which had the wrong form classes on the first example anyway)
2018-06-24 13:07:49 -07:00
Martijn Cuppens
d61e3badfd
Render inline svg like img ( #25874 )
2018-06-24 12:01:11 -07:00
XhmikosR
a31b23b5ce
Move eslint-plugin-compat to the extends array.
2018-06-24 01:45:29 +03:00
Mark Otto
eadeab9d1c
dist
2018-06-21 22:55:23 -07:00
Martijn Cuppens
e59265c42d
Remove disabled class from wrapper
...
`disabled` class is not needed for wrapper.
2018-06-21 18:38:22 +03:00
Martijn Cuppens
1719a2ca42
Update folder structure ( #26729 )
2018-06-21 18:20:03 +03:00
XhmikosR
29bff9fdd0
Change karma tests to run sequential.
...
I was getting port in use errors.
2018-06-21 18:02:20 +03:00
XhmikosR
71a37425c9
Update all devDependencies apart from bundlesize and babel.
...
Newer bundlesize versions still don't work with node.js 10.x.
babel has some bugs that we need to be fixed.
2018-06-21 18:02:20 +03:00
XhmikosR
0db176e44d
Update gems.
2018-06-21 18:02:20 +03:00
XhmikosR
84ff56c36d
Update package-lock.json with npm 6.3.1.
2018-06-21 18:02:20 +03:00
Martijn Cuppens
919d58e389
Remove inkscape data from brand svgs ( #26708 )
2018-06-21 16:51:16 +03:00
Martijn Cuppens
7b2372f353
Fix node_modules path ( #26653 )
2018-06-11 17:03:00 +03:00
sts-ryan-holton
1af5a30d02
Add additional wording to the Introduction section of Bootstrap docs about the bootstrap bundle js ( #26688 )
2018-06-11 16:14:02 +03:00
Ryan Worth
a2920149f4
Negative Margins classes for custom col gutters
...
Feature request #26681
2018-06-07 16:39:58 +10:00
Christian Oliff
9c3146d0dd
HTTPS link ( #26663 )
...
saves a redirect
2018-06-05 18:11:08 +01:00
XhmikosR
abf5ab7546
Fix markdown code inside HTML code. ( #26662 )
2018-06-05 15:21:40 +03:00
Patrick H. Lauke
4f1bb98587
Limit .close hover/focus to non-disabled controls ( #26654 )
2018-06-03 18:25:17 +01:00
Johann-S
a79b8aa16a
refactor(plugins): query elements without jquery
2018-06-03 11:40:08 +02:00
Martijn Cuppens
ffd31f9b8c
Stricter stylelint rules
2018-06-02 13:29:44 +03:00
XhmikosR
f20d0f43fd
sw.js: change to a relative link for the workbox files.
...
This was broken after the docs refactoring.
2018-06-01 16:03:23 +03:00
Johann-S
96cbb58cb3
chore(bundlesize): increase bootstrap.js max size
2018-06-01 10:30:11 +02:00
Johann-S
b1eb3fccfa
refactor(plugins): improve how we query elements
2018-06-01 10:30:11 +02:00
XhmikosR
62cc0fda50
Generate safari-pinned-tab.svg again.
2018-06-01 10:42:21 +03:00
Johann-S
cc61edfa8a
fix(scrollspy): xss in target option
2018-06-01 09:10:25 +02:00
Johann-S
149096016f
fix(collapse): xss in parent option
2018-06-01 09:10:25 +02:00
Johann-S
2d90d369bb
fix(tooltip): xss in container option
2018-06-01 09:10:25 +02:00
marcosfreitas
e3084c3842
Changed Node.js download page ( #26638 )
...
Link to the more user-friendly Node download page (rather than just the raw directory view)
2018-05-31 17:36:50 +01:00
Andres Galante
e163d18b12
Fix inline labels with a custom select ( #26615 )
...
Add an sr-only class to the label on inline labels with a custom select
2018-05-31 10:02:14 +03:00
Christian Oliff
89a47c98b9
https link to editorconfig.org
2018-05-31 09:43:12 +03:00
XhmikosR
976aad0059
Remove the unused docs upload preview stuff. ( #26599 )
2018-05-27 11:44:29 +03:00
XhmikosR
c2b13b9c78
Run coveralls only on Travis and only once.
2018-05-23 13:54:51 +03:00
XhmikosR
d557215b5d
Update package-lock.json.
2018-05-23 13:54:51 +03:00
Johann-S
9e5be2ed7d
fix branch for coveralls badge
2018-05-23 13:54:51 +03:00
Johann-S
31cf1fdd8d
Add coverall to follow our coverage
2018-05-23 10:03:09 +02:00
ysds
2ea0a9bba9
Add disabled bg color to disabled custom file
2018-05-23 01:43:53 +03:00
Martijn Cuppens
4dd65f0b38
Custom forms transition
2018-05-23 01:38:12 +03:00
XhmikosR
c3da2c8f31
Update again.
2018-05-22 17:26:21 +03:00
Johann-S
f2aab5ea99
fix(tooltip): remove useless unit test
2018-05-22 17:26:21 +03:00
Johann-S
0338b61eb6
chore(deps): update qunit and karma-qunit
2018-05-22 17:26:21 +03:00
XhmikosR
0873ab71c7
Update devDependencies and gems.
...
Downgrade bundlesize until they make brotli optional since it doesn't work with node.js 10.x yet.
So, babel, qunit/karma-qunit and bundle-size aren't the latest versions.
2018-05-22 17:26:21 +03:00
Patrick H. Lauke
bea6154108
Fix/add more correct labels/descriptions for input group examples ( #26551 )
...
Among other things, closes https://github.com/twbs/bootstrap/issues/26548
2018-05-22 10:52:22 +01:00
Mark Otto
b36599cba7
closes #26543 , fixes #26542
2018-05-20 15:10:31 -07:00
domq
616ce9b75a
Fix double-transition bug ( #26452 )
...
By applying the transition: CSS property only to classes that are
active during sliding, we avoid an unnecessary, non-zero-time
animation that although mostly invisible, does interfere with e.g.
z-index based parallax
2018-05-18 18:59:52 +03:00
Varunram Ganesh
d6ee126713
[trivial] Rewording in tooltips. Closes #26467 ( #26521 )
2018-05-15 20:59:51 +01:00
ysds
f42ef5fa69
fix(doc): typo in dropdowns.md
2018-05-15 11:33:29 +02:00
parammittal16
8cc6220161
Fix unused box-shadow class
2018-05-12 00:18:37 +05:30
parammittal16
afcbd65afb
Fix box-shadow class with built in utility
2018-05-12 00:16:28 +05:30
ysds
788f3e6802
Fix z-index target ( #26361 )
2018-05-07 11:30:43 +03:00
Brandon
e5e6d0c86d
Fix heading levels ( #26433 )
...
H3 was used without preceding H2, breaking document flow.
2018-05-01 15:34:47 +01:00
Mark Otto
779ad9f174
Bump version to v4.1.1
2018-04-30 09:04:33 -07:00
Mark Otto
496311bf97
dist
2018-04-29 22:22:04 -07:00
Mark Otto
139e89235f
Simplify custom file inner height for generated browse button
2018-04-29 17:02:38 -07:00
Constantin Ross
7c53a8a195
Update README.md
2018-04-29 16:34:48 -07:00
David De Sloovere
447f9f6968
Doc update - remove media-breakpoint-up(xs) ( #26316 )
...
* Doc update - remove media-breakpoint-up(xs)
If media-breakpoint-down(xl) is not listed, then media-breakpoint-up(xs) does not need to be listed either.
The above 4 media queries are now aligned with the 4 media-breakpoint-up mixins (just like their media-breakpoint-down counterparts).
* Improve media-breakpoint-up/down docs
2018-04-29 16:02:21 -07:00
XhmikosR
c11132351e
Add comment in docs JS files.
2018-04-27 10:22:58 +03:00
XhmikosR
30cb1a2715
Pass docs version to search form and switch to the new index.
...
Also, move the search code to a separate file.
2018-04-27 10:22:58 +03:00
Patrick H. Lauke
b5988a4430
Change accordion example id ( #26391 )
...
for clarity/consistency with other similar examples
2018-04-26 15:51:54 +01:00
Varunram
4bc5cc149a
Closes #26300 : Add cursor pointer to carousel indicators
2018-04-23 21:55:45 -07:00
ysds
74057dcc8e
Remove unnecessary resetting of left round ( #26238 )
2018-04-23 21:55:10 -07:00
Mark Otto
793698a6a9
add validation styles for .form-control-file ( #26181 )
2018-04-23 21:54:40 -07:00
nickg
755fdacd40
Replace reboot monospace hack with system font stack
2018-04-23 21:53:37 -07:00
ysds
3d0d5f1247
workaround for IE that check indicator does not appear ( #25944 )
2018-04-23 21:52:59 -07:00
Martijn Cuppens
0ee779b6fc
Print color fix dark tables and dark theads ( #26193 )
2018-04-23 21:51:48 -07:00
XhmikosR
9faf8e8545
Update Jekyll to 3.8.0. ( #26352 )
2018-04-22 10:16:44 +03:00
Johann-S
ee382915be
detect test exceeded maximum duration on Sauce Labs
2018-04-19 15:19:34 +02:00
Mark Otto
1470e11ade
typo
2018-04-17 10:30:16 -07:00
Mark Otto
7d8dc4f5b2
Be explicit in the docs for deprecating text-hide
2018-04-17 08:33:44 -07:00
XhmikosR
6199871d15
Update devDependencies. ( #26322 )
2018-04-17 15:32:08 +03:00
XhmikosR
b88f073806
Update devDependencies. ( #26309 )
2018-04-16 13:15:56 +03:00
Alexander Rechsteiner
056e28d9e0
Suppress text-hide deprecation warning ( #26242 )
2018-04-16 09:45:07 +03:00
XhmikosR
555333a20e
breadcrumb.md: Remove trailing space.
2018-04-16 09:37:58 +03:00
XhmikosR
5fd67a6f86
Bump version to 4.1.0 for remaining files.
2018-04-16 09:37:58 +03:00
Varunram Ganesh
31004582bf
Resolve #26262 : Add deprecated warning ( #26292 )
2018-04-16 09:27:06 +03:00
Patrick H. Lauke
e000933c17
Remove dialog from the HTML5 shim style ( #26269 )
...
`<dialog>`, in browsers that support it, has user agent styles of `dialog { display:block; ...} dialog:not([open]) { display:none; }`
by forcing it to `display:block` in the shim, the dialog is shown even when closed. There's no clean way to shim this for non-supporting browsers,
but arguably these browsers would have further problems with pure `<dialog>` usage anyway, and it's up to authors to then use different elements/shims.
2018-04-16 00:25:39 +01:00
Varunram Ganesh
871e0838a4
[trivial] Correct typos ( #26297 )
2018-04-14 08:41:18 +01:00
Johann-S
ba10b63c9d
fix issue related to Object.keys and Dropdown issue
2018-04-13 18:59:30 +02:00
Swardu
c3caf7ee4e
Docs/examples: change links to Sass documentation and example.com to https
2018-04-12 11:56:33 +01:00
MietekN
418fd76ba9
modal use global scope for default
2018-04-12 11:21:10 +02:00
denisname
5be2cd3d6c
Dropdowns display default value ( #26272 )
2018-04-12 09:42:36 +02:00
Laussel Loïc
5f546f5708
update README.md - debug search option is now in application.js ( #26263 )
2018-04-11 17:08:34 +03:00
ruedap
ee1a22812b
Fix incorrect value of Stylelint option ( #26192 )
2018-04-10 15:40:01 +03:00
XhmikosR
ee91fdbf14
Update dependencies and gems ( #26234 )
2018-04-10 15:35:18 +03:00
Jonathan
24ba91b129
Fix incorrect class name ( #26239 )
...
Fixes #26235
2018-04-10 15:05:42 +03:00
Johann-S
0871d69ec9
v4 improve coverage ( #25945 )
...
* Improve code coverage for our Button plugin
* improve coverage for our Alert plugin
* test tooltip update method
* test update and dispose for dropdown
* increase code coverage requirements
2018-04-10 09:28:29 +02:00
XhmikosR
875ed0b975
Clean up globals.
...
Also, add a missing license header in build/workbox.js.
2018-04-09 22:44:22 +03:00
Mark Otto
8f7bd41993
Ship v4.1.0 ( #26218 )
...
* update docs path from docs/4.0/ to docs/4.1/
* bump version to 4.1.0
* Update redirects to work for 4.1 docs move
* Update docs version switcher to include latest and link to 4.0 docs
* re-run dist
* Update package-lock.json
* Update docs-navbar.html
2018-04-09 09:00:23 -07:00
XhmikosR
91730a644f
vnu.jar: Ignore all wrong language code warnings.
2018-04-08 14:17:20 -07:00
Mark Otto
7748ae909e
closes #26213
2018-04-07 11:59:46 -07:00
Mark Otto
4880385b8f
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-04-05 14:08:18 -07:00
Mark Otto
013a7489d9
add examples to theming docs section on css vars in media queries, closes #26205
2018-04-05 14:08:13 -07:00
Jason Quense
2d941d034e
Remove note about multiple inputs ( #26194 )
...
* Remove note about multiple inputs
* patchs the PR and removes the word Also
2018-04-05 14:03:54 -07:00
XhmikosR
d8a39c9989
docs: Switch to StackPath's URL.
...
While the old one will keep working, better switch to the new one.
2018-04-05 13:19:17 +03:00
XhmikosR
10c64bdae8
Fix broken URI fragments and redirects.
2018-04-02 19:19:09 +03:00
XhmikosR
95cdfa2a65
Use https when possible.
2018-04-02 19:19:09 +03:00
Mark Otto
98cad665bb
dist
2018-04-01 18:21:41 -07:00
Patrick Yeo
4f35e53216
Pagination move .page-link:focus outline value to variable $pagination-focus-outline so we can unset it via Sass and don't have to re-implement browser defaults
2018-04-01 18:16:49 -07:00
Martijn Cuppens
a55d1b27c5
Allow non-string content as breadcrumb divider ( #25581 )
...
* Allow url(), attr(), none,... as breadcrumb divider
* Update breadcrumb divider docs
2018-04-01 18:15:57 -07:00
Mark Otto
9747429424
Update offcanvas example for IE support
...
- Replaces CSS variables with their appropriate hex values
- Fixes the broken navbar transition by moving from 2D translates to using position
- Fix broken IE navbar toggler placement with some utilities (not necessary anywhere else, but necessary given flexbox quirks)
2018-04-01 18:15:06 -07:00
Mark Otto
e47fb40ff2
Dashboard updates ( #26179 )
...
* Update Dashboard example
- Replaces .sticky-top on .navbar with .fixed-top
- Adjusts padding on main content area and sidebar to account for fixed navbar
- Move to padding in sidebar instead of top: 48px; fixes Firefox rendering issue
- Adds new .shadow utility for a little extra cherry on top
- Moves sticky styles to separate feature query ruleset to avoid IE rendering issues
* Add .w-100 to chart to fix IE horizontal scroll from label that extended past viewport
2018-04-01 18:14:07 -07:00
Tom Swirly
a0c7473a34
Tiny grammar and punctuation tweaks to a comment.
...
1. It's == "it is"
2. The subject of the sentence is "Only one" (not "these") so the verb must agree with it.
Feel free to do nothing with this change, use it, etc - I just saw this while reading through the code.
2018-04-01 23:08:58 +03:00
Mark Otto
0b58340f14
docs edit suggestion
2018-04-01 12:58:03 -07:00
Mark Otto
07a302a33b
dist
2018-03-31 22:15:15 -07:00
Mark Otto
98763f1f85
Deprecate .text-hide ( #26173 )
2018-03-31 22:10:32 -07:00
Mark Otto
dd7ed79856
Add box-shadow utilities ( #25758 )
2018-03-31 22:07:48 -07:00
Mark Otto
a016cbd6a8
Mention browserslist config in our docs to close #25429
2018-03-31 22:06:41 -07:00
Mark Otto
74490346ff
Add new .flex-grow and .flex-shrink utils
2018-03-31 22:05:09 -07:00
Mark Otto
474698f41b
Fix Chrome's rendering of .card-columns
...
Uses orphans/widows trick from @fran-worley at https://github.com/twbs/bootstrap/issues/20925#issuecomment-333492739 .
Fixes #20925 .
2018-03-31 22:04:14 -07:00
Mark Otto
b72bd051ab
document new text color utils
2018-03-31 22:02:47 -07:00
Mark Otto
3417c54ad7
add 50% translucent black and white text
2018-03-31 22:02:47 -07:00
Mark Otto
4f05e3b735
add .text-body, fixes #25412
2018-03-31 22:02:47 -07:00
Mark Otto
9f5f51d871
Close #25697
...
Removes the .justify-content-between from a navbar form example given it's the default style. Instead, mention how to adjust this and link to flex utils.
2018-03-31 22:02:02 -07:00
Martijn Cuppens
12708d329a
Remove navbar align
2018-03-31 21:59:54 -07:00
Mark Otto
185666fd79
Add .text-monospace util
2018-03-31 21:58:57 -07:00
Mark Otto
b2e423f54d
fixes #25343 by mentioning how collapse animates in docs
2018-03-31 18:36:10 -07:00
Mark Otto
abe44dcc5b
Add small not to float docs about mixing with flex items
...
Closes #25829 , closes #25924
2018-03-31 15:07:26 -07:00
Mark Otto
b744ba2c08
dist
2018-03-31 13:59:37 -07:00
Mark Otto
cf71363649
fixes #25918
2018-03-31 13:55:40 -07:00
Martijn Cuppens
902788efc4
Correct children selector
2018-03-30 13:01:13 -07:00
XhmikosR
5660c97cc4
Revert "docs: Switch to StackPath's URL."
...
This reverts commit 70520855e8 .
2018-03-30 10:59:10 +03:00
XhmikosR
70520855e8
docs: Switch to StackPath's URL.
...
While the old one will keep working, better switch to the new one.
2018-03-29 21:42:15 -07:00
Varunram
50f6160b4e
Add .bg-transparent to docs
2018-03-29 21:36:26 -07:00
Johann-S
fd57d371f8
fix bundle and run test against it
2018-03-29 21:21:31 -07:00
Nat Zimmermann
9cdb7a8301
Fix spacing between Item and numbers
2018-03-29 23:34:29 +03:00
XhmikosR
9efcf3ad4b
Fix duplicate main element.
2018-03-27 14:53:43 +03:00
vsn4ik
68db42c9f8
Fix skip element disabled via attribute when using keyboard navigation
2018-03-26 09:37:25 +02:00
XhmikosR
2cd700313d
Remove the local jquery-1.9.1.min.js.
2018-03-21 12:15:47 +02:00
XhmikosR
f5e16ceccc
tests: load 3rd-party libs from the local node_modules folder.
...
This reduces duplication and the chances to forget to update something.
2018-03-21 12:15:47 +02:00
Johann-S
012d4433c2
fix rollup config
2018-03-21 12:15:47 +02:00
XhmikosR
e0ab096bac
Update all devDependencies.
...
Kept back karma-qunit and qunitjs because tests fail.
2018-03-21 12:15:47 +02:00
XhmikosR
c8d7eecab3
Update workbox.js
2018-03-21 12:15:47 +02:00
XhmikosR
002cd8fc9a
sw.js: fix TypeError with new workbox.
2018-03-21 12:15:47 +02:00
Michael
7dc41e299b
Update to workbox 3.0 & fix breaking changes
2018-03-21 12:15:47 +02:00
XhmikosR
1615a76f83
Use sinon from cdnjs.
2018-03-21 12:15:47 +02:00
XhmikosR
7d3ca1b2ea
tests: use QUnit from the jQuery CDN.
2018-03-21 12:15:47 +02:00
XhmikosR
1a40784ab8
Update dependencies.
2018-03-21 12:15:47 +02:00
Johann-S
9191fa73df
throw error when coverage is under our thresholds
2018-03-21 07:04:24 +01:00
Johann-S
bedc96e48b
Use transitionEnd in QUnit since we moved away from PhantomJS
2018-03-20 15:56:51 +01:00
Mike Rogers
2306f62bf1
Making use of prefers-reduced-motion media query ( #25641 )
...
* Making use of `prefers-reduced-motion` media query
As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.
* Ignoring prefers reduced motion for CSS Linting
* Updating copy clarifying the reduce motion functionality in accessibility.md
2018-03-20 09:28:21 +00:00
Mark Otto
c53825d902
Separate issue templates, add support doc ( #25705 )
...
* Update issue template to break down by bug and template, add support doc to close #23133
* add links from readme for bug and feature templates
2018-03-17 16:44:58 -07:00
Ethan Beyer
00304d2003
theming.md Typo Fix ( #25875 )
...
it's ≠ its
2018-03-16 22:18:46 +00:00
Varunram Ganesh
4b948bfdee
Update vertical pills example ( #25852 )
...
Add the column/grid to the example code (which is what makes it vertical in the first place)
2018-03-16 11:38:29 +00:00
John Bennet Veloya
f194b9db75
Fix order of Save/Close buttons in modal code example ( #25855 )
2018-03-15 22:18:30 +00:00
XhmikosR
b9577a1cf7
Alternative solution.
...
Rely on `site.url` which is different for production. In that case do nothing with the search result, otherwise when in development remove our url from it.
2018-03-14 21:06:17 +02:00
m5o
483e49e3c6
Enable docsearch in development env.
...
Previously a search redirected to `https://getbootstrap.com/ ...`
2018-03-14 21:06:17 +02: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
Johann-S
4d5c5923fa
Add Sinon to do better unit test
2018-03-13 15:37:11 +01: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
XhmikosR
a93830c9fd
saucelabs-unit-test.js: tweak failed tests message ( #25836 )
2018-03-13 14:08:56 +02:00
Johann-S
2c41b0aea6
fix get the transition duration parent
2018-03-13 12:57:44 +01: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
XhmikosR
836de9ccfa
callout.html: drop whitespace and better usage comment.
2018-03-12 21:50:21 +02:00
m5o
b5e6eb22a6
Use callout without custom Jekyll plugin.
2018-03-12 21:50:21 +02:00
ysds
7b2427cc6b
Rename .custom-file-control to .custom-file-label ( #25736 )
2018-03-12 19:51:27 +02:00
ysds
14f712601e
Add basic position to dropup/right/left and dropdown-menu-right ( #25400 )
2018-03-12 19:44:05 +02:00
Peter Etelej
fb15575ec5
Disable link functionality on disabled btn-link ( #25645 )
...
Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639
ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
2018-03-12 19:36:25 +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
Jacob Müller
27f553c965
Replace "loose" HEX values with their respective variables ( #25672 )
2018-03-12 19:19:37 +02:00
Léo Andrès
f4051abc12
Clean shell scripts ( #25704 )
2018-03-12 18:59:57 +02:00
Alexander Hjorth
6d7d91ef3b
Allow customization of breadcrumb border radius ( #25807 )
2018-03-12 18:55:47 +02:00
ysds
50220acde4
Fix caret alignment ( #25719 )
2018-03-12 18:51:00 +02:00
m5o
21061a02ce
re-use gray for bd-example border / background ( #25751 )
2018-03-12 18:46:35 +02:00
Martijn Cuppens
f893ec7a75
Collapse with flex elements - simple approach ( #25806 )
...
* #22600 : prevent display:block for visible content
* allow transition for elements with show class
2018-03-12 18:40:30 +02:00
Varunram
87065772b1
Fix #25813 by adding extra columns to table
2018-03-12 13:38:09 +05:30
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
Catalin Zalog
2ccb5492a7
style: align some vars ( #25785 )
2018-03-08 14:28:32 +02:00
Robert Martin
817b80d54b
Update webpack.md
...
Minor edits for style and consistency
2018-03-08 09:20:00 +01:00
Johann-S
fb60a4a986
Add a bit of documentation on how to run the code coverage ( #25783 )
2018-03-06 07:35:28 +02:00
Johann-S
e43f97304e
add code coverage
2018-03-05 10:04:54 +01:00
XhmikosR
b7a549c8c3
Update devDependencies and gems. ( #25708 )
2018-03-05 09:14:58 +02: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
Mark Otto
a651d7337b
dist
2018-03-03 14:10:49 -08:00
Adam Kolinski
49d0a4e99c
Adding a variable to handle the change of a modals border-radius. ( #25691 )
2018-03-03 13:06:54 -08:00
Isma
ae1a068d02
Replace img-fluid by w-100 to conform with HTML
2018-03-03 13:06:00 -08:00
Ed Morley
b33316dba3
Fix leftover reference to v4.0.0-alpha.6
...
Running `./build/change-version.js v4.0.0-alpha.6 v4.0.0` fixed this,
so the version change script works fine. I'm presuming instead this
change was just omitted from 35f80bb12e , and then wouldn't have
been caught by subsequent runs of `change-version`, since it only
ever replaces the exact old version string specified.
2018-03-03 21:07:35 +01:00
Jos Maissan
6431d746bc
display on xl viewport
...
See issue #25711
2018-03-01 22:32:36 -08:00
m5o
34bc00ddbe
docs skippy partial ( #25750 )
...
* load skippy markup from includes
2018-03-02 01:44:40 +02:00
Martijn Cuppens
29f178d891
Remove unused variable ( #25670 )
...
This variable is not used anywhere.
Leftover from #18373 .
2018-02-25 11:22:50 +02: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
f3cec5e7f9
dist
2018-02-24 12:44:44 -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
Martijn Cuppens
d1bd5fb591
Add focus states to custom docs buttons
2018-02-24 12:22:59 -08:00
Adam Bowles
20c2d0fec6
Remove disabling of stylelint rule
...
This file no longer has intentional indentation errors
2018-02-24 12:22:38 -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
Martijn Cuppens
8cfbf6933b
Consistent usage of $(document.body) instead of $('body') ( #25671 )
2018-02-21 09:01:02 +01:00
Mark Otto
99379f3843
make it a var
2018-02-19 18:15:44 -08:00
Mark Otto
c9f63c2eb8
Merge branch 'nav-divider-mixin' of https://github.com/ysds/bootstrap into ysds-nav-divider-mixin
2018-02-19 18:14:50 -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
Mark Otto
6a52ebfe1a
dist
2018-02-19 14:50:56 -08:00
ysds
33f3ba33c2
Add color variable for caption ( #25657 )
2018-02-19 14:42:54 -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
Martijn Cuppens
0205fc8bdb
Prevent word-wrap ( #25248 )
...
Fixes #25235
2018-02-11 16:46:54 -08: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
in-in
ba878eb542
Update stylelint config to add missing properties ( #25572 )
...
* add missing properties
list of new properties:
align-content
animation-fill-mode
appearance
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
direction
fill
flex-shrink
orphans
page-break-after
page-break-before
page-break-inside
perspective
src
stroke
unicode-bidi
widows
* fix invalid JSON config
add curly brackets
* Update .stylelintrc
2018-02-11 15:16:22 -08:00
Mark Otto
8dd1fe3893
Fix border-radius on Browse button for custom file input inside input groups ( #25356 )
2018-02-11 15:09:05 -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
Mark Otto
e373fbea92
dist
2018-02-11 14:53:29 -08:00
m5o
f81f419b22
set color to form-control-plaintext ( #25565 )
...
* set color to `.form-control-plaintext`
* fixes readability on dark themes like ‘darkly’
* https://bootswatch.com/darkly/index.html#forms
* https://bootswatch.com/slate/index.html#forms
* https://bootswatch.com/superhero/index.html#superhero
* https://bootswatch.com/solar/index.html#forms
/cc @thomaspark
2018-02-11 14:25:36 -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
m5o
37ed1d0829
use $input-bg for $custom-select-bg ( #25564 )
...
* use $input-bg for $custom-select-bg
2018-02-11 14:24:18 -08:00
Andres Galante
49954d5e6c
Create a variable for label margin bottom ( #25561 )
2018-02-11 02:21:42 +02: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
freezy
2dc9c76d75
Enable scss/dollar-variable-default rule ( #25542 )
...
This checks if all variables are `!default`.
2018-02-07 15:28:35 +02:00
XhmikosR
9057d8da16
Update devDependencies and gems. ( #25551 )
2018-02-05 20:12:51 +02: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
Martijn Cuppens
5158338b7c
Fix pagination buttons hover z-index ( #25532 )
2018-02-03 09:54:08 +02:00
Mark Otto
24ab1fcf42
close #25534
2018-02-02 22:38:01 -08:00
Mark Otto
c68d26baa2
Override .custom-select width in .form-inline ( #25414 )
...
Fixes #25413
2018-02-02 14:25:47 +02: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
Richard van Laak
38fc5cf7f7
Replace unicode character in _hover.scss ( #25503 )
2018-01-30 18:49:31 +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
XhmikosR
e559034d36
Update devDependencies and gems. ( #25502 )
2018-01-30 10:17:35 +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
XhmikosR
96a9e98e49
Update devDependencies. ( #25371 )
2018-01-22 14:40:50 +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
ysds
d824bdf4d8
Allow to customize vertical margin of nav-divider mixin
2018-01-22 09:54:06 +09: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
Pierre-Denis Vanduynslager
2137d61eac
Add missing flex-fill utility
2018-01-21 12:16:17 -08:00
Mark Otto
3be511264c
Use variables for theme-color-level function
...
Closes #25313
2018-01-21 12:15:12 -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
denisx
db70164d13
ignore case ( #25373 )
...
Less on 2 symbols
2018-01-21 21:51:49 +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
3a6ab45b78
rearrange and override extra borders
2018-01-20 15:10: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
Mark Otto
d5b10c9fc7
dist
2018-01-20 12:16:37 -08:00
vsn4ik
6b48747e61
Remove -Pre from Nuget install
2018-01-20 12:01:02 -08:00
Andrew Luca
2b8b062540
Allow to change .table-striped odd or even ( #25333 )
2018-01-19 19:34:49 +02: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
Mark Otto
45d2f2e954
Restore sidebar nav link to Approach page
2018-01-17 23:00:27 -08:00
Mark Otto
20a9c7fb55
dist
2018-01-17 17:37:06 -08: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
Mark Otto
a0936c326f
Outline button hover color ( #25339 )
2018-01-18 01:45:25 +02:00
ysds
b1a754863e
Use .list-group-item-action for list group item variant ( #25338 )
2018-01-18 01:36:57 +02:00
Andrew Luca
4c96f58e31
Fix input height border ( #25331 )
...
When changing `$input-border-width`, `$input-height-border` does not change and `select.form-control` `custom-select` `custom-file` will still have `$input-height` which is resolved from `$input-btn-border-width`
This will work in cases when want controls with border, and buttons without.
Temporary fix will be to override 2 variables
```
$input-border-width: 2px !default;
// which is
// $input-height-border: $input-btn-border-width * 2 !default;
$input-height-border: $input-border-width * 2 !default;
```
2018-01-18 01:30:42 +02:00
Mark Otto
18f691567a
dist
2018-01-16 20:21:13 -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
Gustavo Straube
a531b46453
Using the expected variable to set the custom select height. ( #25169 )
2018-01-15 22:07:05 -08:00
Andrew Luca
814e5b7f57
Extend spacers and sizes ( #25101 )
2018-01-15 22:01:32 -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
XhmikosR
e6d9316ba0
Use the SRI hashes for the live site's assets. ( #25282 )
2018-01-16 00:56:30 +02:00
Patrick H. Lauke
1f490ec165
Consistently use :disabled rather than [disabled] selector ( #25317 )
...
Closes https://github.com/twbs/bootstrap/issues/25316
2018-01-15 20:51:01 +00: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
14bd7d7489
Add display utilities to bootstrap-grid.scss ( #25308 )
2018-01-15 08:57:10 +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
Mark Otto
4a64592dd8
dist
2018-01-14 15:58:16 -08:00
Jason Korth
638953e119
add List Group Flush to List Group docs ( #25289 )
...
fixes #25288
2018-01-14 15:46:58 -08:00
Patrick Yeo
ffcbdb5a1c
Mixin button-outline-variant should retain active box shadow when focused
2018-01-13 19:19:33 -08:00
Mark Otto
edfc2e8145
dist
2018-01-13 19:18:41 -08:00
Mark Otto
38271b21d5
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2018-01-13 18:58:48 -08:00
Mark Otto
71550d3c9c
Add new Approach docs page ( #25165 )
2018-01-14 02:34:31 +02:00
Patrick Yeo
17b0472b12
$component-active-bg and $component-active-color are partially useful ( #24710 )
...
* Use `$component-active-bg`, `$component-active-color` in custom-control-indicators and pagination for checked, indeterminate, and active states
* Button and Forms focus colors should be based on `$component-active-bg`
2018-01-13 09:56:31 +02:00
Wolfgang Goedel
588227f97f
Fixed color for disabled buttons ( #25167 )
2018-01-13 09:50:25 +02:00
Sander Melnikov
216c7ea20f
Fix breakpoint mixins for custom breakpoint maps ( #25264 )
...
When using the `media-breakpoint-between` or `media-breakpoint-only`
mixins with a custom breakpoint map – not defined as `$grid-breakpoints`
– the mixin incorrectly defaults back to the global `$grid-breakpoints`
map in certain situations. This commit correctly passes on the
`$breakpoints` argument to the other mixins called within the block.
2018-01-13 09:45:21 +02:00
ysds
f4bf0542d7
Add direct children selectors to avoid cascading styles into a menu form ( #25279 )
2018-01-13 09:40:55 +02:00
Mark Otto
44eedf3e58
Merge branch 'custom-check-disabled' of https://github.com/gijsbotje/bootstrap into v4-dev
2018-01-12 17:32:56 -08:00
Mark Otto
6d8d8639f3
dist
2018-01-11 22:42:40 -08:00
XhmikosR
80d0943b95
Comply to the new rules.
2018-01-11 18:48:46 +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
XhmikosR
4a1bc75152
Merge branch 'v4-dev' into custom-check-disabled
2018-01-11 10:49:38 +02:00
XhmikosR
bfceedc84a
Update devDependencies and gems. ( #25192 )
2018-01-11 10:48:46 +02: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
XhmikosR
13be9aa00b
Ignore the bogus lang vnu.jar error.
2018-01-11 10:16:12 +02:00
XhmikosR
2f9d4d8ab2
Work around Travis errors by switching to sudo.
2018-01-11 10:16:12 +02:00
Gijs Boddeus
ec307bdf4b
Merge branch 'v4-dev' into custom-check-disabled
2018-01-10 21:49:10 +01:00
Łukasz
1a231e4bee
Check for window before window.QUnit ( #25199 )
2018-01-08 13:15:22 +01:00
gijsbotje
d7dbdf91c6
added variable for the background of checked and indeterminate custom inputs and radios that are disabled
...
added styles for these cases
2018-01-06 01:14:15 +01:00
Jesse Mandel
20a251a597
Added required checkbox example
2018-01-05 12:24:19 -08:00
Jesse Mandel
a05f1d883e
add validation feedback/tooltip support to form-check-inputs
2018-01-05 10:55:13 -08:00
Mark Otto
34cd2038d2
dist
2018-01-03 16:03:22 -08:00
Mark Otto
20765b5025
Print tweaks ( #25164 )
...
* Add min-width to body when printing
This should address some inconsistencies between browsers when printing. It applies a min-width to the body so that the content better resembles what your might see on your screen. I've made it a variable for easy customizing, too.
* Don't underline buttons when printing
* Add basic print styles for page and body size to create a semi-consistent print experience across browsers
2018-01-03 16:01:03 -08:00
ysds
8184c649a1
Document order-0 ( #25191 )
2018-01-03 16:47:13 +02:00
Martijn Cuppens
a1d134f8a8
Multiple accordion support ( #25161 )
2018-01-03 16:40:58 +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
Martijn Cuppens
d66875d0e6
Remove double borders for custom select and custom file
...
Fixes #25168
2018-01-02 21:57:10 -08:00
Mark Otto
2dc5762f96
Update pagination focus styles
...
- Drops the hover-focus mixin for standard :hover
- Adds explicit :focus styles to match button, input, etc with a box-shadow
- Adjusts z-index values to ensure the layers go initial, hover, active, focus
Fixes #24838 .
2018-01-02 21:49:01 -08:00
Mark Otto
e3e4d0389d
dist
2018-01-02 21:19:29 -08:00
Mark Otto
1e6a0f4ff3
add example of textarea to docs
2018-01-02 21:18:14 -08:00
Mark Otto
9474d06b1b
Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into gijsbotje-patch-8
2018-01-02 21:14:02 -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
750291b251
Darken border color slightly
2018-01-01 20:50:59 -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
Mark Otto
44eebe40de
dist
2018-01-01 20:29:19 -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
Gijs Boddeus
48c45992a8
Textarea support for input groups
...
The append and prepend classes vertically aligned items in the center
For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned
these changes fix that so everything is aligned how it should be
2017-12-31 15:38:29 +01: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
Martijn Cuppens
bee859cc9c
docs: Fix overflow issue in IE. ( #25142 )
2017-12-31 14:45:26 +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
Mark Otto
d08eb55dc9
dist
2017-12-30 21:34:23 -08:00
ysds
6b5a2ff626
Apply of #25068 to input group
2017-12-30 20:59:57 -08:00
Andres Galante
5f3856ce29
removes hardcoded value for nav-link padding
2017-12-30 20:58:25 -08:00
Kramb
8c87e019a5
Add modal-dialog-centered class to vertically centered modal example.
2017-12-30 20:57:22 -08:00
Mark Otto
43c551e97d
Outline active focus ( #25145 )
...
* Base the outline button :active color on the background, fixing a contrast issue
* Only apply focus outline to active when it's focused
2017-12-30 20:55:35 -08:00
Mark Otto
5b8eaffc12
dist
2017-12-30 19:41:36 -08:00
Mark Otto
fc942ce310
Mention -file-text change in Migration docs ( #25144 )
...
Fixes #25127 .
2017-12-31 02:38:09 +02:00
Kevin Ruscoe
d90dddf5e0
Add .order-0 to the flexbox grid ordering helpers. ( #25137 )
2017-12-31 02:28:12 +02:00
Raaj Trambadia
2b41526b4f
Remove Entypo from "Preferred Icon Sets". ( #25141 )
...
The download link for Entypo (on its website) is invalid. It's a Dropbox link which now results in a 403 error. The website was last updated in 2015 (as seen in the footer).
2017-12-31 02:22:46 +02:00
XhmikosR
e0e9bc8b58
Move inline JS outside of HTML. ( #25140 )
2017-12-31 02:11:59 +02:00
XhmikosR
bf0e753517
Update devDependencies and gems. ( #25083 )
2017-12-31 02:03:22 +02:00
XhmikosR
06d8e58e9f
Add docs-github-serve script for local serving the github target. ( #25139 )
2017-12-31 01:54:42 +02:00
XhmikosR
6a17e639d6
Remove trailing spaces.
2017-12-31 01:42:19 +02:00
XhmikosR
45b649f99d
application.js: make the clipboard button selector more restrictive.
2017-12-31 01:42:19 +02:00
XhmikosR
a6996ef38e
layout/overview.md: fix double copy button.
2017-12-31 01:42:19 +02:00
Mark Otto
3ab82e58e6
drop "simply" and tweak a few other bits
2017-12-30 18:01:36 +02:00
Alberto
bcc62232d8
Updated docs for translating "Browse" text into other languages
...
"Choose file ..." text is now written inside the label tag, so the translation is outside the css scope.
$custom-file-text variable should only contain "Browse" translations.
2017-12-30 18:01:36 +02:00
Andrew Timson
daf9d15e2d
Include JavaScript map files in NuGet packages ( #25080 )
2017-12-30 17:33:28 +02:00
Mark Otto
7adaa2f6ef
Update Theming docs for removing map items ( #25108 )
2017-12-30 17:29:36 +02:00
Andres Galante
d62a6d32ca
Remove unnecessary align-middle class from Navbar docs ( #25116 )
2017-12-30 17:19:27 +02:00
Herst
16ee64baf4
Wall of Browser Bugs: position:sticky in Edge done ( #25099 )
...
Position: sticky is included in Edge 16
2017-12-30 17:08:58 +02:00
Herst
84c8d5f613
Wall of Browser Bugs: Chrome SVG perf bug ( #24673 ) ( #24751 )
...
https://crbug.com/781344
2017-12-30 17:03:46 +02:00
Mark Otto
625736b17b
Darken $gray-600 by 10% for AA contrast ( #25123 )
...
Closes #23319 . Both `.text-muted` and `.btn-outline-secondary` (and indeed all secondary items) make use of `$gray-600`. New value provides a contrast ratio of 4.69.
2017-12-29 21:03:35 +00:00
Mark Otto
8ffbb74e81
Remove margin-bottom on .bd-example ( #25048 )
2017-12-28 10:47:34 -08:00
Mark Otto
3e0dd5a5d7
Add examples of disabled tooltip and popover triggers
2017-12-28 10:26:43 -08:00
Mark Otto
dd621e5511
Improve lint vars output messaging ( #25049 )
2017-12-28 10:24:08 -08:00
Mark Otto
57083c3042
Expand border utilities to include top, right, bottom, left
2017-12-28 10:23:04 -08:00
ysds
b97cb2aa74
Remove blank line
2017-12-28 10:21:14 -08:00
ysds
0b771174d5
Add docs about active menu items ( #24993 )
2017-12-28 10:21:14 -08:00
Mark Otto
ee83a963f3
linting
2017-12-28 10:20:34 -08:00
Mark Otto
a6ae1cc50d
Move alert theme-color() levels to variables
...
Closes #24341
2017-12-28 10:20:34 -08:00
Mark Otto
be3aa437a1
add note about single vs group
2017-12-28 10:19:27 -08:00
Mark Otto
1171e175c0
Update JS-powered buttons docs to include single button example
...
Closes #25067
2017-12-28 10:19:27 -08:00
Patrick Yeo
d5cbe696da
Allow customizing Popover and Tooltip border-radius while I'm at it
2017-12-28 10:18:50 -08:00
Patrick Yeo
eaca6c0e44
Allow customizing Popover and Tooltip font-size outside of $font-size-sm
2017-12-28 10:18:50 -08:00
Mark Otto
ced70da441
Update version to 4.0.0-beta.3
2017-12-28 09:50:04 -08:00
Mark Otto
e0fe88659c
npm dist
2017-12-27 21:08:51 -08:00
Andres Galante
a5232abefc
Set cursor:pointer for <summary>
2017-12-28 02:08:10 +00:00
Mark Otto
1a4a94bfd9
apply same active/focus shadow styling to button variants
2017-12-27 17:56:28 -08:00
Mark Otto
afc984dca7
line break
2017-12-27 17:56:28 -08:00
Mark Otto
9023909484
fix mixin include
2017-12-27 17:56:28 -08:00
Mark Otto
97cfe5a582
Only apply the active and focus shadow on the focus state for :active
2017-12-27 17:56:28 -08:00
Mark Otto
c0129f8c2a
dist
2017-12-27 16:30:18 -08:00
patrickhlauke
e3f9c463fc
Opinionated: reintroduce cursor:pointer
...
Explicitly re-adds the "hand" `cursor:pointer` for non-disabled `.btn`, `.close`, `.navbar-toggler` elements, as well as forcing `page-link` pagination controls to always have the "hand" cursor (even if an author uses it on, say, `<button>` elements for a dynamically updating in-page pagination).
Controversial, as everybody jumped on the bandwagon following this article https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b - which does have its merits of course, but there are also counter-arguments like http://kizu.ru/en/issues/cursor-pointer/
And seeing the amount of issues we've seen following the change, and the potential complexity needed to consistently address the cursor issue (see https://github.com/twbs/bootstrap/issues/24156 where i explore how the cursor needs to be based on "intent", and how that's tough to determine), I'm favouring an opinionated take here of just reintroducing the `cursor:pointer`.
2017-12-27 16:28:10 -08:00
Mark Otto
8ae78b6820
dist
2017-12-27 16:20:10 -08:00
Mark Otto
921c4cb78b
extra space
2017-12-27 13:41:15 -08:00
Mark Otto
26d7a939cd
closes #24929
2017-12-27 13:41:06 -08:00
Mark Otto
42e881f590
improve docs tables
2017-12-27 13:40:51 -08:00
Mark Otto
c8e581afbb
dist
2017-12-26 22:30:04 -08:00
Mark Otto
cf5e99e172
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-12-26 22:28:14 -08:00
Mark Otto
6fd11a6169
dist
2017-12-26 22:28:04 -08:00
Mark Otto
d603239b8a
linting
2017-12-26 22:02:54 -08:00
Mark Otto
28fd9deb54
un-nest and un-chain popover classes
2017-12-26 21:58:57 -08:00
Mark Otto
fa2cc20e92
consolidate content properties, un-nest
2017-12-26 21:56:48 -08:00
Mark Otto
468c1615e2
smaller popover arrows for more reasonable visuals and more ideal pixel rounding
2017-12-26 21:54:47 -08:00
Mark Otto
572193524f
remove popover static example
2017-12-26 21:50:23 -08:00
Mark Otto
acee8a00d6
remove broken static demo
2017-12-26 21:45:53 -08:00
Mark Otto
6cf71f298c
Merge branch 'fix-arrows' of https://github.com/simonihmig/bootstrap into simonihmig-fix-arrows
2017-12-26 21:36:12 -08:00
Mark Otto
b01e81ed36
Rewrite custom file input
...
- Changes the wrapping label to a div so we can style the label instead of another element while also supporting form validation.
- Fixes form validation styles for custom file input (closes #24831 ).
- Updates docs with validation styles (also adding example feedback text while I was there) and new how it works section.
2017-12-26 16:14:08 -08:00
ysds
c5209270ac
Clean up button group ( #25073 )
...
* Remove unnecessary float
- since parent btn-group is displayed as inline-flex, the child elements are placed left to right by default.
* Cleanup of reset rounded corners
- Remove `border-radius :0` since it is enough by each reset of left and right side
- A `.dropdown-toggle` selector should not be used for reset rounded corner since it does not have border-radius property. Instead use .dropdown-toggle as negation pseudo-class.
2017-12-26 16:04:11 -08:00
ysds
8c6011ab4f
Fix input group border radius issue ( #25075 ) ( #25076 )
...
* Fix input group border radius issue (#25075 )
* Remove migration note
- All buttons In input group do not have to be the same element now.
* lint
2017-12-26 14:23:07 -08:00
Mark Otto
be6fbf5387
dist
2017-12-26 13:50:15 -08:00
Mark Otto
03e1c47bc2
Darken table border-color
...
Fixes #25016 which noticed a .thead-light and border-color of the .table-border are the same color.
2017-12-26 13:47:48 -08:00
Mark Otto
90d492bc4a
dist
2017-12-26 13:33:29 -08:00
Mark Otto
dd7a8be711
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-12-26 13:31:53 -08:00
Mark Otto
234a894a0b
dist
2017-12-26 13:31:42 -08:00
Mark Otto
878e5c5910
Closes #25039
...
Adds some additional context on `.form-group` usage
2017-12-26 13:21:08 -08:00
Mark Otto
4205b262d3
Update SCSS import order to have print styles last
2017-12-26 13:20:12 -08:00
Mark Otto
2435afe4e6
Move from h4s and misc to h5s so headings from example snippets don't show in our table of contents
2017-12-26 13:18:19 -08:00
Mark Otto
2416801c7e
remove input group overrides since they're defaults now
2017-12-23 17:50:52 -08:00
Mark Otto
73ca04df53
space custom select sizing examples
2017-12-23 17:50:52 -08:00
Mark Otto
c468f89b1c
Make custom select and file inputs 100% wide
...
Matches browser default inputs and swaps some max-width properties for a regular width
2017-12-23 17:50:52 -08:00
Mark Otto
28b9b40faa
closes #24973
2017-12-23 16:47:33 -08:00
Mark Otto
1fbf531e07
prefix those
2017-12-23 16:19:49 -08:00
Mark Otto
853e5cb801
change heading
2017-12-23 16:19:33 -08:00
Mark Otto
b3e9547c59
further clarify z-index docs, fix #24999
2017-12-23 13:17:23 -08:00
simonihmig
9600ab1003
Fix tooltip/popover arrow size and position
2017-12-23 18:29:57 +01:00
XhmikosR
8b8999b07a
Update our browserslist. ( #24919 )
...
Update our browserslist.
* Add `last 1 major version` and `>= 1%`.
* Add Firefox.
Firefox v38 is older than the ESR, so basically replace ESR with v38.
2017-12-23 10:09:10 +02:00
Mark Otto
ab1808742d
dist
2017-12-22 21:02:36 -08:00
Mark Otto
eb60521c03
Move .table-responsive to a parent class instead of a modifier
2017-12-22 20:09:58 -08:00
Andres Galante
aacfcc248d
adds hover state to the button element for background color utilities ( #24813 )
...
* adds a hover state to the button element on the backrgound color utitility
* Adjust z-index to fix hover/focus overlaps
2017-12-22 19:41:13 -08:00
Mark Otto
5621c800aa
dist
2017-12-22 17:15:46 -08:00
JCA122204
b23bf85faa
Updated Quick Start Link ( #25001 )
...
* Updated Link For Getting started Page
* Change URL scheme of previous commit
From http to https
2017-12-22 16:52:36 -08:00
Mark Otto
0a420124ea
Restyle code element, remove docs example overflow, improve docs examples ( #25054 )
...
* Restyle code element, clean up variables
- Removes the padding and background-color
- Changes the color to a brand color ()
- Add new variables to kbd element styles to account for removing the code ones
- Remove overrides that were needed previously
* only break between words, and override it in the pre
* make file inputs 100% wide
* scope custom file changes in input group for sizing
* shorter button labels for responsive
* narrower cards
* button was too wide
* downsize
* fewer links in pagination
* redo cell text
* improve overflow docs
2017-12-22 16:49:57 -08:00
Mark Otto
e49871489b
dist
2017-12-22 16:22:52 -08:00
Mark Otto
e3aaadc5c9
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-12-22 16:22:13 -08:00
Mark Otto
935d45f461
dist
2017-12-22 16:21:54 -08:00
Mark Otto
16f1417240
Form check markup v2 ( #25050 )
...
* match layout behaviors
* ditch the indicator as separate element for psuedo-elements on the label
* move disabled to attribute only on input
* redo default inline check to support new markup
* redo inline forms
* clean up vars
* update validation mixin to new structure
* update checks in docs
* linting for for/id attributes
2017-12-22 16:13:01 -08:00
Mark Otto
13150872c6
Rewrite input group component ( #25020 )
...
* Rewrite input group component
* Set the feedback to 100% width for input group
* Move from .row to .form-row for tighter layout
* no need for custom feedback here, we're using browser messaging
* add input group to validation examples
* add note about validating multiple
* migration note added
2017-12-22 15:29:49 -08:00
XhmikosR
5cede31469
Update devDependencies and gems. ( #25023 )
2017-12-22 10:37:59 +02:00
Mark Otto
eaaad9574c
dist
2017-12-16 17:37:44 -08:00
XhmikosR
383221b21b
Link to BootstrapCDN and fix its name. ( #24987 )
2017-12-16 10:38:51 +02:00
Troy Morehouse
6f1e746d70
tooltip+popover: add boundary config option ( #24979 )
2017-12-12 11:36:54 +02:00
Troy Morehouse
8839c03865
dropdown: add boundary config option ( #24976 )
2017-12-12 11:28:30 +02:00
Patrick H. Lauke
a7e64c84ae
Specify host 0.0.0.0 for Jekyll ( #24974 )
...
Allows for remote connections on same network (as Jekyll now seems to default to 127.0.0.1 which means it does not react to incoming external requests)
2017-12-11 01:32:37 +00:00
Christian Oliff
a2a4e632c2
Update link to Font Awesome
...
They have a shiny new site for v5 - https://fontawesome.com/
2017-12-08 10:15:57 +01:00
Mr_Green
9d373d7112
Use only transitionend event ( #24962 )
2017-12-07 12:10:18 +01:00
XhmikosR
af34799eda
Remove page reload in pwa.js. ( #24923 )
2017-12-05 13:21:16 +02:00
XhmikosR
3a0f8d73df
Update devDependencies and gems. ( #24940 )
2017-12-05 01:02:29 +02:00
Mark Otto
2a12115759
Document breaking change from #24932
2017-12-02 11:53:42 -08:00
Troy Morehouse
9de141f428
Remove .col-form-legend in favor of .col-form-label ( #24932 )
...
* chore: sync with twbs (#1 )
* Make styling of grouped option buttons class-based
Referencing #23728 , styling grouped radio and checkbox buttons should not require the data-toggle attribute.
* Fix installing deps in our webpack docs
* Fix nested cards on card group (#24766 )
* Update popper.js to v1.12.9. (#24797 )
* Don't run postcss for `dist/css/*.min.css` files. (#24676 )
* Change the text color to dark on bg color warning examples (#24805 )
* 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.
* Typos in grid.md (#24828 )
Fixed typos in offsetting section of grid.md
* Fix dropup example code
* Update devDependencies. (#24829 )
* Add support for fractional viewport widths (zoom/high-dpi displays) (#24299 )
* Change breakpoint max- calculation to fractional values
* Update docs to reflect fractional max-width breakpoint values
* Add fractional max-width to offcanvas example
* Add documentation and SCSS comment for fractional viewport support
* Add a simple script to generate SRI hashes for our assets. (#24814 )
* Allow us to run our unit test on differents jquery version
* Run karma tests in parallel.
* Update typography docs (#24863 )
* closes #24450
* Rewrite custom form check backgrounds (#24697 )
* Rewrite custom form check backgrounds
Previously, this was all just a background-color and background-image. When we restored the gradients though, we had two background-images competing on the same element, causing rendering glitches. This refactors that code, creating a mixin to simplify things, so we can we easily use two background-images (SVG icon and gradient) when -gradients is set to true.
Fixes #24598
* restore default vars
* Revamp custom check and radio backgrounds
Instead of applying multiple background-image's to the same element, we're adding a new ::before pseudo-element to layer the background-images. Gradients go on the .custom-control-indicator while their icons go on the ::before element. This allows us to shave some bytes from when we compile and we previously needed to redeclare the background-image for the icon if you changed the gradient.
* remove now unused mixin
* mention change in migration docs
* lets the centered modal have any height (#24803 )
* Custom select updates (#24699 )
* Add support for size attribute on custom selects
* Add large custom select, document it and the small variant
* fix custom select focus state
* fix custom file input focus styles
* remove empty line
* Update package.json. (#24582 )
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
* Use Jekyll's `smartify` filter when possible. (#24866 )
* Darken outline hover color to match default button hover (#24150 )
* Fix Issue #24144
Alter button-outline-variant mixin to darken hover and active background in same fashion as filled button.
* Fix Issue #24144
Filled button on hover should utilize the same color-yiq mixin so that theme buttons match
* default values, fix mixin
* rename it
* document it
* add migration note
* fixes #24728
* Remove unused CSS. (#24872 )
* tab.js: do not remove fade class if there's no initial active pane
* Restore currently unused variables (#24891 )
* Replace lint-vars.sh with a Node.js script. (#24860 )
Also, include it in the `css` npm script since it's instant.
* 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).
* Combine path and remove variable used in one place. (#24873 )
* Update devDependencies and gems. (#24876 )
* Override padding on radio input label (#24899 )
We could tell folks to nix the class, we could tell them to override it, or we could add another modifier of some kind to address this. None of them seem particularly useful, but the padding override feels the most approachable and clearly documentable. Added this here to close #24844 .
* Update README.md (#24912 )
* Work around Travis failures.
Note that we should revert this when the issue is fixed.
* Revert the Travis workaround. (#24926 )
The issue has been fixed.
* add .col-form-legend-lg and .col-form-legend-sm classes
* document .col-form-legend-{size}
* trash .col-form-legend completely
One class fits all
* Update forms.md
* consolidate copy
* property order
2017-12-02 11:51:38 -08:00
Andres Galante
1d6e3710dd
Adds variable for color yiq threshold ( #24886 )
2017-12-01 19:26:10 -08:00
XhmikosR
023015006a
Revert the Travis workaround. ( #24926 )
...
The issue has been fixed.
2017-12-01 10:51:04 +02:00
XhmikosR
636dcf1795
Work around Travis failures.
...
Note that we should revert this when the issue is fixed.
2017-12-01 09:33:31 +01:00
Johann-S
a07bc5dbcb
Update README.md ( #24912 )
2017-11-29 18:42:09 +02:00
Mark Otto
a649c7f208
Override padding on radio input label ( #24899 )
...
We could tell folks to nix the class, we could tell them to override it, or we could add another modifier of some kind to address this. None of them seem particularly useful, but the padding override feels the most approachable and clearly documentable. Added this here to close #24844 .
2017-11-29 13:05:01 +02:00
XhmikosR
c2c0eebd43
Update devDependencies and gems. ( #24876 )
2017-11-28 12:26:50 +02:00
XhmikosR
6050d72a3a
Combine path and remove variable used in one place. ( #24873 )
2017-11-28 10:43:09 +02:00
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
76295676a1
Replace lint-vars.sh with a Node.js script. ( #24860 )
...
Also, include it in the `css` npm script since it's instant.
2017-11-27 19:41:48 +02:00
Mark Otto
671bb278bb
Restore currently unused variables ( #24891 )
2017-11-27 19:31:11 +02:00
Alessandro Chitolina
80d4a51e79
tab.js: do not remove fade class if there's no initial active pane
2017-11-26 20:29:19 +01:00
XhmikosR
544b3ee954
Remove unused CSS. ( #24872 )
2017-11-25 22:01:10 +02:00
Mark Otto
87509520fb
fixes #24728
2017-11-24 19:12:35 -08:00
Mark Otto
babdf36c42
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-11-24 17:02:01 -08:00
Mark Otto
643f5482a4
add migration note
2017-11-24 17:00:21 -08:00
Mark Otto
79cfd56947
document it
2017-11-24 16:58:36 -08:00
Mark Otto
ccb201b22a
rename it
2017-11-24 16:58:23 -08:00
Mark Otto
725f5fbda5
Merge branch 'btn-group-styling' of https://github.com/picapixa/bootstrap into picapixa-btn-group-styling
2017-11-24 16:49:43 -08:00
afholderman
7c10068c76
Darken outline hover color to match default button hover ( #24150 )
...
* Fix Issue #24144
Alter button-outline-variant mixin to darken hover and active background in same fashion as filled button.
* Fix Issue #24144
Filled button on hover should utilize the same color-yiq mixin so that theme buttons match
* default values, fix mixin
2017-11-24 16:42:40 -08:00
XhmikosR
02e4f6e513
Use Jekyll's smartify filter when possible. ( #24866 )
2017-11-25 02:13:39 +02:00
XhmikosR
3de46286b2
Update package.json. ( #24582 )
...
1. Use the same jQuery version in jspm
2. Update the files to only include the source and dist folders
2017-11-25 02:02:25 +02:00
Mark Otto
2ec1606ab7
Custom select updates ( #24699 )
...
* Add support for size attribute on custom selects
* Add large custom select, document it and the small variant
* fix custom select focus state
* fix custom file input focus styles
* remove empty line
2017-11-24 14:29:59 -08:00
Andres Galante
b29e3f2a4c
lets the centered modal have any height ( #24803 )
2017-11-24 14:28:58 -08:00
Mark Otto
4829350a46
Rewrite custom form check backgrounds ( #24697 )
...
* Rewrite custom form check backgrounds
Previously, this was all just a background-color and background-image. When we restored the gradients though, we had two background-images competing on the same element, causing rendering glitches. This refactors that code, creating a mixin to simplify things, so we can we easily use two background-images (SVG icon and gradient) when -gradients is set to true.
Fixes #24598
* restore default vars
* Revamp custom check and radio backgrounds
Instead of applying multiple background-image's to the same element, we're adding a new ::before pseudo-element to layer the background-images. Gradients go on the .custom-control-indicator while their icons go on the ::before element. This allows us to shave some bytes from when we compile and we previously needed to redeclare the background-image for the icon if you changed the gradient.
* remove now unused mixin
* mention change in migration docs
2017-11-24 14:26:56 -08:00
Mark Otto
fff0116f70
closes #24450
2017-11-24 12:40:56 -08:00
ysds
3506ae97bf
Update typography docs ( #24863 )
2017-11-24 14:35:16 +02:00
XhmikosR
68ca2946f7
Run karma tests in parallel.
2017-11-23 10:41:56 +02:00
Johann-S
e8ba37139f
Allow us to run our unit test on differents jquery version
2017-11-23 10:41:56 +02:00
XhmikosR
cdab56d940
Add a simple script to generate SRI hashes for our assets. ( #24814 )
2017-11-23 10:22:54 +02:00
Patrick H. Lauke
dcb761350c
Add support for fractional viewport widths (zoom/high-dpi displays) ( #24299 )
...
* Change breakpoint max- calculation to fractional values
* Update docs to reflect fractional max-width breakpoint values
* Add fractional max-width to offcanvas example
* Add documentation and SCSS comment for fractional viewport support
2017-11-20 05:13:37 -05:00
XhmikosR
0f17d53770
Update devDependencies. ( #24829 )
2017-11-20 09:47:39 +01:00
ysds
eeb3ce0138
Fix dropup example code
2017-11-20 09:18:17 +01:00
Rychu
1449ec0d7c
Typos in grid.md ( #24828 )
...
Fixed typos in offsetting section of grid.md
2017-11-19 13:33:05 -05: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
Andres Galante
8df34b075a
Change the text color to dark on bg color warning examples ( #24805 )
2017-11-17 06:57:49 +02:00
XhmikosR
81cf6c4968
Don't run postcss for dist/css/*.min.css files. ( #24676 )
2017-11-16 14:48:08 +02:00
XhmikosR
0ff7231faa
Update popper.js to v1.12.9. ( #24797 )
2017-11-16 12:53:11 +02:00
Andres Galante
8e4ba117bc
Fix nested cards on card group ( #24766 )
2017-11-16 12:41:48 +02:00
Johann-S
615c995080
Fix installing deps in our webpack docs
2017-11-16 11:30:55 +01:00
XhmikosR
7f74601fa5
Remove the now unused .houndignore file. ( #24776 )
2017-11-15 22:42:09 +02:00
Federico Zivolo
7fd265034c
Use UMD and fix build to properly load deps ( #24783 )
2017-11-15 14:13:33 +01:00
Edward Betts
ffc5965f2c
Correct spelling mistakes. ( #24778 )
2017-11-15 04:12:38 -05:00
Vasilii Artemchuk
2cafb9f127
Simplify spread ( #24774 )
2017-11-15 09:44:17 +01:00
Daniel Niccoli
c81ce9fdf4
Removed .col-form-label from vertical form example ( #24771 )
...
Fixes #24739
2017-11-15 03:37:23 +02:00
Andres Galante
1ee9cb04bd
Adds variables for form validation messages ( #24767 )
2017-11-15 03:32:08 +02:00
Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 ( #24665 )
2017-11-13 11:25:36 +01:00
XhmikosR
1354a929f9
Update devDependencies. ( #24762 )
2017-11-13 11:11:55 +01:00
XhmikosR
f251e72c12
Remove .hound.yml.
...
We might revisit this later, but currently we get too many FP with our current setup.
2017-11-12 01:18:53 +02:00
XhmikosR
0924928cb9
Update Hound config.
...
1. Explicitly disable ESLint in Hound for now; it was disabled all this time. Temporarily disabled until the ESLint plugins are updated upstream
2. Remove unneeded ignore from .houndignore
2017-11-12 01:18:53 +02:00
Gijs Boddeus
c7a2689a31
fix typo grid.md ( #24757 )
...
fixes #24744
2017-11-11 08:10:47 -03:00
XhmikosR
b00ea05fbf
Update gems. ( #24732 )
2017-11-09 10:16:54 +02:00
Raffy Alcoriza
3a060bcb8d
Merge branch 'v4-dev' into btn-group-styling
2017-11-09 15:09:28 +08:00
Raffy Alcoriza
9e8a3c041b
Make styling of grouped option buttons class-based
...
Referencing #23728 , styling grouped radio and checkbox buttons should not require the data-toggle attribute.
2017-11-09 15:02:46 +08:00
Patrick Yeo
031695e2f3
Add missing role="button" in collapse examples. ( #24725 )
2017-11-09 07:56:07 +02:00
Vasilii Artemchuk
5a2d6c70f4
Use native pseudo-selectors instead of jQuery selectors ( #24713 )
2017-11-09 07:51:19 +02:00
Johann-S
75bdc6d962
Update devDependencies ( #24722 )
2017-11-09 07:43:55 +02:00
Andres Galante
b755883059
Adds underline back to btn-link on focus
2017-11-08 11:05:12 -05:00
Mark Otto
9c213b7f27
upgrade to node 8.9.x and dist
2017-11-07 22:45:26 -06:00
Vasilii Artemchuk
9deb1c677c
Use correct jQuery name in docs ( #24712 )
2017-11-08 01:11:04 +02:00
XhmikosR
4bacf8dd04
Update devDependencies.
2017-11-08 01:04:31 +02:00
Johann-S
83fd91cdf8
Update to babel beta 5
2017-11-08 01:04:31 +02:00
XhmikosR
fc9967e175
Fix test failure with jQuery 1.9.1 ( #24706 )
2017-11-07 14:13:52 +02:00
Johann-S
79d6b574cc
Escape ID in Util.getSelectorFromElement ( #24700 )
2017-11-07 12:41:06 +01:00
Johann-S
26dc17bcd2
Popover - call content once if it's a function. ( #24690 )
2017-11-07 09:18:52 +02:00
Mark Otto
b42a38b886
dist
2017-11-06 22:24:24 -06:00
Mark Otto
b942dac3ef
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-11-06 22:12:24 -06:00
ysds
ccc95d0c96
Reduce custom file z-index ( #24633 )
2017-11-06 15:58:28 -08:00
Mark Otto
de754fdc32
fixes #24642
2017-11-06 17:51:04 -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
20b2e67ddc
dist
2017-11-06 13:54:41 -08:00
Mark Otto
807adbb48a
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-11-06 13:52:04 -08:00
Patrick Yeo
c2a7a2c41d
Nav Tabs use single variable to style $nav-tabs-link-hover-border-color and $nav-tabs-link-active-border-color ( #24639 )
2017-11-06 13:35:52 -08:00
Patrick Yeo
e2c15da967
Move hardcoded opacity value in .btn:disabled to variable $btn-disabled-opacity ( #24680 )
2017-11-06 13:34:42 -08:00
Mark Otto
ff4f5d4461
dist
2017-11-06 12:44:57 -08:00
XhmikosR
1524837af2
getting-started.md: Redirect from /getting-started/ too. ( #24669 )
2017-11-06 12:11:25 -08:00
Mark Otto
bb53b32585
fixes #24553 : override border-color on focus of custom select with form validation ( #24695 )
2017-11-06 12:04:56 -08:00
Mark Otto
a8aaccbd4d
Restore .progress-bar transition ( #24694 )
...
Unintentionally removed in #22703 . Fixes #24643 .
2017-11-06 12:02:42 -08:00
Gijs Boddeus
bfbf24e7a5
fixing label cutoff at 0% ( #24544 )
2017-11-06 09:57:25 -08:00
Andres Galante
058123440f
Convert px values to rem on tooltip variables ( #23468 )
...
* converts px valures to rem on tooltip variables
* keep as px to match popover changes
2017-11-06 09:29:12 -08:00
Andres Galante
b931070bd7
changes list-inline-padding from 5px to .5rem
2017-11-06 09:28:29 -08:00
XhmikosR
34d745540d
Minor Sass consistency changes. ( #24677 )
...
* use `background-color` instead of the shorthand
* use `outline: 0` consistently
* fix transform order
* remove quotes from `SFMono-Regular`
2017-11-06 02:23:36 +02:00
XhmikosR
f74fe3a45b
Update package-lock.json. ( #24666 )
2017-11-03 17:23:03 +02:00
XhmikosR
1fc0f256c8
Remove whitespace in SVG includes.
2017-11-03 14:12:47 +02:00
XhmikosR
ed374d1ee9
Remove a few extra newlines.
2017-11-03 14:12:47 +02:00
XhmikosR
c13faac04d
Highlight snippet as CSS.
2017-11-03 14:12:47 +02:00
XhmikosR
c26ef89add
getting-started/introduction.md: move title below the retired meta tags.
2017-11-03 14:12:47 +02:00
XhmikosR
433bf30de7
Add svg files in workbox and remove jpg.
2017-11-03 14:12:47 +02:00
XhmikosR
7f6ad11fb8
Update Jekyll excludes to ignore more files.
2017-11-03 14:12:47 +02:00
Johann-S
c52a13d395
Update our Webpack documentation for Webpack 3 ( #24656 )
2017-11-03 13:53:24 +02:00
Andres Galante
9244974064
Convert modal's px units to rem ( #23782 )
2017-11-02 02:23:51 +02:00
Mark Otto
445558b967
Create CODE_OF_CONDUCT.md ( #24629 )
2017-11-01 13:54:24 +02:00
XhmikosR
d969c3fe7e
Update devDependencies and gems. ( #24610 )
2017-11-01 00:23:50 +02:00
XhmikosR
3f575d9784
Fix broken footer link after the about page revamp. ( #24612 )
2017-11-01 00:03:22 +02:00
patrickhlauke
f9188de4af
Fix invalid <nav ... role="tablist"> in docs.
2017-10-31 21:36:17 +02:00
patrickhlauke
fb4c9fae17
More wording tweaks
2017-10-31 21:36:17 +02:00
XhmikosR
2bbb9e0efc
Shorten ignores - add more comments.
2017-10-31 21:36:17 +02:00
patrickhlauke
e80f61623b
Remove datetime-local warning from vnu ignore list, change reboot example.
2017-10-31 21:36:17 +02:00
patrickhlauke
96a9fa1c82
Remove invalid example of title attribute in an SVG and related vnu error suppression
2017-10-31 21:36:17 +02:00
patrickhlauke
ce90b82b19
Add comments to clarify why we ignore a couple of vnu's errors.
...
* "autocomplete" attribute errors
* "legend" is not allowed as child of "div"
2017-10-31 21:36:17 +02:00
XhmikosR
95025a992f
Remove the redundant role=navigation from navs.
2017-10-31 21:36:17 +02:00
XhmikosR
dde280618c
vnu-jar.js: pass -Xss512k for 32-bit Java to avoid a StackOverflowError error.
2017-10-31 21:36:17 +02:00
XhmikosR
930783cb24
Re-enable vnu-jar's warnings and suppress the ones we don't need now.
2017-10-31 21:36:17 +02:00
Giovanni Totaro - aka Vanni
165c0f15b2
Add display utilities link in 'Utilities for layout' docs page ( #24615 )
2017-10-31 13:17:16 +02:00
XhmikosR
271f5071a3
build/*.js: es6ify. ( #24611 )
2017-10-31 12:41:03 +02:00
XhmikosR
0570087ac3
Remove bower.json from _config.yml. ( #24609 )
2017-10-31 12:31:32 +02:00
Martin Kolárik
887835cdac
Update docsearch.js links ( #24613 )
2017-10-31 00:54:36 +02:00
XhmikosR
b67a4be8de
Minor Markdown consistency cleanup. ( #24605 )
2017-10-30 23:53:57 +02:00
Andres Galante
1870b871d0
adds variables for the hr element margin
2017-10-30 13:11:47 -07:00
Andres Galante
904f22c94f
changes colors references on variables.scss from hardcoded to variables on the theme
2017-10-30 13:10:52 -07:00
Mark Otto
b7a153b2eb
redesign these tables, fix headings, add intro paragraphs
2017-10-30 13:08:37 -07:00
Mark Otto
ce800e94d7
Merge branch 'docs-bundle-js' of https://github.com/vannitotaro/bootstrap into vannitotaro-docs-bundle-js
2017-10-30 12:58:37 -07:00
Mark Otto
2fec9f13cd
dist
2017-10-30 12:48:13 -07:00
Giovanni Totaro
a1e2a27632
Add missing trailing slashes to URLs in docs
2017-10-30 17:42:41 +01:00
Giovanni Totaro - aka Vanni
8f1540d16a
Merge branch 'v4-dev' into docs-bundle-js
2017-10-30 17:23:05 +01:00
Johann-S
10773f45d4
Fix bad title for our dispose method in our documentation
2017-10-30 15:46:39 +01:00
Giovanni Totaro
8776e80ffa
Explain contents of bundled JS files in docs ( #23735 )
2017-10-30 12:27:23 +01:00
Johann-S
6d00ed586b
Do not create a Popper.js instance when we don't need it
2017-10-30 09:51:57 +01:00
XhmikosR
6b884dcd76
Clean up package.json scripts. ( #24583 )
...
* rename build/htmllint.js to build/vnu-jar.js
* remove the unused `bash` script
* split the `docs-lint` scripts
* fix watch-js script to run only the parent `js-compile` script
2017-10-29 16:28:52 -07:00
Mark Otto
c5af0a7d6a
dist
2017-10-29 16:19:14 -07:00
Mark Otto
b5cd9b91b2
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-29 16:13:37 -07:00
Mark Otto
136aefead4
nuke container class for consistency while we're here
2017-10-29 16:03:13 -07:00
Mark Otto
a82d0ce67b
tweak spacing
2017-10-29 16:02:30 -07:00
Johann-S
2232b6b4d1
Throw error about Popper.js only when it's needed because some of our plugins don't use it ( #24573 )
2017-10-29 15:51:04 -07:00
Johann-S
e454c8ec1e
Add dropright and dropleft (right and left placements for our dropdown) ( #23860 )
...
* Add dropright (right placement for our dropdown)
* Add dropleft
* moves drop left arrow to the left
2017-10-29 15:29:13 -07:00
Mark Otto
b1623c4429
Add .modal-dialog-centered for optional vertically centered modal ( #24510 )
...
* Add .modal-dialog-centered for optional vertically cenetered modal
Fixes #23638
* adds modal-dialog-centered class to docs and removes margin to avoid generating a vertical scrolling
* mention limitations
* fix aria attr
* Add `width: 100%` to the .modal-content for the centered version. Adding it here to avoid adding another selector by limiting it to the centered modal modifier.
2017-10-29 15:14:10 -07:00
Mark Otto
dfd5229167
Merge branch 'v4-dev' of https://github.com/jipexu/bootstrap into jipexu-v4-dev
2017-10-29 11:46:26 -07: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
Johann-S
aec2e38caf
Add information about the fact we do not use Popper.js for Dropdown c… ( #24571 )
...
* Add information about the fact we do not use Popper.js for Dropdown contained in navbars
* Update dropdowns.md
* Update dropdowns.md
2017-10-28 22:43:44 -07:00
Amy Martin
186c22fdbc
Remove invalid bower.json ( #24584 ) ( #24590 )
2017-10-28 22:42:53 -07:00
Mark Otto
63947ee94e
Add fallback border-radius to .btn ( #24505 )
...
Fixes #24503 by manually calling the border-radius instead of using the mixin.
2017-10-28 22:42:09 -07:00
Mark Otto
a248ae0a3c
Revamp docs About section ( #24589 )
...
- Drops the Team page for privacy and accuracy. I don't want to pressure folks into feeling committed to the project through a page like this, and it also doesn't allow folks any privacy option (as you can hide org membership on your GitHub profile).
- Moves the History page into an Overview page, which includes an updated history page and a quick team blurb at the top.
- Added redirects to the new Overview page from Team and History
2017-10-28 22:41:25 -07:00
Mark Otto
bc53cb8bc5
dist
2017-10-28 12:04:47 -07:00
Mark Otto
380c920f1c
fixes #24574
2017-10-27 20:35:33 -07:00
Johann-S
41fbec1188
Fix unit tests.
2017-10-27 19:19:55 +03:00
Pierre-Denis Vanduynslager
6fe72c6de8
Dropdown handle keydown on input and textarea.
2017-10-27 19:19:55 +03:00
jeanpierre
63828f0cf0
form y space in doc
2017-10-27 14:55:07 +02:00
Paweł Kuna
d51a6c8db3
Add table-row in documentation ( #24551 )
2017-10-26 09:33:41 +03:00
Mark Otto
2e92062539
dist
2017-10-25 12:35:07 -07:00
Mark Otto
8c587d4280
dist
2017-10-25 12:31:55 -07:00
Mark Otto
59bf81f649
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-25 12:31:33 -07:00
Mark Otto
0c40a5bf67
dist
2017-10-25 12:31:26 -07:00
Mark Otto
af9df8c308
update new focus and shadow properties to use vars
2017-10-25 12:30:29 -07:00
Johann-S
988327032d
Add unit tests for util.js
2017-10-25 12:59:40 +02:00
XhmikosR
96110893af
npm scripts: fix duplicate runs. ( #24532 )
...
`js-compile` and `js-minify` tasks already call their "children" tasks.
2017-10-24 14:48:17 +03:00
Johann-S
62fbb23ee6
Change Rollup config to wrap our dist files with jQuery instead of $
2017-10-24 12:39:25 +02:00
XhmikosR
ca4ad8bee8
Clean up transitionEnd properties. ( #24511 )
...
We don't support Opera 12, and Firefox's property was the unprefixed one.
2017-10-23 10:45:27 +03:00
Johann-S
1487c3a994
Add Util.jQuery which will detect jQuery instead of relying on global $ ( #24513 )
2017-10-23 10:35:27 +03: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
5174059226
fixes #23695
2017-10-22 22:36:10 -07:00
Mark Otto
04b32db845
Merge branch 'btn_input_split_variables' of https://github.com/isychev/bootstrap into isychev-btn_input_split_variables
2017-10-22 19:59:20 -07:00
Mark Otto
1109ecc307
dist
2017-10-22 19:59:03 -07:00
Mark Otto
5dae7f0449
edit code comments
2017-10-22 19:56:49 -07:00
Mark Otto
7b7c10aae8
Replace some border-radius properties for the mixin, closes #23872
2017-10-22 19:43:35 -07:00
Mark Otto
a79e0f9c78
dist
2017-10-22 19:40:05 -07:00
Mark Otto
2f90be3150
Merge branch 'input-group-custom-forms' into v4-dev
2017-10-22 19:39:47 -07:00
Mark Otto
2d0399e4ea
clarify
2017-10-22 19:39:32 -07:00
Mark Otto
6ef998628d
improve visual appeal of examples
2017-10-22 19:35:42 -07:00
Mark Otto
964356464c
combine
2017-10-22 19:34:24 -07:00
Mark Otto
2f8d3a3d8c
line break
2017-10-22 19:34:06 -07:00
Mark Otto
58f4f1b723
Merge branch 'v4-dev' of https://github.com/aavmurphy/bootstrap into aavmurphy-v4-dev
2017-10-22 19:33:52 -07:00
Mark Otto
bc175e2a6a
mention spacing in card docs, fixes part of #24373
2017-10-22 19:33:27 -07:00
Mark Otto
8e81e69d30
copy edit
2017-10-22 19:31:59 -07:00
Mark Otto
0231bd9436
Update _variables.scss
2017-10-22 14:30:35 -07:00
XhmikosR
31913e0c21
Update gems. ( #24499 )
2017-10-23 00:30:03 +03:00
Mark Otto
1f42d79561
Merge branch 'v4-dev' into btn_input_split_variables
2017-10-22 14:26:49 -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
Mark Otto
137b680c69
Merge branch 'input-group-custom-forms' of https://github.com/twbs/bootstrap into input-group-custom-forms
2017-10-22 14:07:11 -07:00
Mark Otto
8f9e8569ae
add ids, add for attributes, and fix dupe ids
2017-10-22 14:04:46 -07: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
XhmikosR
44278f89e3
New examples screenshots. ( #24395 )
...
The images are PNG 8-bit optimized with optipng, zopflipng and pngout.
2017-10-22 13:49:01 -07:00
José Francisco
502d6b2579
Add variable to configure the $dropdown-border-radius. ( #24376 )
2017-10-22 13:47:31 -07:00
Mark Otto
b61de52e62
match property order
2017-10-22 23:31:53 +03:00
Andres Galante
d38f08fcdc
adds animation to color on outlined btns
2017-10-22 23:31:53 +03:00
Mark Otto
bf2fee9035
add vars for yiq color contrast function
2017-10-22 12:56:06 -07:00
Eugene Kopyov
0a82cd9f3c
Fix for right padding in dismissible alerts ( #24481 )
...
* Fix for right padding in dismissible alerts
* Removed extra whitespace
* Update _alert.scss
* Update _alert.scss
2017-10-22 12:54:32 -07:00
Mark Otto
4bd4ff1130
fix custom file input too
2017-10-22 12:37:45 -07:00
Mark Otto
cd4cd7fbe8
match space after comma, darken invalid/valid bg color on custom checks
2017-10-22 12:35:13 -07:00
Mark Otto
5e4964ccb8
use rgba() so it's not at full opacity
2017-10-22 12:34:47 -07:00
Mark Otto
1b1c768ef6
Merge branch 'custom-checkboxes-radios-correct-color' of https://github.com/sabrown84/bootstrap into sabrown84-custom-checkboxes-radios-correct-color
2017-10-22 12:26:26 -07:00
Mark Otto
1b76b3cf2f
dist
2017-10-22 12:26:15 -07:00
Mark Otto
a1a4e12bcc
start beta 3 migration docs, mention removed var
2017-10-22 12:23:40 -07:00
XhmikosR
dc39082ad7
Remove thumbnail-transition from .img-thumbnail.
...
We don't change anything so the transition is basically unused.
2017-10-22 12:23:40 -07:00
Gijs Boddeus
7bb82a5fb1
match width behaviour of form-control to form-control-plaintext ( #24486 )
2017-10-22 12:19:11 -07:00
Gijs Boddeus
6824f71795
fix card group border radii ( #24491 )
2017-10-22 12:18:03 -07:00
Gijs Boddeus
2564931165
fix vertical input button group margin ( #24498 )
...
* add margin-bottom to .btn of a vertical button group
* match margins of radio/checkbox buttons in a btn-group to the actual buttons
* add comment
2017-10-22 12:17:22 -07:00
XhmikosR
3b75ebff2b
Simplify social.html. ( #24483 )
...
This also fixes the wrong usage of `site.description` instead of `page.description` in meta description.
2017-10-22 19:20:15 +03:00
XhmikosR
c70eaa156f
Set autoprefixer's cascade option to false. ( #24459 )
...
This saves a few bytes from the unminified dist files.
2017-10-22 15:23:23 +03:00
XhmikosR
060258f9be
Fix broken URI fragment and a redirected link. ( #24456 )
2017-10-22 15:13:32 +03:00
XhmikosR
2ef5b90136
Tighten htmllint's rules. ( #24471 )
2017-10-22 15:02:24 +03:00
XhmikosR
fbd42af6ca
Reduce whitespace liquid outputs. ( #24470 )
2017-10-22 14:53:06 +03:00
XhmikosR
3a9ab96292
Remove the unused _data/showcase.yml file. ( #24482 )
2017-10-22 14:34:09 +03:00
Mark Otto
1083e49bbe
really fix indentation, reorder
2017-10-21 20:57:19 -07:00
Mark Otto
7eb8c54858
use vars, fix indentation
2017-10-21 20:55:01 -07:00
Sharrell Porter
809ce6d6ef
Sass correction
2017-10-20 07:23:48 -04:00
Sharrell Porter
4f814fabd6
sync-commits erge branch 'v4-dev' into custom-checkboxes-radios-correct-color
2017-10-20 07:12:39 -04:00
XhmikosR
9a1d81f154
.editorconfig: remove rule for *.py files. ( #24443 )
2017-10-20 14:00:57 +03:00
Johann-S
c86f72be96
Use navbar-expand-sm in our navbar bottom example for small devices ( #24463 )
2017-10-20 13:18:04 +03:00
XhmikosR
37bfbcf117
Be consistent with "JS"/"JavaScript". ( #24457 )
2017-10-20 10:44:03 +03:00
Andres Galante
a89187f94d
Remove margin from pre in code.scss since it's already set in reboot ( #24366 )
2017-10-20 10:33:56 +03: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
rmacklin
9e6dabbb10
Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary ( #24315 )
...
These were using `z-index: 2` to "Place active items above their
siblings for proper border styling". However, using `z-index: 1` is
sufficient for accomplishing that goal.
In input-group, there were also three `z-index: 3` rules for the
hover/focus/active states. I reduced these to `z-index: 2` since they
just needed to be "one more than normal" (i.e. one more than what is now
`z-index: 1` after my changes).
These changes can be verified by viewing the documentation pages for
Button group, Input group, List group, and Pagination before and after
this commit and observing that the active elements are still "above"
their siblings, so their borders look correct.
2017-10-20 10:01:29 +03:00
Mark Otto
35317a4331
Remove background-image: none; on .form-control ( #24454 )
...
As the diff shows, this was for a Firefox Android issue that's since been fixed.
Closes #23817 .
2017-10-20 09:56:43 +03:00
XhmikosR
e79b2354d6
Merge branch 'v4-dev' into input-group-custom-forms
2017-10-20 09:43:00 +03:00
XhmikosR
b3babbfc26
migration.md: fix Jekyll variable. ( #24449 )
...
Rationale: the page is not available locally, only on gh-pages, thus leading to a 404 locally.
2017-10-20 09:41:36 +03:00
Mark Otto
34a1e45400
Add input group support for custom selects and custom files
...
Closes #24437 , closes #22457
2017-10-19 23:22:06 -07:00
Andrew Murphy
c600176c2a
another ;
2017-10-19 21:34:45 +01:00
Andrew Murphy
b69d535822
formatting
2017-10-19 21:22:40 +01:00
Andrew Murphy
8504f68815
typo
2017-10-19 21:15:07 +01:00
Andrew Murphy
d578117c73
suggested changes
2017-10-19 21:14:08 +01:00
Mark Otto
cdad23d5d2
fixes #24445
...
also pushed a hotfix to gh-pages branch
2017-10-19 13:04:39 -07:00
Mark Otto
fc94de5b8b
typo
2017-10-19 12:23:29 -07:00
Mark Otto
539510f9b2
add missing .
2017-10-19 12:23:29 -07:00
Mark Otto
50a2345032
new current_ruby-version var
2017-10-19 12:23:29 -07:00
Mark Otto
0a1c70d9b9
update getting started docs too
2017-10-19 12:23:29 -07:00
Mark Otto
ab04e9bc12
version number for homepage
2017-10-19 12:23:29 -07:00
Mark Otto
2e9ab6cc50
new hashes
2017-10-19 12:23:29 -07:00
Mark Otto
dbf5405cfd
fix version number
2017-10-19 12:23:29 -07:00
Mark Otto
73ade2524b
new shas
2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e
new version number
2017-10-19 12:23:29 -07:00
Gijs Boddeus
7b06b9292f
spelling changes to theming.md ( #24444 )
2017-10-19 10:33:31 -07:00
Laussel Loïc
13898af590
remove form control label as it have been removed ( #24442 )
2017-10-19 10:31:49 -07:00
Mark Otto
ba44eb1279
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-19 09:13:23 -07:00
Mark Otto
6124e7f229
dist
2017-10-19 09:13:17 -07:00
Gijs Boddeus
98af557842
fix missing word in colors.md ( #24440 )
2017-10-19 09:11:23 -07:00
Mark Otto
06641ca0b3
Gradients and shadows ( #24429 )
...
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency
* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.
- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.
* Put new focus width var to use in buttons mixins
* use new button input-box shadow var
* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true
* use correct var
* fix focus shadows in button mixins
* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items
* Generate .bg-gradient- utilities
* add headings to colors page and document bg-gradient utils
* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
XhmikosR
d763d019ad
Make 1.9.1 the minimum jQuery version again. ( #24434 )
2017-10-19 09:02:27 -07:00
Mark Otto
0c67ab1fa6
Better docs for table-responsive classes ( #24438 )
2017-10-19 08:55:53 -07:00
XhmikosR
1f43fe970b
Fix a few 404 and one redirected link. ( #24432 )
2017-10-19 08:18:57 -07:00
XhmikosR
d4e7090c2d
Reindent _variables.scss. ( #24428 )
2017-10-19 08:16:38 -07:00
Gijs Boddeus
07034cb3b0
fix typo in flex.md ( #24431 )
2017-10-19 01:01:48 -07:00
Mark Otto
80e8e6754a
dist
2017-10-19 00:17:08 -07:00
Mark Otto
a0942bf4fb
dist
2017-10-19 00:15:39 -07:00
Mark Otto
f51440da22
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-19 00:14:27 -07:00
Mark Otto
521aa875e7
fix functions, lighter colors on active
2017-10-19 00:13:38 -07:00
Mark Otto
9501ed8725
Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active
2017-10-19 00:11:36 -07:00
i.sychev
58e553d7bc
append btn-* and input-* variables and extends their from input-btn-* variables
2017-10-19 10:05:07 +03:00
Mark Otto
39b144c88f
Update docs for IE10+IE11 support of auto margins ( #24427 )
...
IE10 and IE11 do not properly support the use of margin-auto on flex parents with a justify-content value other than flex-start. This PR removes the examples showcasing those two classes at play together in favor of simpler ones with _just_ the margin-auto utilities.
More details can be found at https://stackoverflow.com/a/37535548 , which has been linked to from the docs as well.
Closes #24319 and closes #24413 .
2017-10-19 09:16:18 +03:00
Andres Galante
bee20c04e8
Move theme variables outside of the theme map. ( #23918 )
2017-10-19 09:05:00 +03:00
Vohmyanin Sergey Vasilevich
dc5a096e03
Enable sourcemaps for bundles and include sourcemap for plugins in npm package. ( #24303 )
2017-10-19 09:01:26 +03:00
Mark Otto
4a603f11e5
dist
2017-10-18 20:38:08 -07:00
Dylan Seago
a62ced0e0b
Rename navbar height variables to reflect their value ( #24161 )
2017-10-18 19:51:45 -07:00
Kevin Ruscoe
1154032f0a
Update alerts.md ( #24420 )
...
This document contains the word JavaScript everywhere apart from in one place where it's abbreviated to JS. This just makes sure it's written as JavaScript consistently across the page.
2017-10-18 19:49:32 -07:00
Mark Otto
d94fec94b2
Increase headings-line-height from 1.1 to 1.2 ( #24423 )
...
This way, descenders are not cropped when truncating. Fixes #23956 .
2017-10-18 19:48:35 -07:00
Gijs Boddeus
40d242eddc
Fix typo in popovers.md ( #24425 )
...
double use of see
2017-10-18 19:45:37 -07:00
tillmon
0aa8cbee76
Set font-sizes relative to font-size-base ( #24060 )
...
* font-sizes relative to font-size-base
* ditch $heading-font-size-base, simplify
* apply same to .lead var
* also update progress bar font-size var
2017-10-18 19:44:13 -07:00
Andrew Murphy
5114a4758d
Use the 'spacing' template. More examples
...
The most important change is to say "for the named breakpoint ( `sm`, `md`, `lg`, `xl`) and above".
The existing "hiding elements para" (not yet live) is exactly what's needed.
Keep simple for "english as a second language" people (e.g. hide not hidden)
2017-10-18 22:28:09 +01:00
Mark Otto
64ccd8974a
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-10-18 14:22:32 -07:00
Mark Otto
1a569bab3f
few popover docs changes to clarify things mentioned in #24005
2017-10-18 14:22:26 -07:00
Kevin Ruscoe
a2edd106a7
badges: Make using the contextual classes on links clearer. ( #24422 )
2017-10-18 23:56:43 +03:00
Andrew Murphy
ad77ea7ae0
#24373 : Documentation/Navbar : Refer to utility classes used. Hidden when printing. ( #24380 )
...
* Refer to utility classes uses. Add Printing section
refer to (not navbar) classes used for newbies
navbars don't print, so add example of a print-only alternative
* typos, add links
typo in {% example %}
add links to component pages
* grammar
* Add a dropdown with divider to the main example
* change id name to stop travis error
I assume id="camelCase" is the standard for id names, rather than the clearly superior id="underscore_words"
* review changes
still like to emphasise the foreign utility classes in the main example
bg-light's name is self explanatory (so its obvious where to look it up), but mr-sm-2's name isn't at first
* review changes
* grammar
* .fixed-top/bottom don't reserve space on the screen
... as they are position:fixed.
better wording welcome
* copyediting
- rewrite utils line and link to the utils pages
- restore the paragraphs to the placement section
- fix formatting and grammar
2017-10-18 10:26:33 -07:00
Andres Galante
008e0b5b68
Improves forms migration guide, docs, and scss ( #24348 )
...
* fixes migration forms guides
* removes container from Horizontal form
* adds col-form-label sizes on form docs
* removes .form-control-label from forms.scss
* add note to migration
2017-10-18 10:11:35 -07:00
Andres Galante
217d344fa8
Remove uncessary col-form-label from form row docs ( #24335 )
2017-10-18 19:59:30 +03:00
Mark Otto
80c909c99c
dist
2017-10-18 09:29:05 -07:00
Mark Otto
2e4240b9ab
mention forked from normalize
2017-10-18 09:28:41 -07:00
Mark Otto
85fd22bd47
Revert #23108 to restore list group borders ( #24411 )
...
* revert #23108 , which had no bug but was a problem with the example code
* add example to the docs for future proofing
* move it up
2017-10-17 22:05:01 -07:00
Mark Otto
dd9d5cb8de
Add copyright and license headers to grid and reboot files
...
Fixes #24311
2017-10-17 22:04:34 -07:00
Mark Otto
2bd09e5b72
Remove class and scrollspy attributes from layouts
2017-10-17 20:15:55 -07:00
Andres Galante
e756b667d2
changes popovers from px to rem
2017-10-17 20:07:11 -07:00
Mark Otto
c075968c14
mention color contrast function change
2017-10-17 18:37:11 -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
a48dbdbf97
document color-yiq function
2017-10-17 18:29:47 -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
XhmikosR
2c8bf6cda2
Restore CNAME ( #24379 )
2017-10-18 02:28:35 +03:00
m5o
77e975afb2
remove unused docs color variables ( #24406 )
2017-10-18 01:45:52 +03:00
XhmikosR
fac70149b3
Update package-lock.json. ( #24386 )
...
Also, lock babel deps to 7.0.0-beta.2 so that we are on the safe side.
2017-10-17 16:27:07 +03:00
XhmikosR
289836ef96
Fix typo in scrollspy.md ( #24398 )
2017-10-17 15:27:37 +03:00
Anuj Tomar
fa234e27aa
Correct $zindex-sticky value ( #24402 )
2017-10-17 08:51:34 +03:00
Sharrell Porter
77ea66da4d
matching-branch
...
Merge branch 'custom-checkboxes-radios-correct-color' of github.com:sabrown84/bootstrap into custom-checkboxes-radios-correct-color
2017-10-16 18:26:52 -04:00
Sharrell Porter
e9c6656004
correcting color
2017-10-16 16:57:13 -04:00
Johann-S
99eece1392
Add dispose methods in our documentation ( #24396 )
...
* Add dispose methods in our documentation
* Update buttons.md
2017-10-16 16:51:42 +02:00
XhmikosR
658e81a084
Mention bootstrap bundle in docs. ( #24385 )
2017-10-16 08:01:58 +03:00
XhmikosR
0e90240b16
Remove empty class from search menu button.
2017-10-16 07:47:47 +03:00
XhmikosR
d7aa5e6d93
Use direct links to documentation, getting started and about pages.
...
The old ones are still being redirected.
2017-10-16 07:47:47 +03:00
XhmikosR
db487f9845
Update build-tools.md ( #24378 )
2017-10-16 05:17:53 +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
3ccb7ef16a
Update README.md ( #24365 )
...
1. Add `alt=""` for the Bootstrap logo
2. Replace the HTML entities with the unicode symbols
3. Refactor the badges to something that makes more sense to me
4. Change `Selenium Test Status` alt attribute to `Sauce Labs Test Status`
5. Use shields.io for the peerDependencies badge too
6. Add CSS and JS gzip size badges, shoutout to @ngryman
7. Add a few more trailing slashes to URLs
8. Change link to tooling setup to the website one
2017-10-15 03:54:47 +03:00
Gleb Mazovetskiy
a9fa21e701
Escape SassScript in custom variable values ( #24354 )
...
This is required for Sass v3.5+ compatibility.
See https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md#backwards-incompatibilities----must-read and https://github.com/sass/sass/issues/2383
2017-10-14 08:29:43 +01:00
Lucas Banegas
71e60e1f85
Describe compiled CSS ( #24271 )
2017-10-13 14:34:43 +03:00
XhmikosR
03522fee48
Fix import.svg after 10bb79a. ( #24359 )
...
It was mistakenly the same as lightning.svg.
2017-10-13 13:53:01 +03:00
Jesse Mandel
991cbe74d0
Update colors in _data and theming.md to match _variables.scss ( #24355 )
2017-10-13 13:34:27 +03:00
Michael Letcher
c8ee8509cb
Updated Safari Bug ( #24350 )
2017-10-12 21:22:18 +03:00
XhmikosR
ce1a72b2f0
Hound CI: Specify ignore_file for stylelint.
2017-10-11 15:54:41 +03:00
Andres Galante
776188ad73
Add border radius to an image when it's the only card of a card group ( #24321 )
2017-10-11 01:18:56 +03:00
Varunram
ab093b90f6
Add borderless table class along with docs. Rebase
2017-10-11 00:01:57 +05:30
XhmikosR
f7acb278e2
Refactor a few selectors so that the least specific ones are first. ( #24310 )
2017-10-10 16:46:43 +03:00
Johann-S
8e7ba02c5c
Modal plugin set _isTransitioning after the trigger of hide event
2017-10-10 14:19:22 +02:00
Johann-S
da22bce2f0
Add information about failed tests
2017-10-10 12:58:41 +02:00
XhmikosR
64c944bca8
Use $white variable for .navbar-dark's color. ( #24309 )
...
Using `rgba($white,1)` results in `white` instead of the hex.
2017-10-10 08:58:35 +03:00
Prateek Goel
de3973b5e7
Ensure active button styles are not applied to disabled buttons
2017-10-09 18:32:48 -04:00
Gisete Kindahl
bab3246a1d
Centered SVG icon within its own container ( #24292 )
2017-10-09 10:37:46 -03:00
XhmikosR
64567de6d0
package.json: Change repo URL to git+https. ( #24305 )
2017-10-09 14:34:32 +03:00
XhmikosR
d687ba5684
Remove unused code from postcss.config.js.
...
We actually want to generate a sourcemap for docs.min.css.
2017-10-09 11:20:05 +03:00
XhmikosR
a8fb64f3e3
Lint examples' CSS too.
2017-10-09 11:20:05 +03:00
XhmikosR
ecdaf0e34a
Run autoprefixer for examples' CSS too.
2017-10-09 11:20:05 +03:00
XhmikosR
0c1597ebde
examples/dashboard/dashboard.css: merge duplicate selector.
2017-10-09 11:20:05 +03:00
XhmikosR
3edc03f4ee
Update devDependencies. ( #24298 )
2017-10-09 10:44:10 +03:00
XhmikosR
09f403f81a
Update jekyll-toc to v0.4.0.rc2.
2017-10-08 19:08:16 +03:00
XhmikosR
607f26d0a3
Add back htmlhint.
2017-10-08 19:08:16 +03:00
XhmikosR
ee4176c9c9
Move vnu-jar to devDependencies and remove completely htmlhint.
2017-10-08 19:08:16 +03:00
Bardi Harborow
258507b756
Move from htmllint to Travis-only vnu.jar.
2017-10-08 19:08:16 +03:00
XhmikosR
5e7a9afe35
Update saucelabs-unit-test.js ( #24297 )
...
Add license header and minor formatting tweaks.
2017-10-08 17:48:37 +03:00
XhmikosR
ef38ca1c11
Make Dropped the Affix jQuery plugin bold. ( #24294 )
2017-10-08 14:20:41 +03:00
Vasilii Artemchuk
1aea9d7517
Update js/tests/README.md ( #24281 )
2017-10-07 01:04:21 +03:00
XhmikosR
ebc82db8ef
Enable stylelint's no-duplicate-selectors rule.
2017-10-07 00:11:40 +03:00
XhmikosR
8767338669
Reindent _variables.scss.
...
Now it's more consistent.
Also switch to numeric values for font-weight.
2017-10-07 00:11:40 +03:00
XhmikosR
7e149e20a9
Enable stylelint for _reboot.scss.
2017-10-07 00:11:40 +03:00
XhmikosR
0af78ac630
Hound CI: Enable stylelint. ( #24234 )
2017-10-06 23:59:38 +03:00
XhmikosR
d959a11f9e
Bump gems to their latest versions. ( #24264 )
2017-10-05 15:25:03 +03:00
Mark Otto
8fccaa2439
formatting
2017-10-05 09:42:17 +03:00
XhmikosR
91b219d5e6
Add comment where we explicitly use flex: 1 0 0%;.
2017-10-05 09:42:17 +03:00
XhmikosR
219ba7f2ea
make-col-offset: Remove percentage if it's zero.
2017-10-05 09:42:17 +03:00
Gijs Boddeus
8f483dc432
Merge branch 'v4-dev' into yiq-function-update
2017-10-05 08:38:59 +02:00
XhmikosR
7b715ee7e8
Examples: remove unused images. ( #24237 )
2017-10-04 19:23:17 +03:00
XhmikosR
19aebb4203
Suggest CodePen along with JSBin. ( #24238 )
2017-10-04 19:07:47 +03:00
Johann-S
347b3ac1c0
Remove global jQuery in eslint because we import jQuery ( #24246 )
2017-10-04 17:31:35 +03:00
Johann-S
b9c4a5cde2
Fix dropup in bottom navbar for all the breakpoints
2017-10-04 16:22:55 +02:00
Gijs Boddeus
b14250f196
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 16:12:21 +02:00
Johann-S
133cc32197
Merge pull request #24240 from lucascono/v4-dev
...
Fix modal when we try to show that modal two times
2017-10-04 14:15:05 +02:00
XhmikosR
be9e6f3638
Update modal.js
2017-10-04 15:03:06 +03:00
lucascono
ef2da793e8
Merge remote-tracking branch 'refs/remotes/twbs/v4-dev' into v4-dev
2017-10-04 09:00:18 -03:00
Lucas Banegas
2729d81832
Merge pull request #2 from lucascono/v4-dev-modal-unit-test
...
Unit test for modal bug fix
2017-10-04 08:58:02 -03:00
lucascono
47968c8126
Unit test for modal bug fix
...
Unit test for pull request #24240
2017-10-04 08:55:40 -03:00
Gijs Boddeus
f40cce9ebc
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 12:05:13 +02:00
XhmikosR
1c24bdeca8
Remove double spaces.
2017-10-04 13:01:15 +03:00
XhmikosR
9289773b8a
content/images.md: fix indentation in picture snippet.
2017-10-04 13:01:15 +03:00
XhmikosR
5462404226
npm scripts: quote globs.
2017-10-04 13:01:15 +03:00
Lucas Banegas
d8d1326364
Merge branch 'v4-dev' into v4-dev
2017-10-04 06:34:06 -03:00
Gijs Boddeus
cefc68d464
fix travis error
2017-10-04 11:29:38 +02:00
Lucas Banegas
cc2f5f71ae
Merge pull request #1 from lucascono/v4-dev-modal-fix
...
Fix modal bug
2017-10-04 06:13:36 -03:00
lucascono
4b6537bef3
Fix modal bug
...
Fix for issue #24117
2017-10-04 06:08:34 -03:00
Gijs Boddeus
3d5b1c004a
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 11:03:20 +02:00
Gijs Boddeus
df6a8f7d81
revert 1db5082
2017-10-04 10:57:02 +02:00
Gijs Boddeus
48676f0e2b
revert a77c13c
2017-10-04 10:55:48 +02:00
XhmikosR
1207048319
Add image dimensions in examples page. ( #24236 )
2017-10-04 11:51:11 +03:00
lucascono
8c04a74c8c
Merge remote-tracking branch 'refs/remotes/twbs/v4-dev' into v4-dev
2017-10-04 05:33:17 -03:00
Johann-S
a9e7abd29b
Fix caret position for Dropdown in a bottom navbar
2017-10-04 10:32:32 +02:00
Johann-S
101129763c
Add a navbar-bottom example with a dropup inside.
2017-10-04 10:32:32 +02:00
Johann-S
b6988714a1
Fix dropup in navbar
2017-10-04 10:32:32 +02:00
Johann-S
b29b1e1558
Use imported jQuery object
2017-10-04 09:55:32 +02:00
XhmikosR
722407f502
Update package-lock.json. ( #24235 )
2017-10-04 10:46:12 +03:00
XhmikosR
17a1584e03
Merge branch 'v4-dev' into yiq-function-update
2017-10-04 09:57:54 +03:00
XhmikosR
0a3830997b
Hound: Disable scss. ( #24221 )
2017-10-04 09:57:38 +03:00
Gijs Boddeus
1db5082c3f
rearrange properties in _borders.scss mixins
2017-10-04 08:52: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
Andres Galante
682ad1fff5
adds Andres to the team page
2017-10-03 22:52:19 -07:00
Simon Knox
e731353aac
Use variable for heading margin bottom in reboot
2017-10-03 22:18:48 -07:00
Andres Galante
f2725a6721
#24176 adds a note on the image docs about how to use picture
2017-10-03 22:13:00 -07:00
Mark Otto
742e3a79dd
Update column resets docs to include new section for column breaks
...
- Moves offset reset to the offset section
- Adds new breaks section to fix #24136
2017-10-03 16:10:54 -07:00
Gareth Adams
a02d068b24
Updates docs to match Tooltip type checking ( #22342 )
...
* Updates docs to match Tooltip type checking
Documentation now matches the types defined in the DefaultType constant in
js/src/tooltip.js
* Revert documentation clarify where true is invalid
2017-10-03 20:23:42 +02:00
XhmikosR
ee574b76a7
Switch to lowercase doctype. ( #24217 )
...
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-03 19:34:59 +03:00
Roman O
527f55c2f3
Offset option for dropdown can be function ( #24222 )
...
* Offset option can be function (Popper.js)
* Fix...add function type for offset option
* Remove constants for popper config
* Optimize code. Remove foreach loop.
* Refactoring. Remove getOffset method
2017-10-03 14:34:44 +02:00
Mark Otto
898708dd27
dist
2017-10-02 21:48:56 -07:00
Mark Otto
89970da349
Update input-btn-line-height vars to reassign global sm/lg vars
2017-10-02 21:40:45 -07:00
Mark Otto
4149cb2d17
Update input/button padding to fix cutoff text in Windows Chrome
2017-10-02 21:40:45 -07:00
Mark Otto
976595bd1d
Require quick start to be more explicit about CSS and JS
2017-10-02 21:40:17 -07:00
Trent Clowater
7a7589ffc2
Fix media-breakpoint-between ( #23997 )
...
* Fix media-breakpoint-between
When compiling .scss that uses media-breakpoint between with xs as the lower bound or xl as the upper bound, a compilation error can occur due to $min/$max being set to null, or the resulting .css can be invalid (see issue #23965 ).
(This is basically the same fix that was applied to media-breakpoint-only a short time ago).
* Update _breakpoints.scss
Make houndci-bot recommended changes.
2017-10-02 21:38:59 -07:00
Patrick Yeo
ac69547314
Badges add Sass variable to configure $badge-border-radius ( #24213 )
2017-10-02 21:11:11 -07:00
Lodder
bd858f0ceb
Fix custom-select with "multiple" attribute ( #23055 )
2017-10-02 21:00:57 -07:00
Mark Otto
61cc1d8ca6
fix up colors, closes #23325
2017-10-02 20:57:24 -07:00
Mark Otto
7825144895
dist
2017-10-02 20:51:54 -07:00
Mark Otto
e626277c73
Merge branch 'dropdown-caret' of https://github.com/pat270/bootstrap into v4-dev
2017-10-02 20:51:14 -07:00
Mark Otto
7adf74d585
dist
2017-10-02 20:50:11 -07:00
Patrick Yeo
9ee2fbe580
Nav Pills with open dropdown don't reflect the nav-pills active state. The active state should also be reflected when using collapse plugin inside nav-pills.
2017-10-02 20:48:05 -07:00
Mark Otto
864c657488
Fix buttons that come after the input (input should be under the button)
2017-10-02 20:47:15 -07:00
Patrick Yeo
bf01f27554
First child of input group segmented buttons are off by -btn-border-width
2017-10-02 20:47:15 -07:00
Mark Otto
a455a3e374
tweak output
2017-10-02 20:46:19 -07:00
Mark Otto
90da657546
initial pass at a build bash script for myself
2017-10-02 20:46:19 -07:00
Mark Otto
cd8fd1d2bc
change away from vars
2017-10-02 20:44:23 -07:00
Mark Otto
ad255cf725
update nav
2017-10-02 20:44:23 -07:00
Mark Otto
cf639df5c4
add components section, remove todos
2017-10-02 20:44:23 -07:00
Mark Otto
3d0b07cb68
functions aww yeah
2017-10-02 20:44:23 -07:00
Mark Otto
9db52f9a47
add new thing to a map
2017-10-02 20:44:23 -07:00
Mark Otto
04298fcd10
quote those to match source code
2017-10-02 20:44:23 -07:00
Mark Otto
201303a9d9
nuke the options page, add redirect from it to new theming page
2017-10-02 20:44:23 -07:00
Mark Otto
bdba863e83
bring over colors section
2017-10-02 20:44:23 -07:00
Mark Otto
f0c82ab4ec
port over variable options list
2017-10-02 20:44:23 -07:00
Mark Otto
af28d55541
port latest from options for default vars
2017-10-02 20:44:23 -07:00
Mark Otto
00a0a4debd
Stub out new Theming page
2017-10-02 20:44:23 -07:00
Patrick Yeo
728f579286
Form Validation .valid-feedback and .valid-tooltip are unstyled ( #23527 )
2017-10-02 20:37:28 -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
f58997a0da
dist
2017-10-02 19:12:11 -07:00
Andres Galante
b26eabf2a3
adds a border radius to modal headers ( #23799 )
2017-10-02 18:59:50 -07:00
Herst
aae11ab6ab
Added type="button" to <button>s without any type ( #23866 )
...
https://github.com/twbs/bootlint/wiki/W007
2017-10-02 18:59:37 -07:00
Andres Galante
0c03b70bcb
adds a note on typography docs about rem units on font-size-base ( #23988 )
2017-10-02 18:59:07 -07:00
Andres Galante
2f459afb97
Adds text-muted and text-white to the examples on color utilities ( #23877 )
2017-10-02 18:58:33 -07:00
Herst
a224387a21
Migrate forgotten Bootstrap 3 style offset class ( #23951 )
2017-10-02 18:57:57 -07:00
Paweł Kuna
c86833b3d0
add display table-cell ( #24004 )
2017-10-02 18:57:30 -07:00
Andres Galante
906db62ee2
removes border radius from btn-link ( #24128 )
2017-10-02 18:56:50 -07:00
Luke Frake
c2fb64ce37
Add order first to grid ( #24202 )
...
* Add first class to grid framework to add negative ordering
* Add order-first explination to the docs
2017-10-02 18:56:13 -07:00
Mike Jacobson
1bde860c01
Clarify ScrollSpy 'activate' event element
2017-10-02 18:55:22 -07:00
vsn4ik
b2cadc233e
Remove duplicated code in .card-header
2017-10-02 18:55:05 -07:00
Mark Otto
d0fa826ac3
dist
2017-10-02 17:08:39 -07:00
Mark Otto
6cdcfe6b33
Opaque input borders ( #24198 )
2017-10-02 14:19:13 -07:00
Mark Otto
8fb48eaae2
Revert input group border changes ( #24197 )
...
Turns out #22612 is a bad idea and it makes all sorts of weird visual
glitches when working with form controls and transparent borders.
2017-10-02 14:18:33 -07:00
XhmikosR
49ce5f3a64
Tweak bundlesize's targets. ( #24203 )
...
Separate CSS targets and tighten a couple others targets.
2017-10-02 22:03:12 +03:00
XhmikosR
2891dc143d
Normalize examples' CSS. ( #24210 )
2017-10-02 21:54:47 +03:00
Mark Otto
eaccb60701
dist
2017-10-02 10:56:50 -07:00
wojtask9
9145cc8279
fix .col-form-label paddings and add line-height ( #23121 )
2017-10-02 10:15:32 -07:00
Andres Galante
2430151865
fixes input group btn height ( #23810 )
2017-10-02 10:13:09 -07:00
Andres Galante
acf76a4513
fixes navbar-text link colors ( #23702 )
2017-10-02 10:11:11 -07:00
Félix Saparelli
67d7e26e05
Generate CSS variables for colors, breakpoints, fonts ( #23761 )
...
* Generate CSS variables
See #23349
Supersedes #23446
* Ignore _root.scss for linting
2017-10-01 21:00:24 -07:00
Mark Otto
3ca4d3f88d
dist
2017-10-01 20:52:25 -07:00
Chirag Modi
487e5f8b82
remove Dist fils as per suggestion ( #23092 )
2017-10-01 17:59:26 -07:00
Chirag Modi
deced1bf4d
Fix #23013 : Add boder-top:0 in .list-group-flush .list-group-item ( #23108 )
2017-10-01 17:23:31 -07:00
Chirag Modi
3ff2a2781f
fixed issue with hr tag mention in 23032 ( #23078 )
2017-10-01 16:53:16 -07:00
Mark Otto
79c6e54af1
dist
2017-10-01 12:14:55 -07:00
XhmikosR
44dcc8d719
Make Node.js 6 the minimum version.
...
Also, be consistent with Node.js' name.
2017-10-01 12:01:27 -07:00
XhmikosR
a143f82ccd
Add bundlesize.
2017-10-01 12:01:27 -07:00
Aarón García Hervás
961750e01b
Fix link to Extend section in Migration docs ( #24192 )
2017-10-01 20:23:48 +03:00
XhmikosR
202cd09407
Tweak npm scripts. ( #24146 )
...
* make `css` and `js` "super" scripts which will run both main and docs scripts
* make `js-minify` run all js minify tasks
* use parallel in more places
2017-10-01 11:09:45 +03:00
Mark Otto
e471ea0617
Updates to customizing variables docs ( #24186 )
...
* Variable overrides within the same Sass file can come before or after the default value, but across files they must come first.
* Removed the double :: at the end of the paragraph.
* Fixed usage of overwrite when we mean override.
2017-10-01 09:57:50 +03:00
XhmikosR
499f9dc960
js/tests/visual/tab.html: fix HTML validation errors. ( #24183 )
2017-10-01 09:49:35 +03:00
Andres Galante
3624025a3b
extends the click area of the close btn on modals ( #23783 )
2017-10-01 09:42:24 +03:00
Andres Galante
bbb6ab1275
changes reset for mixin list reset on pagination
2017-09-30 23:36:30 -07:00
Andres Galante
f02f545e0e
changes the order of the close btn on alerts to improve accecibility
2017-09-30 23:32:39 -07:00
Mark Otto
4e2ed6890c
remove that, the example comes first now
2017-09-30 20:30:40 -07:00
Mark Otto
9473a7298e
more links, clarify predefined classes
2017-09-30 20:30:40 -07:00
Mark Otto
72ef6f4d86
be more specific about context and breakpoint scaling
2017-09-30 20:30:40 -07:00
Mark Otto
5463612c4d
be more specific
2017-09-30 20:30:40 -07:00
Mark Otto
6e9100155d
rewrite containers and rows section
2017-09-30 20:30:40 -07:00
Mark Otto
92a9b68372
link to css tricks article, add code snippet to example
2017-09-30 20:30:40 -07:00
Mark Otto
c449f3323a
link to mdn flex doc
2017-09-30 20:30:40 -07:00
Mark Otto
f5ad6e3987
dist
2017-09-30 14:28:03 -07:00
Ari Rizzitano
136c49a13f
Remove dropdown anchor focus override
...
Overriding the focus outline for links within the dropdown menu
causes accessibility issues for keyboard-only users. This
removes the override, reenabling the browser's default focus
outline.
2017-09-30 14:19:00 -07:00
XhmikosR
7b514f48c7
Rename variables and remove unneeded return.
2017-09-29 19:39:25 +03:00
Johann-S
874fd5b952
Manage exceed maximum duration for our test
2017-09-29 19:39:25 +03:00
Johann-S
54d4507281
Use sauce_browsers.json.
2017-09-29 19:39:25 +03:00
Johann-S
b001118c98
Convert sauce_browser.yml to JSON.
2017-09-29 19:39:25 +03:00
XhmikosR
2244d03b34
Remove grunt-saucelabs and Grunt.
2017-09-29 19:39:25 +03:00
Johann-S
b23ff97a85
Specify Travis job ID.
2017-09-29 19:39:25 +03:00
XhmikosR
bec0eb21d5
ES6-ify build/saucelabs-unit-test.js.
2017-09-29 19:39:25 +03:00
Johann-S
210bb221a8
Use jsunitsaucelabs to run our unit tests on Saucelabs
2017-09-29 19:39:25 +03:00
XhmikosR
502ac7ee4d
Lint docs js too and use `strict consistently. ( #24160 )
2017-09-28 17:25:28 +03:00
XhmikosR
fe06814f3e
Move uglify-js's config back to CLI. ( #24147 )
...
We need to pass different options and this seems cleaner at this point.
In order for docs.min.js to keeps all comments, we don't pass `compress`.
2017-09-28 15:35:23 +03:00
Mark Otto
27a015ba15
Reset button element border-radius in Reboot ( #24126 )
2017-09-27 17:01:00 +03:00
XhmikosR
6dd3d91768
example plugin: add data-example-id only if it's been supplied. ( #24127 )
2017-09-27 13:08:03 +03:00
Martijn Cuppens
1d6a6c2abf
Add quotes to mapping keys ( #23701 )
2017-09-27 11:00:42 +03:00
Benjamin Trenkle
7fa20188f2
Remove border-top if list-group follows card-header ( #23022 )
2017-09-27 10:57:39 +03:00
Herst
838924eefc
Mention replacement for .btn-group-justified ( #23838 )
...
Solution mentioned by Chris Baswell at https://stackoverflow.com/a/45969088
2017-09-27 10:53:56 +03:00
Ray Villalobos
71469a2fac
Take out reference to Flex Order ( #23759 )
...
Since flex-order was renamed to just order, change the subtitle.
2017-09-27 10:49:48 +03:00
Ray Villalobos
87c9e3aa5d
Add auto to the list of sizes ( #23786 )
...
I feel like `auto` is missing from the values here and that it should be there. Although it is mentioned below, only a single use case, whereas in other sections it appears with the option to set the left margin of an element to auto, for example.
2017-09-27 10:43:43 +03:00
Moris Zen Pasic
4cfe228151
Changed hex values to follow bootstrap coding guidelines
2017-09-27 09:36:42 +02:00
Moris Zen Pasic
bc2db58b73
Added examples to the existing docs change for more clarity
2017-09-27 09:36:42 +02:00
Moris Zen Pasic
d66f47d099
Making the customization option docs cleared about variable overrides with !default flag
2017-09-27 09:36:42 +02:00
XhmikosR
2693e49e06
Remove unneeded docsearch variable.
2017-09-27 09:22:31 +02:00
XhmikosR
1537129f0b
Update package-lock.json. ( #24133 )
2017-09-27 09:47:09 +03:00
Prateek Goel
0e054fb9c8
Add style for non-overlapping scrollbar in IE ( #24081 )
2017-09-26 22:44:00 +03:00
XhmikosR
0ee85c962e
Revert accidental alt addition from Bootstrap stack image. ( #24122 )
...
Remove accidental `alt` addition from Bootstrap stack image.
2017-09-26 19:13:57 +03:00
Andrew Luca
dfc946b777
Update comment for forms mixins ( #24050 )
...
Check `form-control-focus` mixin, variable name is `$input-focus-border-color`
2017-09-26 18:14:52 +03:00
XhmikosR
c090c79a70
Merge branch 'v4-dev' into btn-active
2017-09-26 17:46:16 +03:00
Andres Galante
3eae92f1fe
Fix color on example btn on navbar ( #24052 )
2017-09-26 17:42:04 +03: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
f17443748d
Move Autoprefixer's config in package.json.
...
This is so other plugins can use it too.
2017-09-26 17:16:27 +03:00
XhmikosR
92d3536306
Mention that dropdowns depend on popper.js too.
2017-09-26 17:04:45 +03:00
XhmikosR
7e6374db92
Minor Markdown consistency changes.
2017-09-26 17:04:45 +03:00
Andres Galante
71c06b75c6
Fixes rounded corners on first and lat child on vertical btn group ( #24119 )
2017-09-26 16:51:27 +03:00
XhmikosR
31c8721913
Normalize all links. ( #24109 )
...
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/ `
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
XhmikosR
3bc9402350
build/*.js: ES6-ify files. ( #24112 )
2017-09-26 15:14:52 +03:00
schwastek
17fd2c9f84
Improve theme-color-level() using abs() ( #24074 )
...
`abs()` gets the absolute value of `$level`.
That way, `if/else` statement can be completely eliminated.
2017-09-26 15:05:59 +03:00
XhmikosR
f615f372e5
Update Jekyll to v3.6.0. ( #24102 )
2017-09-26 14:59:36 +03:00
XhmikosR
8e03f32c9d
Update .gitattributes. ( #24113 )
...
Add .txt and remove the non-existent .py files.
2017-09-26 14:49:51 +03:00
XhmikosR
4d96ad8dfc
Tabs to spaces. ( #24110 )
2017-09-26 14:41:49 +03:00
XhmikosR
2e2ea74254
Move the workbox build to a postdocs-compile script. ( #24106 )
...
This way, it's run for us automatically after `docs-compile`.
2017-09-26 13:08:02 +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
537651c0c6
Update Jekyll ignores. ( #24101 )
...
* ignore `twbsconfig.yml`
* add a trailing slash for folders
2017-09-26 11:57:24 +03:00
XhmikosR
508dde0e33
Add image dimensions in stack image. ( #24100 )
2017-09-26 11:04:25 +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
SpicyDwarf
272745673e
Fix no rounded corners if there is only one card in a card-group ( #24080 )
2017-09-26 00:11:32 +03:00
Johann-S
9b8356ba52
Collapse - Allow to pass jQuery object or DOM element to the parent option
2017-09-25 13:23:13 +02:00
Vasilii Artemchuk
3abf8a0e55
Updated github help links ( #24071 )
2017-09-24 13:22:42 +02:00
Patrick H. Lauke
fd56ea370c
Accessibility fixes to dynamic tabs (aria-selected, remove dynamic tabs with dropdowns)
...
* Use `aria-selected` instead of `aria-expanded`
* Change tab.js to use `aria-selected` rather than `aria-expanded`
* Add `aria-orientation=vertical` to vertical tab list
* Remove dynamic tabs with dropdowns
* Fix non-interactive code examples
* Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
2017-09-24 12:00:54 +02:00
Herst
d33b26d8c7
Fix missing tabindex and role in an example modal
2017-09-23 22:39:34 +02:00
XhmikosR
b4d84b9cdf
Update anchor.js to v4.1.0. ( #24011 )
2017-09-20 12:48:38 +03:00
Andres Galante
00a362d3e1
Add text-light to sample card under Card columns ( #23800 )
2017-09-18 00:51:37 +03:00
XhmikosR
eb2a6f2efd
Update package-lock.json. ( #23975 )
2017-09-17 20:27:30 +03:00
Troy Morehouse
6c70c70f63
fix(scrollspy): Spying on nested navs fails to activate for .nav-link's inside nav-item's ( #23967 )
...
* fix(scrollspy): Handle nested navs when nav-link inside nav-item
* [scrolspy] Find only child .nav-link's inside .nav-item
* [scrollspyt] Add tests for nested navs with nav-link inside nav-item
* fix troy-o's in test
2017-09-17 09:30:37 +02:00
Bardi Harborow
e296c13741
Move Travis to build stages and fix skip browser flag. ( #23961 )
2017-09-17 10:23:19 +03:00
Johann-S
2dcce4ec30
Use cross-env to allow folks to build our js on their OS
2017-09-17 09:12:01 +02:00
Andres Galante
7e3ff772d0
Add light weight to text utility classes ( #23970 )
2017-09-17 09:53:05 +03:00
Henry Zhu
f17b165f0f
Babel 7 ( #23966 )
...
* use .babelrc.js, compile bundled/non-bundled with loose mode
* add back helper, exclude typeof transform
2017-09-17 08:40:48 +02:00
XhmikosR
5cec8e0de6
Minor Sass cleanup and consistency changes. ( #23959 )
2017-09-17 08:18:24 +03:00
XhmikosR
0705ee8070
Update babel-eslint to v8.0.0 and all devDependencies and gems.
2017-09-15 14:57:41 +02:00
Michael
5951508898
Pre-cache key assets with Workboxjs. ( #23533 )
2017-09-15 13:37:34 +03:00
XhmikosR
f5368ae008
Merge pull request #23948 from Rud5G/fix-docs-examples-album-holder.js
...
Album example: fix holder.js calls
2017-09-15 13:24:27 +03:00
XhmikosR
a96d2e2bd4
album/index.html: Refactor Holder code.
2017-09-15 13:20:25 +03:00
Rudger Gravestein
9ff5f65fa8
Update holder.js image data-src + create theme
...
to fix the images
2017-09-14 12:59:13 +02:00
Patrick H. Lauke
d1b3c0c98d
Structure examples with appropriate <main>, <header>, <footer>
...
Structure examples with appropriate `<main>`, `<header>`, `<footer>`
2017-09-13 19:51:08 +01:00
XhmikosR
3e546cacb4
Fix missing .btn class from bd-search-docs-toggler. ( #23942 )
2017-09-13 20:56:19 +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
Gijs Boddeus
cf004433e0
Merge pull request #4 from twbs/v4-dev
...
update forked v4-dev
2017-09-13 16:46:14 +02:00
Mark Otto
75d435f76e
dist
2017-09-12 22:24:15 -07:00
Andres Galante
5becfa6fb1
fixes #23926 responsive state on navbar
2017-09-12 21:41:15 -03:00
Patrick H. Lauke
404c1a37ac
Fix malformed <select> in example
2017-09-12 22:29:09 +01:00
Johann-S
5766360477
Merge pull request #23923 from meteorlxy/patch-1
...
Fix(docs): duplicate class in navbar docs
2017-09-12 10:48:34 +02:00
Johann-S
c22237dfbd
Merge branch 'v4-dev' into patch-1
2017-09-12 10:45:06 +02:00
meteorlxy
6cc8d326e2
Fix(docs): duplicate class in navbar docs
2017-09-12 08:37:37 +00:00
Martijn Cuppens
0ccb1e8d9a
Fix navbar IE ( #23652 )
2017-09-12 11:32:43 +03:00
Johann-S
1a35257642
Merge pull request #23921 from vsn4ik/v4-dev-tooltip-rm-not-necessary
...
Remove not necessary condition in tooltip.js
2017-09-12 07:48:45 +02:00
vsn4ik
d5890cb82f
Remove not necessary condition in tooltip.js
2017-09-11 22:44:42 +03:00
Herst
7add90db9c
Remove hyperlink from navbar doc dropdown ( #23650 )
2017-09-11 16:40:54 +03:00
Johann-S
2fde5bfcbb
Merge pull request #23890 from pat270/collapse-js-with-text-truncate
...
v4 Collapse.js: Accordions with text-truncate causes the page to jump on close
2017-09-11 10:58:34 +02:00
Johann-S
96659a3cad
Merge branch 'v4-dev' into collapse-js-with-text-truncate
2017-09-11 10:54:35 +02:00
Andres Galante
8e56145e45
changes active state color
2017-09-11 00:53:40 -03:00
Rami Yushuvaev
65cb97b3d6
Add an introduction and a table with examples
2017-09-09 17:43:12 -07:00
Rami Yushuvaev
256c539e26
review updates
2017-09-09 17:43:12 -07:00
Rami Yushuvaev
0e3b90c85d
Hiding Elements: new doc section in display.md
...
This new section will replace the `hidden-*` class. https://v4-alpha.getbootstrap.com/layout/responsive-utilities/
More info can be found here at https://getbootstrap.com/docs/4.0/migration/#responsive-utilities
2017-09-09 17:43:12 -07:00
Mark Otto
43574ed1c7
dist
2017-09-09 17:40:22 -07:00
Mark Otto
9cd634fb46
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-09-09 17:39:56 -07:00
Mark Otto
6df1f5338b
fix redirect, close #23888
2017-09-09 17:39:47 -07:00
Mark Otto
1abafb36fe
copy edits
2017-09-09 17:02:42 -07:00
Herst
187fb4d010
Mention removal of contextual progress bar classes
2017-09-09 17:02:42 -07:00
vsn4ik
5da8ff61ad
Use CSS3 pseudo elements in documentation
2017-09-09 17:01:48 -07:00
Andres Galante
aa5e97da04
adds missing important on utility classs
2017-09-09 17:01:15 -07:00
Herst
02c7eae47e
Don't create empty columns in documentation
2017-09-09 17:00:24 -07:00
Mark Otto
d8a5147c38
dist
2017-09-09 16:59:37 -07:00
Patrick Yeo
4527652177
Collapse.js preventDefault if [data-toggle="collapse"] is an anchor tag
2017-09-08 14:53:15 -07:00
Johann-S
cad22335ed
Merge pull request #23876 from vsn4ik/v4-dev-dont-use-short-jquery
...
Dont use short jQuery methods in documentations
2017-09-08 10:49:10 +02:00
vsn4ik
84b3097a4a
Dont use short jQuery methods
2017-09-08 11:41:42 +03:00
Mark Otto
d3d06583c5
consistent comma usage :D
2017-09-07 09:31:50 -07:00
Johann-S
f7f89f5f73
Update callout about the positionning of our Dropdowns
2017-09-07 14:03:37 +02:00
Johann-S
b822b5a17f
Remove placement attribute from our Dropdown plugin
2017-09-07 13:51:25 +02:00
Johann-S
7983ba9473
Add information about our bundled dist files which contains Popper.js
2017-09-07 09:50:51 +02:00
Andres Galante
782ee6f60e
Removes background from form-control-plaintext
2017-09-06 21:02:57 +01:00
XhmikosR
4ec027b770
Update gems and package-lock.json. ( #23850 )
2017-09-06 15:11:24 +03:00
Mark Otto
df47558ef6
dist
2017-09-05 21:05:12 -07:00
vsn4ik
fbd1f52f89
Use site.repo in docs
2017-09-05 21:00:40 -07:00
Mark Otto
0b1875d080
Update form validation migration docs
2017-09-05 20:58:54 -07:00
Mark Otto
5d97a1c4ab
jquery 3 mention
2017-09-05 20:52:47 -07:00
Mark Otto
ff83a0a05b
mention bower drop
2017-09-05 20:52:47 -07:00
Mark Otto
2d3cbe46c2
headings, pointer events
2017-09-05 20:52:47 -07:00
Mark Otto
b2b4ee2008
responsive table break
2017-09-05 20:52:47 -07:00
Mark Otto
802cab529a
Update migration.md
2017-09-05 20:52:47 -07:00
Mark Otto
e7906267f1
Update migration.md
2017-09-05 20:52:47 -07:00
XhmikosR
20802038ca
Update migration.md
2017-09-05 20:52:47 -07:00
Mark Otto
04629019cb
add section to migration docs for important v4 beta 2 changes
2017-09-05 20:52:47 -07:00
Mark Otto
88eca66a34
add title to starter template code snippet
2017-09-05 20:42:16 -07:00
Johann-S
50a8282a79
Merge pull request #23811 from vsn4ik/v4-dev-package-peer-deps-versions-fix
...
Fix jQuery version
2017-09-05 23:00:21 +02:00
vsn4ik
c82110d021
Fix jquery version
2017-09-05 21:49:29 +03:00
Andres Galante
90f6912c99
adds captions and scop col on thead th ( #23755 )
2017-09-04 15:40:13 -07:00
Andres Galante
8672161f75
adds clarification that gris values should be set in px ( #23829 )
2017-09-04 15:39:24 -07:00
Herst
1341ce198d
Update docs for old releases section in README ( #23797 )
...
* Update docs for old releases section in README
Hopefully not many folks are still in the process of transitioning to version 3.
* tweak for future-friendliness
2017-09-04 15:39:12 -07:00
Morva Kristóf
d8881c2f97
Removing extra bracket in introduction docs. ( #23791 )
2017-09-04 15:39:00 -07:00
oxlay
ce46946b92
Improve clarity of documentation for .card-body ( #23691 )
2017-09-04 15:38:00 -07:00
Andres Galante
bd8ab1070b
changes floats to flex on breadcrumbs ( #23683 )
2017-09-04 15:36:12 -07:00
Patrick Yeo
59631a6f04
v4 docs Update Table Responsive to include .table-responsive{-sm|-md|-lg|-xl} ( #23665 )
2017-09-04 15:35:24 -07:00
Ben Hayward
6c402a6c7c
Add correct button-variant mixin hover color ( #23657 )
2017-09-04 15:34:10 -07:00
Herst
f8048c817f
Mention dropping of .checkbox/.radio ( #23656 )
...
* Mention dropping of .checkbox/.radio
* copy edirts
2017-09-04 15:33:18 -07:00
Herst
612eff6369
Remove usage of dropped .checkbox from docs ( #23655 )
2017-09-04 15:31:18 -07:00
Tanguy Krotoff
c770e68836
Drop Bower support ( #23568 )
2017-09-04 15:29:05 -07:00
Herst
b5e986cd6b
IE11 supports pointer-events CSS property
...
See http://caniuse.com/#feat=pointer-events
2017-09-04 15:22:26 -07:00
Johann-S
a20f614fe4
js-minify task should just minify our dist files not our docs.min.js
2017-09-04 16:15:47 +02:00
Johann-S
6583896817
Merge pull request #23814 from alundiak/alundiak-patch-1
...
Suggestion to use consistent information about running docs locally
2017-09-04 10:47:00 +02:00
Andrii Lundiak
edd776b5a0
Suggestion to use consistent information about running docs locally
...
Idea is about to leave Ruby/Bundler commands in tooling section/readme/space, and on main readme use npm scripts syntax.
2017-09-03 15:32:18 +02:00
Johann-S
900da3e235
Merge pull request #23732 from techdavid/fix-jumping-modal-on-resize
...
Fix jumping modal when the viewport is resized
2017-09-03 13:00:10 +02:00
Johann-S
e04e42d08c
Merge branch 'v4-dev' into fix-jumping-modal-on-resize
2017-09-03 12:56:04 +02:00
Johann-S
2e5f1e2286
Merge pull request #23671 from Herst/patch-5
...
Remove speculations about jQuery 3
2017-09-02 19:35:08 +02:00
Johann-S
bfa4df21f3
Merge branch 'v4-dev' into patch-5
2017-09-02 19:31:12 +02:00
Johann-S
8f7a8cf5a7
Merge pull request #23807 from vsn4ik/fix-migration-buttons-stateful-link
...
Fix migration button stateful link
2017-09-02 19:19:22 +02:00
vsn4ik
7a4285b4e7
Fix migration button stateful link
2017-09-02 16:55:46 +03:00
Vasilii Artemchuk
4b9c2ea5a8
Update yarn URL in README.md ( #23795 )
2017-09-02 15:41:16 +03:00
Johann-S
10ff1c70ce
Merge pull request #23718 from techdavid/fix-unwanted-padding-on-modal
...
Fix unwanted body padding when a modal is opened
2017-09-02 09:09:41 +02:00
Johann-S
37e105333d
Merge branch 'v4-dev' into fix-unwanted-padding-on-modal
2017-09-02 09:04:04 +02:00
Eugenio
56e415d57d
Correct typo ( #23805 )
...
Shouldn't this be 'output' ?
2017-09-01 22:58:53 +01:00
Patrick H. Lauke
e0c95f88db
Correct typo in in-page anchor ( #23777 )
...
Fixes https://github.com/twbs/bootstrap/issues/23773
2017-09-01 15:01:17 +03:00
Johann-S
c7d9762413
Merge pull request #23684 from andresgalante/breadcrumbs-a11y
...
Adds accessibility notes to breadcrumbs
2017-09-01 08:19:57 +02:00
Andres Galante
346f60cbd9
adds accecibility notes to breadcrumbs
2017-08-31 17:44:04 -04:00
Johann-S
a4667be152
Regroup our jQuery check in the same IIFE
2017-08-31 20:54:15 +03:00
Johann-S
c3fe53cd42
Use rollup to add our copyright instead of a custom script
2017-08-31 19:12:32 +02:00
Johann-S
9936bf5944
Create a bundled release of Bootstrap with Popper.js inside
2017-08-31 18:43:04 +02:00
Herst
0165a620ec
Adapt UglifyJS config for IE10
...
See mishoo/UglifyJS2#2198
2017-08-31 16:40:26 +02:00
Johann-S
870b743b81
Wall of Browser Bugs: Update table-cell border Chrome bug ref #23753
2017-08-31 14:12:05 +02:00
Chris Rebert
6cd6777943
Wall of Browser Bugs: Update table-cell border Chrome bug ref
...
https://crbug.com/568691 has been succeeded by https://crbug.com/749848
2017-08-30 14:19:08 -07:00
Johann-S
e1a9f63b14
Collapse - typo correct aria-controls for multi collapse
2017-08-30 08:41:57 +02:00
Chirag Modi
b04a7c7663
typo correct aria-controls
2017-08-30 11:37:45 +05:30
David Bailey
45baa15932
Merge branch 'v4-dev' into fix-jumping-modal-on-resize
2017-08-29 22:42:49 +01:00
David Bailey
a766dd5692
Merge branch 'v4-dev' into fix-unwanted-padding-on-modal
2017-08-29 22:42:29 +01:00
Johann-S
0b06ad69d2
Merge branch 'v4-dev' into patch-5
2017-08-29 21:32:52 +02:00
Jqmey
1ea63d1312
Fix misspell
2017-08-29 08:53:44 -07:00
David Bailey
cbaf7a7b79
Fix failing test
...
_adjustDialog should be called when the modal is first displayed to prevent it jumping position when the viewport is resized
2017-08-29 15:42:58 +01:00
David Bailey
ce41d3fd15
Add failing test
2017-08-29 15:36:37 +01:00
David Bailey
2622a015f2
Fix unit tests in PhantomJS
...
Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test.
One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
2017-08-29 12:01:41 +01:00
David Bailey
3f2a8db471
Use getBoundingClientRect instead of jQuery
2017-08-28 18:55:45 +01:00
David Bailey
2725acc9e5
Use jQuery outerWidth instead of offsetWidth
2017-08-28 18:44:56 +01:00
David Bailey
a4fff7c383
Fix unwanted body padding when a modal opens
...
Prevents the test from failing
2017-08-28 18:35:47 +01:00
David Bailey
487513ff03
Add failing test
...
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-28 16:21:04 +01:00
Christian Oliff
78f29d2b3c
Update URL for supported browsers
2017-08-27 18:19:57 +10:00
Valentin Alexiev
e8a03ea591
Add missing class in the list-group example with links ( #23677 )
2017-08-26 15:05:53 +03:00
XhmikosR
e60c451e8b
Run all lint targets in test script. ( #23685 )
2017-08-26 14:57:50 +03:00
XhmikosR
8876334b7f
Fix npm run docs-github script. ( #23688 )
...
`$npm_config_tmp` is a non-existent variable.
Also, use double quotes since single ones don't work.
Finally, git ignore the temp file.
2017-08-26 12:59:04 +03:00
meeque
9612830701
Add unit test for xss in data target attribute
2017-08-25 23:20:14 +01:00
Johann-S
bcad4bcb5f
Fix XSS in data-target
2017-08-25 23:20:14 +01:00
Gijs Boddeus
4356d08abb
Merge pull request #3 from twbs/v4-dev
...
update from official repo
2017-08-25 23:29:40 +02:00
David Bailey
ba6a6f1369
Fix sticky margin when a modal is opened ( #23669 )
...
* Adjust margin for sticky elements on modal
Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661 .
* Add unit tests for margin of sticky elements on modal
2017-08-25 22:01:41 +01:00
Herst
0fdbaaf885
Remove speculations about jQuery 3
2017-08-25 14:01:34 +02:00
Johann-S
5a90b4aa3e
Collapse - preventDefault only on <a> elements not inside the collapsible
...
element
2017-08-25 09:48:35 +01:00
Johann-S
4571ab0e57
Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover was disabled
2017-08-24 09:33:49 +01:00
XhmikosR
3a6fc265f6
Use the Jekyll config variable for popper.min.js.
2017-08-23 10:43:57 +03:00
Johann-S
a416d32521
Update Popper.js to 1.12.3
2017-08-23 10:43:57 +03:00
Johann-S
b72489a851
Update which required jQuery release folks should use
2017-08-23 09:55:09 +03:00
Johann-S
6063b0dc65
Enable the no-return-assign rule.
2017-08-23 00:05:38 +03:00
XhmikosR
ef8c77d8dc
Tweak ESLint rules.
2017-08-23 00:05:38 +03:00
Chirag Modi
0492c3a4cd
remove d-flex class from img tag in docs
2017-08-22 11:09:16 -07:00
Svyatoslav Polishchuk
70ca04bbdc
replaced basic line-heights variable with button's line-heights variable for button size classes
2017-08-22 11:08:22 -07:00
Patrick H. Lauke
6ca451ebf8
Add pointer-events declarations
...
make outer `.modal-dialog` pass through events for custom click
handling, counteract it for the actual `.modal-content`
2017-08-22 10:54:12 -07:00
Patrick Yeo
c1865b4563
Add momentum scrolling on responsive tables for webkit touch devices
2017-08-22 10:47:52 -07:00
Patrick Yeo
f66fa3fa2b
Generate series of .table-responsive-* classes to accomodate overflowing tables in a variety of screen sizes
2017-08-22 10:47:52 -07:00
Patrick Yeo
f7eb3c98b2
.thead-dark and .thead-light border color should display the right border color
2017-08-21 18:20:14 -07:00
Patrick Yeo
5c95dcc300
v4 docs Update Table docs with .table-dark and .thead-light changes
2017-08-21 18:20:14 -07:00
Patrick Yeo
3bf3bdf420
Rename .table-inverse, .thead-inverse, .thead-default to .table-dark, .thead-dark, .thead-light respectively
2017-08-21 18:20:14 -07:00
Patrick Yeo
0759427935
( #22414 ) Rename variables $table-inverse-bg, $table-inverse-accent-bg, $table-inverse-hover-bg, $table-inverse-border-color, $table-inverse-color to $table-dark-bg, $table-dark-accent-bg, $table-dark-hover-bg, $table-dark-border-color, $table-dark-color for consistency
2017-08-21 18:20:14 -07:00
Patrick H. Lauke
6b6f45ad67
Exclude input type=range from touch-action:manipulation
2017-08-21 22:45:11 +01:00
Mark Otto
bd3ca58c08
Rename grayscale function to gray
2017-08-21 13:55:25 -07:00
SKmedix
022b41ed9b
Added missing dot ( #23601 )
2017-08-21 18:30:55 +03:00
Иван Жеков
721d948d94
Remove trailing spaces ( #23593 )
2017-08-21 14:51:36 +03:00
Mark Otto
d2973b3710
remove mention of clearfix source from docs, closes #23578
2017-08-20 14:08:57 -07:00
Mark Otto
22f6ee52f0
remove commented out code, fixes #23530
2017-08-20 14:06:05 -07:00
Mark Otto
6bea2e24fe
dist
2017-08-20 13:36:58 -07:00
Mark Otto
26e6d8b2b2
drop the now unused -color variable
2017-08-20 13:36:16 -07:00
Mark Otto
c0434f69f4
Merge branch 'fix/badge-default-colors' of https://github.com/jonwolski/bootstrap into jonwolski-fix/badge-default-colors
2017-08-20 13:35:06 -07:00
Mark Otto
834ee9b433
Simplify selector and only override what we set
...
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors.
2. Rather than override all border values, we only override what we set with `border-top`.
2017-08-20 12:21:24 -07:00
gijsbotje
bb32e91154
added suggested fix for list-groups with a elements
2017-08-20 12:21:24 -07:00
gijsbotje
2ba0127c91
fixes double border when .list-group.list-group-flush is preceded by .card-header
2017-08-20 12:21:24 -07:00
Mark Otto
25bbfcdd7c
dist
2017-08-20 12:09:33 -07:00
Alex Chegodaev
1da730c67f
added @content directive to media-breakpoint-only mixin for min and max cases
2017-08-20 11:46:55 -07:00
Mark Otto
c4b3d81887
Drop the variables file table of contents and update the comment at the top
...
I never use this dang list and it just falls out of date far too easily. Dropping for my own sanity.
2017-08-20 11:42:19 -07:00
gijsbotje
6fc9dde727
equalize height of the first card of the card-group
2017-08-20 11:41:16 -07:00
Albert Willemsen
f822307694
fixed package.json jspm section.
2017-08-20 11:40:21 -07:00
Simon Podlipsky
b5a2441f1b
Changed Typography title to Text
2017-08-20 11:32:15 -07:00
XhmikosR
f67805c6c0
Update redirect.html
2017-08-20 11:31:30 -07:00
Mark Otto
fd8c052c67
Restore grid offset classes
...
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.
Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Jeroen van Warmerdam
d5db28d183
Carousel prev/next controls are renamed accordingly ( #23561 )
2017-08-19 12:19:33 +03:00
XhmikosR
41bcab6900
Fix favicons inclusion after e932345. ( #23473 )
2017-08-18 17:35:45 +03:00
Jon Wolski
f07d870381
Remove color property from badge class
...
I suggest removing `color: #FFF` from the `badge` class, because it is
provided by the `badge-<modifier>` classes along with a
background-color, whereas there is no corresponding background-color
provided on the `badge` class itself.
Background
----------
According to the documentation:
> [badge] Requires one of the contextual, color modifier classes for `color` and
> `background-color`.
That is, color and background color should be provided by a modifier
class, rather than the badge class itself.
e.g. `<span class='badge badge-primary'>4</span>`
In general, providing a `color` property without also providing a
`background-color` should be avoided. [W3 QA tips]
In this context, this is a problem only if someone creates a `badge`
without providing a modifier. Such an omition may be difficult to trouble-shoot,
because this will most likely yield white text on a white background.
[W3 QA tips](https://www.w3.org/QA/Tips/color )
2017-08-18 09:35:00 -05:00
XhmikosR
74d96392d2
Update devDependencies and fix a typo in comment. ( #23534 )
2017-08-18 16:55:59 +03:00
XhmikosR
94cb75ad2f
Update reboot.md ( #23521 )
2017-08-18 15:40:01 +03:00
Johann-S
58994a16c5
Add a unit test to check if the carousel do not cycle when its parent isn't visible
2017-08-17 17:48:14 +01:00
Johann-S
d2bd8fb7a9
Unit test to check if our carousel do not cycle when we cannot see it
2017-08-17 17:48:14 +01:00
Johann-S
58b54b6c15
Carousel - do not call next when the carousel or the parent isn't visible
2017-08-17 17:48:14 +01:00
Jonathan Berger
a77f515a22
Fix error in Alerts component doc ( #23522 )
2017-08-17 19:01:51 +03:00
XhmikosR
27637cf3bd
Remove the unneeded d-block from .carousel-items. ( #23472 )
2017-08-17 12:11:31 +03:00
Gijs Boddeus
a103958975
Merge pull request #2 from twbs/v4-dev
...
browsers-devices.md: fix typo. (#23495 )
2017-08-16 20:41:53 +02:00
XhmikosR
1b95964291
browsers-devices.md: fix typo. ( #23495 )
2017-08-16 18:52:24 +03:00
Gijs Boddeus
06d4c6d273
Merge pull request #1 from twbs/v4-dev
...
updating fork of BS to v4-beta1
2017-08-15 23:43:36 +02:00
Retroity
7b873fa0a1
Fixed Example Carousel so it works on mobile ( #23470 )
2017-08-15 22:13:58 +03:00
Mark Otto
e82d541836
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-08-15 10:43:45 -07:00
Mark Otto
62a3e9c1f0
fixes #23464 : update grid migration docs to mention order replaced push/pull
2017-08-15 10:43:16 -07:00
Rolandas Barysas
b150410660
Remove $zindex-dropdown-backdrop from docs ( #23461 )
...
It was removed in 6d64afe .
2017-08-15 18:16:40 +03:00
XhmikosR
839fa0fe98
README.md: use https for the Bootstrap logo. ( #23458 )
2017-08-15 18:08:54 +03:00
XhmikosR
7388d1acd3
Merge pull request #23457 from twbs/v4-dev-xmr-liquid-whitespace
...
Reduce liquid's whitespace for a few pages and move about menu to the end.
2017-08-15 17:53:48 +03:00
XhmikosR
703c7daf57
Move About menu link to the end.
2017-08-15 15:06:27 +03:00
XhmikosR
1f4486c31b
Reduce liquid's whitespace for a few pages.
...
Also fix a couple of typos while at it and change header tags' order.
2017-08-15 15:03:15 +03:00
XhmikosR
ac718c9b6d
Merge pull request #23101 from twbs/v4-dev-xmr-docs-favicons
...
docs: New favicons and add a service worker
2017-08-15 15:00:54 +03: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
XhmikosR
aadf2dcd03
Beautify _config.yml. ( #23448 )
2017-08-15 14:25:19 +03:00
Mark Otto
96e4efb49a
fix docs version, closes #23421
2017-08-14 22:34:42 -07:00
Mark Otto
5b8738afc1
Fix .btn-outline-light hover color
...
Uses some if/else action to ensure there's readable text on hover. Swapped out a hex value to a variable while I was in there.
Fixes #23398 , fixes #23351 .
2017-08-14 21:07:35 -07:00
Mark Otto
ca7b7cd377
dist
2017-08-14 20:23:45 -07:00
Mark Otto
a80198db4d
De-dupe width on .fluid-container ( #23402 )
...
Fixes #23397
2017-08-14 18:11:44 -07:00
Ahmad Awais
0909b46868
FIX: Broken 'About' Link in the Footer ( #23367 )
2017-08-14 18:11:11 -07:00
Casper
c8678dca41
Add traditional Chinese in translations.yml ( #23357 )
2017-08-14 18:10:47 -07:00
Andres Galante
77777b388d
Adds a default flag to paragraph-margin-bottom ( #23420 )
2017-08-14 18:09:44 -07:00
Peder Johnsen
6a49f88d8f
Small typo on screenreaders page ( #23416 )
...
Just fixes small typo
2017-08-14 18:09:16 -07:00
Jacob Müller
63909cacb1
Remove remaining v4 alpha references ( #23414 )
...
* Remove remaining references to v4 Alpha
This commit removes the remaining refrences to the v4 Alpha website and replaces them with the
corresponding v4 Beta ones.
**Note:** We have to hard code the current docs version at some places. Wouldn't it be good to have a `/docs/latest/` redirect to solve this "issue" in the future?
* Don't update the domain in the CNAME file
2017-08-14 18:08:31 -07:00
Jurre
d3f09ff3ea
Removed comment ( #23415 )
...
There is no _custom.scss file anymore.
2017-08-14 18:07:44 -07:00
jipexu
20af0373f3
Mention badge-default in migration docs, fix typo on popover docs ( #23409 )
2017-08-14 14:04:06 -07:00
Arthur Franco
6d6d42b56a
Adding Gemfile to package.json
...
Gemfile was missing. Couldn't compile documentation when using npm.
2017-08-14 14:03:06 -07:00
Andres Galante
1cfbc2c62d
changes 1px to border-width variable on cards
2017-08-14 14:02:16 -07:00
Cory Becker
2564ee98a6
Remove apostrophe
2017-08-14 13:59:40 -07:00
Patrick Yeo
ea854233b7
v4 docs Add description for global variable $enable-caret
2017-08-14 09:28:16 -07:00
Patrick Yeo
e6042e6f44
Add option to disable carets on dropdowns through $enable-caret
2017-08-14 09:10:17 -07:00
Mark Otto
7de266d4dd
fewer inline styles, more styles in head; flexbox it
2017-08-13 17:50:29 -07:00
Mark Otto
92079290f6
Merge branch 'style-redirect-page' of https://github.com/JasonEtco/bootstrap into JasonEtco-style-redirect-page
2017-08-13 17:12:17 -07:00
Mark Otto
0f2acc4b9e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-08-13 16:47:45 -07:00
Mark Otto
7739388938
Merge branch 'patch-1' of https://github.com/heikojansen/bootstrap into heikojansen-patch-1
2017-08-13 16:46:43 -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
Tom Scholz
012224386c
Moved watch task up to match the rest of the package.json ( #22756 )
2017-08-13 14:59:44 -07:00
Tomáš Kout
453a5fa033
Move the gap between inline checkboxes to right ( #22607 )
2017-08-13 14:58:47 -07:00
Mark Otto
0bc39aa30a
Use empty Sass map and merge into it for easier customization of color maps ( #23260 )
2017-08-13 14:56:30 -07:00
Mark Otto
cd22eb1da0
Button code cleanup ( #22951 )
...
* use a mixin there
* revamp .btn-link to match default and outline variants
* remove unnecessary properties
2017-08-13 14:55:28 -07:00
Mark Otto
bb0cab9f10
move max-width: 100% on .container to the root of the make-container mixin so it's not repeated at compilation ( #22947 )
2017-08-13 14:54:57 -07:00
Mark Otto
54d76805a5
Redo .card-deck and .card-group so they're always flex ( #22860 )
2017-08-13 14:53:24 -07:00
Mark Otto
2be34d5ce9
dist
2017-08-13 12:59:27 -07:00
XhmikosR
30e27e7942
Merge pull request #23386 from twbs/v4-dev-xmr-up-jekyll
...
Update Jekyll to v3.5.2 and add `meta generator` tag
2017-08-13 20:46:37 +03:00
XhmikosR
acba161c4e
Add meta generator tag.
2017-08-13 11:58:04 +03:00
XhmikosR
f8627785ae
Update Jekyll to 3.5.2.
2017-08-13 11:58:04 +03:00
Alan Orth
b12d28c58e
docs/4.0/examples/blog: Use ml-sm-auto instead of offset-sm-1 ( #23388 )
...
Bootstrap 4.0 Beta 1 dropped the offset classes in favor of using margin utilities. Update the blog example in the docs to use the appropriate `ml-auto` instead of `offset-sm-1` class to retain a pixel perfect with previous versions.
2017-08-13 11:57:25 +03:00
Jason Etcovitch
3f36ac29fa
Add npm install step to docs instructions ( #23385 )
2017-08-13 11:00:59 +03:00
Jason Etcovitch
0a65b059bf
Style redirect page
2017-08-13 00:04:19 -07:00
Mark Otto
bde9c64ca9
Apply the invalid/valid state to the class name
2017-08-12 18:24:49 -07:00
Patrick Yeo
80cf395e4d
Remove vertical-align: middle from .input-group-addon and .input-group-btn left over from V3
2017-08-12 18:22:48 -07:00
Patrick Yeo
02ae73fc0f
Apply align-items: center; to .input-group instead of input group sub components, causes .input-group .form-control and .input-group-addon to be large when next to a tall element
2017-08-12 18:22:48 -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
Steven Black
7b8afff038
Fix broken Examples link in the docs footer include – footer.html. ( #23348 )
...
Re: #23343 – **Broken Links on getbootstrap.com**
Clicking the `Examples` link in the Docs footer yields 404.
http://getbootstrap.com/examples/
If merged, this makes the footer `Examples` link like the one in docs-navbar.html which is the same folder.
Therefore `_includes/footer.html` and `_includes/docs-navbar.html` now use the same link to `Examples`.
2017-08-12 19:35:19 +03:00
razh
9d988de054
Remove extra spaces from spacing utilities ( #23337 )
2017-08-12 09:11:41 +03:00
XhmikosR
45671b0a41
Update package-lock.json. ( #23342 )
2017-08-12 09:00:25 +03:00
Jesse Mandel
a00006d0a8
Add popper.js as a NuGet dependency to match project.json ( #23338 )
...
https://github.com/twbs/bootstrap/issues/22359
2017-08-11 13:41:33 -07:00
Federico Zivolo
713cfdd130
docs: fix Popper.js name and removed comma ( #23335 )
...
* docs: fix Popper.js name and removed comma
* docs: restore comma
2017-08-11 10:58:34 -07:00
béla
3935e069f0
fixing list-group badge example ( #23293 )
...
https://github.com/twbs/bootstrap/issues/23291
2017-08-11 10:24:25 -07:00
Jonathan
d9d9c4b653
Use input type search for search fields
2017-08-11 10:22:01 -07:00
Johann-S
53786e7a81
Replace dependencies badge by peer dependencies badge
2017-08-11 10:20:25 -07:00
XhmikosR
9e6c11e329
Remove IE 10 viewport bug workaround JS.
2017-08-11 10:18:49 -07:00
Brian Surowiec
860ca6dee8
Fix malformed link
2017-08-11 10:15:07 -07:00
Clark Winkelmann
ac9176be92
Fix .table-info migration text
...
.table-info should be .info in bootstrap 3
2017-08-11 10:14:00 -07:00
XhmikosR
8a7fe34005
Fix about sidebar.
2017-08-11 10:12:51 -07:00
Steven Black
716e1247bf
“Sass” is standard in text and headings. ( #23328 )
2017-08-11 18:50:03 +03:00
Chirag Modi
6a5a38106a
Fix broken links in doc ( #23324 )
2017-08-11 17:40:41 +03:00
XhmikosR
77bd8fe91a
Remove text/javascript since it's the default one. ( #23321 )
2017-08-11 17:29:25 +03:00
XhmikosR
f8e89c52b5
Fix JavaScript case and a typo. ( #23320 )
2017-08-11 16:50:08 +03:00
Jan Karlo Dela Cruz
537b5f0127
Fix broken links in documentation. ( #23315 )
2017-08-11 16:26:51 +03: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
XhmikosR
3820fd1ce7
Merge pull request #23087 from twbs/v4-dev-xmr-tabs-fix
...
tabs: fix nested tabs.
2017-08-11 15:14:48 +03:00
Johann-S
2eb1e687bd
Improve previous selector for nested tabs
2017-08-11 15:04:07 +03:00
Johann-S
edf90c1bc4
Add unit test for nested tabs
2017-08-11 15:04:07 +03:00
Johann-S
640c13062c
When we show our tabs element use children to be more restrictive
2017-08-11 15:04:07 +03:00
XhmikosR
b55fa5579b
tabs: make the active selector more restrictive again.
...
When one uses say a carousel inside a tab, the `.active` selector previously matches the carousel ones too leading to broken tabs.
It's not the perfect solution but should the job for now.
2017-08-11 15:04:07 +03:00
XhmikosR
10bb79a250
Move inline SVGs to includes. ( #23297 )
...
Also:
* compress them with SVGOMG
* add titles
* add `focusable="false"`
2017-08-11 14:55:54 +03:00
Sean
ce35fdd527
Updated Feather link ( #23303 )
...
Feather link didn't go anywhere.
Changed feather link from `colebemis.com/feather` to `feathericons.com`
2017-08-11 14:42:02 +03:00
béla
06044d5f82
Update Rubygems version. ( #23289 )
2017-08-11 13:54:24 +03:00
Garth Bjerk
bfd05c3423
Fix the broken about link in the footer ( #23298 )
2017-08-11 13:43:06 +03:00
XhmikosR
8d84779a7d
Fix SRI hashes. ( #23286 )
2017-08-11 13:24:57 +03:00
XhmikosR
7bfc6ab6fc
Merge pull request #23301 from twbs/v4-dev-html-errors
...
Fix HTML errors
2017-08-11 13:01:51 +03:00
XhmikosR
7a9ab5bfe1
Disable attr-name-style.
...
Pretty useless, we need to switch to the official HTML validator ASAP.
2017-08-11 12:52:44 +03:00
XhmikosR
61e8aa2a55
Fix HTML validation errors.
2017-08-11 12:43:17 +03:00
Mark Otto
14cb6a6495
dist
2017-08-10 23:35:04 -07:00
Patrick Yeo
34257d25a5
Pagination border-widths greater than 1px cause uneven borders between items
2017-08-10 23:24:37 -07:00
Patrick Yeo
a0521efbb5
Input Group Addon add option to configure $input-group-addon-color
2017-08-10 23:11:18 -07:00
Patrick Yeo
d36f5c7fa5
v4 docs remove left over Tooltips and Popover documentation from Button Group page
2017-08-10 23:10:42 -07:00
XhmikosR
2f3c24f03d
Update Jekyll to v3.5.1.
2017-08-10 23:09:31 -07:00
Christian Oliff
b5f89d5672
Remove the Internet Explorer 10 for Windows Phone 8 workaround ( #23122 )
...
I suggest that there's no longer a need to include the section on workaround for the IE10 bug on Windows Phone 8. Not only was this bug patched in a later release of Windows Phone 8 (which shipped in 2013), but Windows Phone 8's support ended a long time ago - even its successor Windows Phone 8.1 is no longer supported by Microsoft. The potential audience affected by this bug is likely microscopic so I suggest it can be safely removed.
I suggest the workaround JS (http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js ) can also be safely removed from the docs and examples but I haven't done that in this PR.
2017-08-10 23:06:15 -07:00
Prateek Goel
7b66aeb2f6
Fix to Chrome inheritance bug ( #22872 ) ( #23118 )
...
* Fix to Chrome inheritance bug (#22872 )
* Remove box-sizing from html
box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
2017-08-10 23:05:32 -07:00
Patrick Yeo
ffa789327b
Custom File padding-x and padding-y values are reversed ( #23067 )
...
Custom File `$custom-file-focus-box-shadow` should show even if box shadows are disabled
Custom File variables should inherit from inputs
2017-08-10 23:01:52 -07:00
Mark Otto
5b584c2619
missed a modifier
2017-08-10 23:00:37 -07:00
Mark Otto
e9c24b0cda
clarify text, break up larger paragraph, shorten
2017-08-10 23:00:37 -07:00
Mark Otto
11299fe47c
Update badges in buttons examples
...
- Given buttons a required modifier (.btn alone is incomplete)
- Given the primary button, use a .badge-light for better contrast
- Consolidate example and highlight code with a `{% example %}` block
2017-08-10 23:00:37 -07:00
Prateek Goel
7c452ac607
Add margin variable for paragraphs ( #23140 )
2017-08-10 23:00:01 -07:00
Prateek Goel
9497c2164c
Add margin variable for breadcrumb ( #23138 )
...
* add margin variable for breadcrumb
* add margin variable for breadcrumb correction
* breadcrumb margin variable changes after review
2017-08-10 22:59:21 -07:00
Patrick Yeo
c5903ddfd6
$input-height-inner-lg should use $font-size-lg instead of $font-size-sm (#23150 )
2017-08-10 22:58:40 -07:00
Morgan Stone
b76357d57d
Reduce number of spacing rules ( #23208 )
...
* reduce # of spacing rules by combining x & y with t r b l
* Remove unnecessary spaces
2017-08-10 22:58:12 -07:00
Johann-S
7b0a0b246c
Add a README.md badge to track our dependencies and require jQuery >=3.0.0. ( #23125 )
2017-08-10 22:57:05 -07:00
Patrick Yeo
e25b11d433
v4 docs Input Group Sizing section should display .input-group-sm ( #23151 )
2017-08-10 22:56:32 -07:00
Pascal Pixel
4634b39a1b
Emoji Defaults ( #22565 )
2017-08-10 22:51:42 -07:00
Dave Poole
120a14237e
remove unnecessary line-height
2017-08-10 22:50:59 -07:00
Dave Poole
36a21f355c
remove comments, align-items, and unnecessary height
2017-08-10 22:50:59 -07:00
Dave
1ab4f57af4
Fixes PropertySortOrder errors
2017-08-10 22:50:59 -07:00
Dave
ad84eeb6e9
Fixes hound code style/standards
2017-08-10 22:50:59 -07:00
Dave
2a2231d55b
Update progress.md to reflect setting height on .progress
2017-08-10 22:50:59 -07:00
Dave
c2c06bc581
_progress.scss: makes bars 100% height, centers labels horizontally & vertically
2017-08-10 22:50:59 -07:00
CarloMartini
0bb9fd2082
Update modal.md
...
Removed a duplicate explanation.
2017-08-10 22:49:15 -07:00
envolute
eeb1ccab9b
Change border class
...
The class ".border" (css/utilities/_borders.scss) is set the border-color to "$gray-200".
So I see that it would be nice to create a variable for the border color "$border-color". Because the default border should not always be "gray-200".
Another thing, there is a "$border-width" variable. Would not it be better to use this variable to set the default width of the border?
2017-08-10 22:48:26 -07:00
envolute
0c3ed5d3f0
Add "$border-color" variable
2017-08-10 22:48:26 -07:00
Mark Otto
79fcb527bf
Add SF Mono to the monospace font stack
2017-08-10 22:47:54 -07:00
Patrick Yeo
056e5594ef
Only add CSS transitions on Buttons for background-color, border-color, and box-shadow
2017-08-10 22:47:18 -07:00
Mark Otto
365c9753f8
Ensure alignment of modal dismiss when no .modal-title is present
2017-08-10 22:45:48 -07:00
Dillon Chanis
9706ce72c9
Add clear description and use case with example
2017-08-10 22:45:35 -07:00
Dillon Chanis
b1b8aedf0e
Add use case description and example
2017-08-10 22:45:35 -07:00
Mark Otto
d23813988a
Add examples of forms in dropdown menus
2017-08-10 22:44:57 -07:00
Mark Otto
09019a8ecd
Set explicit text-align on <body> element so we can use inherit to override the default <th> text-align value
2017-08-10 22:43:50 -07:00
Mark Otto
caa7117e23
Update javascript.md
2017-08-10 22:42:23 -07:00
Varunram
5538967381
Add event.preventDefault documentation to javascript.md
2017-08-10 22:42:23 -07:00
Nathan Woltman
f95282c27e
Fix border on input group elements and custom form inputs
...
c3e4cbd changed the border of input elements to be translucent. This commit makes
input group elements and custom form inputs follow the same pattern.
2017-08-10 22:41:21 -07:00
Mark Otto
1846ab34f6
300, not light
2017-08-10 22:40:02 -07:00
Mark Otto
1e38b45980
Add $font-weight-light var
2017-08-10 22:40:02 -07:00
Mark Otto
ed4f5778a9
Add .font-weight-light class, add !important to the classes
2017-08-10 22:40:02 -07:00
Mark Otto
db3dcb7c66
Mention util.js on all JS plugin pages ( #22955 )
...
Fixes #20660
2017-08-10 22:38:45 -07:00
Mark Otto
006590ed9a
Remove broken CSS that tried to reset the absolute positioning when there was no text
2017-08-10 22:36:35 -07:00
Mark Otto
3fbdedbf22
Add basic property-value utils for position
2017-08-10 22:35:38 -07:00
Mark Otto
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07: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
39d53b09ff
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-08-10 20:44:17 -07:00
Mark Otto
7a5dd0d1ce
dist
2017-08-10 20:43:53 -07:00
Jonathan
94e860c557
Dropped .radio-inline and .checkbox-inline
...
Dropped `.radio-inline` and `.checkbox-inline`.
2017-08-10 20:42:55 -07:00
Mark Otto
8c8f7761d0
package-lock update
2017-08-10 20:42:11 -07:00
XhmikosR
f2304e74bd
Update devDependencies. ( #23264 )
2017-08-10 05:41:05 +03:00
Mark Otto
72ddc091dd
move to div for block level
2017-08-09 08:34:28 -07:00
Mark Otto
cf3bfa04ef
replacement fix for #23257 without old history
2017-08-09 08:34:28 -07:00
Mark Otto
209a963539
remove commented out code while here
2017-08-09 08:32:14 -07:00
Mark Otto
4e07146624
rewrite parts of download page
2017-08-09 08:32:14 -07:00
Mark Otto
ba7d921732
clarify optional js, add some links, emphasize some text
2017-08-09 08:32:14 -07:00
Mark Otto
b21fc944b4
Move from dependencies to peerDependencies
2017-08-09 08:32:14 -07:00
XhmikosR
0cb7a1687c
Fix sourcemaps for node-sass too.
...
Specify `--source-map-contents true` for node-sass and `source-map-inline-sources` for clean-css.
Without this, the sourcemaps weren't found.
2017-08-09 08:31:25 -07:00
XhmikosR
fd113b93f6
Fix flex order generated code and a typo.
2017-08-09 08:29:52 -07:00
lucascono
9aff890efa
Merge branch 'v4-dev' of https://github.com/lucascono/bootstrap into v4-dev
2017-08-08 08:26:55 -03:00
lucascono
29b2383da6
Merge remote-tracking branch 'twbs/v4-dev' into v4-dev
2017-08-08 08:22:32 -03:00
lucascono
08b89972c5
Fix the min breakpoint in media-breakpoint-between
2017-08-08 00:07:42 -07:00
Mark Otto
2f6f0c0fb5
Merge branch 'v4-dev' into new-home
2017-08-07 22:07:16 -07:00
Mark Otto
2cd2301e7a
Add .bg-white and .border-white
2017-08-07 22:06:53 -07:00
Mark Otto
da3185ee0a
new homepage, new assets, clean out old stuff
2017-08-07 21:35:43 -07:00
Mark Otto
92c26af814
word change
2017-08-07 16:13:52 -07:00
Mark Otto
542fec7d53
dist
2017-08-07 16:13:45 -07:00
Lucas Banegas
688b626021
Merge branch 'v4-dev' into v4-dev
2017-08-06 23:16:49 -03:00
Pablo Crivella
8606c0d3ec
Fix typo
2017-08-06 19:14:55 -07:00
lucascono
2f4ddb8ed9
Fix the min breakpoint in media-breakpoint-between
2017-08-06 22:59:14 -03:00
Patrick Yeo
cd3507aba6
Dropup dropdown-menu should have margin on the bottom instead of top
2017-08-04 15:17:50 -07:00
Patrick Yeo
0501b029f5
( #22414 ) Rename for consistency $dropdown-margin-top to $dropdown-spacer
2017-08-04 15:17:50 -07:00
Mark Otto
82f4686728
dist
2017-08-04 15:17:10 -07:00
Mark Otto
0cde0ae18d
better label, remove some contents to better illustrate behavior
2017-08-04 15:15:42 -07:00
Mark Otto
73040d4311
fix navbar alignment for never expand situations
2017-08-04 15:15:25 -07:00
Mark Otto
987ac632b5
given width: 100% is always on a container now and it's constrained by max-width, we can remove our navbar changes from #21722 and #22383
2017-08-04 15:14:24 -07:00
Mark Otto
965a5bd7fe
Merge branch 'issue_23100' of https://github.com/chiraggmodi/bootstrap into chiraggmodi-issue_23100
2017-08-04 14:58:40 -07:00
Mark Otto
062d113eee
remove old validation docs, fixes #23217
2017-08-04 14:21:21 -07:00
Mark Otto
698a7b4253
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-31 11:31:54 -07:00
Mark Otto
0d14fe9e88
fixes https://github.com/toshimaru/jekyll-toc/issues/25
2017-07-31 11:31:44 -07:00
XhmikosR
b6791721f5
Fix HTML errors. ( #23184 )
...
The "aria-controls" attribute must point to an element in the same document.
2017-07-31 13:56:43 +03:00
Johann-S
7641da387e
Add semicolon for our dist files in stamp.js ( #23182 )
2017-07-31 13:07:22 +03:00
XhmikosR
3fb818a957
Specify rel="noopener for external links.
2017-07-30 16:27:33 -07:00
XhmikosR
5f0861f4b8
docs: add a few more Open Graph tags.
2017-07-30 16:27:33 -07:00
XhmikosR
cb8d0e056e
Compress brand SVGs with SVGOMG.
...
~30% savings.
2017-07-30 16:27:33 -07:00
XhmikosR
2291d08750
_data/browser-features.yml: remove trailing spaces.
2017-07-30 16:27:33 -07:00
XhmikosR
96259a715a
docs: exclude package-lock.json from dist.
2017-07-30 16:27:33 -07:00
XhmikosR
5a457327e8
Losslessly compress social logos.
...
Before: 374 KB (383.630 bytes)
After: 304 KB (311.505 bytes)
2017-07-30 16:27:33 -07:00
XhmikosR
ef1c729156
Update docs and carousel example for order-.
2017-07-30 14:00:14 -07:00
汪磊
3619586c16
Update accessibility.md
2017-07-30 13:58:52 -07:00
Johann-S
f4f63d8623
Update Popper.js to 1.11.0 ( #23162 )
2017-07-28 09:34:53 +03:00
XhmikosR
88c9a1609c
Fix ESLint docs errors. ( #23163 )
...
Ignore ESLint error in ie-emulation-modes-warning.js.
Although the error is valid, enough time has been spent on old IE's problems, so just ignore it.
2017-07-28 09:18:47 +03:00
Chris Rebert
98bc940699
Wall of Browser Bugs: Update CSS multi-column entries ( #23168 )
...
Remove https://bugzilla.mozilla.org/show_bug.cgi?id=1282363
because CSSWG deemed Firefox's behavior to be the correct behavior per
https://github.com/w3c/csswg-drafts/issues/314
Replace it with a Chrome bug about changing Chrome to follow the spec & Firefox:
https://bugs.chromium.org/p/chromium/issues/detail?id=269061
2017-07-27 19:59:29 -07:00
Chris Rebert
7d2ce3750d
Remove fixed bugs from Wall of Browser Bugs ( #23159 )
...
* https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/817822/
* https://bugs.chromium.org/p/chromium/issues/detail?id=465274
* https://bugs.chromium.org/p/chromium/issues/detail?id=510079
* https://bugs.webkit.org/show_bug.cgi?id=158276
2017-07-27 11:02:26 -07:00
Chris Rebert
c0eff6a61a
Remove Firefox transitioncancel entry from Most Wanted list
...
The transitioncancel event was shipped in Firefox 53 🎉
https://bugzilla.mozilla.org/show_bug.cgi?id=1264125
2017-07-26 17:58:22 -07:00
Chirag Modi
b2712048ce
make changes as per suggestion in #23100
2017-07-18 11:48:59 +05:30
Chirag Modi
a52a1fbb13
remove change which set from variable and make those in container class
2017-07-18 11:44:56 +05:30
Chirag Modi
f05bd63d8e
fixed issue #23100
2017-07-17 13:29:49 +05:30
Mark Otto
082c9d92fe
dist
2017-07-16 13:11:21 -07:00
Patrick Yeo
696b2bee11
( #22414 ) Rename for consistency $custom-checkbox-border-radius, $custom-checkbox-icon-checked, $custom-checkbox-indeterminate-bg, $custom-checkbox-icon-indeterminate, $custom-checkbox-indeterminate-box-shadow, $custom-radio-border-radius, $custom-radio-icon-checked to $custom-checkbox-indicator-border-radius, $custom-checkbox-indicator-icon-checked, $custom-checkbox-indicator-indeterminate-bg, $custom-checkbox-indicator-icon-indeterminate, $custom-checkbox-indicator-indeterminate-box-shadow, $custom-radio-indicator-border-radius, $custom-radio-indicator-icon-checked, respectively
2017-07-16 12:36:26 -07:00
Scott Petrovic
21d8909598
fix location of favicons so it loads when viewing the examples. This is the only one I found in the project, so I am assuming it is the right one to point to ( #22895 )
2017-07-16 16:19:20 +03:00
Bardi Harborow
a83a0181f9
Errata from #23094 .
2017-07-16 15:07:28 +10:00
Bardi Harborow
028863dd08
Fall back to ESLint v3 indentation behaviour.
2017-07-16 13:51:16 +10:00
Bardi Harborow
bde16528d2
Switch to using NPM lock files.
2017-07-16 13:51:16 +10:00
Bardi Harborow
d35020cee8
Update dependencies.
2017-07-16 13:51:16 +10:00
Bardi Harborow
62a4796268
Start testing on Node v8.
2017-07-15 16:34:14 +10:00
Mark Otto
2e5be3f46f
only need the one utility class, it'll naturally apply at sm and above
2017-07-14 16:44:44 -07:00
John Galt
095c46c242
Fix #22974
2017-07-14 16:44:44 -07:00
Mark Otto
64bf037bd1
mention how to do edge-to-edge in docs
...
/cc #23070
2017-07-14 16:31:34 -07:00
Mark Otto
16fdaa2bef
fixes #23045
2017-07-14 16:31:13 -07:00
Mark Otto
f2e912bb0e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-12 21:11:08 -07:00
Patrick H. Lauke
c00437ec1b
Add badge counter example and accessibility advice
2017-07-13 00:25:40 +01:00
Casper
b14c5cc4b8
Fixed a word (connectinh / connecting)
2017-07-12 07:35:39 +02:00
Patrick H. Lauke
7a781b2ae0
Remove ::first-letter and ::first-line selectors from print styles
...
Bootstrap itself doesn't use any `::first-letter` or `::first-line`
styles. These selectors also cause(d) problems in IE11 (see
https://github.com/h5bp/html5-boilerplate/pull/1799 ) and currently cause
a nasty rendering bug in Chrome where the first letter is vertically
shifted (see https://github.com/twbs/bootstrap/issues/21771 )
As h5bp has now removed these as well, no need to keep and comment them
out. See https://github.com/h5bp/html5-boilerplate/issues/1961 /
https://github.com/h5bp/html5-boilerplate/pull/1962
2017-07-11 19:51:21 +01:00
Mark Otto
c6652eb862
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-09 20:14:24 -07:00
Mark Otto
25062d3838
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-09 19:57:34 -07:00
Mark Otto
6c0e31f82e
fix broken example link
2017-07-09 19:57:16 -07:00
Mark Otto
ba3c61b32e
ignore it
2017-07-09 19:47:45 -07:00
Mark Otto
6436233a9c
update docsearch config to handle h1s properly (load top of page, not at the h1)
2017-07-08 13:02:13 -07:00
gijsbotje
6eee028759
Added the .navbar-expand class to the docs-nav navbar to fix issue #22976
2017-07-08 00:49:44 -07:00
Vincent Le Put
136a0d5cb6
Docs: added missing quote in input-group example ( #23010 )
2017-07-06 23:33:50 +02:00
Mark Otto
4d515e4026
move the about directory into the docs to avoid collision with the multiple versions of our hosted docs
2017-07-05 11:27:06 -07:00
Patrick H. Lauke
edae6a2e1d
Remove box-shadow from .btn-link:focus ( #22998 )
...
When focused, these buttons styled as links still give good visible focus indication through the underline, so this should not be a concern. Closes #22655
2017-07-05 10:54:26 +02:00
Johann-S
88b2e228c2
Use config file for UglifyJS to ensure same behavior on every environments ( #22990 )
2017-07-05 09:53:23 +02:00
Mark Otto
f093b90a7d
move the overflow-y to the sticky @supports block
...
also remove the overflow-x. when you specify either overflow-y or overflow-x, the other is essentially nullified and thus ineffective anyway
2017-07-04 13:49:15 -07:00
Gijs Boddeus
bc70d19156
overflow-y auto on toc menu
...
fixes #22977
2017-07-04 13:49:15 -07:00
Mark Otto
2a745e54de
npm build
2017-07-04 11:55:16 -07:00
Mark Otto
a662f85398
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-04 11:53:55 -07:00
Johann-S
2cbaefc244
Update Popper.js to 1.10.8
2017-07-04 10:37:44 +02:00
Johann-S
0480a75a5a
Dropdown - Disable applyStyle modifier instead of removing inline style applied by Popper.js
2017-07-04 10:37:44 +02:00
Casper
6797e84215
fixed doc vertical-align.md "inlie" to "inline" ( #22984 )
2017-07-04 09:32:41 +02:00
Mark Otto
d785e8a53a
fixes #22979
2017-07-03 19:05:50 -07:00
Mark Otto
de78b71bab
fixes #22981
2017-07-03 19:04:31 -07:00
Mark Otto
6cf1a106d4
fixes #22968
2017-07-02 14:37:46 -07:00
Mark Otto
67245a474f
fix some busted links
2017-07-02 12:00:24 -07:00
Mark Otto
ad15fc0280
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-02 10:40:32 -07:00
Mark Otto
93b2682880
npm build
2017-07-02 10:40:27 -07:00
Mark Otto
3b08beb37a
follow up to 4e067f722
2017-07-01 23:40:51 -07:00
Bailey
ac3e4b71fc
Removed Japanese translation
...
The Japanese website (http://bootstrap4.jp/ ) doesn't exist therefore I removed the link to it.
2017-07-01 23:37:05 -07:00
Mark Otto
7bce8648ed
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-01 23:36:11 -07:00
Mark Otto
4e067f7229
remove unused $list-group-color variable; it should naturally inherit from the body
2017-07-01 23:35:57 -07:00
Mark Otto
f282a88475
update comment
2017-07-01 23:25:28 -07:00
Mark Otto
4b6d2c0b3c
put button active bg and border in the mixin params for more customization options
2017-07-01 23:25:28 -07:00
Mark Otto
e7ae1d9069
match btn transition to input
2017-07-01 23:10:01 -07:00
Mark Otto
7085988f06
doh, we already have that above
2017-07-01 23:05:51 -07:00
Mark Otto
6f073edc79
Add .text-truncate class. We already had a mixin and documented the class, so this fixes that.
2017-07-01 23:05:51 -07:00
Mark Otto
cfb383cc01
update link
2017-07-01 23:05:51 -07:00
Mark Otto
502856b5c2
update name
2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f
Redo the "responsive helpers" files
...
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -07:00
Mark Otto
58816b38b7
Move /utilities/typography to /utilities/text to match SCSS file name
2017-07-01 23:05:51 -07:00
Mark Otto
25d5ffc9f9
Move /utilities/flexbox to /utilities/flex to match name of SCSS file
2017-07-01 23:05:51 -07:00
Mark Otto
11e18af1b6
remove some unused vars, restore table-active variant
2017-07-01 22:57:19 -07:00
Mark Otto
3e2318cf7c
badge variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
848a746a89
button variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
97a5bc4870
no xs sizes being used
2017-07-01 22:57:19 -07:00
Mark Otto
c90cef019a
Add bash script to lint our variables
2017-07-01 22:57:19 -07:00
Mark Otto
337ead4b27
build dist
2017-07-01 22:25:38 -07:00
Mark Otto
44712d1600
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-01 22:24:20 -07:00
Mark Otto
3603088454
Restore .text-muted
2017-07-01 19:01:58 -07:00
Mark Otto
2bf4de0698
Update carousel display settings
...
Use `display: block` since we're not really using any flex styles on the `.carousel-items` (only their controls and indicators). For the indicators, since moving to `width`, our indicators grow to fill available space, so we need to change `flex: 1 0 auto` to `flex: 0 1 auto` to prevent that.
2017-07-01 16:59:16 -07:00
Mark Otto
75156f419a
using max-width in flex: 1 0 auto; in ie11 offsets the center-aligned contents
2017-07-01 11:21:20 -07:00
Mark Otto
2d4534e112
use @supports to apply transform3d to those who can do it, then provide a non-3d fallback to ie11
2017-07-01 11:21:20 -07:00
Mark Otto
1c64adfb41
no need for offset, use justify-content-center
2017-07-01 10:44:20 -07:00
Mark Otto
78167242b3
cleanup offsets
2017-07-01 10:42:36 -07:00
Mark Otto
7f6479b0d9
build dist
2017-06-30 15:45:27 -07:00
Mark Otto
a7a47081f2
build dist
2017-06-30 15:29:59 -07:00
Mark Otto
88b9e558fb
clip to border-box, update overlay
2017-06-30 15:28:50 -07:00
Mark Otto
77639905cb
remove a few .card-dark refs
2017-06-30 15:26:40 -07:00
Mark Otto
221f41adaf
account for new blockquote changes
2017-06-30 15:23:36 -07:00
Mark Otto
150d686a30
migration guide updated
2017-06-30 15:23:36 -07:00
Mark Otto
6af449f645
Update card docs to loop over the theme colors and use bg, border, and color utilities
2017-06-30 15:23:36 -07:00
Mark Otto
96b1e5bce5
ditch .card-blockquote for a regular .blockquote (dependent on #22949 )
2017-06-30 15:23:36 -07:00
Mark Otto
9a2b202e8e
add a bg-transparent to override bgs
2017-06-30 15:23:36 -07:00
Mark Otto
2feebccf24
make card headers and footers translucent
2017-06-30 15:23:36 -07:00
Mark Otto
180d78c013
Drop .card-{color} modifiers for .bg-{color}, .text-{color}, and .border-{color} utilities
2017-06-30 15:23:36 -07:00
Mark Otto
45722e94ac
Drop .blockquote-reverse, replace with text utils, and redesign blockquote to not have a border
2017-06-30 15:04:56 -07:00
Mark Otto
4554d74221
update redirect_from on docs pages
2017-06-30 15:04:10 -07:00
Mark Otto
477ea0c81b
add css-docs task to the dist build
2017-06-30 13:35:58 -07:00
Mark Otto
eedbe43ea7
build dist
2017-06-30 13:15:09 -07:00
Mark Otto
7eafb16579
update that docs bit too
2017-06-30 11:44:09 -07:00
Mark Otto
3afb571ec3
formatting
2017-06-30 11:44:09 -07:00
Mark Otto
3fd0708f8d
this were removed
2017-06-30 11:44:09 -07:00
Mark Otto
6b34cba118
drop that part of the docs, not applicable
2017-06-30 11:44:09 -07:00
Mark Otto
16781be021
drop the mixins
2017-06-30 11:44:09 -07:00
Mark Otto
deeae4f820
Update _grid-framework.scss
2017-06-30 11:44:09 -07:00
Mark Otto
4982926dcf
Drop offsets and push/pull for new order variants
2017-06-30 11:44:09 -07:00
Mark Otto
8b34a0e172
ios9 and up opera
2017-06-30 11:42:56 -07:00
Mark Otto
ba3fb3c98f
narrow browser support in postcss
2017-06-30 11:42:56 -07:00
Mark Otto
e28ed02968
dist build
2017-06-30 09:05:44 -07:00
Mark Otto
d30b5b120e
remove unused mixin, fix variable
2017-06-30 09:01:39 -07:00
Mark Otto
e47cc747f6
update usage elsewhere
2017-06-30 09:01:39 -07:00
Mark Otto
b013b987b0
remove grid gutter sass map as it's output css was all jacked up
2017-06-30 09:01:39 -07:00
Mark Otto
e51749e4a7
Merge pull request #22836 from twbs/colors-redux
...
v4: Colors redux
2017-06-30 08:58:35 -07:00
Mark Otto
7cebaa8bb0
callout for future sass implementation
...
[skip ci]
2017-06-30 08:55:16 -07:00
Mark Otto
56d43eb3e9
Merge branch 'v4-dev' into colors-redux
2017-06-30 08:33:09 -07:00
Mark Otto
f83c981d08
build dist
2017-06-30 08:32:49 -07:00
Mark Otto
ac00c73ab5
update comment
2017-06-29 23:17:18 -07:00
Mark Otto
d1fa0657e3
Merge branch 'colors-redux' of https://github.com/twbs/bootstrap into colors-redux
2017-06-29 23:16:02 -07:00
Mark Otto
6055453e41
Merge branch 'v4-dev' into colors-redux
2017-06-29 23:15:48 -07:00
Mark Otto
964e06800a
Drop the old $gray- variables for the new color range
2017-06-29 23:15:27 -07:00
Mark Otto
a21a9f341b
add map function for grays
2017-06-29 23:06:46 -07:00
Mark Otto
ac2ce9e412
Merge branch 'v4-dev' into colors-redux
2017-06-29 23:01:35 -07:00
Mark Otto
f46f26bbaa
build
2017-06-29 21:31:11 -07:00
Craig Potter
41f8af8afa
fix broken links on Utilities for layout page
2017-06-29 15:41:50 -07:00
Mark Otto
6fbceb2f70
remove $state-vars now
2017-06-28 09:38:27 -07:00
Mark Otto
0f232de9d7
move table variants to use sass map
2017-06-28 09:36:27 -07:00
Mark Otto
3e0375e03b
move list group variants to be generated from sass map
2017-06-28 09:29:59 -07:00
Mark Otto
91b587ad6a
remove now unused alert variant variables
2017-06-28 09:23:10 -07:00
Johann-S
86dc1cba29
Fix accidental removing of babel-plugin-transform-es2015-modules-strip
2017-06-28 11:30:49 +02:00
Mark Otto
64008ad721
Merge branch 'v4-dev' into colors-redux
2017-06-27 19:59:09 -07:00
Richard Beales
db732995cc
Update migration.md to fix minor typo
2017-06-27 12:59:29 +02:00
Mark Otto
41f4ddbdb5
Merge branch 'v4-dev' into colors-redux
2017-06-26 15:17:48 -07:00
Mark Otto
0622a59897
fixes #22908
2017-06-26 07:59:20 -07:00
Mark Otto
3db4984d18
Merge branch 'v4-dev' into colors-redux
2017-06-25 19:25:34 -07:00
Mark Otto
c2a0abb7f0
build
2017-06-25 19:25:26 -07:00
Mark Otto
2f1bcaafa2
Merge branch 'v4-dev' into colors-redux
2017-06-25 18:42:14 -07:00
Mark Otto
9bfbee3503
add border color utilities
2017-06-25 18:39:14 -07:00
Mark Otto
f8d61218ca
revamp button docs to loop over theme colors
2017-06-25 18:31:34 -07:00
Mark Otto
52cf0fe648
update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-light
2017-06-25 18:31:23 -07:00
Mark Otto
6c595d2cc1
add theme-color-level function and interval so we can generate shades of colors
2017-06-25 18:31:03 -07:00
Mark Otto
9372eef9e1
rename .card-inverse to .card-dark, update docs to match
2017-06-25 18:30:24 -07:00
Mark Otto
36e482ed27
update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables
2017-06-25 18:29:43 -07:00
Mark Otto
2392047a0c
update alert component to use theme sass map and add a ton of options in the process
2017-06-25 18:22:51 -07:00
Mark Otto
fc053ed096
update background utils
2017-06-25 18:16:37 -07:00
Mark Otto
aa83c4f417
update badges to use the theme colors sass map
2017-06-25 18:15:32 -07:00
Mark Otto
b4879ec40f
remove bg styles
2017-06-25 18:14:02 -07:00
Mark Otto
a0fb496635
update rendering of colors in options.md
2017-06-25 18:12:50 -07:00
Mark Otto
370e299c6b
modify contrast value
2017-06-25 18:11:16 -07:00
Mark Otto
b973fe6b94
update theme colors
2017-06-25 18:08:43 -07:00
Johann-S
4ae7d8170b
Revert #22534 - Add grunt to our devDependencies ( #22897 )
2017-06-22 22:26:13 +02:00
Sibiraj
d9920317f3
Writing style Tweaks to accessibility.md
...
* fix accessibility.md
* Update accessibility.md
2017-06-21 13:02:24 +02:00
Johann-S
38ddf9ec28
Fix modal overflow with our navbar documentation and fix typo ( #22864 )
...
* Fix modal overflow with our navbar documentation and fix typo
* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto
222eddda5e
Merge branch 'v4-dev' into colors-redux
2017-06-18 18:32:42 -07:00
Mark Otto
16d77b4cb0
build
2017-06-18 18:32:16 -07:00
Mark Otto
eed427690b
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-06-18 18:31:00 -07:00
Mark Otto
7e2d41becd
remove mention of postcss-flexbugs-fixes from docs
2017-06-18 18:17:48 -07:00
Mark Otto
440af84c7a
remove postcss-flexbugs-fixes from build process
2017-06-18 18:17:48 -07:00
obinnangini
532493e6ec
Updated flex-basis property to fix issue #18569 in .scss files
2017-06-18 18:17:48 -07:00
Mark Otto
1a23321fc0
Update _buttons.scss
2017-06-18 10:53:27 -07:00
Mark Otto
597e9f8618
remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map
2017-06-18 02:57:16 -07:00
Mark Otto
74f1d002b4
Merge branch 'v4-dev' into colors-redux
2017-06-18 02:19:34 -07:00
Patrick Yeo
845320fe8c
@mixin pagination-size() doesn't apply line-height
2017-06-18 02:11:33 -07:00
Ken Paulsen
a47f373e82
Fix mixin media-breakpoint-only
...
Prevent mixin media-breakpoint-only from breaking when supplying the
first or last entry in $grid-breakpoints.
2017-06-18 02:08:11 -07:00
Mark Otto
72a0093200
build
2017-06-18 00:14:35 -07:00
Mark Otto
035b7349f9
redo header
2017-06-18 00:14:23 -07:00
Mark Otto
d2508ec506
Update _borders.scss
2017-06-17 23:20:56 -07:00
Mark Otto
da2629907e
move from mixins and add important flag
2017-06-17 23:20:56 -07:00
Mark Otto
5476e636ce
limit active styles for nav-pills to immediate children
2017-06-17 22:40:07 -07:00
Mark Otto
b1d07a8e7c
follow up to 4bab8b890e to avoid the max-height if there's no sticky
2017-06-17 22:29:54 -07:00
Mark Otto
bcc1f84d56
close #22338 by putting h4 text within links, but keep headings as is because i can't justify writing h3.h4 😭
2017-06-17 21:57:47 -07:00
Mark Otto
ea2d6adfc7
mention labels being outside input-group
2017-06-17 21:10:06 -07:00
Mark Otto
1c3acb63b1
fixes #22846
2017-06-17 20:36:49 -07:00
Mark Otto
1b722372a8
update comment
2017-06-17 20:25:35 -07:00
Mark Otto
58bd8fdf2b
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-06-17 19:03:25 -07:00
Mark Otto
3e25ebb587
document it
2017-06-17 13:13:47 -07:00
Mark Otto
60d8c8754f
wrap .sticky-top in supports query
2017-06-17 13:13:47 -07:00
Mark Otto
4bab8b890e
wrap .bd-navbar position styles in supports query, remove prefix, and update linter settings for file
2017-06-17 13:13:47 -07:00
Mark Otto
2a579e546c
use flexbox order property to change order of content for screenreaders
2017-06-17 13:13:13 -07:00
Mark Otto
2fb65c2b61
scss-lint update
2017-06-17 13:13:13 -07:00
Johann-S
8170816094
Detect if the dropdown is in a navbar or not when update is called
2017-06-17 13:12:39 -07:00
Catalin Zalog
f640ec9662
Some .navbar .dropdown-menu optimisation ( #22776 )
2017-06-17 13:12:39 -07:00
Johann-S
af93db294b
Reset Popper.js styles for Dropdowns in navbar
2017-06-17 13:12:39 -07:00
Mark Otto
ce98a1da5b
build
2017-06-17 10:13:43 -07:00
Patrick H. Lauke
816d5bd2e3
Docs: accessibility and IE fixes for SVG-based top navigation ( #22848 )
...
* Add explicit aria-label attributes to <svg> based links
As some browser/AT combinations don't seem to fully support grabbing the
`<title>` from inside the `<svg>` as the link text/name to announce
(e.g. Firefox+NVDA)
* Add <title> to Bootstrap logo <svg>
* Add <title> to menu <svg>
* Add explicit focusable="false" to <svg> icons
Due to a bug/"feature" in IE, `<svg>` elements are usually separately
focusable, which then results in links with `<svg>` icons being
essentially focused twice (once for the link, and once for the `<svg>`
inside, which is then also non-interactive)
2017-06-17 15:07:49 +02:00
Mark Otto
c5170db844
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-06-16 21:28:29 -07:00
Mark Otto
9fe8f94341
hide for now
2017-06-16 21:28:24 -07:00
Patrick Yeo
9f0929013e
( #22414 ) Rename for consistency $list-group-link-*-* to $list-group-action-*-*
2017-06-16 18:58:21 -07:00
Johann-S
6ed8a735d0
fix some errors in our js
2017-06-16 10:57:13 +02:00
Johann-S
11a5ca8ff3
Add back js-lint when we try to build our js
2017-06-16 10:57:13 +02:00
Mark Otto
54ee882e50
redo intro
2017-06-15 20:30:02 -07:00
Mark Otto
42d614347e
fix broken button
2017-06-15 20:28:14 -07:00
Mark Otto
09e3509ff3
render the colors
2017-06-15 11:16:40 -07:00
Mark Otto
2ad2d71f66
add new color vars and maps
2017-06-15 11:16:27 -07:00
Mark Otto
c31d524998
add color contrast and map-get functions
2017-06-15 11:15:48 -07:00
Mark Otto
516af79509
prep docs for displaying the colors
2017-06-15 11:15:28 -07:00
Mark Otto
ae6440a480
clarify now that custom is gone
2017-06-15 09:32:26 -07:00
Mark Otto
be39742d65
full build
2017-06-15 09:12:26 -07:00
Mark Otto
9c0e423008
Rename popover classes
...
Part of an update to align the naming schemes across our components.
- Renames .popover-title to .popover-header
- Renames .popover-content to .popover-body
Refs: #22092
2017-06-15 09:05:30 -07:00
Mark Otto
6c8c0aa4cf
Rename .card-block to .card-body to match nomenclature of modals
2017-06-15 09:05:16 -07:00
Johann-S
e6303d4500
Fix duplicate ID in our documentation
2017-06-15 11:45:32 +02:00
Mark Otto
8396039b4e
docs css build
2017-06-14 21:57:56 -07:00
Mark Otto
846718e1a9
call functions file in docs css
2017-06-14 21:25:27 -07:00
Mark Otto
10ddcc9a7d
build
2017-06-14 21:06:17 -07:00
Mark Otto
e62b121226
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:59:02 -07:00
Mark Otto
ac96ecbec5
rearrange, add comments
2017-06-14 20:55:00 -07:00
Mark Otto
5da5a38f0d
Move scss functions from top of variables to separate file, then import it into other build files
2017-06-14 20:55:00 -07:00
Mark Otto
5818374fdf
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:45:31 -07:00
Mark Otto
2e798301ca
build
2017-06-14 20:44:32 -07:00
Mark Otto
d7302c221a
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-06-14 20:31:43 -07:00
Mark Otto
c2b68104b6
mention updates in migration doc
2017-06-14 20:31:17 -07:00
Patrick H. Lauke
658fbd5c96
Add note to migration guide
2017-06-14 19:52:37 -07:00
Patrick H. Lauke
ff5c75510d
Rename .form-control-static to .form-control-readonly-plain
2017-06-14 19:51:50 -07:00
Mark Otto
22bd955434
Merge branch 'v4-dev' into form-tweaks
2017-06-14 19:13:44 -07:00
Johann-S
8f431fc5b8
Update Popper.js 1.10.1
2017-06-14 21:13:42 +02:00
Johann-S
f0124769c9
Collapse supports multi-target thanks to @vanduynslagerp ( #22713 )
2017-06-14 13:21:49 +02:00
Johann-S
ddf0dbbd29
Use localhost because Win Edge block loopback access
2017-06-14 11:18:12 +02:00
Johann-S
4a2b183e48
Fix unit tests with no assertion
2017-06-14 11:18:12 +02:00
Johann-S
1ec68d748b
Upgrade QUnit to 2.3.3
2017-06-14 11:18:12 +02:00
Mark Otto
aa8c456a16
Remove the confusing _custom.scss file
2017-06-13 22:45:16 -07:00
Mark Otto
3fb1bf7a20
copy tweaks
2017-06-13 22:13:05 -07:00
Mark Otto
d16ece5b2a
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-06-13 22:12:04 -07:00
Mark Otto
2259501418
tighten up sidebar
2017-06-13 22:11:52 -07:00
Mark Otto
dc71bee83e
rearrange, new examples, new docs
2017-06-13 22:11:44 -07:00
Mark Otto
7e5085b407
move from .gutters-sm to .form-row to be super explicit about intended use case
2017-06-13 22:11:29 -07:00
Mark Otto
21b874d19d
Merge branch 'v4-dev' into form-tweaks
2017-06-13 20:15:42 -07:00
Patrick Yeo
d7867377d9
( Fixes #22414 ) Rename for consistency $custom-checkbox-radius, $custom-checkbox-checked-icon, $custom-checkbox-indeterminate-indicator-color, $custom-checkbox-indeterminate-icon, $custom-radio-radius, $custom-radio-checked-icon, $custom-select-sm-font-size, to $custom-checkbox-border-radius, $custom-checkbox-icon-checked, $custom-checkbox-indicator-indeterminate-color, $custom-checkbox-icon-indeterminate, $custom-radio-border-radius, $custom-radio-icon-checked, $custom-select-font-size-sm respectively
2017-06-13 19:22:49 -07:00
Patrick Yeo
a362d62d31
Rename $font-size-h* to $h*-font-size for consistency ( #22414 )
2017-06-13 08:46:29 -07:00
Patrick Yeo
c349f59174
Rename for consistency $table-sm-cell-padding, $table-bg-accent, $table-bg-hover, $table-bg-active, $table-inverse-bg-accent, $table-inverse-bg-hover to $table-cell-padding-sm, $table-accent-bg, $table-hover-bg, $table-active-bg, $table-inverse-accent-bg, $table-inverse-hover-bg, respectively ( #22414 )
2017-06-13 08:46:15 -07:00
Patrick Yeo
4cc21bbf74
( #22414 ) Rename for consistency $input-bg-disabled, $input-bg-focus, $input-border-color-focus, $input-box-shadow-focus, $input-color-focus, $input-color-placeholder to $input-disabled-bg, $input-focus-bg, $input-focus-border-color, $input-focus-box-shadow, $input-focus-color, $input-placeholder-color, respectively
2017-06-13 08:45:50 -07:00
Patrick Yeo
2317b7fc96
( #22414 ) Rename for consistency $custom-control-disabled-indicator-bg, $custom-control-disabled-description-color, $custom-control-checked-indicator-color, $custom-control-checked-indicator-bg, $custom-control-checked-indicator-box-shadow, $custom-control-focus-indicator-box-shadow, $custom-control-active-indicator-color, $custom-control-active-indicator-bg, $custom-control-active-indicator-box-shadow to $custom-control-indicator-disabled-bg, $custom-control-description-disabled-color, $custom-control-indicator-checked-color, $custom-control-indicator-checked-bg, $custom-control-indicator-checked-box-shadow, $custom-control-indicator-focus-box-shadow, $custom-control-indicator-active-color, $custom-control-indicator-active-bg, $custom-control-indicator-active-box-shadow, respectively
2017-06-13 08:45:36 -07:00
Patrick Yeo
3ecb8b661b
( #22414 ) Renamed for consistency $nav-disabled-link-color, $nav-tabs-active-link-color, $nav-tabs-active-link-bg, $nav-tabs-active-link-border-color, $nav-pills-active-link-color, $nav-pills-active-link-bg to $nav-link-disabled-color, $nav-tabs-link-active-color, $nav-tabs-link-active-bg, $nav-tabs-link-active-border-color, $nav-pills-link-active-color, $nav-pills-link-active-bg, respectively
2017-06-13 08:45:21 -07:00
Patrick Yeo
5e651615a3
( #22414 ) Renamed for consistency $modal-dialog-sm-up-margin-y, $modal-content-xs-box-shadow, $modal-content-sm-up-box-shadow, to $modal-dialog-margin-y-sm-up, $modal-content-box-shadow-xs, $modal-content-box-shadow-sm-up, respectively
2017-06-13 08:45:11 -07:00
Mark Otto
441f114681
Update _variables.scss
2017-06-13 08:44:55 -07:00
Mark Otto
c5d4430367
Mention variable naming scheme to help with #22414
2017-06-13 08:44:55 -07:00
Mark Otto
142c2a0851
reorder that
2017-06-11 16:24:20 -07:00
Mark Otto
b95aa65c74
nuke subheader
2017-06-10 18:13:36 -07:00
Mark Otto
dc5a1db625
add labels and ids
2017-06-10 16:31:36 -07:00
Mark Otto
59817a1729
document server side fallbacks
2017-06-10 16:31:27 -07:00
Mark Otto
0cb95c6643
mention fallbacks
2017-06-10 16:31:14 -07:00
Mark Otto
e2b6a71725
words
2017-06-10 16:30:35 -07:00
Mark Otto
94ed0d901b
move to mixin so we can repeat it easier and allow folks to extend to custom states
2017-06-10 16:30:26 -07:00
Mark Otto
280eaf132c
change depth
2017-06-10 16:29:59 -07:00
Johann-S
1a0a1a0600
Avoid Tooltips/Popovers overflow on documentation's navbar ( #22733 )
2017-06-07 21:33:36 +02:00
Mark Otto
d6b0334a4e
remove icons for now
2017-06-06 22:45:37 -07:00
Mark Otto
58b7239c6c
add valid state
2017-06-06 21:53:23 -07:00
Mark Otto
6c214ad4c2
drop the old validation styles and docs
2017-06-06 11:27:29 -07:00
Mark Otto
4831076d6e
some text for the browser default version
2017-06-06 11:26:24 -07:00
Mark Otto
bcfef5b28c
add instructions, clarify
2017-06-06 11:26:08 -07:00
Mark Otto
c51b7cae95
callout that
2017-06-06 11:25:54 -07:00
Mark Otto
d2c9f3f00a
flesh out invalid styles on .was-validated
2017-06-05 23:00:14 -07:00
Mark Otto
af097bd5bf
start rewriting
2017-06-05 20:21:08 -07:00
Johann-S
2d87895089
Update path to our docs assets for visual tests
2017-06-04 11:08:31 +02:00
Patrick Yeo
891bca435f
Fix overflowing text in Cards with word-wrap: break-word
2017-06-03 22:19:19 -07:00
Patrick Yeo
ec56bbe6bf
Rename $card-border-radius-inner to $card-inner-border-radius
2017-06-03 22:17:57 -07:00
Tom Van Rompaey
3a00b005c1
fix small typo inside _button-group.scss ( #22746 )
...
fron -> front
2017-06-03 09:53:50 +02:00
Johann-S
10a3e38053
Fix broken documentation links for Toolings section
2017-06-01 19:38:58 -07:00
Maxime Locqueville
c890d9a46b
Fix search redirect
2017-06-01 09:09:46 -07:00
Mark Otto
4a554e5ff5
trying out new validation styles
2017-06-01 08:06:17 -07:00
Mark Otto
f13eb51940
Merge branch 'v4-dev' into form-tweaks
2017-05-31 21:29:23 -07:00
Mark Otto
620257456e
build
2017-05-31 21:25:47 -07:00
Mark Otto
332d882cdb
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-31 20:46:29 -07:00
Patrick Yeo
0800c7e1c8
Rename $card-link-hover-color to $card-inverse-link-hover-color
2017-05-31 20:34:01 -07:00
Brian Ng
4119023482
Use correct version of babel-preset-es2015
...
The 7.x-alpha preset won't work with 6.x core.
An alternative would be to bump babel-cli to 7.x-alpha (if you'd like to help us test :D)
2017-05-31 20:32:25 -07:00
Mark Otto
cb9f181d0e
redesign search a bit more
2017-05-31 10:13:39 -07:00
Mark Otto
e9b6a064f8
redo how we do sticky sidebar because overflow-x/-y woes
2017-05-31 10:13:29 -07:00
Mark Otto
7673f4cc74
tweak bootstrap svg
2017-05-31 09:20:37 -07:00
Mark Otto
f1a7f1f56a
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-31 09:09:55 -07:00
Mark Otto
c3323d7b2a
tighten padding on mobile for navbar so horizontal scroll nav shows more
2017-05-31 09:09:29 -07:00
Johann-S
5f493cfc74
Remove the use of x-arrow attribute for Tooltips/Popovers arrows
2017-05-31 09:54:58 +02:00
Mark Otto
a78e86ae3b
more minimal sidebar nav
2017-05-30 23:48:52 -07:00
Mark Otto
2fd192968d
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-30 23:31:40 -07:00
CDAGaming
ccd86bdc96
Update Dependencies (REUPLOAD) ( #22594 )
...
* Update Dependencies (REUPLOAD)
Uglify-JS: 2.8.22 > 3.0.3
QUnitJS: 2.3.1 > 2.3.2
PostCSS-CLI: 3.1.1 > 4.0.0
Clean-CSS-CLI: 4.0.12 > 4.1.0
Babel-Eslint: 7.2.2 > 7.2.3
AutoPrefixer: 6.7.7 > 7.0.1
* Updates More Dependencies
Autoprefixer: v7.0.1 > v7.1.1
Clean-CSS-CLI: v4.1.0 > v4.1.3
Node-Sass: v4.5.2 > v4.5.3
PostCSS-FlexBugs-Fixes: v2.1.1 > v3.0.0
Uglify-JS: v3.0.3 > v3.0.11
Signed-off-by: CDAGaming <cstack2011@yahoo.com >
* Update Gem Bundler Dependency
Signed-off-by: CDAGaming <cstack2011@yahoo.com >
* Update Gemfile.lock Dependency
Signed-off-by: CDAGaming <cstack2011@yahoo.com >
* Update QUnit
Signed-off-by: CDAGaming <cstack2011@yahoo.com >
* Update Uglify-JS to v3.0.13
Signed-off-by: CDAGaming <cstack2011@yahoo.com >
2017-05-30 21:11:56 -07:00
Mark Otto
8f9c883c32
build
2017-05-30 21:00:43 -07:00
Mark Otto
67b83aa535
style our dropdown a bit
2017-05-30 13:59:42 -07:00
Mark Otto
ae0f94d469
redo some dropdown docs
2017-05-30 13:59:33 -07:00
Mark Otto
960e73c16f
tweak dropdown caret size and placement
2017-05-30 13:59:24 -07:00
Mark Otto
41018c8459
add link to prior versions
2017-05-30 13:59:08 -07:00
Mark Otto
309310c4ea
not in use anymore
2017-05-30 13:26:11 -07:00
Mark Otto
92cfca79b1
rename files
2017-05-30 13:25:26 -07:00
Mark Otto
f8d1dc4d04
no need for those custom styles when we have utils
2017-05-30 13:23:36 -07:00
Mark Otto
e8e0cc7b21
blank targets for things that link off the main docs pages
2017-05-30 13:22:39 -07:00
Mark Otto
942645b813
tweak homepage layout
2017-05-30 13:21:39 -07:00
Mark Otto
39a258ddfe
redo button styles
...
- rename .btn-bs to .btn-bd-purple
- abstract yellow masthead button into .btn-bd-yellow and use it the new
docs navbar
2017-05-30 12:03:34 -07:00
Mark Otto
43fac7418e
forgot bugify in plugin list
2017-05-30 11:37:27 -07:00
Mark Otto
2106488873
rename plugin
2017-05-30 11:36:12 -07:00
Mark Otto
cb030314cc
hella migration updates
2017-05-30 11:31:57 -07:00
Mark Otto
e7c711121d
mention docsearch in readme
2017-05-30 11:03:55 -07:00
Mark Otto
967e6a1b63
restore algolia footer, but drop the background image
2017-05-30 11:01:23 -07:00
Mark Otto
d4eb0d4e73
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-30 08:46:33 -07:00
Mark Otto
f95cbc5950
wrap the sticky in a @supports so that edge and ie don't screw it all up
2017-05-29 23:32:28 -07:00
Mark Otto
12ca6d9d34
tweak navbar so it isn't more than 4rem high
2017-05-29 23:32:28 -07:00
Mark Otto
86177ac3af
account for new nav structure
2017-05-29 23:32:28 -07:00
Mark Otto
0bfa2eea2a
update exclude list
2017-05-29 23:32:28 -07:00
Mark Otto
38204b9cb1
redesign slightly to make entries full width in dropdown menu, like bootstrap's menus
2017-05-29 23:32:28 -07:00
Mark Otto
9916943c8c
ignore the vendor so sauce can compile and travis pass
2017-05-29 23:32:28 -07:00
Mark Otto
b01995d869
try setting that explicitly for travis
2017-05-29 23:32:28 -07:00
Mark Otto
bb54e854de
give migration page toc and description
2017-05-29 23:32:28 -07:00
Mark Otto
6ea359435d
redesign anchors
2017-05-29 23:32:28 -07:00
Mark Otto
0ef7cb866e
more examples path fixing
2017-05-29 23:32:28 -07:00
Mark Otto
723a03cc43
update examples link and add a redirect
2017-05-29 23:32:28 -07:00
Mark Otto
ff76c31e51
drop specific host
2017-05-29 23:32:28 -07:00
Mark Otto
b2c1e89c6a
update urls
2017-05-29 23:32:28 -07:00
Mark Otto
73a550c7f8
update paths
2017-05-29 23:32:28 -07:00
Mark Otto
4d2570d038
drop htmlhint given htmllint gives us most of the coverage we need here
2017-05-29 23:32:28 -07:00
Mark Otto
d326df63f2
revamp some files
2017-05-29 23:32:28 -07:00
Mark Otto
6ee35ced86
move scripts to separate include so we can include them across layouts even if the footer isn't there
2017-05-29 23:32:28 -07:00
Maxime Locqueville
5c704d77ca
Better handling of redirects
2017-05-29 23:32:28 -07:00
Maxime Locqueville
ab9a5f0256
remove origin from url to be able to redirect locally
2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656
Rearrange all the docs to allow for a docs/major.minor/ setup
2017-05-29 23:32:28 -07:00
Mark Otto
32153eb7cb
customize focus state
2017-05-28 22:23:27 -07:00
Mark Otto
9fc9977a25
purple sidebar
2017-05-28 21:40:23 -07:00
Mark Otto
64c548527a
add new var, update alignment
2017-05-28 21:40:15 -07:00
Mark Otto
c043c0a5ba
remove footer from docs pages
2017-05-28 21:40:05 -07:00
Mark Otto
9cf11d71dd
move algolia overrides to separate scss partial
2017-05-28 21:24:44 -07:00
Mark Otto
f894dd4a24
move docs vars to new scss partial
2017-05-28 21:24:29 -07:00
Mark Otto
66011fb74c
more algolia design tweaks
2017-05-28 21:21:50 -07:00
Mark Otto
48d17bc8b8
keep width, add comment
2017-05-28 21:12:55 -07:00
Mark Otto
8a2d845a4f
Fix responsive .col-{infix}-auto
...
Responsive automatic column resets weren't working because they inherited their `max-width` from lower grid tiers. This was because we were resetting the `width`, not the `max-width`.
2017-05-28 21:12:55 -07:00
Mark Otto
69b5178c0a
shorter title
2017-05-28 19:48:44 -07:00
Mark Otto
fc045e0e76
html linting
2017-05-28 19:47:22 -07:00
Mark Otto
a9fccc8813
jobs url added
2017-05-28 19:36:03 -07:00
Mark Otto
d4a1244c60
fix font-size and borders
2017-05-28 18:01:24 -07:00
Mark Otto
251c7be168
hide social on mobile for now
2017-05-28 18:01:14 -07:00
Mark Otto
f2fb861308
fix font-size to compute to 14px even
2017-05-28 18:01:08 -07:00
Mark Otto
31613b55de
.bd-lead refinement for mobile
2017-05-28 18:00:38 -07:00
Mark Otto
bef65b17dc
fix homepage
2017-05-28 17:52:52 -07:00
Mark Otto
930012f29a
try out a different navbar approach
2017-05-28 17:49:46 -07:00
Mark Otto
9c4d588f0b
new styles for docsearch
2017-05-28 16:16:13 -07:00
Maxime Locqueville
c709ce19a5
add docsearch
2017-05-28 16:15:08 -07:00
Mark Otto
10ca9c6d5a
add jekyll include parameters
2017-05-28 13:40:25 -07:00
Mark Otto
9c1f0c94e4
update svgs
2017-05-28 11:26:13 -07:00
Mark Otto
f682dec5c2
new toc in utils and about and extend
2017-05-28 11:25:59 -07:00
Mark Otto
c72cc98bd5
update components docs
2017-05-27 23:01:14 -07:00
Mark Otto
5a3a356651
revisit how we do these heading examples because the jekyll-toc plugin renders them awkwardly
2017-05-27 22:40:00 -07:00
Mark Otto
968c0c6971
update content docs
2017-05-27 22:16:44 -07:00
Mark Otto
fdf4b7be5f
hide third level toc and deeper
2017-05-27 22:12:18 -07:00
Mark Otto
fa2731b626
update layout pages
2017-05-27 22:12:00 -07:00
Mark Otto
1f43d9c066
revamp getting started docs to use new toc
2017-05-27 22:03:48 -07:00
Mark Otto
fa413aece1
prep the navbar for some old version stuff
2017-05-27 22:03:17 -07:00
Mark Otto
27a98e014a
fix viewbox
2017-05-27 21:44:50 -07:00
Mark Otto
a3f7639728
swap kramdown toc for jekyll-toc plugin, update page layout to only show on xl and above
2017-05-27 21:44:42 -07:00
Mark Otto
3b8202db93
update nav to use logo at all times
2017-05-27 21:43:52 -07:00
Mark Otto
ed3b308c27
purple nav
2017-05-27 20:10:35 -07:00
Mark Otto
0322e7e83b
remove top/bottom padding
2017-05-27 20:10:02 -07:00
Mark Otto
07ef129fc6
always show docs search
2017-05-27 18:47:59 -07:00
Mark Otto
f6b7c38c9b
finesse the docs layout
2017-05-27 18:47:45 -07:00
Mark Otto
3c838067a6
redesign sidebar a bit
2017-05-27 18:30:58 -07:00
Mark Otto
5b66579e4d
make it big screen friendly
2017-05-27 18:24:00 -07:00
Mark Otto
8627c506f7
more responsive docs nav
2017-05-27 18:12:45 -07:00
Mark Otto
9d45196e26
update path
2017-05-27 18:12:25 -07:00
Mark Otto
7c9efe786a
move .scss-lint.yml to route dir instead of symlink (which didn't work)
2017-05-27 17:54:23 -07:00
Mark Otto
9dbe77a0b0
explicit styles
2017-05-27 17:37:34 -07:00
Mark Otto
6bf63cbe67
hack the headings for sticky header so shit doesn't overlap
2017-05-27 17:37:25 -07:00
Mark Otto
33b322e9b5
position the markdown toc on the right for larger screens
2017-05-27 17:37:03 -07:00
Mark Otto
ded32a682a
new nav styles
2017-05-27 17:36:35 -07:00
Mark Otto
4564f7e3ef
give the navbar a fixed height so we can position other sticky elements more reliably
2017-05-27 17:36:20 -07:00
Mark Otto
ca6c23161f
moved file
2017-05-27 17:35:52 -07:00
Mark Otto
e1cd3c7c2b
remove ads from in these pages, move some content to descriptions
2017-05-27 17:35:43 -07:00
Mark Otto
1029a35f74
Add a symlink to the scss-lint for doing local dev
2017-05-27 17:34:32 -07:00
Mark Otto
480944e66e
• Add SVGs for GitHub, Slack, and Twitter
...
• Move the Bootstrap SVG into the same folder
2017-05-27 17:34:17 -07:00
Mark Otto
456d6a07f0
style our svg icons in the navbar
2017-05-27 17:31:55 -07:00
Mark Otto
bf0fcd7a96
drop navbar search for download button and social icons
2017-05-27 17:31:28 -07:00
Mark Otto
56415b18c6
full width navbar too
2017-05-27 17:30:28 -07:00
Mark Otto
c91da107ad
make the body full width
2017-05-27 17:30:07 -07:00
Mark Otto
bfdc228c41
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-27 15:30:06 -07:00
Mark Otto
793e84400c
Add docs-clean task to watch scripts
...
Without this, the CSS and JS files don't get copied over to the `docs/dist/` folder during development. I imagine we can simplify this and not run it twice, and instead run it once? Unsure.
/cc @johann-s
2017-05-27 15:28:41 -07:00
Mark Otto
8f67ac19a7
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-27 15:26:48 -07:00
Geremia Taglialatela
db44e4b311
Update nav and navbar HTML markup
...
According to the docs, you just need to apply the `navbar-nav` to an
`<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to
override all the css properties set by `nav`.
Also, `nav-item` class should be used only for `<li>` tags, or in
conjunction with `<a>` tags to entirely avoid the list-based approach.
This commit removes the redundant `nav` class from `navbar-nav` `<ul>`
tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly
adds `nav-item` class to `<li>` tags where missing.
Refs:
* https://v4-alpha.getbootstrap.com/components/navs/
* https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-27 15:21:49 -07:00
Mark Otto
8a6642bbff
rename section
2017-05-27 14:38:37 -07:00
Mark Otto
6c3f833076
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-26 22:28:09 -07:00
Mark Otto
f3acf9d890
custom forms example with new grid styles
2017-05-26 21:54:35 -07:00
Mark Otto
9e6644a206
Update forms docs to add more headings and move the huge type example into a table
2017-05-26 21:54:25 -07:00
Mark Otto
04724939a3
Merge branch 'v4-dev' into form-tweaks
2017-05-26 21:22:08 -07:00
Patrick Yeo
f2829dd6ea
Rename $navbar-*-toggler-bg to $navbar-*-toggler-icon-bg since it's placed on .navbar-toggler-icon ( #22564 )
2017-05-26 20:55:07 -07:00
Hugh Bellamy
4a8728d54c
Update migration docs for .has-error rename
2017-05-26 20:54:39 -07:00
Mark Otto
733c092681
Drop CSS icons for SVGs ( #22708 )
...
* add the svg icon as a partial so we can include it easily
* add the icon to the homepage
* drop .bd-booticon for svgs here
* rip out the import for .bd-booticon sass file
* Delete _booticon.scss
* indentation
* Update bootstrap-icon.html
* remove those
2017-05-26 20:54:12 -07:00
Mark Otto
b872a6f807
build
2017-05-26 20:21:29 -07:00
Mark Otto
f8c150fbe0
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-05-26 20:20:19 -07:00
Mark Otto
4282d892f3
build
2017-05-26 20:20:10 -07:00
Mark Otto
7e1497ddb8
Revert simplified grid column styles from #22376
...
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.
/cc @sachinsinghi
2017-05-26 20:16:12 -07:00
Mark Otto
e0e1e849e6
document more form layout options with grid, including some compact .gutters-sm examples
2017-05-26 20:15:30 -07:00
Mark Otto
a11ae7facf
add a compact gutter option, .gutters-sm
2017-05-26 20:15:05 -07:00
Mike Cooper
c8c51186f5
update equal-width numbering in docs ( #22697 )
2017-05-26 11:06:25 -07:00
Heiko Jansen
38682f69af
Merge branch 'v4-dev' into patch-1
2017-05-26 11:07:06 +02:00
Mark Otto
2a833d559a
Add box-shadow to .progress-bar ( #22579 )
...
* Add box-shadow to .progress-bar
Puts an unused variable back in use for when folks set `$enable-shadows` to `true`.
2017-05-25 21:32:59 -07:00
Mark Otto
9982626eff
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-05-25 21:16:31 -07:00
Mark Otto
24668e4a6e
build
2017-05-25 21:16:23 -07:00
Idan Cohen
fc5e8b9415
add webpack to documentation ( #22423 )
...
* add webpack to documentation"
implementing PR comments
implementing PR comments
* replace tether with popper
2017-05-25 21:01:07 -07:00
Ayachii
5fa262adec
Fix 22643 - Readme links to vanished file ( #22647 )
...
* Fixed dead link to browser list
The link to the list of browsers supported through Autoprefixer was dead, now updated to a working link.
* Updated label to display new file path
Changed the labeling on the updated link to show read as the new updated file path.
2017-05-24 21:50:22 -07:00
Heiko Jansen
3689be8115
Sync code shown with code actually used
...
Remove class and attributes from buttons which are not expected to trigger dropdowns.
Code used to render the examples is correct but code shown was not.
2017-05-24 16:32:36 +02:00
Johann-S
f5527c65f1
Fix fallbackPlacement default value for Popovers documentation
2017-05-24 15:10:26 +02:00
Johann-S
cc303d5d26
Update Popper.js to 1.9.9
2017-05-24 14:57:40 +02:00
Johann-S
9e894991b0
Update documentation for Tooltips/Popovers about auto placement
2017-05-24 14:57:40 +02:00
Johann-S
4c3b6c5ceb
Placement auto for popovers
2017-05-24 14:57:40 +02:00
Johann-S
2c72af88ee
Placement auto for tooltips
2017-05-24 14:57:40 +02:00
Johann-S
460ff235fa
Documentation display tooltips/popovers arrows with css for static examples
2017-05-23 15:19:54 +02:00
Johann-S
aa36439e17
Use Popper.js to manage arrow position
2017-05-23 15:19:54 +02:00
Catalin Zalog
3706c88348
Fix (css): force .navbar .dropdown-menu positioning
2017-05-22 16:20:58 +02:00
Johann-S
70f4a30def
Better management of dropdown/dropup with alignment
2017-05-22 16:14:10 +02:00
Johann-S
b36d8ae6cb
Use popper to align dropdown menu instead of using css with important
2017-05-17 22:03:11 +02:00
Laussel Loïc
be742b0f5c
fix tooltip documentation page missing classname prefix "bs-" to popover top
2017-05-17 16:54:28 +02:00
Johann-S
dd78950d0a
Update Popper.js 1.9.4
2017-05-17 14:22:10 +02:00
Johann-S
ba2352c14e
Force dropdown to be displayed in position static for navbar, to override Popper css
2017-05-16 14:48:12 +02:00
Johann-S
3719ed4cb6
build
2017-05-16 10:09:48 +02:00
Anand Chowdhary
183205afb8
Change "Max CDN" to "MaxCDN"
2017-05-14 11:58:26 +02:00
Johann-S
21c3864134
Update Popper.js 1.9.3
2017-05-14 11:41:19 +02:00
Johann-S
c78cbb275b
Change fallbackPlacement to flip by default for Tooltips/Popovers
2017-05-14 11:41:19 +02:00
Johann-S
2b403819b7
Fix tooltip margin to be stick at their caller
2017-05-14 11:41:19 +02:00
Johann-S
cc455c16c3
Fix bad position for Tooltips with animation at true
2017-05-14 11:41:19 +02:00
Johann-S
0cdf176f7a
Use _jQueryInterface for Dropdown to call toggle method
2017-05-14 11:41:19 +02:00
Johann-S
0ae9d28ba3
Add fallbackPlacement option for Tooltip and Popover
2017-05-14 11:41:19 +02:00
Johann-S
ab7dc8ae2a
Fix dropdown in scrollspy visual test (add Popper.js)
2017-05-14 11:41:19 +02:00
Johann-S
3cfa5e8c05
Update Popper.js 1.9.1 + Update documentation about Dropdown placement
2017-05-14 11:41:19 +02:00
Johann-S
dc35a840dc
Fix dropdown-menu-right and dropdown-menu-left for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
85f41309e2
Documentation - fix examples for Tooltip and Popovers (display arrow)
2017-05-14 11:41:19 +02:00
Johann-S
4f882a840c
Allow to disable flip behaviour on Dropdown + documentation
2017-05-14 11:41:19 +02:00
Bardi Harborow
65d0d9831a
Update shrinkwrap.
2017-05-14 11:41:19 +02:00
Johann-S
458b3cc4a3
Update Popper.js 1.8.2
2017-05-14 11:41:19 +02:00
Johann-S
e5a0471b0b
Add an update method to allow to update position for Tooltip/Popover/Dropdown manually
2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626
Fix some css for the arrow of Popover/Tooltip + update documentation
2017-05-14 11:41:19 +02:00
Johann-S
18e4e851e2
Better placement for Dropdown + Handle flip of Tooltip/Popover
2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5
Remove totaly Tether from documentation + dependencies
2017-05-14 11:41:19 +02:00
Johann-S
c4b4d534a4
Remove Tether from package.json + Update Popper
2017-05-14 11:41:19 +02:00
Johann-S
53ee455bc7
Handle dropup for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
69de65180f
Fix unit tests + Update Popper to 1.6.0
2017-05-14 11:41:19 +02:00
Johann-S
c21a2b0d92
Remove constraints option and check every options
2017-05-14 11:41:19 +02:00
Johann-S
54a8ab4011
Begin to use Popper for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
d8996a7e0a
Fix arrow for tooltip and popover
2017-05-14 11:41:19 +02:00
Johann-S
b40b1bc396
Add attachment classes
2017-05-14 11:41:19 +02:00
Johann-S
81e07ec052
Begin to add arrow to Popover and Tooltip
2017-05-14 11:41:19 +02:00
Johann-S
6cf0fe8780
Use Popper for tooltip and popover
2017-05-14 11:41:19 +02:00
Peter Blazejewicz
aa68ca3580
tooltips/popover must be hidden before their corresponding element is removed from the DOM
2017-05-09 10:51:44 +02:00
Mark Otto
ee1af53d9f
Merge branch 'v4-dev' into form-tweaks
2017-05-07 17:44:57 -07:00
Sebastiaan Nijland
6c5346e300
Removed several unused scss variables ( #22539 )
2017-05-07 17:41:14 -07:00
Patrick H. Lauke
2a4be9a0c9
Add explicit role="main" to <main> elements ( #22574 )
...
For compatibility in IE10/IE11 which don't otherwise "know" this element's role/don't expose it to AT
2017-05-05 10:22:09 +01:00
Laussel Loïc
c81be77929
Add missing <main> element to documentation
...
includes explicit `role="main"` for IE10/IE11 compatibility
2017-05-05 10:10:28 +01:00
Patrick H. Lauke
7338da0cdb
Add shim for "new" HTML5 structural elements ( #22573 )
...
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
2017-05-05 09:53:45 +01:00
Patrick H. Lauke
02d1776069
Styling and accessibility clarification for navs documentation
...
* Split out/expand mention that base navs lack active styles
* Add accessibility notes for navigation bars vs dynamic tabbed interfaces
2017-05-04 17:07:52 +01:00
Johann-S
954f482f4a
Remove log from WEBrick during js-test-cloud
2017-05-02 15:26:45 +02:00
Mark Otto
8c7fe6cf14
Merge branch 'v4-dev' into form-tweaks
2017-05-01 21:54:50 -07:00
Peter Gerdes
e00de46540
Link to package.json Fixed
...
The link to package.json in the v4 docs was linking to package.json in the v3 source. Fixed to point to the correct v4 location. A change like this will need to be made for all branches on version 4 if you want the docs to be linked correctly (github may be smart enough to follow the link to the current branch if you are on github but it was wrong from the main site).
2017-05-01 18:34:17 -05:00
Johann-S
dbe8e554bb
Add watch-css and watch-js + a global watch command
2017-04-29 16:43:51 +02:00
Mark Otto
482052585e
don't prefix docs css, it generates .map files and mucks it all up
2017-04-29 16:43:51 +02:00
Mark Otto
03c26407aa
watch task docs + css
2017-04-29 16:43:51 +02:00
Joyce Babu
db2db6cd0e
Fix typo removeData for Tabs plugin
...
Should remove `data` not `class` on dispose
2017-04-28 15:31:35 +02:00
Patrick H. Lauke
f7f644a4e5
Documentation cleanup (inc. use of <input ... readonly> for static form controls example)
...
* Fix incorrect code indentation
* Remove unnecessary vendor prefix for `box-sizing` - all modern browsers now support this unprefixed
* Remove incorrect `<label>` and change static controls to readonly inputs
* Allow `<img>` elements without `src` to allow for `holder.js` images used in the docs, which lack `src` and use `data-src` instead
2017-04-27 23:57:10 +01:00
Johann-S
ebf0c3104e
Run js-test locally before js-test-cloud
2017-04-27 23:20:29 +02:00
Johann-S
d336adfafd
Fix build by installing grunt dependencies before js-test-cloud
2017-04-27 23:03:17 +02:00
Anna
33715a73d2
Fix Toggle buttons don't honor [disabled] or .disabled
2017-04-26 18:46:05 +02:00
Pierre Vanduynslager
ab39defe74
Detach accordion from card without requiring 'data-children'
2017-04-25 09:32:14 +02:00
Mark Otto
ca44f5b03a
Redo the small custom select vars
...
— Sizing shorthand comes last
— Add height var and put it to use
2017-04-22 11:56:27 -07:00
Mark Otto
dc3af6711d
Change how input and select height is computed
...
— Previously we weren't including the border-width on the computed height, leading to alignment issues.
— New system utilizes three variables (not ideal, but straightforward) for computing these heights. One for the vertical border, one for the line-height/font-size/padding dance, and one to add those together.
— Updates CSS across forms and custom forms to use new sizing. Special note here: form validation icon sizing uses the inner variables because background-image doesn't bleed into borders unless explicit background-clip.
2017-04-22 11:56:01 -07:00
Mark Otto
80438e93e1
Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks
2017-04-21 23:59:06 -07:00
Mark Otto
0a2bf9d098
Merge branch 'v4-dev' into form-tweaks
2017-04-21 23:58:19 -07:00
Mark Otto
ba312c20a5
build
2017-04-21 23:58:09 -07:00
Mark Otto
5463d8436b
Merge branch 'v4-dev' into form-tweaks
2017-04-21 23:36:24 -07:00
Mark Otto
7efe4ddee4
Match validation mixin focus state to normal focus state
2017-04-21 23:30:06 -07:00
Zach Leatherman
638b97f19c
Arguably more professional pictures of Rick Ross
2017-04-21 20:51:35 -07:00
Bardi Harborow
2906b612d5
More minor build tweaks and docs updates.
2017-04-21 21:08:40 +10:00
Patrick H. Lauke
fb3303f5dd
Fix for copy/paste error in iOS hack to tooltips
...
(with apologies, this slipped through due to build system problems on my
end)
2017-04-20 14:35:33 +01:00
Patrick H. Lauke
1f37c536b2
Tweak iOS hack for dropdown
...
Tweak to https://github.com/twbs/bootstrap/pull/22426 , where the wrong selector slipped through the net (selecting all of `<body>`s grand-children rather than children)
2017-04-20 14:08:40 +01:00
Patrick H. Lauke
ef099ad05d
Add iOS hack to tooltips
...
Same hack as in https://github.com/twbs/bootstrap/pull/22426 (modulo the selector, which is wrong in that PR and will be updated in a separate PR) to get tooltips to work correctly on iOS. Dynamically adds/removes empty (`noop`) `touchstart` event handlers to all children of `<body>` in order to coax iOS into proper event delegation/bubbling
2017-04-20 13:49:35 +01:00
Bardi Harborow
b4ac48fdec
Build system overhaul.
2017-04-20 14:31:22 +10:00
Johann-S
9af6bf8f7a
Add Johann-S to Core team 🎆
2017-04-19 22:36:03 +01:00
Jesse Mandel
b6db7f5c00
Update NuGet shield link to latest version and bower shield link to
...
a bower search
2017-04-19 16:43:45 +10:00
Patrick H. Lauke
c0f068bc73
Port button group accessibility callout from v3 to v4
2017-04-18 15:14:07 +01:00
Johann-S
14b2a64b26
Fix running test on iOS with Saucelabs
2017-04-18 11:52:16 +02:00
Patrick H. Lauke
9a3e002e8f
Add dropdown menu accessibility callout and fix <a> example
...
As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their `role="menu"` etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).
Additionally, fixes up the `<a>` example for dropdown trigger, with the
missing `role="button"` and neutering the `href` (which would be useless
anyway since BS overrides the link-like nature of the `<a>` so it could
never be triggered/followed anyway)
2017-04-18 09:34:55 +01:00
Patrick H. Lauke
6ae5fb12e6
Fix carousel "hover" behavior on touch-enabled devices
...
* Add carousel mouse listeners even if touch events enabled
- touch events are enabled not just on "mobile", just also on
touch-enabled desktop/laptop devices; additionally, it's possible to
pair a mouse with traditionally touch-only devices (e.g. Android
phones/tablets); currently, in these situations the carousel WON'T pause
even when using a mouse
* Restart cycle after touchend
as `mouseenter` is fired as part of the touch compatibility events, the
previous change results in carousels which cycle until the user
tapped/interacted with them. after that they stop cycling (as
`mouseleave` is not sent to the carousel after user scrolled/tapped
away).
this fix resets the cycling after `touchend` - essentially returning
to the previous behavior, where on touch the carousel essentially never
pauses, but now with the previous fix it at least pauses correctly for
mouse users on touch-enabled devices.
includes documentation for this new behavior.
2017-04-17 13:26:46 +01:00
Patrick H. Lauke
7ffb61ac52
Rewrite getting started/accessibility docs
...
A long overdue rewrite of the accessibility section - instead of the few
snippets of strangely superficial and out-of-context advice (skip links,
use correct heading levels), this tries to answer some of the
fundamental questions about "is Bootstrap accessible", with emphasis on
the fact that the final result will depend in large part on what BS is
applied to/on (since BS relies on the markup etc authored by
developers). This also sets out our ambition to have things work for
keyboard and assistive tech users, and that we strive to make all our
examples etc accessible and semantic.
* Changes based on @mdo's feedback
2017-04-17 00:04:49 +01:00
Mark Otto
b7cc8871be
Merge branch 'v4-dev' into form-tweaks
2017-04-16 15:46:52 -07:00
Patrick Yeo
dd0ce3e4b2
Rename variable $input-border-focus to $input-border-color-focus ( #22413 )
...
* Rename variable $input-border-focus to $input-border-color-focus
* Rename variables $pagination-hover-border, $pagination-active-border, $pagination-disabled-border to $pagination-hover-border-color, $pagination-active-border-color, $pagination-disabled-border-color, respectively
* Rename variables $state-*-border to $state-*-border-color, respectively
* Rename variables $alert-*-border to $alert-*-border-color
* Rename $list-group-active-border to $list-group-active-border-color
* Rename $table-inverse-border to $table-inverse-border-color
* Rename $btn-*-border to $btn-*-border-color
* Rename $navbar-*-toggler-border to $navbar-*-toggler-border-color
2017-04-16 15:45:10 -07:00
Mark Otto
b21b83b7ea
fixes #22244 by providing more specific guidance on input types
2017-04-16 14:51:27 -07:00
Mark Otto
570efe1df6
Merge branch 'v4-dev' into form-tweaks
2017-04-16 14:03:25 -07:00
Mark Otto
2075610491
Prevent long words in .card-titles from breaking auto layout
2017-04-16 14:02:12 -07:00
Patrick H. Lauke
ea1d69c64b
Make "Copy" buttons actual buttons
...
This makes them keyboard-accessible. For mouse users, the only change
here is that the focus outline will remain on the button once clicked
(in future, this can be solved with :focus-ring, but for now this would
require a polyfill). the tooltip is explicitly hidden on `mouseleave`,
so even though the `<button>` retains focus after clicking, the tooltip
won't stay visible once mouse user moves away.
the mouse hover styles have explicitly not been make to also apply to
:focus, so as to minimise the visual impact for
mouse users (though the tooltip remains visible)
- but due to the default outline and the custom tooltip, it
should be fairly clear when keyboard users set focus to a copy button
too.
2017-04-16 13:57:33 -07:00
Mark Otto
bc0cf36dc8
grunt
2017-04-16 13:54:07 -07:00
Patrick H. Lauke
6d64afe508
Replace dropdown backdrop hack with cleaner JS-only hack
...
* Replace backdrop with simple noop mouse listener
As discussed in https://github.com/twbs/bootstrap/pull/22422 the current
approach of injecting a backdrop (to work around iOS' broken event
delegation for the `click` event) has annoying consequences on
touch-enabled laptop/desktop devices.
Instead of a backdrop `<div>`, here we simply add extra empty/noop
mouse listeners to the immediate children of `<body>` (and remove
them when the dropdown is closed) in order to force iOS to properly
bubble a `click` resulting from a tap (essentially, method 2 from
https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html )
This is sufficient (except in rare cases where the user does manage to tap
on the body itself, rather than any child elements of body - which is not
very likely in an iOS phone/tablet scenario for most layouts) to get iOS to
get a grip and do the correct event bubbling/delegation, meaning the regular
"click" event will bubble back to the `<body>` when tapping outside of the dropdown,
and the dropdown will close properly (just like it already does, even without
this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and
Windows on a touch laptop).
This approach, though a bit hacky, has no impact on the DOM structure, and
has no unforeseen side effects on touch-enabled laptops/desktops. And crucially,
it works just fine in iOS.
* Remove dropdown backdrop styles
* Update doc for dropdowns and touch-enabled devices
2017-04-14 09:19:00 +01:00
Patrick H. Lauke
3b3366e1b6
remove dropdown.js reliance on roles and fix keyboard navigation
2017-04-14 00:37:52 +01:00
Patrick H. Lauke
6301fabe45
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-13 23:41:15 +01:00
Idan Cohen
8c97532719
Fix popover arrow color for bottom position
2017-04-13 10:52:41 +02:00
Pierre Vanduynslager
2f94166276
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-12 16:31:50 -04:00
Patrick H. Lauke
1f80f61677
Reword "mobile" to "touch-enabled"
...
...as touch is not exclusive to "mobile" anymore nowadays. also explicitly clarifies this is a fix for iOS, and that it impacts touch laptops etc as well. lastly, renames the variable from "dropdown" to "backdrop" for clarity/consistency
2017-04-12 18:50:31 +01:00
Patrick H. Lauke
3275ca4b30
Reword "mobile" to "touch-enabled"
...
...as touch is not exclusive to "mobile" anymore nowadays. also explicitly clarifies this is a fix for iOS, and that it impacts touch laptops etc as well. lastly, renames the variable from "dropdown" to "backdrop" for clarity/consistency
2017-04-12 18:39:23 +01:00
Pierre Vanduynslager
208e0384df
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-12 10:36:14 -04:00
Pierre-Denis Vanduynslager
81e12d5715
Indent
2017-04-12 09:41:27 -04:00
Patrick H. Lauke
29460b2005
Remove inappropriate role="listbox" from carousels
...
Closes #22061
Xref #22365
2017-04-11 11:23:40 +01:00
Patrick H. Lauke
53b2c5520b
Remove inappropriate role="listbox" from carousels
2017-04-11 11:12:30 +01:00
Mark Otto
eae1d38733
Package grunt ( #22396 )
...
Remove docs files and Gruntfile from package managers
2017-04-10 21:12:24 -07:00
Patrick H. Lauke
2179cfb45f
Remove cursor: not-allowed styles
...
Per discussion on https://github.com/twbs/bootstrap/issues/22222#issuecomment-292819959
> browsers don't normally use the "not-allowed" cursor in these circumstances, so it makes BS a bit opinionated here. (and, at least on Windows, the "not-allowed" cursor looks rather fugly with its red colour compared to other regular mouse pointers)
>
> 
Closes https://github.com/twbs/bootstrap/issues/22222
2017-04-10 22:33:19 +01:00
Patrick H. Lauke
7056f70240
Remove cursor: not-allowed styles
2017-04-10 22:10:20 +01:00
Pierre Vanduynslager
025ddb185e
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-10 11:04:05 -04:00
Patrick H. Lauke
18e8704221
Fix collapse.js aria-expanded behavior
...
* Remove aria-expanded from collapse.js target element
aria-expanded="true"/aria-expanded="false" only applies to the trigger,
not the element that is being expanded/collapsed.
* Tweak collapse.js accessibility section
...to make it clearer that the aria-expanded attribute always just goes
on the control.
* Fix collapse.js unit tests
- reword some of the text to make it clear we're checking behavior of
trigger/control
- move incorrect aria-expanded out of the <div>s and to the actual
trigger/control <a>s
- fix incorrect test assertion text output false -> true
2017-04-10 14:51:22 +01:00
Patrick H. Lauke
3f6e1faf45
Only change aria-pressed if it's not an input-based radio or checkbox group
...
* Only change aria-pressed if it's not an input-based radio or checkbox group
aria-pressed="true"/aria-pressed="false" is really only useful for
making on/off toggles out of, say, `<button>` elements. the attribute is
useless (and potentially confusing/conflicting) on, say, `<label>`
elements for an existing `<input type="radio">` or similar.
* Add unit test for buttons.js and radio/checkbox inputs in button groups
2017-04-10 14:43:54 +01:00
Pierre Vanduynslager
d3fbebefcd
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-09 18:16:37 -04:00
Patrick H. Lauke
278ddd0acd
Remove incorrect role="tabpanel" from navs docs
...
`role="tabpanel"` is not appropriate as role for the overall container - it only applies to the individual content parts of each tab
2017-04-09 22:13:07 +01:00
Patrick H. Lauke
ba306d98bb
Merge branch 'v4-dev' into v4-dev-docs-navs-js-tabpanel-fix
2017-04-09 22:09:45 +01:00
Patrick H. Lauke
0af28c26ec
Add explicit aria-label to placeholder-only inputs
...
While `placeholder` is nominally valid per spec
http://rawgit.com/w3c/html-api-map/master/index.html#accessible-name-and-description-calculation
it is inelegant, a fallback, and not supported in ios/safari/voiceover
and android/chrome/talkback, to name a few combinations
`aria-describedby` is also not really the right tool for providing a
name/label equivalent, so remove that from the list of possible
alternative methods / clarify how it can be used
2017-04-09 22:08:36 +01:00
Patrick H. Lauke
41abd1c7a5
Merge branch 'v4-dev' into v4-dev-docs-navs-js-tabpanel-fix
2017-04-09 22:05:10 +01:00
Patrick H. Lauke
61536dd076
Merge branch 'v4-dev' into v4-docs-button-group-a11y-patch1
2017-04-09 22:03:52 +01:00
Patrick H. Lauke
6702107131
Merge pull request #22398 from patrickhlauke/v4-dev-modal-macos-fullscreen-esc-fix
...
Prevent default for ESC in modal.js
2017-04-09 22:00:51 +01:00
Patrick H. Lauke
50d178ece0
Remove incorrect role="tabpanel" from navs docs
...
`role="tabpanel"` is not appropriate as role for the overall container -
it only applies to the individual content parts of each tab
2017-04-09 21:15:05 +01:00
Patrick H. Lauke
2626eba5f1
Prevent default for ESC in modal.js
...
ESC can be used to close modals, but on OS X/macOS this also jumps out
of full-screen mode. `preventDefault` suppresses this.
2017-04-09 16:19:20 +01:00
Patrick H. Lauke
c5db196e76
Merge branch 'v4-dev' into v4-docs-button-group-a11y-patch1
2017-04-09 13:25:47 +01:00
Mark Otto
0719ab1888
grunt
2017-04-08 22:05:50 -07:00
Mark Otto
0cb2576bf2
fixes #21922 : set border-radius to 0 when global radius is disabled
2017-04-08 21:58:26 -07:00
Mark Otto
7f075bfb23
fixes #22135
2017-04-08 21:26:25 -07:00
Mark Otto
09f98fbd0e
Update card outline mixin
...
Fixes #22056 by ensuring outline cards make their header/footer transparent and use the right border color.
2017-04-08 21:25:38 -07:00
Mark Otto
e1c3f79e98
tighten up horizontal input and button padding
2017-04-08 21:25:02 -07:00
Mark Otto
01dbc4cc05
Bump up from 2px to 3px so it's consistent; also fix focus of inputs
2017-04-08 21:24:03 -07:00
Mark Otto
2dfffbde89
Rename some .open to .show ( #22389 )
...
* no more outline overrides
* rename old .open to .show
2017-04-08 16:30:18 -07:00
Mark Otto
0c59741812
property order
2017-04-08 16:29:21 -07:00
Mark Otto
90c18ebd19
Switch to ease function to remove trailing animation movement
2017-04-08 16:29:21 -07:00
Pierre-Denis Vanduynslager
73cfefd594
Do not stretch images in carousel-item
2017-04-08 16:29:21 -07:00
Mark Otto
ee5dc37ba3
drop img-fluid for w-100
2017-04-08 16:29:21 -07:00
Mark Otto
ab67ffe167
Ensure carousel works in IE10/11
...
- Drops the `if-supports-3d-transforms()` mixin since all our browsers do support it
- Updates carousel to not rely on that mixin
2017-04-08 16:29:21 -07:00
Pierre Vanduynslager
fe72daf2b3
Merge branch 'v4-dev' into dropdown-keyboard
2017-04-08 18:43:25 -04:00
Mark Otto
feb35b94a6
Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )"
...
This reverts commit 2f21403a93 .
2017-04-08 15:15:14 -07:00
Mark Otto
fba27befef
Add transition to .progress-bar
...
- Pulls in values from v3
- Closes #22371 which didn't use a transition include
2017-04-08 14:40:35 -07:00
Mark Otto
050aab338b
Add dropdown-item-padding-y var
...
- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
2017-04-08 14:40:11 -07:00
Mark Otto
2f21403a93
Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )
2017-04-08 14:23:47 -07:00
Jesper Strange Klitgaard Christiansen
11c2c07e26
Remove margin-left on caret if empty ( #22095 )
2017-04-08 14:23:07 -07:00
Mark Otto
cf2de1fd05
Drop .jumbotron-hr
...
- Closes #21760
- No longer needed since we have an rgba() value for this element, so it naturally darkens
2017-04-08 14:21:18 -07:00
Mark Otto
9a475730dc
Docs and CSS updates for #21807 ( #22336 )
...
* tweak some copy
* fix up scrollspy docs
* remove nav styles that were added
* fix nav-based docs by requiring .nav-item on .nav-link
2017-04-08 13:58:20 -07:00
Mark Otto
364e01885f
grunt
2017-04-08 13:22:53 -07:00
Catalin Zalog
f7881336e5
css: just some ordering
...
Order y & x axis by top, right, bottom, left logic
2017-04-08 13:10:25 -07:00
Catalin Zalog
758503e9ae
css: .navbar child's aligning
...
Vertical centering `.navbar` flex children's
Demo: http://jsbin.com/fibini
2017-04-08 12:38:37 -07:00
Catalin Zalog
8423e5c3e6
css: .navbar-expand .dropdown position
...
Set/reset `.dropdown` position when `.navbar-expand`.
Demo: http://jsbin.com/pojecuh
2017-04-08 12:36:28 -07:00
Mark Otto
2436ad589c
drop flex and max-width, just use width
2017-04-07 14:22:49 -07:00
Mark Otto
c6168b64ed
Remove system-ui from font stack due to i18n issues
2017-04-07 14:22:18 -07:00
Johann-S
31a21044e0
Documentation - Add inserted event for Tooltip and Popover
2017-04-07 14:23:26 +02:00
Catalin Zalog
094b3a1293
css: .container-fluid 100%
...
Force .container-fluid to be 100% width no matter if the parent is flex, or not.
Pen: http://codepen.io/zalog/pen/yMwyGr
2017-04-03 08:59:33 -07:00
Ilias
e6e070b02a
Fix #22332 : Adjust tests for hidden scrollbar
2017-04-03 13:27:15 +02:00
Pierre Vanduynslager
7e64147adf
Rename navbar-toggleable to navbar-expand in docs ( #22309 )
2017-04-02 12:44:38 -07:00
Mark Otto
7d88f365c0
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-04-02 12:00:52 -07:00
Ilias
a14451deb3
Fix #18373 : properly adjust padding-right of body and fixed elements when opening or closing modal
2017-04-02 13:26:25 +02:00
Pierre Vanduynslager
91b62941af
Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...)
2017-04-02 11:21:04 +02:00
Mark Otto
49b6cf845d
grunt
2017-04-01 19:18:29 -07:00
Johann-S
5142de7e59
Popover + Tooltip - fix error when content or title is a number
2017-03-31 10:03:54 +02:00
Patrick H. Lauke
63cd4e96b3
Add explicit aria-label to placeholder-only inputs
...
While `placeholder` is nominally valid per spec
http://rawgit.com/w3c/html-api-map/master/index.html#accessible-name-and-description-calculation
it is inelegant, a fallback, and not supported in ios/safari/voiceover
and android/chrome/talkback, to name a few combinations
`aria-describedby` is also not really the right tool for providing a
name/label equivalent, so remove that from the list of possible
alternative methods / clarify how it can be used
2017-03-30 23:31:14 +01:00
Praveen Puglia
cb4bc89fdf
ability to change text color in popovers ( #22221 )
2017-03-28 15:21:47 -07:00
Johann-S
fb42d6e043
Collapse - Fix check to not prevent event for input and textarea
2017-03-29 00:10:27 +02:00
Pierre Vanduynslager
48c5efa4c3
Fix JS components console error "Error: <Component> is transitioning"
2017-03-28 23:43:15 +02:00
Mark Otto
ce0e2f8e76
don't test ie9 on win7 anymore ( #22294 )
2017-03-28 13:36:11 -07:00
Mark Otto
b3cad39782
quickly fix #21761 by adding .text-gray-dark example
2017-03-28 09:35:39 -07:00
Mark Otto
cf7d3e11e0
grunt
2017-03-28 09:31:32 -07:00
Mark Otto
296c99020c
Revamp button and input vars while fixing #21587 ( #22287 )
2017-03-28 09:28:27 -07:00
Johann
904efc043d
Fix different tooltips offset when hovering
2017-03-28 15:55:03 +02:00
Mark Otto
7742ba6dc9
grunt
2017-03-27 22:56:14 -07:00
Mark Otto
bebdbe4119
Fix wrapping card decks ( #22289 )
...
fixes #22007 and fixes #21976 by changing margin strategy for card deck gutters
2017-03-27 22:53:39 -07:00
Mark Otto
fe3acc097a
Card image fixes ( #22288 )
...
* fix image stretching due to flexbox
* fix broke text-muted on dark bg
* no img-fluid needed
2017-03-27 22:52:24 -07:00
Johann
24924c23b2
Collapse - do not prevent event for input and textarea
2017-03-27 10:08:39 +02:00
Mark Otto
8edfe0ff56
fixes #21608
2017-03-26 17:31:29 -07:00
Mark Otto
6331b9962b
grunt
2017-03-26 15:26:07 -07:00
Mark Otto
3ea3e10799
Use the hr-method for the nav-divider, closes #21945
2017-03-26 15:03:13 -07:00
Mark Otto
319c278cfe
grunt
2017-03-26 14:52:41 -07:00
Mark Otto
7ca078da81
fixes #22111
...
- add .col-*-auto to the extend in our grid framework mixins so it gets padding
- this means we can avoid the col-12 classes in our docs for the responsive variants
2017-03-26 13:23:49 -07:00
Mark Otto
1d48151975
git that a link too for now
2017-03-26 13:23:49 -07:00
Mark Otto
9010978c1a
add example and document bug behavior to fix #21967
2017-03-26 13:23:49 -07:00
Mark Otto
1ad0496724
fix broken fieldset grid, workaround for flexbug 9
2017-03-26 13:23:49 -07:00
Mark Otto
1e6902d21f
fixes #22133
2017-03-26 13:23:49 -07:00
Mark Otto
32ed268c82
fixes #22245 : revamp the breakpoint-between and breakpoint-only mixins to actually work
2017-03-26 13:23:49 -07:00
Mark Otto
2b3a2b65a9
doh forgot to save
2017-03-26 13:23:49 -07:00
Mark Otto
9596cb5087
clarify docs a bit more and remove some words; closes #21683
2017-03-26 13:23:49 -07:00
Mark Otto
8108c0357a
Drop position relative on container that was added quickly in Alpha 6
2017-03-26 13:23:49 -07:00
Mark Otto
1a264be8b3
Redo semantic grid example and make it real in the docs
2017-03-26 13:23:49 -07:00
Mark Otto
2d243086c9
clean up mixin docs
2017-03-26 13:23:49 -07:00
Mark Otto
4ab06ca453
grunt
2017-03-26 11:26:31 -07:00
Catalin Zalog
e20d744bdf
.navbar-toggler color
...
Change the .navbar-toggler to default contextual .navbar-*-color.
<iframe height='265' scrolling='no' title='Bootstrap - .navbar-toggler color' src='//codepen.io/zalog/embed/MJLZOE/?height=265&theme-id=light&default-tab=css,result&embed-version=2' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='http://codepen.io/zalog/pen/MJLZOE/ '>Bootstrap - .navbar-toggler color</a> by Catalin Zalog (<a href='http://codepen.io/zalog '>@zalog</a>) on <a href='http://codepen.io '>CodePen</a>.
</iframe>
2017-03-26 10:43:57 -07:00
Sid
d2b919143c
Add missing v4 docs for tooltip/popover methods ( #22246 )
...
Add missing v4 docs for tooltip/popover methods
2017-03-24 11:32:39 +01:00
Mark Otto
7f21a80a6a
fix dupe ids
2017-03-23 23:02:28 -07:00
Mark Otto
2af1be2440
fix broken justified-nav example, fixes #21874
2017-03-23 23:02:28 -07:00
Mark Otto
90c5f6230b
rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else
2017-03-23 23:02:28 -07:00
Mark Otto
11ba308b2f
more docs updates
2017-03-23 23:02:28 -07:00
Mark Otto
c5d10f6dee
update docs
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
17cb5bb674
Allow to customize navbar-brand font-size
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
a03aaf39df
Harmonize navbar-brand, navbar-text and nav-link height
2017-03-23 23:02:28 -07:00
Mark Otto
a3a1a592b5
update docs example to use new stuff
2017-03-23 23:02:28 -07:00
Mark Otto
09ba3de619
revamp the collapse behavior
...
instead of flex column, use wrap and an explicit flexbox break with flex-basis 100% on the navbar-collapse.
add some additional container styles for enabling flex behavior when content isn't immediate child of .navbar
2017-03-23 23:02:28 -07:00
Mark Otto
0eb9862514
account for fluid containers
2017-03-23 23:02:28 -07:00
Mark Otto
1e424bfcf6
ditch abs positioned togglers for explicit justify-content: space-between on parent
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
89b47efc32
Simplify generation and get rid of previously added "breakpoint-previous" function
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
c1325a756e
Generate correct breakpoints for navbar-toggleable-* and generate toggleable without media query to never collapse
2017-03-23 23:02:28 -07:00
Mark Otto
d0b568470f
fixes #22254
2017-03-23 22:34:35 -07:00
Patrick Hayes
e41316cd94
Fix modal documentation ( #22252 )
...
The example code has the class `"modal fade"`, but the visible example has the class `"modal"`. `"fade"` appears to not work for modals that you do not intend to animate onto the page
2017-03-23 21:16:06 -07:00
Johann
3f247a42f2
Fix Modal documentation about _handleUpdate method + move to public scope ( #21877 )
...
Fix Modal documentation about _handleUpdate method + move to public scope
2017-03-23 22:22:09 +01:00
Pierre Vanduynslager
37f438910f
Accordion behavior with JQuery interface ( #21726 )
...
Fix accordion behavior with JQuery interface
2017-03-23 21:15:41 +01:00
Gifford Nowland
7c4ed09da2
fix data-pause documentation for carousel ( #21938 )
...
fix data-pause documentation for carousel
2017-03-22 23:02:56 +01:00
Johann
c72a315740
Carousel - Add attributes from and to for Slid and Slide events ( #21668 )
...
Carousel - Add attributes from and to for Slid and Slide events
2017-03-22 22:42:13 +01:00
Pierre Vanduynslager
78fc4d23fc
Always append element to fixture in Scrollspy unit tests ( #22234 )
2017-03-21 10:21:00 -07:00
Bardi Harborow
cab6f7d16c
More config tweaks.
2017-03-21 21:37:33 +11:00
Mark Otto
1ecb74e007
bump to jquery 3.2.1
2017-03-20 23:27:54 -07:00
Mark Otto
fcaf81003c
one more
2017-03-20 13:25:10 -07:00
Mark Otto
6d994d5424
link and more
2017-03-20 13:24:36 -07:00
Mark Otto
37d515436c
one more tweak
2017-03-20 13:20:11 -07:00
Mark Otto
c0e243457b
fix heading
2017-03-20 13:19:09 -07:00
Mark Otto
1034ff5339
redo readme a smidge
2017-03-20 13:17:30 -07:00
Bardi Harborow
09fb2b9af3
Update dependencies.
2017-03-20 17:37:05 +11:00
Mark Otto
38f89726b9
fixes #21920
2017-03-19 20:51:35 -07:00
Mark Otto
e506e59c45
grunt
2017-03-19 19:03:32 -07:00
Mark Otto
b836371525
document it
2017-03-19 19:03:29 -07:00
Mark Otto
3730c5dbf5
Merge branch 'collapse' of https://github.com/Johann-S/bootstrap into Johann-S-collapse
2017-03-19 18:43:13 -07:00
Mark Otto
6bc93c9593
grunt
2017-03-19 18:42:20 -07:00
Mark Otto
40ac03384d
linting from before
2017-03-19 18:39:48 -07:00
Mark Otto
b1b2cfbc9d
fix markdown docs tables
2017-03-19 18:39:48 -07:00
Mark Otto
374c45048c
rewrite in markdown
2017-03-19 18:39:48 -07:00
Mark Otto
d093460252
fixes rest of #21585 ; adds custom styles for inverse table accent hover and active states
2017-03-19 18:39:48 -07:00
Mark Otto
13a874e340
reorder
2017-03-19 18:39:48 -07:00
Mark Otto
78cad48c70
consistent breaks
2017-03-19 18:39:48 -07:00
Mark Otto
4c015bf378
Do what the comment says; add this only to devices under 768px
2017-03-19 18:39:48 -07:00
Mark Otto
08d612f3e4
correct inverse table border color, add new var
2017-03-19 18:39:48 -07:00
Gaël Poupard
2085c14267
Update _screen-reader.scss ( #22154 )
...
* Update _screen-reader.scss
Small improvements that could be important:
* `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property ). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992 );
* [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg ) solved with `white-space`.
See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ ).
Also kinda related to issue #20732 :)
Please let me know if you find any trouble with this technique. Thanks a lot!
* Reorder declarations
To pass Hound.
Didn't think `clip` and `clip-path` would be considered as unrelated…
* Trailing spaces
* Last trailing space?
* Remove margin: -1px
2017-03-19 16:05:45 -07:00
Mark Otto
caebfcd246
Fix justified nav styles and update nav docs for fill/justify
...
- Justified and fill nav variants need .nav-item classes on the anchors in addition to .nav-link
- Fix broken styles for the .nav-justified class which wasn't actually doing what we needed it to
2017-03-19 15:47:34 -07:00
Mark Otto
bfcfbb7d5c
link to caniuse for context
2017-03-19 15:24:20 -07:00
Mark Otto
bbffcb7d22
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-19 15:21:18 -07:00
Bardi Harborow
95841f7432
Change duplicate id.
2017-03-19 22:57:17 +11:00
Pierre-Denis Vanduynslager
f5cc591456
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-03-18 22:08:55 -04:00
Mark Otto
ae50bb7845
grunt
2017-03-18 18:47:57 -07:00
Pierre Vanduynslager
275821bbb0
HTMLElement.offset* by getBoundingClientRect() ( #21788 )
...
* Replace element.offet* by getBoundingClientRect()
* Use variable to store BoundingClientRect
* Fix cc issue...
2017-03-18 18:24:54 -07:00
Johann
f2f2e39a45
Fix getSelectorFromElement when # is a selector ( #21615 )
...
* Fix getSelectorFromElement when # is a selector
* Thanks to @vanduynslagerp remove regex to validate selector
2017-03-18 17:42:11 -07:00
Pierre Vanduynslager
f2f8051285
Fix backdrop for dropdown menu on mobile ( #21578 )
...
- Create backdrop only if the menu is actually open (do not create it if the show event is prevented)
- Drop the backdrop only when the corresponding menu is closed (do not remove if there is no menu to close or if the hide event is prevented)
2017-03-18 17:41:13 -07:00
Mark Otto
5a5ab4c0de
grunt
2017-03-18 16:51:32 -07:00
Mark Otto
eb2a9da5b4
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:50:02 -07:00
Mark Otto
5f3473258e
add header and footer to example
2017-03-18 16:49:55 -07:00
Johann
1a46d8c730
Allow to use Tab.js with list-group ( #21756 )
...
* Allow to use Tab.js with list-group
* Allow to use list-group with div parent instead of an ul parent
2017-03-18 16:36:33 -07:00
Mark Otto
ab77282004
grunt
2017-03-18 16:31:26 -07:00
Mark Otto
e1c561a723
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:30:24 -07:00
Mark Otto
ec8c251928
fixes #21584
...
- revert back to display block for list items to prevent unwanted behaviors
- fixes a handful of other linked issues (see main thread)
- updates docs to include more utilities for the one example
2017-03-18 16:30:12 -07:00
Theriault
6f42daf747
Add :empty to .custom-file-control selector ( #22176 )
...
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control"></span></label>
VS
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control">test.txt</span></label>
2017-03-18 13:23:10 -07:00
jak
860181212d
docs: add text-truncate and extend on text-nowrap
2017-03-18 13:18:05 -07:00
naicko
890c6041f3
Update scss mixins to comply with scss-linting rules ( #22151 )
...
* Fixed some linting issues
* Run npm tasks after scss cleanup
* Revert "Run npm tasks after scss cleanup"
This reverts commit 1103a0da68 .
* Property sort order for grid
* Let's respest the property order in the mixins
* Respect property sort order in reboot file
* ::-ms-expand is a vendor-prefix, add it to the scss-lint disable
* Revert hover mixin comment
* Fixed missing mixin hover-focus
2017-03-18 13:06:05 -07:00
Mark Otto
f61fb70eb1
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-14 20:00:39 -07:00
Mark Otto
08984ac8cd
Remove the outline override from dropdown toggles
...
fixes #17573
2017-03-12 18:26:53 -07:00
Dominic Watson
b3aa5ec360
Use btn-$variant-color variables for outlined btns ( #22164 )
...
Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff
Related: https://github.com/twbs/bootstrap/pull/20734
2017-03-12 18:25:56 -07:00
Mark Otto
7180b42aa1
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-12 17:56:09 -07:00
Bardi Harborow
84ce248f06
Update config files across the board.
2017-03-12 16:15:00 +11:00
Bardi Harborow
348c770a6c
Update dependencies.
2017-03-12 14:41:41 +11:00
Johann-S
21b537cc24
Add unit test
2017-03-09 11:08:47 +01:00
Johann-S
fa1504e6f6
Fix code style
2017-03-08 11:15:58 +01:00
Mark Otto
7e07d5bf2e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-07 20:44:42 -08:00
Johann-S
099486f294
Detach accordions from .card
2017-03-07 10:46:08 +01:00
Starsam80
95f37e4c40
Clean up spacers a bit more
2017-03-05 16:05:12 -06:00
Mark Otto
9a93671b75
Move box-shadow and transition mixins out of the main mixins file and into their own files
2017-03-05 12:40:01 -08:00
Mark Otto
ac3a2fe9bf
add more
2017-03-05 12:25:41 -08:00
Mark Otto
a607ead34c
fill in docs for layout utils page
2017-03-05 12:25:41 -08:00
Mark Otto
78937cbb39
move visibility docs and add .visible mention
2017-03-05 12:25:41 -08:00
Mark Otto
b7bf343958
update the migration docs
2017-03-05 12:25:41 -08:00
Mark Otto
22ee8c1aee
clear out docs css
2017-03-05 12:25:41 -08:00
Mark Otto
c6fdac9415
update instances of old classes in the docs
2017-03-05 12:25:41 -08:00
Mark Otto
4778190d78
Drop the .hidden and .visible classes, save for the print ones
...
— Moves print display utils to display utils file
— Removes all other .hidden- utils
— Expands on .invisible and it's mixin to provide options for visibility: visible and visibility: hidden
2017-03-05 12:25:41 -08:00
Mark Otto
ebe405a01b
Start rearranging the docs for a utilities update
...
— Rename display docs page
— Move print display utils to display utils page
— Drop remaining of responsive utils page as it's being replaced with display utils
— Update nav to reflect changes
2017-03-05 12:25:41 -08:00
Mark Otto
ed1de86794
Update spacer utilities ( #22123 )
...
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Patrick H. Lauke
192a8af0df
Merge pull request #22116 from Devinsuit/v4-dev
...
Update Google sourcemap resources link
2017-03-04 19:57:00 +00:00
Devinsuit
9fbaa4d160
Update link
2017-03-04 22:07:05 +03:00
Mark Otto
a60542cf15
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-03 13:09:08 -08:00
Catalin Zalog
70a57902ce
Change sticky order ( #22027 )
...
Based on this pen: http://codepen.io/zalog/pen/jyoyoR
2017-03-03 13:02:17 -08:00
Mark Otto
66a1f1d360
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-03 11:32:34 -08:00
Mark Otto
4a1b8919d1
grunt
2017-03-03 11:31:47 -08:00
Rutger Laurman
0a997795b4
Fix border width calculation for custom-select ( #22068 )
...
In addition to #22011 and #21994
2017-03-03 11:19:02 -08:00
Sean Beyer
e02597519a
Remove 'hover' from nav-tabs-active-link-hover-color et al ( #22087 )
...
* Remove 'hover' from variable names
* Fix indentation in variables
2017-03-03 11:15:41 -08:00
Alex Neises
c10200267b
Fixed spelling error. ( #22102 )
2017-03-02 16:32:21 -08:00
Sam Rapaport
651243f57c
Fix spelling error.
2017-03-02 14:22:01 +11:00
Bardi Harborow
e8015e3f16
Fix broken links.
2017-02-27 21:51:26 +11:00
Mark Otto
07f63324d1
add more grid layout options
2017-02-26 17:14:25 -08:00
Mark Otto
dcd020b3f7
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-02-26 15:35:17 -08:00
Jason Millis
312522529c
Re-arranged contextual rows/cells ( #21980 )
...
Re-arranged contextual rows/cells so that example HTML matches example result.
2017-02-26 15:32:34 -08:00
Bardi Harborow
db23b1f32e
Move Jekyll to npm script.
2017-02-25 17:44:26 +11:00
nextgenthemes
45a065739e
normalize is no longer part of BS
...
normalize is no longer part of BS
2017-02-25 16:14:27 +11:00
Bardi Harborow
6593b15555
Refactor QUnit test page.
2017-02-22 11:14:47 +11:00
Bardi Harborow
9bacc6715a
Remove vendor prefixes from appearance: none.
2017-02-21 17:38:11 +11:00
Mark Otto
d2ddb55180
use secondary buttons instead of primary ones for a bit better example of styles
2017-02-12 17:15:16 -08:00
Mark Otto
371bf95575
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-02-12 17:06:07 -08:00
Pierre Vanduynslager
3173a72083
Remove unused input-size mixin ( #21971 )
2017-02-11 21:16:16 -08:00
Mark Otto
820d912860
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-02-11 17:06:24 -08:00
Patrick H. Lauke
766e8b1576
Merge pull request #21953 from matteason/patch-1
...
Change 'has no affect' to 'has no effect' in Modal documentation
2017-02-09 16:26:35 +00:00
Matt Eason
29a8f9fc99
Change 'has no affect' to 'has no effect'
2017-02-09 16:17:32 +00:00
Pierre-Denis Vanduynslager
4ab576a419
Fixes #21941
2017-02-08 18:51:50 -05:00
Waldson Moura
20389c10da
Fix fallback jquery filename ( #21940 )
2017-02-07 19:22:48 -08:00
Mark Otto
342e19ae89
grunt
2017-02-07 18:11:13 -08:00
Mark Otto
c56a651b7d
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-02-07 18:04:44 -08:00
Bardi Harborow
cb87eebcbb
Update dependencies.
2017-02-05 23:50:06 +11:00
Mark Otto
672fde1a02
stub out icons page in docs
2017-02-04 21:14:41 -08:00
Mark Otto
7263ec60e2
Rename icon-fonts.md to icons.md
2017-02-04 19:46:07 -08:00
Mark Otto
d79b556373
Fixes #21814 . Also accounts for custom file inputs.
2017-02-04 17:03:42 -08:00
Mark Otto
0da20476ec
Fixes #21892
2017-02-04 16:43:05 -08:00
Mark Otto
6b9265fc2d
Add utilities/flex to the dedicated grid Sass bundle so folks can take advantage of the utilities for basic flex alignment
2017-02-04 15:57:21 -08:00
Mark Otto
09c7b1c582
Fixes #21908
2017-02-04 15:55:37 -08:00
Mark Otto
d822e9e491
grunt
2017-02-04 12:55:36 -08:00
Juan Carlos González Cabrero
a8b00ddc12
Reduce the width to prevent the modal fills the screen width
2017-01-28 18:26:55 +01:00
Juan Carlos González Cabrero
95dffb3279
Add new extra large size for modal containers
2017-01-28 18:26:55 +01:00
Patrick H. Lauke
cfb25f6995
Merge pull request #21850 from patrickhlauke/v4-dev
...
Add aria-label to docs search field
2017-01-26 11:14:21 +00:00
Patrick H. Lauke
f5745ab846
Add aria-label to docs search field
2017-01-26 11:12:39 +00:00
Mark Otto
6aad73ac6d
Remove random cursor: default from pill nav ( #21835 )
...
Fixes #21560 . Pretty sure this wasn't intentional, so should be fine to remove.
2017-01-24 21:06:22 -08:00
Mark Otto
9d7d84e0b9
Allow button toolbars to wrap ( #21826 )
...
Fixes #21699
2017-01-24 20:43:33 -08:00
Mark Otto
a5abfe0ac0
fixes #21567
2017-01-24 00:22:31 -08:00
Mark Otto
d82e04e749
grunt ( fixes #21819 )
2017-01-24 00:18:41 -08:00
Sergey Kovalenko
bf7387aa42
Add align self to navbar brand ( #21626 )
2017-01-24 00:09:54 -08:00
Mark Otto
519ecc1c69
Rename order utilities to intended class names ( #21739 )
...
* rename order utilities to intended class names
* Documentation fixes.
2017-01-24 00:01:44 -08:00
Geremia Taglialatela
b509dbe75b
Pixel perfect navbar toggler ( #21821 )
...
The actual available size of the navbar toggler icon is 30px, but the
SVG uses a 32 unit grid. This commit uses a 30 unit grid and updates
icon accordingly.
2017-01-24 00:00:18 -08:00
Mark Otto
ea6390d513
Update _custom.scss imports in other builds ( #21825 )
...
- Correctly places the _custom.scss file first in the other two buids.
- Also removes the clearfix mixin from the grid build because flexbox yo.
2017-01-23 23:59:19 -08:00
Mark Otto
f18a4cdadd
Allow flex-based navs to wrap like they used to ( #21824 )
2017-01-23 23:58:22 -08:00
Mark Otto
02e0fdbd52
Remove cursor: pointer; ( #21812 )
...
* Remove most of custom cursor: pointer; implementations
* turns out that's not so much of a thing
2017-01-23 22:15:28 -08:00
Geremia Taglialatela
104477af17
Fix body padding in Dashboard and Jumbotron examples.
...
The actual navbar height is 3.5rem.
2017-01-23 22:20:07 +11:00
Bardi Harborow
c5a9ebf576
Move htmllint to npm script.
2017-01-23 20:53:17 +11:00
Quy
563926717c
Change to markdown ( #21815 )
2017-01-22 20:37:14 -08:00
Pierre-Denis Vanduynslager
403f55fba9
Fix spacebar key in Firefox for button elements
2017-01-22 17:34:54 -05:00
Pierre-Denis Vanduynslager
1cdd0d16c1
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-01-22 17:32:50 -05:00
Quy
091f3b8c24
Change header to use markdown ( #21809 )
...
Header will now display in the Contents section.
2017-01-22 11:17:17 -08:00
Mark Otto
c920049b5b
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-01-21 18:02:23 -08:00
Marcus Molchany
3cb252570a
Update grid layout docs ( #21806 )
...
Update Mix and match section with correct responsive classes
for stacking cols.
2017-01-21 18:01:13 -08:00
Mark Otto
deb1c59c53
grunt
2017-01-21 17:50:45 -08:00
Mark Otto
4fa7749442
Drop Normalize, port relevant parts to Reboot ( #21741 )
...
* Get this party started by removing mention of Normalize.css
* Nuke the old comment, consolidate to a single line and number as appropriate
* Bring over styles for HTML element from Normalize to Reboot
* Move margin override for body element from Normalize to Reboot
* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support
* Building on previous commit, do the same thing for figure, figcaption, and main
* Remove IE9- display from Normalize given our browser support
* Drop IE8 figure margin because we're IE10+
* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already
* Drop Safari 6 b and strong normalization because we're Safari 8+
* Remove mark styles for IE9- from Normalize
* Remove old iOS audio fixes from Normalize
* Remove IE9- display for progress from Normalize
* Remove more IE9- rules from Normalize
* One more IE9- display removal for canvas element
* Move pre overrides from Normalize to Reboot
* Move over some link resets to Reboot, drop others
- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links
* Move over more code element resets, consolidate with pre overrides, too
* Move over sub and sup wholesale
* Move over img normalization to Reboot
* Move over SVG override too
* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary
* Remove bulk of @viewport comment
* edit down that code comment
* consolidate html-based normalizations
* update comments
* Consolidate abbr styles
* move over more type elements
* move over hr changes
* move over form controls and more
* move over button resets
* move over firefox button changes
* move over search changes and more
* we nuke all these styles for fieldsets anyway, so outright remove them
* no need for those, we override them
* move over legend, fieldset, progress
* line break
* delete normalize file
* linting
* update comment
* clarify docs mentions of normalize and reboot
* remove normalize excludes from linter
* remove normalize excludes from cli task
* linting
* callout license since we forked part of normalize
* Improve comments, move table background reset to .table class instead of in reboot
* trailing space
2017-01-21 14:14:25 -08:00
Mark Otto
0220d8b7d4
grunt
2017-01-21 13:25:29 -08:00
Mark Otto
45fed9b0cd
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-01-21 13:25:16 -08:00
Pierre Vanduynslager
9cf235508d
Fix container within navbar on smallest breakpoint ( #21722 )
...
* Make container in navbar to occupy full width even on smallest breakpoint
* Fix typo in comment
* Apply fix only on smaller breakpoint
* drop the comment as chrome doesn't have a bug here
2017-01-21 13:06:00 -08:00
Mark Otto
eb361fa6c1
Progress line height ( #21805 )
...
* remove obvi comments
* proper fix for #21801
- ensures .progress-bar text is vertically centered should the height of the .progress-bar change by matching the line-height and height values
- we can't use flexbox here because the inner text of an element doesn't count as a flex item
2017-01-21 12:32:38 -08:00
Gijs Boddeus
12b22ebad6
fix segmented buttons ( #21716 )
...
* fix segmented buttons
changed flex-direction to row
centering is now done by align-items instead of justify-content
this way there is no need for flex property on the .btn inside .btn-group
* Update _input-group.scss
2017-01-21 12:25:24 -08:00
Dmytro Yarmak
ade657afee
Fix gaps between vertical grouped buttons when using labels ( #21793 ) ( #21796 )
2017-01-21 12:18:58 -08:00
Mark Otto
9f7ce09fb8
remove pretty obvi comments
2017-01-21 12:10:46 -08:00
Pierre-Denis Vanduynslager
ef2181ff4d
Harmonize document.activeElement comparison
2017-01-20 23:22:50 -05:00
Pierre-Denis Vanduynslager
4448ca057b
Refactor test to event and async
2017-01-20 23:02:45 -05:00
Pierre-Denis Vanduynslager
1a783a4255
Add unit test for keyboard navigation
2017-01-20 23:02:19 -05:00
Pierre-Denis Vanduynslager
59f438b40e
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-01-20 20:27:17 -05:00
Pierre-Denis Vanduynslager
9daf681478
Fix test to retrieve the proper item instead of it's parent
2017-01-20 20:27:14 -05:00
Patrick H. Lauke
80058b233e
Merge pull request #21774 from vanduynslagerp/fix-scrollspy-test-markup
...
Add missing closing tag in scrollspy visual test
2017-01-18 22:29:57 +00:00
Pierre-Denis Vanduynslager
57713c9fc5
Fix missing closing tag
2017-01-18 15:01:06 -05:00
Pierre-Denis Vanduynslager
8da2815e47
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-01-16 15:31:38 -05:00
Erin Brown
8167682deb
Specify card component is necessary for accordion behavior ( #21746 )
...
- It is unclear that the use of the card component is necessary
when extending the collapse behavior to behave like an accordion.
2017-01-16 10:25:42 -08:00
Geremia Taglialatela
2a45ca5106
Fix horizontal scrollbar appearing in docs ( #21747 )
...
On small screens (< 576px), all documentation pages containing
`.bd-example` styled tags, show the horizontal scrollbar because of a
wrong horizontal margin property.
This PR sets the horizontal margin on gutter width basis instead of rem.
2017-01-16 10:24:59 -08:00
Quy
87751da482
Update .tag to .badge in migration ( #21565 )
2017-01-15 21:46:42 -08:00
Quy
db4fe7c69d
Remove IE9 from SVG images callout ( #21566 )
2017-01-15 21:46:16 -08:00
Pierre-Denis Vanduynslager
1528516dd6
Add doc example with badge links ( #21674 )
2017-01-15 21:45:04 -08:00
Christian Oliff
5eb67091b5
Update Search input to type="search" ( #21617 )
...
This is semantically correct and works just as well.
2017-01-15 21:44:27 -08:00
Amy Gori
44684a60e5
Correct xs and sm breakpoint values in responsive utilities docs ( #21664 )
2017-01-15 21:37:06 -08:00
Pierre-Denis Vanduynslager
d6a5439a8c
Remove list-group-item-heading and list-group-item-text ( #21653 )
2017-01-15 21:36:15 -08:00
Pierre-Denis Vanduynslager
a3bc607c10
Remove unused scss variables ( #21579 )
...
* Remove unused scss variables
* Remove unnecessary space
* Remove $zindex-navbar from docs
* Re-add $progress-box-shadow
2017-01-15 21:35:18 -08:00
Pierre-Denis Vanduynslager
1d0f527249
Add alert divider (<hr>) example in docs ( #21673 )
...
* Add alert divider (<hr />)example in docs
* <hr/> => <hr> per @vsn4ik suggestion
2017-01-15 21:33:32 -08:00
Christian Oliff
d7af46359b
Remove filter: alpha(opacity = 0);
...
Not needed (and all other old IE filter attributes have been removed from the CSS. This was the only one remaining
2017-01-15 17:52:34 -08:00
Mark Otto
fc82352594
fixes #21625 , closes #21539
...
don't set focus styles on the anchor, just set hover styles
2017-01-15 17:51:26 -08:00
Patrick H. Lauke
75848192da
Merge pull request #21736 from marios-zindilis/v4-dev
...
Fixed minor typo
2017-01-15 17:53:25 +00:00
Marios Zindilis
57fe8ac84c
Fixed minor typo
2017-01-15 17:14:25 +00:00
Pierre-Denis Vanduynslager
a85b80fa75
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-01-15 10:33:54 -05:00
Pierre-Denis Vanduynslager
8fbd4aaa38
Correct reference to Direction.PREV constant. ( #21709 )
2017-01-15 13:46:03 +11:00
Pierre-Denis Vanduynslager
c80e13a48a
Use existing keycode constants in dropdown. ( #21697 )
2017-01-15 13:42:24 +11:00
Patrick H. Lauke
25f81e1fe6
Merge pull request #21730 from patrickhlauke/v4-docs-focus-styles
...
[Docs] Add missing :focus styles
2017-01-15 01:46:33 +00:00
Pierre-Denis Vanduynslager
ec697b2076
Update broken links. ( #21696 )
2017-01-15 12:11:57 +11:00
Patrick H. Lauke
4adaa64d9a
Add missing :focus styles
...
Double up :hover styles to also apply on :focus (particularly the
masthead button needs this, as otherwise it gives no visible indication
of being focused)
2017-01-14 22:54:55 +00:00
Patrick H. Lauke
b47c252ee1
Merge pull request #21671 from vanduynslagerp/fix-21665
...
Fix modal id in doc example (Fix #21665 )
2017-01-12 13:34:40 +00:00
Patrick H. Lauke
97e757cfbe
Merge pull request #21672 from patrickhlauke/v4-remove-aria-multiselectable
...
Remove incorrect aria-multiselectable
2017-01-11 23:59:30 +00:00
Patrick H. Lauke
6b48ba4e0d
Remove incorrect aria-multiselectable
...
Closes https://github.com/twbs/bootstrap/issues/21635
2017-01-11 23:57:59 +00:00
Pierre-Denis Vanduynslager
a98fb3c83a
Fix modal id in doc
2017-01-11 18:30:48 -05:00
Mehdi HosseinZade
3df1bfd8cd
Update README.md
2017-01-09 21:06:14 -08:00
Rishabh Rajgarhia
2f429fbd77
Update breakpoints in breakpoints.scss comments
2017-01-09 21:05:24 -08:00
Zulfiqar Ali
e7035aee3f
_custom.scss should be the first include
2017-01-09 21:03:40 -08:00
Bardi Harborow
cdf73209df
Fix incorrect docs.min.js bundle source.
2017-01-08 12:14:05 +11:00
Pierre-Denis Vanduynslager
4c2f544359
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2017-01-06 15:57:15 -05:00
Pierre-Denis Vanduynslager
eb84c03ddf
Update dropdown unit test to new markup
2017-01-06 15:56:38 -05:00
Mark Otto
65ffb1c3b6
hashes
2017-01-06 08:41:52 -08:00
Mark Otto
d2fbf58546
grunt
2017-01-06 08:39:56 -08:00
Mark Otto
7ea1417b90
rubygems version bump
2017-01-06 08:39:00 -08:00
Mark Otto
045888fa38
version bump
2017-01-06 08:38:04 -08:00
Mark Otto
4f4aa9fdb7
grunt
2017-01-06 08:28:50 -08:00
Bardi Harborow
af05b889a8
Fix media object alignment examples.
2017-01-06 16:45:06 +11:00
Mark Otto
0c12ccbeb6
Merge branch 'v4-dev' into v4-docs-streamlined
2017-01-05 14:53:08 -08:00
Mark Otto
43d9391fba
grunt
2017-01-05 14:51:14 -08:00
Supergibbs
4d4085a59f
Update nuspec to support jquery v1.9.1 - v3.x
2017-01-05 14:25:31 -08:00
Quy
98e55484e7
Doc updates ( #21542 )
...
* Change it's to its.
* Fix links
* Fix typos
2017-01-05 14:24:40 -08:00
Patrick H. Lauke
85a1fdcb29
Merge pull request #21093 from Johann-S/fixButtonGrpAria
...
Close #21090 - Fix aria-pressed attribute for buttons in container with data-attribute="buttons"
2017-01-05 09:35:43 +00:00
Bardi Harborow
0ac7eb4fe0
Update dependencies.
2017-01-05 14:39:18 +11:00
Bardi Harborow
e4c0311626
Update broken links.
2017-01-05 11:17:22 +11:00
Mark Otto
0015da793a
grunt
2017-01-04 11:59:07 -08:00
Pierre-Denis Vanduynslager
d1b742f228
Use pageYOffset instead of scrollY
2017-01-04 11:42:08 -08:00
Mark Otto
f93930199e
Update custom content example for list group to use utils so the layout doesn't break
2017-01-04 11:41:40 -08:00
Pierre-Denis Vanduynslager
b2121d499c
Fix progress doc markup
2017-01-04 11:27:45 -08:00
Sergio Pantoja
ff0cf67a7e
Fix typo on v4 Migration page
2017-01-04 11:26:54 -08:00
Pierre-Denis Vanduynslager
67958f35e8
Merge conflict
2017-01-04 12:24:33 -05:00
Pierre-Denis Vanduynslager
c4867cfedb
Merge branch 'twbs/v4-dev' into dropdown-keyboard
...
# Conflicts:
# js/src/dropdown.js
2017-01-04 12:22:06 -05:00
Johann-S
0463b01282
Close #21090 - Fix aria-pressed attribute for buttons in container with data-toggle='buttons'
2017-01-04 11:02:16 +01:00
Phillip Marshall
1b194c0660
Custom Forms: Allow Chrome/Firefox feature that lets the user drag and drop into file inputs ( #20033 )
...
* Restored functionality of dragging files into .custom-file inputs.
* Replaced padding with height on .custom-file-input
2017-01-03 19:44:44 -08:00
Mark Otto
0ffd369afd
clarify usage of base font-size so we know what's up
2017-01-03 19:32:57 -08:00
Mark Otto
57d3a25fec
leave a note in the docs
2017-01-03 19:32:57 -08:00
Mark Otto
bd38a2a218
Remove -size-root so we can respect user prefs on browser default font-size
2017-01-03 19:32:57 -08:00
Quy
2ea7e388e7
Drop .carete ( #21525 )
2017-01-03 19:31:27 -08:00
Mark Otto
acea0b4cc2
grunt
2017-01-03 19:25:15 -08:00
Mark Otto
7a087b69b7
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-01-03 19:24:31 -08:00
Mark Otto
f3d0fee91e
fixes #21454 by revamping some docs styles for dropdowns
2017-01-03 19:24:24 -08:00
Mark Otto
8b5c5408bb
remove some docs callouts
2017-01-03 19:23:30 -08:00
Mark Otto
1ed9f5db29
button groups should be inline-flex to match their button counter parts (inline-block currently)
2017-01-03 19:22:08 -08:00
Bardi Harborow
dd19670b32
Update shrinkwrap.
2017-01-04 12:28:06 +11:00
Bardi Harborow
450ef91b7d
Move node-sass to npm script and drop Ruby Sass.
2017-01-04 12:28:06 +11:00
Mark Otto
56f917dd8c
grunt
2017-01-03 13:16:18 -08:00
Mark Otto
bd72b9593b
Drop .table-reflow
...
Tried redoing this in flexbox, but it falls apart really quickly. Any changes in height of the cells throws it all off since the rows become columns (and thus, content across columns cannot be equally sized). Rather than implement something with such glaring flaws, I'm nuking it outright.
2017-01-03 13:11:25 -08:00
Mark Otto
f1229e8c47
autohide scrollbar for IE
2017-01-03 12:53:01 -08:00
Mark Otto
38e53fc888
update text
2017-01-03 12:26:32 -08:00
Quy
8f0ac7193e
Update sizing links
2017-01-03 11:52:48 -08:00
Jonathan
1d2aaed4ab
Added information about list-group-flush
2017-01-03 11:51:41 -08:00
Quy
d82914fb2f
Remove .navbar-divider
2017-01-02 15:32:26 -08:00
Pierre-Denis Vanduynslager
bbb0d2b573
Dropdown: close menu when focusing outside element ( #21375 )
...
* Close dropdown menu when focusing an outside element
* Update unit test to new markup
2017-01-02 14:44:27 -08:00
Mark Otto
9fc54f89f4
grunt
2017-01-02 11:54:28 -08:00
Mark Otto
c61a0059ad
update seletors in js
2017-01-02 11:52:38 -08:00
Mark Otto
2bf0bde470
remove magic dropdown positioning for fixed bottom; folks should set this as needed with .dropup modifier
2017-01-02 11:52:25 -08:00
Mark Otto
20b05e42e3
update rest of docs, remove navbar specific modifiers, fix docs example css
2017-01-02 11:48:51 -08:00
Mark Otto
4dc6f44796
update docs and examples to use new utils
2017-01-02 11:48:05 -08:00
Mark Otto
2239ea6b53
document new utils and change organization to match css
2017-01-02 11:46:06 -08:00
Mark Otto
21b28903a4
New position utils, split docs
...
- Renames .pos-f-t to .fixed-top, adds .fixed-bottom and .sticky-top
- Updates utilities Sass to be split across more files (one for position, sizing, and spacing)
2017-01-02 11:45:30 -08:00
Mark Otto
fa1ef15212
remove line break
2017-01-02 11:12:41 -08:00
Mark Otto
c386c5f5cb
Remove .navbar-divider; it's undocumented and wasn't updated with the flexbox navbar updates, so it's kinda bunk right now
2017-01-02 11:12:24 -08:00
Mark Otto
48f452b000
fixes #21511 : set line-height to 1.1 for display headings
...
- had to rearrange vars to re-use heading line-height
- align values while we're at it
2017-01-02 11:03:25 -08:00
Mark Otto
b6b6deff57
fixes #21509 : remove reference to .card-deck-wrapper
2017-01-02 10:58:48 -08:00
Mark Otto
fc4ef0ce24
grunt
2017-01-02 10:57:56 -08:00
vsn4ik
4d6999b7ba
Drop jscs on hound config
2017-01-01 23:57:49 -08:00
Quan You
bb07fff66c
Update more copyright years to 2017 ( #21491 )
...
* Update ie10-viewport-bug-workaround.js year
* Update narrow-jumbotron copyright year to 2017
* Update carousel/index.html copyright year to 2017
* Update browsers-devices.md copyright year to 2017
* Update change-version.js copyright year to 2017
2017-01-01 12:02:41 -08:00
Quy
c2ff9b7387
Change .in to .show ( #21500 )
2017-01-01 12:00:55 -08:00
Quy
28072f153c
Update carousel comments ( #21501 )
2017-01-01 12:00:17 -08:00
Quy
7d48a5b27c
Fix carousel markup
2017-01-01 14:36:09 +01:00
Heinrich Fenkart
daff021578
grunt
2017-01-01 03:21:02 +01:00
Nuno Arruda
c767a00d5d
Update copyright years to 2017
2017-01-01 12:56:11 +11:00
Quy
ff8d28cf25
Move .table-responsive from wrapper to .table
2016-12-31 16:39:42 -08:00
Mark Otto
bccb8ce213
tweak a few more things
...
- adjust some verbiage
- change the example to correct some labels and range names
2016-12-31 12:47:57 -08:00
Alice Young
b9f44d0c8b
minor rephrasing on layout/overview docs
2016-12-31 12:47:57 -08:00
Mark Otto
22fcac2cea
Rip out the tab-focus mixin, remove application to anchors in reboot
2016-12-31 12:47:03 -08:00
Mark Otto
e2b6badb86
v4: Rip out IE compatibility mode meta tags ( #21483 )
...
* Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8
* update and remove some IE bits from our supported browser page
* update introduction.md to match
* reword starter template intro
2016-12-31 12:20:32 -08:00
なつき
6a5a83e02c
Fix responsive embed class in flex container
2016-12-31 12:10:15 -08:00
Johann-S
026e1a1421
Allow to use nav with tab JS
2016-12-31 00:54:00 -08:00
Mark Otto
d935cca9f6
one more test file
2016-12-31 00:52:08 -08:00
Mark Otto
55413e109f
nuke local test vendor jquery and tether, replace with docs assets
2016-12-31 00:52:08 -08:00
Mark Otto
7b7e777dca
move local docs jquery to slim
2016-12-31 00:52:08 -08:00
Mark Otto
9184980057
update homepage to include depedencies, fixes #21250
2016-12-31 00:52:08 -08:00
Mark Otto
a3f5def40c
make note of slim build
2016-12-31 00:52:08 -08:00
Mark Otto
3d6c473696
switch to jquery slim, update examples to use code.jquery.com cdn
2016-12-31 00:52:08 -08:00
Johann-S
719318f485
Update visual test carousel
2016-12-31 00:51:19 -08:00
Mark Otto
a7931f0c1e
add example of width util
2016-12-30 22:46:00 -08:00
Mark Otto
217e13a11b
hook up animation toggle
2016-12-30 22:46:00 -08:00
Mark Otto
a0141aa38e
Rewrite progress component without <progress> element
...
- <progress> element didn't allow animation, labels overlaid, multiple bars, etc.
- Revamps CSS to use something more similar to v3's implementation
- Ditches variant mixin for `bg-` utils
- Rebuilds docs to match, including adding a new Height section for customizing that.
Only potential remaining todo is adding `.sr-only` instances to within the bar. Unsure if that's necessary.
2016-12-30 22:46:00 -08:00
Mark Otto
92fa9b2256
fix navbar in dropdown visual test file
2016-12-30 22:45:39 -08:00
Bardi Harborow
869dc64038
Change remaining JS files to comply with ESLint config.
2016-12-31 16:49:15 +11:00
Bardi Harborow
a8100e1f01
Extend ESLint to cover all JS files and drop JSCS.
2016-12-31 16:49:15 +11:00
Quy
e4e0154e3a
Document $enable-print-styles ( #21474 )
2016-12-30 21:31:25 -08:00
Johann-S
95ce03f000
Close #21249 : Add a Unit test for #21227
2016-12-29 13:28:42 -08:00
Mark Otto
5d7db50739
redo and make sticky
2016-12-29 13:22:45 -08:00
Mark Otto
a769542888
update navbar
2016-12-29 13:22:34 -08:00
Mark Otto
424380f7b4
remove commented out code, add top margin
2016-12-29 13:22:26 -08:00
Quy
de1eaef35b
Drop IE9 callout
2016-12-29 10:17:42 -08:00
Quy
f320ecee84
Drop IE9 comment
2016-12-29 10:17:11 -08:00
Mark Otto
76d8291e38
grunt
2016-12-28 20:50:01 -08:00
Mark Otto
d9fcdcfa76
add position relative to container
...
allows for better/easier positioning of elements within (e.g., a toggler in a navbar)
2016-12-28 19:09:20 -08:00
Mark Otto
b350e60e82
use align-items on .form-inline to keep items from growing too much ( #21461 )
2016-12-28 19:08:33 -08:00
Mark Otto
4449167f44
linting
2016-12-28 19:07:33 -08:00
Mark Otto
83d3e5545d
add align-self to linter property order
2016-12-28 19:07:33 -08:00
Mark Otto
0e84876379
update all examples
2016-12-28 19:07:33 -08:00
Mark Otto
5310bb4c0f
redo order of css, add contents at top
...
this was mad confusing for awhile
2016-12-28 19:07:33 -08:00
Mark Otto
0e26b14ffb
reorder classes because i like it this way :p
2016-12-28 19:07:33 -08:00
Mark Otto
a41d241ecc
dedupe
2016-12-28 19:07:33 -08:00
Mark Otto
158dd5adb0
clarify need for .navbar-toggleable classes
2016-12-28 19:07:33 -08:00
Mark Otto
a3f6d8afcb
line break for readibility
2016-12-28 19:07:33 -08:00
Mark Otto
40e85012eb
reflect nav changes here in the responsive views
...
- since we're column to start, need to set row.
- note that flex-direction cannot be inherited, so we have to set it twice.
- apply the horizontal padding again to .nav-link.
- remove the .nav-item styles (un-needed).
- remove previous .nav-link styles as they were un-nested and potentially problematic in old placement should someone mix more navs in here.
2016-12-28 19:07:33 -08:00
Mark Otto
b132d02f99
don't let the toggle grow when it's the only flex child
2016-12-28 19:07:33 -08:00
Mark Otto
cc6d9085f7
set the direction to column (aka, vertical) for mobile views
2016-12-28 19:07:33 -08:00
Mark Otto
952035f353
remove extra line break
2016-12-28 19:07:33 -08:00
Mark Otto
c8f63d6442
bring over styles from .nav for .navbar-nav
...
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion.
also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.
2016-12-28 19:07:33 -08:00
Mark Otto
861cda109a
drop the flex-grow: 10 in favor of auto margin utils
2016-12-28 19:07:33 -08:00
Mark Otto
2f52b3aee8
drop the .nav base class from .navbar-nav
2016-12-28 19:07:33 -08:00
Mark Otto
1531077140
no float utils, use class name
2016-12-28 19:07:33 -08:00
Mark Otto
2c8675bbf6
better describe example
2016-12-28 19:07:33 -08:00
Mark Otto
d2906950d9
consistent punctuation
...
it's important, yo
2016-12-28 19:07:33 -08:00
Pierre-Denis Vanduynslager
6fcf696570
Change last reference from tags over to badges.
2016-12-29 13:20:24 +11:00
Mark Otto
51b00ea833
Merge branch 'navbar-tweaks' into v4-docs-streamlined
2016-12-28 17:47:13 -08:00
Mark Otto
8c0dbdb8da
linting
2016-12-28 17:46:35 -08:00
Mark Otto
2c5da86a55
add align-self to linter property order
2016-12-28 17:35:17 -08:00
Mark Otto
488c18e99b
update all examples
2016-12-28 17:25:00 -08:00
Mark Otto
952c008b7a
redo order of css, add contents at top
...
this was mad confusing for awhile
2016-12-28 17:16:27 -08:00
Mark Otto
90d235af3a
reorder classes because i like it this way :p
2016-12-28 17:04:07 -08:00
Mark Otto
c67ac18f07
dedupe
2016-12-28 17:03:28 -08:00
Mark Otto
e56ab55d22
clarify need for .navbar-toggleable classes
2016-12-28 17:03:25 -08:00
Mark Otto
a689e30d46
line break for readibility
2016-12-28 17:03:09 -08:00
Pierre-Denis Vanduynslager
425d156df2
Merge branch 'twbs/v4-dev' into dropdown-keyboard
2016-12-28 19:57:38 -05:00
Mark Otto
a9efef6c4a
reflect nav changes here in the responsive views
...
- since we're column to start, need to set row.
- note that flex-direction cannot be inherited, so we have to set it twice.
- apply the horizontal padding again to .nav-link.
- remove the .nav-item styles (un-needed).
- remove previous .nav-link styles as they were un-nested and potentially problematic in old placement should someone mix more navs in here.
2016-12-28 16:51:40 -08:00
Mark Otto
24a45deb96
don't let the toggle grow when it's the only flex child
2016-12-28 16:50:07 -08:00
Mark Otto
ad3a2488b6
set the direction to column (aka, vertical) for mobile views
2016-12-28 16:49:55 -08:00
Mark Otto
bef1dd3dab
remove extra line break
2016-12-28 16:48:56 -08:00
Mark Otto
a13161ab63
bring over styles from .nav for .navbar-nav
...
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion.
also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.
2016-12-28 16:48:50 -08:00
Mark Otto
b3dd2034a1
drop the flex-grow: 10 in favor of auto margin utils
2016-12-28 16:39:52 -08:00
Mark Otto
c56547a841
drop the .nav base class from .navbar-nav
2016-12-28 16:38:50 -08:00
Mark Otto
934d2d3d98
no float utils, use class name
2016-12-28 16:37:13 -08:00
Mark Otto
1191938886
better describe example
2016-12-28 16:37:04 -08:00
Mark Otto
3f94ee9c90
consistent punctuation
...
it's important, yo
2016-12-28 16:36:55 -08:00
Mark Otto
047d4a77da
Merge branch 'v4-dev' into v4-docs-streamlined
2016-12-28 15:52:28 -08:00
Mark Otto
e1e621be04
grunt
2016-12-28 15:15:29 -08:00
Mark Otto
3d24364605
limit linter override to the affected ruleset
2016-12-28 15:13:43 -08:00
Mark Otto
41f7f6ec52
remove plain-hover-focus from navbar navs
2016-12-28 15:13:43 -08:00
Mark Otto
a9d899b115
update navs to use .show instead of .open for dropdowns
2016-12-28 15:13:43 -08:00
Mark Otto
d91481397e
linting
2016-12-28 15:13:43 -08:00
Mark Otto
766d22ebb7
add alignment docs with flex utils
2016-12-28 15:13:43 -08:00
Mark Otto
12c6a97ce3
simpler sizing examples
2016-12-28 15:13:43 -08:00
Mark Otto
566534afb9
rogue extra line break
2016-12-28 15:13:43 -08:00
Mark Otto
703e83204b
redo active and disabled docs snippets
...
- remove screen reader stuff in favor of explicit labels
- remove 4 and 5 items to keep examples simpler
2016-12-28 15:13:43 -08:00
Mark Otto
5ec35d800d
add a working with icons example
...
frees us up to not have to encourage so much markup throughout these pagination examples
2016-12-28 15:13:43 -08:00
Mark Otto
2b6276f685
redo main example to work in screen reader love instead of putting it in a callout
2016-12-28 15:13:43 -08:00
Mark Otto
d19fead4a6
redo intro paragraph
2016-12-28 15:13:43 -08:00
Mark Otto
3fd9557cfd
no need to float, but do set display: block;
...
this, coupled with the move to flex, fixes #20029
2016-12-28 15:13:43 -08:00
Mark Otto
79fd05d209
remove plain-hover-focus mixins
2016-12-28 15:13:43 -08:00
Mark Otto
bd6e047152
no need for cursor: default, since, well, it's the default
2016-12-28 15:13:43 -08:00
Mark Otto
c52049e5a7
add a comment here to explain some things
2016-12-28 15:13:43 -08:00
Mark Otto
e3d01a326b
.page-item's don't need this anymore (they're flex items)
2016-12-28 15:13:43 -08:00
Mark Otto
e81aa62af6
remove default margin, allow folks to use utils instead
2016-12-28 15:13:43 -08:00
Mark Otto
645330a755
update pagination list reset styles
2016-12-28 15:13:43 -08:00
Mark Otto
c73bea60de
move pagination to flexbox
2016-12-28 15:13:43 -08:00
Mark Otto
f1016efaf4
update docs to improve contextual classes section
2016-12-28 15:13:43 -08:00
Mark Otto
78d0e97509
remove plain-hover-focus from list group mixin
2016-12-28 15:13:43 -08:00
Mark Otto
f228802fd0
Revamp list group states and docs to match
...
- Overhauls the states, including the link/button variants, for list groups to better match how we handle .btn states.
- Moved the .list-group-item-action styles before the .list-group-item so that we don't have to do as much overriding.
- Removed the plain-hover-focus mixins from the disabled and active states since they're unnecessary.
- Added support for :active states on the .list-group-item-action variant (for the current click state).
- Removed the heading and text classes and variables since we can accomplish the same thing with utilities.
- Added support for :disabled on the .list-group-item-action as well since we can use those with button elements.
- Rearranged docs to reflect all the above changes.
- Reformatted some Sass variables.
2016-12-28 15:13:43 -08:00
Mark Otto
9ce5fb5817
Revamp dropdown item states
...
- Removes the plain-hover-focus mixin from active and disabled states; no need for them.
- Adds :active and :disabled since we can use button elements here, too.
- Wrap the disabled background-image override in an -gradients condition.
2016-12-28 15:13:43 -08:00
Mark Otto
d6fa9f5a6c
Remove plain-hover-focus mixins from navs
...
- No need to set hover and focus on disabled or active elements. Disabled has no interactivity and active will inherit the focus.
- Also removes two now unused vars.
2016-12-28 15:13:43 -08:00
Mark Otto
e38c3506e3
properly pass focus shadow should you enable shadows
...
don't implement for the outline style because outline buttons get no shadow by default
2016-12-28 15:12:04 -08:00
Mark Otto
b449e6b65e
create a variable for the focus box-shadow, use it in the button base class
...
also be sure to apply it for the active state when shadows are enabled
2016-12-28 15:12:04 -08:00
Mark Otto
a9bee8b6c8
remove active styling from focus
2016-12-28 15:12:04 -08:00
Mark Otto
232e86d0b4
remove cursor: pointer
...
shoutout https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b#.riy12ck0m
2016-12-28 15:12:04 -08:00
Mark Otto
62c4cb29fb
redo outlines
...
- removes original outline removal (hah)
- replaces it with an explicit `outline: 0` on `.btn`
- instead of replicating `:hover` for `:focus`, uses custom and themed `box-shadow` for an "outline"
- not mapped to the `$enable-shadows` variable because accessibility
2016-12-28 15:12:04 -08:00
Mark Otto
79cfc095df
linting
2016-12-28 15:12:04 -08:00
Mark Otto
7aa2a52069
Redo button states
...
Trying to simplify our output here by revamping these selectors. We overcomplicated things by setting hover styles for nearly every state (disabled and active included), and we set them in the wrong order.
This commit does the following:
- Reorders states so disabled comes before active, thereby removing the need to set disabled-active styles.
- Removes all focus and hover styles from disabled states as those will naturally inherit from the default button state.
- Renamed `.open` to `.show` to fix dropdown toggle highlighting.
- Tweaked some indendation in the Sass.
2016-12-28 15:12:04 -08:00
Mark Otto
150625265b
fixes #21415 by moving disabled .btn-link color to the default state
2016-12-28 15:12:04 -08:00
Mark Otto
b5044765b7
update to migration docs
2016-12-28 15:09:51 -08:00
Quy
d02b558a5a
Rip number
2016-12-28 12:56:15 -08:00
Mark Otto
a28f119943
follow up to the fix for #20506 with some docs examples of input groups in button toolbars
2016-12-27 22:37:50 -08:00
Mark Otto
d2479cf5f0
inline-flex and width: 100% for stacked/vertical variation
...
shoutout to @Starsam80 for the fix
2016-12-27 22:37:50 -08:00
Mark Otto
5d0ec572d4
auto size input groups, fixes #20506
2016-12-27 22:37:50 -08:00
Mark Otto
4d141cb3d1
remove commented out code
2016-12-27 22:37:50 -08:00
Mark Otto
a849fa949b
linting
2016-12-27 22:37:50 -08:00
Mark Otto
fd75c41279
revamp button group with flexbox
2016-12-27 22:37:50 -08:00
Mark Otto
2cb2979908
update example with brand and new util
2016-12-27 22:37:09 -08:00
Mark Otto
c14ba036c6
forgot to add display flex to the navbar, so utils weren't applying
2016-12-27 22:37:09 -08:00
Quy
6645111e11
Fix grammatical/typo errors
2016-12-27 22:05:55 -08:00
Mark Otto
d3646e3884
grunt
2016-12-27 14:27:41 -08:00
Max Beatty
aa7f95fd77
update click state when hiding so can be shown again by trigger. fixes #16732
2016-12-27 14:19:12 -08:00
Mark Otto
8a3d0d344b
use var
2016-12-27 14:17:11 -08:00
Mark Otto
8721ff8d6b
fix inline checks
2016-12-27 14:17:11 -08:00
Mark Otto
4ba5bfb7cb
add some vars
2016-12-27 14:17:11 -08:00
Mark Otto
fe0573cdab
sure we only need the two mixins, but this ensures folks don't run into missing mixin errors down the line
2016-12-27 14:16:25 -08:00
Mark Otto
0f18dfc05c
Update bootstrap-grid.scss
2016-12-27 14:16:25 -08:00
Mark Otto
424f969d1c
Update bootstrap-reboot.scss
2016-12-27 14:16:25 -08:00
Mark Otto
4482503237
move custom down so folks can reassign var values and use other vars
2016-12-27 14:16:25 -08:00
Starsam80
e8ff150ab7
Don't show .bd-* classes to the user ( #21443 )
...
* Don't show `bd-*` classes to the user
* Add comments and another regex
2016-12-27 14:15:22 -08:00
Mark Otto
069a80254f
Document how to break equal width cols to multiple rows
...
Fixes #21287
2016-12-27 14:14:49 -08:00
Mark Otto
a34cdc0638
bump jquery and grunt-sass
...
plus shx? 🤷
2016-12-27 14:14:18 -08:00
Mark Otto
7a91b65d47
grunt
2016-12-27 14:13:56 -08:00
Mark Otto
dac31ebf35
fixes #21445
...
remove broken example class from grid docs
2016-12-27 14:11:48 -08:00
Mark Otto
8de5730c87
more flexbox docs
2016-12-26 13:23:07 -08:00
Mark Otto
d3cf4759b0
follow up to #21436 to add docs for the .flex-row-reverse , .flex-column-reverse, and .flex-wrap-reverse
2016-12-26 13:17:50 -08:00
Mark Otto
14fe088cab
grunt
2016-12-26 13:11:05 -08:00
Starsam80
31ac81e5ba
Add more flex utilities
2016-12-26 13:06:53 -08:00
Quy
88a6b1c3d4
Rename tags to badges in comments
2016-12-26 13:06:34 -08:00
Bardi Harborow
7961886efe
Remove Meteor install instructions.
2016-12-26 13:29:42 +11:00
Mark Otto
4d1b7df0d8
grunt
2016-12-25 15:52:16 -08:00
Mark Otto
8c90008098
Fixes #20586
...
Use pixels instead of rem units for focus box-shadow on custom controls so that IE11, Edge, and Win FF screw it up less
2016-12-25 15:48:44 -08:00
Mark Otto
308114f65c
throw some margin utils to fix spacing
2016-12-25 15:48:44 -08:00
Mark Otto
96986bb4a3
Use calc() on .col-form-label padding calculations
...
Fixes #21135 .
There's a height mismatch here because we're setting padding on the labels, while inputs get padding *and* a top+bottom border. This now uses calc to determine the exact height needed to match labels to inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
04d48ba504
Replaces #21270 with proper fix
...
Rather than overriding this just on inline form examples, this should be for all static form controls to match inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
2cad717634
space that out a smidge
2016-12-25 15:48:44 -08:00
Mark Otto
4cd426963b
vertically center .form-group contents in inline forms
...
fixes broken inline form example mentioned in #21407
2016-12-25 15:48:44 -08:00
Mark Otto
30fd1590d3
use flex and direction to do the stacked controls instead of float hacks
...
This also fixes #21280 . Previously, we were using float and clear on the individual controls, but that meant a computer height of `0` for the parent `.custom-controls-stacked`. No more problem after using flexbox though.
2016-12-25 15:48:44 -08:00
Mark Otto
82061b25c4
move custom checks/radios to inline-flex
2016-12-25 15:48:44 -08:00
Mark Otto
0e8ee1bfba
grunt
2016-12-25 15:47:03 -08:00
Starsam80
c2e5eb1542
Use variables for the width/height classes
2016-12-25 15:32:34 -08:00
Starsam80
210050d9c9
Clean up _spacing.scss a little bit
2016-12-25 15:32:34 -08:00
Starsam80
7fdedbd5e6
Remove some leftover IE9/flex stuff
2016-12-25 15:32:34 -08:00
Mark Otto
7d05c222f8
linting
2016-12-25 15:28:44 -08:00
Mark Otto
eb19def798
flex the footer and include some margin magic
...
- we need to set margin for space between footer buttons as flexbox doesn't render HTML spaces like inline-block does
- flexbox doesn't have collapsing margins or anything, so we hack it with some :not(:first-child) and :not(:last-child) action
2016-12-25 15:28:44 -08:00
Mark Otto
33746dc63e
flex the modal header so we can remove custom styles
...
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25 15:28:44 -08:00
Mark Otto
e7f8ca08b0
No need to override a margin-top that never was set; only specify margin-bottom override
2016-12-25 15:28:44 -08:00
Mark Otto
31b9d93ffd
Enable flex on the .modal-content, ensure .modal-body stretches the height (if needed)
2016-12-25 15:28:44 -08:00
Mark Otto
c214aa32d0
darker border on modal header
2016-12-25 15:28:44 -08:00
Mark Otto
103cae2333
trailing space
2016-12-25 14:03:50 -08:00
Mark Otto
dcd4a63e4e
line break for sanity
2016-12-25 14:03:50 -08:00
Mark Otto
bab4f1ef3c
add my-auto and m-auto
2016-12-25 14:03:50 -08:00
Mark Otto
4ca1a7f077
document it all, add align items examples
2016-12-25 14:03:50 -08:00
Mark Otto
4f85513608
responsive auto margin classes
2016-12-25 14:03:50 -08:00
Mark Otto
f99d179690
reorder docs
2016-12-25 14:03:50 -08:00
Mark Otto
f2f489c837
stub out some docs
2016-12-25 14:03:50 -08:00
Mark Otto
43c206d6ff
add mr-auto and ml-auto for some flex shiz
2016-12-25 14:03:50 -08:00
Bardi Harborow
19fcb21677
Disable Hound on test cases.
2016-12-25 20:23:22 +11:00
Mark Otto
56c63aa6b8
Fixes #18228 : Don't use transparent for bottom border, use bg color
2016-12-25 00:57:17 -08:00
Alessandro Rodi
9103bffe37
[ Fix #19849 ] Tabs are opened even if disabled. ( #20795 )
...
* [Fix #19849 ] Tabs are opened even if disabled.
* fix hund code review hints
* rollback hound issues because Travis fails
2016-12-24 23:31:34 -08:00
Mark Otto
0d96c633b3
grunt
2016-12-24 17:50:19 -08:00
Quy
c64da95e92
Update IE9 support ( #21424 )
2016-12-24 16:12:26 -08:00
Mark Otto
cd18ee8af6
grunt
2016-12-24 14:29:41 -08:00
Mark Otto
43ef8b129e
fixes #21423 by updating docs to mention flex display instead of inline-block; clarifies follow-up text about use of the proper utilities
2016-12-24 14:21:04 -08:00
Mark Otto
af977b561a
dedupe
2016-12-24 14:21:04 -08:00
Mark Otto
4f9f1a0ea3
started fixing nested .bd-example stuff, then rewrote the modal docs
...
- better table of contents and overall structure
- clearer examples of modal contents, longer modals, and modal options
2016-12-24 14:21:04 -08:00
Mark Otto
6b419fdc3a
nest modal examples css
2016-12-24 14:21:04 -08:00
Mark Otto
d5784d811b
rip numbers
2016-12-24 14:21:04 -08:00
Mark Otto
6fb2c18e14
add order docs
2016-12-24 14:21:04 -08:00
Quy
78ee9f3c3e
Update toc numbering ( #21422 )
2016-12-24 14:21:04 -08:00
Mark Otto
991f2468d0
remove unused media vars, update numbers (oof) /cc @Quy
2016-12-24 14:21:04 -08:00
Mark Otto
d93991b1c5
remove unused utils, comment
2016-12-24 14:21:04 -08:00
Mark Otto
9d13fd3fe3
remove old flex utils, update docs to match
2016-12-24 14:21:04 -08:00
Mark Otto
378aa6667b
align-self docs
2016-12-24 14:21:04 -08:00
Mark Otto
75e756dfef
document align-content utils
2016-12-24 14:21:04 -08:00
Mark Otto
7d47a01158
change presentation of those utils docs
2016-12-24 14:21:04 -08:00
Mark Otto
463e8bee76
document justify-content and align-items utils
2016-12-24 14:21:04 -08:00
Mark Otto
4024dc7a52
indentation
2016-12-24 14:21:04 -08:00
Mark Otto
574c3119f3
duplicate of the .flex-fill util
2016-12-24 14:21:04 -08:00
Mark Otto
90aa8a28a2
remove the table classes in favor of lists
2016-12-24 14:21:04 -08:00
Mark Otto
feb445376b
try out alt responsive variation lists
2016-12-24 14:21:04 -08:00
Mark Otto
6fa6bf7123
add docs class for highlighting
2016-12-24 14:21:04 -08:00
Mark Otto
5464f4ab7e
Start to blow out and document more flexbox utilities
...
- Adds new flexbox.md file to utilities docs
- Adds a `breakpoints.yml` data file for easier output of responsive classes in the docs. Will put this to use on other pages soon.
- Adds hella flex utils. There are some dupes for now, but they'll get removed in time.
2016-12-24 14:21:04 -08:00
Mark Otto
e4933c72da
fix incorrect class name for inline-flex
2016-12-24 14:21:04 -08:00
Mark Otto
9979827cd3
Revamp navs docs
...
- Reorganize things, leading with the base nav first instead of an accessibility note, and then moving the rest to a new available styles section.
- Add horizontal alignment options thanks to new flex utils (these new utils will be documented later in another commit).
- Dropped `.nav-stacked` for a flex util and added additional alignment options, so document those, too.
2016-12-24 14:21:04 -08:00
Mark Otto
d9baeeb0af
Change up the "justified" nav options
...
Given move to flexbox, we can make this available for everyone and clean it up some.
- Simplifies the `.nav-justified` styles to build on the flex-powered `.nav` base class.
- Adds the `.nav-fill` to make nav links fill available horizontal space, but not equal width.
2016-12-24 14:21:04 -08:00
Mark Otto
699d8a5a80
Make .nav flex-powered
...
- Set an explicit `display: flex` on the base `.nav` class and remove the floats/clearfixes from our navs.
- Set some global styles for `.nav-link`, a departure from the previous solution that featured no predefined padding.
- Move `.nav-link` from `inline-block` to `block` given this setting was added for our tabs and pills anyway.
- Remove horizontal margin from nav tabs; let folks set that on their own from now on.
2016-12-24 14:21:04 -08:00
Mark Otto
ec0dbc74a7
pull in changes from #19832 to fix offcanvas
2016-12-24 14:21:04 -08:00
Mark Otto
66c87cb7ca
Undo #21171 (which closed #20977 )
...
Turns out we did have the correct height calculation with our custom selects. The problem was we lacked a shared line-height with our buttons and inputs.
This restores the previous `calc` math and adds a line-height that reuses the input line-height.
2016-12-24 14:21:04 -08:00
Mark Otto
4377e2956b
update navbars in jumbotron, offcanvas, starter examples to flex versions
2016-12-24 14:21:04 -08:00
Mark Otto
9fd339bdc8
better/more form spacing in navbars
2016-12-24 14:21:04 -08:00
Mark Otto
f721ebf3b4
unify alignment of all these dang navbar forms
2016-12-24 14:21:04 -08:00
Bardi Harborow
effb2fb4b4
Move uglifyjs to npm script.
2016-12-24 00:34:27 +11:00
Johann-S
b0508a975d
Closes : #21412 : Fix unit test for carousel
2016-12-23 22:56:55 +11:00
Matheus Azzi
dab6a41e04
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys
...
Fixes 2 bugs:
1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN.
2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
2016-12-23 17:55:40 +11:00
mr-july
1d6cdb65b3
scrollspy: fix wrong activation of all nested links ( #20304 )
...
* fix wrong activation of all nested links;
just first level item should be activated
* use template instead of string concatenation
2016-12-22 22:00:56 -08:00
Bardi Harborow
6993595341
Move clean-css to npm scripts.
2016-12-23 16:51:36 +11:00
Mark Otto
800cfa24ad
overhauls media object docs
...
- better copy and examples throughout
- callout on flexbug #12 for inline elements like links and images (which is the problem in #20408 )
- add order section
2016-12-22 21:29:48 -08:00
Mark Otto
95ee9aa94c
small unrelated addition—adds .d-flex-inline util
2016-12-22 21:29:48 -08:00
Mark Otto
b5c50d4aff
reduce .media styles to their bare minimum
...
Sets minimum required flex styles (including an explicit starting alignment) and removes everything else.
- no need for .media-left and .media-right, we have padding utils
- no need for a .media-heading, we have margin
- no need for .media-object, we have display utils
- no need for .media-list, we have .list-unstyled util
2016-12-22 21:29:48 -08:00
Quy
615072e4c9
Rename Tags to Badges in comments
2016-12-22 21:28:43 -08:00
Mark Otto
94bd6b76be
Merge branch 'flex-cards' into v4-dev
2016-12-22 21:27:54 -08:00
Mark Otto
4b62a93906
ugh
2016-12-22 21:20:47 -08:00
Mark Otto
5b2d9f95d5
grunt
2016-12-22 21:19:12 -08:00
Mark Otto
f297282833
typo
2016-12-22 21:18:33 -08:00
Bardi Harborow
ba86c314a4
Move scss-lint to npm scripts.
2016-12-23 14:26:04 +11:00
Mark Otto
6b367b12c9
margins to separate some cards in examples
2016-12-22 19:13:39 -08:00
Jacob Müller
1712484727
Add color variables for white and black ( #21397 )
...
* Add color variables for white and black
Closes #21395 .
2016-12-22 19:09:11 -08:00
Mark Otto
040acd30db
change card deck margin strategy
...
- Instead of negative left/right margins, we selectively apply margins to the cards as needed. This way the first and last child never receive a left and right margin (respectively), so we don't need to negative indent those at the .card-deck level.
- Drops the margin-bottom override on the .card because there's no more default margin there.
- Drop the margin-bottom from the .card-deck to match our lack of margins on the card.
This and the previous commit fixes #19883 .
2016-12-22 18:59:05 -08:00
Mark Otto
b3d8426ffe
move to grid gutter width, fixes #21300
2016-12-22 18:55:21 -08:00
Bardi Harborow
fe4cd38877
Change scope of docs anchor preventDefault to include modals.
2016-12-23 13:11:06 +11:00
Mark Otto
754698c4d7
New width and height utils
...
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 17:15:10 -08:00
Mark Otto
51f723d669
no more need for this
2016-12-22 16:52:25 -08:00
Mark Otto
bc69ff108a
final docs cleanup with columns and more
2016-12-22 16:47:30 -08:00
Mark Otto
ce35655f5f
card deck footer example
2016-12-22 16:47:10 -08:00
Mark Otto
433df0c67e
add aligned footer example
2016-12-22 16:46:29 -08:00
Mark Otto
cba7b51081
redo subheadings and organization of card layout options
2016-12-22 16:46:10 -08:00
Mark Otto
5692406a11
better grouping of card styles docs
2016-12-22 16:45:48 -08:00
Mark Otto
49315dc16d
redo image section for intros and subheadings
2016-12-22 16:44:54 -08:00
Mark Otto
85525e2940
retitle nav section
2016-12-22 16:44:39 -08:00
Mark Otto
3f5c0a884a
update alignment section with widths
2016-12-22 16:44:33 -08:00
Mark Otto
3cc23e9747
redo sizing section with utils and grid callouts
2016-12-22 16:44:12 -08:00
Mark Otto
4b88284b5a
redo the supported content section entirely to give it sub sections
2016-12-22 16:43:21 -08:00
Mark Otto
503c4da10a
redo docs intro for the example
2016-12-22 16:41:56 -08:00
Mark Otto
5d592d16db
switch from block to flex
...
add flex direction too
2016-12-22 16:41:28 -08:00
Mark Otto
050716903f
remove default bottom margin on cards
...
use utils instead
2016-12-22 16:41:11 -08:00
Mark Otto
8d3b40211b
move the card-block flex action up to all card-blocks
...
this allows us to easily scale card blocks in groups and decks, without repeating it in our css
2016-12-22 16:40:58 -08:00
Mark Otto
390a2a6c60
remove commented out code
2016-12-22 16:40:19 -08:00
Mark Otto
0873fccd63
comment typo
2016-12-22 16:39:23 -08:00
Mark Otto
2c48655d07
fix comment
2016-12-22 16:39:18 -08:00
Mark Otto
cd2584870e
add card column margin variable instead of relying on a default card margin
...
this assumes no margin on the .card to start (which will follow in a later commit)
2016-12-22 16:39:11 -08:00
Mark Otto
246151aa12
add card column count variable
2016-12-22 16:38:22 -08:00
Mark Otto
5f40770d19
Rename card column gap variable
2016-12-22 16:38:09 -08:00
Mark Otto
d4217ea137
New width and height utils
...
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 16:37:18 -08:00
Mark Otto
736be8fca6
linting
2016-12-22 14:58:40 -08:00
Mark Otto
135b65ded4
text-align doesn't apply here, so we can nuke it
2016-12-22 14:58:40 -08:00
Mark Otto
be7a8c68f7
Redo controls in flexbox
...
- Drops the absolute positioning of the icons within the left/right controls. We have to keep the controls themselves positioned though since we're overlapping HTML elements here.
- No more position, left, right, or margins involved; just some justify-content and align-items.
- Add some comments for explaining which flex property-value pair does what.
- Remove the unapplied font and line-height stuff now that we're all SVGs and flexbox here.
2016-12-22 14:58:40 -08:00
Mark Otto
1706f494f0
flexbox powered indicators
...
This revamps the indicators to use flexbox instead of inline-block for added flexbility (hah). Indicators now automatically scale based on the number of elements present, and max out at the `$carousel-indicator-width` instead of always being that wide.
2016-12-22 14:58:40 -08:00
Mark Otto
d426c3c50e
start small--set flex instead of block for active items
2016-12-22 14:58:40 -08:00
Mark Otto
0ec049d222
grunt
2016-12-22 13:52:33 -08:00
Mark Otto
d86a1dbfd4
redo custom docs navbar
2016-12-22 13:48:07 -08:00
Mark Otto
bb97ae18f7
streamline example navbars by removing .hidden-* classes on togglers
2016-12-22 13:48:07 -08:00
Mark Otto
8231b188c3
remove .hidden-* classes from .navbar-toggler and make that part of the .navbar-toggleable-*
2016-12-22 13:48:07 -08:00
Mark Otto
c858af7932
couple more utils
2016-12-22 13:48:07 -08:00
Mark Otto
e37a57a34d
more example fixes
2016-12-22 13:48:07 -08:00
Mark Otto
b71f973bb5
more linting
2016-12-22 13:48:07 -08:00
Mark Otto
0698dfbed7
linting
2016-12-22 13:48:07 -08:00
Mark Otto
f041fb7373
migrate some notes on over here
2016-12-22 13:48:07 -08:00
Mark Otto
df566160e7
put new toggler markup to use
2016-12-22 13:48:07 -08:00
Mark Otto
8d9d84784a
Redo navbar-toggler
...
- Require inner element for the icon for improved customization (e.g., drop the element to replace it with your own icon font or SVG)
- Tighten up padding
- Better comments
2016-12-22 13:48:07 -08:00
Mark Otto
80674b0c58
fixes #18115 : move forward with one naming scheme for inversed color schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name)
2016-12-22 13:48:07 -08:00
Mark Otto
ecba56828d
fixes #18053 by removing container padding at lower breakpoints on responsive navbars
2016-12-22 13:48:07 -08:00
Mark Otto
0677b6b18c
even more utils for forms
2016-12-22 13:48:07 -08:00
Mark Otto
567a289137
more margin utils on forms
2016-12-22 13:48:07 -08:00
Mark Otto
4750c5a7b4
make sure all nav demos for the navbar are using toggleable-* classes for proper responsive styles
2016-12-22 13:48:07 -08:00
Mark Otto
67dc3b0702
dedupe ids
2016-12-22 13:48:07 -08:00
Mark Otto
6e61830633
update justified nav to use justified navbar; remove safari bug warning given flexbox implementation
2016-12-22 13:48:07 -08:00
Mark Otto
635c1ce06e
fix carousel navbar
2016-12-22 13:48:07 -08:00
Mark Otto
cfdc66a342
fix sticky footer example navbar
2016-12-22 13:48:07 -08:00
Mark Otto
802de24a4a
fix up navbar top and fixed top examples
2016-12-22 13:48:07 -08:00
Mark Otto
a6ce3aba5c
redo album navbar with new styles
2016-12-22 13:48:07 -08:00
Mark Otto
d236041748
make more examples responsive
2016-12-22 13:48:07 -08:00
Mark Otto
2ea7feb9cc
remove
2016-12-22 13:48:07 -08:00
Mark Otto
5c76cbea77
remove now unneeded collapse section
2016-12-22 13:48:07 -08:00
Mark Otto
562bcd9380
fix colors
2016-12-22 13:48:07 -08:00
Mark Otto
fd79471e8a
override pos-f-t in examples
2016-12-22 13:48:07 -08:00
Mark Otto
17dca54278
add responsive behaviors section
2016-12-22 13:48:07 -08:00
Mark Otto
93fabfa7a4
update responsive behavior in demo
2016-12-22 13:48:07 -08:00
Mark Otto
08e1582f2d
Fix vertical alignment a bit
2016-12-22 13:48:07 -08:00
Mark Otto
5432e7621c
move all nav link and collapse and container behaviors to the toggleable class generation area; this way the .navbar-toggleable-* goes on .navbar, easily affecting everything that needs updating for each breakpoint's use
2016-12-22 13:48:07 -08:00
Mark Otto
8a8719b75c
unique ids
2016-12-22 13:48:07 -08:00
Mark Otto
7c7bd17f0f
rearrange examples, go center nav only instead of trying to hack centered with siblings
2016-12-22 13:48:07 -08:00
Mark Otto
73da266009
move flex to navbar container only; otherwise it affects things negatively elsewhere
2016-12-22 13:48:07 -08:00
Mark Otto
135bd0283d
containers should flex
2016-12-22 13:48:07 -08:00
Mark Otto
96346f0b44
flexbox shiz
2016-12-22 13:48:07 -08:00
Mark Otto
60234f023b
nuke
2016-12-22 13:48:07 -08:00
Mark Otto
9c423b5c6d
move and consolidate navbar examples, fix em up
2016-12-22 13:48:07 -08:00
Mark Otto
b98ef3bfd0
no need for a clearfix given no more floats
2016-12-22 13:48:07 -08:00
Mark Otto
350f8a20c9
move padding on nav links and brand to be responsive padding, keeping mobile contents aligned better
2016-12-22 13:48:07 -08:00
Mark Otto
50c76fd841
make supported content example responsive
2016-12-22 13:48:07 -08:00
Mark Otto
be1a316320
no more .navbar-full
2016-12-22 13:48:07 -08:00
Mark Otto
c7be14d66b
no need for this; we have max-width 100% on them now
2016-12-22 13:48:07 -08:00
Mark Otto
530b9bcba4
more navbar docs changes
2016-12-22 13:48:07 -08:00
Mark Otto
c92e9c0090
cleanup navbar docs for flex changes
2016-12-22 13:48:07 -08:00
Mark Otto
bc1afa093a
remove .navbar-container; just need .navbar now
2016-12-22 13:48:07 -08:00
Mark Otto
819978cb71
remove width 100% from positioning, remove rounded corners for utils
2016-12-22 13:48:07 -08:00
Mark Otto
96082b1ec7
remove justified, replacing with modifier later if needed; combine rules
2016-12-22 13:48:07 -08:00
Mark Otto
18453f06f9
flexbox this thing
...
- drop the table styles, use flex
- remove commented out code
- consolidate styles a bit
- add a huge flex-grow to the nav, making the assumption you want nav to take up most space
2016-12-22 13:48:07 -08:00
Mark Otto
4a06c98027
spacing
2016-12-22 13:48:07 -08:00
Mark Otto
09f13c4764
indentation
2016-12-22 13:48:07 -08:00
Mark Otto
99ac0bcedc
exploring table based navbar again
2016-12-22 13:48:07 -08:00
Mark Otto
65e87f7ef4
follow up to #21393 : clarify progress docs browser support and remove ie9 section
2016-12-22 13:43:19 -08:00
Mark Otto
df0842d1c2
grunt
2016-12-22 13:42:01 -08:00
Bardi Harborow
855a67b1d6
Remove IE9 browser hacks. ( #21393 )
2016-12-22 13:41:31 -08:00
Patrick Cameron
b01f5a1a38
Changed a word in a comment ( #21399 )
2016-12-22 13:25:41 -08:00
Mark Otto
a86f8f7bcf
grunt
2016-12-21 20:37:46 -08:00
Mark Otto
537c998464
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-12-21 20:34:48 -08:00
Mark Otto
1f9619a517
Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into tracker1-patch-1
2016-12-21 20:34:29 -08:00
Mark Otto
e111e2e58e
grunt
2016-12-21 20:33:54 -08:00
Mark Otto
84cdf82d80
grunt
2016-12-21 20:30:35 -08:00
Mark Otto
a2b2f99e3b
Restyle code elements in links ( #21392 )
...
* Restyle code elements in links
Fixes #21259 . Removes the background, color, and padding on code elements within anchors.
* Update _code.scss
2016-12-21 20:28:34 -08:00
Mark Otto
eb2e1102be
Flexbox all the time (Drop IE9 support and remove $enable-flex option) ( #21389 )
...
* remove the $enable-flex variable option
* remove bootstrap-flex.css dist file and it's grunt task
* remove the separate flex css file for docs; it's all the same now
* remove flexbox docs (porting some to the main grid docs in next commit)
* clean up few grid docs bits to simplify copy, start to mention flexbox
* port relevant flexbox-grid.md content to grid.md
- clean up mixins
- update how it works section
- bring over sizing and alignment sections
* remove the $enable-flex from the options.md page
* update lead paragraph to mention flexbox
* update migration to mention loss of ie9 support
* remove mention of flexbox dist file
* clarify IE support
* making a note
* remove flexbox variant mentions from component docs
- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default
* remove $enable-flex if/else from sass files
* remove flex dist files
* update scss lint property order to account for flex properties
* linting
* change to numberless classes for autosizing, wrap in highlighting div
* bump gruntfile and postcss to ie10
* redo intro sections
* rearrange
* phew, redo hella grid docs
- rearrange all the things
- consolidate some bits
* remove reference to flexbox mode
* more border action for demo
* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Mark Otto
f464a5b214
Redo color vars
...
This pulls in some changes from #18462 to include a set of generic color variables. It doesn't include a Sass map for generating the theme colors yet, since we can't easily do that for all components, but does give a few more color choices to folks and an easier way to customize.
2016-12-20 23:24:24 -08:00
Mark Otto
a6f03b0f71
update docs to use .mt-1 on floated labels; clarify docs for guidance
2016-12-20 22:55:01 -08:00
Mark Otto
a6a87b0d9d
grunt
2016-12-20 14:53:50 -08:00
Mark Otto
c1cf6310f2
remove .mb-0 from static form controls to follow up #21270
2016-12-20 14:46:45 -08:00
Gijs Boddeus
1c2f372aad
Overwrite margin-bottom on form-control-static ( #21270 )
...
* Overwrite margin-bottom on form-control-static
In the documentation the form-control-static class has been used on a p element.
On the regular vertical form the margin bottom of the p element gets overwritten by a mb-0 class.
In the inline form example this class hasn't been applied, therefore the p element gets a margin-bottom.
To prevent this behavior we can add a margin-bottom of 0.
* Update _forms.scss
2016-12-20 14:45:08 -08:00
Mark Otto
37de11e386
Rename -bg-inverse to -inverse-bg; add -inverse-color ( #21371 )
2016-12-19 21:50:31 -08:00
Mark Otto
ab38529dcc
grunt
2016-12-19 21:48:24 -08:00
Mark Otto
8eeb71c91c
Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982
2016-12-19 21:44:03 -08:00
Mark Otto
7e5f21c2b4
Rename _animation.scss to _transitions.scss ( #21370 )
...
* Rename _animation.scss to _transitions.scss for accuracy
* fix docs reference to file name
* cleanup line breaks
2016-12-19 21:37:09 -08:00
Mark Otto
a8b3e09f22
grunt
2016-12-19 21:08:24 -08:00
Mark Otto
50d5f60696
Merge branch 'progress-brand' of https://github.com/szastupov/bootstrap into szastupov-progress-brand
2016-12-19 21:06:27 -08:00
Mark Otto
be4fc23fdb
Merge branch '14840-consistent-colors' of https://github.com/Kovah/bootstrap into Kovah-14840-consistent-colors
2016-12-19 20:54:41 -08:00
Geoffrey Tisserand
69a09520d8
Fix typo in migration docs: card-title is replacing panel-title ( #21331 )
2016-12-19 20:35:02 -08:00
Jesse Mandel
f3282b5656
Update _modal.scss ( #21346 )
...
pull->float comment
2016-12-19 20:34:27 -08:00
Tom Lutzenberger
e1653edb95
Add variables for transitions ( #21345 )
...
* Add variables for transitions
* Add variables for transitions
2016-12-19 20:33:17 -08:00
Michal Zdrojewski
372d156f21
fix(readme): locked composer to a proper version ( #21338 )
...
* fix(readme): locked composer to a proper version
Without a version lock, users get current stable
* match docs
2016-12-19 20:31:44 -08:00
Bardi Harborow
da18d07d8e
Add 'system-ui' to font stack.
2016-12-19 20:29:44 -08:00
Mark Otto
621706d209
Merge pull request #21363 from Johann-S/fixDocPopovers
...
Remove mention of popovers auto placement + add note to migration docs
2016-12-19 20:29:09 -08:00
Stepan Zastupov
7800b3d97c
Use brand color for progress bar
2016-12-20 00:58:37 +03:00
Johann-S
8b538c8ad3
Remove mention of popovers auto placement + add note to migration docs
2016-12-19 09:38:56 +01:00
Mark Otto
3c12d73203
update jsbin example, fixes #21322
2016-12-11 19:01:47 -08:00
Mark Otto
d04eb86715
clarify that
2016-12-10 17:03:32 -08:00
Mark Otto
14ce741fa0
grunt
2016-12-10 17:03:28 -08:00
Mark Otto
d8bdb819a7
linting property order
2016-12-10 16:58:52 -08:00
Mark Otto
65aed32d95
put the custom control spacer var to use
2016-12-10 16:58:52 -08:00
Mark Otto
eb40c2a747
Update _config.yml
2016-12-08 10:48:06 -08:00
Christian Oliff
d9ab97b2d0
Update jQuery CDN to use jQuery.com instead of Google
...
Fixes : #21130
2016-12-07 21:32:00 -08:00
Mark Otto
cd76a6775d
grunt
2016-12-07 20:46:17 -08:00
Starsam80
d991c868a4
Fix tabs by using new classes
2016-12-07 21:20:18 -07:00
Starsam80
bf39bb3ac3
Rename .active to .show
2016-12-07 21:20:15 -07:00
Mark Otto
ede925d79b
Merge pull request #21298 from twbs/carousel
...
Refactor carousel
2016-12-05 23:31:14 -08:00
Mark Otto
e0edea0d1a
typo
2016-12-05 20:37:22 -08:00
Mark Otto
4ef547f4bb
drop the .carousel-control base class
2016-12-04 23:19:54 -08:00
Mark Otto
6d9ded8375
update migration docs
2016-12-04 23:17:30 -08:00
Mark Otto
e331db31fd
linting
2016-12-04 22:19:20 -08:00
Mark Otto
e40a09ba2e
redo the carousel example to match
2016-12-04 22:18:49 -08:00
Mark Otto
7c3bda24f0
simplify svg by only using viewbox
2016-12-04 22:06:29 -08:00
Mark Otto
9fca3e3ec8
rename once more
2016-12-04 22:05:16 -08:00
Mark Otto
89f5e65cfb
drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap
2016-12-04 22:05:05 -08:00
Mark Otto
1980854c14
rename var
2016-12-04 22:01:31 -08:00
Mark Otto
410bf38a4f
there's no font, so rip that var
2016-12-04 21:55:46 -08:00
Mark Otto
875c24395c
remove unused vars
2016-12-04 21:55:24 -08:00
Mark Otto
990db2496f
rip responsive styles; they're unnecessary and likely require overriding anyway
2016-12-04 21:55:02 -08:00
Mark Otto
1abe4c83a8
redo control icons to use open iconic svgs inlined
2016-12-04 21:54:45 -08:00
Mark Otto
d157fcebba
rename control left and right to prev and next; simplify styling by removing gradient
2016-12-04 21:54:04 -08:00
Mark Otto
8ad30ff8b8
rename in docs
2016-12-04 21:40:02 -08:00
Mark Otto
5c93cb7c81
code comment
2016-12-04 21:39:54 -08:00
Mark Otto
8f06eebe44
rename and un-nest icons
2016-12-04 21:39:46 -08:00
Mark Otto
c2c4b5ba76
remove comment
2016-12-04 21:39:27 -08:00
Mark Otto
1afb6959fa
remove commented out code
2016-12-04 21:05:57 -08:00
Mark Otto
1e3ec89355
Merge branch 'v4-dev' into carousel
2016-12-04 21:05:19 -08:00
Mark Otto
306f75216d
Move margin from adjacent selector to right on the .custom-control for better responsive rendering ( #21295 )
2016-12-04 20:42:12 -08:00
Mark Otto
6782dd6e92
nuke the text-shadow
2016-12-04 20:37:30 -08:00
Mark Otto
5abd0ed521
move multiple carousels section up, add responsive classes there, reformat some stuff
2016-12-04 20:37:21 -08:00
Mark Otto
fd87c19e79
linting
2016-12-04 20:27:33 -08:00
Mark Otto
01f81dd552
fix js for previous
2016-12-04 20:27:21 -08:00
Mark Otto
6d28f07582
redesign indicators
2016-12-04 20:14:33 -08:00
Mark Otto
b0db5788df
break up example into three separate examples to show flexibility
2016-12-04 20:07:01 -08:00
Mark Otto
d57ec90243
clear up docs intro
2016-12-04 20:06:45 -08:00
Mark Otto
a5c2562c06
update left/right classes on controls and add img classes
2016-12-04 19:53:37 -08:00
Mark Otto
94e2d80af4
pull in js changes from #18830
2016-12-04 19:53:16 -08:00
Mark Otto
ba329cfd6a
redo css more
...
- fix naming of left/right controls
- drop the absolute positioning of things and rely on only 3d transforms
- remove img styles and require classes to avoid inline-block line-height stuff
2016-12-04 19:52:49 -08:00
Starsam80
ea9f846e0f
Remove .float-left from card header nav ( #21292 )
2016-12-04 16:46:57 -08:00
sophiegit
eeb49651c6
Update bootstrap/scss/mixins/_breakpoints.scss ( #21285 )
...
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186-L192
1._breakpoints.scss
comment says that grid-breakpoint for sm is 544px,
2.http://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints
current document says that grid-breakpoint for sm is 544px,
but it should be 576px
2016-12-04 16:46:07 -08:00
Bardi Harborow
e156d2bb72
Fix A11yUserVoice bugify rendering. ( #21282 )
2016-12-04 16:45:50 -08:00
Bardi Harborow
0bb604157c
Remove duplicate jQuery browser bug link. ( #21283 )
2016-12-04 16:45:38 -08:00
Bardi Harborow
a3567a119d
Documentation navigation fixes. ( #21288 )
...
* Make /utilities/ redirect to /utilities/borders/.
* Rewrite sidebar active link logic to ensure superstrings are not selected.
2016-12-04 16:44:37 -08:00
Bardi Harborow
5a19d48705
Travis build infrastructure refresh. ( #21108 )
2016-12-04 16:40:27 -08:00
Chris Rebert
4c615573ad
Remove Wall of Browser Bugs entry for #14975
...
https://webkit.org/b/150079 has been fixed!
Refs #14975
[ci skip]
2016-12-02 10:27:08 -08:00
Chris Rebert
5a78b5e77b
https://crbug.com/534750 was marked as a duplicate of https://crbug.com/568691
...
So update the Wall of Browser Bugs entry accordingly.
[ci skip]
2016-12-02 10:23:01 -08:00
Chris Rebert
996499d4fe
Remove Chrome entry for position:sticky from Most Wanted Features list
...
It's shipping in Chrome 56:
https://bugs.chromium.org/p/chromium/issues/detail?id=231752
[ci skip]
2016-12-02 10:16:42 -08:00
Mark Otto
3ec37d4a4d
grunt
2016-12-02 10:13:36 -08:00
Chris Rebert
e3a569f4f6
Remove soon-to-be-defunct callout about Firefox fieldset bug ( #21262 )
...
The relevant bug has been fixed in Firefox 53:
https://bugzilla.mozilla.org/show_bug.cgi?id=504622
2016-12-02 09:58:18 -08:00
Chris Rebert
f1b732031e
Reboot: Update <fieldset> comment to clarify that the default weirdness is part of the standard. ( #21261 )
...
Refs https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
[skip sauce]
2016-12-02 09:57:22 -08:00
Johann
297c47c3fd
[V4] Throw error when a plugin is in transition ( #17823 )
...
* Throw error when a plugin is in transition
* Add unit tests about plugins in transition
2016-12-02 09:52:19 -08:00
Chris Rebert
1fb6d8c46a
Reboot: Add direct link to Edge scrollbar bug
...
Refs https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7165383/
[ci skip]
2016-11-30 21:43:42 -08:00
Chris Rebert
2404fec198
Reboot: Link directly to the temporal inputs WebKit bug
...
Refs https://bugs.webkit.org/show_bug.cgi?id=139848
[ci skip]
2016-11-30 21:37:45 -08:00
Chris Rebert
edf1e4b99e
Remove https://bugzil.la/504622 from Wall of Browser Bugs ( #21260 )
...
It's fixed in Firefox 53! Yay!
Refs #12359
[ci skip]
2016-11-30 16:42:16 -08:00
Patrick H. Lauke
dfae562bb6
Merge pull request #21253 from ysds/remove-btn-outline
...
Remove unnecessary .btn-outline and .btn-outline-inverse on docs
2016-11-30 21:25:34 +01:00
ysds
eb219c806c
Remove .btn-outline-inverse
2016-11-30 21:48:34 +09:00
ysds
ef028ab383
Remove .btn-outline
2016-11-30 21:47:57 +09:00
Mark Otto
59dc3e174d
grunt
2016-11-29 21:37:00 -08:00
Bardi Harborow
535fec93cf
Hide popovers when their containing modal is closed. ( #21227 )
2016-11-29 09:45:14 -08:00
Chris Rebert
f2bc3bec7c
Add Wall of Browser Bugs entry for #21092
...
Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1315994
Refs #21092
[ci skip]
2016-11-28 22:49:26 -08:00
Chris Rebert
0c6bd4d4c4
docs/_data/browser-bugs.yml: Fix ordering
...
[ci skip]
2016-11-28 22:33:20 -08:00
Chris Rebert
036437ec86
Add Wall of Browser Bugs entry for #20759
...
Refs https://bugs.webkit.org/show_bug.cgi?id=162362
Closes #20759
[ci skip]
2016-11-28 22:23:28 -08:00
Brad Kent
8250bd1b21
Fix #20936 make inline checkbox/radio markup same as stacked ( #20995 )
...
* #20936 make inline checkbox/radio markup same as stacked
* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -08:00
Mark Otto
af937836d9
Fix #20908 ( #21244 )
...
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
2016-11-28 20:26:28 -08:00
Mark Otto
4c807de7f0
fixes #21072 : clarify location of variables file (and avoid linking to a file that will be broken depending on the branch name)
2016-11-28 17:21:48 -08:00
Mark Otto
9749bab4ce
grunt
2016-11-28 17:18:44 -08:00
Mark Otto
339f8c3c48
fixes #21219 : update docs to reflect current sm breakpoint value
2016-11-28 17:05:36 -08:00
Juno_okyo
8c17e5fb3c
Use multi-selector to remove the same event handler ( #20642 )
2016-11-28 13:42:32 -08:00
Mark Otto
c3ffe13553
grunt
2016-11-28 13:40:47 -08:00
Mark Otto
82875586c1
Merge branch 'v4-js-carousel' of https://github.com/J2TeaM/bootstrap into J2TeaM-v4-js-carousel
2016-11-28 13:39:56 -08:00
Mark Otto
d6c1fa37bd
grunt
2016-11-28 13:36:46 -08:00
Florian Schlittenbauer
959c4e527c
Fix incorrect select height calculation ( #21171 )
2016-11-28 13:33:11 -08:00
Michael Cook
bccbc4f0c3
Yarn install instruction ( #21234 )
2016-11-28 13:25:33 -08:00
Starsam80
b226766b62
Remove lots of duplication + minor cleanup ( #21238 )
...
* Remove comment that duplicated some code
* Use transition mixin whenever possible
* Create a new function to reduce duplication
* Use the new `breakpoint-infix` method
2016-11-28 13:23:59 -08:00
Mark Otto
2f9a94caac
Inverse card improvements ( #21242 )
...
* Add a color to .card-inverse to account for non .card- prefixed classes
* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
a6f54889fd
Replacement for #20602 ( #21236 )
...
* Fixed incorrect instruction: "Press ⌘ to copy"
It needed to be "Press ⌘C to copy"
* Updated to concatenate copy string
Updated copy command to concatenated string to prevent potential issues
* Updated the way the copy string concatenates
As per excellent suggestion by @tomlutzenberger
* Removed semicolon line endings
;P
* var not const or let
2016-11-28 13:10:19 -08:00
Mark Otto
9338cf5970
grunt
2016-11-28 09:14:31 -08:00
Mark Otto
23866efbb1
Fix #20013 , nullify #21112 ( #21230 )
...
Add padding to dismiss button for alerts and use position to place it. Removes extra padding on .alert-dismissible's right side, too. We could probably further simplify these things in the future as well.
2016-11-27 23:59:21 -08:00
Mark Otto
5357bad9a0
grunt
2016-11-27 23:39:50 -08:00
Mark Otto
35133f86c8
Follow up to #21052 to match small pagination links with small buttons
2016-11-27 23:39:46 -08:00
Stefan Staynov
0051be1657
Set line-height for page-links ( #21052 )
2016-11-27 23:37:36 -08:00
Cyril Kyburz
f995a8be1e
Add alert-margin-bottom variable ( #21064 )
2016-11-27 23:21:09 -08:00
Rodrigo Waltenberg
c5c1bfec01
Made card header and footer's background transparent on .card-inverse ( #21111 )
...
Solves issue #18946
2016-11-27 23:12:03 -08:00
Starsam80
08e36a3cc9
Rename .col-xs to .col + some other cleanup ( #21222 )
...
* Use `breakpoint-min` instead of a counter
* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Mark Otto
4393da18f6
grunt
2016-11-27 22:29:55 -08:00
Mark Otto
5db88075c1
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-11-27 22:29:33 -08:00
Mark Otto
1562a2db4c
make a brief mention of #20433
2016-11-27 22:29:24 -08:00
Starsam80
54908a95a8
Rename .navbar-toggleable-xs to .navbar-toggleable + more cleanup ( #21226 )
...
* Clean up some utilities
- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies
* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication
* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Mark Otto
869bd23937
Update clearfix mixin ( #21224 )
...
* Update clearfix to use block instead of table display (also reorder properties for linting)
* update docs snippet for clearfix mixin—was apparently still using Less syntax and had old clearfix hack (even before the block change in this PR)
2016-11-27 17:05:29 -08:00
Mark Otto
585516db95
Add max-width 100% and max-height 100% utilities ( #21221 )
2016-11-27 16:31:31 -08:00
Rob Ruana
5eddb0b0fd
Closes #21055 : Prevents ScrollSpy from clearing active item when Safari rubberbands ( #21056 )
...
When the rubberband effect causes Safari to scroll past the top of the
page, the value of scrollTop becomes negative. If the offset of the first
ScrollSpy target is 0 - essentially if the target is at the top of the
page - then ScrollSpy should not clear the active item. Conceptually, the
first item should remain active when rubberbanding past the top of the
page.
This commit fixes issue #21055 by verifying the first scrollspy target is
not at the top of the page before clearing the active nav-item.
2016-11-27 16:20:33 -08:00
Starsam80
8d031090d0
Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* ( #21218 )
...
* Clean up _flex.scss a little
This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.
* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
94be2d2254
Remove redundant media queries ( #21220 )
2016-11-27 15:18:46 -08:00
Starsam80
b1e8d60348
Remove 'xs' from text utilities ( #21217 )
2016-11-26 20:33:46 -08:00
Mark Otto
eb5ad730ee
update scss linter to allow multiple spaces before on single line
2016-11-26 20:33:22 -08:00
Mark Otto
0b8a281920
grunt
2016-11-26 19:17:23 -08:00
Mark Otto
23301b21cd
Remove most border-radius properties and instead use overflow: hidden; to properly round corners of a full progress bar. ( #21216 )
...
Fixes #19065 .
2016-11-26 18:46:46 -08:00
Stephanie Purvis
2da3d1c862
Tweak jQuery-not-found error message to mention required ordering ( #19024 )
2016-11-26 18:46:28 -08:00
Mark Otto
b2bf8294a0
minor docs content tweaks to fix #18997
2016-11-26 18:39:51 -08:00
Mark Otto
d50fc038c5
Update comment for use of IE9 hack to fix #18082
2016-11-26 17:31:10 -08:00
Mark Otto
87a0749f89
Merge branch 'container-tooltip-option' into v4-dev
2016-11-26 17:02:40 -08:00
Mark Otto
181e124bc1
grunt
2016-11-26 17:01:17 -08:00
Stephen Puiszis
7d3abdb9c7
Update migration file for renamed image classes ( #21215 )
2016-11-26 16:57:25 -08:00
Mark Otto
e17e75b757
Update inline forms (updated docs and new flexbox styles) ( #21212 )
...
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Mark Otto
b456cb351d
grunt
2016-11-26 16:49:39 -08:00
Mark Otto
f7f5547dab
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-11-26 16:49:07 -08:00
Ken Dale
dc52029bea
Add .rounded-0 utility class ( #21214 )
...
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795
Border utilities ( #21213 )
...
* grunt
* add border utilities for removing borders
* clean up comments
* add basic border docs
* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
36bf06f520
grunt
2016-11-26 13:42:46 -08:00
Mark Otto
ec5e7e5e5a
Add .no-gutters option to remove gutters from rows ( #21211 )
...
Fixes #19107 .
2016-11-26 12:13:15 -08:00
Mark Otto
c7b8451cdc
grunt
2016-11-26 11:16:53 -08:00
Mark Otto
73a320a27f
Merge pull request #21076 from 3dd13/use-rounded-circle-in-carousel-example
...
in carousel example, replace img-circle by rounded-circle css class
2016-11-26 02:35:38 -08:00
Mark Otto
275ac87488
Merge pull request #21204 from ounziw/patch-1
...
grid-breakpoint fix [document]
2016-11-26 02:04:51 -08:00
Mark Otto
8ef1d93d0c
Merge pull request #21205 from twbs/navbar-disabled
...
v4 disabled navbar links
2016-11-26 02:03:46 -08:00
Mark Otto
b9947152c6
Merge pull request #21208 from twbs/table-responsive-docs
...
Update .table-responsive
2016-11-26 02:03:12 -08:00
Mark Otto
b88c32cf17
uncomment autohiding scroll and remove commented out border
2016-11-26 01:47:16 -08:00
Mark Otto
410b7dd5e8
update comment
2016-11-26 01:46:11 -08:00
Mark Otto
967ee175dc
Move .table-responsive to .table instead of as a parent
2016-11-26 01:45:40 -08:00
Mark Otto
5ab99abd97
prevent double border on responsive .table-border
2016-11-26 01:44:06 -08:00
Mark Otto
8cd29af7ee
Merge pull request #21203 from twbs/conditional-transition-animations
...
Wrap .fade and .collapsing transition properties in $enable-transitions
2016-11-26 01:27:54 -08:00
Mark Otto
03ad956270
Merge pull request #21207 from twbs/modal-sizes
...
Tweak modal sizes
2016-11-26 01:21:58 -08:00
Mark Otto
b6b8280938
Merge pull request #18900 from vlastikcz/v4-dev-buttonChange
...
Button toggling - trigger change event on input. Fixes #16673 , fixes #17599 .
2016-11-26 01:18:21 -08:00
Mark Otto
ce31f54c36
Merge pull request #19058 from Johann-S/carouselInput
...
Carousel - Do not prevent on keydown for input and textarea
2016-11-26 01:14:55 -08:00
Mark Otto
abbc2b7c93
Merge branch 'v4-dev' into modal-sizes
2016-11-26 01:04:51 -08:00
Mark Otto
bb6c197d9b
grunt
2016-11-26 01:04:12 -08:00
Mark Otto
b110070dcd
Follow up fix to #19953 for linting error in builds
...
See https://travis-ci.org/twbs/bootstrap/jobs/179010884 for build failure
2016-11-26 01:04:02 -08:00
Mark Otto
19ab4873ff
grunt
2016-11-26 01:00:16 -08:00
Mark Otto
25d218b02d
Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into maxbeatty-v4-dev-18796
2016-11-26 00:58:51 -08:00
Mark Otto
cb294854a3
grunt
2016-11-26 00:58:11 -08:00
Mark Otto
ea2e4203a5
Merge pull request #21206 from twbs/gray-lightest
...
Update use of $gray-lightest variable
2016-11-26 00:52:52 -08:00
Mark Otto
d82d04fd6d
decrease size of modal-md and modal-lg to ensure fitting in responsive layouts
2016-11-26 00:47:33 -08:00
Mark Otto
e953d5d4f0
grunt
2016-11-26 00:40:17 -08:00
Pierre-Denis Vanduynslager
3606c5b9c5
Dropdown perf - on keyboard nav, find active item in the active dropdown rather than the whole document ( #19953 )
2016-11-26 00:35:49 -08:00
Mark Otto
cc737d6faf
change instances of hardcoded lightest gray to sass variable -lightest
2016-11-26 00:23:49 -08:00
Mark Otto
559902ad54
change uses of #f5f5f5 to -lightest
2016-11-26 00:22:49 -08:00
Mark Otto
25216349b3
add some disabled navbar link examples
2016-11-26 00:19:30 -08:00
Mark Otto
4fc526f24a
add disabled classes to light and dark navbar nav-links
2016-11-26 00:19:13 -08:00
andyexeter
0ded703f6b
Implement container option for tooltips and popovers.
2016-11-26 19:13:15 +11:00
Mark Otto
23664d3a90
fix nesting and syntax error
2016-11-25 23:43:12 -08:00
Mark Otto
ef818c0799
Start renaming carousel classes
...
- Un-nests .carousel-item
- Appends .carousel-item- to .left, .right, .next, and .prev
- Chain .carousel-item to .active where approproriate
2016-11-25 23:42:16 -08:00
Mark Otto
308bc77dbb
Update bootstrap-grid.scss to include box-sizing and responsive changes ( #21202 )
2016-11-25 23:03:07 -08:00
Johann
ce18a66809
Add test unit to check logic of ignoreBackdropClick ( #18245 )
2016-11-25 22:57:20 -08:00
Fumito Mizuno
050ba7390c
grid-breakpoint fix
...
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186
current document shows 544px, but it should be 576px
2016-11-26 15:47:40 +09:00
Mark Otto
3154c0585a
re-enable transitions (which according to the options.md doc is the default)
2016-11-25 22:08:51 -08:00
Mark Otto
6e16a6b40a
Wrap .fade and .collapsing transition properties in -transitions
2016-11-25 22:06:40 -08:00
Mark Otto
990a901e52
grunt
2016-11-25 21:48:39 -08:00
Bardi Harborow
91f70c538a
Refactor Dashboard example. ( #21140 )
2016-11-25 20:23:11 -08:00
Mark Otto
d315c9499d
v4: Flexbox nav options ( #21201 )
...
* Add some flexbox nav components
- Includes .nav-justified for inline, tab, and pill nav components
- Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
f2b98f6b2c
grunt
2016-11-25 17:40:44 -08:00
matus
d328c911cb
Added a virtual test
2016-11-25 17:39:00 -08:00
matus
39d7861f34
Scrollspy selecting the last element when at the bottom of the page ( fixes #17739 )
2016-11-25 17:38:42 -08:00
Mark Otto
8a7ce25cf1
grunt
2016-11-25 17:29:28 -08:00
Mark Otto
76907b8b1e
v4: Miscellaneous color changes ( #21199 )
...
* Darken dismiss icon opacity
* Darken text on active list group items
* Darken light gray for accessibility/contrast, then update gray and dark gray to match
2016-11-25 16:03:13 -08:00
Mark Otto
49be9bc63a
grunt
2016-11-25 15:00:23 -08:00
Mark Otto
432fe74c31
Merge branch 'eslint' of https://github.com/bardiharborow/bootstrap into bardiharborow-eslint
2016-11-25 14:59:28 -08:00
Matt Hernandez
b1b1f30cbd
[ Fix #17371 ][V4] Deactivating dropdown links in nav tab ( #17642 )
...
* Fix bug with dropdown tab links not deactivating when other tab or dropdown link is clicked
* Revise bug fix for more stability
2016-11-25 14:56:41 -08:00
Chris Rebert
3593ee85c1
Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 ( #19751 )
...
[skip sauce]
[skip validator]
2016-11-25 14:51:55 -08:00
Mark Otto
3cfd40782c
grunt
2016-11-25 14:20:49 -08:00
Mark Otto
5b4d5595ab
Merge pull request #21133 from bardiharborow/normalize
...
Update Normalize to v5.0.0.
2016-11-25 14:10:46 -08:00
Mark Otto
83c8bfa30d
Fixes #21195 : Add more table of contents to pages with longer contents
2016-11-25 14:01:06 -08:00
Mark Otto
5b151eb891
grunt
2016-11-25 13:55:34 -08:00
Mark Otto
fa5572b273
Merge pull request #21187 from twbs/fix-21094
...
Fix pagination underline
2016-11-25 13:53:36 -08:00
Bardi Harborow
0f391965cd
Update Normalize to v5.0.0.
2016-11-24 12:08:25 +11:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Bardi Harborow
26c16743fc
Refactor ESLint configuration.
2016-11-24 11:59:55 +11:00
Mark Otto
4332a5cc02
Merge pull request #21068 from twbs/list-group-border-color
...
switch to rgba for list-group border color
2016-11-23 11:45:11 -08:00
Mark Otto
7124388fdb
Merge pull request #21118 from Elliot-Evans-95/v4-dev
...
renamed modal-title-padding to modal-header-padding
2016-11-23 11:39:23 -08:00
Mark Otto
c13215d038
Fixes #21094 : Move text-decoration override from the default link state to the hover/focus state so it can override the global styles properly
2016-11-23 11:37:56 -08:00
Mark Otto
ec47feefd6
Fixes #21114 : clarify by removing mention of nesting
2016-11-23 11:35:41 -08:00
Mark Otto
91bb6a038d
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-11-23 11:28:22 -08:00
Mark Otto
8d3f0995d1
Fixes #21123 : More specific definition of fixed-width block level for .mx-auto
2016-11-23 11:28:17 -08:00
Mark Otto
ab54151ed3
Fixes #21179 : docs typos on pull/float action
2016-11-23 11:26:37 -08:00
Chris Rebert
63843de193
Add Wall of Browser Bugs entry for #21120
...
Refs https://bugs.chromium.org/p/chromium/issues/detail?id=510079
Closes #21120
[skip sauce]
2016-11-22 23:56:41 -08:00
Mark Otto
573e029feb
grunt
2016-11-16 20:42:40 -08:00
Mark Otto
6910516d2c
Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
...
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Mark Otto
d90e4faf62
Merge pull request #21121 from bardiharborow/visual-tests
...
Update visual tests.
2016-11-16 20:32:26 -08:00
Mark Otto
bd61ec5754
Merge pull request #21122 from bardiharborow/badge-print-styles
...
Change .tag print styles to .badge.
2016-11-16 20:23:17 -08:00
Mark Otto
c4c71188ab
Merge pull request #21141 from bardiharborow/bg-faded-demo-padding
...
Fix padding on .bg-faded demo.
2016-11-16 20:19:35 -08:00
Bardi Harborow
c104709193
Fix padding on .bg-faded demo.
2016-11-16 16:16:35 +11:00
Patrick H. Lauke
0913a0bf57
Merge pull request #21124 from Daniel15/patch-1
...
it's → its
2016-11-13 23:55:19 +01:00
Daniel Lo Nigro
fd184b45f3
it's → its
...
Small grammar fix.
2016-11-13 13:59:18 -08:00
Bardi Harborow
794136f191
Change .tag print styles to .badge.
2016-11-13 12:32:07 +11:00
Bardi Harborow
b9e7cef965
Update visual tests.
2016-11-13 02:34:18 +11:00
Elliot Evans
7f05cb9e94
renamed modal-title-padding to modal-header-padding
2016-11-10 22:37:20 +00:00
Mark Otto
93ba9ac629
grunt
2016-11-09 20:00:16 -08:00
Mark Otto
1b9262d44b
Merge pull request #21107 from twbs/a11yfix
...
Fix MS A11y UserVoice entry in Most Wanted Features list
2016-11-09 19:53:20 -08:00
Chris Rebert
2133dbd718
browser-features.yml: Fix MS A11y UserVoice entry
...
And move one Firefox entry to keep the entries sorted by browser.
Refs #21089
2016-11-08 18:22:06 -08:00
Chris Rebert
dafd900e93
docs/_plugins/bugify.rb: Add support for MS A11y UserVoice ideas
...
Refs #21089
[ci skip]
2016-11-08 18:19:05 -08:00
Mark Otto
cbd13e5229
Merge pull request #21062 from vanillajonathan/patch-1
...
Linked to slack
2016-11-08 13:33:23 -08:00
Mark Otto
12fae028e1
Merge pull request #21099 from bardiharborow/links
...
Fix broken and redirected links.
2016-11-08 13:32:50 -08:00
Bardi Harborow
b4dbc69f0e
Fix broken and redirected links.
2016-11-09 01:14:48 +11:00
Patrick H. Lauke
e63c617fe4
Merge pull request #21095 from patrickhlauke/v4-docs-print-fixes
...
Scope ::first-letter selector for print styles
2016-11-06 22:06:39 +01:00
Patrick H. Lauke
2b73773953
Scope ::first-letter selector for print styles
...
`*::first-letter` causes problems in IE11 - only prints first page of a
multi-page document
2016-11-06 21:02:29 +00:00
Patrick H. Lauke
c8ec89a496
Merge pull request #21089 from patrickhlauke/v4-dev
...
Add Safari skip link bug and Firefox/Edge AT focus feature requests
2016-11-05 16:30:56 +01:00
Patrick H. Lauke
e123cdda16
Add browser features around virtual/accessibility focus
...
These would help in making hidden skip links show up visually once they
receive AT focus (for sighted/partially sighted AT users)
2016-11-05 15:27:26 +00:00
Patrick H. Lauke
6b184763f0
Add Safari skip link bug
2016-11-05 15:24:37 +00:00
Eric Nolte
cec0c7c6d6
Update docs to reflect new breakpoint naming convention
2016-11-04 10:54:34 -06:00
Eric Nolte
9402be4d44
Update grid mixins to omit lowest breakpoint
...
The new breakpiont-limited class pattern is to omit the breakpoint size when using the lowest size eg. col-xs-12 to col-12. This commit implements this pattern to the grid system.
2016-11-04 10:47:23 -06:00
Eddie Lau 3dd13
760990fa13
replace img-circle by rounded-circle css class
2016-11-03 12:00:29 +08:00
Jonathan
cb270b182c
Linked to slack
2016-11-01 15:37:47 +01:00
Mark Otto
cd5c7a2263
grunt
2016-10-31 21:36:10 -07:00
Mark Otto
ffaad0a819
Responsive display utilities ( #20934 )
...
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
76d53404b5
grunt
2016-10-31 21:14:23 -07:00
Mark Otto
f734814f6b
Make spacer utils responsive ( #20926 )
...
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Johann
a7f1b59959
Making .tooltip('show') throw an error on elements with display:none ( #20940 )
2016-10-31 20:33:53 -07:00
Bardi Harborow
0974267b8c
Move from $.proxy to es6 arrow functions. ( #21049 )
2016-10-31 20:32:36 -07:00
Rodrigo Castro
d6cc0e017d
Fixes #21057 , fixes utilities link on typography documentation page ( #21058 )
2016-10-31 19:27:40 -07:00
Alberto Roura
5616e62093
Use variable names for form focus borders ( #21050 )
2016-10-31 09:12:00 -07:00
Mark Otto
d1171ac44a
grunt
2016-10-30 15:21:53 -07:00
Mark Otto
b718b71627
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-30 14:48:42 -07:00
Mark Otto
8c0e1f32b6
trailing whitespace
2016-10-30 14:48:35 -07:00
Ilias
bf43936377
Fix #17964 ( #17997 )
...
* Fix #17964
Some browsers are lazy when updating dom elements after transition effects. This can be fixed by reading element properties such as offsetHeight or offsetWidth. However, creating a function using the Function constructor just to access such element, results in a violation of Content Security Policy (where applied), which in turn crashes the application. This fix actually reverts to the way this was handled in v3 and should work as intended.
2016-10-30 14:47:14 -07:00
Catalin Zalog
5099a60ffe
Fix input group sizing in Firefox
...
Firefox requires a width and flex-basis value to size the input field correctly. Despite the width being 1%, the input will size correctly at all parent widths.
http://codepen.io/zalog/pen/bpMJmv
2016-10-30 14:43:10 -07:00
Mark Otto
7ba4ac0cd3
add specific docs example for badged list group items
...
floated content has to come first in the DOM, otherwise you can get alignment bugs. in flexbox though, that's not the case. as such, i'm adding this example code to guide folks to the changes needed to move between default and flex modes.
2016-10-30 14:13:06 -07:00
Mark Otto
e11e6ec913
Merge branch 'v4-flex-list-group' of https://github.com/rosskevin/bootstrap into rosskevin-v4-flex-list-group
2016-10-30 13:49:46 -07:00
Mark Otto
d86d580d26
grunt
2016-10-30 13:40:11 -07:00
Mark Otto
864343a3cc
Merge branch 'v4-dev' of https://github.com/HMUDesign/bootstrap into HMUDesign-v4-dev
2016-10-30 13:38:44 -07:00
Mark Otto
c9dc04b4f5
grunt
2016-10-30 13:37:11 -07:00
Mark Otto
9ff198968b
Merge pull request #21046 from abvalentine/issue-20975
...
Fixes #20975 : navbar-text on navbar-dark and bg-inverse is invisible
2016-10-30 13:32:21 -07:00
Valentine Abanosimov
34ec049231
Fixes #20975 : removed trailing whitespace
2016-10-30 21:57:04 +03:00
Valentine Abanosimov
66d113be83
Fixes #20975 : removed trailing whitespace
2016-10-30 21:51:16 +03:00
Valentine Abanosimov
d6132c9a5d
Fixes #20975 : made navbar-text color on navbar-dark equal to non-hovered link color
2016-10-30 21:43:54 +03:00
Mark Otto
b071de65c7
grunt
2016-10-28 19:28:41 -07:00
Mark Otto
2706215d13
Merge pull request #21041 from twbs/horizontal-form-validation-example
...
Horizontal form validation example
2016-10-28 19:19:33 -07:00
Mark Otto
6a11ae580d
add horizontal form examples
2016-10-28 16:38:30 -07:00
Mark Otto
a6cd4937af
rework some copy
2016-10-28 16:36:09 -07:00
Mark Otto
cfd6e92ff6
include .col-form-label in the form validation field mixin
2016-10-28 16:35:47 -07:00
Mark Otto
c01fa6b369
Merge pull request #17536 from Johann-S/testPadding
...
[Fix #17400 ] Add tests about padding restoration
2016-10-28 13:46:14 -07:00
Mark Otto
cecf0db2ce
grunt
2016-10-27 22:29:10 -07:00
Mark Otto
ccb5248205
Merge branch 'issue19217' of https://github.com/alberto/bootstrap into alberto-issue19217
2016-10-27 22:28:24 -07:00
Mark Otto
63a524b352
Merge pull request #19887 from ryanburnett/v4-dev
...
Alphabetized carousel options & added "ride" to it
2016-10-27 22:21:06 -07:00
Mark Otto
20178076ee
Merge pull request #19915 from zalog/patch-9
...
Zero out the default margin-bottom on label.custom-file
2016-10-27 22:20:26 -07:00
Mark Otto
9d011a8a6f
Merge pull request #20101 from heath3/patch-1
...
Re-use 'between' mixin for 'only' mixin
2016-10-27 22:17:48 -07:00
Mark Otto
96d8553bec
grunt
2016-10-27 22:11:22 -07:00
Mark Otto
bc076d71b3
follow up to #20441 : move file to correct place
2016-10-27 22:11:19 -07:00
Mark Otto
34d88c79e6
Merge pull request #20225 from morishitter/v4-dev
...
Add some properties to the list of property order in .scss-lint.yml
2016-10-27 22:09:10 -07:00
Mark Otto
8f0429973d
Merge pull request #20441 from cortopy/visibility-mixin
...
Visibility mixin
2016-10-27 22:06:47 -07:00
Mark Otto
2df2efc1fb
Merge pull request #18851 from ju1ius/patch-1
...
Don't clearfix if flexbox is enabled. Fixes #18849
2016-10-27 21:58:14 -07:00
Mark Otto
1e06ae1bfe
switch to rgba for list-group border color
...
matches the card border-color, fixes #20129
2016-10-27 21:29:09 -07:00
Mark Otto
d23163a483
Merge pull request #21032 from twbs/flexbox-input-group
...
Proper input group sizing and alignment in flexbox mode
2016-10-27 21:23:48 -07:00
Mark Otto
f655343ac9
Merge pull request #21033 from twbs/label-less-custom-controls
...
Add a min-height: 1.5rem; to custom controls
2016-10-27 21:23:04 -07:00
Mark Otto
4a05116020
Merge pull request #21034 from twbs/better-custom-control-alignment
...
Calculcate the top offset for custom control indicators
2016-10-27 21:22:24 -07:00
Mark Otto
fa0605132f
grunt
2016-10-27 20:04:33 -07:00
Mark Otto
6608b2a9ee
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-27 20:04:04 -07:00
Mark Otto
fde7101f13
grunt
2016-10-27 20:03:56 -07:00
Mark Otto
61b01f9b28
Merge branch 'patch-1' of https://github.com/tomhorvat/bootstrap into tomhorvat-patch-1
2016-10-27 20:02:59 -07:00
Mark Otto
020a8c6918
Merge pull request #20734 from beausmith/button-outline-variant
...
Remove hard-coded value in button-outline-variant
2016-10-27 19:58:48 -07:00
Mark Otto
fbed329218
Merge pull request #21035 from judetucker/badge_cleanup
...
cleaned up the docs to complete the change from .tag to .badge
2016-10-27 19:57:11 -07:00
Mark Otto
cfc8e40da9
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-27 19:56:55 -07:00
judetucker
b3944c2334
cleaned up the docs to complete the change from tag to badge
2016-10-27 15:03:45 -07:00
Mark Otto
2dcc50f017
Calculcate the top offset for custom control indicators
...
Fixes #21023 .
Uses some math functions to determine what the offset should be. This is helpful for those who customize the size of their indicators and still want them vertically centered.
2016-10-27 14:41:12 -07:00
Mark Otto
1421ca5b87
Add a min-height: 1.5rem; to custom controls
...
Fixes #20730 .
This change computes the minimum needed height of what a single line of text would be for the custom checkboxes/radios. This is required because our custom control indicators are positioned absolutely, meaning they cannot be clearfixed or anything like that. Using a computed value means it should scale nicely in case of customization
2016-10-27 14:32:56 -07:00
Mark Otto
78c9757236
property order
2016-10-27 13:46:16 -07:00
Mark Otto
259a420d70
Ensure proper sizing of and alignment of content within input group addons and buttons
...
Fixes #20927 .
2016-10-27 13:40:55 -07:00
Mark Otto
da6b5a0551
Merge pull request #21028 from judetucker/card_docs_float
...
Docs correction to change .pull to .float on Card docs
2016-10-27 11:51:06 -07:00
Mark Otto
93ac9381be
Fixes #17631 : Add mention of removed .btn-group-justified
...
It was only available for anchor elements and not button elements, so it was super weird to support. Might be bringing it back with flexbox though in v4 as an option.
2016-10-27 10:31:37 -07:00
Mark Otto
9dbfc90eae
grunt
2016-10-27 09:51:22 -07:00
Mark Otto
a26080c047
rework flex grid autolayout docs
...
Adds clearer headings to each section, reworks some copy to be more direct.
2016-10-27 09:50:25 -07:00
Mark Otto
26c33fa5ed
unrelated change; bold that stuff to emphasize it
2016-10-27 09:49:57 -07:00
Mark Otto
e2068d0e53
Merge branch 'auto-flex-col' of https://github.com/alanmoo/bootstrap into alanmoo-auto-flex-col
2016-10-27 09:41:33 -07:00
Mark Otto
5b266437e7
Merge pull request #21027 from twbs/document-zindex
...
Document zindex
2016-10-27 09:39:27 -07:00
Mark Otto
115a37db1a
Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest
2016-10-27 09:31:38 -07:00
Mark Otto
3cc0239903
Document our z-index values
...
Fixes #18532
2016-10-27 09:26:23 -07:00
Mark Otto
8ed7ebcd63
fixes #18565 : mention carousel sizing in docs
2016-10-27 09:19:07 -07:00
Mark Otto
abc9a526d5
Fixes #20498 : Warn about flexbox bugs in our flex grid docs
2016-10-27 09:03:45 -07:00
Mark Otto
ab49e3f7e6
fixes #21000 : Remove margin from static form control example
2016-10-27 08:58:12 -07:00
Mark Otto
42dfa7994d
Merge pull request #21024 from eigan/fixdoc-secondary-dropdown
...
Docfix: Change label from Default to Secondary, and reorder dropdowns
2016-10-27 08:53:52 -07:00
Einar Gangsø
45cbbad871
Docfix: Typo default -> secondary, and reorder
2016-10-27 10:12:14 +02:00
judetucker
7cc086e2c1
change the header nav description to include the new float
2016-10-26 22:05:46 -07:00
Mark Otto
52c84a1cb6
Merge pull request #20938 from JPeer264/feature/sass-doc
...
Docs: Sass Variables Table of Contents
2016-10-26 21:20:25 -07:00
Mark Otto
7aab3d9573
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-26 21:16:06 -07:00
Mark Otto
a0599a245d
Follow up to #20982 to fix css for modals
2016-10-26 21:15:31 -07:00
Mark Otto
261ed70a18
Merge pull request #21019 from Starsam80/fix-collapse
...
Rename .in to .active to fix collapse
2016-10-26 21:14:16 -07:00
Mark Otto
bcbbc8eeda
Merge pull request #21020 from twbs/rename-tag-to-badge
...
Rename .tag to .badge to avoid conflicting with WordPress
2016-10-26 19:53:50 -07:00
Mark Otto
d9fa3fd797
Rename .tag to .badge to avoid conflicting with WordPress
2016-10-26 18:33:58 -07:00
Starsam80
aa08274d24
Rename .in to .active to fix collapse
2016-10-26 17:24:46 -06:00
Mark Otto
d9d75f4d54
Merge pull request #20945 from coliff/patch-10
...
Update Google Analytics snippet to always load via HTTPS
2016-10-25 20:02:32 -07:00
Mark Otto
aa11f00218
Merge pull request #20982 from Johann-S/fix19344
...
Fix #19344 - Use a single class name for opened/expanded/shown state of widgets
2016-10-25 19:57:51 -07:00
Mark Otto
2eaef44edd
Merge pull request #20951 from sbaechler/font-weights
...
Use a variable for the default font weights. Fixes #20741
2016-10-25 19:55:34 -07:00
Mark Otto
182a642b07
Merge pull request #20903 from Starsam80/fix-20395
...
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
2016-10-25 19:52:14 -07:00
Mark Otto
0fff1a1424
Merge pull request #20998 from twbs/v4-browser-names
...
Rename Microsoft Edge to just Edge in docs
2016-10-25 19:25:32 -07:00
tomhorvat
e5bb0c40f4
Body font weight variable
2016-10-25 15:05:51 +02:00
Johann-S
9d129a43d6
Use a single class name for opened/expanded/shown state of widgets
2016-10-25 14:07:41 +02:00
Patrick H. Lauke
f93df8dccd
Merge pull request #20962 from patrickhlauke/v4-fix-unescaped-hash-data-urls
...
Fix unescaped `#` in SVG data URLs
2016-10-25 12:31:29 +02:00
Mark Otto
1aa6ff393b
Fixes #20948 : Rename Microsoft Edge to just Edge in docs
2016-10-24 22:12:19 -07:00
Mark Otto
f11f630acd
Merge pull request #20947 from bardiharborow/examples
...
Normalize examples and update where relevant.
2016-10-24 22:10:35 -07:00
Mark Otto
ee47abd56c
Merge pull request #20994 from ramaboo/v4-dev
...
Fixing ruby gem version to 4.0.0.alpha5
2016-10-24 21:51:28 -07:00
Mark Otto
a3bc24abc4
Merge pull request #20973 from pixelbandito/container-gutter-breakpoints
...
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-24 21:49:26 -07:00
Mark Otto
73154d0392
Merge pull request #20467 from maxbeatty/v4-dev-17754
...
add support for ol in tab plugin
2016-10-24 20:50:52 -07:00
Mark Otto
60e51bc918
Merge pull request #18847 from Johann-S/fix18824
...
Fix bug multiple accordions collapse
2016-10-24 20:50:04 -07:00
Mark Otto
b0d61474e8
Merge pull request #20957 from kukac7/patch-1
...
duplicate navbar-toggler-padding variables
2016-10-24 20:49:14 -07:00
Mark Otto
378f96d67b
Merge pull request #20964 from vanduynslagerp/fix-form-control-shadows
...
Set box-shadow on input if enable-shadows rather than enable-rounded
2016-10-24 20:47:21 -07:00
Mark Otto
61bf63c609
Merge pull request #20966 from bardiharborow/spacing-docs
...
Fix documentation for all-side spacing classes.
2016-10-24 20:43:54 -07:00
David Singer
4690fc1205
Fixing ruby gem version to 4.0.0.alpha5
2016-10-24 18:29:36 -07:00
Mark Otto
c581564a78
nav styles
2016-10-24 16:06:32 -07:00
Mark Otto
99d1cb0b0d
make masthead sit below nav
2016-10-24 16:06:22 -07:00
Mark Otto
b5c5f431e3
copy changes, add toc, tweak ads placement
2016-10-24 16:05:59 -07:00
Mark Otto
d5e153eac8
fix broken float
2016-10-24 16:05:39 -07:00
Mark Otto
e17a767a4c
append trailing slash to slug so that page name matching is more accurate
2016-10-24 16:05:32 -07:00
Mark Otto
2c80f4d7cd
make search work on homepage
2016-10-24 16:05:14 -07:00
Mark Otto
f7f3e62c66
Merge branch 'v4-dev' into v4-docs-streamlined
2016-10-24 14:27:52 -07:00
Alan Mooiman
4538ac9b56
Add documentation for col-{breakpoint}-auto
2016-10-24 11:23:56 -04:00
Chris Garcia
e1fefe6065
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-22 00:06:41 -05:00
Bardi Harborow
8e888796a6
Fix documentation for all-side spacing classes.
2016-10-21 09:36:09 +11:00
Pierre-Denis Vanduynslager
6eb2e54a91
Use box-shadow mixin
2016-10-20 16:35:45 -04:00
Pierre-Denis Vanduynslager
7a21517a48
Set box-shadow on input if enable-shadows rather than enable-rounded
2016-10-20 14:29:20 -04:00
Pierre-Denis Vanduynslager
9ee304b973
Merge branch 'twbs/v4-dev' into v4-dev
2016-10-20 14:25:00 -04:00
Patrick H. Lauke
85531fd9fb
replace # with %23 in SVG data urls with str-replace
2016-10-20 18:27:11 +01:00
Patrick H. Lauke
b2fe9743cc
Add str-replace Sass function
2016-10-20 18:26:36 +01:00
Alan Mooiman
e22b0df8b2
Create col class for auto flexbox columns
...
.col-xs-auto, .col-sm-auto, etc.
2016-10-20 13:08:00 -04:00
béla
dd1b9eeef8
duplicate navbar-toggler-padding variables
2016-10-20 11:31:30 +02:00
Simon Bächler
8402d2321f
Use a variable for the default font weights. Fixes #20741
...
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
Also referenced: #18605 and #16170 .
2016-10-19 21:41:27 +02:00
Bardi Harborow
ba49d709ba
Normalize examples and update where relevant.
2016-10-20 02:11:55 +11:00
Christian Oliff
76af99eb4a
Update Google Analytics snippet to always load via HTTPS
...
This is the official Google Analytics snippet.
2016-10-19 23:35:10 +09:00
JPeer264
088b164a23
updated sass variables table of contents
2016-10-19 10:17:55 +02:00
Johann-S
9bc7de9395
Fix bug multiple accordions collapse
2016-10-19 09:35:48 +02:00
Starsam80
9e5a02c606
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
...
Fully fixes #20395
2016-10-15 14:12:19 -06:00
Beau Smith
3df78ce11b
Remove hard-coded value in button-outline-variant
...
Fixes #20609
PR #20641 , another solution to this issue, hard-codes use of $body-color, which may not be the desired color for the text when hovering.
2016-09-16 13:02:52 -07:00
Kovah
b5f3c6a8d4
#14840 - Use color variables consistently
...
Replaces some raw colors with the appropriate color variables
Example: #eee will be replaced by $gray-lighter (#eceeef)
2016-09-08 13:57:57 +02:00
J2TeaM
4f520c7ff3
Merge #20563 and #20567
2016-09-07 10:09:54 +07:00
J2TeaM
4f5a7c96e7
Fix eslint (prefer-template)
2016-09-07 03:17:19 +07:00
J2TeaM
edc43a4ea6
Remove classes at one time
2016-09-07 02:55:48 +07:00
Mark Otto
11d52ba949
ads in content, sidebar changes, etc
2016-09-05 22:41:10 -07:00
Mark Otto
0af35cc6e7
nav changes
2016-09-05 22:40:44 -07:00
Mark Otto
2494a29df8
try out docs inline
2016-09-05 22:40:17 -07:00
Mark Otto
6eabb799bf
migration copy
2016-09-05 22:40:03 -07:00
Mark Otto
c5a9091470
Merge branch 'v4-dev' into v4-docs-streamlined
2016-09-05 16:21:58 -07:00
Mark Otto
22afc82a91
hide page header for now, border top nav, sticky sidebar
2016-09-05 16:12:29 -07:00
Mark Otto
f235da05fd
flip the columns, tweak some of the styles
2016-09-04 22:04:58 -07:00
Max Beatty
dc1b4e78d4
add support for ol in tab plugin. fixes #17754
2016-08-04 16:57:08 -07:00
Max Beatty
bfa714ae1e
prevent navigating to area href when modal target. fixes #18796
2016-08-04 13:47:30 -07:00
Juan J. Jimenez-Anca
f677806463
Update _mixins.scss
2016-08-02 17:01:26 +01:00
Juan J. Jimenez-Anca
676e00d63e
Update _visibility.scss
2016-08-02 17:00:58 +01:00
Juan J. Jimenez-Anca
a279238034
Added visibility mixins file
2016-08-02 16:59:37 +01:00
morishitter
df6d3b445e
Add flex-wrap and overflow-wrap properties to the list of property order in .scss-lint.yml
2016-07-04 18:56:16 +09:00
heath3
d19e762d57
Re-use 'between' mixin for 'only' mixin
...
Keeps the code DRY in the same way 'between' uses 'up' and 'down'.
2016-06-09 16:07:27 +01:00
Pierre-Denis Vanduynslager
ab2fc63d08
Dropdown: remove dependency to role="menu", role="listbox" a and li elements => fix keyboard navigation
2016-05-22 02:16:27 -04:00
Catalin Zalog
990e2c5d2b
Update _custom-forms.scss
2016-05-16 17:00:45 +03:00
Ryan Burnett
0747484188
Alphabetized carousel options & added "ride" to it
2016-05-12 09:40:23 -04:00
Christopher Baker
84f801833d
add $inverse-bg and $inverse-color
2016-04-27 19:37:44 -07:00
Christopher Baker
859c12a044
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-04-27 19:30:39 -07:00
Christopher Baker
bae54aa8fc
remove references to -* outside _variables.scss
2016-04-17 18:56:09 -07:00
Michael J. Ryan
681d390a05
Update tooltip.js
...
match project's style check
2016-03-14 13:29:03 -07:00
Michael J. Ryan
1a23279237
Update tooltip.js
...
Don't reference `Tether` via attachment to `window`, with the update one can import bootstrap providing the dependencies in webpack with:
```
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Tether: 'tether',
});
```
Then inside one's own bootstrap/globals, `import 'bootstrap';` will simply work, and $/jQuery can be used from there.
I had wanted to do this, but also expose jQuery, Tether, etc when in development build in my code, but if I provide `window.Tether`, I can't then expose it to the outside...
2016-03-14 13:18:08 -07:00
alberto
79628b30fc
@warn if minimum width of smallest breakpoint != 0
...
Fixes #19217
2016-02-24 22:16:01 +01:00
Johann-S
14ec4fdfc1
Carousel - Do not prevent on keydown for input and textarea
2016-02-01 00:06:07 +01:00
Kevin Ross
4b3c9e4aaf
change back pull-right to pull-xs-right
2016-01-20 17:00:12 -06:00
Kevin Ross
70c2686797
Resolves #18978 - flexbox list-group implementation. Requires the pull-right and pull-left flex change from PR #18976
2016-01-20 16:39:43 -06:00
Kotas Vlastimil
866e99b00c
Button toggling - trigger change event on input
...
Bootstrap’s .button styles can be applied to other elements, such as labels, to provide checkbox or radio style button toggling.
When the checkbox or radio state is changed, there should be triggered the change event. Currently, the change event is triggered on the Button, which is not correct. Only input fields do support the change event.
2016-01-14 20:26:32 +01:00
ju1ius
bd62b185f6
Don't clearfix if flexbox is enabled. Fixes #18849
2016-01-11 22:36:30 +01:00
Johann-S
8ece899ba8
Add tests about padding restoration
2015-09-10 08:19:59 +02:00