From b57c46779f6db5757f24554f389b492985508d88 Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 1 Aug 2023 18:26:19 +0200 Subject: [PATCH] wip #6182 @1:00 --- resources/quizv2/style/101-header-footer.sass | 2 ++ .../quizv2/style/103-question-multiple.sass | 31 ++++++++++++++----- .../views/quizv2/screens/intro.blade.php | 1 - .../screens/question_multiple.blade.php | 7 +++-- 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/resources/quizv2/style/101-header-footer.sass b/resources/quizv2/style/101-header-footer.sass index 40fae6524..29955063f 100644 --- a/resources/quizv2/style/101-header-footer.sass +++ b/resources/quizv2/style/101-header-footer.sass @@ -6,6 +6,7 @@ header, #title height: 80px +flex-config(space-between,false,row,center) + margin-top: -24px #logo height: 40px filter: brightness(10) @@ -16,6 +17,7 @@ header, +font-size(16) .progress-container margin: 6px 0 16px + +flex-config(center,false,false,center) .progress-item width: 16px height: 4px diff --git a/resources/quizv2/style/103-question-multiple.sass b/resources/quizv2/style/103-question-multiple.sass index 18aa697ab..073676504 100644 --- a/resources/quizv2/style/103-question-multiple.sass +++ b/resources/quizv2/style/103-question-multiple.sass @@ -5,10 +5,27 @@ grid-template-columns: repeat(2, 1fr) grid-gap: 16px &-item - width: 100% - height: 58px - @extend .radius - background-color: $neutral-color - +flex-config(space-between,false,false,center) - padding: 0 16px - cursor: pointer + label + width: 100% + height: 58px + @extend .radius + background-color: $neutral-color + +flex-config(space-between,false,false,center) + padding: 0 16px + cursor: pointer + border: 2px solid rgba($texts-color, .24) + position: relative + overflow: hidden + * + z-index: 1 + + input:checked+label + border-color: $texts-color + &:after + content: "" + width: 100% + height: 100% + +opacity(.16) + position: absolute + top: 0 + left: 0 diff --git a/resources/views/quizv2/screens/intro.blade.php b/resources/views/quizv2/screens/intro.blade.php index c5c681100..bed0379da 100644 --- a/resources/views/quizv2/screens/intro.blade.php +++ b/resources/views/quizv2/screens/intro.blade.php @@ -1,6 +1,5 @@ @php $absPath = \App\Models\Quiz::find($data->id)->getPreviewURL(); - $svg = file_get_contents($absPath."_1690797039/".$data->theme->introImage, true); @endphp