forked from Cambly/syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Modal.module.css
50 lines (43 loc) · 814 Bytes
/
Modal.module.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
.backdrop {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
inset: 0;
}
.backdropClassic {
background-color: rgba(0, 0, 0, 0.6);
}
.backdropCambio {
background-color: var(--color-cambio-gray-870);
}
.closeButton {
background: none;
border: none;
position: absolute;
cursor: pointer;
height: 40px;
width: 40px;
top: 12px;
right: 12px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
}
.closeButtonClassic {
height: 40px;
width: 40px;
top: 12px;
right: 12px;
}
.closeButton:focus-visible {
box-shadow: 0 0 0 4px #000;
outline: solid 2px #fff;
}
.closeButtonWithImage {
background-color: rgba(0, 0, 0, 0.3);
}
.closeButtonWithImageCambio {
background-color: var(--color-cambio-gray-200);
}