From 5db8c1e3782784edfa9b3773de5ac3cd1451b5d0 Mon Sep 17 00:00:00 2001 From: Jiro Ghianni Date: Mon, 12 Feb 2024 21:43:29 +0100 Subject: [PATCH 1/2] :lipstick: [#2079] Made profile-buttons and card-buttons bold --- src/open_inwoner/scss/components/Card/Card.scss | 4 ++++ .../components/Profile/_personal-overview.scss | 6 ++++++ src/open_inwoner/scss/components/Table/Tabled.scss | 14 ++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/src/open_inwoner/scss/components/Card/Card.scss b/src/open_inwoner/scss/components/Card/Card.scss index 9df91a73e4..d4dda3becc 100644 --- a/src/open_inwoner/scss/components/Card/Card.scss +++ b/src/open_inwoner/scss/components/Card/Card.scss @@ -231,6 +231,10 @@ } } + .link .link__text { + font-weight: bold; + } + /// Headings in cards .h2, diff --git a/src/open_inwoner/scss/components/Profile/_personal-overview.scss b/src/open_inwoner/scss/components/Profile/_personal-overview.scss index e06d5e445e..6c0364b3b3 100644 --- a/src/open_inwoner/scss/components/Profile/_personal-overview.scss +++ b/src/open_inwoner/scss/components/Profile/_personal-overview.scss @@ -25,4 +25,10 @@ padding: var(--spacing-small) 0; } } + + .button { + &--error { + font-weight: bold; + } + } } diff --git a/src/open_inwoner/scss/components/Table/Tabled.scss b/src/open_inwoner/scss/components/Table/Tabled.scss index 1c1213f299..b7b15702f3 100644 --- a/src/open_inwoner/scss/components/Table/Tabled.scss +++ b/src/open_inwoner/scss/components/Table/Tabled.scss @@ -98,11 +98,25 @@ display: flex; justify-content: end; } + + .button { + &--transparent, + &--textless { + font-weight: bold; + } + } } &--force-right { display: flex; justify-content: end; + + .button { + &--transparent, + &--textless { + font-weight: bold; + } + } } &--mobile-big { From e8fa4ca836c024db8fc5ea4c5d94a8a3005e3019 Mon Sep 17 00:00:00 2001 From: Jiro Ghianni Date: Tue, 13 Feb 2024 08:26:55 +0100 Subject: [PATCH 2/2] :lipstick: [#2079] Cleaned up cards --- .../django_registration/registration_form.html | 6 +++--- .../accounts/templates/registration/login.html | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/open_inwoner/accounts/templates/django_registration/registration_form.html b/src/open_inwoner/accounts/templates/django_registration/registration_form.html index 140273acf9..838805085e 100644 --- a/src/open_inwoner/accounts/templates/django_registration/registration_form.html +++ b/src/open_inwoner/accounts/templates/django_registration/registration_form.html @@ -7,7 +7,7 @@ {% render_grid %} {% if settings.DIGID_ENABLED and digid_url %} {% render_column start=5 span=5 %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -18,7 +18,7 @@ {% if eherkenning_enabled and eherkenning_url %} {% render_column start=5 span=5 %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -29,7 +29,7 @@ {% if login_allow_registration %} {% render_column start=5 span=5 %} - {% render_card tinted=True %} + {% render_card tinted=True compact=True %}

{% trans "Registreren met E-mail" %}


{% form form_object=form method="POST" id="registration-form" submit_text=_('Registreren') extra_classes="form__registration" show_required=True %} {% endrender_card %} diff --git a/src/open_inwoner/accounts/templates/registration/login.html b/src/open_inwoner/accounts/templates/registration/login.html index 5019016ea8..afdd0e0e42 100644 --- a/src/open_inwoner/accounts/templates/registration/login.html +++ b/src/open_inwoner/accounts/templates/registration/login.html @@ -18,7 +18,7 @@

{% trans 'Welkom' %}

{% if settings.DIGID_ENABLED %} {% get_solo 'digid_eherkenning_oidc_generics.OpenIDConnectDigiDConfig' as digid_oidc_config %} {% if digid_oidc_config.enabled %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -26,7 +26,7 @@

{% trans 'Welkom' %}

{% link href=href text=_('Inloggen met DigiD') secondary=True icon='arrow_forward' extra_classes="link--digid" %} {% endrender_card %} {% else %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -41,7 +41,7 @@

{% trans 'Welkom' %}

{% if eherkenning_enabled %} {% get_solo 'digid_eherkenning_oidc_generics.OpenIDConnectEHerkenningConfig' as eherkenning_oidc_config %} {% if eherkenning_oidc_config.enabled %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -49,7 +49,7 @@

{% trans 'Welkom' %}

{% link href=href text=_('Inloggen met eHerkenning') secondary=True icon='arrow_forward' extra_classes="link--eherkenning" %} {% endrender_card %} {% else %} - {% render_card direction='horizontal' tinted=True %} + {% render_card direction='horizontal' tinted=True compact=True %} @@ -64,7 +64,7 @@

{% trans 'Welkom' %}

{% get_solo 'mozilla_django_oidc_db.OpenIDConnectConfig' as oidc_config %} {% get_solo 'configurations.SiteConfiguration' as site_config %} {% if oidc_config.enabled and site_config.openid_enabled_for_regular_users %} - {% render_card tinted=True direction='horizontal' %} + {% render_card tinted=True compact=True direction='horizontal' %} {% if site_config.openid_connect_logo %}