0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
Andres Galante
8df34b075a Change the text color to dark on bg color warning examples (#24805) 2017-11-17 06:57:49 +02:00
XhmikosR
b67a4be8de
Minor Markdown consistency cleanup. (#24605) 2017-10-30 23:53:57 +02:00
Paweł Kuna
d51a6c8db3 Add table-row in documentation (#24551) 2017-10-26 09:33:41 +03:00
Mark Otto
6ef998628d improve visual appeal of examples 2017-10-22 19:35:42 -07:00
Mark Otto
964356464c combine 2017-10-22 19:34:24 -07:00
Mark Otto
2f8d3a3d8c line break 2017-10-22 19:34:06 -07:00
Mark Otto
58f4f1b723 Merge branch 'v4-dev' of https://github.com/aavmurphy/bootstrap into aavmurphy-v4-dev 2017-10-22 19:33:52 -07:00
XhmikosR
fbd42af6ca Reduce whitespace liquid outputs. (#24470) 2017-10-22 14:53:06 +03:00
Andrew Murphy
c600176c2a another ; 2017-10-19 21:34:45 +01:00
Andrew Murphy
b69d535822 formatting 2017-10-19 21:22:40 +01:00
Andrew Murphy
8504f68815 typo 2017-10-19 21:15:07 +01:00
Andrew Murphy
d578117c73 suggested changes 2017-10-19 21:14:08 +01:00
Mark Otto
fc94de5b8b typo 2017-10-19 12:23:29 -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
Gijs Boddeus
07034cb3b0 fix typo in flex.md (#24431) 2017-10-19 01:01:48 -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
Andrew Murphy
5114a4758d Use the 'spacing' template. More examples
The most important change is to say "for the named breakpoint ( `sm`, `md`, `lg`, `xl`) and above".
The existing "hiding elements para" (not yet live) is exactly what's needed.
Keep simple for "english as a second language" people (e.g. hide not hidden)
2017-10-18 22:28:09 +01:00
XhmikosR
1c24bdeca8 Remove double spaces. 2017-10-04 13:01:15 +03:00
Mark Otto
61cc1d8ca6 fix up colors, closes #23325 2017-10-02 20:57:24 -07:00
Herst
aae11ab6ab Added type="button" to <button>s without any type (#23866)
https://github.com/twbs/bootlint/wiki/W007
2017-10-02 18:59:37 -07:00
Andres Galante
2f459afb97 Adds text-muted and text-white to the examples on color utilities (#23877) 2017-10-02 18:58:33 -07:00
Ray Villalobos
87c9e3aa5d Add auto to the list of sizes (#23786)
I feel like `auto` is missing from the values here and that it should be there. Although it is mentioned below, only a single use case, whereas in other sections it appears with the option to set the left margin of an element to auto, for example.
2017-09-27 10:43:43 +03:00
Andres Galante
7e3ff772d0 Add light weight to text utility classes (#23970) 2017-09-17 09:53:05 +03:00
Rami Yushuvaev
65cb97b3d6 Add an introduction and a table with examples 2017-09-09 17:43:12 -07:00
Rami Yushuvaev
256c539e26 review updates 2017-09-09 17:43:12 -07:00
Rami Yushuvaev
0e3b90c85d Hiding Elements: new doc section in display.md
This new section will replace the `hidden-*` class. https://v4-alpha.getbootstrap.com/layout/responsive-utilities/

More info can be found here at https://getbootstrap.com/docs/4.0/migration/#responsive-utilities
2017-09-09 17:43:12 -07:00
Mark Otto
d2973b3710 remove mention of clearfix source from docs, closes #23578 2017-08-20 14:08:57 -07:00
Simon Podlipsky
b5a2441f1b Changed Typography title to Text 2017-08-20 11:32:15 -07:00
Peder Johnsen
6a49f88d8f Small typo on screenreaders page (#23416)
Just fixes small typo
2017-08-14 18:09:16 -07:00
Dillon Chanis
9706ce72c9 Add clear description and use case with example 2017-08-10 22:45:35 -07:00
Dillon Chanis
b1b8aedf0e Add use case description and example 2017-08-10 22:45:35 -07:00
Mark Otto
3fbdedbf22 Add basic property-value utils for position 2017-08-10 22:35:38 -07:00
Mark Otto
0356a1417a Merge branch 'new-home' into v4-dev 2017-08-10 20:46:25 -07:00
XhmikosR
fd113b93f6 Fix flex order generated code and a typo. 2017-08-09 08:29:52 -07:00
Mark Otto
da3185ee0a new homepage, new assets, clean out old stuff 2017-08-07 21:35:43 -07:00
XhmikosR
ef1c729156 Update docs and carousel example for order-. 2017-07-30 14:00:14 -07:00
Casper
6797e84215 fixed doc vertical-align.md "inlie" to "inline" (#22984) 2017-07-04 09:32:41 +02:00
Mark Otto
6f073edc79 Add .text-truncate class. We already had a mixin and documented the class, so this fixes that. 2017-07-01 23:05:51 -07:00
Mark Otto
502856b5c2 update name 2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f Redo the "responsive helpers" files
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -07:00
Mark Otto
58816b38b7 Move /utilities/typography to /utilities/text to match SCSS file name 2017-07-01 23:05:51 -07:00
Mark Otto
25d5ffc9f9 Move /utilities/flexbox to /utilities/flex to match name of SCSS file 2017-07-01 23:05:51 -07:00
Mark Otto
4554d74221 update redirect_from on docs pages 2017-06-30 15:04:10 -07:00
Mark Otto
9bfbee3503 add border color utilities 2017-06-25 18:39:14 -07:00
Mark Otto
fc053ed096 update background utils 2017-06-25 18:16:37 -07: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
3e25ebb587 document it 2017-06-17 13:13:47 -07:00
Mark Otto
b2c1e89c6a update urls 2017-05-29 23:32:28 -07:00