-
Notifications
You must be signed in to change notification settings - Fork 1
/
_popup.sass
69 lines (66 loc) · 1.33 KB
/
_popup.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.overlay
display: none
justify-content: center
align-items: center
position: fixed
top: 0
left: 0
bottom: 0
right: 0
width: 100%
height: 100vh
z-index: 1000
overflow-y: auto
background: rgba(0, 0, 0, 0.5)
backdrop-filter: blur(3px)
animation: fadeIn 300ms ease-in-out
&-open
display: flex
.popup
position: fixed
width: 60%
left: 50%
top: 50px
width: 720px
transform: translateX(-50%)
margin: auto
&-container
width: 100%
margin: 0 auto
.main-form
width: 60%
margin: auto
&-close
position: absolute
right: 17%
top: -40px
font-size: 35px
color: #fff
font-weight: 300
cursor: pointer
&:hover
color: $button-color
@keyframes fadeIn
from
opacity: 0
to
opacity: 1
@media screen and ( max-width: 768px )
.overlay
.popup
&-container
.main-form
width: 40%
padding: 10px 10px
.form__title
font-size: 16px
margin-bottom: 20px
.form__input
padding-top: 10px
padding-bottom: 10px
&__textarea
margin-bottom: 10px
.form__text_small
font-size: 10px
&-close
right: 29%