.m &
height: 20%
+ &[data-bg-type="draganddropArea1"], &[data-bg-type="draganddropArea2"]
+ width: 260px
+
+ .m &
+ height: 25%
+
+ &[data-bg-type="draganddropArea2"]
+ left: auto
+ right: 0
+
+ .m &
+ left: 0
+ right: auto
+ top: auto
+ bottom: 0
+
img
width: 100%
[data-type="draganddrop"]
-
.fill-area
background-color: $standard-fill-area
- width: 120px
+ width: 260px
height: 100%
&.area2
<div class="container-screen none question-draganddrop" data-type="draganddrop" data-screen="q-{{$position}}">
@include('screens.question_draganddrop_area',['area'=>1,'question'=>$question,'theme'=>$theme])
+ <div class="fill-area area1"></div>
+ <div class="fill-area area2"></div>
@include('header_question', ['question' => $question, 'data' => $data, 'max' => $max, 'position' => $position])
<div class="vertical-center-screen-relative">
<div class="screen question-draganddrop">
-@php
- $desktopImageKey='draganddropArea'.$area.'Image';
- $mobileImageKey='draganddropArea'.$area.'ImageMobile';
-@endphp
<div class="screen-image zone-{{$area}} notDrag" data-zone="zone-{{$area}}">
- <div class="fill-area area1"></div>
- <div class="fill-area area2"></div>
- <img src="{{$theme->$desktopImageKey}}"/>
- <img class="mobile" src="{{$theme->$mobileImageKey}}"/>
+ @include('components.background',['data'=>$data,'name'=>'draganddropArea'.$area,'fit'=>'fill'])
<div class="zone-content">
<div class="text">
<h2>{{ $question['area_'.$area]['title'] }}</h2>