-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle8.css
More file actions
82 lines (74 loc) · 1.41 KB
/
Copy pathstyle8.css
File metadata and controls
82 lines (74 loc) · 1.41 KB
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
input {
margin: 10px;
max-width: 400px;
width: 100%;
}
input[type="checkbox"] {
width: auto;
}
.overlay {
opacity: 0;
visibility: hidden;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(58, 56, 56, 0.5);
z-index: 20;
transition: .3s all;
}
.modal {
opacity: 0;
visibility: hidden;
width: 100%;
max-width: 500px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 30;
box-shadow: 0 3px 10px -.5px rgba(172, 169, 169, 0.2);
padding: 30px;
border-radius: 3px;
background-color: rgb(236, 130, 31);
transition: 0.3s all;
}
.main {
display: flex;
flex-direction: column;
}
.modal.active,
.overlay.active {
opacity: 1;
visibility: visible;
}
.modal__cross {
width: 15px;
height: 15px;
position: absolute;
top: 20px;
right: 20px;
fill: rgb(80, 80, 78);
cursor: pointer;
}
a {
padding: 20px;
display: inline-block;
text-decoration: none;
background-color: #19ad3e;
margin: 10px;
color: rgb(255, 255, 255);
border-radius: 3px;
}
@media screen and (max-width: 768px) {
input {
max-width: 350px;
}
input[type="checkbox"] {
width: auto;
}
.modal__cross {
right: 50px;
}
}