Martijn Cuppens
361ab8063d
Clarify order documentation ( #29252 )
2019-08-16 11:23:51 +03:00
XhmikosR
4b243de2c0
Fix redirects. ( #29254 )
2019-08-14 22:40:46 +03:00
XhmikosR
34afe84424
Use absURL
so that we get consistent URLs. ( #29226 )
2019-08-08 18:30:43 +03:00
XhmikosR
3d8c5b9640
docs: minor simplification. ( #29227 )
2019-08-08 17:54:59 +03:00
XhmikosR
ecaefed920
Remove unneeded Stylelint suppressions. ( #29222 )
2019-08-07 17:26:04 +03:00
XhmikosR
6fc9108a86
browser-devices.md: Fix Android version ( #29224 )
2019-08-07 17:13:14 +03:00
Mark Otto
d94148bf50
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-05 12:12:16 -07:00
XhmikosR
9c75a63bfc
Update form-control.md ( #29203 )
...
Fix Readonly plain text form alignment
2019-08-04 20:20:00 +03:00
XhmikosR
d2b79d97e7
Update javascript.md
2019-08-04 13:22:47 +02:00
Johann-S
83058fb34c
explain how to use bootstrap 5 with jQuery
2019-08-04 13:22:47 +02:00
Johann-S
8468f4a37e
remove jquery references from list group
2019-08-04 13:22:47 +02:00
joseigor
2be5f03bfc
v5: Docs Utilities API updates ( #29126 )
...
Improvement to better understand how utilities class name are generated by the (_api.scss) base in the line of code below:
`$property-class: if($property-class, $property-class, nth($properties, 1));`
fc02932946/scss/mixins/_utilities.scss (L21)
2019-08-04 08:42:23 +03:00
XhmikosR
b316235e63
docs: Fix badges after #28458 . ( #29199 )
2019-08-04 08:23:25 +03:00
Mark Otto
7bce809a63
Mention pagination margin change in migration docs ( #29196 )
...
From #28948 .
2019-08-03 17:27:33 +03:00
Martijn Cuppens
81af1bf9cc
Change SVG dimensions to px values ( #29195 )
2019-08-03 16:58:25 +03:00
XhmikosR
a0f3fd2342
Update javascript.md
2019-08-02 16:50:05 +02:00
Johann-S
8b2b490f9b
add a way to disable jQuery detection
2019-08-02 16:50:05 +02:00
XhmikosR
1ebb8e7d9b
robots.txt: adapt for Netlify. ( #29192 )
...
Since we build with `HUGO_ENV` set to `production` on Netlify, use another variable to prevent crawling.
2019-08-02 17:26:25 +03:00
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
8570d86d79
Rename site/data/nav.yml to sidebar.yml.
2019-07-29 10:59:56 +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
XhmikosR
756d4ec91e
config.yml: add OpenCollective. ( #29143 )
...
This was missing since the Hugo switch (d95d300
).
2019-07-26 19:05:51 +03:00
XhmikosR
d39aa6f676
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-26 10:17:51 +03: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
Mark Otto
172d580db3
Fix busted hover/focus on sidebar
2019-07-25 10:25:39 +03:00
Mark Otto
3adcf3a954
Restore 7rem
so that the sidebar is balanced on top and bottom
2019-07-25 10:25:39 +03:00
Martijn Cuppens
2f4f15c018
Sidebar theming tweaks
2019-07-25 10:25:39 +03:00
Mark Otto
0d1e259ecf
Increase navbar link brightness for slightly better color contrast
2019-07-25 10:25:39 +03:00
Mark Otto
94693f899c
Split up docs _nav.scss
...
- _navbar.scss for all main navbar code
- new _subnav.scss to move all subnav styles into
2019-07-25 10:25:39 +03:00
Mark Otto
2494140689
Restore height and overflow on docs sidebar
2019-07-25 10:25:39 +03:00
Ben Boyter
f4dbffe93a
Remove https://glyph.smarticons.co/ from list of suggestions as the ( #29121 )
...
domain is now for sale and is triggers warnings in Firefox and Chrome
2019-07-24 11:12:44 +03:00
Martijn Cuppens
b2ae6a6a94
Apply at-mixin-argumentless-call-parentheses: always
stylelint rule
2019-07-24 10:31:49 +03:00
Mark Otto
114a0ee193
Rebuild the dist to pickup new utilities file ( #29105 )
...
Dist after adding new utils file
2019-07-24 09:13:50 +03:00
XhmikosR
d7a62b505c
Don't add the crossorigin attribute unless we pass integrity. ( #29112 )
2019-07-23 17:47:33 +03:00
Johann-S
a76c13589d
fix docs bad use of private methods to change title of our tooltips ( #29111 )
2019-07-23 16:18:41 +03:00
XhmikosR
b65a5cb2c9
Move Icons in data. ( #29087 )
2019-07-23 09:41:14 +03:00
XhmikosR
025f69cb20
Fix subnavbar active style.
2019-07-22 17:13:44 +03:00
XhmikosR
3521947611
Disable the !default
rule for our docs variables.
2019-07-22 17:13:44 +03:00
XhmikosR
8780d9360a
Use the background shorthand.
2019-07-22 17:13:44 +03:00
XhmikosR
3f27053c44
docs: use the escape_svg
function.
2019-07-22 17:13:44 +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
4ba4cc2e79
Simplify code.
2019-07-22 16:08:58 +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
e7890d1562
Move search styles, prep for responsive containers in docs
2019-07-21 21:44:32 -07:00
Mark Otto
0fcb0af131
no need for checks or conditions
2019-07-21 21:44:32 -07:00
Mark Otto
39e4615763
remove subnav from home and examples
2019-07-21 21:44:32 -07:00
Mark Otto
5a0be01e3e
Make subnav and sidebar work on mobile too
2019-07-21 21:44:32 -07:00
Mark Otto
956cbbc6b7
make docs navbar more usable on mobile
2019-07-21 21:44:32 -07:00
Mark Otto
5027a8086a
Move subnav to partial, take first pass at conditionalizing breadcrumb links
2019-07-21 21:44:32 -07:00
Mark Otto
b08d2b6adc
Add :focus to all new :hover selectors
2019-07-21 21:44:32 -07: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
2c5e41a95b
Optimize a few SVGs.
2019-07-19 09:19:56 +03:00
XhmikosR
c0a1cfa075
SVGs: lowercase hex values.
2019-07-19 09:19:56 +03:00
XhmikosR
fc38f25287
Remove trailing spaces.
2019-07-19 09:19:56 +03:00
XhmikosR
73c2bfc7a0
docs-navbar.html: reindent and use our classes.
2019-07-19 09:19:56 +03:00
XhmikosR
38557b2fa1
Remove unneeded div.
...
This is a link.
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
Martijn Cuppens
4634fd7c1a
Fix ads alignment
2019-07-17 16:21:47 +03:00
XhmikosR
e09f306b6b
Use has-children
.
2019-07-17 16:21:47 +03:00
XhmikosR
67bea95df5
It's viewBox
.
2019-07-17 16:21:47 +03:00
XhmikosR
cc2d55b8f2
Fix inline SVG.
2019-07-17 16:21:47 +03:00
Mark Otto
ebcc3ff9af
Move sidebar icon to CSS
2019-07-17 16:21:47 +03:00
XhmikosR
8bc6692082
Move the icon to a partial and optimize it.
2019-07-17 16:21:47 +03:00
XhmikosR
3898df1f5a
Add width/height in the SVG arrow.
...
Fixes IE.
2019-07-17 16:21:47 +03:00
XhmikosR
5e6f5d8f38
Remove display none code.
2019-07-17 16:21:47 +03:00
XhmikosR
506282fb9e
Use the responsive themes image.
2019-07-17 16:21:47 +03:00
XhmikosR
e864f65789
Fix docs search. ( #29067 )
2019-07-17 16:05:56 +03:00
XhmikosR
b81a3e8b3c
Add redirect for /forms/
.
2019-07-17 15:27:01 +03:00
XhmikosR
9745790514
Use the direct link to migrations page.
2019-07-17 15:27:01 +03:00
XhmikosR
e4dc6b84b1
Move inline JS to application.js.
2019-07-17 14:52:11 +03:00
XhmikosR
9be99c9b34
Ignore sw.js.
2019-07-17 14:52:11 +03:00
XhmikosR
fe09d106dc
site/.eslintrc.json: specify ecmaVersion.
2019-07-17 14:52:11 +03:00
XhmikosR
ef98fbdb84
Fix application.js after aaf03bd
2019-07-17 14:52:11 +03:00
XhmikosR
d39977271c
Fix bootstrap-themes.png. ( #29061 )
...
For some reason the old image was bad quality.
2019-07-17 14:36:14 +03:00
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
XhmikosR
fdbc63fb3f
Fix typo. ( #29008 )
2019-07-10 10:45:27 +03:00
Mark Otto
9badcf6c41
Fixes #28994
2019-07-09 14:30:07 -05:00
Patrick H. Lauke
53a3d449fd
Add prefers-reduced-motion
callout to toast documentation ( #28993 )
...
x-ref #28987
2019-07-08 21:05:53 +03:00
Bardi Harborow
08bddb8743
Add ARIA search landmark to documentation. ( #28983 )
2019-07-02 21:17:42 +03:00
XhmikosR
2fb6ccf951
Minor wording changes.
2019-06-24 09:15:52 +03:00
Jonathan Hawkins
39fc46fb71
Combine duplicate documentation examples into one to fix the confusing text.
...
fixes issue #28892
2019-06-24 09:15:52 +03:00
Robin D'Arcy
cbabd8ff0d
Docs – update extend/approach.md ( #28941 )
2019-06-22 16:21:20 +03:00
Martijn Cuppens
1efcf7a5dc
Typo fix ( #28920 )
2019-06-18 10:43:15 +03:00
Martijn Cuppens
83fc5a3239
Decrease number of order utilities ( #28874 )
2019-06-18 07:02:14 +02:00
Martijn Cuppens
2ac2a5a91e
Removal of one of the most iconic components of Bootstrap: the jumbotron ( #28876 )
2019-06-07 14:44:25 +03:00
XhmikosR
cafbbdc3b6
Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
...
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
1835004b96
Update site/content/docs/4.3/examples/sticky-footer-navbar/index.html
...
Co-Authored-By: Shohei Yoshida <fellows3@gmail.com>
2019-06-06 19:15:18 +03:00
XhmikosR
8c61254919
Examples: make use of core utils in more places.
2019-06-06 19:15:18 +03:00
Shohei Yoshida
543ff4e3e5
Clean component examples CSS ( #28872 )
...
* Remove unused classes/styles and use utilities instead of specific styles
* Use `getElementById` instead of `querySelector`
2019-06-06 09:04:48 +03:00
Shohei Yoshida
8437be2f33
Rename the text helper page ( #28869 )
2019-06-04 20:46:52 +02:00
Shohei Yoshida
3283fe1b52
Rename .text-monospace to .font-monospace ( #28867 )
2019-06-05 00:51:36 +09:00
Patrick H. Lauke
87030c98ac
Docs: add accessibility/keyboard callout to popovers, tweak tooltips callout ( #28851 )
...
- Add same advice about keyboard/AT handling to popovers as a callout; also add information about not adding excessive content or interactive controls (and the suggestion to opt for a modal)
- Tweak the tooltips callout for consistency
2019-06-04 10:36:57 +03:00
XhmikosR
8f97e2dc52
Update devDependencies. ( #28798 )
...
Notably:
* bundlesize 0.15.3 → ^0.17.2
* eslint-plugin-unicorn ^8.0.2 → ^9.0.0
* terser ^3.17.0 → ^4.0.0
2019-06-03 14:26:52 +03:00
Jay Pinho
91d07fb26c
Make example description more accurate ( #28842 )
2019-05-29 18:17:40 +03:00
Martijn Cuppens
769c8d8246
Helpers & utilities split ( #28445 )
2019-05-23 11:56:03 +02:00
Martijn Cuppens
a4a04cd9ec
.sr-only
& .sr-only-focusable
tweaks (#28720 )
...
* Prevent .sr-only-focusable overriding properties when being focused
* Typo
2019-05-20 10:03:51 +02:00
Christian Oliff
2d6e086342
Update Yarn package link to link to the Bootstrap package ( #28781 )
...
I think it makes more sense to link to the Bootstrap package on Yarn here (like the package link for NPM above)
2019-05-16 21:47:26 +03:00
Johann-S
02f80c1616
remove util references from our docs
2019-05-16 14:44:11 +02:00
Johann-S
803088c526
remove jquery references from tooltip docs
2019-05-16 14:44:11 +02:00
Johann-S
976e825d26
remove jquery references in browsers-devices docs
2019-05-16 14:44:11 +02:00
Johann-S
759fe25567
remove jquery references in toast docs
2019-05-16 14:44:11 +02:00
Johann-S
4ea7e11233
add notes about arrow selector changes
2019-05-14 15:28:43 +02:00
Johann-S
7694a5a70a
remove jquery references from popover docs
2019-05-14 14:32:45 +02:00
Johann-S
df3277f14d
remove jquery references from javascript.md docs
2019-05-14 14:32:45 +02:00
Johann-S
104308b276
rewrite modal docs without jquery
2019-05-14 14:32:45 +02:00
Johann-S
19e86a34af
remove jquery references in dropdown docs
2019-05-14 14:32:45 +02:00
Johann-S
fd8a651521
remove some jquery references in collapse docs
2019-05-14 14:32:45 +02:00
Johann-S
99b2a80db8
remove some jquery references in carousel docs
2019-05-14 14:32:45 +02:00
Martijn Cuppens
5db281d7c4
Move close icon to components in docs ( #28512 )
...
* Move close icon to components
* Remove redundant float from close
2019-05-10 20:27:22 +02:00
Katherine Shaw
a5d7dff164
Docs unordered lists dropdowns ( #28591 )
...
Replace snippets and examples in dropdown docs to use semantic `ul` and `li` elements.
2019-05-09 11:19:32 +03:00
XhmikosR
bc012957b5
Remove Base64 for SVGs. ( #28749 )
...
It results in bigger files.
2019-05-09 09:34:13 +03:00
Mark Otto
473689ce5d
v5: Drop all print styles and classes ( #28339 )
2019-05-09 07:57:58 +02:00
Mark Otto
d806e874b4
v5: Drop .media ( #28265 )
2019-05-08 21:45:24 +03:00
Martijn Cuppens
f1e6e6e4a1
Remove hover mixin documentation
2019-05-08 20:58:07 +03:00
Mark Otto
1d4d9f8d89
Drop all hover mixins
...
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-08 20:58:07 +03:00
Martijn Cuppens
a827934f13
Documentation tweaks ( #28679 )
...
* Documentation tweaks
* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
Ashfahan Khan
292cb46cb9
add icofont to icon options ( #28738 )
...
30 Categories , 2100+ SVG and icons from icofont
2019-05-08 19:51:25 +03:00
Patrick H. Lauke
d102363c9f
Album example: remove misleading jumbotron-heading classname ( #28741 )
2019-05-08 15:53:08 +03:00
Johann-S
45a1954740
fix progress bar animation, remove forEach not needed currently
2019-05-05 17:45:39 +02:00
Martijn Cuppens
a776cc473d
Switch from list to map for responsive embeds ( #28678 )
2019-05-05 10:41:27 +03:00
Mark Otto
57a09376b1
[WIP] v5: Prep migration docs page ( #28472 )
...
* Migration docs page for v5
* Add JS section, tweak some copy
* Update migration.md
2019-05-03 10:52:58 -07:00
XhmikosR
336778f463
Examples: include favicons. ( #28504 )
2019-05-02 10:47:48 +03:00
Martijn Cuppens
f36890d1cd
Add truncated example of custom file browser
2019-04-30 10:45:05 +03:00
ysds
a454ea7cf7
Change custom file markup
2019-04-30 10:45:05 +03:00
Martijn Cuppens
99eff2f58f
Remove top margin
2019-04-30 10:31:37 +03:00
XhmikosR
312f54fa66
Show the other navbar items on small screens too.
2019-04-30 10:31:37 +03:00
XhmikosR
952c3d3677
docs SVGs: Allow passing a custom title. ( #28660 )
2019-04-29 17:11:40 +03:00
XhmikosR
091aa1e9fd
v5 dist ( #28657 )
2019-04-18 14:47:52 +03:00
XhmikosR
80dfee9dc1
Update hugo-bin to v0.43.1 (Hugo 0.55.1). ( #28631 )
2019-04-15 11:49:24 +03:00
Johann-S
bff1c3a53d
change how bootstrap can be imported in bundlers
2019-04-15 10:09:21 +02:00
XhmikosR
105687ac4a
Update eslint config for the new xo rules.
2019-04-10 15:18:57 +03:00
XhmikosR
c6c9e322f7
_sidebar.scss: change ID to a class and type selector. ( #28610 )
2019-04-04 11:56:06 +03:00
XhmikosR
6672aea5a9
Remove http
from docs search. ( #28557 )
...
We use only `https` for a few months now.
2019-03-26 12:49:45 +02:00
XhmikosR
b0f918982f
Revert back to the old snippet and just add anonymize IP.
...
We don't need the extra bloat of gtag.
2019-03-18 12:26:50 +02:00
Mark Otto
2017eb9aed
Update GA to latest script & anonymize IPs
2019-03-18 12:26:50 +02:00
XhmikosR
c2fa74b652
Revert "Remove Internet Explorer leftovers."
...
This reverts commit 089e3334a7
.
2019-03-18 01:11:05 +02:00
XhmikosR
bcf76ef5f0
Revert "Add information about IE 11 compatibility."
...
This reverts commit 1da5b9f76a
.
2019-03-18 01:11:05 +02:00
Martijn Cuppens
a88d58605a
Remove hover states on background utilities ( #28457 )
2019-03-14 19:36:02 +02:00
Mark Otto
837ff0cc11
v5: Drop remaining deprecated mixins ( #28461 )
...
- Deletes mixin mentions from float docs
- Deletes mixin mention from visibility docs
- Deletes the image-replacement page for text-hide
2019-03-14 19:23:54 +02:00
Mark Otto
c16532c724
v5: Update badges ( #28458 )
...
- Drop hover and focus states
- Drop .badge-* variants and associated mixin for .bg-* utilities
- Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill
- Remove unused variables
- Add default color value to .badge base class
- Update docs to reflect changes
2019-03-14 19:15:26 +02:00
Mark Otto
43eb6b1703
Revert "Don't run Google Analytics locally. ( #28384 )" ( #28489 )
2019-03-13 19:07:54 -07:00
XhmikosR
6a3433da9a
browsers-devices.md: escape what we read.
2019-03-13 18:33:51 -07:00
Christian Oliff
02e0aa3b60
Don't run Google Analytics locally. ( #28384 )
2019-03-13 19:22:59 +02:00
Martijn Cuppens
28ad7a901e
Push footer to the bottom of the page
2019-03-13 19:22:59 +02:00
XhmikosR
913f290e3d
Fix 404 layout.
2019-03-13 19:22:59 +02:00
XhmikosR
46e88fb8f3
404: output to 404.html and add meta robots.
2019-03-13 19:22:59 +02:00
Christian Oliff
35c6b2b12b
Create 404.md
2019-03-13 19:22:59 +02:00
XhmikosR
6a82a2ebe8
Fix the chroma fix and use Sass more.
2019-03-13 19:22:59 +02:00
Bardi Harborow
6e16720b12
Workaround problematic Chroma bash highlighting.
2019-03-13 19:22:59 +02:00
XhmikosR
e58b587a72
Add support for meta robots.
2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen
b1860eca05
Simplify browser bugs inline shortcode
2019-03-13 19:22:59 +02:00
Bjørn Erik Pedersen
69e18b9634
Fix bugify.
2019-03-13 19:22:59 +02:00
XhmikosR
04a58887cd
Update syntax highlighting styles to match the Chroma ones.
2019-03-13 19:22:59 +02:00
XhmikosR
5d6e896ebb
Add a docsref shortcode.
...
This allows for the build to fail if a reference isn't found.
2019-03-13 19:22:59 +02:00
XhmikosR
23ddfa99a3
Move this to a partial to work around the stray p
issue.
2019-03-13 19:22:59 +02:00
XhmikosR
d948a3f9cb
Work around the docs/ redirects.
...
This happens because we have the section kind enabled (needed for examples).
2019-03-13 19:22:59 +02:00
XhmikosR
850817bb09
Remove newlines in raw HTML.
...
This causes `p` tags which is invalid HTML.
2019-03-13 19:22:59 +02:00
XhmikosR
1afa67fca8
Remove HTML comment; it breaks rendering.
2019-03-13 19:22:59 +02:00
XhmikosR
e2fd847032
browsers-devices.md: Read .browserslistrc instead of duplicating the content.
2019-03-13 19:22:59 +02:00
XhmikosR
d95d30029f
Switch to Hugo.
...
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00
Jim Jiang
ff1788666f
Remove redundant placeholders in forms docs ( #28406 )
...
* Change state field to select
* Include "Choose..." placeholder for select
* Change validated select to .custom-select
2019-03-12 15:22:39 +02:00
Johann-S
ba9caacaa5
add docs about how to use the esm version
2019-03-11 17:59:08 +02:00
XhmikosR
5bcd6a29cd
Disable a few rules for now.
2019-03-11 17:01:28 +02:00
XhmikosR
46c037410b
Comply to the new rules.
2019-03-11 17:01:28 +02:00
XhmikosR
44e6abcba5
Switch to eslint-config-xo and eslint-plugin-unicorn.
2019-03-11 17:01:28 +02:00
Jonathan
c8361e2adf
Hyphenate server-side ( #28401 )
2019-03-04 15:52:13 +02:00
XhmikosR
19aee321a0
Dist ( #28392 )
2019-03-01 18:31:34 +02:00
XhmikosR
d5f9107abb
Remove the now unneeded shrink-to-fit
directive. ( #28314 )
2019-02-27 17:47:41 +02:00
Bardi Harborow
428280574b
Use .text-danger for IE not supported cell. ( #28371 )
2019-02-27 15:23:17 +02:00
Laussel Loïc
427799d075
put secondary navigation in an explicit landmark nav
and add a label on each nav ( #28361 )
2019-02-27 13:37:52 +02:00
Laussel Loïc
fdfe1679ba
add an explicit aria-label on link with svg on sample pages ( #28360 )
2019-02-27 13:29:29 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
XhmikosR
5ad2121819
Remove DOMContentLoaded. ( #28337 )
...
There's no reason for us to wait here.
2019-02-24 15:42:18 +02:00
XhmikosR
7d964650ee
forms.md: remove jQuery from snippet.
2019-02-20 22:05:45 +02:00
Johann-S
5877306104
download.md: reword import bootstrap section.
2019-02-20 22:05:45 +02:00
XhmikosR
2b8eebb4b8
Remove focusable="false"
from SVGs.
2019-02-20 22:05:45 +02:00
XhmikosR
089e3334a7
Remove Internet Explorer leftovers.
2019-02-20 22:05:45 +02:00
XhmikosR
7f7f858cb9
Remove jQuery from docs/repo.
...
Some of the snippets need to be updated later.
2019-02-20 22:05:45 +02:00
Johann-S
1da5b9f76a
Add information about IE 11 compatibility.
2019-02-20 22:05:45 +02:00
Peter Blazejewicz
cbd333185e
Use consistent arrow class ( #28105 )
2019-02-20 22:05:45 +02:00
XhmikosR
709dcb98dd
Convert offcanvas.js to vanilla JS.
2019-02-20 22:05:45 +02:00
XhmikosR
e04a5139ab
Fix anchors wrapper.
2019-02-20 22:05:45 +02:00
Johann-S
388d16360a
use Util.makeArray in our docs
2019-02-20 22:05:45 +02:00
aTable
e866b1ae43
v4 without jquery: updated button, carousel, collapse docs ( #27173 )
2019-02-20 22:05:45 +02:00
Johann-S
a2f1d79045
Refactor util plugin and some tests
2019-02-20 22:05:45 +02:00
Johann-S
19b836c907
update alert documentation without jquery ( #27062 )
2019-02-20 22:05:45 +02:00
Johann-S
cf821e1d4d
fix(docs): remove jQuery from our docs
2019-02-20 22:05:45 +02:00
XhmikosR
ececf644f4
Replace uglify-js with terser. ( #27813 )
2019-02-19 15:51:50 +02:00
Laussel Loïc
3a61df51d7
add tabindex="-1" and aria-disabled="true" on disabled links ( #28305 )
2019-02-19 15:42:08 +02:00
Steve Moser
3731f0d271
Remove --save
option from npm i
as it isn't required anymore ( #28302 )
...
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.
2019-02-19 12:05:54 +02:00
Patrick H. Lauke
4b00aa6c4e
Remove incorrect aria-haspopup from dropdown toggles ( #28299 )
...
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup )
in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.
in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.
but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +02:00
XhmikosR
ff29c1224c
Update docs and meta for 3.4.1. ( #28255 )
2019-02-13 19:12:01 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. ( #28252 )
2019-02-13 18:01:40 +02:00
Johann-S
7bc4d2e0bc
Add sanitize template option for tooltip/popover plugins.
2019-02-13 08:32:15 +02: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 div
s.
...
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
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
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
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