0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/site/static/docs/5.0/assets/img/examples
Mark Otto 3e2f9ab237
v5: Floating labels (#30449)
* v5: Promote floating labels example to component

- Adds new .form-floating
- Stubs out basics of a docs page
- Removes existing Example

* Update floating labels to support .form-select, make inputs and selects more consistent

- To do this, I made the .form-control and .form-select consistent in min-height vs height
- Removed some unused variables now
- Updated -color to be the -color because I don't know why this was any different before
- Update page to include some examples for layout, validation, and value
- Rewrite styles to not modify padding, but instead transform and opacity

* Streamline and bulletproof some things

- Apply some optimizations from code review
- Removed unecessary properties from the label
- Add some comments for what properties are required
- Move from fixed height for labels to height 100% so we can support textareas
- Improve docs a little bit, add ToC

* Move some values to variables, switch from scaling font-size to scale, update transforms

* Bring over changes from #30966 and add to them to tighten things up

* Delete the now unused example images

* Fix typo

* Allowlist the calc function

* Add transform-origin, update transform values

* Test out autofill fix

* Fix linter issue

* Mention it in the migration guide

* Bump bundlesize

* Add one more variable per review

* Shave .25rem off the height

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-27 20:45:48 -07:00
..
album.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
album@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
blog.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
blog@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
carousel.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
carousel@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
checkout.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
checkout@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
cover.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
cover@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
dashboard.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
dashboard@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
grid.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
grid@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
jumbotron.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
jumbotron@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
masonry.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
masonry@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-bottom.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-bottom@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-fixed.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-fixed@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-static.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbar-static@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbars.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
navbars@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
offcanvas.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
offcanvas@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
pricing.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
pricing@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
product.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
product@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sign-in.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sign-in@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
starter-template.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
starter-template@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sticky-footer-navbar.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sticky-footer-navbar@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sticky-footer.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
sticky-footer@2x.png Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00