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.
24 lines
333 B
SCSS
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;
|
|
}
|
|
}
|