forked from wypb/Adi.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.adi.css
101 lines (87 loc) · 1.94 KB
/
jquery.adi.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
/* Adi.js CSS ====== */
.jquery-adi {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
background: rgba(0, 0, 0, .7);
z-index: 999999;
}
.jquery-adi_content {
position: absolute;
top: 50%;
left: 50%;
width: 320px;
padding: 30px 40px;
background: #ffffff;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
margin-left: -160px;
box-sizing: border-box;
}
.jquery-adi_content h2,
.jquery-adi_content p,
.jquery-adi_content button {
padding: 0;
margin: 0;
}
.jquery-adi_content button {
position: absolute;
right: -15px;
top: -15px;
border: 0;
outline: 0;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #d5d5d5;
background-image: url('icn_close.png');
background-repeat: no-repeat;
background-position: 0 0;
box-shadow: -2px 2px 8px rgba(148, 146, 145, 0.3);
}
.jquery-adi_content h2 {
color: #e76e65;
font-size: 22px;
font-weight: bold;
}
.jquery-adi_content h2:before {
content: "";
width: 80px;
height: 80px;
background-color: #e76e65;
background-image: url('icn_danger.png');
background-position: 0 0;
background-repeat: no-repeat;
display: block;
margin: 0 auto 30px;
border-radius: 50%;
}
.jquery-adi_content p {
font-size: 14px;
color: #989898;
line-height: 1.4;
margin: 10px 0;
}
/* Dark Theme ====== */
.jquery-adi.dark .jquery-adi_content {
background: #1F1F1F;
}
.jquery-adi.dark .jquery-adi_content h2 {
color: #FF4335;
}
.jquery-adi.dark .jquery-adi_content h2:before {
background-color: #FF4335;
background-position: bottom center;
}
.jquery-adi.dark .jquery-adi_content p {
color: #ffffff;
}
.jquery-adi.dark .jquery-adi_content button {
background-color: #ffffff;
background-position: bottom left;
}