-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMM-Modal.css
58 lines (50 loc) · 1.06 KB
/
MMM-Modal.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
.MMM-Modal {
margin: 0;
}
.MMM-Modal .modal {
position: fixed;
z-index: 20;
text-align: left;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.MMM-Modal ul.help {
margin: 0;
}
.MMM-Modal .modal > header,
.MMM-Modal .modal > footer {
display: flex;
justify-content: space-between;
}
.MMM-Modal .btn-close,
.MMM-Modal .btn-cancel,
.MMM-Modal .btn-confirm {
outline: none;
}
.MMM-Modal .btn-close {
border: none;
background: transparent;
color: #aaa;
}
.MMM-Modal .btn-cancel {
border: 2px solid #aaa;
background: transparent;
color: #aaa;
padding: 10px 20px;
}
.MMM-Modal .btn-confirm {
border: 2px solid #aaa;
background: #aaa;
color: black;
padding: 10px 20px;
}
.MMM-Modal-blur {
-webkit-filter: blur(2px) brightness(50%);
-moz-filter: blur(2px) brightness(50%);
-o-filter: blur(2px) brightness(50%);
filter: blur(2px) brightness(50%);
}