Files
nairobi/app/assets/stylesheets/admin/machine_learning/setting.scss
Javi Martín 6cb4f4acde Extract mixin to get a background with text contrast
This way we simplify the code a bit.

Note we're only using this function when variables for background colors
are already defined, since that means customizing the variable using the
background color will automatically change the color of the text.
Customization isn't easier when using raw colors.
2022-10-28 13:58:04 +02:00

24 lines
333 B
SCSS

.admin .machine-learning-setting {
.card-divider {
@include background-with-text-contrast($primary-color);
h3 {
margin-top: 0;
}
}
dl {
@include callout-size(map-get($callout-sizes, small));
}
dt {
font-weight: normal;
margin-bottom: 0;
}
* + dt {
margin-top: $line-height;
}
}