diff --git a/data.json b/data.json index e37689f..d42f167 100644 --- a/data.json +++ b/data.json @@ -7498,8 +7498,8 @@ "url": "/pages/bandi/attivita-di-supporto.html", "date": "1706619600", "status": { - "class": "open", - "label": "Aperto" + "class": "archived", + "label": "Archiviato" }, "seats": 1, "terms": [[0,[0]], [1,[0,1,2]],[2,[0,1,2]]], @@ -7577,10 +7577,7 @@ }, { "title": "Assegno di ricerca “Storicizzazione del diritto naturale e costituzione critica della libertà””", - "date": [ - "1706097600", - "1706097600" - ], + "date": "1706097600", "status": { "class": "open", "label": "Aperto" diff --git a/src/assets/css/components/cookiebanner.css b/src/assets/css/components/cookiebanner.css index a518a58..5e5a5a4 100644 --- a/src/assets/css/components/cookiebanner.css +++ b/src/assets/css/components/cookiebanner.css @@ -1,6 +1,6 @@ #cookiebanner-overlay{ transition: all .5s ease; - @apply fixed top-0 left-0 w-full h-screen bg-black bg-opacity-50 z-30 opacity-0 invisible pointer-events-none; + @apply fixed top-0 left-0 w-full h-screen bg-black bg-opacity-50 z-50 opacity-0 invisible pointer-events-none; &.is-active{ @apply opacity-100 visible pointer-events-auto; } @@ -15,7 +15,12 @@ --input-toggle-active-bg: theme(colors.white); --input-toggle-active-slider-bg: theme(colors.black); - @apply fixed bottom-0 right-0 lg:bottom-5 lg:right-5 bg-black text-white z-50 w-full lg:max-w-[640px] px-5 py-5; + max-height: 100vh; + @screen xl{ + max-height: calc(100vh - 2.5rem); + } + + @apply fixed bottom-0 right-0 lg:bottom-5 lg:right-5 bg-black text-white z-50 w-full lg:max-w-[640px] px-5 py-5 overflow-auto; p{ @apply text-white mb-0; } diff --git a/src/assets/css/components/inputs.css b/src/assets/css/components/inputs.css index 862de07..dadf6a7 100644 --- a/src/assets/css/components/inputs.css +++ b/src/assets/css/components/inputs.css @@ -111,7 +111,7 @@ --input-toggle-active-slider-bg: theme(colors.white); } .input-toggle{ - @apply inline-block w-12 h-[1.375rem] rounded-full relative overflow-hidden; + @apply inline-block w-12 h-[1.375rem] rounded-full relative overflow-hidden cursor-pointer; input{ @apply opacity-0 h-0 w-0; &:checked + span{ diff --git a/src/layout/single-tender.twig b/src/layout/single-tender.twig index 48c46c2..3cfc365 100644 --- a/src/layout/single-tender.twig +++ b/src/layout/single-tender.twig @@ -25,7 +25,7 @@
{{taxonomy.name}}
-- {% for term in terms %} - {% set term = taxonomies.tenders.terms[parent].items[term] %} - {{term.name}}{% if not loop.last %}, {% endif %} - {% endfor %} -
+ Prorogato al {{post.date[1]|date('d.m.Y, H:s')}} + Scadenza {{post.date[0]|date('d.m.Y, H:s')}}Posti disponibili
-{{post.seats}}
-{{taxonomy.name}}
-- {% for term in terms %} - {% set term = taxonomies.tenders.terms[parent].items[term] %} - {{term.name}}{% if not loop.last %}, {% endif %} - {% endfor %} -
-{{item.label}}
-{{item.text}}
-{{taxonomy.name}}
++ {% for term in terms %} + {% set term = taxonomies.tenders.terms[parent].items[term] %} + {{term.name}}{% if not loop.last %}, {% endif %} + {% endfor %} +
+Posti disponibili
+{{post.seats}}
+{{taxonomy.name}}
++ {% for term in terms %} + {% set term = taxonomies.tenders.terms[parent].items[term] %} + {{term.name}}{% if not loop.last %}, {% endif %} + {% endfor %} +
+{{item.label}}
+{{item.text}}
+