aboutsummaryrefslogtreecommitdiff
path: root/less/grid.less
AgeCommit message (Collapse)AuthorFilesLines
2013-10-11Combine separate efforts for grid mixins into one, cleanup and reorganizeMark Otto1-275/+22
2013-09-11Another fixupZlatan Vasović1-2/+2
2013-09-03fixes #10406: Update grid to use width on .container instead of max-width as ↵Mark Otto1-3/+3
IE8 improperly computes width
2013-09-01Merge branch 'master' of github.com:twbs/bootstrapMark Otto1-4/+4
2013-09-01tweak #10336 to double up on the hyphen-minuses to better approximate a long ↵Chris Rebert1-4/+4
dash
2013-08-31Replace invalid US-ASCII character "\xE2")Kevin Granger1-4/+4
Replace invalid US-ASCII character "\xE2") '—' => '-'
2013-08-24Deprecate container-{device} vars for container-{size} classes; updates ↵Mark Otto1-4/+4
customizer and grid to do the same
2013-08-21deprecate @screen-{phone,tablet,desktop} varsChris Rebert1-2/+2
2013-08-17it's levi-OH-sa, not levi-oh-SARMark Otto1-1/+1
2013-08-17More consistent naming with screen size variables using xs, sm, md, and lgMark Otto1-2/+2
2013-08-15fixes #9663: second part, reset pushes and pulls in md and lg grid tiersMark Otto1-0/+4
2013-08-15Fixes #9663: Add offset overrides for medium and large grid tiersMark Otto1-0/+2
2013-08-12fixes #9258: no more float bug with full-width grid columns by removing ↵Mark Otto1-9/+17
float on all .col-*-12 classes
2013-08-12undo the grid max-width boundary because it makes offsets kinda borked ↵Mark Otto1-4/+0
(you'd have to set twice, for medium and large, in most cases--and that sucks)
2013-08-12Media query (grid and responsive utilities) overhaulMark Otto1-51/+145
Grid classes have been changed to account for a fourth set of classes, meaning we now have XS, S, M, and L options. Specifically, we made the following changes: * Renames `.col-` to `.col-xs-` * Adds `.col-md-` for devices 992px wide and up * Remaps `.col-lg-` for devices 1200px wide and up Alongside that, we've updated our media queries to better handle advanced grid layouts: * All column classes now kick in when they hit a `min-width`, undoing the #9128 fix in https://github.com/twbs/bootstrap/commit/db45a60cc86190a060f0baf0b3961cb c690f3a65 * All column offsets, pushes, and pulls are scoped to an appropriate range, meaning a `min-width` and `max-width` (thanks for the idea, @eratzlaff) We've also modified the widths of our grid containers for the small device grid (now a max 720px instead of 728px) and large device grid (now a max 1140px instead of 1170px) to avoid horizontal scrollbar problems in Firefox (likely due to box-sizing, which is why we didn't see it in 2.x). Similarly, we've updated the responsive ultility classes to match the new four media query approach of the grid system. That means we've: * Added new `.visible-xs` and `.hidden-xs` classes * Reassigns visible and hidden classes for small, medium, and large to matching grid system media queries * Updates docs examples to match grid system and account for fourth utility range ----- Fixes the following: * #9135: fourth grid tier * #9302: undoes previous range change for small grid system, so no need to update any docs here * #8755: consistent grid and responsive utilities schemas) * #9195, #9216, and #9227: no more horizontal scrollbars
2013-08-05Scope tablet classes to tablets range onlyMark Otto1-1/+1
Fixes #9128
2013-08-03Greater standardization of sizing terminologyChris Rebert1-1/+1
In class names: * large => lg * small => sm * mini => xs ("Extra small") In screen size categories: * Tiny => Extra small
2013-08-01Added classes for lg-pull, lg-push, lg-offset, sm-pull, sm-push, sm-offsetJeff Tickle1-34/+72
2013-06-23Move grid offsets to desktop only (fixes #8229)Mark Otto1-13/+13
2013-06-23Fixes #8211: restore proper table grid class behaviorMark Otto1-4/+42
Needs work though—we shouldn't be setting this stuff with the attribute selectors, but it's the easiest solution for now.
2013-06-08Another grid updateMark Otto1-32/+41
* Update docs to include table of grid levels and behaviors * Change from .col-md to .col-sm to match existing size variables we use elsewhere * Keep .col-lg as-is though for simplicity as we won't likely add a fourth level of the grid * Combine responsive .container breakpoints with grid breakpoints in grid.less * Other misc docs updates
2013-06-03restore .col-*-12 classes for nowMark Otto1-1/+6
2013-06-03prep for less 1.4 with double parens in functionsMark Otto1-66/+66
2013-06-03fixes #8066: add missing % functions to grid less codeMark Otto1-22/+22
2013-06-02Move the grid offset, push, and pull classes to be tablets-up instead of ↵Mark Otto1-15/+15
desktop-up
2013-06-02Grid updatesMark Otto1-12/+101
- Removed mixins for generating grid classes - Thus, we manually declare every grid class, from 1-11 (12th unit is excluded as that's the same as no grid columns) - No more need for `.col` base class (yay!) - Negative indent the rows at tablets and above once again (ugh, still working through this part) - Add support for `.col-md` for tablet-specific grid columns - Still need to figure out offsets, pushes, and pulls on other devices—right now only available on desktop
2013-05-27Adding variables for container sizesAristeides Stathopoulos1-3/+3
2013-05-27using screen-size variables for gridsAristeides Stathopoulos1-3/+3
2013-05-16More row change ups:Mark Otto1-4/+0
* No more negative side margins * However, keep the negative margin for nested rows
2013-05-03use @screen-small var in grid.lessChris Rebert1-1/+1
Per comment by @nextgenthemes on/in cd06c5baac64a366
2013-04-30outdent the rows for tablets and aboveMark Otto1-0/+4
2013-04-28Merge pull request #7704 from twitter/bs3_moar_grid_changesMark Otto1-12/+18
BS3: Overhaul grid system once more
2013-04-27Adding media queries breakpoints variablesKevin1-3/+3
2013-04-26Back to two grid classes, .col and .col-lg-*Mark Otto1-12/+18
2013-04-02Add small grid for phones and tabletsMark Otto1-2/+10
2013-03-26New grid classesMark Otto1-3/+3
2013-03-15Overhaul the grid system and its docsMark Otto1-15/+4
* Add new grid mixins adapted from Preboot (http://github.com/mdo/preboot) * Drop the @grid-row-width and @grid-column-width variables * Add the @grid-float-breakpoint variable, as used in Preboot * Add support for .push* and .pull* classes for column ordering manipulation * Document all the things
2013-03-14Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wipMark Otto1-4/+4
Conflicts: less/grid.less
2013-03-10Set border-box globally insteadMark Otto1-4/+0
2013-03-06make less files compile with strict maths in 1.4.0Luke Page1-4/+4
2013-03-03fix row change at breakpointMark Otto1-0/+4
2013-01-17Simplify and bring back the grid mixin for generating spans and offsetsMark Otto1-33/+6
2013-01-17Update nav and add bounds for tablet containerMark Otto1-0/+4
2013-01-17Move grid/container styles to grid.less; update docs; add offsetting backMark Otto1-0/+50
2013-01-16Add in responsive for 1200px+ layout; increase padding for that viewport sizeMark Otto1-1/+0
2013-01-16Prevent grids from collapsing, fix affixed side nav for docsMark Otto1-0/+1
2013-01-15mobile-first navs, navbar, grids, and typeMark Otto1-1/+16
2012-12-20remove .hide specificity override from grid classesMark Otto1-4/+0
2012-11-30Remove more fluid grid stuffMark Otto1-0/+1
* No more fluid layout * No fluid grid overrides for tables.less * No more fluid example page
2012-11-30grid vars updatedMark Otto1-1/+1