mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-08 22:00:36 +01:00
- Updated frameworks for better browser support - Improved responsive design - Versioned documentation - Better social media support via the Jekyll SEO plugin - New looks, fwiw - Start page has some more relevant info - Documentation sorted to be more easily accessible - Internally upgraded from plain CSS to SASS
24 lines
695 B
SCSS
24 lines
695 B
SCSS
// stylelint-disable declaration-no-important
|
|
|
|
// Contextual backgrounds
|
|
|
|
@mixin bg-variant($parent, $color, $ignore-warning: false) {
|
|
#{$parent} {
|
|
background-color: $color !important;
|
|
}
|
|
a#{$parent},
|
|
button#{$parent} {
|
|
@include hover-focus() {
|
|
background-color: darken($color, 10%) !important;
|
|
}
|
|
}
|
|
@include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
|
|
}
|
|
|
|
@mixin bg-gradient-variant($parent, $color, $ignore-warning: false) {
|
|
#{$parent} {
|
|
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
|
|
}
|
|
@include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
|
|
}
|