Differentiate survey template shell

This commit is contained in:
Jürgen Mummert
2026-06-08 20:05:58 +02:00
parent 99caf51af9
commit e3553e1108
2 changed files with 9 additions and 1 deletions
@@ -82,6 +82,14 @@
border-radius: 2rem;
box-shadow: 0 28px 80px rgba(34, 34, 34, 0.08);
padding: clamp(1.5rem, 2.2vw, 2.4rem);
margin-bottom: 4em;
}
.survey-shell--template {
background:
radial-gradient(circle at top left, rgba(236, 124, 50, 0.18), transparent 32%),
radial-gradient(circle at bottom right, rgba(157, 82, 118, 0.12), transparent 36%),
linear-gradient(180deg, rgba(252, 228, 214, 0.92) 0%, rgba(255, 250, 246, 0.98) 52%, rgba(252, 228, 214, 0.78) 100%);
}
.survey-shell h2,
@@ -8,7 +8,7 @@
{% set moduleHeadline = (headline is iterable ? headline.text|default('') : headline|default(''))|striptags|trim %}
{% set templatesOnly = templatesOnly|default(false) %}
<section class="survey-shell survey-grid">
<section class="survey-shell survey-grid{{ templatesOnly ? ' survey-shell--template' : '' }}">
{% for message in app.flashes('success') %}
<div class="survey-alert success">{{ message }}</div>
{% endfor %}