aboutsummaryrefslogtreecommitdiff
path: root/scss/_mixins.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-06-25Variablize backdrop for modal and offcanvasMark Otto1-0/+1
2021-04-10Add color-scheme mixinMark Otto1-0/+1
2020-07-31Cleanup/fix after the sr-only to visually-hidden renaming (#31359)Patrick H. Lauke1-1/+1
* sr-only -> visually-hidden cleanup It seems the old screen-readers.md file was left behind, and forgot to rename the mixin * Fix broken mixins for visually-hidden
2020-05-15Improve gradientsMartijn Cuppens1-1/+0
- Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled
2020-04-24Prevent nested tables style leaksMartijn Cuppens1-1/+1
2020-04-01Fix CSS and improve docsysds1-1/+0
2020-04-01Add Full-Screen size to Modal and Responsive variations for breakpointsgsoti1-0/+1
(Works from breakpoint and down)
2020-02-03Split grid & containers (#29146)Martijn Cuppens1-1/+1
2019-08-26Link helpers & use utility API for all utilitiesMartijn Cuppens1-1/+0
2019-08-22Drop nav divider mixinMartijn Cuppens1-1/+0
2019-05-23Helpers & utilities split (#28445)Martijn Cuppens1-1/+4
2019-05-08Drop all hover mixinsMark Otto1-1/+0
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-04-21Remove redundant slashes (#28677)Martijn Cuppens1-3/+3
2019-03-14v5: Drop remaining deprecated mixins (#28461)Mark Otto1-3/+0
- Deletes mixin mentions from float docs - Deletes mixin mention from visibility docs - Deletes the image-replacement page for text-hide
2019-03-14v5: Update badges (#28458)Mark Otto1-1/+0
- Drop hover and focus states - Drop .badge-* variants and associated mixin for .bg-* utilities - Drop .badge-pill for .rounded-pill utliity and adjust horizontal padding to find middle ground of .badge and old .badge-pill - Remove unused variables - Add default color value to .badge base class - Update docs to reflect changes
2019-03-12v5: Drop deprecated size mixin (#28460)Mark Otto1-1/+0
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-0/+3
2019-01-22Add `deprecate()` mixin (#28092)Martijn Cuppens1-0/+3
2018-03-31Remove navbar alignMartijn Cuppens1-1/+0
2017-08-14Add option to disable carets on dropdowns through `$enable-caret`Patrick Yeo1-0/+1
2017-06-30Drop .card-{color} modifiers for .bg-{color}, .text-{color}, and ↵Mark Otto1-1/+0
.border-{color} utilities
2017-04-08Ensure carousel works in IE10/11Mark Otto1-1/+0
- Drops the `if-supports-3d-transforms()` mixin since all our browsers do support it - Updates carousel to not rely on that mixin
2017-03-05Move box-shadow and transition mixins out of the main mixins file and into ↵Mark Otto1-16/+2
their own files
2016-12-31Rip out the tab-focus mixin, remove application to anchors in rebootMark Otto1-1/+0
2016-12-30Rewrite progress component without <progress> elementMark Otto1-1/+0
- <progress> element didn't allow animation, labels overlaid, multiple bars, etc. - Revamps CSS to use something more similar to v3's implementation - Ditches variant mixin for `bg-` utils - Rebuilds docs to match, including adding a new Height section for customizing that. Only potential remaining todo is adding `.sr-only` instances to within the bar. Unsure if that's necessary.
2016-12-22Remove IE9 browser hacks. (#21393)Bardi Harborow1-1/+0
2016-12-19Add variables for transitions (#21345)Tom Lutzenberger1-1/+5
* Add variables for transitions * Add variables for transitions
2016-11-25Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 ↵Chris Rebert1-0/+1
(#19751) [skip sauce] [skip validator]
2016-10-27Merge pull request #20441 from cortopy/visibility-mixinMark Otto1-0/+1
Visibility mixin
2016-10-26Rename .tag to .badge to avoid conflicting with WordPressMark Otto1-1/+1
2016-09-26Rename pull-*-{left|right} classes to .float-*-left and .float-*-rightMark Otto1-1/+1
2016-08-02Update _mixins.scssJuan J. Jimenez-Anca1-0/+1
2016-02-11Rename .label class to .tagAmeya Pandilwar1-1/+1
2016-02-06Drop .center-block for .m-x-autoMark Otto1-1/+0
- Both classes do about the same thing, but with different names - Clarifies docs for .m-x-auto requiring a fixed width block element for it to work - Add missing heading for clearfix section in docs (unrelated)
2015-12-07Merge pull request #18356 from lesleh/card-mixinMark Otto1-0/+1
Card mixin
2015-11-26Create a mixin for creating new card styles.Leslie Hoare1-0/+1
I'm aware that currently cards are a lot simpler than buttons right now but this may change in future and it feels cleaner to be able to create new card styles without needing to know the internals of how they're implemented.
2015-10-13Extract list-unstyled mixin; closes #17792Marko Prelec1-0/+1
/fyi @mdo
2015-10-07Move border-radius mixin from scss/_mixins.scss to ↵Chris Rebert1-6/+0
scss/mixins/_border-radius.scss Reunites the family. Closes #17791
2015-09-06Rename file with text-hide mixinvsn4ik1-1/+1
2015-08-26rm responsive-invisibility mixin since it's only used onceChris Rebert1-1/+0
inline the one remaining usage into .hidden-print's definition rm now-empty scss/_utilities-responsive.scss file [skip sauce] [skip validator]
2015-08-17clean out comments that aren't all that helpfulMark Otto1-3/+0
2015-06-22drop the base (hahaha), no but seriously drop the -base from our vars since ↵Mark Otto1-1/+1
it's cleaner
2015-06-18Merge branch 'master' into v4Mark Otto1-0/+1
2015-03-30Fixes #13583: Move .sr-only and .sr-only-focusable to mixins, then use them ↵Mark Otto1-0/+1
to create classes in _utilities.scss
2015-01-22put all :hover styles within @media (hover: hover)Chris Rebert1-0/+1
2015-01-06Kill scss/mixins/_media-queries.scssChris Rebert1-1/+0
replaced media-xs => media-breakpoint-down(xs) replaced media-sm => media-breakpoint-up(sm) replaced media-sm-max => media-breakpoint-only(sm) replaced media-md => media-breakpoint-up(md) replaced media-md-max => media-breakpoint-only(md) replaced media-lg => media-breakpoint-up(lg)
2015-01-01fix typo in commentChris Rebert1-1/+1
2014-12-24Automate breakpointsGleb Mazovetskiy1-0/+1
Breakpoints and container widths are now defined as maps.
2014-12-24Update styles for Ruby Sass compatGleb Mazovetskiy1-0/+1
2014-12-11Use grid classes or mixins on .dl-horizontal, update docs to include it, ↵Mark Otto1-1/+1
removes auto truncate and makes .text-overflow mixin into a .text-truncate class and mixin combo for better granularity