aboutsummaryrefslogtreecommitdiff
path: root/scss/_mixins.scss
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28Add dark mode support (#35857)Mark Otto1-2/+1
* Add dark mode to docs * Minor fix: missing space indentation * Minor fix: revert utilities/z-index added-in modification * Remove prev: and next: from doc because extracted to another PR * Use .bg-body-tertiary in all Utilities > Overflow examples * fix example * Fix up spacing examples * Update box-shadow Sass variables and utilities to auto-adjust to color modes * Remove unused docs class * Refactor form styles to use CSS variable for background images on .form-check and .form-switch * Fix docs selector * Rename shortcut for clarity * Heading consistency * Reintroduce missing 4th grid item in Utilities > Spacing example * Fix bundlewatch * .bd-callout* rendering is OK so removing comments in the code * Update scss/_utilities.scss Co-authored-by: Julien Déramond <[email protected]> * Fix gutters example styling * Fix text colors on background utils docs * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken * fix some color utils examples * Deprecate mixin notice * Deprecate notice for list-group-item-variant() mixin * Revamp new link CSS vars * Use map-keys in some each Sass files * Remove list-group-item-variant mixin ref in sass loop desc * Display CSS vars scoped to our built-in dark mode * Revert previous commit * Fix list group variant link * Fix typo * Remove imports of alert/list-group mixins in scss/_mixins.scss * Small formatting + comments removal in scss/_content.scss * Fix alert links colors * fix dropdown border-radius mixin * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline * fix colors on docs navbar for dark mode * remove two changes * missing ref * another link underline fix, just use sass vars for link decoration for now * missing color bg docs, plus move dropdown override to scss * more changes from review * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin * Few fixes around type - Restored CSS variable for color on headings, this time with a fallback value - In conjunction, restored and wrapped the default CSS var with a null value check - Split headings and paragraphs docs in Reboot, elaborated on them * Restyle custom details > summary element in docs * Rewrite some migration docs * fix form checks * Fix up some navbar styling, tweak docs callout * Fix select images, mostly for validation styling * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs * Update site/content/docs/5.2/components/scrollspy.md Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * mention form control css vars in migration guide * Tweak grid and flex docs background examples * clarify some docs * fix some more things Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
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