0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

126 Commits

Author SHA1 Message Date
Mark Otto
069a80254f Document how to break equal width cols to multiple rows
Fixes #21287
2016-12-27 14:14:49 -08:00
Mark Otto
dac31ebf35 fixes #21445
remove broken example class from grid docs
2016-12-27 14:11:48 -08:00
Mark Otto
9d13fd3fe3 remove old flex utils, update docs to match 2016-12-24 14:21:04 -08:00
Mark Otto
800cfa24ad overhauls media object docs
- better copy and examples throughout
- callout on flexbug #12 for inline elements like links and images (which is the problem in #20408)
- add order section
2016-12-22 21:29:48 -08:00
Mark Otto
eb2e1102be Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)
* remove the $enable-flex variable option

* remove bootstrap-flex.css dist file and it's grunt task

* remove the separate flex css file for docs; it's all the same now

* remove flexbox docs (porting some to the main grid docs in next commit)

* clean up few grid docs bits to simplify copy, start to mention flexbox

* port relevant flexbox-grid.md content to grid.md

- clean up mixins
- update how it works section
- bring over sizing and alignment sections

* remove the $enable-flex from the options.md page

* update lead paragraph to mention flexbox

* update migration to mention loss of ie9 support

* remove mention of flexbox dist file

* clarify IE support

* making a note

* remove flexbox variant mentions from component docs

- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default

* remove $enable-flex if/else from sass files

* remove flex dist files

* update scss lint property order to account for flex properties

* linting

* change to numberless classes for autosizing, wrap in highlighting div

* bump gruntfile and postcss to ie10

* redo intro sections

* rearrange

* phew, redo hella grid docs

- rearrange all the things
- consolidate some bits

* remove reference to flexbox mode

* more border action for demo

* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Mark Otto
d04eb86715 clarify that 2016-12-10 17:03:32 -08:00
Starsam80
08e36a3cc9 Rename .col-xs to .col + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter

* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
b1e8d60348 Remove 'xs' from text utilities (#21217) 2016-11-26 20:33:46 -08:00
Mark Otto
ec5e7e5e5a Add .no-gutters option to remove gutters from rows (#21211)
Fixes #19107.
2016-11-26 12:13:15 -08:00
Fumito Mizuno
050ba7390c grid-breakpoint fix
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186

current document shows 544px, but it should be 576px
2016-11-26 15:47:40 +09:00
Mark Otto
83c8bfa30d Fixes #21195: Add more table of contents to pages with longer contents 2016-11-25 14:01:06 -08:00
Mark Otto
6910516d2c Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
b4dbc69f0e Fix broken and redirected links. 2016-11-09 01:14:48 +11:00
Eric Nolte
cec0c7c6d6 Update docs to reflect new breakpoint naming convention 2016-11-04 10:54:34 -06:00
Mark Otto
f734814f6b Make spacer utils responsive (#20926)
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Mark Otto
a26080c047 rework flex grid autolayout docs
Adds clearer headings to each section, reworks some copy to be more direct.
2016-10-27 09:50:25 -07:00
Mark Otto
26c33fa5ed unrelated change; bold that stuff to emphasize it 2016-10-27 09:49:57 -07:00
Mark Otto
e2068d0e53 Merge branch 'auto-flex-col' of https://github.com/alanmoo/bootstrap into alanmoo-auto-flex-col 2016-10-27 09:41:33 -07:00
Mark Otto
115a37db1a Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest 2016-10-27 09:31:38 -07:00
Mark Otto
3cc0239903 Document our z-index values
Fixes #18532
2016-10-27 09:26:23 -07:00
Mark Otto
abc9a526d5 Fixes #20498: Warn about flexbox bugs in our flex grid docs 2016-10-27 09:03:45 -07:00
Alan Mooiman
4538ac9b56 Add documentation for col-{breakpoint}-auto 2016-10-24 11:23:56 -04:00
Mark Otto
b4d8367dbc Merge pull request #20864 from twbs/fix-20688
Update the grid table heading to clarify max width over width
2016-10-09 14:57:31 -07:00
Mark Otto
821f719367 Merge pull request #20684 from twbs/v4-utils
v4: The Utilities Update
2016-10-09 14:54:57 -07:00
Mark Otto
6c867667a1 Merge branch 'v4-dev' into v4-utils 2016-10-09 14:36:43 -07:00
Mark Otto
13cc81c50c Update grid docs mention of gutter width value (no more rems for awhile now) 2016-10-09 13:51:59 -07:00
Mark Otto
1d0d0dac76 Update grid docs to use new values for grid breakpoints and containers 2016-10-09 13:51:05 -07:00
Mark Otto
0ba05f4da9 Update the grid table heading to clarify max width over width
Fixes #20688
2016-10-09 12:42:36 -07:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
4699fd4b40 fix typos 2016-10-02 19:23:10 -07:00
Mark Otto
49153ecf4f Merge branch 'customizable-grid-gutters-per-breakpoint' of https://github.com/pixelbandito/bootstrap into pixelbandito-customizable-grid-gutters-per-breakpoint 2016-10-02 19:10:25 -07:00
Mark Otto
7bf868a709 v4: Social meta tags (#20825)
* descriptions for getting started pages

* descriptions for layout

* add content page descriptions

* more descriptions, updates to some existing ones

* correct site url

* add social stuff to config for twitter cards

* add twitter meta tags; use large image for homepage and regular card for all others

* add the assets

* more site config

* more social shiz to partial, remove existing meta for the partial, remove page title from homepage for simpler if statements
2016-10-02 18:19:47 -07:00
Kovah
0ef64d89f7 Add breakpoint-specific gutters. 2016-09-13 23:02:56 -05:00
Nick
3f01134031 Grid mixins docs should match source code (#20705) 2016-09-12 22:31:05 -07:00
Mark Otto
a48e819921 Fixes #19466: Document the flexbox order utils (#20697) 2016-09-11 22:31:26 -07:00
Mark Otto
0be876359e Update docs to use new spacing util class names 2016-09-08 22:16:28 -07:00
Mark Otto
75232e6720 Merge pull request #20475 from califrench/patch-1
Updated docs with extra auto resize example
2016-08-21 23:14:48 -07:00
Mark Otto
86e3a35161 add some margin utils 2016-08-19 21:20:00 -07:00
Scott Gauthreaux
98a8e9947a Updated docs with extra auto resize example
I updated the doc with an example of a flex layout of 3 columns where the center column is specified as a `.col-xs-5` to show that other columns will resize no matter what the width of the center column.
Experienced bootstrap developers will expect to have to use an even number for the center column width when in reality any size will work.
I believe this is quite useful information and doesn't add too much to the docs.
Another option would be to make that initial example a `.col-xs-5` instead of a `.col-xs-6` to highlight this fact in the first place.
2016-08-06 15:33:31 -07:00
Mark Otto
8e9a9a5960 Enable flexbox grid CSS on our docs page
- Creates new flexbox grid Sass file in our docs assets
- Updates the Gruntfile to compile said new Sass file and minify the output
- Update notice on flexbox docs page for how it works
- Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-26 21:09:39 -07:00
Mark Otto
39732a0023 30px not 15px 2016-07-25 20:39:19 -07:00
Mark Otto
55795e8845 Customizing grid docs updates to followup on #19099
- More details on columns and gutters
- Break it into clear sections
2016-07-25 20:36:30 -07:00
Mark Otto
ded1bf98d7 One more follow up to #19099, #20349, and #20361
Remove mention of base class and fix grid examples
2016-07-25 20:27:55 -07:00
Mark Otto
b36e6dae2f Merge branch 'v4-dev' into v4-grid-fixes 2016-07-23 20:40:52 -07:00
Mark Otto
a8879c8f82 Follow-up to #19099 for grid fixes
- Restores two-mixin approach to generating semantic grid columns (now with 'make-col-ready' and 'make-col')
- Removes need for .col-xs-12 by restoring the mass list of all grid tier classes to set position, min-height, and padding
- Adds an initial 'width: 100%' to flexbox grid column prep (later overridden by the column sizing in 'flex' shorthand or 'width') to prevent flexbox columns from collapsing in lower viewports
2016-07-23 17:12:43 -07:00
Raphael Luba
d71c080ab5 Replace renamed classes in grid push/pull example (#20330)
The example for column ordering still referenced the old push/pull class names.
2016-07-20 08:37:54 -07:00
XhmikosR
c2189876ee Remove trailing space.
[ci skip]
2016-07-12 22:27:06 +03:00
Mark Otto
7071fe9c1b Fixes #17089 a bit 2016-06-12 21:18:23 -07:00
Bass Jobsen
3e40121cf8 Update overview.md
endtag for the highlight
2016-04-24 11:54:50 +02:00