-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfeedback.css
87 lines (82 loc) · 1.62 KB
/
feedback.css
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
section {
height: 100%;
width: 100%;
background: rgb(255, 255, 255);
}
button {
font-size: 18px;
font-weight: 400;
color: #fff;
padding: 14px 22px;
border: none;
background: #7ee685;
border-radius: 6px;
cursor: pointer;
}
button:hover {
background-color: #6af226;
}
.modal-box {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
section.active .show-modal {
display: none;
}
.overlay {
position: fixed;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.3);
opacity: 0;
pointer-events: none;
}
section.active .overlay {
opacity: 6;
pointer-events: auto;
}
.modal-box {
display: flex;
flex-direction: column;
align-items: center;
max-width: 380px;
width: 100%;
padding: 30px 20px;
border-radius: 24px;
background-color: #fff;
opacity: 0;
pointer-events: none;
transition: all 0.3s ease;
transform: translate(-50%, -50%) scale(1.2);
font-family: "Poppins", sans-serif;
}
section.active .modal-box {
opacity: 1;
pointer-events: auto;
transform: translate(-50%, -50%) scale(1);
}
.modal-box h2 {
margin-top: 20px;
font-size: 25px;
font-weight: 500;
color: #333;
}
.modal-box h3 {
font-size: 16px;
font-weight: 400;
color: #333;
text-align: center;
}
.modal-box .buttons {
margin-top: 25px;
}
.modal-box button {
font-size: 14px;
padding: 6px 12px;
margin: 0 10px;
}