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

86 Commits

Author SHA1 Message Date
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
Bass Jobsen
881f69c3ea Update overview.md
add the `@include media-breakpoint-only()` and `@include media-breakpoint-between` mixins
2016-04-24 11:44:01 +02:00
Chris Rebert
3c8e08e307 Grid docs: Remove !default from SCSS snippets
Fixup for fb4f5f0bf1
[skip sauce]
2016-02-08 04:01:58 -08:00
Mark Otto
fb4f5f0bf1 document how to customize grid tiers 2016-02-06 13:02:42 -08:00
Mark Otto
bc45addbc3 update grid vars docs 2016-02-06 13:02:28 -08:00
Mark Otto
7114e94d66 formatting 2016-02-06 13:02:10 -08:00
Mark Otto
95f34be093 More grid updates
- Flexbox responsive behavior fixed with specific .col-{breakpoint} classes now added
- Dropped the make-col mixin in favor of a column-basics placeholder that we can extend across our grid infrastructure
- Updated docs to use required .col-xs-12 (as a safeguard for when folks enable flexbox mode--this isn't necessary in default grid mode)
- Update flexbox grid docs to include responsive docs, tweak some other bits too
2016-02-06 11:31:46 -08:00
Mark Otto
414997baa8 flip things around again, no more base class, try out some new stuff to keep responsive flex grid working 2016-02-06 10:51:59 -08:00
Mark Otto
2a678d4b88 document horizontal flex utils, update the classes for the middle vertical ones 2016-02-06 01:47:25 -08:00
Mark Otto
9a519bb7e3 Add vertical alignment docs for flexbox grid 2016-02-06 01:30:11 -08:00
Mark Otto
cac92017d3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 00:47:40 -08:00
Mark Otto
511b959ff9 Add flexbox grid page to the docs (still more content to add) 2016-02-06 00:46:50 -08:00
Mark Otto
a9e428a728 Update grid docs to include new required .col base class 2016-02-06 00:46:00 -08:00
Mark Otto
29dcf9ac62 Update grid mixins code snippets in the docs to include flexbox changes 2016-02-06 00:23:52 -08:00
Quy
4658147ff8 Remove extraneous character 2015-12-12 21:31:40 -08:00
Chris Rebert
6da5fa00e8 Merge pull request #18511 from bassjobsen/patch-15
Docs Responsive breakpoints from em to px
2015-12-12 15:55:10 -08:00
Bass Jobsen
6367155450 Using px rather than em values
Should close https://github.com/twbs/bootstrap/issues/18556
2015-12-13 00:23:55 +01:00
Bass Jobsen
4c5ba3e5dc Responsive breakpoints from em to px
Should close https://github.com/twbs/bootstrap/issues/18503
2015-12-09 21:26:38 +01:00
vsn4ik
f3aaccd46f Remove !default Scss flag in docs grid example 2015-12-09 00:20:37 +03:00
Chris Rebert
ade2ab1341 Remove non-responsive text alignment classes
These can be replaced by their `.text-xs-*` parallels.
This also avoids any complications from interactions between the responsive and non-responsive classes.
(e.g. `<div class="text-left text-md-right">`)

Refs #18300
[skip sauce]
2015-11-22 21:33:42 -08:00
Mark Otto
0240136e01 Merge pull request #17403 from twbs/use-px-for-window-sizes
Change grid and container sizes to px
2015-09-27 22:58:45 -07:00
Michael Käufl
b7bdde3d4c Filled leftover placeholder 2015-09-27 17:32:06 +02:00
Gleb Mazovetskiy
eabed0edf8 Change grid and container sizes to px
Changes grid and container sizes to `px`, as the
viewport pixel size does not depend on the font size.

The actual em values were inconsistent with the docs,
while the docs were not the same as the comments:

* `sm` breakpoint was 34em (544px) not 480px.
* `lg` container max-width was 60rem (960px), less gutter than `md`.
  Changed to 940px, same as Bootstrap 3.
* `xl` container max-width was 72.25rem which is 1140px not 1156px.
  Changed to 1140px matching the comment but not the docs.

Addresses #17070 and #17388.
2015-09-27 14:39:17 +01:00
Zearin
8e29c43c46 Fix usage of “its” and “it’s” 2015-09-07 10:07:35 -04:00
Mark Otto
d9125290ed Merge pull request #17207 from kkirsche/patch-9
v4 - Force linebreaks after grid tier names in v4 grid docs
2015-09-01 20:53:31 -07:00
Heinrich Fenkart
0da684ff85 Merge pull request #17275 from mattez/fix-docs-layout-grid
Fix anchors, fix naming consistency
2015-08-25 00:21:39 +02:00
Chris Rebert
1ec0c49358 Replace remaining instances of defunct .visible* classes in docs
.visible-xs(-block) => .hidden-sm-up

Fixes #17263.
[skip sauce]
2015-08-24 14:42:21 -07:00
Matěj Kříž
a1b38092e2 Fix anchors, fix naming consistency
I found non working anchors and some naming in consistency. I hope I fixed well. Have a nice day.
2015-08-24 16:30:46 +02:00
Mark Otto
018eef9894 Merge pull request #17140 from kkirsche/patch-12
v4 - Rendered example bin in grid docs should use sass
2015-08-22 20:28:01 -07:00
Mark Otto
37c84f144b nuke that page since it's now unused 2015-08-22 18:51:06 -07:00
Kevin Kirsche
cf5284f235 v4 - Force linebreaks after grid tier names in v4 grid docs
Fix #17176

Sorry, I f'd up the rebase in #17186
2015-08-21 08:04:44 -04:00
Mark Otto
bf2781d758 Merge pull request #17146 from kkirsche/patch-13
v4 - Add pixel values for the rem breakpoints and column sizes
2015-08-20 21:09:19 -07:00
Kevin Kirsche
5536facc68 Broken link in Sass mixins section of v4 docs
Fix #17177

Simplest example is using horizontal variants using rows.
2015-08-20 22:13:53 -04:00
Chris Rebert
8e6972b170 docs/layout/grid.md: Fix responsive utilities link 2015-08-20 18:34:59 -07:00
Heinrich Fenkart
66be25917a Docs: various fixes
Mostly links.
Fixes #17056.
2015-08-21 02:15:17 +02:00
Kevin Kirsche
ca9fdcee9c Add pixel values for the rem breakpoints and column sizes
Fix: #17145
2015-08-20 12:39:21 -04:00
Kevin Kirsche
5c03882aff Rendered example bin in grid docs should use sass
Fix #17129
2015-08-20 11:48:27 -04:00
Mark Otto
4cb324afab add redirects for all top level docs sections 2015-08-17 20:34:11 -07:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
28bcf047c8 container illustrations 2015-08-10 23:07:50 -07:00
Mark Otto
de2971c9cc update nav 2015-08-10 15:49:41 -07:00