scss: introduce $form-title-style (#74757)
gitea/publik-base-theme/pipeline/head This commit looks good Details

This commit is contained in:
Thomas Jund 2023-02-22 17:12:25 +01:00
parent 3fd17ba107
commit 4b2e37fcb8
1 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ $form-sidebar-gutter: 2% !default;
// * page: full page width (i.e. sidebar + form content)
// * form: form width (+ margin to be aligned on top of form)
$form-titlebar-mode: page !default;
$form-title-style: '%title' ! default; // class or sass placeholder selector or none
$form-background: $body-background !default;
// hide a bunch of elements
@ -85,8 +86,11 @@ div#services > ul > li {
}
.form-content--title,
div#tracking-code h3,
div#rub_service h2 {
@extend #{$form-title-style} !optional;
}
div#tracking-code h3 {
@extend %title;
}