From fd200e8c461d6d213a59432c0c0c74e61a681f75 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 7 Oct 2025 12:36:04 +0200 Subject: [PATCH] STYLE adjustements --- resources/css/forms/form_contributions.css | 4 ++-- resources/css/forms/forms.css | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/resources/css/forms/form_contributions.css b/resources/css/forms/form_contributions.css index 40b73ca..8175d6c 100644 --- a/resources/css/forms/form_contributions.css +++ b/resources/css/forms/form_contributions.css @@ -1,6 +1,6 @@ .contribution-conditions { - margin-top: -20px !important; - margin-bottom: 30px !important; + /* margin-top: -30px !important; */ + margin-bottom: 20px !important; .gfield_description { @apply !text-xl !font-light; diff --git a/resources/css/forms/forms.css b/resources/css/forms/forms.css index 70142ef..f89f2fc 100644 --- a/resources/css/forms/forms.css +++ b/resources/css/forms/forms.css @@ -15,6 +15,11 @@ body.front-end { --gf-ctrl-desc-color-focus: rgba(255, 255, 255, 0.9); --gf-ctrl-desc-color-hover: rgba(255, 255, 255, 0.9); + --gf-font-weight-secondary: 300; + --gf-ctrl-font-size-secondary: 3.25rem; + --gf-ctrl-label-font-size-secondary: 1.35rem; + --gf-ctrl-label-font-weight-secondary: 200; + input[type='submit'] { --gf-ctrl-btn-bg-color-primary: transparent; --gf-ctrl-btn-bg-color-primary-focus: white; @@ -33,6 +38,12 @@ body.front-end { --wp--preset--color--carhop-green ); } + input[type='checkbox'] + label { + --gf-ctrl-label-font-size-secondary: 1.25rem; + --gf-ctrl-label-font-weight-secondary: 300; + @apply tracking-normal; + } + .gform_required_legend { @apply hidden; }