start: function() {
const $this = this
let posInit = 0
- this.positionsX = [{top: "10"},{top: "39"}]
+ this.positionsX = [{top: "10", opacity: ".48"},{top: "39", opacity: ".24"}]
this.counter = 0
this.quiz.screens.currentQuestionAnswers = [];
$(el).css({
'transform':'rotate('+(angle)+'deg)',
'top': $this.positionsX[index] ? $this.positionsX[index].top+'px' : 0,
+ 'opacity': $this.positionsX[index] ? $this.positionsX[index].opacity : 0
})
angle -= 4
$(el).css({
'transform':'rotate('+(angle)+'deg)',
'top': $this.positionsX[index] ? $this.positionsX[index].top+'px' : 0,
+ 'opacity': $this.positionsX[index] ? $this.positionsX[index].opacity : 0
})
angle += 4
border: 2px solid $texts-color
transform: rotate(0) !important
top: 0 !important
+ opacity: 1 !important
&-prev,
&-next
+opacity(.24,background-color,$neutral-color)