-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjquery.fastconfirm.css
220 lines (177 loc) · 5.06 KB
/
jquery.fastconfirm.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
@charset "utf-8";
/*********************/
/* Can't touch this! */
/*********************/
.fast_confirm {
position: absolute;
/* Position off-screen, show only when everything is ready */
top: -500px;
left: -500px;
}
/* IE6 */
.fast_confirm {
_border-left-color: pink;
_border-bottom-color: pink;
_border-right-color: pink;
_filter: chroma(color=pink);
}
/*******************************/
/* You can configure from here */
/*******************************/
/* BOX */
.fast_confirm {
background-color: #fff;
font-size: 14px;
text-align: center;
padding: 6px;
border: 1px solid #aaa;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 0 4px #000;
-webkit-box-shadow: 0 0 4px #000;
box-shadow: 0 0 4px #000;
}
/* ARROWS */
/* Top arrow */
.fast_confirm .fast_confirm_top.fast_confirm_arrow {
position: absolute;
top: -10px;
border-color: transparent transparent #fff;
border-style: solid;
border-width: 0 10px 10px;
height: 0;
width: 0;
}
.fast_confirm .fast_confirm_top.fast_confirm_arrow_border {
position: absolute;
top: -12px;
border-color: transparent transparent #aaa;
border-style: solid;
border-width: 0 12px 12px;
height: 0;
width: 0;
}
/* Right arrow */
.fast_confirm .fast_confirm_right.fast_confirm_arrow {
position: absolute;
right: -10px;
border-color: transparent transparent transparent #fff;
border-style: solid;
border-width: 10px 0 10px 10px;
height: 0;
width: 0;
}
.fast_confirm .fast_confirm_right.fast_confirm_arrow_border {
position: absolute;
right: -12px;
border-color: transparent transparent transparent #aaa;
border-style: solid;
border-width: 12px 0 12px 12px;
height: 0;
width: 0;
}
/* Bottom arrow */
.fast_confirm .fast_confirm_bottom.fast_confirm_arrow {
position: absolute;
bottom: -10px;
border-color: #fff transparent transparent;
border-style: solid;
border-width: 10px 10px 0 10px;
height: 0;
width: 0;
}
.fast_confirm .fast_confirm_bottom.fast_confirm_arrow_border {
position: absolute;
bottom: -12px;
border-color: #aaa transparent transparent;
border-style: solid;
border-width: 12px 12px 0 12px;
height: 0;
width: 0;
}
/* Left arrow */
.fast_confirm .fast_confirm_left.fast_confirm_arrow {
position: absolute;
left: -10px;
border-color: transparent #fff transparent transparent;
border-style: solid;
border-width: 10px 10px 10px 0;
height: 0;
width: 0;
}
.fast_confirm .fast_confirm_left.fast_confirm_arrow_border {
position: absolute;
left: -12px;
border-color: transparent #aaa transparent transparent;
border-style: solid;
border-width: 12px 12px 12px 0;
height: 0;
width: 0;
}
/* BUTTONS */
.fast_confirm button {
margin: 10px;
padding: 5px 10px;
font-weight: bold;
color: #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* Proceed button */
.fast_confirm button.fast_confirm_proceed {
border: 1px solid #128123;
color: #fff;
text-shadow: 0 -1px 0 hsla(120,100%,0%,.5);
background: #00aa00;
background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #00aa00), color-stop(1, #006600) );
background: -moz-linear-gradient( center top, #00aa00 20%, #006600 100% );
-webkit-box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(120,77%,26%,1),
0 4px 2px hsla(122,100%,0%,.5);
-moz-box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(120,77%,26%,1),
0 4px 2px hsla(122,100%,0%,.5);
box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(122,77%,26%,1),
0 4px 2px hsla(122,100%,0%,.5);
}
.fast_confirm button.fast_confirm_proceed:hover {
background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #00dd00), color-stop(1, #00aa00) );
background: -moz-linear-gradient( center top, #00dd00 20%, #00aa00 100% );
}
/* Cancel button */
.fast_confirm button.fast_confirm_cancel {
border: 1px solid #128123;
color: #fff;
text-shadow: 0 -1px 0 hsla(0,100%,0%,.5);
background: #ff2222;
background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #ff2222), color-stop(1, #aa0000) );
background: -moz-linear-gradient( center top, #ff2222 20%, #aa0000 100% );
-webkit-box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(0,77%,26%,1),
0 4px 2px hsla(2,100%,0%,.5);
-moz-box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(0,77%,26%,1),
0 4px 2px hsla(2,100%,0%,.5);
box-shadow:
inset 0 1px 1px hsla(0,100%,100%,.4),
inset 0 -1px 0 hsla(0,100%,100%,.3),
0 2px 0 hsla(0,77%,26%,1),
0 4px 2px hsla(2,100%,0%,.5);
}
.fast_confirm button.fast_confirm_cancel:hover {
background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #ff6666), color-stop(1, #ff2222) );
background: -moz-linear-gradient( center top, #ff6666 20%, #ff2222 100% );
}