1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
Commit graph

20 commits

Author SHA1 Message Date
Mark Otto
fa3de5cbd8 Add example of a Spanish translation for custom file input (#25302) 2018-01-15 09:19:12 +02:00
Mark Otto
dccd0037d8 improve additive/subtractive border util docs 2018-01-01 20:51:20 -08:00
Mark Otto
8ffbb74e81
Remove margin-bottom on .bd-example (#25048) 2017-12-28 10:47:34 -08:00
Mark Otto
572193524f remove popover static example 2017-12-26 21:50:23 -08:00
Mark Otto
0a420124ea
Restyle code element, remove docs example overflow, improve docs examples (#25054)
* Restyle code element, clean up variables

- Removes the padding and background-color
- Changes the color to a brand color ()
- Add new variables to kbd element styles to account for removing the code ones
- Remove overrides that were needed previously

* only break between words, and override it in the pre

* make file inputs 100% wide

* scope custom file changes in input group for sizing

* shorter button labels for responsive

* narrower cards

* button was too wide

* downsize

* fewer links in pagination

* redo cell text

* improve overflow docs
2017-12-22 16:49:57 -08:00
Patrick H. Lauke
05d88ca285 Fix docs horizontal scrollbar (#24878)
* Fix docs horizontal scrollbar in Components > Modal

* Add overflow to docs example class

* Drop the handleUpdate() variant

While I understand the variant covers the "get a particular plugin instance" case from http://getbootstrap.com/docs/4.0/getting-started/javascript/#programmatic-api it seems weird that we do it here but not everywhere else in the docs (randomly checking other pages, we seem to stick to the documented methods as written on those pages). As this isn't properly explained as is, and as it adds nothing (more of a preference for authors), it would be easier to just drop the variant and stick with the documented method as outlined later on in the same page (avoids having to go off on a "why should you use this instead of that" tangent here).
2017-11-27 11:23:05 -08:00
XhmikosR
52d99a887e Refactor a few selectors. (#24404)
1. move a couple of them before the more specific ones.
2. change nesting to be under the same parent selector
3. use the ampersand more
2017-10-23 00:17:28 +03:00
XhmikosR
29d58fb758 Enable stylelint's function-comma-space-after. (#24501)
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
XhmikosR
ebc82db8ef Enable stylelint's no-duplicate-selectors rule. 2017-10-07 00:11:40 +03:00
XhmikosR
7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
Mark Otto
52310bfd69 Rearrange margins for .highlight (#23396)
Only applies the margins to .highlight instances within .bd-content, thus negating any need for #23279.
2017-08-13 16:44:52 -07:00
Gijs Boddeus
9a03d7efc6 fix docs modal example fade out
the z-index was only corrected for `.modal.show` which made the modal drop behind the header and backdrop when fading out
simply dropping the `.show` from this selector will correct this issue
2017-08-12 22:08:09 +02:00
Mark Otto
e47cc747f6 update usage elsewhere 2017-06-30 09:01:39 -07:00
Mark Otto
964e06800a Drop the old $gray- variables for the new color range 2017-06-29 23:15:27 -07:00
Mark Otto
2f1bcaafa2 Merge branch 'v4-dev' into colors-redux 2017-06-25 18:42:14 -07:00
Mark Otto
9bfbee3503 add border color utilities 2017-06-25 18:39:14 -07:00
Mark Otto
b4879ec40f remove bg styles 2017-06-25 18:14:02 -07:00
Johann-S
38ddf9ec28 Fix modal overflow with our navbar documentation and fix typo (#22864)
* Fix modal overflow with our navbar documentation and fix typo

* Fix z-index backdrop and modal with popover/tooltip example
2017-06-21 11:47:14 +02:00
Mark Otto
597e9f8618 remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map 2017-06-18 02:57:16 -07:00
Mark Otto
3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00
Renamed from docs/assets/scss/_component-examples.scss (Browse further)