aboutsummaryrefslogtreecommitdiff
path: root/scss/mixins/_grid.scss
AgeCommit message (Collapse)AuthorFilesLines
2023-11-10Fix typo in `_grid.scss` (#39387)Edwin1-1/+1
2023-09-12Fix dart-sass deprecation warning (#39030)Sebastian Blank1-1/+1
* Fix dart-sass deprecation warning * Fix wrong percentages --------- Co-authored-by: XhmikosR <[email protected]>
2022-07-18Fix typos in code (#36763)Marc Wrobel1-1/+1
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto1-10/+10
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
2021-11-01`make-col-ready()`: remove the unused `$gutter` variable (#34334)Michael Sørensen1-1/+1
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-10-05Add workaround for dart sass compile error (#35033)Kyle Tsang1-3/+4
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-07-29Revert "Allow individual grid classes to override `.row-cols` (#33621)" (#34612)Mark Otto1-7/+1
This reverts commit f2b47e1c8a263f4406255991af9fd55984c22a0e.
2021-07-26Clean up a couple CSS Grid issues (#34572)Mark Otto1-0/+24
- Moves the make-cssgrid() mixin to the grid mixins stylesheet - Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399) Co-authored-by: XhmikosR <[email protected]>
2021-06-22Fix another Sass division (#34332)Mark Otto1-2/+2
* Fix another Sass division * Revert the percentage division in the mixins for accuracy Co-authored-by: XhmikosR <[email protected]>
2021-06-22Update the divide() functionMark Otto1-1/+1
2021-06-17Fix lingering Sass math (#34281)Mark Otto1-2/+2
2021-06-17Remove a leftover sass:math module call (#34280)Mark Otto1-2/+0
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto1-5/+8
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
2021-06-03Allow individual grid classes to override `.row-cols` (#33621)Anal-Retentive Squirrel Hunter1-1/+7
2021-04-06Add equal column mixin (#32155)CFX1-3/+8
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto1-10/+10
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR1-5/+5
2020-09-15Remove unnecessary nesting selectorsXhmikosR1-1/+1
2020-08-06Remove flex: 1 0 100% from rows (#31439)Mark Otto1-1/+0
Co-authored-by: XhmikosR <[email protected]>
2020-06-09fix(grid): zero min-width on .col has too much side-effects (#30979)Gaël Poupard1-1/+0
Co-authored-by: XhmikosR <[email protected]>
2020-06-08Prevent `.row` from shrinking in flex container (#30940)Gaël Poupard1-0/+1
2020-04-18grid: checks for `$grid-columns > 0` (#30605)Catalin Zalog1-9/+11
Co-authored-by: Martijn Cuppens <[email protected]>
2020-04-16feat: checks for `$grid-row-columns` (#30606)Catalin Zalog1-3/+5
2020-04-15Add `bs-` prefixes to custom properties (#30591)Martijn Cuppens1-10/+10
2020-03-30Switch to custom properties to control grid gutter widths (#30475)Martijn Cuppens1-4/+23
2020-03-10Add row-cols-auto and responsive variantsMartijn Cuppens1-0/+4
2020-03-10bootstrap-grid.css: Only apply `box-sizing: border-box` to the columns ↵Martijn Cuppens1-0/+2
instead of using the universal selector
2020-03-10Bootstrap 5 gridMartijn Cuppens1-32/+8
2020-02-03Split grid & containers (#29146)Martijn Cuppens1-18/+65
2019-10-17Add make-col-auto mixin (#29367)Mark Otto1-0/+6
2019-08-30Allow override default col widthysds1-2/+3
2019-08-30CleanupMark Otto1-0/+11
- Rename and move the variable to variables file - Move code to the grid file - Use the mixin to generate our own classes - Wrap in a grid classes enabled conditional - Document the mixin
2019-05-05Configurable container padding (#28554)Martijn Cuppens1-3/+3
2018-12-14Remove redundant brackets (#27768)Martijn Cuppens1-6/+6
2018-12-14Add missing parameter to grid mixins. (#27841)Florian Lacreuse1-9/+9
2018-08-19#26975: remove grid columns min heightMartijn Cuppens1-1/+0
2017-10-05make-col-offset: Remove percentage if it's zero.XhmikosR1-1/+2
2017-10-02Switch to stylelint. (#23572)XhmikosR1-2/+2
2017-09-17Minor Sass cleanup and consistency changes. (#23959)XhmikosR1-3/+3
2017-08-20Restore grid offset classesMark Otto1-0/+4
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-08-13move max-width: 100% on .container to the root of the make-container mixin ↵Mark Otto1-1/+1
so it's not repeated at compilation (#22947)
2017-07-18make changes as per suggestion in #23100Chirag Modi1-2/+1
2017-07-18remove change which set from variable and make those in container classChirag Modi1-0/+1
2017-06-30drop the mixinsMark Otto1-23/+0
2017-06-30remove unused mixin, fix variableMark Otto1-10/+0
2017-06-30remove grid gutter sass map as it's output css was all jacked upMark Otto1-36/+18
2017-05-26Revert simplified grid column styles from #22376Mark Otto1-1/+5
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles. /cc @sachinsinghi
2017-04-07drop flex and max-width, just use widthMark Otto1-6/+1
2017-03-26Drop position relative on container that was added quickly in Alpha 6Mark Otto1-1/+0
2017-03-18Update scss mixins to comply with scss-linting rules (#22151)naicko1-1/+1
* Fixed some linting issues * Run npm tasks after scss cleanup * Revert "Run npm tasks after scss cleanup" This reverts commit 1103a0da68d1846ad592eb4a105046a939557830. * Property sort order for grid * Let's respest the property order in the mixins * Respect property sort order in reboot file * ::-ms-expand is a vendor-prefix, add it to the scss-lint disable * Revert hover mixin comment * Fixed missing mixin hover-focus