Commit Graph

17421 Commits

Author SHA1 Message Date
Mark Otto 1cfbb8305a
Add some documentation on using CSS vars (#25176)
* Add some documentation on using CSS vars

Fixes #25147

* link to MDN doc
2018-01-02 22:58:40 -08:00
Mark Otto 460849ddcd
Validation tooltip example (#25143)
* Add additional form validation examples

Fixes #24811.

This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs.

* Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element

* update ids

* finish docs paragraph, mention position: relative
2018-01-02 21:57:56 -08:00
Martijn Cuppens d66875d0e6 Remove double borders for custom select and custom file
Fixes #25168
2018-01-02 21:57:10 -08:00
Mark Otto 2dc5762f96 Update pagination focus styles
- Drops the hover-focus mixin for standard :hover
- Adds explicit :focus styles to match button, input, etc with a box-shadow
- Adjusts z-index values to ensure the layers go initial, hover, active, focus

Fixes #24838.
2018-01-02 21:49:01 -08:00
Mark Otto e3e4d0389d dist 2018-01-02 21:19:29 -08:00
Mark Otto 1e6a0f4ff3 add example of textarea to docs 2018-01-02 21:18:14 -08:00
Mark Otto 9474d06b1b Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into gijsbotje-patch-8 2018-01-02 21:14:02 -08:00
Patrick H. Lauke 8462cc2a19
Expand keyboard advice for tooltips, clarify what `manual` trigger does in table 2018-01-02 19:35:13 +00:00
Patrick H. Lauke 8bb39f27bd
Remove incorrect roles from accordion, tweak/expand accessibility info, use buttons for accordion
* Remove incorrect roles from accordion, tweak/expand accessibility info
* Use `<button>` elements rather than links for the accordion
2018-01-02 18:19:47 +00:00
Mark Otto dccd0037d8 improve additive/subtractive border util docs 2018-01-01 20:51:20 -08:00
Mark Otto 750291b251 Darken border color slightly 2018-01-01 20:50:59 -08:00
Mark Otto 7acfa61ec0 Merge branch 'docs-border-utilities' of https://github.com/ysds/bootstrap into ysds-docs-border-utilities 2018-01-01 20:32:44 -08:00
Mark Otto 44eebe40de dist 2018-01-01 20:29:19 -08:00
Gijs Boddeus 48c45992a8
Textarea support for input groups
The append and prepend classes vertically aligned items in the center
For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned
these changes fix that so everything is aligned how it should be
2017-12-31 15:38:29 +01:00
Martijn Cuppens ae71e71fe1 Allow nested structure for accordions (#25121)
This commit allows nested structures for accordions. Also a part of
the documentation about data-children is removed because this
functionality didn't work and it's not applicable anymore.

Tests with the collapse accordion are also a bit adjusted to the new
situation.
2017-12-31 14:53:33 +02:00
Martijn Cuppens bee859cc9c docs: Fix overflow issue in IE. (#25142) 2017-12-31 14:45:26 +02:00
ysds e290d8f527 Add description about positive border 2017-12-31 15:09:43 +09:00
ysds 863cb131c9 Add positive border utilities 2017-12-31 14:52:02 +09:00
Mark Otto d08eb55dc9 dist 2017-12-30 21:34:23 -08:00
ysds 6b5a2ff626 Apply of #25068 to input group 2017-12-30 20:59:57 -08:00
Andres Galante 5f3856ce29 removes hardcoded value for nav-link padding 2017-12-30 20:58:25 -08:00
Kramb 8c87e019a5 Add modal-dialog-centered class to vertically centered modal example. 2017-12-30 20:57:22 -08:00
Mark Otto 43c551e97d
Outline active focus (#25145)
* Base the outline button :active color on the background, fixing a contrast issue

* Only apply focus outline to active when it's focused
2017-12-30 20:55:35 -08:00
Mark Otto 5b8eaffc12 dist 2017-12-30 19:41:36 -08:00
Mark Otto fc942ce310 Mention -file-text change in Migration docs (#25144)
Fixes #25127.
2017-12-31 02:38:09 +02:00
Kevin Ruscoe d90dddf5e0 Add `.order-0` to the flexbox grid ordering helpers. (#25137) 2017-12-31 02:28:12 +02:00
Raaj Trambadia 2b41526b4f Remove Entypo from "Preferred Icon Sets". (#25141)
The download link for Entypo (on its website) is invalid. It's a Dropbox link which now results in a 403 error. The website was last updated in 2015 (as seen in the footer).
2017-12-31 02:22:46 +02:00
XhmikosR e0e9bc8b58
Move inline JS outside of HTML. (#25140) 2017-12-31 02:11:59 +02:00
XhmikosR bf0e753517
Update devDependencies and gems. (#25083) 2017-12-31 02:03:22 +02:00
XhmikosR 06d8e58e9f
Add `docs-github-serve` script for local serving the `github` target. (#25139) 2017-12-31 01:54:42 +02:00
XhmikosR 6a17e639d6 Remove trailing spaces. 2017-12-31 01:42:19 +02:00
XhmikosR 45b649f99d application.js: make the clipboard button selector more restrictive. 2017-12-31 01:42:19 +02:00
XhmikosR a6996ef38e layout/overview.md: fix double copy button. 2017-12-31 01:42:19 +02:00
Mark Otto 3ab82e58e6 drop "simply" and tweak a few other bits 2017-12-30 18:01:36 +02:00
Alberto bcc62232d8 Updated docs for translating "Browse" text into other languages
"Choose file ..." text is now written inside the label tag, so the translation is outside the css scope. 
$custom-file-text variable should only contain "Browse" translations.
2017-12-30 18:01:36 +02:00
Andrew Timson daf9d15e2d Include JavaScript map files in NuGet packages (#25080) 2017-12-30 17:33:28 +02:00
Mark Otto 7adaa2f6ef Update Theming docs for removing map items (#25108) 2017-12-30 17:29:36 +02:00
Andres Galante d62a6d32ca Remove unnecessary `align-middle` class from Navbar docs (#25116) 2017-12-30 17:19:27 +02:00
Herst 16ee64baf4 Wall of Browser Bugs: position:sticky in Edge done (#25099)
Position: sticky is included in Edge 16
2017-12-30 17:08:58 +02:00
Herst 84c8d5f613 Wall of Browser Bugs: Chrome SVG perf bug (#24673) (#24751)
https://crbug.com/781344
2017-12-30 17:03:46 +02:00
Mark Otto 625736b17b Darken $gray-600 by 10% for AA contrast (#25123)
Closes #23319. Both `.text-muted` and `.btn-outline-secondary` (and indeed all secondary items) make use of `$gray-600`. New value provides a contrast ratio of 4.69.
2017-12-29 21:03:35 +00:00
Mark Otto 8ffbb74e81
Remove margin-bottom on .bd-example (#25048) 2017-12-28 10:47:34 -08:00
Mark Otto 3e0dd5a5d7 Add examples of disabled tooltip and popover triggers 2017-12-28 10:26:43 -08:00
Mark Otto dd621e5511
Improve lint vars output messaging (#25049) 2017-12-28 10:24:08 -08:00
Mark Otto 57083c3042 Expand border utilities to include top, right, bottom, left 2017-12-28 10:23:04 -08:00
ysds b97cb2aa74 Remove blank line 2017-12-28 10:21:14 -08:00
ysds 0b771174d5 Add docs about active menu items (#24993) 2017-12-28 10:21:14 -08:00
Mark Otto ee83a963f3 linting 2017-12-28 10:20:34 -08:00
Mark Otto a6ae1cc50d Move alert theme-color() levels to variables
Closes #24341
2017-12-28 10:20:34 -08:00
Mark Otto be3aa437a1 add note about single vs group 2017-12-28 10:19:27 -08:00