0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

16924 Commits

Author SHA1 Message Date
Mark Otto
26e6d8b2b2 drop the now unused -color variable 2017-08-20 13:36:16 -07:00
Mark Otto
c0434f69f4 Merge branch 'fix/badge-default-colors' of https://github.com/jonwolski/bootstrap into jonwolski-fix/badge-default-colors 2017-08-20 13:35:06 -07:00
Mark Otto
834ee9b433 Simplify selector and only override what we set
1. Instead of having two selectors, we use the `.list-group-item` class and have coverage for list items and anchors.
2. Rather than override all border values, we only override what we set with `border-top`.
2017-08-20 12:21:24 -07:00
gijsbotje
bb32e91154 added suggested fix for list-groups with a elements 2017-08-20 12:21:24 -07:00
gijsbotje
2ba0127c91 fixes double border when .list-group.list-group-flush is preceded by .card-header 2017-08-20 12:21:24 -07:00
Mark Otto
25bbfcdd7c dist 2017-08-20 12:09:33 -07:00
Alex Chegodaev
1da730c67f added @content directive to media-breakpoint-only mixin for min and max cases 2017-08-20 11:46:55 -07:00
Mark Otto
c4b3d81887 Drop the variables file table of contents and update the comment at the top
I never use this dang list and it just falls out of date far too easily. Dropping for my own sanity.
2017-08-20 11:42:19 -07:00
gijsbotje
6fc9dde727 equalize height of the first card of the card-group 2017-08-20 11:41:16 -07:00
Albert Willemsen
f822307694 fixed package.json jspm section. 2017-08-20 11:40:21 -07:00
Simon Podlipsky
b5a2441f1b Changed Typography title to Text 2017-08-20 11:32:15 -07:00
XhmikosR
f67805c6c0 Update redirect.html 2017-08-20 11:31:30 -07:00
Mark Otto
fd8c052c67 Restore grid offset classes
Fixes #23360 by restoring just the offset class generation to our grid
framework mixins. Also restores the `make-col-offset` mixin.

