Version Description
Download this release
Release Info
Developer | snilesh |
Plugin | WP PageNavi Style |
Version | 1.1 |
Comparing to | |
See all releases |
Version 1.1
- css/black.css +27 -0
- css/black_red.css +5 -0
- css/black_red/pagenavi-bg.png +0 -0
- css/black_red/pagenavi-current-bg.png +0 -0
- css/blue.css +26 -0
- css/brown.css +26 -0
- css/css3_black.css +39 -0
- css/css3_black_glossy.css +47 -0
- css/css3_blue_glossy.css +47 -0
- css/css3_brown.css +40 -0
- css/css3_brown_glossy.css +47 -0
- css/css3_gray.css +40 -0
- css/css3_gray_glossy.css +47 -0
- css/css3_green.css +39 -0
- css/css3_green_glossy.css +47 -0
- css/css3_light_blue.css +38 -0
- css/css3_light_blue_glossy.css +47 -0
- css/css3_orange_glossy.css +47 -0
- css/css3_purple.css +41 -0
- css/css3_purple_glossy.css +47 -0
- css/css3_red.css +41 -0
- css/css3_red_glossy.css +47 -0
- css/css3_yellow.css +41 -0
- css/css3_yellow_glossy.css +46 -0
- css/default.css +58 -0
- css/gray.css +26 -0
- css/green.css +27 -0
- css/minimal.css +39 -0
- css/orange.css +11 -0
- css/purple.css +9 -0
- css/red.css +9 -0
- css/red_black.css +9 -0
- css/round_white.css +6 -0
- css/white_blue.css +6 -0
- css/yellow.css +4 -0
- images/btn_donate.gif +0 -0
- images/error.png +0 -0
- images/icon.png +0 -0
- includes/common_functions.php +30 -0
- includes/options.php +176 -0
- includes/our_feeds.php +91 -0
- js/colorpicker.js +484 -0
- js/jquery-1.5.min.js +16 -0
- js/script.js +49 -0
- readme.txt +75 -0
- style/colorpicker.css +161 -0
- style/colorpicker/arrow_transparent_bg.gif +0 -0
- style/colorpicker/colorpicker_background.png +0 -0
- style/colorpicker/colorpicker_hex.png +0 -0
- style/colorpicker/colorpicker_hsb_b.png +0 -0
- style/colorpicker/colorpicker_hsb_h.png +0 -0
- style/colorpicker/colorpicker_hsb_s.png +0 -0
- style/colorpicker/colorpicker_indic.gif +0 -0
- style/colorpicker/colorpicker_overlay.png +0 -0
- style/colorpicker/colorpicker_rgb_b.png +0 -0
- style/colorpicker/colorpicker_rgb_g.png +0 -0
- style/colorpicker/colorpicker_rgb_r.png +0 -0
- style/colorpicker/colorpicker_select.gif +0 -0
- style/colorpicker/colorpicker_submit.png +0 -0
- style/colorpicker/custom_background.png +0 -0
- style/colorpicker/custom_hex.png +0 -0
- style/colorpicker/custom_hsb_b.png +0 -0
- style/colorpicker/custom_hsb_h.png +0 -0
- style/colorpicker/custom_hsb_s.png +0 -0
- style/colorpicker/custom_indic.gif +0 -0
- style/colorpicker/custom_rgb_b.png +0 -0
- style/colorpicker/custom_rgb_g.png +0 -0
- style/colorpicker/custom_rgb_r.png +0 -0
- style/colorpicker/custom_submit.png +0 -0
- style/colorpicker/image02.png +0 -0
- style/colorpicker/select.png +0 -0
- style/colorpicker/select2.png +0 -0
- style/colorpicker/slider.png +0 -0
- style/default.css +52 -0
- style/images/black.png +0 -0
- style/images/black_red.png +0 -0
- style/images/blue.png +0 -0
- style/images/brown.png +0 -0
- style/images/css3_black.png +0 -0
- style/images/css3_black_glossy.png +0 -0
- style/images/css3_blue_glossy.png +0 -0
- style/images/css3_brown.png +0 -0
- style/images/css3_brown_glossy.png +0 -0
- style/images/css3_gray.png +0 -0
- style/images/css3_gray_glossy.png +0 -0
- style/images/css3_green.png +0 -0
- style/images/css3_green_glossy.png +0 -0
- style/images/css3_light_blue.png +0 -0
- style/images/css3_light_blue_glossy.png +0 -0
- style/images/css3_orange_glossy.png +0 -0
- style/images/css3_purple.png +0 -0
- style/images/css3_purple_glossy.png +0 -0
- style/images/css3_red.png +0 -0
- style/images/css3_red_glossy.png +0 -0
- style/images/css3_yellow.png +0 -0
- style/images/css3_yellow_glossy.png +0 -0
- style/images/default.png +0 -0
- style/images/gray.png +0 -0
- style/images/green.png +0 -0
- style/images/minimal.png +0 -0
- style/images/orange.png +0 -0
- style/images/purple.png +0 -0
- style/images/red.png +0 -0
- style/images/red_black.png +0 -0
- style/images/round_white.png +0 -0
- style/images/white_blue.png +0 -0
- style/images/yellow.png +0 -0
- style/wp-pagenavi-style-admin.css +147 -0
- uninstall.php +10 -0
- wp-pagenavi-style.php +151 -0
css/black.css
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important;
|
8 |
+
border:solid 1px #DCDCDC !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
margin-right:3px !important;
|
11 |
+
text-decoration:none !important;
|
12 |
+
font-size:12px !important;
|
13 |
+
background:#333333 !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
border-color:#202020 !important;
|
17 |
+
background:#ffffff !important;
|
18 |
+
color:#000000 !important;
|
19 |
+
}
|
20 |
+
.wp-pagenavi span.current{
|
21 |
+
padding:6px 9px 6px 9px !important;
|
22 |
+
border:solid 1px #202020 !important;
|
23 |
+
border-color:#ffffff !important;
|
24 |
+
color:#000 !important;
|
25 |
+
margin-right:3px !important;
|
26 |
+
border-color:#202020 !important;
|
27 |
+
}
|
css/black_red.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi { position: relative; font-size:12px; }
|
2 |
+
.wp-pagenavi a, .wp-pagenavi a:link { background: url(black_red/pagenavi-bg.png) repeat-x !important; padding: 9px 10px 9px 10px !important; margin: 2px; font-weight: bold; color:#FFFFFF !important; border: none !important; text-shadow: 1px 1px 1px #181817; text-decoration:none;}
|
3 |
+
.wp-pagenavi a:visited { background: url(black_red/pagenavi-bg.png) repeat-x !important; padding: 9px 10px 9px 10px !important; margin: 2px; font-weight: bold; color:#FFFFFF !important; border: none !important; }
|
4 |
+
.wp-pagenavi span.pages { padding: 5px 7px 5px !important; margin: 2px !important ; color: #000000 !important; border:none !important; color: #413f36 !important; background: none !important; }
|
5 |
+
.wp-pagenavi span.current, .wp-pagenavi span.extend, .wp-pagenavi a:active, .wp-pagenavi a:hover { background: url(black_red/pagenavi-current-bg.png) repeat-x !important; padding: 9px 10px 9px 10px !important; margin: 2px !important; font-weight: bold !important; color:#FFFFFF !important; border: none !important; text-shadow: 1px 1px 1px #6b0d0d !important; }
|
css/black_red/pagenavi-bg.png
ADDED
Binary file
|
css/black_red/pagenavi-current-bg.png
ADDED
Binary file
|
css/blue.css
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#022462 !important;
|
8 |
+
border:solid 1px #3d6dc3 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
margin-right:3px !important;
|
11 |
+
text-decoration:none !important;
|
12 |
+
font-size:12px !important;
|
13 |
+
background:#5e8fe9 !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
color:#022462 !important;
|
17 |
+
border-color:#3d6dc3 !important;
|
18 |
+
background:#60c6f7 !important;
|
19 |
+
}
|
20 |
+
.wp-pagenavi span.current{
|
21 |
+
padding:6px 9px 6px 9px !important;
|
22 |
+
border:solid 1px #3d6dc3 !important;
|
23 |
+
color:#022462 !important;
|
24 |
+
margin-right:3px !important;
|
25 |
+
background:#60c6f7 !important;
|
26 |
+
}
|
css/brown.css
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important;
|
8 |
+
border:solid 1px #886756 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
margin-right:3px !important;
|
11 |
+
text-decoration:none !important;
|
12 |
+
font-size:12px !important;
|
13 |
+
background:#ad836e !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
color:#fff !important;
|
17 |
+
border-color:#886756 !important;
|
18 |
+
background:#886756 !important;
|
19 |
+
}
|
20 |
+
.wp-pagenavi span.current{
|
21 |
+
padding:6px 9px 6px 9px !important;
|
22 |
+
border:solid 1px #886756 !important;
|
23 |
+
color:#fff !important;
|
24 |
+
margin-right:3px !important;
|
25 |
+
background:#886756 !important;
|
26 |
+
}
|
css/css3_black.css
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
border-color:#202020 !important;
|
20 |
+
background:#525252 !important;
|
21 |
+
color:#fff !important;
|
22 |
+
background:-moz-linear-gradient(top,#9F9F9F 1px,#6C6C6C 1px,#525252) !important;
|
23 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9F9F9F),color-stop(0.02,#6C6C6C),color-stop(1,#525252)) !important;
|
24 |
+
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
padding:6px 9px 6px 9px !important;
|
28 |
+
border:solid 1px #DCDCDC !important;
|
29 |
+
border-color:#3390CA !important;
|
30 |
+
border-radius:3px !important;
|
31 |
+
-moz-border-radius:3px !important;
|
32 |
+
-webkit-border-radius:3px !important;
|
33 |
+
color:#fff !important;
|
34 |
+
margin-right:3px !important;
|
35 |
+
border-color:#202020 !important;
|
36 |
+
background:#525252 !important;
|
37 |
+
background:-moz-linear-gradient(top,#9F9F9F 1px,#6C6C6C 1px,#525252) !important;
|
38 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9F9F9F),color-stop(0.02,#6C6C6C),color-stop(1,#525252)) !important;
|
39 |
+
}
|
css/css3_black_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #3C3C3C !important;
|
24 |
+
border-color:#202020 !important;
|
25 |
+
background:#525252 !important;
|
26 |
+
background:-moz-linear-gradient(top,#9F9F9F 1px,#6C6C6C 1px,#525252) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9F9F9F),color-stop(0.02,#6C6C6C),color-stop(1,#525252)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #3C3C3C !important;
|
43 |
+
border-color:#202020 !important;
|
44 |
+
background:#525252 !important;
|
45 |
+
background:-moz-linear-gradient(top,#9F9F9F 1px,#6C6C6C 1px,#525252) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9F9F9F),color-stop(0.02,#6C6C6C),color-stop(1,#525252)) !important;
|
47 |
+
}
|
css/css3_blue_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #4876C9 !important;
|
24 |
+
border-color:#3D6DC3 !important;
|
25 |
+
background:#5A8CE7 !important;
|
26 |
+
background:-moz-linear-gradient(top,#C2E0FF 1px,#84AFFE 1px,#5A8CE7) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C2E0FF),color-stop(0.02,#84AFFE),color-stop(1,#5A8CE7)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #4876C9 !important;
|
43 |
+
border-color:#3D6DC3 !important;
|
44 |
+
background:#5A8CE7 !important;
|
45 |
+
background:-moz-linear-gradient(top,#C2E0FF 1px,#84AFFE 1px,#5A8CE7) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C2E0FF),color-stop(0.02,#84AFFE),color-stop(1,#5A8CE7)) !important;
|
47 |
+
}
|
css/css3_brown.css
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
color:#fff !important;
|
20 |
+
text-shadow:0px 1px #866454 !important;
|
21 |
+
border-color:#886756 !important;
|
22 |
+
background:#A37A66 !important;
|
23 |
+
background:-moz-linear-gradient(top,#E9C4B2 1px,#C59882 1px,#A37A66) !important;
|
24 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#E9C4B2),color-stop(0.02,#C59882),color-stop(1,#A37A66)) !important;
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
padding:6px 9px 6px 9px !important;
|
28 |
+
border:solid 1px #DCDCDC !important;
|
29 |
+
border-color:#3390CA !important;
|
30 |
+
border-radius:3px !important;
|
31 |
+
-moz-border-radius:3px !important;
|
32 |
+
-webkit-border-radius:3px !important;
|
33 |
+
color:#fff !important;
|
34 |
+
margin-right:3px !important;
|
35 |
+
text-shadow:0px 1px #866454 !important;
|
36 |
+
border-color:#886756 !important;
|
37 |
+
background:#A37A66 !important;
|
38 |
+
background:-moz-linear-gradient(top,#E9C4B2 1px,#C59882 1px,#A37A66) !important;
|
39 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#E9C4B2),color-stop(0.02,#C59882),color-stop(1,#A37A66)) !important;
|
40 |
+
}
|
css/css3_brown_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #866454 !important;
|
24 |
+
border-color:#886756 !important;
|
25 |
+
background:#A37A66 !important;
|
26 |
+
background:-moz-linear-gradient(top,#E9C4B2 1px,#C59882 1px,#A37A66) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#E9C4B2),color-stop(0.02,#C59882),color-stop(1,#A37A66)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #866454 !important;
|
43 |
+
border-color:#886756 !important;
|
44 |
+
background:#A37A66 !important;
|
45 |
+
background:-moz-linear-gradient(top,#E9C4B2 1px,#C59882 1px,#A37A66) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#E9C4B2),color-stop(0.02,#C59882),color-stop(1,#A37A66)) !important;
|
47 |
+
}
|
css/css3_gray.css
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
color:#fff !important;
|
20 |
+
text-shadow:0px 1px #636363 !important;
|
21 |
+
border-color:#5D5D5D !important;
|
22 |
+
background:#777777 !important;
|
23 |
+
background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
|
24 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
padding:6px 9px 6px 9px !important;
|
28 |
+
border:solid 1px #DCDCDC !important;
|
29 |
+
border-color:#3390CA !important;
|
30 |
+
border-radius:3px !important;
|
31 |
+
-moz-border-radius:3px !important;
|
32 |
+
-webkit-border-radius:3px !important;
|
33 |
+
color:#fff !important;
|
34 |
+
margin-right:3px !important;
|
35 |
+
text-shadow:0px 1px #636363 !important;
|
36 |
+
border-color:#5D5D5D !important;
|
37 |
+
background:#777777 !important;
|
38 |
+
background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
|
39 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
|
40 |
+
}
|
css/css3_gray_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #636363 !important;
|
24 |
+
border-color:#5D5D5D !important;
|
25 |
+
background:#777777 !important;
|
26 |
+
background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #636363 !important;
|
43 |
+
border-color:#5D5D5D !important;
|
44 |
+
background:#777777 !important;
|
45 |
+
background:-moz-linear-gradient(top,#C0C0C0 1px,#929292 1px,#777777) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#C0C0C0),color-stop(0.02,#929292),color-stop(1,#777777)) !important;
|
47 |
+
}
|
css/css3_green.css
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
color:#fff !important;
|
20 |
+
border-color:#478223 !important;
|
21 |
+
background:#599F2F !important;
|
22 |
+
background:-moz-linear-gradient(top,#9FE355 1px,#79BF4A 1px,#599F2F) !important;
|
23 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9FE355),color-stop(0.02,#79BF4A),color-stop(1,#599F2F)) !important;
|
24 |
+
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
padding:6px 9px 6px 9px !important;
|
28 |
+
border:solid 1px #DCDCDC !important;
|
29 |
+
border-color:#3390CA !important;
|
30 |
+
border-radius:3px !important;
|
31 |
+
-moz-border-radius:3px !important;
|
32 |
+
-webkit-border-radius:3px !important;
|
33 |
+
color:#fff !important;
|
34 |
+
margin-right:3px !important;
|
35 |
+
border-color:#478223 !important;
|
36 |
+
background:#599F2F !important;
|
37 |
+
background:-moz-linear-gradient(top,#9FE355 1px,#79BF4A 1px,#599F2F) !important;
|
38 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9FE355),color-stop(0.02,#79BF4A),color-stop(1,#599F2F)) !important;
|
39 |
+
}
|
css/css3_green_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #4E802C !important;
|
24 |
+
border-color:#478223 !important;
|
25 |
+
background:#599F2F !important;
|
26 |
+
background:-moz-linear-gradient(top,#9FE355 1px,#79BF4A 1px,#599F2F) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9FE355),color-stop(0.02,#79BF4A),color-stop(1,#599F2F)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #4E802C !important;
|
43 |
+
border-color:#478223 !important;
|
44 |
+
background:#599F2F !important;
|
45 |
+
background:-moz-linear-gradient(top,#9FE355 1px,#79BF4A 1px,#599F2F) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#9FE355),color-stop(0.02,#79BF4A),color-stop(1,#599F2F)) !important;
|
47 |
+
}
|
css/css3_light_blue.css
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
text-shadow:0px 1px #388DBE !important;
|
20 |
+
border-color:#3390CA !important;
|
21 |
+
background:#58B0E7 !important;
|
22 |
+
background:-moz-linear-gradient(top,#B4F6FF 1px,#63D0FE 1px,#58B0E7) !important;
|
23 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#B4F6FF),color-stop(0.02,#63D0FE),color-stop(1,#58B0E7)) !important;
|
24 |
+
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
text-shadow:0px 1px #388DBE !important;
|
28 |
+
padding:6px 9px 6px 9px !important;
|
29 |
+
border:solid 1px #DCDCDC !important;
|
30 |
+
border-color:#3390CA !important;
|
31 |
+
border-radius:3px !important;
|
32 |
+
-moz-border-radius:3px !important;
|
33 |
+
-webkit-border-radius:3px !important;
|
34 |
+
background:#58B0E7 !important;
|
35 |
+
background:-moz-linear-gradient(top,#B4F6FF 1px,#63D0FE 1px,#58B0E7) !important;
|
36 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#B4F6FF),color-stop(0.02,#63D0FE),color-stop(1,#58B0E7)) !important;
|
37 |
+
margin-right:3px !important;
|
38 |
+
}
|
css/css3_light_blue_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #388DBE !important;
|
24 |
+
border-color:#3390CA !important;
|
25 |
+
background:#58B0E7 !important;
|
26 |
+
background:-moz-linear-gradient(top,#B4F6FF 1px,#63D0FE 1px,#58B0E7) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#B4F6FF),color-stop(0.02,#63D0FE),color-stop(1,#58B0E7)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #388DBE !important;
|
43 |
+
border-color:#3390CA !important;
|
44 |
+
background:#58B0E7 !important;
|
45 |
+
background:-moz-linear-gradient(top,#B4F6FF 1px,#63D0FE 1px,#58B0E7) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#B4F6FF),color-stop(0.02,#63D0FE),color-stop(1,#58B0E7)) !important;
|
47 |
+
}
|
css/css3_orange_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #CA470E !important;
|
24 |
+
border-color:#D13F11 !important;
|
25 |
+
background:#E95B2B !important;
|
26 |
+
background:-moz-linear-gradient(top,#FFBE01 1px,#FE7C02 1px,#E95B2B) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFBE01),color-stop(0.02,#FE7C02),color-stop(1,#E95B2B)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #CA470E !important;
|
43 |
+
border-color:#D13F11 !important;
|
44 |
+
background:#E95B2B !important;
|
45 |
+
background:-moz-linear-gradient(top,#FFBE01 1px,#FE7C02 1px,#E95B2B) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFBE01),color-stop(0.02,#FE7C02),color-stop(1,#E95B2B)) !important;
|
47 |
+
}
|
css/css3_purple.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
color:#fff !important;
|
20 |
+
text-shadow:0px 1px #7955AB !important;
|
21 |
+
border-color:#6F4DA0 !important;
|
22 |
+
background:#9168C9 !important;
|
23 |
+
background:-moz-linear-gradient(top,#DFBEFA 1px,#B088E7 1px,#9168C9) !important;
|
24 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#DFBEFA),color-stop(0.02,#B088E7),color-stop(1,#9168C9)) !important;
|
25 |
+
|
26 |
+
}
|
27 |
+
.wp-pagenavi span.current{
|
28 |
+
padding:6px 9px 6px 9px !important;
|
29 |
+
border:solid 1px #DCDCDC !important;
|
30 |
+
border-color:#3390CA !important;
|
31 |
+
border-radius:3px !important;
|
32 |
+
-moz-border-radius:3px !important;
|
33 |
+
-webkit-border-radius:3px !important;
|
34 |
+
color:#fff !important;
|
35 |
+
margin-right:3px !important;
|
36 |
+
text-shadow:0px 1px #7955AB !important;
|
37 |
+
border-color:#6F4DA0 !important;
|
38 |
+
background:#9168C9 !important;
|
39 |
+
background:-moz-linear-gradient(top,#DFBEFA 1px,#B088E7 1px,#9168C9) !important;
|
40 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#DFBEFA),color-stop(0.02,#B088E7),color-stop(1,#9168C9)) !important;
|
41 |
+
}
|
css/css3_purple_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #7955AB !important;
|
24 |
+
border-color:#6F4DA0 !important;
|
25 |
+
background:#9168C9 !important;
|
26 |
+
background:-moz-linear-gradient(top,#DFBEFA 1px,#B088E7 1px,#9168C9) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#DFBEFA),color-stop(0.02,#B088E7),color-stop(1,#9168C9)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #7955AB !important;
|
43 |
+
border-color:#6F4DA0 !important;
|
44 |
+
background:#9168C9 !important;
|
45 |
+
background:-moz-linear-gradient(top,#DFBEFA 1px,#B088E7 1px,#9168C9) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#DFBEFA),color-stop(0.02,#B088E7),color-stop(1,#9168C9)) !important;
|
47 |
+
}
|
css/css3_red.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
font-size:12px !important;
|
17 |
+
}
|
18 |
+
.wp-pagenavi a:hover {
|
19 |
+
color:#fff !important;
|
20 |
+
text-shadow:0px 1px #B72E2E !important;
|
21 |
+
border-color:#AD2D2D !important;
|
22 |
+
background:#E43838 !important;
|
23 |
+
background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
|
24 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;
|
25 |
+
|
26 |
+
}
|
27 |
+
.wp-pagenavi span.current{
|
28 |
+
padding:6px 9px 6px 9px !important;
|
29 |
+
border:solid 1px #DCDCDC !important;
|
30 |
+
border-color:#3390CA !important;
|
31 |
+
border-radius:3px !important;
|
32 |
+
-moz-border-radius:3px !important;
|
33 |
+
-webkit-border-radius:3px !important;
|
34 |
+
color:#fff !important;
|
35 |
+
margin-right:3px !important;
|
36 |
+
text-shadow:0px 1px #B72E2E !important;
|
37 |
+
border-color:#AD2D2D !important;
|
38 |
+
background:#E43838 !important;
|
39 |
+
background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
|
40 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;
|
41 |
+
}
|
css/css3_red_glossy.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10 !important;
|
3 |
+
display:block !important;
|
4 |
+
clear:both !important;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#fff !important;
|
23 |
+
text-shadow:0px 1px #B72E2E !important;
|
24 |
+
border-color:#AD2D2D !important;
|
25 |
+
background:#E43838 !important;
|
26 |
+
background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;
|
28 |
+
color:#FFFFFF !important;
|
29 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
32 |
+
|
33 |
+
}
|
34 |
+
.wp-pagenavi span.current{
|
35 |
+
padding:6px 9px 6px 9px !important;
|
36 |
+
border:solid 1px #DCDCDC !important;
|
37 |
+
color:#fff !important;
|
38 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
41 |
+
margin-right:3px !important;
|
42 |
+
text-shadow:0px 1px #B72E2E !important;
|
43 |
+
border-color:#AD2D2D !important;
|
44 |
+
background:#E43838 !important;
|
45 |
+
background:-moz-linear-gradient(top,#FF9B9B 1px,#FE5555 1px,#E43838) !important;
|
46 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FF9B9B),color-stop(0.02,#FE5555),color-stop(1,#E43838)) !important;
|
47 |
+
}
|
css/css3_yellow.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#707070 !important;
|
8 |
+
background:#FFFFFF !important;
|
9 |
+
border-radius:3px !important;
|
10 |
+
-moz-border-radius:3px !important;
|
11 |
+
-webkit-border-radius:3px !important;
|
12 |
+
border:solid 1px #DCDCDC !important;
|
13 |
+
padding:6px 9px 6px 9px !important;
|
14 |
+
margin-right:3px !important;
|
15 |
+
text-decoration:none !important;
|
16 |
+
}
|
17 |
+
.wp-pagenavi a:hover {
|
18 |
+
color:#893A00 !important;
|
19 |
+
text-shadow:0px 1px #FFEF42 !important;
|
20 |
+
border-color:#FFA200 !important;
|
21 |
+
background:#FFC800 !important;
|
22 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
23 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
24 |
+
|
25 |
+
}
|
26 |
+
.wp-pagenavi span.current{
|
27 |
+
border:solid 1px #DCDCDC !important;
|
28 |
+
padding:6px 9px 6px 9px !important;
|
29 |
+
color:#FFFFFF !important;
|
30 |
+
border-color:#FFA200 !important;
|
31 |
+
border-radius:3px !important;
|
32 |
+
-moz-border-radius:3px !important;
|
33 |
+
-webkit-border-radius:3px !important;
|
34 |
+
background:#FFC800 !important;
|
35 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
36 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
37 |
+
box-shadow:0px 1px #EDEDED !important;
|
38 |
+
-moz-box-shadow:0px 1px #EDEDED !important;
|
39 |
+
-webkit-box-shadow:0px 1px #EDEDED !important;
|
40 |
+
margin-right:3px !important;
|
41 |
+
}
|
css/css3_yellow_glossy.css
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#333333 !important;
|
8 |
+
text-shadow:0px 1px #F6F6F6 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
border:solid 1px #B6B6B6 !important;
|
11 |
+
box-shadow:0px 1px #EFEFEF !important;
|
12 |
+
-moz-box-shadow:0px 1px #EFEFEF !important;
|
13 |
+
-webkit-box-shadow:0px 1px #EFEFEF !important;
|
14 |
+
background:#E6E6E6 !important;
|
15 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6) !important;
|
16 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6)) !important;
|
17 |
+
font-size:12px !important;
|
18 |
+
margin-right:3px !important;
|
19 |
+
text-decoration:none !important;
|
20 |
+
}
|
21 |
+
.wp-pagenavi a:hover {
|
22 |
+
color:#893A00 !important;
|
23 |
+
text-shadow:0px 1px #FFEF42 !important;
|
24 |
+
border-color:#FFA200 !important;
|
25 |
+
background:#FFC800 !important;
|
26 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
27 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
28 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
29 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
30 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
31 |
+
|
32 |
+
}
|
33 |
+
.wp-pagenavi span.current{
|
34 |
+
padding:6px 9px 6px 9px !important;
|
35 |
+
border:solid 1px #DCDCDC !important;
|
36 |
+
color:#893A00 !important;
|
37 |
+
box-shadow:0px 1px #E7E7E7 !important;
|
38 |
+
-moz-box-shadow:0px 1px #E7E7E7 !important;
|
39 |
+
-webkit-box-shadow:0px 1px #E7E7E7 !important;
|
40 |
+
margin-right:3px !important;
|
41 |
+
text-shadow:0px 1px #FFEF42 !important;
|
42 |
+
border-color:#FFA200 !important;
|
43 |
+
background:#FFC800 !important;
|
44 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
45 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
46 |
+
}
|
css/default.css
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi
|
2 |
+
{
|
3 |
+
font-size:12px;
|
4 |
+
display:block;
|
5 |
+
clear:both;
|
6 |
+
padding:20px 0px 20px 0px;
|
7 |
+
}
|
8 |
+
.wp-pagenavi a,
|
9 |
+
.wp-pagenavi a:link,
|
10 |
+
.wp-pagenavi a:visited,
|
11 |
+
.wp-pagenavi a:active {
|
12 |
+
padding: 4px 8px !important;
|
13 |
+
margin: 3px !important;
|
14 |
+
text-decoration: none !important;
|
15 |
+
border: 1px solid #C8C8C2 !important;
|
16 |
+
background: #FCFCFC !important;
|
17 |
+
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
18 |
+
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
19 |
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
20 |
+
color: #999 !important;
|
21 |
+
}
|
22 |
+
|
23 |
+
.wp-pagenavi a:hover {
|
24 |
+
border: 1px solid #a7a7a3 !important;
|
25 |
+
color: #444 !important;
|
26 |
+
}
|
27 |
+
|
28 |
+
.wp-pagenavi span.pages {
|
29 |
+
padding: 4px 8px !important;
|
30 |
+
margin: 3px !important;
|
31 |
+
font-family: Georgia,serif !important;
|
32 |
+
font-style: italic !important;
|
33 |
+
color: #999 !important;
|
34 |
+
}
|
35 |
+
|
36 |
+
.wp-pagenavi span.current {
|
37 |
+
padding: 4px 8px !important;
|
38 |
+
margin: 3px !important;
|
39 |
+
text-decoration: none !important;
|
40 |
+
border: 1px solid #a7a7a3 !important;
|
41 |
+
background: #FCFCFC !important;
|
42 |
+
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
43 |
+
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
44 |
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
45 |
+
font-weight: bold !important;
|
46 |
+
color: #444 !important;
|
47 |
+
}
|
48 |
+
|
49 |
+
.wp-pagenavi span.extend {
|
50 |
+
padding: 4px 8px !important;
|
51 |
+
margin: 3px !important;
|
52 |
+
text-decoration: none !important;
|
53 |
+
border: 1px solid #C8C8C2 !important;
|
54 |
+
background: #FCFCFC !important;
|
55 |
+
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
56 |
+
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
57 |
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) !important;
|
58 |
+
}
|
css/gray.css
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important;
|
8 |
+
border:solid 1px #000000 !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
margin-right:3px !important;
|
11 |
+
text-decoration:none !important;
|
12 |
+
font-size:12px !important;
|
13 |
+
background:#797979 !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
color:#fff !important;
|
17 |
+
border-color:#202020 !important;
|
18 |
+
background:#585858 !important;
|
19 |
+
}
|
20 |
+
.wp-pagenavi span.current{
|
21 |
+
padding:6px 9px 6px 9px !important;
|
22 |
+
border:solid 1px #202020 !important;
|
23 |
+
color:#fff !important;
|
24 |
+
margin-right:3px !important;
|
25 |
+
background:#585858 !important;
|
26 |
+
}
|
css/green.css
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important;
|
8 |
+
border:solid 1px #02360b !important;
|
9 |
+
padding:6px 9px 6px 9px !important;
|
10 |
+
margin-right:3px !important;
|
11 |
+
text-decoration:none !important;
|
12 |
+
font-size:12px !important;
|
13 |
+
background:#2c9c3f !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
color:#fff !important;
|
17 |
+
border-color:#02360b !important;
|
18 |
+
background:#03cf26 !important;
|
19 |
+
}
|
20 |
+
.wp-pagenavi span.current{
|
21 |
+
padding:6px 9px 6px 9px !important;
|
22 |
+
border:solid 1px #DCDCDC !important;
|
23 |
+
color:#fff !important;
|
24 |
+
margin-right:3px !important;
|
25 |
+
border-color:#02360b !important;
|
26 |
+
background:#03cf26 !important;
|
27 |
+
}
|
css/minimal.css
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
}
|
4 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
5 |
+
color:#707070 !important;
|
6 |
+
background:#FFFFFF !important;
|
7 |
+
border-radius:3px !important;
|
8 |
+
-moz-border-radius:3px !important;
|
9 |
+
-webkit-border-radius:3px !important;
|
10 |
+
border:solid 1px #DCDCDC !important;
|
11 |
+
padding:6px 9px 6px 9px !important;
|
12 |
+
margin-right:3px !important;
|
13 |
+
text-decoration:none !important;
|
14 |
+
}
|
15 |
+
.wp-pagenavi a:hover {
|
16 |
+
color:#893A00 !important;
|
17 |
+
text-shadow:0px 1px #FFEF42 !important;
|
18 |
+
border-color:#FFA200 !important;
|
19 |
+
background:#FFC800 !important;
|
20 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
21 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
22 |
+
|
23 |
+
}
|
24 |
+
.wp-pagenavi span.current{
|
25 |
+
border:solid 1px #DCDCDC !important;
|
26 |
+
padding:6px 9px 6px 9px !important;
|
27 |
+
color:#FFFFFF !important;
|
28 |
+
border-color:#FFA200 !important;
|
29 |
+
border-radius:3px !important;
|
30 |
+
-moz-border-radius:3px !important;
|
31 |
+
-webkit-border-radius:3px !important;
|
32 |
+
background:#FFC800 !important;
|
33 |
+
background:-moz-linear-gradient(top,#FFFFFF 1px,#FFEA01 1px,#FFC800) !important;
|
34 |
+
background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#FFEA01),color-stop(1,#FFC800)) !important;
|
35 |
+
box-shadow:0px 1px #EDEDED !important;
|
36 |
+
-moz-box-shadow:0px 1px #EDEDED !important;
|
37 |
+
-webkit-box-shadow:0px 1px #EDEDED !important;
|
38 |
+
margin-right:3px !important;
|
39 |
+
}
|
css/orange.css
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important; border:solid 1px #ee7808 !important; padding:6px 9px 6px 9px !important; margin-right:3px !important; text-decoration:none !important; font-size:12px !important; background:#fb9302 !important;}
|
8 |
+
.wp-pagenavi a:hover { color:#fff !important; border-color:#ee7808 !important;
|
9 |
+
background:#ee7608 !important;}
|
10 |
+
.wp-pagenavi span.current{ padding:6px 9px 6px 9px !important; border:solid 1px #ee7808 !important; color:#fff !important; margin-right:3px !important; background:#ee7608 !important;
|
11 |
+
}
|
css/purple.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important; border:solid 1px #6f4da0 !important; padding:6px 9px 6px 9px !important; margin-right:3px !important; text-decoration:none !important; font-size:12px !important; background:#956ccd !important;}
|
8 |
+
.wp-pagenavi a:hover { color:#fff !important; border-color:#6f4da0 !important; background:#80437b !important;}
|
9 |
+
.wp-pagenavi span.current{ padding:6px 9px 6px 9px !important; border:solid 1px #6f4da0 !important; color:#fff !important; margin-right:3px !important; background:#80437b !important;}
|
css/red.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
|
7 |
+
color:#fff !important; border:solid 1px #ec3f43 !important; padding:6px 9px 6px 9px !important; margin-right:3px !important; text-decoration:none !important; font-size:12px !important; background:#f3191e !important;}
|
8 |
+
.wp-pagenavi a:hover { color:#fff !important; border-color:#3390CA !important; background:#cd0404 !important;}
|
9 |
+
.wp-pagenavi span.current{ padding:6px 9px 6px 9px !important; border:solid 1px #DCDCDC !important; color:#fff !important; margin-right:3px !important; border-color:#AD2D2D !important; background:#cd0404 !important; }
|
css/red_black.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi {
|
2 |
+
padding: 10px 20px 10;
|
3 |
+
display:block;
|
4 |
+
clear:both;
|
5 |
+
}
|
6 |
+
.wp-pagenavi a, .wp-pagenavi a:link { padding: 9px 10px 9px 10px !important; background: url(black_red/pagenavi-current-bg.png) repeat-x !important; margin: 2px !important; font-weight: bold !important; color:#FFFFFF !important; border: none !important; text-shadow: 1px 1px 1px #181817 !important; text-decoration:none !important;}
|
7 |
+
.wp-pagenavi a:visited { background: url(black_red/pagenavi-current-bg.png) repeat-x !important; padding: 9px 10px 9px 10px !important; margin: 2px !important; font-weight: bold !important; color:#FFFFFF !important; border: none !important; }
|
8 |
+
.wp-pagenavi span.pages { padding: 5px 7px 5px !important; margin: 2px !important ; color: #000000 !important; border:none !important; color: #413f36 !important; background: none !important; }
|
9 |
+
.wp-pagenavi span.current, .wp-pagenavi span.extend, .wp-pagenavi a:active, .wp-pagenavi a:hover {background: url(black_red/pagenavi-bg.png) repeat-x !important; padding: 9px 10px 9px 10px !important; margin: 2px !important; font-weight: bold !important; color:#FFFFFF !important; border: none !important; text-shadow: 1px 1px 1px #6b0d0d !important; }
|
css/round_white.css
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi { padding: 10px 20px 10; display:block; clear:both;}
|
2 |
+
.wp-pagenavi a, .wp-pagenavi a:link { padding: 6px 8px !important; margin: 2px !important; text-decoration: none !important; border:1px solid #e2e5e5 !important; color: #8c9c9c !important; background:url(images/pagination-bg.png) repeat-x !important; font-weight: normal !important; }
|
3 |
+
.wp-pagenavi span.pages { padding: 6px 8px !important; margin: 2px !important ; border: none !important; color: #bcc9c9 !important; background: none !important; }
|
4 |
+
.wp-pagenavi span.current, .wp-pagenavi span.extend, .wp-pagenavi a:active, .wp-pagenavi a:hover { padding: 6px 8px !important; margin: 2px; font-weight: bold; background:url(images/pagination-bg.png) repeat-x !important; border:1px solid #e2e5e5 !important; color:#8c9c9c !important; }
|
5 |
+
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi span.current, .wp-pagenavi span.extend, .wp-pagenavi a:active { -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
6 |
+
.wp-pagenavi a:hover { color: #000 !important; }
|
css/white_blue.css
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi { padding: 10px 20px 10; display:block; clear:both;}
|
2 |
+
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited, .wp-pagenavi a:active { padding: 4px 8px !important; margin: 2px !important; text-decoration: none !important; border: 1px solid #ddd !important; background: #FFFFFF !important; color: #999 !important; }
|
3 |
+
.wp-pagenavi a:hover { border: 1px solid #3399cc !important; color: #3399cc !important; }
|
4 |
+
.wp-pagenavi span.pages { padding: 4px 8px !important; margin: 2px !important; font-style: italic !important; color: #999 !important; font-size: 11px !important; }
|
5 |
+
.wp-pagenavi span.current { padding: 4px 8px !important; margin: 2px !important; font-weight: bold !important; border: 1px solid #3399cc !important; background: #3399cc !important; color: #fff !important; }
|
6 |
+
.wp-pagenavi span.extend { padding: 4px 8px !important; margin: 2px !important; border: 1px solid #ddd !important; background-color: #FFFFFF !important; }
|
css/yellow.css
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi { padding: 10px 20px 10 !important; display:block !important; clear:both; }
|
2 |
+
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend { color:#000 !important; border:solid 1px #ffa200 !important; padding:6px 9px 6px 9px !important; margin-right:3px !important; text-decoration:none !important; font-size:12px !important; background:#ffe501 !important; }
|
3 |
+
.wp-pagenavi a:hover { color:#000 !important; border-color:#ffa200 !important; background:#fcfd8a !important; }
|
4 |
+
.wp-pagenavi span.current{ padding:6px 9px 6px 9px !important; border:solid 1px #ffa200 !important; color:#000 !important; margin-right:3px !important; border-color:#ffa200 !important; background:#fcfd8a !important;}
|
images/btn_donate.gif
ADDED
Binary file
|
images/error.png
ADDED
Binary file
|
images/icon.png
ADDED
Binary file
|
includes/common_functions.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Function to get RSS feed Results
|
4 |
+
*/
|
5 |
+
if(!function_exists('ns_wp_common_get_feeds'))
|
6 |
+
{
|
7 |
+
function ns_wp_common_get_feeds($feed)
|
8 |
+
{
|
9 |
+
include_once(ABSPATH . WPINC . '/feed.php');
|
10 |
+
// Get a SimplePie feed object from the specified feed source.
|
11 |
+
$rss = fetch_feed($feed);
|
12 |
+
if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly
|
13 |
+
// Figure out how many total items there are, but limit it to 5.
|
14 |
+
$maxitems = $rss->get_item_quantity(5);
|
15 |
+
// Build an array of all the items, starting with element 0 (first element).
|
16 |
+
$rss_items = $rss->get_items(0, $maxitems);
|
17 |
+
endif;
|
18 |
+
echo '<ol class="ns_wp_rss_list">';
|
19 |
+
if ($maxitems == 0) echo '<li>No items.</li>';
|
20 |
+
else
|
21 |
+
// Loop through each feed item and display each item as a hyperlink.
|
22 |
+
foreach ( $rss_items as $item ) :
|
23 |
+
echo '<li>';
|
24 |
+
echo '<a href="'.$item->get_permalink().'" title="">'.$item->get_title().'</a></li>';
|
25 |
+
endforeach;
|
26 |
+
echo '</ol>';
|
27 |
+
|
28 |
+
}
|
29 |
+
}
|
30 |
+
?>
|
includes/options.php
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap">
|
2 |
+
<h2><?php echo _e('WP PageNavi Style Options','wp-pagenavi-style'); ?></h2>
|
3 |
+
<script type="text/javascript" src="<?php echo WP_PAGENAVI_STYLE_PATH;?>js/jquery-1.5.min.js"></script>
|
4 |
+
<script type="text/javascript" src="<?php echo WP_PAGENAVI_STYLE_PATH;?>js/colorpicker.js"></script>
|
5 |
+
<script type="text/javascript" src="<?php echo WP_PAGENAVI_STYLE_PATH;?>js/script.js"></script>
|
6 |
+
<link rel="stylesheet" href="<?php echo WP_PAGENAVI_STYLE_PATH;?>/style/colorpicker.css" type="text/css" />
|
7 |
+
<link rel="stylesheet" href="<?php echo WP_PAGENAVI_STYLE_PATH;?>/style/wp-pagenavi-style-admin.css" type="text/css" />
|
8 |
+
<?php
|
9 |
+
if(isset($_POST['WP_PAGENAVI_STYLE_OPTION']))
|
10 |
+
{
|
11 |
+
echo '<div class="updated fade" id="message"><p>';
|
12 |
+
_e('WP PageNavi Style Options Settings <strong>Updated</strong>');
|
13 |
+
echo '</p></div>';
|
14 |
+
unset($_POST['update']);
|
15 |
+
update_option('WP_PAGENAVI_STYLE_OPTION', $_POST['WP_PAGENAVI_STYLE_OPTION']);
|
16 |
+
}
|
17 |
+
?>
|
18 |
+
<?php if(!function_exists('wp_pagenavi')) : ?>
|
19 |
+
<div style="border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background:#feb1b1;border:1px solid #fe9090;color:#820101;font-size:12px;font-weight:bold;height:auto;margin:10px 15px 0 0;font-family:arial;overflow:hidden;padding:4px 10px 6px;" id="update_sb">
|
20 |
+
<div style="background:url(<?php echo WP_PAGENAVI_STYLE_PATH;?>images/error.png) no-repeat left;margin:2px 10px 0 0;float:left;line-height:18px;padding-left:22px; padding:10px 10px 10px 30px;">
|
21 |
+
NOTICE: <a href="http://wordpress.org/extend/plugins/wp-pagenavi/" target="_blank" title="Wp PageNavi Plugin"> Wp-PageNavi</a> Plugin is not installed on your website. Please visit the <a style="color:#ca0c01" href="plugin-install.php?tab=search&type=term&s=pagenavi&plugin-search-input=Search+Plugins"> Wp PageNavi </a> and install WP-PageNavi Plugin.
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
<?php endif;?>
|
25 |
+
|
26 |
+
<table cellspacing="5" cellpadding="5" border="0" width="100%">
|
27 |
+
<tr>
|
28 |
+
<td width="70%" valign="top">
|
29 |
+
<div class="maxi_left">
|
30 |
+
<?php
|
31 |
+
$options=get_option('WP_PAGENAVI_STYLE_OPTION');
|
32 |
+
$form_url=admin_url().'admin.php?page=wp-pagenavi-style/wp-pagenavi-style.php';
|
33 |
+
?>
|
34 |
+
|
35 |
+
<form name="wp_pn_style_options_form" id="wp_pn_style_options_form" method="POST" action="<?php echo $form_url;?>">
|
36 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
37 |
+
<thead>
|
38 |
+
<tr>
|
39 |
+
<th scope="col" colspan="2"><?php _e('Style Settings','wp-pagenavi-style'); ?>
|
40 |
+
</th>
|
41 |
+
</tr>
|
42 |
+
</thead>
|
43 |
+
<tr>
|
44 |
+
<td><?php _e('Select StyleSheet : ','wp-pagenavi-style'); ?></td>
|
45 |
+
<td>
|
46 |
+
<select name="WP_PAGENAVI_STYLE_OPTION[stylesheet]" id="wp_pn_style_selection" style="width:120px;">
|
47 |
+
<option value="template" <?php selected('template', $options['stylesheet']); ?>><?php _e('Existing Styles','WPSOCIALTOOLBAR'); ?></option>
|
48 |
+
<option value="custom" <?php selected('custom', $options['stylesheet']); ?>><?php _e('Custom','WPSOCIALTOOLBAR'); ?></option>
|
49 |
+
|
50 |
+
</select> <span style="color:#666;"><small><?php _e('Select Hide / Show Icon Color','wp-pagenavi-style'); ?></small></span>
|
51 |
+
|
52 |
+
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
<tr>
|
56 |
+
<td colspan="2" style="border:0px;">
|
57 |
+
<div id="wp_pn_custom_template_style">
|
58 |
+
<table cellspacing="5" cellpadding="5" style="border:0px;">
|
59 |
+
<tr>
|
60 |
+
<td style="border:0px;"><?php _e('Select Style From Our Collection : ','wp-pagenavi-style'); ?></td>
|
61 |
+
<td style="border:0px;">
|
62 |
+
<select name="WP_PAGENAVI_STYLE_OPTION[template]" id="wp_pn_style_select_box" style="width:200px;">
|
63 |
+
<?php
|
64 |
+
$filePath = WP_PAGENAVI_STYLE_CSS_PATH;/* Enter path to the folder */
|
65 |
+
$string="";
|
66 |
+
$fileCount=0;
|
67 |
+
$dir = opendir($filePath);
|
68 |
+
while ($file = readdir($dir)) {
|
69 |
+
|
70 |
+
if (eregi("\.css",$file)) { /* Look for files with .png extension */
|
71 |
+
$flie_name=explode('.',$file);
|
72 |
+
echo '<option value="'.$flie_name[0].'"'; ?>
|
73 |
+
<?php selected($flie_name[0], $options['template']); ?>>
|
74 |
+
<?php _e(strtoupper(str_replace('_', ' ', $flie_name[0])),'wp-pagenavi-style'); ?></option>
|
75 |
+
<?php
|
76 |
+
}
|
77 |
+
}
|
78 |
+
echo $string;
|
79 |
+
?></select> <span style="color:#666;"><small><?php _e('Select Hide / Show Icon Color','wp-pagenavi-style'); ?></small></span>
|
80 |
+
</td>
|
81 |
+
</tr>
|
82 |
+
<tr>
|
83 |
+
<td colspan="2" style="border:0px;">
|
84 |
+
<div id="wp_pn_style_IMG_preview_box">
|
85 |
+
<h2><?php _e('Preview ','wp-pagenavi-style'); ?></h2>
|
86 |
+
<div id="wp_pn_style_IMG_preview"></div>
|
87 |
+
</div>
|
88 |
+
</td>
|
89 |
+
</tr>
|
90 |
+
</table>
|
91 |
+
</div>
|
92 |
+
</td>
|
93 |
+
</tr>
|
94 |
+
<tr>
|
95 |
+
<td colspan="2">
|
96 |
+
<div id="wp_pn_style_custom_style_box">
|
97 |
+
<table cellspacing="5" cellpadding="5" border="0" style="border:0px;">
|
98 |
+
<tr>
|
99 |
+
<td style="border:0px;"><?php _e('Heading Color: ','wp-pagenavi-style'); ?></td>
|
100 |
+
<td style="border:0px;"><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[heading_color]" value="<?php echo $options['heading_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Heading Color (e.g. Page 1 of 10)','wp-pagenavi-style'); ?></small></span></td>
|
101 |
+
</tr>
|
102 |
+
<tr>
|
103 |
+
<td style="border:0px;"><?php _e('Background Color: ','wp-pagenavi-style'); ?></td>
|
104 |
+
<td style="border:0px;"><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[background_color]" value="<?php echo $options['background_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Background Color Of link','wp-pagenavi-style'); ?></small></span></td>
|
105 |
+
</tr>
|
106 |
+
<tr>
|
107 |
+
<td style="border:0px;"><?php _e('Active / Current Background Color: ','wp-pagenavi-style'); ?></td>
|
108 |
+
<td style="border:0px;"><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[hover_color]" value="<?php echo $options['hover_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Background Color Of Active or link mouse hover','wp-pagenavi-style'); ?></small></span></td>
|
109 |
+
</tr>
|
110 |
+
<tr>
|
111 |
+
<td><?php _e('Font Size : ','wp-pagenavi-style'); ?></td>
|
112 |
+
<td>
|
113 |
+
<select name="WP_PAGENAVI_STYLE_OPTION[font_size]" style="width:120px;">
|
114 |
+
<option value="8px" <?php selected('8px', $options['font_size']); ?>><?php _e('8px','wp-pagenavi-style'); ?></option>
|
115 |
+
<option value="9px" <?php selected('9px', $options['font_size']); ?>><?php _e('9px','wp-pagenavi-style'); ?></option>
|
116 |
+
<option value="10px" <?php selected('10px', $options['font_size']); ?>><?php _e('10px','wp-pagenavi-style'); ?></option>
|
117 |
+
<option value="11px" <?php selected('11px', $options['font_size']); ?>><?php _e('11px','wp-pagenavi-style'); ?></option>
|
118 |
+
<option value="12px" <?php selected('12px', $options['font_size']); ?>><?php _e('12px','wp-pagenavi-style'); ?></option>
|
119 |
+
<option value="13px" <?php selected('13px', $options['font_size']); ?>><?php _e('13px','wp-pagenavi-style'); ?></option>
|
120 |
+
<option value="14px" <?php selected('14px', $options['font_size']); ?>><?php _e('14px','wp-pagenavi-style'); ?></option>
|
121 |
+
<option value="15px" <?php selected('15px', $options['font_size']); ?>><?php _e('15px','wp-pagenavi-style'); ?></option>
|
122 |
+
<option value="16px" <?php selected('16px', $options['font_size']); ?>><?php _e('16px','wp-pagenavi-style'); ?></option>
|
123 |
+
<option value="17px" <?php selected('17px', $options['font_size']); ?>><?php _e('17px','wp-pagenavi-style'); ?></option>
|
124 |
+
<option value="18px" <?php selected('18px', $options['font_size']); ?>><?php _e('18px','wp-pagenavi-style'); ?></option>
|
125 |
+
<option value="19px" <?php selected('19px', $options['font_size']); ?>><?php _e('19px','wp-pagenavi-style'); ?></option>
|
126 |
+
<option value="20px" <?php selected('20px', $options['font_size']); ?>><?php _e('20px','wp-pagenavi-style'); ?></option>
|
127 |
+
<option value="21px" <?php selected('21px', $options['font_size']); ?>><?php _e('21px','wp-pagenavi-style'); ?></option>
|
128 |
+
<option value="22px" <?php selected('22px', $options['font_size']); ?>><?php _e('22px','wp-pagenavi-style'); ?></option>
|
129 |
+
<option value="23px" <?php selected('23px', $options['font_size']); ?>><?php _e('23px','wp-pagenavi-style'); ?></option>
|
130 |
+
<option value="24px" <?php selected('24px', $options['font_size']); ?>><?php _e('24px','wp-pagenavi-style'); ?></option>
|
131 |
+
<option value="25px" <?php selected('25px', $options['font_size']); ?>><?php _e('25px','wp-pagenavi-style'); ?></option>
|
132 |
+
</select> <span style="color:#666;"><small><?php _e('Select Font Size','wp-pagenavi-style'); ?></small></span>
|
133 |
+
</td>
|
134 |
+
</tr>
|
135 |
+
<tr>
|
136 |
+
<td><?php _e('Link Color : ','wp-pagenavi-style'); ?></td>
|
137 |
+
<td><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[link_color]" value="<?php echo $options['link_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Link Color','wp-pagenavi-style'); ?></small></span></td>
|
138 |
+
</tr>
|
139 |
+
<tr>
|
140 |
+
<td><?php _e('Link Mouse Hover / Active Color : ','wp-pagenavi-style'); ?></td>
|
141 |
+
<td><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[link_active_color]" value="<?php echo $options['link_active_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Link Mouse Hover / Active Color','wp-pagenavi-style'); ?></small></span></td>
|
142 |
+
</tr>
|
143 |
+
<tr>
|
144 |
+
<td><?php _e('Link Border Color : ','wp-pagenavi-style'); ?></td>
|
145 |
+
<td><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[border_color]" value="<?php echo $options['border_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Link Border Color','wp-pagenavi-style'); ?></small></span></td>
|
146 |
+
</tr>
|
147 |
+
<tr>
|
148 |
+
<td><?php _e('Link Border Mouse Hover/Active Color : ','wp-pagenavi-style'); ?></td>
|
149 |
+
<td><input type="text" class="wp_pn_color_picker" name="WP_PAGENAVI_STYLE_OPTION[border_active_color]" value="<?php echo $options['border_active_color']; ?>" size="15" /> <span style="color:#666;"><small><?php _e('Select Link Border Mouse Hover/Active','wp-pagenavi-style'); ?></small></span></td>
|
150 |
+
</tr>
|
151 |
+
|
152 |
+
</table>
|
153 |
+
</div>
|
154 |
+
</td>
|
155 |
+
</tr>
|
156 |
+
<tr>
|
157 |
+
<td><?php _e('Align Navigation : ','wp-pagenavi-style'); ?></td>
|
158 |
+
<td>
|
159 |
+
<select name="WP_PAGENAVI_STYLE_OPTION[align]" style="width:120px;">
|
160 |
+
<option value="left" <?php selected('left', $options['align']); ?>><?php _e('left','wp-pagenavi-style'); ?></option>
|
161 |
+
<option value="right" <?php selected('right', $options['align']); ?>><?php _e('right','wp-pagenavi-style'); ?></option>
|
162 |
+
<option value="center" <?php selected('center', $options['align']); ?>><?php _e('center','wp-pagenavi-style'); ?></option>
|
163 |
+
</select> <span style="color:#666;"><small><?php _e('Align navigation using this option.','wp-pagenavi-style'); ?></small></span>
|
164 |
+
</td>
|
165 |
+
</tr>
|
166 |
+
<tr><td colspan="2">
|
167 |
+
<input type="hidden" name="WP_PAGENAVI_STYLE_OPTION[update]" value="UPDATED" />
|
168 |
+
<input type="submit" class="button-primary" value="<?php _e('Save Settings','wp-pagenavi-style') ?>" />
|
169 |
+
</td></tr>
|
170 |
+
</table>
|
171 |
+
</td>
|
172 |
+
<td width="30%" valign="top">
|
173 |
+
<?php include_once dirname(__FILE__).'/our_feeds.php'; ?>
|
174 |
+
</td></tr>
|
175 |
+
</table>
|
176 |
+
</div>
|
includes/our_feeds.php
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
2 |
+
<thead>
|
3 |
+
<tr>
|
4 |
+
<th width="400"><?php _e('Snilesh.com News','wp-pagenavi-style'); ?>
|
5 |
+
</th>
|
6 |
+
</tr>
|
7 |
+
</thead>
|
8 |
+
<tr>
|
9 |
+
<td>
|
10 |
+
<?php
|
11 |
+
ns_wp_common_get_feeds('http://feeds2.feedburner.com/snilesh');
|
12 |
+
?>
|
13 |
+
</td>
|
14 |
+
</tr>
|
15 |
+
</table>
|
16 |
+
<br />
|
17 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
18 |
+
<thead>
|
19 |
+
<tr>
|
20 |
+
<th width="400"><?php _e('Latest Wordpress Themes','wp-pagenavi-style'); ?>
|
21 |
+
</th>
|
22 |
+
</tr>
|
23 |
+
</thead>
|
24 |
+
<tr>
|
25 |
+
<td>
|
26 |
+
<?php
|
27 |
+
ns_wp_common_get_feeds('http://wordpressskins.org/feed/');
|
28 |
+
?>
|
29 |
+
</td>
|
30 |
+
</tr>
|
31 |
+
</table>
|
32 |
+
<br />
|
33 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
34 |
+
<thead>
|
35 |
+
<tr>
|
36 |
+
<th width="400"><?php _e('Need Support ?','wp-pagenavi-style'); ?>
|
37 |
+
</th>
|
38 |
+
</tr>
|
39 |
+
</thead>
|
40 |
+
<tr>
|
41 |
+
<td>
|
42 |
+
<?php _e('If you have any problems with this plugin or good ideas for improvements or new features, please talk about them on our website.','wp-pagenavi-style'); ?>
|
43 |
+
<br />
|
44 |
+
<a href="http://www.snilesh.com/?p=1278" title="WP PageNavi Style" target="_blank">WP PageNavi Style</a>
|
45 |
+
</td>
|
46 |
+
</tr>
|
47 |
+
</table>
|
48 |
+
<br />
|
49 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
50 |
+
<thead>
|
51 |
+
<tr>
|
52 |
+
<th scope="col"><?php _e('Like this plugin ?','wp-pagenavi-style'); ?>
|
53 |
+
</th>
|
54 |
+
</tr>
|
55 |
+
</thead>
|
56 |
+
<tr>
|
57 |
+
<td><p><?php _e('Why not do any or all of the following : ','wp-pagenavi-style'); ?></p></td>
|
58 |
+
</tr>
|
59 |
+
<tr>
|
60 |
+
<td>
|
61 |
+
<ol>
|
62 |
+
<li>
|
63 |
+
<iframe src="http://www.facebook.com/plugins/like.php?app_id=209880945713233&href=http%3A%2F%2Fwww.snilesh.com%2F%3Fp%3D1278&send=false&layout=button_count&width=90&show_faces=true&action=like&colorscheme=light&font=arial&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><a href="http://twitter.com/share?url=http://www.snilesh.com/?p=1278&via=snilesh&count=horizontal" class="twitter-share-button">Tweet</a>
|
64 |
+
</li>
|
65 |
+
<li><a href="http://wordpress.org/extend/plugins/wp-pagenavi-style/" title="Wordpress PageNavi Style Plugin" target="_blank"><?php _e('Give it a 5 star rating on WordPress.org.','wp-pagenavi-style'); ?></a></li>
|
66 |
+
</ol>
|
67 |
+
</td>
|
68 |
+
</tr>
|
69 |
+
</table>
|
70 |
+
|
71 |
+
<br />
|
72 |
+
<table cellspacing="5" cellpadding="5" class="widefat" width="400">
|
73 |
+
<thead>
|
74 |
+
<tr>
|
75 |
+
<th scope="col"><?php _e('Donate $5, $10 or $20!','wp-pagenavi-style'); ?>
|
76 |
+
</th>
|
77 |
+
</tr>
|
78 |
+
</thead>
|
79 |
+
<tr>
|
80 |
+
<td>
|
81 |
+
<p>
|
82 |
+
<?php _e('This plugin has cost us countless hours of work, if you use it, please donate a token of your appreciation!','wp-pagenavi-style'); ?>
|
83 |
+
</p>
|
84 |
+
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YKY7SHDT8GTQG"><img src="<?php echo WP_PAGENAVI_STYLE_PATH;?>/images/btn_donate.gif" alt="Donate" /></a>
|
85 |
+
</td>
|
86 |
+
</tr>
|
87 |
+
<tr><td height="10"></tr></tr>
|
88 |
+
</table>
|
89 |
+
|
90 |
+
|
91 |
+
|
js/colorpicker.js
ADDED
@@ -0,0 +1,484 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
*
|
3 |
+
* Color picker
|
4 |
+
* Author: Stefan Petre www.eyecon.ro
|
5 |
+
*
|
6 |
+
* Dual licensed under the MIT and GPL licenses
|
7 |
+
*
|
8 |
+
*/
|
9 |
+
(function ($) {
|
10 |
+
var ColorPicker = function () {
|
11 |
+
var
|
12 |
+
ids = {},
|
13 |
+
inAction,
|
14 |
+
charMin = 65,
|
15 |
+
visible,
|
16 |
+
tpl = '<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div></div><div class="colorpicker_hue"><div></div></div><div class="colorpicker_new_color"></div><div class="colorpicker_current_color"></div><div class="colorpicker_hex"><input type="text" maxlength="6" size="6" /></div><div class="colorpicker_rgb_r colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_g colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_h colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_s colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_submit"></div></div>',
|
17 |
+
defaults = {
|
18 |
+
eventName: 'click',
|
19 |
+
onShow: function () {},
|
20 |
+
onBeforeShow: function(){},
|
21 |
+
onHide: function () {},
|
22 |
+
onChange: function () {},
|
23 |
+
onSubmit: function () {},
|
24 |
+
color: 'ff0000',
|
25 |
+
livePreview: true,
|
26 |
+
flat: false
|
27 |
+
},
|
28 |
+
fillRGBFields = function (hsb, cal) {
|
29 |
+
var rgb = HSBToRGB(hsb);
|
30 |
+
$(cal).data('colorpicker').fields
|
31 |
+
.eq(1).val(rgb.r).end()
|
32 |
+
.eq(2).val(rgb.g).end()
|
33 |
+
.eq(3).val(rgb.b).end();
|
34 |
+
},
|
35 |
+
fillHSBFields = function (hsb, cal) {
|
36 |
+
$(cal).data('colorpicker').fields
|
37 |
+
.eq(4).val(hsb.h).end()
|
38 |
+
.eq(5).val(hsb.s).end()
|
39 |
+
.eq(6).val(hsb.b).end();
|
40 |
+
},
|
41 |
+
fillHexFields = function (hsb, cal) {
|
42 |
+
$(cal).data('colorpicker').fields
|
43 |
+
.eq(0).val(HSBToHex(hsb)).end();
|
44 |
+
},
|
45 |
+
setSelector = function (hsb, cal) {
|
46 |
+
$(cal).data('colorpicker').selector.css('backgroundColor', '#' + HSBToHex({h: hsb.h, s: 100, b: 100}));
|
47 |
+
$(cal).data('colorpicker').selectorIndic.css({
|
48 |
+
left: parseInt(150 * hsb.s/100, 10),
|
49 |
+
top: parseInt(150 * (100-hsb.b)/100, 10)
|
50 |
+
});
|
51 |
+
},
|
52 |
+
setHue = function (hsb, cal) {
|
53 |
+
$(cal).data('colorpicker').hue.css('top', parseInt(150 - 150 * hsb.h/360, 10));
|
54 |
+
},
|
55 |
+
setCurrentColor = function (hsb, cal) {
|
56 |
+
$(cal).data('colorpicker').currentColor.css('backgroundColor', '#' + HSBToHex(hsb));
|
57 |
+
},
|
58 |
+
setNewColor = function (hsb, cal) {
|
59 |
+
$(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb));
|
60 |
+
},
|
61 |
+
keyDown = function (ev) {
|
62 |
+
var pressedKey = ev.charCode || ev.keyCode || -1;
|
63 |
+
if ((pressedKey > charMin && pressedKey <= 90) || pressedKey == 32) {
|
64 |
+
return false;
|
65 |
+
}
|
66 |
+
var cal = $(this).parent().parent();
|
67 |
+
if (cal.data('colorpicker').livePreview === true) {
|
68 |
+
change.apply(this);
|
69 |
+
}
|
70 |
+
},
|
71 |
+
change = function (ev) {
|
72 |
+
var cal = $(this).parent().parent(), col;
|
73 |
+
if (this.parentNode.className.indexOf('_hex') > 0) {
|
74 |
+
cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
|
75 |
+
} else if (this.parentNode.className.indexOf('_hsb') > 0) {
|
76 |
+
cal.data('colorpicker').color = col = fixHSB({
|
77 |
+
h: parseInt(cal.data('colorpicker').fields.eq(4).val(), 10),
|
78 |
+
s: parseInt(cal.data('colorpicker').fields.eq(5).val(), 10),
|
79 |
+
b: parseInt(cal.data('colorpicker').fields.eq(6).val(), 10)
|
80 |
+
});
|
81 |
+
} else {
|
82 |
+
cal.data('colorpicker').color = col = RGBToHSB(fixRGB({
|
83 |
+
r: parseInt(cal.data('colorpicker').fields.eq(1).val(), 10),
|
84 |
+
g: parseInt(cal.data('colorpicker').fields.eq(2).val(), 10),
|
85 |
+
b: parseInt(cal.data('colorpicker').fields.eq(3).val(), 10)
|
86 |
+
}));
|
87 |
+
}
|
88 |
+
if (ev) {
|
89 |
+
fillRGBFields(col, cal.get(0));
|
90 |
+
fillHexFields(col, cal.get(0));
|
91 |
+
fillHSBFields(col, cal.get(0));
|
92 |
+
}
|
93 |
+
setSelector(col, cal.get(0));
|
94 |
+
setHue(col, cal.get(0));
|
95 |
+
setNewColor(col, cal.get(0));
|
96 |
+
cal.data('colorpicker').onChange.apply(cal, [col, HSBToHex(col), HSBToRGB(col)]);
|
97 |
+
},
|
98 |
+
blur = function (ev) {
|
99 |
+
var cal = $(this).parent().parent();
|
100 |
+
cal.data('colorpicker').fields.parent().removeClass('colorpicker_focus');
|
101 |
+
},
|
102 |
+
focus = function () {
|
103 |
+
charMin = this.parentNode.className.indexOf('_hex') > 0 ? 70 : 65;
|
104 |
+
$(this).parent().parent().data('colorpicker').fields.parent().removeClass('colorpicker_focus');
|
105 |
+
$(this).parent().addClass('colorpicker_focus');
|
106 |
+
},
|
107 |
+
downIncrement = function (ev) {
|
108 |
+
var field = $(this).parent().find('input').focus();
|
109 |
+
var current = {
|
110 |
+
el: $(this).parent().addClass('colorpicker_slider'),
|
111 |
+
max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : 255),
|
112 |
+
y: ev.pageY,
|
113 |
+
field: field,
|
114 |
+
val: parseInt(field.val(), 10),
|
115 |
+
preview: $(this).parent().parent().data('colorpicker').livePreview
|
116 |
+
};
|
117 |
+
$(document).bind('mouseup', current, upIncrement);
|
118 |
+
$(document).bind('mousemove', current, moveIncrement);
|
119 |
+
},
|
120 |
+
moveIncrement = function (ev) {
|
121 |
+
ev.data.field.val(Math.max(0, Math.min(ev.data.max, parseInt(ev.data.val + ev.pageY - ev.data.y, 10))));
|
122 |
+
if (ev.data.preview) {
|
123 |
+
change.apply(ev.data.field.get(0), [true]);
|
124 |
+
}
|
125 |
+
return false;
|
126 |
+
},
|
127 |
+
upIncrement = function (ev) {
|
128 |
+
change.apply(ev.data.field.get(0), [true]);
|
129 |
+
ev.data.el.removeClass('colorpicker_slider').find('input').focus();
|
130 |
+
$(document).unbind('mouseup', upIncrement);
|
131 |
+
$(document).unbind('mousemove', moveIncrement);
|
132 |
+
return false;
|
133 |
+
},
|
134 |
+
downHue = function (ev) {
|
135 |
+
var current = {
|
136 |
+
cal: $(this).parent(),
|
137 |
+
y: $(this).offset().top
|
138 |
+
};
|
139 |
+
current.preview = current.cal.data('colorpicker').livePreview;
|
140 |
+
$(document).bind('mouseup', current, upHue);
|
141 |
+
$(document).bind('mousemove', current, moveHue);
|
142 |
+
},
|
143 |
+
moveHue = function (ev) {
|
144 |
+
change.apply(
|
145 |
+
ev.data.cal.data('colorpicker')
|
146 |
+
.fields
|
147 |
+
.eq(4)
|
148 |
+
.val(parseInt(360*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.y))))/150, 10))
|
149 |
+
.get(0),
|
150 |
+
[ev.data.preview]
|
151 |
+
);
|
152 |
+
return false;
|
153 |
+
},
|
154 |
+
upHue = function (ev) {
|
155 |
+
fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
156 |
+
fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
157 |
+
$(document).unbind('mouseup', upHue);
|
158 |
+
$(document).unbind('mousemove', moveHue);
|
159 |
+
return false;
|
160 |
+
},
|
161 |
+
downSelector = function (ev) {
|
162 |
+
var current = {
|
163 |
+
cal: $(this).parent(),
|
164 |
+
pos: $(this).offset()
|
165 |
+
};
|
166 |
+
current.preview = current.cal.data('colorpicker').livePreview;
|
167 |
+
$(document).bind('mouseup', current, upSelector);
|
168 |
+
$(document).bind('mousemove', current, moveSelector);
|
169 |
+
},
|
170 |
+
moveSelector = function (ev) {
|
171 |
+
change.apply(
|
172 |
+
ev.data.cal.data('colorpicker')
|
173 |
+
.fields
|
174 |
+
.eq(6)
|
175 |
+
.val(parseInt(100*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.pos.top))))/150, 10))
|
176 |
+
.end()
|
177 |
+
.eq(5)
|
178 |
+
.val(parseInt(100*(Math.max(0,Math.min(150,(ev.pageX - ev.data.pos.left))))/150, 10))
|
179 |
+
.get(0),
|
180 |
+
[ev.data.preview]
|
181 |
+
);
|
182 |
+
return false;
|
183 |
+
},
|
184 |
+
upSelector = function (ev) {
|
185 |
+
fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
186 |
+
fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
187 |
+
$(document).unbind('mouseup', upSelector);
|
188 |
+
$(document).unbind('mousemove', moveSelector);
|
189 |
+
return false;
|
190 |
+
},
|
191 |
+
enterSubmit = function (ev) {
|
192 |
+
$(this).addClass('colorpicker_focus');
|
193 |
+
},
|
194 |
+
leaveSubmit = function (ev) {
|
195 |
+
$(this).removeClass('colorpicker_focus');
|
196 |
+
},
|
197 |
+
clickSubmit = function (ev) {
|
198 |
+
var cal = $(this).parent();
|
199 |
+
var col = cal.data('colorpicker').color;
|
200 |
+
cal.data('colorpicker').origColor = col;
|
201 |
+
setCurrentColor(col, cal.get(0));
|
202 |
+
cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el);
|
203 |
+
},
|
204 |
+
show = function (ev) {
|
205 |
+
var cal = $('#' + $(this).data('colorpickerId'));
|
206 |
+
cal.data('colorpicker').onBeforeShow.apply(this, [cal.get(0)]);
|
207 |
+
var pos = $(this).offset();
|
208 |
+
var viewPort = getViewport();
|
209 |
+
var top = pos.top + this.offsetHeight;
|
210 |
+
var left = pos.left;
|
211 |
+
if (top + 176 > viewPort.t + viewPort.h) {
|
212 |
+
top -= this.offsetHeight + 176;
|
213 |
+
}
|
214 |
+
if (left + 356 > viewPort.l + viewPort.w) {
|
215 |
+
left -= 356;
|
216 |
+
}
|
217 |
+
cal.css({left: left + 'px', top: top + 'px'});
|
218 |
+
if (cal.data('colorpicker').onShow.apply(this, [cal.get(0)]) != false) {
|
219 |
+
cal.show();
|
220 |
+
}
|
221 |
+
$(document).bind('mousedown', {cal: cal}, hide);
|
222 |
+
return false;
|
223 |
+
},
|
224 |
+
hide = function (ev) {
|
225 |
+
if (!isChildOf(ev.data.cal.get(0), ev.target, ev.data.cal.get(0))) {
|
226 |
+
if (ev.data.cal.data('colorpicker').onHide.apply(this, [ev.data.cal.get(0)]) != false) {
|
227 |
+
ev.data.cal.hide();
|
228 |
+
}
|
229 |
+
$(document).unbind('mousedown', hide);
|
230 |
+
}
|
231 |
+
},
|
232 |
+
isChildOf = function(parentEl, el, container) {
|
233 |
+
if (parentEl == el) {
|
234 |
+
return true;
|
235 |
+
}
|
236 |
+
if (parentEl.contains) {
|
237 |
+
return parentEl.contains(el);
|
238 |
+
}
|
239 |
+
if ( parentEl.compareDocumentPosition ) {
|
240 |
+
return !!(parentEl.compareDocumentPosition(el) & 16);
|
241 |
+
}
|
242 |
+
var prEl = el.parentNode;
|
243 |
+
while(prEl && prEl != container) {
|
244 |
+
if (prEl == parentEl)
|
245 |
+
return true;
|
246 |
+
prEl = prEl.parentNode;
|
247 |
+
}
|
248 |
+
return false;
|
249 |
+
},
|
250 |
+
getViewport = function () {
|
251 |
+
var m = document.compatMode == 'CSS1Compat';
|
252 |
+
return {
|
253 |
+
l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft),
|
254 |
+
t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop),
|
255 |
+
w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth),
|
256 |
+
h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight)
|
257 |
+
};
|
258 |
+
},
|
259 |
+
fixHSB = function (hsb) {
|
260 |
+
return {
|
261 |
+
h: Math.min(360, Math.max(0, hsb.h)),
|
262 |
+
s: Math.min(100, Math.max(0, hsb.s)),
|
263 |
+
b: Math.min(100, Math.max(0, hsb.b))
|
264 |
+
};
|
265 |
+
},
|
266 |
+
fixRGB = function (rgb) {
|
267 |
+
return {
|
268 |
+
r: Math.min(255, Math.max(0, rgb.r)),
|
269 |
+
g: Math.min(255, Math.max(0, rgb.g)),
|
270 |
+
b: Math.min(255, Math.max(0, rgb.b))
|
271 |
+
};
|
272 |
+
},
|
273 |
+
fixHex = function (hex) {
|
274 |
+
var len = 6 - hex.length;
|
275 |
+
if (len > 0) {
|
276 |
+
var o = [];
|
277 |
+
for (var i=0; i<len; i++) {
|
278 |
+
o.push('0');
|
279 |
+
}
|
280 |
+
o.push(hex);
|
281 |
+
hex = o.join('');
|
282 |
+
}
|
283 |
+
return hex;
|
284 |
+
},
|
285 |
+
HexToRGB = function (hex) {
|
286 |
+
var hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16);
|
287 |
+
return {r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF)};
|
288 |
+
},
|
289 |
+
HexToHSB = function (hex) {
|
290 |
+
return RGBToHSB(HexToRGB(hex));
|
291 |
+
},
|
292 |
+
RGBToHSB = function (rgb) {
|
293 |
+
var hsb = {
|
294 |
+
h: 0,
|
295 |
+
s: 0,
|
296 |
+
b: 0
|
297 |
+
};
|
298 |
+
var min = Math.min(rgb.r, rgb.g, rgb.b);
|
299 |
+
var max = Math.max(rgb.r, rgb.g, rgb.b);
|
300 |
+
var delta = max - min;
|
301 |
+
hsb.b = max;
|
302 |
+
if (max != 0) {
|
303 |
+
|
304 |
+
}
|
305 |
+
hsb.s = max != 0 ? 255 * delta / max : 0;
|
306 |
+
if (hsb.s != 0) {
|
307 |
+
if (rgb.r == max) {
|
308 |
+
hsb.h = (rgb.g - rgb.b) / delta;
|
309 |
+
} else if (rgb.g == max) {
|
310 |
+
hsb.h = 2 + (rgb.b - rgb.r) / delta;
|
311 |
+
} else {
|
312 |
+
hsb.h = 4 + (rgb.r - rgb.g) / delta;
|
313 |
+
}
|
314 |
+
} else {
|
315 |
+
hsb.h = -1;
|
316 |
+
}
|
317 |
+
hsb.h *= 60;
|
318 |
+
if (hsb.h < 0) {
|
319 |
+
hsb.h += 360;
|
320 |
+
}
|
321 |
+
hsb.s *= 100/255;
|
322 |
+
hsb.b *= 100/255;
|
323 |
+
return hsb;
|
324 |
+
},
|
325 |
+
HSBToRGB = function (hsb) {
|
326 |
+
var rgb = {};
|
327 |
+
var h = Math.round(hsb.h);
|
328 |
+
var s = Math.round(hsb.s*255/100);
|
329 |
+
var v = Math.round(hsb.b*255/100);
|
330 |
+
if(s == 0) {
|
331 |
+
rgb.r = rgb.g = rgb.b = v;
|
332 |
+
} else {
|
333 |
+
var t1 = v;
|
334 |
+
var t2 = (255-s)*v/255;
|
335 |
+
var t3 = (t1-t2)*(h%60)/60;
|
336 |
+
if(h==360) h = 0;
|
337 |
+
if(h<60) {rgb.r=t1; rgb.b=t2; rgb.g=t2+t3}
|
338 |
+
else if(h<120) {rgb.g=t1; rgb.b=t2; rgb.r=t1-t3}
|
339 |
+
else if(h<180) {rgb.g=t1; rgb.r=t2; rgb.b=t2+t3}
|
340 |
+
else if(h<240) {rgb.b=t1; rgb.r=t2; rgb.g=t1-t3}
|
341 |
+
else if(h<300) {rgb.b=t1; rgb.g=t2; rgb.r=t2+t3}
|
342 |
+
else if(h<360) {rgb.r=t1; rgb.g=t2; rgb.b=t1-t3}
|
343 |
+
else {rgb.r=0; rgb.g=0; rgb.b=0}
|
344 |
+
}
|
345 |
+
return {r:Math.round(rgb.r), g:Math.round(rgb.g), b:Math.round(rgb.b)};
|
346 |
+
},
|
347 |
+
RGBToHex = function (rgb) {
|
348 |
+
var hex = [
|
349 |
+
rgb.r.toString(16),
|
350 |
+
rgb.g.toString(16),
|
351 |
+
rgb.b.toString(16)
|
352 |
+
];
|
353 |
+
$.each(hex, function (nr, val) {
|
354 |
+
if (val.length == 1) {
|
355 |
+
hex[nr] = '0' + val;
|
356 |
+
}
|
357 |
+
});
|
358 |
+
return hex.join('');
|
359 |
+
},
|
360 |
+
HSBToHex = function (hsb) {
|
361 |
+
return RGBToHex(HSBToRGB(hsb));
|
362 |
+
},
|
363 |
+
restoreOriginal = function () {
|
364 |
+
var cal = $(this).parent();
|
365 |
+
var col = cal.data('colorpicker').origColor;
|
366 |
+
cal.data('colorpicker').color = col;
|
367 |
+
fillRGBFields(col, cal.get(0));
|
368 |
+
fillHexFields(col, cal.get(0));
|
369 |
+
fillHSBFields(col, cal.get(0));
|
370 |
+
setSelector(col, cal.get(0));
|
371 |
+
setHue(col, cal.get(0));
|
372 |
+
setNewColor(col, cal.get(0));
|
373 |
+
};
|
374 |
+
return {
|
375 |
+
init: function (opt) {
|
376 |
+
opt = $.extend({}, defaults, opt||{});
|
377 |
+
if (typeof opt.color == 'string') {
|
378 |
+
opt.color = HexToHSB(opt.color);
|
379 |
+
} else if (opt.color.r != undefined && opt.color.g != undefined && opt.color.b != undefined) {
|
380 |
+
opt.color = RGBToHSB(opt.color);
|
381 |
+
} else if (opt.color.h != undefined && opt.color.s != undefined && opt.color.b != undefined) {
|
382 |
+
opt.color = fixHSB(opt.color);
|
383 |
+
} else {
|
384 |
+
return this;
|
385 |
+
}
|
386 |
+
return this.each(function () {
|
387 |
+
if (!$(this).data('colorpickerId')) {
|
388 |
+
var options = $.extend({}, opt);
|
389 |
+
options.origColor = opt.color;
|
390 |
+
var id = 'collorpicker_' + parseInt(Math.random() * 1000);
|
391 |
+
$(this).data('colorpickerId', id);
|
392 |
+
var cal = $(tpl).attr('id', id);
|
393 |
+
if (options.flat) {
|
394 |
+
cal.appendTo(this).show();
|
395 |
+
} else {
|
396 |
+
cal.appendTo(document.body);
|
397 |
+
}
|
398 |
+
options.fields = cal
|
399 |
+
.find('input')
|
400 |
+
.bind('keyup', keyDown)
|
401 |
+
.bind('change', change)
|
402 |
+
.bind('blur', blur)
|
403 |
+
.bind('focus', focus);
|
404 |
+
cal
|
405 |
+
.find('span').bind('mousedown', downIncrement).end()
|
406 |
+
.find('>div.colorpicker_current_color').bind('click', restoreOriginal);
|
407 |
+
options.selector = cal.find('div.colorpicker_color').bind('mousedown', downSelector);
|
408 |
+
options.selectorIndic = options.selector.find('div div');
|
409 |
+
options.el = this;
|
410 |
+
options.hue = cal.find('div.colorpicker_hue div');
|
411 |
+
cal.find('div.colorpicker_hue').bind('mousedown', downHue);
|
412 |
+
options.newColor = cal.find('div.colorpicker_new_color');
|
413 |
+
options.currentColor = cal.find('div.colorpicker_current_color');
|
414 |
+
cal.data('colorpicker', options);
|
415 |
+
cal.find('div.colorpicker_submit')
|
416 |
+
.bind('mouseenter', enterSubmit)
|
417 |
+
.bind('mouseleave', leaveSubmit)
|
418 |
+
.bind('click', clickSubmit);
|
419 |
+
fillRGBFields(options.color, cal.get(0));
|
420 |
+
fillHSBFields(options.color, cal.get(0));
|
421 |
+
fillHexFields(options.color, cal.get(0));
|
422 |
+
setHue(options.color, cal.get(0));
|
423 |
+
setSelector(options.color, cal.get(0));
|
424 |
+
setCurrentColor(options.color, cal.get(0));
|
425 |
+
setNewColor(options.color, cal.get(0));
|
426 |
+
if (options.flat) {
|
427 |
+
cal.css({
|
428 |
+
position: 'relative',
|
429 |
+
display: 'block'
|
430 |
+
});
|
431 |
+
} else {
|
432 |
+
$(this).bind(options.eventName, show);
|
433 |
+
}
|
434 |
+
}
|
435 |
+
});
|
436 |
+
},
|
437 |
+
showPicker: function() {
|
438 |
+
return this.each( function () {
|
439 |
+
if ($(this).data('colorpickerId')) {
|
440 |
+
show.apply(this);
|
441 |
+
}
|
442 |
+
});
|
443 |
+
},
|
444 |
+
hidePicker: function() {
|
445 |
+
return this.each( function () {
|
446 |
+
if ($(this).data('colorpickerId')) {
|
447 |
+
$('#' + $(this).data('colorpickerId')).hide();
|
448 |
+
}
|
449 |
+
});
|
450 |
+
},
|
451 |
+
setColor: function(col) {
|
452 |
+
if (typeof col == 'string') {
|
453 |
+
col = HexToHSB(col);
|
454 |
+
} else if (col.r != undefined && col.g != undefined && col.b != undefined) {
|
455 |
+
col = RGBToHSB(col);
|
456 |
+
} else if (col.h != undefined && col.s != undefined && col.b != undefined) {
|
457 |
+
col = fixHSB(col);
|
458 |
+
} else {
|
459 |
+
return this;
|
460 |
+
}
|
461 |
+
return this.each(function(){
|
462 |
+
if ($(this).data('colorpickerId')) {
|
463 |
+
var cal = $('#' + $(this).data('colorpickerId'));
|
464 |
+
cal.data('colorpicker').color = col;
|
465 |
+
cal.data('colorpicker').origColor = col;
|
466 |
+
fillRGBFields(col, cal.get(0));
|
467 |
+
fillHSBFields(col, cal.get(0));
|
468 |
+
fillHexFields(col, cal.get(0));
|
469 |
+
setHue(col, cal.get(0));
|
470 |
+
setSelector(col, cal.get(0));
|
471 |
+
setCurrentColor(col, cal.get(0));
|
472 |
+
setNewColor(col, cal.get(0));
|
473 |
+
}
|
474 |
+
});
|
475 |
+
}
|
476 |
+
};
|
477 |
+
}();
|
478 |
+
$.fn.extend({
|
479 |
+
ColorPicker: ColorPicker.init,
|
480 |
+
ColorPickerHide: ColorPicker.hidePicker,
|
481 |
+
ColorPickerShow: ColorPicker.showPicker,
|
482 |
+
ColorPickerSetColor: ColorPicker.setColor
|
483 |
+
});
|
484 |
+
})(jQuery)
|
js/jquery-1.5.min.js
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery JavaScript Library v1.5
|
3 |
+
* http://jquery.com/
|
4 |
+
*
|
5 |
+
* Copyright 2011, John Resig
|
6 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7 |
+
* http://jquery.org/license
|
8 |
+
*
|
9 |
+
* Includes Sizzle.js
|
10 |
+
* http://sizzlejs.com/
|
11 |
+
* Copyright 2011, The Dojo Foundation
|
12 |
+
* Released under the MIT, BSD, and GPL Licenses.
|
13 |
+
*
|
14 |
+
* Date: Mon Jan 31 08:31:29 2011 -0500
|
15 |
+
*/
|
16 |
+
(function(a,b){function b$(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function bX(a){if(!bR[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bR[a]=c}return bR[a]}function bW(a,b){var c={};d.each(bV.concat.apply([],bV.slice(0,b)),function(){c[this]=a});return c}function bJ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f=a.converters,g,h=e.length,i,j=e[0],k,l,m,n,o;for(g=1;g<h;g++){k=j,j=e[g];if(j==="*")j=k;else if(k!=="*"&&k!==j){l=k+" "+j,m=f[l]||f["* "+j];if(!m){o=b;for(n in f){i=n.split(" ");if(i[0]===k||i[0]==="*"){o=f[i[1]+" "+j];if(o){n=f[n],n===!0?m=o:o===!0&&(m=n);break}}}}!m&&!o&&d.error("No conversion from "+l.replace(" "," to ")),m!==!0&&(c=m?m(c):o(n(c)))}}return c}function bI(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bH(a,b,c,e){d.isArray(b)&&b.length?d.each(b,function(b,f){c||bp.test(a)?e(a,f):bH(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)}):c||b==null||typeof b!=="object"?e(a,b):d.isArray(b)||d.isEmptyObject(b)?e(a,""):d.each(b,function(b,d){bH(a+"["+b+"]",d,c,e)})}function bG(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bD,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(g[l]?l=b:(c.dataTypes.unshift(l),l=bG(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bG(a,c,d,e,"*",g));return l}function bF(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bz),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bn(a,b,c){var e=b==="width"?bh:bi,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function _(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(q,"`").replace(r,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,p,q=[],r=[],s=d._data(this,u);typeof s==="function"&&(s=s.events);if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(o,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,p=f.handleObj.origHandler.apply(f.elem,arguments);if(p===!1||a.isPropagationStopped()){c=f.level,p===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,b,c){c[0].type=a;return d.event.handle.apply(b,c)}function w(){return!0}function v(){return!1}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");e.type="text/javascript",d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a,c){if(a==null){if(e)return e;e=a={}}c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.then(c.cancel,b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments,c=b.length,e=c<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),f=e.promise(),g;c>1?(g=Array(c),d.each(b,function(a,b){d.when(b).then(function(b){g[a]=arguments.length>1?E.call(arguments,0):b,--c||e.resolveWith(f,g)},e.reject)})):e!==a&&e.resolve(a);return f},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return a.jQuery=a.$=d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option"));if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:b.getElementsByTagName("input")[0].value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,_scriptEval:null,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},g.disabled=!0,d.support.optDisabled=!h.disabled,d.support.scriptEval=function(){if(d.support._scriptEval===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();e.type="text/javascript";try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(d.support._scriptEval=!0,delete a[f]):d.support._scriptEval=!1,b.removeChild(e),b=e=f=null}return d.support._scriptEval};try{delete b.test}catch(i){d.support.deleteExpando=!1}b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function j(){d.support.noCloneEvent=!1,b.detachEvent("onclick",j)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var k=c.createDocumentFragment();k.appendChild(b.firstChild),d.support.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var l=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitBubbles=l("submit"),d.support.changeBubbles=l("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!d.isEmptyObject(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={}),typeof c==="object"&&(f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c)),i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,i=g?b[d.expando]:d.expando;if(!h[i])return;if(c){var j=e?h[i][f]:h[i];if(j){delete j[c];if(!d.isEmptyObject(j))return}}if(e){delete h[i][f];if(!d.isEmptyObject(h[i]))return}var k=h[i][f];d.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},h[i][f]=k):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var g=/[\n\t\r]/g,h=/\s+/,i=/\r/g,j=/^(?:href|src|style)$/,k=/^(?:button|input)$/i,l=/^(?:button|input|object|select|textarea)$/i,m=/^a(?:rea)?$/i,n=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(h);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",i=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(i+=" "+b[j]);f.className=d.trim(i)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(h);for(var e=0,f=this.length;e<f;e++){var i=this[e];if(i.nodeType===1&&i.className)if(a){var j=(" "+i.className+" ").replace(g," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");i.className=d.trim(j)}else i.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,i=d(this),j=b,k=a.split(h);while(f=k[g++])j=e?j:!i.hasClass(f),i[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(g," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,j=c.type==="select-one";if(f<0)return null;for(var k=j?f:0,l=j?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(j)return a;g.push(a)}}return g}if(n.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(i,"")}return b}var o=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){o&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&n.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=j.test(c);if(c==="selected"&&!d.support.optSelected){var n=a.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&k.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:l.test(a.nodeName)||m.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var o=/\.(.*)$/,p=/^(?:textarea|input|select)$/i,q=/\./g,r=/ /g,s=/[^\w\s.|`]/g,t=function(a){return a.replace(s,"\\$&")},u="events";d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a);if(f===!1)f=v;else if(!f)return;var h,i;f.handler&&(h=f,f=h.handler),f.guid||(f.guid=d.guid++);var j=d._data(c);if(!j)return;var k=j[u],l=j.handle;typeof k==="function"?(l=k.handle,k=k.events):k||(c.nodeType||(j[u]=j=function(){}),j.events=k={}),l||(j.handle=l=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(l.elem,arguments):b}),l.elem=c,e=e.split(" ");var m,n=0,o;while(m=e[n++]){i=h?d.extend({},h):{handler:f,data:g},m.indexOf(".")>-1?(o=m.split("."),m=o.shift(),i.namespace=o.slice(0).sort().join(".")):(o=[],i.namespace=""),i.type=m,i.guid||(i.guid=f.guid);var p=k[m],q=d.event.special[m]||{};if(!p){p=k[m]=[];if(!q.setup||q.setup.call(c,g,o,l)===!1)c.addEventListener?c.addEventListener(m,l,!1):c.attachEvent&&c.attachEvent("on"+m,l)}q.add&&(q.add.call(c,i),i.handler.guid||(i.handler.guid=f.guid)),p.push(i),d.event.global[m]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),w=s&&s[u];if(!s||!w)return;typeof w==="function"&&(s=w,w=w.events),c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in w)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=w[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete w[h]}if(d.isEmptyObject(w)){var x=s.handle;x&&(x.elem=null),delete s.events,delete s.handle,typeof s==="function"?d.removeData(a,u,!0):d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=e.nodeType?d._data(e,"handle"):(d._data(e,u)||{}).handle;h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(o,""),n=d.nodeName(l,"a")&&m==="click",p=d.event.special[m]||{};if((!p._default||p._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,u),typeof i==="function"&&(i=i.events),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(c){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,c){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var c=a.target,e=c.type;if((e==="submit"||e==="image")&&d(c).closest("form").length){a.liveFired=b;return C("submit",this,arguments)}}),d.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,e=c.type;if((e==="text"||e==="password")&&d(c).closest("form").length&&a.keyCode===13){a.liveFired=b;return C("submit",this,arguments)}});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(p.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f){a.type="change",a.liveFired=b;return d.event.trigger(a,arguments[1],c)}}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return p.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return p.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var p in a)n[c](p,e,a[p],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=o.exec(h),k="",j&&(k=j[0],h=h.replace(o,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function s(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var j=d[g];if(j){var k=!1;j=j[a];while(j){if(j.sizcache===c){k=d[j.sizset];break}if(j.nodeType===1){f||(j.sizcache=c,j.sizset=g);if(typeof b!=="string"){if(j===b){k=!0;break}}else if(i.filter(b,[j]).length>0){k=j;break}}j=j[a]}d[g]=k}}}function r(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var i=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var l,m,o,p,q,r,s,u,v=!0,w=i.isXML(d),x=[],y=b;do{a.exec(""),l=a.exec(y);if(l){y=l[3],x.push(l[1]);if(l[2]){p=l[3];break}}}while(l);if(x.length>1&&k.exec(b))if(x.length===2&&j.relative[x[0]])m=t(x[0]+x[1],d);else{m=j.relative[x[0]]?[d]:i(x.shift(),d);while(x.length)b=x.shift(),j.relative[b]&&(b+=x.shift()),m=t(b,m)}else{!g&&x.length>1&&d.nodeType===9&&!w&&j.match.ID.test(x[0])&&!j.match.ID.test(x[x.length-1])&&(q=i.find(x.shift(),d,w),d=q.expr?i.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:n(g)}:i.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),m=q.expr?i.filter(q.expr,q.set):q.set,x.length>0?o=n(m):v=!1;while(x.length)r=x.pop(),s=r,j.relative[r]?s=x.pop():r="",s==null&&(s=d),j.relative[r](o,s,w)}else o=x=[]}o||(o=m),o||i.error(r||b);if(f.call(o)==="[object Array]")if(v)if(d&&d.nodeType===1)for(u=0;o[u]!=null;u++)o[u]&&(o[u]===!0||o[u].nodeType===1&&i.contains(d,o[u]))&&e.push(m[u]);else for(u=0;o[u]!=null;u++)o[u]&&o[u].nodeType===1&&e.push(m[u]);else e.push.apply(e,o);else n(o,e);p&&(i(p,h,e,g),i.uniqueSort(e));return e};i.uniqueSort=function(a){if(p){g=h,a.sort(p);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},i.matches=function(a,b){return i(a,null,null,b)},i.matchesSelector=function(a,b){return i(b,null,null,[a]).length>0},i.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=j.order.length;e<f;e++){var g,h=j.order[e];if(g=j.leftMatch[h].exec(a)){var i=g[1];g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(/\\/g,""),d=j.find[h](g,b,c);if(d!=null){a=a.replace(j.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},i.filter=function(a,c,d,e){var f,g,h=a,k=[],l=c,m=c&&c[0]&&i.isXML(c[0]);while(a&&c.length){for(var n in j.filter)if((f=j.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=j.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;l===k&&(k=[]);if(j.preFilter[n]){f=j.preFilter[n](f,l,d,k,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=l[s])!=null;s++)if(p){o=q(p,f,s,l);var t=e^!!o;d&&o!=null?t?g=!0:l[s]=!1:t&&(k.push(p),g=!0)}if(o!==b){d||(l=k),a=a.replace(j.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)i.error(a);else break;h=a}return l},i.error=function(a){throw"Syntax error, unrecognized expression: "+a};var j=i.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!/\W/.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&i.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!/\W/.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&i.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=s;typeof b==="string"&&!/\W/.test(b)&&(b=b.toLowerCase(),d=b,g=r),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=s;typeof b==="string"&&!/\W/.test(b)&&(b=b.toLowerCase(),d=b,g=r),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(/\\/g,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a,b){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||i.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&i.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(/\\/g,"");!f&&j.attrMap[g]&&(a[1]=j.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(/\\/g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=i(b[3],null,null,c);else{var g=i.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(j.match.POS.test(b[0])||j.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=j.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||i.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,k=g.length;h<k;h++)if(g[h]===a)return!1;return!0}i.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=j.attrHandle[c]?j.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=j.setFilters[e];if(f)return f(a,c,b,d)}}},k=j.match.POS,l=function(a,b){return"\\"+(b-0+1)};for(var m in j.match)j.match[m]=new RegExp(j.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),j.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+j.match[m].source.replace(/\\(\d+)/g,l));var n=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(o){n=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var p,q;c.documentElement.compareDocumentPosition?p=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(p=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return q(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return q(e[k],f[k]);return k===c?q(a,f[k],-1):q(e[k],b,1)},q=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),i.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=i.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(j.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},j.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(j.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(j.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=i,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){i=function(b,e,f,g){e=e||c;if(!g&&!i.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return n(e.getElementsByTagName(b),f);if(h[2]&&j.find.CLASS&&e.getElementsByClassName)return n(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return n([e.body],f);if(h&&h[3]){var k=e.getElementById(h[3]);if(!k||!k.parentNode)return n([],f);if(k.id===h[3])return n([k],f)}try{return n(e.querySelectorAll(b),f)}catch(l){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e.getAttribute("id"),o=m||d,p=e.parentNode,q=/^\s*[+~]/.test(b);m?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),q&&p&&(e=e.parentNode);try{if(!q||p)return n(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(r){}finally{m||e.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)i[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(i.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isXML(a))try{if(d||!j.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return i(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;j.order.splice(1,0,"CLASS"),j.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?i.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?i.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:i.contains=function(){return!1},i.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var t=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=j.match.PSEUDO.exec(a))e+=c[0],a=a.replace(j.match.PSEUDO,"");a=j.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)i(a,f[g],d);return i.filter(e,d)};d.find=i,d.expr=i.selectors,d.expr[":"]=d.expr.filters,d.unique=i.uniqueSort,d.text=i.getText,d.isXMLDoc=i.isXML,d.contains=i.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!0:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,_)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if(!d.support.noCloneEvent&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");for(h=0;f[h];++h)$(f[h],g[h]);$(a,e)}if(b){Z(a,e);if(c&&"getElementsByTagName"in a){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");if(f.length)for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var ba=/alpha\([^)]*\)/i,bb=/opacity=([^)]*)/,bc=/-([a-z])/ig,bd=/([A-Z])/g,be=/^-?\d+(?:px)?$/i,bf=/^-?\d/,bg={position:"absolute",visibility:"hidden",display:"block"},bh=["Left","Right"],bi=["Top","Bottom"],bj,bk,bl,bm=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bj(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bj)return bj(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bc,bm)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bn(a,b,e):d.swap(a,bg,function(){f=bn(a,b,e)});if(f<=0){f=bj(a,b,b),f==="0px"&&bl&&(f=bl(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!be.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=ba.test(f)?f.replace(ba,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bk=function(a,c,e){var f,g,h;e=e.replace(bd,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bl=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!be.test(d)&&bf.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bj=bk||bl,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bo=/%20/g,bp=/\[\]$/,bq=/\r?\n/g,br=/#.*$/,bs=/^(.*?):\s*(.*?)\r?$/mg,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bu=/^(?:GET|HEAD)$/,bv=/^\/\//,bw=/\?/,bx=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,by=/^(?:select|textarea)/i,bz=/\s+/,bA=/([?&])_=[^&]*/,bB=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,bC=d.fn.load,bD={},bE={};d.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&bC)return bC.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}var g="GET";b&&(d.isFunction(b)?(c=b,b=null):typeof b==="object"&&(b=d.param(b,d.ajaxSettings.traditional),g="POST"));var h=this;d.ajax({url:a,type:g,dataType:"html",data:b,complete:function(a,b,e){e=a.responseText,a.isResolved()&&(a.done(function(a){e=a}),h.html(f?d("<div>").append(e.replace(bx,"")).find(f):e)),c&&h.each(c,[e,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||by.test(this.nodeName)||bt.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bq,"\r\n")}}):{name:b.name,value:c.replace(bq,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,b){d[b]=function(a,c,e,f){d.isFunction(c)&&(f=f||e,e=c,c=null);return d.ajax({type:b,url:a,data:c,success:e,dataType:f})}}),d.extend({getScript:function(a,b){return d.get(a,null,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a){d.extend(!0,d.ajaxSettings,a),a.context&&(d.ajaxSettings.context=a.context)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bF(bD),ajaxTransport:bF(bE),ajax:function(a,e){function w(a,c,e,l){if(t!==2){t=2,p&&clearTimeout(p),o=b,m=l||"",v.readyState=a?4:0;var n,q,r,s=e?bI(f,v,e):b,u,w;if(a>=200&&a<300||a===304){if(f.ifModified){if(u=v.getResponseHeader("Last-Modified"))d.lastModified[f.url]=u;if(w=v.getResponseHeader("Etag"))d.etag[f.url]=w}if(a===304)c="notmodified",n=!0;else try{q=bJ(f,s),c="success",n=!0}catch(x){c="parsererror",r=x}}else r=c,a&&(c="error",a<0&&(a=0));v.status=a,v.statusText=c,n?i.resolveWith(g,[q,c,v]):i.rejectWith(g,[v,c,r]),v.statusCode(k),k=b,f.global&&h.trigger("ajax"+(n?"Success":"Error"),[v,f,n?q:r]),j.resolveWith(g,[v,c]),f.global&&(h.trigger("ajaxComplete",[v,f]),--d.active||d.event.trigger("ajaxStop"))}}typeof e!=="object"&&(e=a,a=b),e=e||{};var f=d.extend(!0,{},d.ajaxSettings,e),g=(f.context=("context"in e?e:d.ajaxSettings).context)||f,h=g===f?d.event:d(g),i=d.Deferred(),j=d._Deferred(),k=f.statusCode||{},l={},m,n,o,p,q=c.location,r=q.protocol||"http:",s,t=0,u,v={readyState:0,setRequestHeader:function(a,b){t===0&&(l[a.toLowerCase()]=b);return this},getAllResponseHeaders:function(){return t===2?m:null},getResponseHeader:function(a){var b;if(t===2){if(!n){n={};while(b=bs.exec(m))n[b[1].toLowerCase()]=b[2]}b=n[a.toLowerCase()]}return b||null},abort:function(a){a=a||"abort",o&&o.abort(a),w(0,a);return this}};i.promise(v),v.success=v.done,v.error=v.fail,v.complete=j.done,v.statusCode=function(a){if(a){var b;if(t<2)for(b in a)k[b]=[k[b],a[b]];else b=a[v.status],v.then(b,b)}return this},f.url=(""+(a||f.url)).replace(br,"").replace(bv,r+"//"),f.dataTypes=d.trim(f.dataType||"*").toLowerCase().split(bz),f.crossDomain||(s=bB.exec(f.url.toLowerCase()),f.crossDomain=s&&(s[1]!=r||s[2]!=q.hostname||(s[3]||(s[1]==="http:"?80:443))!=(q.port||(r==="http:"?80:443)))),f.data&&f.processData&&typeof f.data!=="string"&&(f.data=d.param(f.data,f.traditional)),bG(bD,f,e,v),f.type=f.type.toUpperCase(),f.hasContent=!bu.test(f.type),f.global&&d.active++===0&&d.event.trigger("ajaxStart");if(!f.hasContent){f.data&&(f.url+=(bw.test(f.url)?"&":"?")+f.data);if(f.cache===!1){var x=d.now(),y=f.url.replace(bA,"$1_="+x);f.url=y+(y===f.url?(bw.test(f.url)?"&":"?")+"_="+x:"")}}if(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)l["content-type"]=f.contentType;f.ifModified&&(d.lastModified[f.url]&&(l["if-modified-since"]=d.lastModified[f.url]),d.etag[f.url]&&(l["if-none-match"]=d.etag[f.url])),l.accept=f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(u in f.headers)l[u.toLowerCase()]=f.headers[u];if(!f.beforeSend||f.beforeSend.call(g,v,f)!==!1&&t!==2){for(u in {success:1,error:1,complete:1})v[u](f[u]);o=bG(bE,f,e,v);if(o){t=v.readyState=1,f.global&&h.trigger("ajaxSend",[v,f]),f.async&&f.timeout>0&&(p=setTimeout(function(){v.abort("timeout")},f.timeout));try{o.send(l,w)}catch(z){status<2?w(-1,z):d.error(z)}}else w(-1,"No Transport")}else w(0,"abort"),v=!1;return v},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery)d.each(a,function(){f(this.name,this.value)});else for(var g in a)bH(g,a[g],c,f);return e.join("&").replace(bo,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bK=d.now(),bL=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bK++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){e=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bL.test(b.url)||e&&bL.test(b.data))){var f,g=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h=a[g],i=b.url,j=b.data,k="$1"+g+"$2";b.jsonp!==!1&&(i=i.replace(bL,k),b.url===i&&(e&&(j=j.replace(bL,k)),b.data===j&&(i+=(/\?/.test(i)?"&":"?")+b.jsonp+"="+g))),b.url=i,b.data=j,a[g]=function(a){f=[a]},b.complete=[function(){a[g]=h;if(h)f&&d.isFunction(h)&&a[g](f[0]);else try{delete a[g]}catch(b){}},b.complete],b.converters["script json"]=function(){f||d.error(g+" was not called");return f[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bM=d.now(),bN={},bO,bP;d.ajaxSettings.xhr=a.ActiveXObject?function(){if(a.location.protocol!=="file:")try{return new a.XMLHttpRequest}catch(b){}try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}:function(){return new a.XMLHttpRequest};try{bP=d.ajaxSettings.xhr()}catch(bQ){}d.support.ajax=!!bP,d.support.cors=bP&&"withCredentials"in bP,bP=b,d.support.ajax&&d.ajaxTransport(function(b){if(!b.crossDomain||d.support.cors){var c;return{send:function(e,f){bO||(bO=1,d(a).bind("unload",function(){d.each(bN,function(a,b){b.onreadystatechange&&b.onreadystatechange(1)})}));var g=b.xhr(),h;b.username?g.open(b.type,b.url,b.async,b.username,b.password):g.open(b.type,b.url,b.async),(!b.crossDomain||b.hasContent)&&!e["x-requested-with"]&&(e["x-requested-with"]="XMLHttpRequest");try{d.each(e,function(a,b){g.setRequestHeader(a,b)})}catch(i){}g.send(b.hasContent&&b.data||null),c=function(a,e){if(c&&(e||g.readyState===4)){c=0,h&&(g.onreadystatechange=d.noop,delete bN[h]);if(e)g.readyState!==4&&g.abort();else{var i=g.status,j,k=g.getAllResponseHeaders(),l={},m=g.responseXML;m&&m.documentElement&&(l.xml=m),l.text=g.responseText;try{j=g.statusText}catch(n){j=""}i=i===0?!b.crossDomain||j?k?304:0:302:i==1223?204:i,f(i,j,l,k)}}},b.async&&g.readyState!==4?(h=bM++,bN[h]=g,g.onreadystatechange=c):c()},abort:function(){c&&c(0,1)}}}});var bR={},bS=/^(?:toggle|show|hide)$/,bT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,bU,bV=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(bW("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",bX(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(bW("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(bW("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=bX(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(bS.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=bT.exec(e),j=f.cur()||0;if(i){var k=parseFloat(i[2]),l=i[3]||"px";l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:bW("show",1),slideUp:bW("hide",1),slideToggle:bW("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(d.css(this.elem,this.prop));return a||0},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||"px",this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!bU&&(bU=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(bU),bU=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var bY=/^t(?:able|d|h)$/i,bZ=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=b$(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!bY.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=bZ.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!bZ.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=b$(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=b$(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}})})(window);
|
js/script.js
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
$(document).ready(function(){
|
2 |
+
var original_val=$('#wp_pn_style_selection').attr('value');
|
3 |
+
var val1=$('#wp_pn_style_select_box').attr('value');
|
4 |
+
$('#wp_pn_style_IMG_preview').removeClass();
|
5 |
+
$('#wp_pn_style_IMG_preview').addClass(val1);
|
6 |
+
if(original_val=='custom')
|
7 |
+
{
|
8 |
+
$('#wp_pn_custom_template_style').hide();
|
9 |
+
$('#wp_pn_style_custom_style_box').show();
|
10 |
+
|
11 |
+
}
|
12 |
+
else
|
13 |
+
{
|
14 |
+
$('#wp_pn_style_custom_style_box').hide();
|
15 |
+
$('#wp_pn_custom_template_style').show();
|
16 |
+
}
|
17 |
+
$('#wp_pn_style_selection').change(function(){
|
18 |
+
var val1=$('#wp_pn_style_selection').attr('value');
|
19 |
+
if(val1=='custom')
|
20 |
+
{
|
21 |
+
$('#wp_pn_style_custom_style_box').show();
|
22 |
+
$('#wp_pn_custom_template_style').hide();
|
23 |
+
}
|
24 |
+
else
|
25 |
+
{
|
26 |
+
$('#wp_pn_style_custom_style_box').hide();
|
27 |
+
$('#wp_pn_custom_template_style').show();
|
28 |
+
}
|
29 |
+
|
30 |
+
});
|
31 |
+
|
32 |
+
$('#wp_pn_style_select_box').change(function(){
|
33 |
+
var val1=$('#wp_pn_style_select_box').attr('value');
|
34 |
+
$('#wp_pn_style_IMG_preview').removeClass();
|
35 |
+
$('#wp_pn_style_IMG_preview').addClass(val1);
|
36 |
+
});
|
37 |
+
$('.wp_pn_color_picker').ColorPicker({
|
38 |
+
onSubmit: function(hsb, hex, rgb, el) {
|
39 |
+
$(el).val(hex);
|
40 |
+
$(el).ColorPickerHide();
|
41 |
+
},
|
42 |
+
onBeforeShow: function () {
|
43 |
+
$(this).ColorPickerSetColor(this.value);
|
44 |
+
}
|
45 |
+
})
|
46 |
+
.bind('keyup', function(){
|
47 |
+
$(this).ColorPickerSetColor(this.value);
|
48 |
+
});
|
49 |
+
});
|
readme.txt
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== WP PageNavi Style ===
|
2 |
+
Plugin Author: http://www.snilesh.com
|
3 |
+
Contributors: Neel
|
4 |
+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YKY7SHDT8GTQG
|
5 |
+
Tags: navigation, pagination, paging, pages,navigation,pagenavi style,wp pagenavi styling,pagenavi styling,pagenavi css
|
6 |
+
Requires at least: 3.0
|
7 |
+
Tested up to: 3.1.3
|
8 |
+
Stable tag: trunk
|
9 |
+
|
10 |
+
Adds a more styling options to Wp-PageNavi wordpress plugin.
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
First i will like to say thanks to Lester 'GaMerZ' Chan & scribu for this beautiful wordpress page navigation plugin.
|
15 |
+
|
16 |
+
To Use this plugin you must have [Wp Pagenavi](http://wordpress.org/extend/plugins/wp-pagenavi/) plugin installed on your wordpress blog.
|
17 |
+
|
18 |
+
|
19 |
+
Links: [Demo](http://www.snilesh.com/resources/wordpress/wp-pagenavi-styling-plugin/) |
|
20 |
+
|
21 |
+
[Documentation](http://www.snilesh.com/resources/wordpress/wp-pagenavi-styling-plugin/) | [wp pagenavi Plugin News](http://scribu.net/wordpress/wp-pagenavi/)
|
22 |
+
|
23 |
+
== Installation ==
|
24 |
+
|
25 |
+
To use this plugin you must install wp-pagenavi plugin first.
|
26 |
+
|
27 |
+
You can either install it automatically from the WordPress admin, or do it manually:
|
28 |
+
|
29 |
+
1. Unzip the archive and put the `wp-pagenavi` folder into your plugins folder (/wp-content/plugins/).
|
30 |
+
1. Activate the plugin from the Plugins menu.
|
31 |
+
|
32 |
+
After you installed `wp-pagenavi` plugin next step is to install wp-pagenavi-style plugin.
|
33 |
+
|
34 |
+
You can either install it automatically from the WordPress admin, or do it manually:
|
35 |
+
|
36 |
+
1. Unzip the archive and put the `wp-pagenavi-style` folder into your plugins folder (/wp-content/plugins/).
|
37 |
+
1. Activate the plugin `wp pagenavi style` from the Plugins menu.
|
38 |
+
|
39 |
+
= Usage =
|
40 |
+
|
41 |
+
In your theme, replace code like this:
|
42 |
+
|
43 |
+
`
|
44 |
+
<div class="navigation">
|
45 |
+
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
|
46 |
+
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
|
47 |
+
</div>
|
48 |
+
`
|
49 |
+
|
50 |
+
with this:
|
51 |
+
|
52 |
+
`
|
53 |
+
<div class="navigation">
|
54 |
+
<?php wp_pagenavi(); ?>
|
55 |
+
</div>
|
56 |
+
|
57 |
+
`
|
58 |
+
|
59 |
+
Go to *WP-Admin -> Settings -> PageNavi* for configuration.
|
60 |
+
|
61 |
+
Visit [Wp PageNavi Style Documentation] (http://www.snilesh.com/?p=1278) for more details.
|
62 |
+
|
63 |
+
= Changing Style =
|
64 |
+
|
65 |
+
Visit [Wp PageNavi Style Documentation] (http://www.snilesh.com/?p=1278) for more details.
|
66 |
+
|
67 |
+
|
68 |
+
== Screenshots ==
|
69 |
+
|
70 |
+
Visit [Wp PageNavi Style Documentation] (http://www.snilesh.com/?p=1278) for more details.
|
71 |
+
|
72 |
+
== Changelog ==
|
73 |
+
|
74 |
+
= 1.0 =
|
75 |
+
* First Version Of this Plugin
|
style/colorpicker.css
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.colorpicker {
|
2 |
+
width: 356px;
|
3 |
+
height: 176px;
|
4 |
+
overflow: hidden;
|
5 |
+
position: absolute;
|
6 |
+
background: url(colorpicker/colorpicker_background.png);
|
7 |
+
font-family: Arial, Helvetica, sans-serif;
|
8 |
+
display: none;
|
9 |
+
}
|
10 |
+
.colorpicker_color {
|
11 |
+
width: 150px;
|
12 |
+
height: 150px;
|
13 |
+
left: 14px;
|
14 |
+
top: 13px;
|
15 |
+
position: absolute;
|
16 |
+
background: #f00;
|
17 |
+
overflow: hidden;
|
18 |
+
cursor: crosshair;
|
19 |
+
}
|
20 |
+
.colorpicker_color div {
|
21 |
+
position: absolute;
|
22 |
+
top: 0;
|
23 |
+
left: 0;
|
24 |
+
width: 150px;
|
25 |
+
height: 150px;
|
26 |
+
background: url(colorpicker/colorpicker_overlay.png);
|
27 |
+
}
|
28 |
+
.colorpicker_color div div {
|
29 |
+
position: absolute;
|
30 |
+
top: 0;
|
31 |
+
left: 0;
|
32 |
+
width: 11px;
|
33 |
+
height: 11px;
|
34 |
+
overflow: hidden;
|
35 |
+
background: url(colorpicker/colorpicker_select.gif);
|
36 |
+
margin: -5px 0 0 -5px;
|
37 |
+
}
|
38 |
+
.colorpicker_hue {
|
39 |
+
position: absolute;
|
40 |
+
top: 13px;
|
41 |
+
left: 171px;
|
42 |
+
width: 35px;
|
43 |
+
height: 150px;
|
44 |
+
cursor: n-resize;
|
45 |
+
}
|
46 |
+
.colorpicker_hue div {
|
47 |
+
position: absolute;
|
48 |
+
width: 35px;
|
49 |
+
height: 9px;
|
50 |
+
overflow: hidden;
|
51 |
+
background: url(colorpicker/colorpicker_indic.gif) left top;
|
52 |
+
margin: -4px 0 0 0;
|
53 |
+
left: 0px;
|
54 |
+
}
|
55 |
+
.colorpicker_new_color {
|
56 |
+
position: absolute;
|
57 |
+
width: 60px;
|
58 |
+
height: 30px;
|
59 |
+
left: 213px;
|
60 |
+
top: 13px;
|
61 |
+
background: #f00;
|
62 |
+
}
|
63 |
+
.colorpicker_current_color {
|
64 |
+
position: absolute;
|
65 |
+
width: 60px;
|
66 |
+
height: 30px;
|
67 |
+
left: 283px;
|
68 |
+
top: 13px;
|
69 |
+
background: #f00;
|
70 |
+
}
|
71 |
+
.colorpicker input {
|
72 |
+
background-color: transparent;
|
73 |
+
border: 1px solid transparent;
|
74 |
+
position: absolute;
|
75 |
+
font-size: 10px;
|
76 |
+
font-family: Arial, Helvetica, sans-serif;
|
77 |
+
color: #898989;
|
78 |
+
top: 4px;
|
79 |
+
right: 11px;
|
80 |
+
text-align: right;
|
81 |
+
margin: 0;
|
82 |
+
padding: 0;
|
83 |
+
height: 11px;
|
84 |
+
}
|
85 |
+
.colorpicker_hex {
|
86 |
+
position: absolute;
|
87 |
+
width: 72px;
|
88 |
+
height: 22px;
|
89 |
+
background: url(colorpicker/colorpicker_hex.png) top;
|
90 |
+
left: 212px;
|
91 |
+
top: 142px;
|
92 |
+
}
|
93 |
+
.colorpicker_hex input {
|
94 |
+
right: 6px;
|
95 |
+
}
|
96 |
+
.colorpicker_field {
|
97 |
+
height: 22px;
|
98 |
+
width: 62px;
|
99 |
+
background-position: top;
|
100 |
+
position: absolute;
|
101 |
+
}
|
102 |
+
.colorpicker_field span {
|
103 |
+
position: absolute;
|
104 |
+
width: 12px;
|
105 |
+
height: 22px;
|
106 |
+
overflow: hidden;
|
107 |
+
top: 0;
|
108 |
+
right: 0;
|
109 |
+
cursor: n-resize;
|
110 |
+
}
|
111 |
+
.colorpicker_rgb_r {
|
112 |
+
background-image: url(colorpicker/colorpicker_rgb_r.png);
|
113 |
+
top: 52px;
|
114 |
+
left: 212px;
|
115 |
+
}
|
116 |
+
.colorpicker_rgb_g {
|
117 |
+
background-image: url(colorpicker/colorpicker_rgb_g.png);
|
118 |
+
top: 82px;
|
119 |
+
left: 212px;
|
120 |
+
}
|
121 |
+
.colorpicker_rgb_b {
|
122 |
+
background-image: url(colorpicker/colorpicker_rgb_b.png);
|
123 |
+
top: 112px;
|
124 |
+
left: 212px;
|
125 |
+
}
|
126 |
+
.colorpicker_hsb_h {
|
127 |
+
background-image: url(colorpicker/colorpicker_hsb_h.png);
|
128 |
+
top: 52px;
|
129 |
+
left: 282px;
|
130 |
+
}
|
131 |
+
.colorpicker_hsb_s {
|
132 |
+
background-image: url(colorpicker/colorpicker_hsb_s.png);
|
133 |
+
top: 82px;
|
134 |
+
left: 282px;
|
135 |
+
}
|
136 |
+
.colorpicker_hsb_b {
|
137 |
+
background-image: url(colorpicker/colorpicker_hsb_b.png);
|
138 |
+
top: 112px;
|
139 |
+
left: 282px;
|
140 |
+
}
|
141 |
+
.colorpicker_submit {
|
142 |
+
position: absolute;
|
143 |
+
width: 22px;
|
144 |
+
height: 22px;
|
145 |
+
background: url(colorpicker/colorpicker_submit.png) top;
|
146 |
+
left: 322px;
|
147 |
+
top: 142px;
|
148 |
+
overflow: hidden;
|
149 |
+
}
|
150 |
+
.colorpicker_focus {
|
151 |
+
background-position: center;
|
152 |
+
}
|
153 |
+
.colorpicker_hex.colorpicker_focus {
|
154 |
+
background-position: bottom;
|
155 |
+
}
|
156 |
+
.colorpicker_submit.colorpicker_focus {
|
157 |
+
background-position: bottom;
|
158 |
+
}
|
159 |
+
.colorpicker_slider {
|
160 |
+
background-position: bottom;
|
161 |
+
}
|
style/colorpicker/arrow_transparent_bg.gif
ADDED
Binary file
|
style/colorpicker/colorpicker_background.png
ADDED
Binary file
|
style/colorpicker/colorpicker_hex.png
ADDED
Binary file
|
style/colorpicker/colorpicker_hsb_b.png
ADDED
Binary file
|
style/colorpicker/colorpicker_hsb_h.png
ADDED
Binary file
|
style/colorpicker/colorpicker_hsb_s.png
ADDED
Binary file
|
style/colorpicker/colorpicker_indic.gif
ADDED
Binary file
|
style/colorpicker/colorpicker_overlay.png
ADDED
Binary file
|
style/colorpicker/colorpicker_rgb_b.png
ADDED
Binary file
|
style/colorpicker/colorpicker_rgb_g.png
ADDED
Binary file
|
style/colorpicker/colorpicker_rgb_r.png
ADDED
Binary file
|
style/colorpicker/colorpicker_select.gif
ADDED
Binary file
|
style/colorpicker/colorpicker_submit.png
ADDED
Binary file
|
style/colorpicker/custom_background.png
ADDED
Binary file
|
style/colorpicker/custom_hex.png
ADDED
Binary file
|
style/colorpicker/custom_hsb_b.png
ADDED
Binary file
|
style/colorpicker/custom_hsb_h.png
ADDED
Binary file
|
style/colorpicker/custom_hsb_s.png
ADDED
Binary file
|
style/colorpicker/custom_indic.gif
ADDED
Binary file
|
style/colorpicker/custom_rgb_b.png
ADDED
Binary file
|
style/colorpicker/custom_rgb_g.png
ADDED
Binary file
|
style/colorpicker/custom_rgb_r.png
ADDED
Binary file
|
style/colorpicker/custom_submit.png
ADDED
Binary file
|
style/colorpicker/image02.png
ADDED
Binary file
|
style/colorpicker/select.png
ADDED
Binary file
|
style/colorpicker/select2.png
ADDED
Binary file
|
style/colorpicker/slider.png
ADDED
Binary file
|
style/default.css
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wp-pagenavi
|
2 |
+
{
|
3 |
+
font-size:12px;
|
4 |
+
display:block;
|
5 |
+
clear:both;
|
6 |
+
padding:20px 0px 20px 0px;
|
7 |
+
}
|
8 |
+
.wp-pagenavi a,
|
9 |
+
.wp-pagenavi a:link,
|
10 |
+
.wp-pagenavi a:visited,
|
11 |
+
.wp-pagenavi a:active {
|
12 |
+
padding:6px 9px 6px 9px;
|
13 |
+
margin: 3px;
|
14 |
+
text-decoration: none;
|
15 |
+
border: 1px solid #C8C8C2;
|
16 |
+
background: #FCFCFC;
|
17 |
+
color: #999;
|
18 |
+
}
|
19 |
+
|
20 |
+
.wp-pagenavi a:hover {
|
21 |
+
border: 1px solid #a7a7a3;
|
22 |
+
color: #444;
|
23 |
+
}
|
24 |
+
|
25 |
+
.wp-pagenavi span.pages {
|
26 |
+
padding:6px 9px 6px 9px;
|
27 |
+
margin: 3px;
|
28 |
+
font-family: Georgia,serif;
|
29 |
+
font-style: italic;
|
30 |
+
color: #999;
|
31 |
+
}
|
32 |
+
|
33 |
+
.wp-pagenavi span.current {
|
34 |
+
padding:6px 9px 6px 9px;
|
35 |
+
margin: 3px;
|
36 |
+
text-decoration: none;
|
37 |
+
border: 1px solid #a7a7a3;
|
38 |
+
background: #FCFCFC;
|
39 |
+
font-weight: bold;
|
40 |
+
color: #444;
|
41 |
+
}
|
42 |
+
|
43 |
+
.wp-pagenavi span.extend {
|
44 |
+
padding:6px 9px 6px 9px;
|
45 |
+
margin: 3px;
|
46 |
+
text-decoration: none;
|
47 |
+
border: 1px solid #C8C8C2;
|
48 |
+
background: #FCFCFC;
|
49 |
+
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
|
50 |
+
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
|
51 |
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
|
52 |
+
}
|
style/images/black.png
ADDED
Binary file
|
style/images/black_red.png
ADDED
Binary file
|
style/images/blue.png
ADDED
Binary file
|
style/images/brown.png
ADDED
Binary file
|
style/images/css3_black.png
ADDED
Binary file
|
style/images/css3_black_glossy.png
ADDED
Binary file
|
style/images/css3_blue_glossy.png
ADDED
Binary file
|
style/images/css3_brown.png
ADDED
Binary file
|
style/images/css3_brown_glossy.png
ADDED
Binary file
|
style/images/css3_gray.png
ADDED
Binary file
|
style/images/css3_gray_glossy.png
ADDED
Binary file
|
style/images/css3_green.png
ADDED
Binary file
|
style/images/css3_green_glossy.png
ADDED
Binary file
|
style/images/css3_light_blue.png
ADDED
Binary file
|
style/images/css3_light_blue_glossy.png
ADDED
Binary file
|
style/images/css3_orange_glossy.png
ADDED
Binary file
|
style/images/css3_purple.png
ADDED
Binary file
|
style/images/css3_purple_glossy.png
ADDED
Binary file
|
style/images/css3_red.png
ADDED
Binary file
|
style/images/css3_red_glossy.png
ADDED
Binary file
|
style/images/css3_yellow.png
ADDED
Binary file
|
style/images/css3_yellow_glossy.png
ADDED
Binary file
|
style/images/default.png
ADDED
Binary file
|
style/images/gray.png
ADDED
Binary file
|
style/images/green.png
ADDED
Binary file
|
style/images/minimal.png
ADDED
Binary file
|
style/images/orange.png
ADDED
Binary file
|
style/images/purple.png
ADDED
Binary file
|
style/images/red.png
ADDED
Binary file
|
style/images/red_black.png
ADDED
Binary file
|
style/images/round_white.png
ADDED
Binary file
|
style/images/white_blue.png
ADDED
Binary file
|
style/images/yellow.png
ADDED
Binary file
|
style/wp-pagenavi-style-admin.css
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#wp_pn_style_IMG_preview
|
2 |
+
{
|
3 |
+
width:650px;
|
4 |
+
height:80px;
|
5 |
+
display:block;
|
6 |
+
overflow:hidden;
|
7 |
+
}
|
8 |
+
.black
|
9 |
+
{
|
10 |
+
background:url(images/black.png) no-repeat center;
|
11 |
+
}
|
12 |
+
.red
|
13 |
+
{
|
14 |
+
background:url(images/red.png) no-repeat center;
|
15 |
+
}
|
16 |
+
.green
|
17 |
+
{
|
18 |
+
background:url(images/green.png) no-repeat center;
|
19 |
+
}
|
20 |
+
.yellow
|
21 |
+
{
|
22 |
+
background:url(images/yellow.png) no-repeat center;
|
23 |
+
}
|
24 |
+
.black_red
|
25 |
+
{
|
26 |
+
background:url(images/black_red.png) no-repeat center;
|
27 |
+
}
|
28 |
+
.blue
|
29 |
+
{
|
30 |
+
background:url(images/blue.png) no-repeat center;
|
31 |
+
}
|
32 |
+
.orange
|
33 |
+
{
|
34 |
+
background:url(images/orange.png) no-repeat center;
|
35 |
+
}
|
36 |
+
.purple
|
37 |
+
{
|
38 |
+
background:url(images/purple.png) no-repeat center;
|
39 |
+
}
|
40 |
+
.brown
|
41 |
+
{
|
42 |
+
background:url(images/brown.png) no-repeat center;
|
43 |
+
}
|
44 |
+
.gray
|
45 |
+
{
|
46 |
+
background:url(images/gray.png) no-repeat center;
|
47 |
+
}
|
48 |
+
.css3_black
|
49 |
+
{
|
50 |
+
background:url(images/css3_black.png) no-repeat center;
|
51 |
+
}
|
52 |
+
.css3_black_glossy
|
53 |
+
{
|
54 |
+
background:url(images/css3_black_glossy.png) no-repeat center;
|
55 |
+
}
|
56 |
+
.css3_blue_glossy
|
57 |
+
{
|
58 |
+
background:url(images/css3_blue_glossy.png) no-repeat center;
|
59 |
+
}
|
60 |
+
.css3_brown
|
61 |
+
{
|
62 |
+
background:url(images/css3_brown.png) no-repeat center;
|
63 |
+
}
|
64 |
+
.css3_brown_glossy
|
65 |
+
{
|
66 |
+
background:url(images/css3_brown_glossy.png) no-repeat center;
|
67 |
+
}
|
68 |
+
.css3_gray
|
69 |
+
{
|
70 |
+
background:url(images/css3_gray.png) no-repeat center;
|
71 |
+
}
|
72 |
+
.css3_gray_glossy
|
73 |
+
{
|
74 |
+
background:url(images/css3_gray_glossy.png) no-repeat center;
|
75 |
+
}
|
76 |
+
.css3_green
|
77 |
+
{
|
78 |
+
background:url(images/css3_green.png) no-repeat center;
|
79 |
+
}
|
80 |
+
.css3_green_glossy
|
81 |
+
{
|
82 |
+
background:url(images/css3_green_glossy.png) no-repeat center;
|
83 |
+
}
|
84 |
+
.css3_light_blue
|
85 |
+
{
|
86 |
+
background:url(images/css3_light_blue.png) no-repeat center;
|
87 |
+
}
|
88 |
+
.css3_light_blue_glossy
|
89 |
+
{
|
90 |
+
background:url(images/css3_light_blue_glossy.png) no-repeat center;
|
91 |
+
}
|
92 |
+
.css3_orange_glossy
|
93 |
+
{
|
94 |
+
background:url(images/css3_orange_glossy.png) no-repeat center;
|
95 |
+
}
|
96 |
+
.css3_purple
|
97 |
+
{
|
98 |
+
background:url(images/css3_purple.png) no-repeat center;
|
99 |
+
}
|
100 |
+
.css3_purple_glossy
|
101 |
+
{
|
102 |
+
background:url(images/css3_purple_glossy.png) no-repeat center;
|
103 |
+
}
|
104 |
+
.css3_red
|
105 |
+
{
|
106 |
+
background:url(images/css3_red.png) no-repeat center;
|
107 |
+
}
|
108 |
+
.css3_red_glossy
|
109 |
+
{
|
110 |
+
background:url(images/css3_red_glossy.png) no-repeat center;
|
111 |
+
}
|
112 |
+
.css3_yellow
|
113 |
+
{
|
114 |
+
background:url(images/css3_yellow.png) no-repeat center;
|
115 |
+
}
|
116 |
+
.css3_yellow_glossy
|
117 |
+
{
|
118 |
+
background:url(images/css3_yellow_glossy.png) no-repeat center;
|
119 |
+
}
|
120 |
+
.default
|
121 |
+
{
|
122 |
+
background:url(images/default.png) no-repeat center;
|
123 |
+
}
|
124 |
+
.minimal
|
125 |
+
{
|
126 |
+
background:url(images/minimal.png) no-repeat center;
|
127 |
+
}
|
128 |
+
.new
|
129 |
+
{
|
130 |
+
background:url(images/new.png) no-repeat center;
|
131 |
+
}
|
132 |
+
.red_black
|
133 |
+
{
|
134 |
+
background:url(images/red_black.png) no-repeat center;
|
135 |
+
}
|
136 |
+
.round_white
|
137 |
+
{
|
138 |
+
background:url(images/round_white.png) no-repeat center;
|
139 |
+
}
|
140 |
+
.style
|
141 |
+
{
|
142 |
+
background:url(images/style.png) no-repeat center;
|
143 |
+
}
|
144 |
+
.white_blue
|
145 |
+
{
|
146 |
+
background:url(images/white_blue.png) no-repeat center;
|
147 |
+
}
|
uninstall.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// If uniinstall not called from wordpress exit
|
4 |
+
if(!defined('WP_UNINSTALL_PLUGIN'))
|
5 |
+
{
|
6 |
+
exit();
|
7 |
+
}
|
8 |
+
// Delete option from Option table
|
9 |
+
delete_option('WP_PAGENAVI_STYLE_OPTION');
|
10 |
+
?>
|
wp-pagenavi-style.php
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Wp Pagenavi Style
|
4 |
+
Version: 1.0
|
5 |
+
Description: Adds Style options for most popular wordpress pagination plugin wp-pagenavi.
|
6 |
+
Author: Neel
|
7 |
+
Plugin URI: http://www.snilesh.com/resources/wordpress/wp-pagenavi-styling-plugin/
|
8 |
+
Text Domain: wp-pagenavi-style
|
9 |
+
Domain Path: /lang
|
10 |
+
|
11 |
+
|
12 |
+
Copyright 2011 Nilesh Shiragave ( email : snilesh.com@gmail.com )
|
13 |
+
|
14 |
+
This program is free software; you can redistribute it and/or modify
|
15 |
+
it under the terms of the GNU General Public License as published by
|
16 |
+
the Free Software Foundation; either version 2 of the License, or
|
17 |
+
( at your option ) any later version.
|
18 |
+
|
19 |
+
This program is distributed in the hope that it will be useful,
|
20 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
+
GNU General Public License for more details.
|
23 |
+
|
24 |
+
You should have received a copy of the GNU General Public License
|
25 |
+
along with this program; if not, write to the Free Software
|
26 |
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
27 |
+
*/
|
28 |
+
|
29 |
+
global $wp_version;
|
30 |
+
$plugin_name="WP PageNavi Style Pluigin";
|
31 |
+
$exit_msg=$plugin_name.' requires WordPress 3.0 or newer. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update!</a>';
|
32 |
+
|
33 |
+
$wp_pagenavi_style_version='1.0';
|
34 |
+
|
35 |
+
/* LOAD PLUGIN LANGUAGE FILES */
|
36 |
+
load_plugin_textdomain('wp-pagenavi-style',false,'wp-pagenavi-style/lang');
|
37 |
+
|
38 |
+
|
39 |
+
$wp_pn_style=defined('WP_PLUGIN_URL') ? (WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__))) : trailingslashit(get_bloginfo('wpurl')) . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__));
|
40 |
+
|
41 |
+
if (version_compare($wp_version,"3.0","<="))
|
42 |
+
{
|
43 |
+
exit ($exit_msg);
|
44 |
+
}
|
45 |
+
if (!defined('WP_CONTENT_URL')) {
|
46 |
+
$content_url=content_url();
|
47 |
+
define('WP_CONTENT_URL', $content_url);
|
48 |
+
}
|
49 |
+
define('WP_PAGENAVI_STYLE_PATH',WP_CONTENT_URL.'/plugins/wp-pagenavi-style/');
|
50 |
+
define('WP_PAGENAVI_STYLE_CSS_PATH',plugin_dir_path(__FILE__).'/css');
|
51 |
+
|
52 |
+
/*Function to Call when Plugin get activated*/
|
53 |
+
function wp_pn_style_activate()
|
54 |
+
{
|
55 |
+
global $wp_pn_style_defaults;
|
56 |
+
$wp_pn_style_defaults=array(
|
57 |
+
'stylesheet'=>'template',
|
58 |
+
'template'=>'css3_black',
|
59 |
+
'align'=>'left',
|
60 |
+
'font_size'=>'12px',
|
61 |
+
'heading_color'=>'000000',
|
62 |
+
'background_color'=>'000000',
|
63 |
+
'hover_color'=>'666666',
|
64 |
+
'link_color'=>'ffffff',
|
65 |
+
'link_active_color'=>'ffffff',
|
66 |
+
'border_color'=>'666666',
|
67 |
+
'border_active_color'=>'000000'
|
68 |
+
);
|
69 |
+
|
70 |
+
add_option('WP_PAGENAVI_STYLE_OPTION',$wp_pn_style_defaults);
|
71 |
+
}
|
72 |
+
|
73 |
+
/* Function to Call when Plugin Deactivated */
|
74 |
+
function wp_pn_style_deactivate()
|
75 |
+
{
|
76 |
+
/* Code needs to be added for deactivate action */
|
77 |
+
// delete_option('WP_PAGENAVI_STYLE_OPTION');
|
78 |
+
}
|
79 |
+
|
80 |
+
register_activation_hook( __FILE__, 'wp_pn_style_activate' );
|
81 |
+
register_deactivation_hook( __FILE__, 'wp_pn_style_deactivate' );
|
82 |
+
|
83 |
+
/* Add Administrator Menus */
|
84 |
+
function wp_pn_style_admin_menu()
|
85 |
+
{
|
86 |
+
$level = 'level_7';
|
87 |
+
add_menu_page('PageNavi Style', 'PageNavi Style', $level, __FILE__, 'wp_pn_style_options_page',WP_PAGENAVI_STYLE_PATH.'images/icon.png');
|
88 |
+
}
|
89 |
+
|
90 |
+
add_action('admin_menu','wp_pn_style_admin_menu');
|
91 |
+
|
92 |
+
|
93 |
+
function wp_pn_style_options_page()
|
94 |
+
{
|
95 |
+
include_once dirname(__FILE__).'/includes/options.php';
|
96 |
+
}
|
97 |
+
|
98 |
+
add_action( 'wp_print_styles', 'wp_pn_style_deregister_styles', 100 );
|
99 |
+
function wp_pn_style_deregister_styles() {
|
100 |
+
$options=get_option('WP_PAGENAVI_STYLE_OPTION');
|
101 |
+
$css_file=WP_PAGENAVI_STYLE_PATH.'css/'.$options['template'].'.css';
|
102 |
+
wp_dequeue_style( 'wp-pagenavi' );
|
103 |
+
if(count($options)==0)
|
104 |
+
{
|
105 |
+
$css_file=WP_PAGENAVI_STYLE_PATH.'css/default.css';
|
106 |
+
}
|
107 |
+
if($options['stylesheet']=='template')
|
108 |
+
{
|
109 |
+
wp_enqueue_style( 'wp-pagenavi-style', $css_file, false, '1.0' );
|
110 |
+
?>
|
111 |
+
<style type="text/css">
|
112 |
+
.wp-pagenavi{<?php if($options['align']=='right'){echo 'float:right !important; ';} elseif($options['align']=='left'){echo 'float:left !important; ';} else {echo 'margin-left:auto !important; margin-right:auto; !important';} ?>}
|
113 |
+
</style>
|
114 |
+
<?php
|
115 |
+
}
|
116 |
+
else
|
117 |
+
{
|
118 |
+
$css_file=WP_PAGENAVI_STYLE_PATH.'style/default.css';
|
119 |
+
wp_enqueue_style( 'wp-pagenavi-style', $css_file, false, '1.0' );
|
120 |
+
?>
|
121 |
+
<style type="text/css">
|
122 |
+
.wp-pagenavi{<?php if($options['align']=='right'){echo 'float:right !important; ';} elseif($options['align']=='left'){echo 'float:left !important; ';} else { echo 'margin-left:auto !important; margin-right:auto; !important';} ?>}
|
123 |
+
|
124 |
+
.wp-pagenavi a,.wp-pagenavi a:link,.wp-pagenavi a:visited,.wp-pagenavi a:active,.wp-pagenavi span.extend { <?php if($options['background_color']!=""){ echo 'background:#'.$options['background_color'].' !important;'; } ?> <?php if($options['border_color']!=""){ echo 'border:1px solid #'.$options['border_color'].' !important;'; } ?> <?php if($options['link_color']!=""){ echo 'color:#'.$options['link_color'].' !important;'; } ?> }
|
125 |
+
.wp-pagenavi a:hover,.wp-pagenavi span.current
|
126 |
+
{
|
127 |
+
<?php if($options['hover_color']!=""){ echo 'background:#'.$options['hover_color'].' !important;'; } ?> <?php if($options['border_active_color']!=""){ echo 'border:1px solid #'.$options['border_active_color'].' !important;'; } ?> <?php if($options['link_active_color']!=""){ echo 'color:#'.$options['link_active_color'].' !important;'; } ?>
|
128 |
+
}
|
129 |
+
.wp-pagenavi span.pages { <?php if($options['heading_color']!=""){ echo 'color:#'.$options['heading_color'].' !important;'; } ?> }
|
130 |
+
</style>
|
131 |
+
<?php
|
132 |
+
}
|
133 |
+
}
|
134 |
+
add_action('wp_head', 'wp_pn_style_style_codes');
|
135 |
+
|
136 |
+
function wp_pn_style_style_codes()
|
137 |
+
{
|
138 |
+
$options=get_option('WP_PAGENAVI_STYLE_OPTION');
|
139 |
+
?>
|
140 |
+
<style type="text/css">
|
141 |
+
.wp-pagenavi
|
142 |
+
{
|
143 |
+
font-size:<?php echo $options['font_size']; ?> !important;
|
144 |
+
}
|
145 |
+
</style>
|
146 |
+
<?php
|
147 |
+
}
|
148 |
+
|
149 |
+
/* LOAD COMMON FUNCTIONS WHICH ARE USED IN ALL MY PLUGINS */
|
150 |
+
include_once dirname(__FILE__).'/includes/common_functions.php';
|
151 |
+
?>
|