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

16008 Commits

Author SHA1 Message Date
Mark Otto
02e0fdbd52 Remove cursor: pointer; (#21812)
* Remove most of custom cursor: pointer; implementations

* turns out that's not so much of a thing
2017-01-23 22:15:28 -08:00
Geremia Taglialatela
104477af17 Fix body padding in Dashboard and Jumbotron examples.
The actual navbar height is 3.5rem.
2017-01-23 22:20:07 +11:00
Bardi Harborow
c5a9ebf576 Move htmllint to npm script. 2017-01-23 20:53:17 +11:00
Quy
563926717c Change to markdown (#21815) 2017-01-22 20:37:14 -08:00
Pierre-Denis Vanduynslager
403f55fba9 Fix spacebar key in Firefox for button elements 2017-01-22 17:34:54 -05:00
Pierre-Denis Vanduynslager
1cdd0d16c1 Merge branch 'twbs/v4-dev' into dropdown-keyboard 2017-01-22 17:32:50 -05:00
Quy
091f3b8c24 Change header to use markdown (#21809)
Header will now display in the Contents section.
2017-01-22 11:17:17 -08:00
Mark Otto
c920049b5b Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-01-21 18:02:23 -08:00
Marcus Molchany
3cb252570a Update grid layout docs (#21806)
Update Mix and match section with correct responsive classes
for stacking cols.
2017-01-21 18:01:13 -08:00
Mark Otto
deb1c59c53 grunt 2017-01-21 17:50:45 -08:00
Mark Otto
4fa7749442 Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css

* Nuke the old comment, consolidate to a single line and number as appropriate

* Bring over styles for HTML element from Normalize to Reboot

* Move margin override for body element from Normalize to Reboot

* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support

* Building on previous commit, do the same thing for figure, figcaption, and main

* Remove IE9- display from Normalize given our browser support

* Drop IE8 figure margin because we're IE10+

* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already

* Drop Safari 6 b and strong normalization because we're Safari 8+

* Remove mark styles for IE9- from Normalize

* Remove old iOS audio fixes from Normalize

* Remove IE9- display for progress from Normalize

* Remove more IE9- rules from Normalize

* One more IE9- display removal for canvas element

* Move pre overrides from Normalize to Reboot

* Move over some link resets to Reboot, drop others

- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links

* Move over more code element resets, consolidate with pre overrides, too

* Move over sub and sup wholesale

* Move over img normalization to Reboot

* Move over SVG override too

* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary

* Remove bulk of @viewport comment

* edit down that code comment

* consolidate html-based normalizations

* update comments

* Consolidate abbr styles

* move over more type elements

* move over hr changes

* move over form controls and more

* move over button resets

* move over firefox button changes

* move over search changes and more

* we nuke all these styles for fieldsets anyway, so outright remove them

* no need for those, we override them

* move over legend, fieldset, progress

* line break

* delete normalize file

* linting

* update comment

* clarify docs mentions of normalize and reboot

* remove normalize excludes from linter

* remove normalize excludes from cli task

* linting

* callout license since we forked part of normalize

* Improve comments, move table background reset to .table class instead of in reboot

* trailing space
2017-01-21 14:14:25 -08:00
Mark Otto
0220d8b7d4 grunt 2017-01-21 13:25:29 -08:00
Mark Otto
45fed9b0cd Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-01-21 13:25:16 -08:00
Pierre Vanduynslager
9cf235508d Fix container within navbar on smallest breakpoint (#21722)
* Make container in navbar to occupy full width even on smallest breakpoint

* Fix typo in comment

* Apply fix only on smaller breakpoint

* drop the comment as chrome doesn't have a bug here
2017-01-21 13:06:00 -08:00
Mark Otto
eb361fa6c1 Progress line height (#21805)
* remove obvi comments

* proper fix for #21801

- ensures .progress-bar text is vertically centered should the height of the .progress-bar change by matching the line-height and height values
- we can't use flexbox here because the inner text of an element doesn't count as a flex item
2017-01-21 12:32:38 -08:00
Gijs Boddeus
12b22ebad6 fix segmented buttons (#21716)
* fix segmented buttons

changed flex-direction to row
centering is now done by align-items instead of justify-content

this way there is no need for flex property on the .btn inside .btn-group

* Update _input-group.scss
2017-01-21 12:25:24 -08:00
Dmytro Yarmak
ade657afee Fix gaps between vertical grouped buttons when using labels (#21793) (#21796) 2017-01-21 12:18:58 -08:00
Mark Otto
9f7ce09fb8 remove pretty obvi comments 2017-01-21 12:10:46 -08:00
Pierre-Denis Vanduynslager
ef2181ff4d Harmonize document.activeElement comparison 2017-01-20 23:22:50 -05:00
Pierre-Denis Vanduynslager
4448ca057b Refactor test to event and async 2017-01-20 23:02:45 -05:00
Pierre-Denis Vanduynslager
1a783a4255 Add unit test for keyboard navigation 2017-01-20 23:02:19 -05:00
Pierre-Denis Vanduynslager
59f438b40e Merge branch 'twbs/v4-dev' into dropdown-keyboard 2017-01-20 20:27:17 -05:00
Pierre-Denis Vanduynslager
9daf681478 Fix test to retrieve the proper item instead of it's parent 2017-01-20 20:27:14 -05:00
Patrick H. Lauke
80058b233e Merge pull request #21774 from vanduynslagerp/fix-scrollspy-test-markup
Add missing closing tag in scrollspy visual test
2017-01-18 22:29:57 +00:00
Pierre-Denis Vanduynslager
57713c9fc5 Fix missing closing tag 2017-01-18 15:01:06 -05:00
Pierre-Denis Vanduynslager
8da2815e47 Merge branch 'twbs/v4-dev' into dropdown-keyboard 2017-01-16 15:31:38 -05:00
Erin Brown
8167682deb Specify card component is necessary for accordion behavior (#21746)
- It is unclear that the use of the card component is necessary
when extending the collapse behavior to behave like an accordion.
2017-01-16 10:25:42 -08:00
Geremia Taglialatela
2a45ca5106 Fix horizontal scrollbar appearing in docs (#21747)
On small screens (< 576px), all documentation pages containing
`.bd-example` styled tags, show the horizontal scrollbar because of a
wrong horizontal margin property.

This PR sets the horizontal margin on gutter width basis instead of rem.
2017-01-16 10:24:59 -08:00
Quy
87751da482 Update .tag to .badge in migration (#21565) 2017-01-15 21:46:42 -08:00
Quy
db4fe7c69d Remove IE9 from SVG images callout (#21566) 2017-01-15 21:46:16 -08:00
Pierre-Denis Vanduynslager
1528516dd6 Add doc example with badge links (#21674) 2017-01-15 21:45:04 -08:00
Christian Oliff
5eb67091b5 Update Search input to type="search" (#21617)
This is semantically correct and works just as well.
2017-01-15 21:44:27 -08:00
Amy Gori
44684a60e5 Correct xs and sm breakpoint values in responsive utilities docs (#21664) 2017-01-15 21:37:06 -08:00
Pierre-Denis Vanduynslager
d6a5439a8c Remove list-group-item-heading and list-group-item-text (#21653) 2017-01-15 21:36:15 -08:00
Pierre-Denis Vanduynslager
a3bc607c10 Remove unused scss variables (#21579)
* Remove unused scss variables

* Remove unnecessary space

* Remove $zindex-navbar from docs

* Re-add $progress-box-shadow
2017-01-15 21:35:18 -08:00
Pierre-Denis Vanduynslager
1d0f527249 Add alert divider (<hr>) example in docs (#21673)
* Add alert divider (<hr />)example in docs

* <hr/> => <hr> per @vsn4ik suggestion
2017-01-15 21:33:32 -08:00
Christian Oliff
d7af46359b Remove filter: alpha(opacity = 0);
Not needed (and all other old IE filter attributes have been removed from the CSS. This was the only one remaining
2017-01-15 17:52:34 -08:00
Mark Otto
fc82352594 fixes #21625, closes #21539
don't set focus styles on the anchor, just set hover styles
2017-01-15 17:51:26 -08:00
Patrick H. Lauke
75848192da Merge pull request #21736 from marios-zindilis/v4-dev
Fixed minor typo
2017-01-15 17:53:25 +00:00
Marios Zindilis
57fe8ac84c Fixed minor typo 2017-01-15 17:14:25 +00:00
Pierre-Denis Vanduynslager
a85b80fa75 Merge branch 'twbs/v4-dev' into dropdown-keyboard 2017-01-15 10:33:54 -05:00
Pierre-Denis Vanduynslager
8fbd4aaa38 Correct reference to Direction.PREV constant. (#21709) 2017-01-15 13:46:03 +11:00
Pierre-Denis Vanduynslager
c80e13a48a Use existing keycode constants in dropdown. (#21697) 2017-01-15 13:42:24 +11:00
Patrick H. Lauke
25f81e1fe6 Merge pull request #21730 from patrickhlauke/v4-docs-focus-styles
[Docs] Add missing :focus styles
2017-01-15 01:46:33 +00:00
Pierre-Denis Vanduynslager
ec697b2076 Update broken links. (#21696) 2017-01-15 12:11:57 +11:00
Patrick H. Lauke
4adaa64d9a Add missing :focus styles
Double up :hover styles to also apply on :focus (particularly the
masthead button needs this, as otherwise it gives no visible indication
of being focused)
2017-01-14 22:54:55 +00:00
Patrick H. Lauke
b47c252ee1 Merge pull request #21671 from vanduynslagerp/fix-21665
Fix modal id in doc example (Fix #21665)
2017-01-12 13:34:40 +00:00
Patrick H. Lauke
97e757cfbe Merge pull request #21672 from patrickhlauke/v4-remove-aria-multiselectable
Remove incorrect aria-multiselectable
2017-01-11 23:59:30 +00:00
Patrick H. Lauke
6b48ba4e0d Remove incorrect aria-multiselectable
Closes https://github.com/twbs/bootstrap/issues/21635
2017-01-11 23:57:59 +00:00
Pierre-Denis Vanduynslager
a98fb3c83a Fix modal id in doc 2017-01-11 18:30:48 -05:00