-
Notifications
You must be signed in to change notification settings - Fork 1
/
confirmation.css
102 lines (81 loc) · 1.46 KB
/
confirmation.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.confirmation {
position: fixed;
left: 50%;
top: 50%;
max-height: 400px;
min-height: 50px;
overflow: auto;
width: 400px;
margin: -150px 0 0 -200px;
border: 1px solid #eee;
background-color: white;
z-index: 1000;
}
.confirmation .dialog-content {
padding: 10px 15px;
}
.confirmation h1 {
margin: 0 0 5px 0;
font-size: 16px;
font-weight: normal;
}
.confirmation p {
margin: 0;
padding: 0;
font-size: .9em;
}
/* close */
.confirmation .close {
position: absolute;
top: 3px;
right: 10px;
text-decoration: none;
color: #888;
font-size: 16px;
font-weight: bold;
display: none;
}
.confirmation .close em {
display: none;
}
.confirmation.closable .close {
display: block;
}
.confirmation .close:hover {
color: black;
}
.confirmation .close:active {
margin-top: 1px;
}
/* slide */
.confirmation.slide {
-webkit-transition: opacity 300ms, top 300ms;
-moz-transition: opacity 300ms, top 300ms;
}
.confirmation.slide.hide {
opacity: 0;
top: -500px;
}
/* fade */
.confirmation.fade {
-webkit-transition: opacity 300ms;
-moz-transition: opacity 300ms;
}
.confirmation.fade.hide {
opacity: 0;
}
/* scale */
/* scale */
.confirmation.scale {
-webkit-transition: -webkit-transform 300ms;
-moz-transition: -moz-transform 300ms;
-webkit-transform: scale(1);
-moz-transform: scale(1);
}
.confirmation.scale.hide {
-webkit-transform: scale(0);
-moz-transform: scale(0);
}
.confirmation-actions {
text-align: right;
}