From 9b9fe978f3f60e4ef4d1942966795dc73ae81949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Mon, 19 Dec 2022 10:00:57 +0100 Subject: [PATCH] publik-famille-demo: remove template variants (#68018) --- static/publik-famille-demo/_header.scss | 21 +------ .../combo/link-list-cell.html | 55 ------------------- .../publik-famille-demo/combo/menu.html | 23 -------- 3 files changed, 3 insertions(+), 96 deletions(-) delete mode 100644 templates/variants/publik-famille-demo/combo/link-list-cell.html delete mode 100644 templates/variants/publik-famille-demo/combo/menu.html diff --git a/static/publik-famille-demo/_header.scss b/static/publik-famille-demo/_header.scss index 4738996d..b4e543a1 100644 --- a/static/publik-famille-demo/_header.scss +++ b/static/publik-famille-demo/_header.scss @@ -68,6 +68,7 @@ h1#logo.has-logo { max-width: none; } } + #nav { margin: 0; position: absolute; @@ -79,12 +80,14 @@ h1#logo.has-logo { align-items: center; justify-content: center; transition: top 400ms; + @media ($max-mobile-viewport) { body:not(.scrolled) & { top: $mobile-top-links-height; } } } + div.gru-nav { .gru-nav-button { position: relative; @@ -111,24 +114,6 @@ div.gru-nav { } } -.pf-menu-item { - &--image { - width: 160px; - height: 160px; - background: white; - border-radius: $border-radius; - padding: 1rem; - } - - &--title { - text-align: center; - } - - &:hover &--title { - text-decoration: underline; - } -} - .pf-page-header { &--default { display: flex; diff --git a/templates/variants/publik-famille-demo/combo/link-list-cell.html b/templates/variants/publik-famille-demo/combo/link-list-cell.html deleted file mode 100644 index a1b7067e..00000000 --- a/templates/variants/publik-famille-demo/combo/link-list-cell.html +++ /dev/null @@ -1,55 +0,0 @@ -{% load i18n %} -{% block cell-content %} - {% load assets %} - {% spaceless %} - {% block cell-header %} - {% if title %}

{{ title }}

{% endif %} - {% include "combo/asset_picture_fragment.html" %} - {% endblock cell-header %} - - {% endspaceless %} -{% endblock %} diff --git a/templates/variants/publik-famille-demo/combo/menu.html b/templates/variants/publik-famille-demo/combo/menu.html deleted file mode 100644 index 9cecc3ac..00000000 --- a/templates/variants/publik-famille-demo/combo/menu.html +++ /dev/null @@ -1,23 +0,0 @@ -{% load i18n %} -{% load assets %} - -{% if menuitems %} - -{% endif %}