aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins/_grid-framework.scss
AgeCommit message (Collapse)AuthorFilesLines
2020-02-03Split grid & containers (#29146)Martijn Cuppens1-64/+0
2020-01-25Prevent grid with default cols from breaking when large pre was present (#30049)Jens Luyten1-0/+1
2019-10-17Add make-col-auto mixin (#29367)Mark Otto1-3/+1
2019-08-30Allow override default col widthysds1-0/+7
2019-05-23Helpers & utilities split (#28445)Martijn Cuppens1-8/+0
2018-12-14Remove redundant brackets (#27768)Martijn Cuppens1-2/+2
2018-09-02Set max-width to 100%Martijn Cuppens1-1/+1
Fixes #27114
2018-08-19#26975: remove grid columns min heightMartijn Cuppens1-1/+0
2018-01-16Add order-last grid class (#24915)Casper Bornebusch1-6/+4
* Add order-*-last grid class * copy updates
2017-12-31Add `.order-0` to the flexbox grid ordering helpers. (#25137)Kevin Ruscoe1-1/+1
2017-10-02Add order first to grid (#24202)Luke Frake1-0/+4
* Add first class to grid framework to add negative ordering * Add order-first explination to the docs
2017-09-17Minor Sass cleanup and consistency changes. (#23959)XhmikosR1-2/+2
2017-08-20Restore grid offset classesMark Otto1-0/+9
Fixes #23360 by restoring just the offset class generation to our grid framework mixins. Also restores the `make-col-offset` mixin. Docs have been restored to illustrate this behavior and merged with the newer margin utilities examples.
2017-06-30Update _grid-framework.scssMark Otto1-1/+1
2017-06-30Drop offsets and push/pull for new order variantsMark Otto1-14/+3
2017-06-30remove unused mixin, fix variableMark Otto1-3/+3
2017-06-30remove grid gutter sass map as it's output css was all jacked upMark Otto1-2/+2
2017-06-17update commentMark Otto1-1/+1
2017-05-28keep width, add commentMark Otto1-1/+2
2017-05-28Fix responsive .col-{infix}-autoMark Otto1-1/+1
Responsive automatic column resets weren't working because they inherited their `max-width` from lower grid tiers. This was because we were resetting the `width`, not the `max-width`.
2017-03-26fixes #22111Mark Otto1-1/+2
- add .col-*-auto to the extend in our grid framework mixins so it gets padding - this means we can avoid the col-12 classes in our docs for the responsive variants
2016-12-21Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)Mark Otto1-20/+12
* 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-11-28Remove lots of duplication + minor cleanup (#21238)Starsam801-63/+20
* Remove comment that duplicated some code * Use transition mixin whenever possible * Create a new function to reduce duplication * Use the new `breakpoint-infix` method
2016-11-27Rename `.col-xs` to `.col` + some other cleanup (#21222)Starsam801-39/+50
* Use `breakpoint-min` instead of a counter * Remove 'xs' from flexbox grid
2016-11-04Update grid mixins to omit lowest breakpointEric Nolte1-12/+44
The new breakpiont-limited class pattern is to omit the breakpoint size when using the lowest size eg. col-xs-12 to col-12. This commit implements this pattern to the grid system.
2016-10-20Create col class for auto flexbox columnsAlan Mooiman1-0/+4
.col-xs-auto, .col-sm-auto, etc.
2016-10-02Flexbox grid updates (#20829)Mark Otto1-2/+5
* Fixes #20775 without adding extra width and an important flag * Since we're now getting the extend, we don't need the extra position relative * rerrange * getting min-height from the extend already
2016-09-13Add breakpoint-specific gutters.Kovah1-7/+3
2016-09-04Remove unused $variables in grid mixins (#20597)Franco Moya1-1/+1
2016-07-25restore the .col-{bp} class for flexbox auto layoutMark Otto1-0/+13
2016-07-23lintingMark Otto1-1/+1
2016-07-23Follow-up to #19099 for grid fixesMark Otto1-11/+21
- 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-04-06Update offset class name in comment in _grid-framework.scssLionel Erard1-1/+1
[skip sauce] [skip validator]
2016-02-17Add $gutter parameter to make-col mixin; fixes #19147Chris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-16fixes #19148 as follow up to #19099: ensure local mixin variable is used for ↵Mark Otto1-2/+2
in make-grid-columns mixin
2016-02-06lintingMark Otto1-2/+2
2016-02-06Ugh, Sass doesn't do extends across media, so we can't use placeholder hereMark Otto1-1/+4
2016-02-06property order and white spaceMark Otto1-2/+2
2016-02-06More grid updatesMark Otto1-9/+5
- 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-06flip things around again, no more base class, try out some new stuff to keep ↵Mark Otto1-5/+13
responsive flex grid working
2016-02-06Revamp grid classes to require .col base class and improve flexbox grid ↵Mark Otto1-16/+2
classes with auto layout via flex: 1
2016-01-14Allow custom breakpoint config to be passed on by mixins which nest media ↵Chris Purssell1-1/+1
query mixins.
2015-12-08Remove useless .col-*-offset-12 and .col-xs-offset-0 classesChris Rebert1-1/+11
Fixes #18036 [skip sauce] [skip validator]
2015-08-20Fix -flex compile on Sass Ruby #17046Gleb Mazovetskiy1-6/+4
2015-04-27stub out flexbox grid variation via -flexMark Otto1-1/+5
2015-01-06rename media-breakpoint-{min,max} => media-breakpoint-{up,down}Chris Rebert1-1/+1
2014-12-24Automate breakpointsGleb Mazovetskiy1-52/+23
Breakpoints and container widths are now defined as maps.
2014-12-07Refactor grid-framework followupGleb Mazovetskiy1-47/+51
* Split up calc-grid-column, generate selectors in make-grid * Iterate over $grid-breakpoints and (pull, push, offset)
2014-12-07Refactor grid_frameworkGleb Mazovetskiy1-51/+37
A more idiomatic refactoring of the grid framework * Use %-placeholder instead of generating a class name list * Use if expression * Remove loop-grid-columns
2014-12-04fix vars order, remove rando grid class from mixinMark Otto1-1/+1