-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdialog.css
46 lines (42 loc) · 800 Bytes
/
dialog.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
.dialog {
width: 100%;
height: 100%;
position: fixed;
z-index: 10000;
top: 0;
left: 0;
display: none;
justify-content: center;
align-items: center;
}
.dialog .dialog-background {
position: fixed;
top: 0;
height: 100%;
width: 100%;
background-color: #0000004d;
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
opacity: 0;
transition: opacity 0.3s;
}
.dialog-show-background {
opacity: 1 !important;
}
.dialog .dialog-content {
max-width: 100%;
width: 20em;
height: auto;
background-color: white;
padding: 2em 3em;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
z-index: 1;
position: relative;
border-radius: 2px;
margin: 3em auto;
transition: top 0.5s;
}
.dialog-show-content {
top: 0 !important;
transition: top 0.5s;
}