} else {
zone = 'zone-2';
}
-
- let index = $this.activeScreen.find(".list-item:nth-child(1)").data('id')
- $this.sendCurrentAnswerToArea(zone,index);
});
+
+
+ let heightTitle = $("body").find("#titleQuestion").height()
+ $(".question-draganddrop").css("margin-top", heightTitle+"px")
},
start: function () {
this.desktopWidth = 1200;
this.desktopHeight = 680;
- this.mobileWidth = 390;
+ this.mobileWidth = 320;
this.scale = 1;
this.measureSizes();
height: 100vh
max-height: 100vh
min-height: 100vh
- width: 390px
- min-width: 390px
+ width: 100% //390px
+ min-width: 320px //390px
max-width: 390px
.round &
img
object-fit: fill
-
+.active-screen
+ .m & [data-bg-d]:not([data-bg-m])
+ display: none
margin: 4px 0 16px
h1
- +font-size(20)
+ +font-size(16)
height: 84px
- &.small
- +font-size(16)
.footer
+flex-config(center, false, row, center)
left: 0
z-index: 99
display: flex
- padding: 16px 16px 0
+ padding: 16px 6px 0
align-items: flex-end
visibility: hidden
//+opacity(0,background-color,$ok-color)
#answers-list
height: 90%
padding-right: 5px
+ .item
+ margin-left: 0
+ &:after
+ display: none
.toggle-answers-review
display: flex
.m &
position: absolute
bottom: 0
- left: 0
+ left: 50%
+ transform: translateX(-50%)
width: 342px
.swiper-slide
@include('header_question', ['data' => $data, 'max' => $max, 'position' => $position])
<div class="screen">
- <div class="top-slider-container" data-bg="{{$data['theme']['matchColor']}}">
+ <div class="top-slider-container">
@include('screens.arrow',['side'=>'left','action'=>'move-slide'])
<div class="swiper-container top-slider">
<div class="swiper-pagination-top"></div>