Docs have been restored to illustrate this behavior and merged with the
newer margin utilities examples.
2017-08-20 11:17:48 -07:00
Jeroen van Warmerdam
d5db28d183 Carousel prev/next controls are renamed accordingly (#23561) 2017-08-19 12:19:33 +03:00
XhmikosR
41bcab6900 Fix favicons inclusion after e932345. (#23473) 2017-08-18 17:35:45 +03:00
Jon Wolski
f07d870381
Remove color property from badge class
I suggest removing `color: #FFF` from the `badge` class, because it is
provided by the `badge-<modifier>` classes along with a
background-color, whereas there is no corresponding background-color
provided on the `badge` class itself.

Background
----------

According to the documentation:

> [badge] Requires one of the contextual, color modifier classes for `color` and
> `background-color`.

That is, color and background color should be provided by a modifier
class, rather than the badge class itself.

e.g. `<span class='badge badge-primary'>4</span>`

In general, providing a `color` property without also providing a
`background-color` should be avoided. [W3 QA tips]

In this context, this is a problem only if someone creates a `badge`
without providing a modifier. Such an omition may be difficult to trouble-shoot,
because this will most likely yield white text on a white background.

[W3 QA tips](https://www.w3.org/QA/Tips/color)
2017-08-18 09:35:00 -05:00
XhmikosR
74d96392d2 Update devDependencies and fix a typo in comment. (#23534) 2017-08-18 16:55:59 +03:00
XhmikosR
94cb75ad2f Update reboot.md (#23521) 2017-08-18 15:40:01 +03:00
Johann-S
58994a16c5 Add a unit test to check if the carousel do not cycle when its parent isn't visible 2017-08-17 17:48:14 +01:00
Johann-S
d2bd8fb7a9 Unit test to check if our carousel do not cycle when we cannot see it 2017-08-17 17:48:14 +01:00
Johann-S
58b54b6c15 Carousel - do not call next when the carousel or the parent isn't visible 2017-08-17 17:48:14 +01:00
Jonathan Berger
a77f515a22 Fix error in Alerts component doc (#23522) 2017-08-17 19:01:51 +03:00
XhmikosR
27637cf3bd Remove the unneeded d-block from .carousel-items. (#23472) 2017-08-17 12:11:31 +03:00
XhmikosR
1b95964291 browsers-devices.md: fix typo. (#23495) 2017-08-16 18:52:24 +03:00
Retroity
7b873fa0a1 Fixed Example Carousel so it works on mobile (#23470) 2017-08-15 22:13:58 +03:00
Mark Otto
e82d541836 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-08-15 10:43:45 -07:00
Mark Otto
62a3e9c1f0 fixes #23464: update grid migration docs to mention order replaced push/pull 2017-08-15 10:43:16 -07:00
Rolandas Barysas
b150410660 Remove $zindex-dropdown-backdrop from docs (#23461)
It was removed in 6d64afe.
2017-08-15 18:16:40 +03:00
XhmikosR
839fa0fe98 README.md: use https for the Bootstrap logo. (#23458) 2017-08-15 18:08:54 +03:00
XhmikosR
7388d1acd3 Merge pull request #23457 from twbs/v4-dev-xmr-liquid-whitespace
Reduce liquid's whitespace for a few pages and move about menu to the end.
2017-08-15 17:53:48 +03:00
XhmikosR
703c7daf57 Move About menu link to the end. 2017-08-15 15:06:27 +03:00
XhmikosR
1f4486c31b Reduce liquid's whitespace for a few pages.
Also fix a couple of typos while at it and change header tags' order.
2017-08-15 15:03:15 +03:00
XhmikosR
ac718c9b6d Merge pull request #23101 from twbs/v4-dev-xmr-docs-favicons
docs: New favicons and add a service worker
2017-08-15 15:00:54 +03:00
XhmikosR
20abbc3c16 Register a service worker. 2017-08-15 14:35:36 +03:00
XhmikosR
e9323459ab New favicons.
Include everything for most browsers to work including Android.

Kept favicon.ico to the root dir.

Also added a manifest.json for PWA.
2017-08-15 14:35:36 +03:00
XhmikosR
aadf2dcd03 Beautify _config.yml. (#23448) 2017-08-15 14:25:19 +03:00
Mark Otto
96e4efb49a fix docs version, closes #23421 2017-08-14 22:34:42 -07:00
Mark Otto
5b8738afc1 Fix .btn-outline-light hover color
Uses some if/else action to ensure there's readable text on hover. Swapped out a hex value to a variable while I was in there.

Fixes #23398, fixes #23351.
2017-08-14 21:07:35 -07:00
Mark Otto
ca7b7cd377 dist 2017-08-14 20:23:45 -07:00
Mark Otto
a80198db4d De-dupe width on .fluid-container (#23402)
Fixes #23397
2017-08-14 18:11:44 -07:00
Ahmad Awais
0909b46868 FIX: Broken 'About' Link in the Footer (#23367) 2017-08-14 18:11:11 -07:00
Casper
c8678dca41 Add traditional Chinese in translations.yml (#23357) 2017-08-14 18:10:47 -07:00
Andres Galante
77777b388d Adds a default flag to paragraph-margin-bottom (#23420) 2017-08-14 18:09:44 -07:00
Peder Johnsen
6a49f88d8f Small typo on screenreaders page (#23416)
Just fixes small typo
2017-08-14 18:09:16 -07:00
Jacob Müller
63909cacb1 Remove remaining v4 alpha references (#23414)
* Remove remaining references to v4 Alpha

This commit removes the remaining refrences to the v4 Alpha website and replaces them with the
corresponding v4 Beta ones.

**Note:** We have to hard code the current docs version at some places. Wouldn't it be good to have a `/docs/latest/` redirect to solve this "issue" in the future?

* Don't update the domain in the CNAME file
2017-08-14 18:08:31 -07:00
Jurre
d3f09ff3ea Removed comment (#23415)
There is no _custom.scss file anymore.
2017-08-14 18:07:44 -07:00
jipexu
20af0373f3 Mention badge-default in migration docs, fix typo on popover docs (#23409) 2017-08-14 14:04:06 -07:00
Arthur Franco
6d6d42b56a Adding Gemfile to package.json
Gemfile was missing. Couldn't compile documentation when using npm.
2017-08-14 14:03:06 -07:00
Andres Galante
1cfbc2c62d changes 1px to border-width variable on cards 2017-08-14 14:02:16 -07:00
Cory Becker
2564ee98a6 Remove apostrophe 2017-08-14 13:59:40 -07:00