попап в конце видео

remotes/origin/feature/end-video-popup-28-05-19
gzbender 7 years ago
parent 257f8e0669
commit eef6d4d85c
  1. 2
      apps/payment/models.py
  2. 28
      web/src/sass/_common.sass

@ -356,7 +356,7 @@ class SchoolPayment(Payment):
class DrawingCampPayment(Payment): class DrawingCampPayment(Payment):
MONTH_PRICE = Decimal(1490) MONTH_PRICE = Decimal(1990)
WEEKDAYS = {1, 3, 5} WEEKDAYS = {1, 3, 5}
date_start = models.DateField('Дата начала подписки', null=True, blank=True) date_start = models.DateField('Дата начала подписки', null=True, blank=True)

@ -4780,18 +4780,35 @@ a
top: 90px top: 90px
height: 200px height: 200px
background: url(../img/video-ended-popup-ref.jpg) no-repeat center white background: url(../img/video-ended-popup-ref.jpg) no-repeat center white
left: 60px left: 50%
width: 600px width: 600px
margin-left: -300px
border-radius: 5px border-radius: 5px
padding: 30px padding: 30px
box-shadow: 0 2px 20px rgba(0,0,0,0.10) box-shadow: 0 2px 20px rgba(0,0,0,0.10)
opacity: 0 opacity: 0
+t
left: 60px
right: 60px
width: auto
background-color: #151a1e
+m
width: 100%
left: 0
top: 0
height: 153px
background-position: center bottom
background-size: auto 130px
border-radius: 0
background-color: #151a1e
&_like &_like
background-image: url(../img/video-ended-popup-like.jpg) background-image: url(../img/video-ended-popup-like.jpg)
&_black &_black
background: url(../img/video-ended-popup-logo.png) no-repeat center #151a1e background: url(../img/video-ended-popup-logo.png) no-repeat center #141a1d
&__like-btn &__like-btn
background: url(../img/heart.png) no-repeat center background: url(../img/heart.png) no-repeat center
@ -4804,5 +4821,12 @@ a
left: 50% left: 50%
margin-left: -45px margin-left: -45px
+m
background-size: contain
width: 54px
margin-left: -27px
bottom: 27px
top: auto
&_like &__like-btn &_like &__like-btn
display: block display: block

Loading…
Cancel
Save