diff --git a/hypha/cookieconsent/templates/includes/banner.html b/hypha/cookieconsent/templates/includes/banner.html index f0754f5136..05fec25835 100644 --- a/hypha/cookieconsent/templates/includes/banner.html +++ b/hypha/cookieconsent/templates/includes/banner.html @@ -1,22 +1,42 @@ {% load i18n wagtailcore_tags %} {% if show_banner %} -
+
-

{% trans settings.cookieconsent_title %}

+

+ {% trans settings.cookieconsent_title %} +

{{ settings.cookieconsent_message|richtext }}
+
{% if settings.cookieconsent_analytics %} - - + + + {% else %} - + {% endif %} - + + +
@@ -25,6 +45,7 @@

{% trans settings.cookieconsent_title %}

{% trans "This Website uses cookies. Below you can select the categories of cookies to allow when you use our website and services." %}

+

{% trans "Essential Cookies" %}

@@ -38,14 +59,32 @@

{% trans settings.cookieconsent_title %}

{% endif %}
+
{% if settings.cookieconsent_analytics %} - - + + + {% else %} - + {% endif %} - + +
diff --git a/hypha/static_src/sass/components/_card.scss b/hypha/static_src/sass/components/_card.scss index 3ace299c47..a704b6d3da 100644 --- a/hypha/static_src/sass/components/_card.scss +++ b/hypha/static_src/sass/components/_card.scss @@ -39,8 +39,4 @@ margin-inline-start: 1rem; } } - - &__reviewer { - margin-inline-start: 10px; - } } diff --git a/hypha/static_src/sass/components/_wrapper.scss b/hypha/static_src/sass/components/_wrapper.scss index c3b2154b6e..265248044a 100644 --- a/hypha/static_src/sass/components/_wrapper.scss +++ b/hypha/static_src/sass/components/_wrapper.scss @@ -31,12 +31,6 @@ background-color: var(--color-bg-default); } - &--media-boxes { - max-width: 1220px; - padding: 0 20px; - margin: 0 auto; - } - &--embed { width: 100%; height: 100%; @@ -210,10 +204,6 @@ } } - &--relative { - position: relative; - } - &--activity-feed { padding: 0 20px; margin-block-start: 50px; @@ -263,9 +253,4 @@ flex: 1; } } - - &--cookieconsent { - padding: 40px 20px; - z-index: 20; - } }