Commit Graph

111 Commits

Author SHA1 Message Date
XhmikosR 96ed9f7bf0 Update javascript.md 2019-08-01 10:37:27 +02:00
XhmikosR 09c3a8f893 Update javascript.md 2019-08-01 10:37:27 +02:00
Johann-S b7a079d808 add callout about jquery events 2019-08-01 10:37:27 +02:00
Johann-S 291bbac519 remove jquery in scrollspy docs 2019-08-01 10:37:27 +02:00
Johann-S cd21ca074e remove jquery in tab docs 2019-08-01 10:37:27 +02:00
Herst 3100dd3dab Add missing role="document" (#29172) 2019-07-31 09:52:52 +03:00
Patrick H. Lauke 749622f43d Fix minor typo (#29168) 2019-07-30 09:42:55 +03:00
XhmikosR 6cdfcdf658 Update migration.md 2019-07-29 11:34:12 +02:00
Johann-S dcba526775 remove underscore for static methods 2019-07-29 11:34:12 +02:00
Patrick H. Lauke 144220f0c5 Minor: fix sentence (#29160)
"Popovers whose both title..."
2019-07-29 11:23:44 +03:00
XhmikosR 9131e3e401 docs: Move trailing URL slashes to the variables. 2019-07-29 10:59:56 +03:00
Brian Juul Andersen 420efb0bac Update scrollspy.md (#29156)
Fixed minor grammatical error:

"... the best method get scroll ..."

=>

"... the best method to get scroll ..."
2019-07-28 14:02:23 +03:00
Martijn Cuppens d95d08249c Remove `$enable-hover-media-query` 2019-07-26 22:37:10 +02:00
ysds c0a64e989a Remove outdated documentation
* Remove about generated button of file form
* Remove and merge layout examples of custom forms
* Clarify id/for
* Change some spacing classes for consistency
2019-07-25 10:58:06 -07:00
Martijn Cuppens ea34b6c5be Merge code page with reboot 2019-07-25 19:26:27 +02:00
Martijn Cuppens 855d763ae5 Reboot updates
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842)
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
2019-07-25 19:26:27 +02:00
Martijn Cuppens 39b88d4293 Mention dropped `.pre-scrollable` class in migration guide. 2019-07-25 18:42:45 +02:00
Martijn Cuppens 97e9214edd Drop `.pre-scrollable` class 2019-07-25 18:42:45 +02:00
Martijn Cuppens 1c05c1dbf1 Drop `color()`, `theme-color()` & `gray()` functions (#29083)
Drop `color()`, `theme-color()` & `gray()` functions  in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. 

Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-07-25 10:41:13 +03:00
XhmikosR b65a5cb2c9
Move Icons in data. (#29087) 2019-07-23 09:41:14 +03:00
Christian Oliff 6bebd2938a Simplify code for 'cover' example by using utility classes. (#28986) 2019-07-22 17:02:03 +03:00
Martijn Cuppens 2f08484be9 Add utilities documentation 2019-07-22 16:51:45 +03:00
julian-hecker c69326dd6b Add bootstrap-utilities.scss 2019-07-22 16:51:45 +03:00
XhmikosR 967f1ab37a Use sha384. 2019-07-22 16:08:58 +03:00
XhmikosR 262a24b627 Manually escape script. 2019-07-22 16:08:58 +03:00
XhmikosR 8b59b73a2b Remove useless script. 2019-07-22 16:08:58 +03:00
Mark Otto 88065dfe71 Use .html like every other example, change the layout, simplify some things for now 2019-07-22 16:08:58 +03:00
Martijn Cuppens b4c4223409 Remove card columns in favor of masonry grid 2019-07-22 16:08:58 +03:00
Martijn Cuppens 3b73dfc44b Allow to pass integrity & async attribute to extra js 2019-07-22 16:08:58 +03:00
Mark Otto af9d6c3dd3 Update remaining tables to Bootstrap tables in docs by adding .table class 2019-07-21 21:44:32 -07:00
Mark Otto 14e0ef57db Document changes to tables 2019-07-21 21:44:32 -07:00
Mark Otto 5912fdc916 Clarify form control visual updates in migration guide 2019-07-21 21:44:32 -07:00
Mark Otto fe71808494 Update Migration docs to mention new icons 2019-07-21 21:44:32 -07:00
Mark Otto 1cdba95c50 Revert padding-right on ol and ul in Reboot, update migration doc 2019-07-21 21:44:32 -07:00
Mark Otto 634344c003
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-07-21 17:38:36 -07:00
Kitten King 37703a6fc9 Fix Typos across Bootstrap repository (#29082) 2019-07-20 12:53:02 +03:00
Martijn Cuppens f6694b7440 Use escape-svg() function (#29077)
* Use escape-svg() function

* Update theming.md
2019-07-19 18:57:12 -07:00
XhmikosR 28dfa54083
Remove iconic and add feather icons. (#29079) 2019-07-19 18:25:03 +03:00
XhmikosR fc38f25287 Remove trailing spaces. 2019-07-19 09:19:56 +03:00
Martijn Cuppens 62b8e84970 Make it possible to change default alignment & allow to inherit alignment from table (#29039) 2019-07-18 08:49:39 +03:00
XhmikosR 67bea95df5 It's `viewBox`. 2019-07-17 16:21:47 +03:00
XhmikosR b81a3e8b3c Add redirect for `/forms/`. 2019-07-17 15:27:01 +03:00
XhmikosR e4dc6b84b1 Move inline JS to application.js. 2019-07-17 14:52:11 +03:00
Martijn Cuppens 88e87ca7c9 Make text align configurable (#28989)
This was causing issues for RTL, see https://github.com/twbs/bootstrap/issues/28238
2019-07-15 14:34:01 +03:00
Mark Otto cef69b9a65 v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the  support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field.

Fixes #28176.
2019-07-14 12:00:57 +03:00
Mark Otto cdb6504e48 Drop breakpoint CSS custom properties (#29020)
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation.

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

* Stub out forms rearrangement

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

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

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

* Remove old forms doc

* stub out new subpage link section

* update migration guide

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

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

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

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

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

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

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

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

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

* rename back

* fix size and alignment

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

This reverts commit ff40e00323.

* Add migration comment
2019-07-12 13:23:43 +03:00