Rohit Sharma
6061227f77
Update docs for navs
...
Co-authored-by: Mark Otto <otto@github.com>
2020-06-09 07:48:58 +03:00
Rohit Sharma
e140ff92ed
Remove .nav-item from .nav-link to make it consistent
...
- Closes #28423
2020-06-09 07:48:58 +03:00
Rohit Sharma
5faf41eb48
Add role="dialog" in modals via JavaScript ( #30936 )
2020-06-04 10:35:09 +03:00
XhmikosR
358d637d1c
Read validate-forms.js from assets.
2020-06-03 15:57:20 +03:00
XhmikosR
6824d67beb
Fix forms validation snippets.
2020-06-03 15:57:20 +03:00
XhmikosR
08742abda3
shortcodes/example.html: allow specifying the highlighting language
2020-06-03 15:57:20 +03:00
Mark Otto
c682e751bf
Restore word-break: break-word on .text-break to fix text breaking on flex containers ( #30932 )
2020-05-31 06:49:23 +03:00
Edson Jr
1f1b147f19
Add space-evenly
option for justify-content
( #30910 )
2020-05-30 15:19:10 +02:00
Gaël Poupard
407b4c3606
docs(layout): improve layout when content is short ( #30908 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-28 20:33:41 +03:00
Gaël Poupard
ad518e2097
Apply utilities in docs styles ( #30866 )
...
* docs(theming): apply utilities where possible
* Update docs-sidebar.html
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:02:19 +03:00
XhmikosR
167739baf1
Update grid.md
...
Fix docsref links
2020-05-26 18:48:03 +03:00
XhmikosR
b1c720d047
examples: remove no longer used classes. ( #30894 )
2020-05-26 11:01:17 +03:00
Mark Otto
c9cd3e4a08
v5: Make navbar active links consistent ( #30831 )
...
* Update navbar docs to put .active class on .nav-link
Fixes #30652 in v5.
* Remove two selectors from navbar nav that are either unused, or duplicative
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-20 15:56:42 +03:00
XhmikosR
3b06411402
homepage: fix headings hierarchy ( #30871 )
2020-05-20 13:04:36 +03:00
Gaël Poupard
e1f320851a
docs(customize/sass): dark color-contrast is #212529 as of now
2020-05-20 09:49:18 +02:00
Gaël Poupard
b45a2ab178
docs(customize/colors): dump grays swatches (unused) and merge -500 in swatches
2020-05-20 09:49:18 +02:00
Gaël Poupard
e03ef123e2
docs(contrasts): move content after rebasing master
2020-05-20 09:49:18 +02:00
Gaël Poupard
a0dd474bc6
docs(theming): display contrast ratios in color swatches
2020-05-20 09:49:18 +02:00
Gaël Poupard
a7e1b914ef
docs(colors): better color utilities pairing to ensure sufficient contrast
2020-05-20 09:49:18 +02:00
XhmikosR
e271d01606
Streamline application.js exampleModal code ( #30819 )
...
* use `textContent` since we only need to add text
* move comments
2020-05-19 08:33:12 +03:00
XhmikosR
62626db320
More Markdownlint fixes
2020-05-18 16:28:22 +03:00
Mark Otto
d2f07ec9e1
Fix some easy Markdown linting issues
...
- Always use dashes for bullets
- Add some basic alt text for our readme OC sponsors
2020-05-18 16:28:22 +03:00
XhmikosR
01d1d6bb0c
migration.md: a few grammar fixes
2020-05-15 15:03:12 +03:00
Martijn Cuppens
b531bda07c
Improve gradients
...
- Use a semitransparent gradient from light to dark which works on any background-color
- Store the gradient as a custom property (--bs-gradient)
- Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled
- Add gradients to navbar, active page links and badges when gradients are enabled
2020-05-15 15:03:12 +03:00
Mark Otto
12a6576f48
Simplify list-group borders in cards ( #30808 )
2020-05-14 19:48:46 +02:00
Mark Otto
46d876314b
Split table cell padding variables ( #30815 )
2020-05-14 19:43:33 +02:00
XhmikosR
5d11d5790a
Fix broken anchors. ( #30828 )
2020-05-14 19:43:56 +03:00
XhmikosR
38ec7c4df7
Bump version to 5.0.0-alpha1 ( #29925 )
...
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
Christian Oliff
53eb7d3883
Fix .browserslistrc file name in docs ( #30800 )
2020-05-13 21:28:57 +03:00
Rohit Sharma
ec3cfae29c
Removed role="document" from the modal dialog ( #30755 )
2020-05-11 12:45:42 +03:00
Regis Philibert
f979307833
Add a param shortcode to work around the escaped characters in hashes
2020-05-07 20:53:21 +03:00
XhmikosR
2bd3bd842d
Use safeHTMLAttr
in the integrity
attributes.
2020-05-07 20:53:21 +03:00
XhmikosR
23aaee8c6f
Fix typo ( #30745 ) ( #30746 )
...
Use possessive form of it
(cherry picked from commit d63b651f37
)
Co-authored-by: Quy <quy@fluxbb.org>
2020-05-06 09:12:26 +03:00
Johann-S
f91788548c
enforce element check on scrollspy target ( #30747 )
2020-05-06 07:30:43 +03:00
Gaël Poupard
fb0ad7a93c
Fix form file height ( #30699 )
2020-05-05 19:43:16 +02:00
XhmikosR
37f2c04c5f
Clean up lint rules ( #30721 )
...
* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
2020-05-04 19:32:09 +03:00
Mark Otto
1f531a6583
Update CSS variables docs to clarify usage and intent
2020-05-02 15:13:58 -07:00
Mark Otto
ee2765076d
Finish up creating your own components docs
2020-05-01 11:35:40 -07:00
Mark Otto
e0b1eff2d3
Update function names in migration, clarify tints and shades are Sass variables
2020-05-01 11:35:40 -07:00
Mark Otto
ca5c67364a
Remove mentions of Bootstrap 4 in a few places, replacing with updated guidance where appropriate
2020-05-01 11:35:40 -07:00
XhmikosR
81404d2e3c
search.js: make the check for URL stricter ( #30695 )
2020-04-30 21:07:26 +03:00
Mark Otto
3e73039936
v5: Unify spacing across components ( #30564 )
...
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-30 15:17:08 +02:00
Martijn Cuppens
ed2caa5117
Remove borders from iframes by default ( #30620 )
2020-04-29 20:32:35 +02:00
XhmikosR
df88748eb7
Add a script to zip the built examples ( #30130 )
2020-04-29 21:03:26 +03:00
XhmikosR
9922ef5c16
masthead-followup: Add missing traling slash ( #30681 )
2020-04-29 17:23:34 +03:00
dependabot-preview[bot]
3300c6267a
Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1 ( #30663 )
...
* Bump eslint-plugin-unicorn from 18.0.1 to 19.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 18.0.1 to 19.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v18.0.1...v19.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* ESlint: disable a few new rules for now.
* unicorn/no-fn-reference-in-iterator
* unicorn/no-null
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 16:28:46 +03:00
Mark Otto
28cb1ff2b2
Fill in some unusedcss section links
2020-04-26 17:26:04 -07:00
Mark Otto
ac58c25dc8
Update CSS variables docs
...
- Rename available vars section to root vars and mention they're globally available
- Add new component vars section and link to table docs for WIP example
2020-04-26 17:26:04 -07:00
Mark Otto
7ba43e3361
Include code snippet for lean JS section
2020-04-26 17:26:04 -07:00
Mark Otto
78261846dd
Add example of a custom component using docs callouts
2020-04-26 17:26:04 -07:00