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

307 Commits

Author SHA1 Message Date
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
Mark Otto
cb4aff6eac Update shortcode usage 2020-04-26 17:26:04 -07:00
Mark Otto
81417a2fc6 wordsmithing 2020-04-26 17:26:04 -07:00
Mark Otto
1e3672418a pull in latest from old theming page 2020-04-26 17:26:04 -07:00
Mark Otto
88490fe81d Use scss-docs for color maps 2020-04-26 17:26:04 -07:00
Mark Otto
cab56abd08 Add more context to customizing components 2020-04-26 17:26:04 -07:00
Mark Otto
cbe8ad0bf8 Add overview intro to the Customize section 2020-04-26 17:26:04 -07:00
Mark Otto
f6e2f4c656 Rewrite Theming docs as Customize section
- Broke up existing theming page into separate pages
- Audited and updated each new docs page (some pages include some TBD sections)
- Update sidenav to reflect changes
- Fix links that pointed to the old Theming page
- Update docs styles to reflect recent changes
- Rewrite some bits in the Migration page
2020-04-26 17:26:04 -07:00
Mark Otto
0408799ae5 Rename variables for brevity
- Rename `$enable-prefers-reduced-motion-media-query` to `$enable-reduced-motion`
- Rename `$enable-pointer-cursor-for-buttons` to `$enable-button-pointers`
2020-04-26 17:26:04 -07:00
Mark Otto
bb7ada6548 Remove existing Theming page as we build out a new Customize section 2020-04-26 17:26:04 -07:00
Martijn Cuppens
cff2a085bb Update table docs copy
Co-Authored-By: Mark Otto <markd.otto@gmail.com>
2020-04-24 10:05:10 +02:00
Martijn Cuppens
eed27f35cc Add bs prefix 2020-04-24 10:05:10 +02:00
Martijn Cuppens
d089a683c8 Prevent nested tables style leaks 2020-04-24 10:05:10 +02:00
Martijn Cuppens
b79e55fed4
Remove negative margins leftovers (#30596)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-18 09:11:17 +03:00
Catalin Zalog
3ff3680d4e
feat: removes .form-text display (#30598)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-16 16:38:21 +02:00
Martijn Cuppens
8cdb057111
Add bs- prefixes to custom properties (#30591) 2020-04-15 18:52:16 +02:00
XhmikosR
f0abe26b98
guuters.md: fix link and highlight (#30595) 2020-04-15 17:14:56 +03:00
Martijn Cuppens
5c2a50fb9e
Disable negative margins by default (#30585)
* Disable negative margins by default

* Use shorter enable variable

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:36:35 +03:00
Mark Otto
fea6f6987d
v5: Improve the responsiveness of our Dashboard example (#30573)
Cleans up some column classes to ensure things line up across all viewports. Also fixes some broken padding on the .navbar-brand.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-15 07:22:55 +03:00
Mark Otto
4efc1c462d
Redo display headings (#30568)
- Convert to Sass map
- Consolidate font-weights into single option (matching line-height for them)
- Add two new sizes and create a new scale
- Update migration docs

Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-14 13:57:11 +02:00
Catalin Zalog
e2afbbfa82
Restore .form-text (#30565) 2020-04-14 09:21:13 +03:00
Mark Otto
7dedccfb9a Update docs for new XXL grid tier
- Updates mentions of number and exact tiers
- Updates grid example to include xxl container
- Adds some scss-docs references
- Cleans up other grid mentions and docs
- Updates navbar example to include an expand at XXL variant
2020-04-13 14:40:47 -07:00
Mark Otto
e3583115c6 Clarify media query using .02px and bump from callout to warning 2020-04-13 13:55:34 -07:00
XhmikosR
5f932ff734 layout/z-index.md: retrieve z-index variables on build time 2020-04-13 13:55:34 -07:00
Mark Otto
33a4e8ff9b Rewrite grid docs to account for new grid tier
- Breaks grid content across multiple pages
- Updates mentions of grid tiers from five to six
- Rewrites how it works sections to reference new options and tiers
2020-04-13 13:55:34 -07:00
Gaël Poupard
bfbf265a50
Use correct hex color code(#30533) 2020-04-08 12:50:57 +02:00
Martijn Cuppens
83b49aa688
Create scss-docs shortcode to get some snippets from the Scs… (#30502)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
ysds
062002d952 Fix CSS and improve docs 2020-04-01 10:05:43 +03:00
gsoti
e138decdbb Add Full-Screen size to Modal and Responsive variations for breakpoints
(Works from breakpoint and down)
2020-04-01 10:05:43 +03:00
Martijn Cuppens
c48d89cb70 Use unordered lists in dropdown-menus 2020-03-31 22:52:57 +02:00
cccabinet
695088ba8f Docs: Use unordered lists in dropdowns 2020-03-31 22:52:57 +02:00
Martijn Cuppens
df707cd727
Require .form-label classes on form labels (#30476) 2020-03-31 20:02:57 +02:00
Gaël Poupard
a0c2a29a8d
docs(tables): 1, 2, 2, 4… (#30489)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-31 17:28:10 +03:00
Martijn Cuppens
8414126266
Switch to custom properties to control grid gutter widths (#30475) 2020-03-30 15:12:36 +02:00
XhmikosR
74afe149c4
Dist (#29924) 2020-03-28 12:29:08 +02:00
XhmikosR
c0efceb6d5
docs: remove duplicate code for indeterminate (#30471) 2020-03-28 11:41:03 +02:00
Laussel Loïc
7ce29d75f3
v5 tabs - accessibility issue when using ul/li semantic
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2020-03-28 09:51:24 +02:00
XhmikosR
98c4598696 Fix redirected links. 2020-03-24 22:05:26 +02:00
Patrick H. Lauke
7af4af209c Add accessible name to fieldset 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
00ff5b83f9 Add explicit aria-label to unlabeled controls
- in particular, controls that just relied on `placeholder`, as this is still not officially/consistently supported as a valid way to provide an accessible name (though some browsers do use it as a fallback)
2020-03-24 15:02:58 +02:00
Patrick H. Lauke
a68f73e754 Remove unnecessary <form> elements, add a submit button to validation example 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
c96f6391e8 Add explicit title to iframe embed 2020-03-24 15:02:58 +02:00
Patrick H. Lauke
1871412978 Add explicit scope="col" to <th> column headers 2020-03-24 15:02:58 +02:00
Mark Otto
4ccd522a76
Add .caption-top for tables (#30435)
* Move caption-side to <table> element in Reboot

* Add class for .caption-top
2020-03-24 10:00:45 +01:00
Zedicius
64a5987cc0
File chooser size (#30040)
Co-authored-by: David Van Doninck <david.vandoninck@intracto.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-23 18:36:54 +01:00
Shohei Yoshida
1b7e13f2a3
Update modal docs (#30325) 2020-03-23 18:15:30 +01:00
Gaël Poupard
03908ea37a
Use WCAG contrast algo (#30168) 2020-03-23 18:03:56 +01:00
Martijn Cuppens
85b12549ec Simplify input groups by dropping .input-group-prepend and .input-group-append 2020-03-23 15:35:07 +01:00