Mark Otto
707973ebdd
v5: .form-check layout changes ( #29322 )
...
* Scope .form-check-input layout to the .form-check parent
* Remove margin-bottom from list-group-items in case they are label elements
* document .form-check in input groups and list groups, and cleanup the no-label examples in the main .form-check docs
2019-10-02 22:19:45 +03:00
Shohei Yoshida
d2a24e09ec
Grid card example tweaks ( #29409 )
...
Stack in cards in one column when < md
2019-09-24 13:48:45 +03:00
XhmikosR
129bb08fc4
Use Hugo for our docs Sass and JS. ( #29280 )
...
Now there's only one command needed to run the docs: `npm run docs-serve`.
Also, simplify the npm scripts.
2019-09-17 00:22:49 +03:00
XhmikosR
a9c05ab798
examples: darken gray a little bit.
2019-09-16 23:41:57 +03:00
XhmikosR
758ee5f0f8
card.md: use text-dark
for warning card.
2019-09-16 23:41:57 +03:00
XhmikosR
1edba8072d
badge.md: use text-dark
for warning.
2019-09-16 23:41:57 +03:00
jahanzaibsuleman07
d99ff902f8
Responsive sticky top ( #29158 )
2019-09-13 21:15:20 +03:00
XhmikosR
c5e80ff2af
about/brand.md: Remove unused class.
2019-09-06 18:06:13 +03:00
Martijn Cuppens
b6b96c174b
Docs tweaks
...
- Simplify display headings example markup
- Simplify footer styles
- Remove z-indices hacks in the docs
- Remove redundant modal styling in docs
- Use `escape-svg()` to escape docs sidebar chevron
- Simplify sidebar chevron code
- Cleanup masthead css & fix column width between `md` & `lg`
- Easier to download logo's with the `download` attribute.
- Changed some color codes into variables
- Cleanup brands css
2019-09-06 18:06:13 +03:00
XhmikosR
d6945d5e8f
Move shortcodes used only once where they are needed.
2019-09-06 11:57:50 +03:00
XhmikosR
2c9e22ef88
getting-started/theming.md: throw an error if the regex doesn't succeed.
2019-09-06 11:57:50 +03:00
XhmikosR
cf4ae75eff
Break a couple of long lines.
2019-09-06 11:57:50 +03:00
XhmikosR
db002902da
Tweak form validation snippet. ( #29359 )
...
* remove load event
* use `forEach` and `querySelectorAll`
* simplify check
2019-09-03 18:04:11 +03:00
XhmikosR
d0affaa2ec
Examples: use our utilities more. ( #29358 )
2019-09-02 19:19:25 +03:00
XhmikosR
88d7d8b822
Use the example shortcode in more places. ( #29346 )
2019-09-02 12:52:26 +03:00
XhmikosR
6f1eb110e7
Docs: simplify a few Hugo range
s. ( #29333 )
2019-09-02 12:31:02 +03:00
XhmikosR
edf7923c8f
Fix a few redirected links. ( #29352 )
2019-09-02 12:21:42 +03:00
ysds
b1f4909287
Add responsive example
2019-08-30 13:07:27 -07:00
ysds
ebfeaa4ad1
Allow override default col width
2019-08-30 13:07:27 -07:00
Mark Otto
cc248791b0
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-08-30 13:07:27 -07:00
Mark Otto
db692d02d5
Move margins, and equal height via utility example
2019-08-30 13:07:27 -07:00
Mark Otto
e2252e0230
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-08-30 13:07:27 -07:00
XhmikosR
4041d70eb5
card.md remove empty class
placeholder argument ( #29345 )
2019-08-30 17:35:12 +03:00
XhmikosR
aa3b4c41a4
carousel.md: Remove duplicate bd-example div. ( #29341 )
...
The example shortcode already adds this.
2019-08-30 17:21:47 +03:00
Martijn Cuppens
007ea0d8d0
Clean up line heights & add line height utilities ( #29271 )
2019-08-30 10:42:41 +03:00
Mark Otto
8360edc57b
Clean up instances of old .form-group ( #29321 )
2019-08-29 14:07:55 -06:00
XhmikosR
e99625c088
docs: remove swatches for theme colors. ( #29327 )
...
Use the built-in utilities instead.
2019-08-29 15:18:47 +03:00
XhmikosR
ee01dc2340
theming.md: automate _root.scss. ( #29326 )
2019-08-29 15:09:24 +03:00
XhmikosR
84cba07246
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-08-29 11:10:06 +03:00
XhmikosR
1d69e6ccfd
blog example: remove unused CSS. ( #29316 )
2019-08-28 17:29:15 +02:00
Mark Otto
cd4dc92dd8
mention new variable in our docs
2019-08-27 11:10:56 +03:00
XhmikosR
c463c261ed
Remove "Wall of browser bugs" page. ( #29297 )
...
While important in the past, it has become obsolete, so removing it seems the best solution.
2019-08-27 08:44:35 +03:00
Martijn Cuppens
19ee63ad25
Link helpers & use utility API for all utilities
2019-08-26 08:21:24 +02:00
Mark Otto
b02bae769e
Document example of datalists with form controls ( #29058 )
...
- Add example to the new form control docs
- Reset the [list] selector in Reboot to hide the random dropdown arrow in Chrome
2019-08-24 02:59:57 +03:00
Martijn Cuppens
d9abb8e20d
Documentation tweak
2019-08-24 02:26:28 +03:00
Mark Otto
57e17706a9
Add support and docs for color input
2019-08-24 02:26:28 +03:00
tracyjordan
a5e725fa2e
fixed minor typo ( #29291 )
2019-08-22 10:58:08 +03:00
Martijn Cuppens
0aabaa209d
Drop nav divider mixin
2019-08-22 08:10:44 +02:00
XhmikosR
9cee3c2808
Minor wording tweaks
2019-08-18 17:19:36 +03:00
Johann-S
f03c10a189
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-08-18 17:19:36 +03:00
XhmikosR
6335fbe224
Use US locale consistently. ( #29255 )
2019-08-16 13:20:26 +03:00
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
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