]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Rewrite custom file input
authorMark Otto <markdotto@gmail.com>
Sun, 24 Dec 2017 06:47:37 +0000 (22:47 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 27 Dec 2017 00:14:08 +0000 (16:14 -0800)
commitb01e81ed36493fc687250643395e2d5c55b07e28
tree9ff49ccadb0dc61c2777291d12387ea6908cb1e1
parentc5209270ac542655769be72bd2cc6fb1f240d781
Rewrite custom file input

- Changes the wrapping label to a div so we can style the label instead of another element while also supporting form validation.
- Fixes form validation styles for custom file input (closes #24831).
- Updates docs with validation styles (also adding example feedback text while I was there) and new how it works section.
docs/4.0/components/forms.md
scss/_custom-forms.scss
scss/_variables.scss
scss/mixins/_forms.scss