From 81b7e769e141e95b2a2bc7d594f339213191fd8a Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 3 Sep 2021 11:15:08 +0200 Subject: [PATCH] lightly increase heading 3-6 weight --- .../Resources/public/chill/chillmain.scss | 4 +- .../module/bootstrap/custom/_variables.scss | 2 +- .../Resources/public/chill/chillperson.scss | 42 ++++++++++++++++++- .../public/chill/scss/render_box.scss | 35 ---------------- 4 files changed, 43 insertions(+), 40 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss index 1d7cd5db8..577cadf04 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/chill/chillmain.scss @@ -206,8 +206,8 @@ footer.footer { /// titles h1, h2, -.h1, .h2 { - font-weight: $headings-font-weight + 200; +.h1, .h2 { + font-weight: $headings-font-weight + 100; } /// typography diff --git a/src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/custom/_variables.scss b/src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/custom/_variables.scss index 9e8d3031c..f9cd33f5f 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/custom/_variables.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/custom/_variables.scss @@ -479,7 +479,7 @@ $font-sizes: ( $headings-margin-bottom: $spacer / 2 !default; $headings-font-family: null !default; $headings-font-style: null !default; -$headings-font-weight: 500 !default; +$headings-font-weight: 600 !default; $headings-line-height: 1.2 !default; $headings-color: null !default; // scss-docs-end headings-variables diff --git a/src/Bundle/ChillPersonBundle/Resources/public/chill/chillperson.scss b/src/Bundle/ChillPersonBundle/Resources/public/chill/chillperson.scss index 4a762cb17..f3759aef7 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/chill/chillperson.scss +++ b/src/Bundle/ChillPersonBundle/Resources/public/chill/chillperson.scss @@ -87,7 +87,6 @@ div.person-view { } } - /* * ACCOMPANYING_COURSE CONTEXT * Header custom for Accompanying Course @@ -125,7 +124,6 @@ abbr.referrer { align-self: center; // in flex context } - /* * HOUSEHOLD CONTEXT * Header custom for Household @@ -186,3 +184,43 @@ div.banner { } } } + +/* +* BADGES, MARKS, PINS +* for chill person theme +*/ + +// chill person badges +span.badge-person, +span.badge-thirdparty { + display: inline-block; + padding: 0 0.5em !important; + background-color: $white; + color: $dark; + border: 1px solid $chill-ll-gray; + border-bottom-width: 2px; + border-bottom-style: solid; + border-radius: 6px; + a { + text-decoration: none; + } +} +span.badge-person { + border-bottom-color: $chill-green; +} +// todo: move in thirdparty +span.badge-thirdparty { + border-bottom-color: shade-color($chill-pink, 10%); +} + +// household holder mark +span.fa-holder { + width: 1em; + margin: -10px 0.3em -8px 0; + i:last-child { + font-weight: 900; + color: white; + font-size: 70%; + font-family: "Open Sans Extrabold"; + } +} diff --git a/src/Bundle/ChillPersonBundle/Resources/public/chill/scss/render_box.scss b/src/Bundle/ChillPersonBundle/Resources/public/chill/scss/render_box.scss index d2d46f398..1aa1c214b 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/chill/scss/render_box.scss +++ b/src/Bundle/ChillPersonBundle/Resources/public/chill/scss/render_box.scss @@ -26,38 +26,3 @@ } } } - -// specific chill badges -span.badge-person, -span.badge-thirdparty { - display: inline-block; - padding: 0 0.5em !important; - background-color: $white; - color: $dark; - border: 1px solid $chill-ll-gray; - border-bottom-width: 2px; - border-bottom-style: solid; - border-radius: 6px; - a { - text-decoration: none; - } -} -span.badge-person { - border-bottom-color: $chill-green; -} -// todo: move in thirdparty -span.badge-thirdparty { - border-bottom-color: shade-color($chill-pink, 10%); -} - -// household holder mark -span.fa-holder { - width: 1em; - margin: -10px 0.3em -8px 0; - i:last-child { - font-weight: 900; - color: white; - font-size: 70%; - font-family: "Open Sans Extrabold"; - } -}