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

17097 Commits

Author SHA1 Message Date
XhmikosR
3a9ab96292 Remove the unused _data/showcase.yml file. (#24482) 2017-10-22 14:34:09 +03:00
XhmikosR
9a1d81f154 .editorconfig: remove rule for *.py files. (#24443) 2017-10-20 14:00:57 +03:00
Johann-S
c86f72be96 Use navbar-expand-sm in our navbar bottom example for small devices (#24463) 2017-10-20 13:18:04 +03:00
XhmikosR
37bfbcf117 Be consistent with "JS"/"JavaScript". (#24457) 2017-10-20 10:44:03 +03:00
Andres Galante
a89187f94d Remove margin from pre in code.scss since it's already set in reboot (#24366) 2017-10-20 10:33:56 +03:00
Gijs Boddeus
b21c822e50 Change max-height to height in documentation sidebars (#24446)
If the content of the page does not extend the full viewport height, the sidebars were shortened.
2017-10-20 10:12:38 +03:00
rmacklin
9e6dabbb10 Reduce z-indexes in button-group, input-group, list-group, and pagination to the minimum necessary (#24315)
These were using `z-index: 2` to "Place active items above their
siblings for proper border styling". However, using `z-index: 1` is
sufficient for accomplishing that goal.

In input-group, there were also three `z-index: 3` rules for the
hover/focus/active states. I reduced these to `z-index: 2` since they
just needed to be "one more than normal" (i.e. one more than what is now
`z-index: 1` after my changes).

These changes can be verified by viewing the documentation pages for
Button group, Input group, List group, and Pagination before and after
this commit and observing that the active elements are still "above"
their siblings, so their borders look correct.
2017-10-20 10:01:29 +03:00
Mark Otto
35317a4331 Remove background-image: none; on .form-control (#24454)
As the diff shows, this was for a Firefox Android issue that's since been fixed.

Closes #23817.
2017-10-20 09:56:43 +03:00
XhmikosR
b3babbfc26 migration.md: fix Jekyll variable. (#24449)
Rationale: the page is not available locally, only on gh-pages, thus leading to a 404 locally.
2017-10-20 09:41:36 +03:00
Mark Otto
cdad23d5d2 fixes #24445
also pushed a hotfix to gh-pages branch
2017-10-19 13:04:39 -07:00
Mark Otto
fc94de5b8b typo 2017-10-19 12:23:29 -07:00
Mark Otto
539510f9b2 add missing . 2017-10-19 12:23:29 -07:00
Mark Otto
50a2345032 new current_ruby-version var 2017-10-19 12:23:29 -07:00
Mark Otto
0a1c70d9b9 update getting started docs too 2017-10-19 12:23:29 -07:00
Mark Otto
ab04e9bc12 version number for homepage 2017-10-19 12:23:29 -07:00
Mark Otto
2e9ab6cc50 new hashes 2017-10-19 12:23:29 -07:00
Mark Otto
dbf5405cfd fix version number 2017-10-19 12:23:29 -07:00
Mark Otto
73ade2524b new shas 2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e new version number 2017-10-19 12:23:29 -07:00
Gijs Boddeus
7b06b9292f spelling changes to theming.md (#24444) 2017-10-19 10:33:31 -07:00
Laussel Loïc
13898af590 remove form control label as it have been removed (#24442) 2017-10-19 10:31:49 -07:00
Mark Otto
ba44eb1279 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-19 09:13:23 -07:00
Mark Otto
6124e7f229 dist 2017-10-19 09:13:17 -07:00
Gijs Boddeus
98af557842 fix missing word in colors.md (#24440) 2017-10-19 09:11:23 -07:00
Mark Otto
06641ca0b3 Gradients and shadows (#24429)
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency

* - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.

- Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
variables with unified `$input-btn-focus-box-shadow` to match our
combined variables approach elsewhere.

* Put new focus width var to use in buttons mixins

* use new button input-box shadow var

* Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true

* use correct var

* fix focus shadows in button mixins

* Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items

* Generate .bg-gradient- utilities

* add headings to colors page and document bg-gradient utils

* update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-19 09:03:33 -07:00
XhmikosR
d763d019ad Make 1.9.1 the minimum jQuery version again. (#24434) 2017-10-19 09:02:27 -07:00
Mark Otto
0c67ab1fa6 Better docs for table-responsive classes (#24438) 2017-10-19 08:55:53 -07:00
XhmikosR
1f43fe970b Fix a few 404 and one redirected link. (#24432) 2017-10-19 08:18:57 -07:00
XhmikosR
d4e7090c2d Reindent _variables.scss. (#24428) 2017-10-19 08:16:38 -07:00
Gijs Boddeus
07034cb3b0 fix typo in flex.md (#24431) 2017-10-19 01:01:48 -07:00
Mark Otto
80e8e6754a dist 2017-10-19 00:17:08 -07:00
Mark Otto
a0942bf4fb dist 2017-10-19 00:15:39 -07:00
Mark Otto
f51440da22 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-19 00:14:27 -07:00
Mark Otto
521aa875e7 fix functions, lighter colors on active 2017-10-19 00:13:38 -07:00
Mark Otto
9501ed8725 Merge branch 'btn-active' of https://github.com/andresgalante/bootstrap into andresgalante-btn-active 2017-10-19 00:11:36 -07:00
Mark Otto
39b144c88f Update docs for IE10+IE11 support of auto margins (#24427)
IE10 and IE11 do not properly support the use of margin-auto on flex parents with a justify-content value other than flex-start. This PR removes the examples showcasing those two classes at play together in favor of simpler ones with _just_ the margin-auto utilities.

More details can be found at https://stackoverflow.com/a/37535548, which has been linked to from the docs as well.

Closes #24319 and closes #24413.
2017-10-19 09:16:18 +03:00
Andres Galante
bee20c04e8 Move theme variables outside of the theme map. (#23918) 2017-10-19 09:05:00 +03:00
Vohmyanin Sergey Vasilevich
dc5a096e03 Enable sourcemaps for bundles and include sourcemap for plugins in npm package. (#24303) 2017-10-19 09:01:26 +03:00
Mark Otto
4a603f11e5 dist 2017-10-18 20:38:08 -07:00
Dylan Seago
a62ced0e0b Rename navbar height variables to reflect their value (#24161) 2017-10-18 19:51:45 -07:00
Kevin Ruscoe
1154032f0a Update alerts.md (#24420)
This document contains the word JavaScript everywhere apart from in one place where it's abbreviated to JS. This just makes sure it's written as JavaScript consistently across the page.
2017-10-18 19:49:32 -07:00
Mark Otto
d94fec94b2 Increase headings-line-height from 1.1 to 1.2 (#24423)
This way, descenders are not cropped when truncating. Fixes #23956.
2017-10-18 19:48:35 -07:00
Gijs Boddeus
40d242eddc Fix typo in popovers.md (#24425)
double use of see
2017-10-18 19:45:37 -07:00
tillmon
0aa8cbee76 Set font-sizes relative to font-size-base (#24060)
* font-sizes relative to font-size-base

* ditch $heading-font-size-base, simplify

* apply same to .lead var

* also update progress bar font-size var
2017-10-18 19:44:13 -07:00
Mark Otto
64ccd8974a Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2017-10-18 14:22:32 -07:00
Mark Otto
1a569bab3f few popover docs changes to clarify things mentioned in #24005 2017-10-18 14:22:26 -07:00
Kevin Ruscoe
a2edd106a7 badges: Make using the contextual classes on links clearer. (#24422) 2017-10-18 23:56:43 +03:00
Andrew Murphy
ad77ea7ae0 #24373 : Documentation/Navbar : Refer to utility classes used. Hidden when printing. (#24380)
* Refer to utility classes uses. Add Printing section

refer to (not navbar) classes used for newbies
navbars don't print, so add example of a print-only alternative

* typos, add links

typo in {% example %}
add links to component pages

* grammar

* Add a dropdown with divider to the main example

* change id name to stop travis error

I assume id="camelCase" is the standard for id names, rather than the clearly superior id="underscore_words"

* review changes

still like to emphasise the foreign utility classes in the main example
bg-light's name is self explanatory (so its obvious where to look it up), but mr-sm-2's name isn't at first

* review changes

* grammar

* .fixed-top/bottom don't reserve space on the screen

... as they are position:fixed. 
better wording welcome

* copyediting

- rewrite utils line and link to the utils pages
- restore the paragraphs to the placement section
- fix formatting and grammar
2017-10-18 10:26:33 -07:00
Andres Galante
008e0b5b68 Improves forms migration guide, docs, and scss (#24348)
* fixes migration forms guides

* removes container from Horizontal form

* adds col-form-label sizes on form docs

* removes .form-control-label from forms.scss

* add note to migration
2017-10-18 10:11:35 -07:00
Andres Galante
217d344fa8 Remove uncessary col-form-label from form row docs (#24335) 2017-10-18 19:59:30 +03:00