0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
Martijn Cuppens
cd077cd599 Enable RFS for font resizing
- Enable RFS
- Add documentation
- Disable doc font size overrides
2019-11-25 13:05:57 +02:00
Jonathan Hefner
0caed940a5 Set vertical-align on .form-check-input (#29521)
This is a follow-up to #29322, specifically "allowing easy placement of
the `.form-check-input` in more places."  In my testing in Firefox and
Chrome, setting `vertical-align: top` removes the need to add
`float-left` to vertically align the checkbox and label text.  And doing
so does not visually affect examples which do apply `float: left` via
nesting in a `.form-check`.
2019-11-24 20:15:35 +01:00
XhmikosR
c3fa502d32
dashboard/index.html: update feather-icons to v4.24.1 (#29651) 2019-11-07 11:20:12 +02:00
XhmikosR
8805122f73
Update modal.md (#29621)
Fix typo
2019-11-01 13:18:28 +02:00
Mark Otto
9e54d8e120 Doc tweaks. 2019-10-31 08:30:53 +02:00
ysds
d6ebc60d3d Add add and subtract function 2019-10-31 08:30:53 +02:00
Mark Otto
9c7bc1a111
v5: Simplify navbars by requiring containers (#29339)
* v5: Simplify navbars by requiring containers

* Update migration docs for navbar
2019-10-27 20:26:52 -07:00
Higor Araújo dos Anjos
46912797b2 Added animation when modal backdrop is static (#29516) 2019-10-25 21:12:09 +03:00
Martijn Cuppens
9ee9b8a1e8 Add configurable button text wrapping (#29554) 2019-10-25 12:37:52 +03:00
Shohei Yoshida
3b876be652 Rename close icon to close button (#29387) 2019-10-21 19:27:43 -07:00
XhmikosR
3251de8d57 Get rid of unneeded divs. (#29563)
Use our example shortcode's `class` parameter instead.
2019-10-21 19:11:22 -07:00
Mark Otto
8d56c19b55
v5: Icons docs cleanup (#29450)
* Remove mention of icons from migration since they're not part of the core project

* Cleanup icons page to mention Bootstrap Icons
2019-10-18 11:06:12 -07:00
Mark Otto
943bef258d
v5: Update colors to add shades and tints (#29348)
* Add variables for shades and tints of each major color

* getting-started/theming.md: use a `range`.
2019-10-18 11:04:27 -07:00
Jeremy Jackson
4e37fc3ab4 Add color argument to button mixins (#29444)
Add optional `$color` argument to `button-variant()` and
`button-outline-variant()` for additional flexibility.
2019-10-12 11:21:22 +03:00
Mark Otto
b3451ff258 Add new .bg-body utility class (#29511) 2019-10-10 21:18:19 +03:00
Martijn Cuppens
03c9788f7a
Variable card height (#29462) 2019-10-03 09:21:40 +02:00
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 ranges. (#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