Mark Otto
74279460c2
v5: Adjust docs sidebar and navbar ( #31119 )
...
* Hide the docs nav on mobile, redesign it for two columns on narrow devices
* Tweak spacing on ToC
* Redesign sidebar and subnav
* Revamp subnav mobile layout so everything's on one line
* Tighten up masthead a little
* Switch the icon for the subnav and do a little icon toggling
* Fix mobile overflow since we changed guters stuff
* Add the widths
* make the subnav icon purple
2020-09-25 09:35:24 -07:00
Martijn Cuppens
ca22578848
Restore rem
unit ( #31746 )
...
Fix unintentional unit change in 1af79bbc52 (diff-d8ee409a461718bfb6240710c8c73382)
2020-09-25 12:12:00 +03:00
Mark Otto
caef121404
Fix bundlewatch test I missed
2020-09-24 13:39:36 -07:00
Mark Otto
f951be36a1
Carousel enhancements, including .carousel-dark ( #31650 )
...
* Replace existing carousel control icons with chevrons from Bootstrap Icons
* Add .carousel-dark variant
* Test
* Add variable for .carousel-dark filter
* Update _variables.scss
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 13:16:20 -07:00
XhmikosR
979c66b674
docs: link to the Asynchronous functions section ( #31738 )
2020-09-24 22:20:01 +03:00
XhmikosR
adc70c7130
README.md: show brotli size too ( #31259 )
2020-09-24 22:11:14 +03:00
Mark Otto
585b3ec532
Add .dropdown-menu-dark ( #30171 )
...
* Add .dropdown-menu-dark
* Match background color to navbar dark
* Update docs to include a navbar example
* Update dropdowns.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 18:55:15 +03:00
Hiws
43b4252a34
fix tooltip hide method when already hidden ( #31115 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 14:55:38 +03:00
Mark Otto
a690a67c7c
Forgot to divide by 2
2020-09-23 13:30:54 -07:00
Mark Otto
54ac2c7b05
Match container gutters with row gutters
...
- Replaces make-container mixin's padding-x param with gutter to match naming
- Changes value of container padding variable to match grid gutter width variable
- Uses local CSS variable for container padding
Fixes #31642
2020-09-23 13:30:54 -07:00
Mark Otto
9f60659d1d
Updates to .ratio selectors and docs
...
- Remove group selector for ratio items
- Drop the .ratio-item entirely
- Update docs to explain updated approach
- Update Migration guide to reflect the latest
2020-09-23 13:30:11 -07:00
Mark Otto
73e5640405
Add example of responsive behavior for aspect ratios
2020-09-23 13:30:11 -07:00
Mark Otto
3b8c17029f
Move styles to docs CSS
2020-09-23 13:30:11 -07:00
Mark Otto
fe38a85839
Rename the classes and docs page, update everything accordingly
2020-09-23 13:30:11 -07:00
Mark Otto
18f8601d29
Updates responsive embeds with new class names and CSS variables
...
- Renames .embed-responsive-XbyY classes to .embed-responsive-XxY
- Simplifies the Sass map to just be key and value, ratio and percentage
- Builds .embed-responsive-* modifiers with CSS variables
- Updates docs to show power of CSS variables
- Add notes to the Migration guide
2020-09-23 13:30:11 -07:00
Martijn Cuppens
5280771883
Input group addon sass customization options ( #31729 )
2020-09-23 15:48:37 +02:00
Mark Otto
c0fe38364a
Add more variables, add a comment for the 3
2020-09-22 16:49:02 -07:00
Mark Otto
e838accbc4
Double the brightness for improved focus contrast
2020-09-22 16:49:02 -07:00
Mark Otto
be6a150bbf
Update .btn-close-white to use grayscale() filter too for better focus styles
2020-09-22 16:49:02 -07:00
Mark Otto
fae9aef3db
Update toasts dismiss (moving more styles to CSS instead of utilities), fix some more close examples, and add a new .btn-close-white variant
2020-09-22 16:49:02 -07:00
Mark Otto
67f33a06c7
Update some close button examples
2020-09-22 16:49:02 -07:00
Mark Otto
4778deac02
Tweak sizing and alignment of .btn-close in modal headers
2020-09-22 16:49:02 -07:00
Mark Otto
57fc28a854
Add details to the Migration page
2020-09-22 16:49:02 -07:00
Mark Otto
95f81f8331
Add opacity variables, set opacity on disabled state
2020-09-22 16:49:02 -07:00
Mark Otto
1e69503a73
Increase margin in button examples to better highlight focus styles
2020-09-22 16:49:02 -07:00
Mark Otto
1af79bbc52
Increase width of focus styles so it's more pixel perfect out of the box
2020-09-22 16:49:02 -07:00
Mark Otto
99777662c6
Rename .close to .btn-close, replace times sign with background SVG, update focus state
2020-09-22 16:49:02 -07:00
Mark Otto
fe77208a01
Add new variable for -padding-x
2020-09-22 10:06:08 -07:00
dependabot[bot]
6b1cdd0990
Bump rollup from 2.26.11 to 2.28.1 ( #31725 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.26.11 to 2.28.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.26.11...v2.28.1 )
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>
2020-09-22 11:53:57 +03:00
dependabot[bot]
5706ce38eb
Bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0 ( #31724 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.0.0...commonjs-v15.1.0 )
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>
2020-09-22 11:50:14 +03:00
dependabot[bot]
bb794bf904
Bump eslint-plugin-unicorn from 21.0.0 to 22.0.0 ( #31723 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 21.0.0 to 22.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v21.0.0...v22.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 11:45:30 +03:00
Jaume Sala
7bbfd439c9
Extra position utilities ( #31280 )
...
* Extra position utilities
Given that there are utilities for the *position* property, it seems logic to have utilities for the *top*, *left*, *bottom* and *right* propertires.
* Update extra position utilities
* add default position values map
* tweak examples
* add real life examples
* fix double colon
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-20 19:42:41 -07:00
XhmikosR
4e9a29e47a
Update webpack.md
...
Format snippets
2020-09-18 15:08:08 +03:00
Matthew Orahood
26c1fbe839
Update webpack.md
...
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
2020-09-18 15:08:08 +03:00
XhmikosR
b5fb84a91d
docs: fix a few redirects ( #31689 )
...
* Fix GitHub's permanent redirects
* Fix a11yproject redirects
* Update postcss-loader repo URL to the current one
2020-09-17 20:01:04 +03:00
kyletsang
fec511da02
Docs: Fix vertical align link
2020-09-16 22:09:42 -07:00
Gaël Poupard
390ce245cc
docs(scrollspy): mention keyboard access and apply tabindex=0 ( #31578 )
2020-09-15 18:29:49 +03:00
dependabot[bot]
655ce50cfe
Bump hugo-bin from 0.62.3 to 0.63.1 ( #31660 )
...
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin ) from 0.62.3 to 0.63.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases )
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.62.3...v0.63.1 )
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>
2020-09-15 12:31:29 +03:00
dependabot[bot]
2924ba2e15
Bump stylelint-config-twbs-bootstrap from 2.0.3 to 2.1.0 ( #31663 )
...
Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases )
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v2.0.3...v2.1.0 )
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>
2020-09-15 12:26:43 +03:00
dependabot[bot]
1c07693b1f
Bump eslint from 7.8.1 to 7.9.0 ( #31661 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 12:20:56 +03:00
XhmikosR
4d6dd31379
Update Stylelint rules
...
Enable `scss/selector-no-union-class-name`
2020-09-15 11:57:36 +03:00
XhmikosR
400b8a6754
Add spaces after commas
2020-09-15 11:57:36 +03:00
XhmikosR
800952cef0
Remove unnecessary nesting selectors
2020-09-15 11:57:36 +03:00
Mark Otto
512242943c
Rremove separate JS includes from homepage for simplicity's sake, but include a link to doing it separately
2020-09-15 08:57:19 +03:00
Mark Otto
e3b7880abf
Rewrite quick start JS sections in getting started page so things are more clearly organized
2020-09-15 08:57:19 +03:00
XhmikosR
85d00e6d85
Update site/content/docs/5.0/getting-started/download.md
...
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-09-15 08:57:19 +03:00
XhmikosR
7571fe73b6
docs: mention our bundle file clearly.
...
Note that we are using the bundle file already in our docs since 787441d
.
2020-09-15 08:57:19 +03:00
Rohit Sharma
94c0f12329
Add getInstance method in the docs for tooltip ( #31636 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-15 08:28:08 +03:00
Mark Otto
65d130fbd8
Mention the quotes requirement in the docs too
2020-09-15 08:19:58 +03:00
Mark Otto
849fea5a1e
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.
2020-09-15 08:19:58 +03:00