scss: introduce $form-title-style (#74757)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3fd17ba107
commit
4b2e37fcb8
|
@ -7,6 +7,7 @@ $form-sidebar-gutter: 2% !default;
|
||||||
// * page: full page width (i.e. sidebar + form content)
|
// * page: full page width (i.e. sidebar + form content)
|
||||||
// * form: form width (+ margin to be aligned on top of form)
|
// * form: form width (+ margin to be aligned on top of form)
|
||||||
$form-titlebar-mode: page !default;
|
$form-titlebar-mode: page !default;
|
||||||
|
$form-title-style: '%title' ! default; // class or sass placeholder selector or none
|
||||||
$form-background: $body-background !default;
|
$form-background: $body-background !default;
|
||||||
|
|
||||||
// hide a bunch of elements
|
// hide a bunch of elements
|
||||||
|
@ -85,8 +86,11 @@ div#services > ul > li {
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-content--title,
|
.form-content--title,
|
||||||
div#tracking-code h3,
|
|
||||||
div#rub_service h2 {
|
div#rub_service h2 {
|
||||||
|
@extend #{$form-title-style} !optional;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#tracking-code h3 {
|
||||||
@extend %title;
|
@extend %title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue