From 3db35632369eb3edc0e0c89ea1b1ca7b15339414 Mon Sep 17 00:00:00 2001 From: Paul Isaris Date: Tue, 12 Nov 2024 15:18:27 +0200 Subject: [PATCH] UI --- resources/assets/sass/project/landing-page.scss | 12 ++++++------ .../partials/questionnaire.blade.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/assets/sass/project/landing-page.scss b/resources/assets/sass/project/landing-page.scss index 94645bf7..3b71a711 100644 --- a/resources/assets/sass/project/landing-page.scss +++ b/resources/assets/sass/project/landing-page.scss @@ -1433,19 +1433,19 @@ footer { background-position: center; } -#questionnaire .content-container::before { +#questionnaire::before { content: ""; position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + top: 10%; + left: 10%; + width: 80%; + height: 80%; background-color: rgba(255, 255, 255, 0.70); backdrop-filter: blur(10px); /* Blur effect */ z-index: 1; } -#questionnaire .content-container .content { +#questionnaire .content-container { position: relative; z-index: 2; /* Ensure content is above the overlay */ } \ No newline at end of file diff --git a/resources/views/crowdsourcing-project/partials/questionnaire.blade.php b/resources/views/crowdsourcing-project/partials/questionnaire.blade.php index 53f99339..700fed97 100644 --- a/resources/views/crowdsourcing-project/partials/questionnaire.blade.php +++ b/resources/views/crowdsourcing-project/partials/questionnaire.blade.php @@ -5,7 +5,7 @@ class="align-items-center mx-0" style="background-image: url('{{ asset($viewModel->project->lp_questionnaire_img_path) }}')"> @if ($viewModel->questionnaire)
-
+

{{ $viewModel->userResponse? __("questionnaire.already_participated"): $viewModel->questionnaire->fieldsTranslation->title }}