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

308 Commits

Author SHA1 Message Date
Mohamad El-Husseini
b994b1f999 adds table-responsive class to table 2015-09-01 20:26:11 -03:00
Supergibbs
9d30cb38d9 Fixed link to nav component from scrollspy documentation
(reported by ianhernandez in Slack)
2015-09-01 15:45:02 -07:00
Gleb Mazovetskiy
c7d8e7a077 Accept elements as the tooltip / popover content
When a DOM node is passed to an HTML tooltip, the `title` node is only
moved if it is not already in the tooltip. Otherwise, `empty()` is used
instead of `detach()` before appending the `title` to avoid memory
leaks. If a DOM node is passed to a plain text tooltip, its text is
copied via jQuery `.text()`.

Replaces `.detach()` with `.empty()`, as `.detach()` is almost never
useful but instead leaks memory. The difference between `empty` and
`detach` is that the latter keeps all the attached jQuery events/data.
However, since we do not return the previous children, the user would
have to keep these themselves, thus they can `detach()` if necessary.

This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-31 01:06:13 +01:00
Gupocca
34932d71b4 Fix several erroneous links in docs.
Related to #17314.
2015-08-29 10:59:04 -07:00
XhmikosR
8328344212 Use https when possible.
[ci skip]
2015-08-29 18:50:20 +03:00
Mohamad El-Husseini
81806703e5 removes table-responsive div from components/navs 2015-08-28 11:35:11 -03:00
XhmikosR
3e66427127 Less to Sass typos.
[ci skip]
2015-08-27 08:14:39 +03:00
Caleb Land
ec83b06d55 Update static form control example
Use the `row` class on the `form-group`, and change the `control-label` class to `form-control-label`
2015-08-26 23:47:50 -04:00
petetnt
6aebac8e38 Document .bg-inverse 2015-08-26 16:01:34 +03:00
XhmikosR
0873e9afa8 Fix validation errors. 2015-08-25 15:38:20 +03:00
Chris Rebert
275989e64f Document that dropdowns are intentionally click-based rather than hover-based
And link to a relevant blog post w/ more info.
Refs #16966
[skip sauce]
2015-08-24 16:43:42 -07:00
Chris Rebert
fd72dfe6cf Rephrase/copyedit IE [hidden] compatibility docs
Fixes grammatical erratum from cf7819d8d5
2015-08-23 00:44:54 -07:00
Mark Otto
cf7819d8d5 mention the IE compatability for hidden attr per #17169 2015-08-22 23:17:46 -07:00
Heinrich Fenkart
44f2e73421 Docs: fix typo from 9c52e03 2015-08-23 04:56:09 +02:00
Mark Otto
9c52e03d31 avoid mentioning css block level in cards docs /cc #17158 #17103 2015-08-22 18:58:02 -07:00
Chris Rebert
8d26e26eb4 Merge pull request #17235 from kkirsche/patch-28
Add btn-info to buttons examples
2015-08-22 13:32:48 -07:00
vsn4ik
2965adfea0 Remove dropped btn-xs and btn-group-xs from docs 2015-08-22 21:16:05 +03:00
Kevin Kirsche
6b45c9234a Add btn-info to buttons examples
Fix #17234
2015-08-22 13:52:27 -04:00
petetnt
3f81cf6093 modal.md - wrapped rows to a .container-fluid, added .bd-example-row for better visualization 2015-08-21 12:23:41 +03:00
Chris Rebert
69f9240863 forms.md: Fix link to disabled buttons docs 2015-08-20 22:35:58 -07:00
Chris Rebert
0372cc656d forms.md: Fix rebooted form styles link 2015-08-20 22:23:19 -07:00
Chris Rebert
5404ed5946 Fix options link in Tooltip docs 2015-08-20 22:16:16 -07:00
Chris Rebert
d3d04e8fe6 Fix options link in Popover docs 2015-08-20 22:15:31 -07:00
Chris Rebert
d29c34c2f6 Popover docs: Fix "Tether" capitalization 2015-08-20 22:14:25 -07:00
Chris Rebert
136e8a4806 tooltips.md: Fix capitalization of "Tether" more 2015-08-20 22:13:39 -07:00
Chris Rebert
7fa1341b47 tooltips.md: Fix capitalization of "Tether" 2015-08-20 22:12:14 -07:00
Chris Rebert
30cc2c4815 Modal docs: Add MDN autofocus docs link 2015-08-20 22:05:55 -07:00
Chris Rebert
6623ad2e9b <progress> docs: Add MDN link 2015-08-20 22:02:54 -07:00
Chris Rebert
6524e53dbb Pagination docs: Fix "pager alternative" link 2015-08-20 21:59:39 -07:00
Chris Rebert
e39d9a7941 Breadcrumb docs: Add MDN CSS doc links 2015-08-20 21:57:49 -07:00
Mark Otto
c961723184 Merge pull request #17178 from twbs/die-stateful-btn
rm docs references to nuked stateful button feature
2015-08-20 21:08:57 -07:00
Mark Otto
f8fcc3d60d Merge pull request #17184 from kkirsche/patch-28
v4 - Fix Broken link in text alignment section of v4 Card docs
2015-08-20 21:07:33 -07:00
Chris Rebert
85fac53cc8 navs.md: Fade effect: add missing backtick 2015-08-20 19:12:37 -07:00
Chris Rebert
55168ff93e Card Columns docs: Link to MDN multi-column CSS docs 2015-08-20 19:06:31 -07:00
Kevin Kirsche
61b8d83feb Fix Broken link in text alignment section of v4 Card docs
Fix #17182
2015-08-20 22:06:06 -04:00
Chris Rebert
92ce5431be Card Columns docs: Put IE<=9 warning on its own line
Otherwise the "Heads up!" is at the end of the previous line, making the connection to the warning unclear.
2015-08-20 19:03:22 -07:00
Chris Rebert
d24a15d2b0 rm docs references to nuked stateful button feature
[skip sauce]
2015-08-20 18:47:41 -07:00
Heinrich Fenkart
66be25917a Docs: various fixes
Mostly links.
Fixes #17056.
2015-08-21 02:15:17 +02:00
Heinrich Fenkart
12df7622a0 Merge pull request #17025 from hebbet/v4-dev
fix broken link to flexbox
2015-08-21 01:02:03 +02:00
Heinrich Fenkart
73a88dbe86 Docs: Update all dropdowns to new HTML structure 2015-08-21 00:18:55 +02:00
Kevin Kirsche
df734852ee v4 Docs - Fix scroll spy navbar example
Fix #17125
2015-08-20 15:24:07 -04:00
Heinrich Fenkart
d16144cf2f Merge pull request #17152 from zacechola/popover_container_example
v4 - Fix container option example code
2015-08-20 21:15:55 +02:00
Zac Echola
8bfb295c1b Fix container option example code 2015-08-20 13:46:49 -05:00
Christian Oliff
9471ad7533 Fix tether typo
Fix tether typo
2015-08-21 00:43:34 +09:00
Heinrich Fenkart
0771881935 Merge pull request #17133 from zacechola/btn_xs_removal
Remove btn-xs from dropdown docs
2015-08-20 16:48:04 +02:00
Zac Echola
8dec4e8995 Remove btn-xs from dropdown 2015-08-20 09:18:11 -05:00
Benjamin Dean
b381af5e65 Fix "background-variants" anchor 2015-08-20 12:53:35 +03:00
gps035
d868eb2825 Correct presented class for outline buttons 2015-08-19 23:17:19 +01:00
Chris Rebert
1efb07dad9 Merge pull request #17047 from petetnt/petetnt-v4-dev-patch-1
Fixed couple of formatting errors in modal.md (v4)
2015-08-19 13:11:27 -07:00
Chris Rebert
7102ac6e6c Merge pull request #17034 from chrisrowe/patch-1
Fixed "Srollspy" typo in component title
2015-08-19 13:10:22 -07:00
Thomas McDonald
c9a5f82357 Merge pull request #17038 from supergibbs/tehter-spelling
tehter spelling
2015-08-19 12:40:37 -07:00
Pete Nykänen
66a9ed278e Fixed couple of formatting errors in modal.md
One extra `</p>` was out of place, plus couple of issues with `'s which caused some odd formatting.
2015-08-19 21:43:16 +03:00
Chris Rowe
95999a13b4 Fixed "Srollspy" typo in component title 2015-08-19 19:29:21 +01:00
Bram van Leur
7ec40d25cd v4: Fix Typo in Forms docs 2015-08-19 20:22:55 +02:00
Supergibbs
b071e6e03c tehter -> tether 2015-08-19 11:01:11 -07:00
Thomas McDonald
323b9b1320 remove .btn-xs reference in docs 2015-08-19 10:38:22 -07:00
Pascal Herbert
547e6e8af8 fix broken link to flexbox 2015-08-19 18:46:05 +02:00
Mark Otto
c8306d2f70 rewrite active and disabled styles for navs 2015-08-18 20:25:31 -07:00
Mark Otto
d2f4c35061 rewrite some button group docs 2015-08-18 20:25:18 -07:00
Mark Otto
1ee84d4a1c help text tweaks 2015-08-18 19:36:01 -07:00
Mark Otto
a79e7db6bd document some help text examples to the docs 2015-08-18 19:30:22 -07:00
Mark Otto
58d1297fcb overhaul custom selects with latest from primer, shoutout 2015-08-18 19:26:18 -07:00
Mark Otto
ff72ea6b81 navbar positioning 2015-08-18 01:18:21 -07:00
Mark Otto
d6b6a20a0d rewrite navbar once more for lower key styles and a new take on modifiers for improved customization 2015-08-18 00:46:29 -07:00
Mark Otto
f1e10c37fd rewrite navbar bits some more 2015-08-17 23:43:59 -07:00
Mark Otto
4cb324afab add redirects for all top level docs sections 2015-08-17 20:34:11 -07:00
Mark Otto
d2a29b5643 typo 2015-08-17 18:21:59 -07:00
Mark Otto
29b4031db5 allow <button> elements as .dropdown-item's 2015-08-17 18:18:37 -07:00
Mark Otto
e558f490dd Rewrite dropdowns
- Remove nested > selectors for dropdown items
- Update docs examples to use all the new markup
2015-08-17 11:19:14 -07:00
Mark Otto
9970983b6b copy 2015-08-17 00:42:41 -07:00
Jacob Thornton
db14bac42f update tooltip/popover docs 2015-08-15 12:07:06 -07:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
31cddd11c6 bump headings 2015-08-14 00:36:47 -07:00
Mark Otto
43e1678bf3 update utils, use important 2015-08-14 00:36:26 -07:00
Mark Otto
879114a808 Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2015-08-12 22:56:56 -07:00
Mark Otto
faacbdb49f Remove .help-block entirely
- Fixes #13267 somewhat.
- Instead of a single, block-level class, let's use a combination of existing elements and classes.
- For block-level help text, use p.text-muted.
- For inline-level help text, use span.text-muted or small.text-muted.
2015-08-12 22:14:31 -07:00
Thomas McDonald
454fc7c03a add example for disabled pager link 2015-08-12 21:17:33 -07:00
Mark Otto
5e928c7c2b Merge branch 'v4' of https://github.com/twbs/derpstrap into v4 2015-08-12 21:16:56 -07:00
Mark Otto
067311f44b basic docs fix for badges in list group, still needs more changes 2015-08-12 21:15:19 -07:00
Jacob Thornton
11abb0f7e9 fix modal 2015-08-12 21:12:03 -07:00
Mark Otto
314161cb17 remove hella vars from the jumbotron 2015-08-12 20:28:46 -07:00
Thomas McDonald
9305fd378f fix scrollspy example 2015-08-12 19:49:08 -07:00
Mark Otto
37eb1e1d8b fix well to card 2015-08-11 12:28:28 -07:00
Mark Otto
58051f959f tweak collapse docs 2015-08-11 09:50:36 -07:00
Mark Otto
c74e47a139 rewrite alerts docs a bit 2015-08-10 16:36:44 -07:00
Mark Otto
121615ceba dropdown fixes and dropdown docs tweaks 2015-08-10 16:31:28 -07:00
Mark Otto
9fe6b85c32 rewrite dropdown events in markdown 2015-08-10 16:16:39 -07:00
Mark Otto
03c91b83bd simplify some button docs copy 2015-08-10 16:11:44 -07:00
Mark Otto
58e03cd4bf tweak buttons docs 2015-08-10 00:05:40 -07:00
Mark Otto
743717fbce really fix those outline buttons 2015-08-09 23:45:36 -07:00
Mark Otto
eaeee93fa3 docs rearrange 2015-08-09 23:38:16 -07:00
Mark Otto
68e4d897ba shoutout to outline buttons 2015-08-09 22:48:48 -07:00
Mark Otto
08d6dc5b71 add basic figure support 2015-08-09 21:42:47 -07:00
Mark Otto
7a50a2cbe8 introduce display heading classes 2015-08-09 21:17:27 -07:00
Mark Otto
31a47369bb content 2015-08-09 20:28:46 -07:00
Mark Otto
c6d5fee88a transitions and text changes 2015-08-08 21:37:48 -07:00
Mark Otto
7c3f5b6d59 rewrite some forms docs, use new validation styles and icons 2015-08-08 14:15:09 -07:00
Mark Otto
14d8c29596 fix broken markup 2015-08-05 23:50:27 -07:00
Mark Otto
36800a2740 primary btn there as well 2015-08-05 23:15:12 -07:00
Mark Otto
be299c1b8b switch to primary button there 2015-08-05 23:14:53 -07:00