wheels 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/blogs_controller.rb +17 -0
- data/app/controllers/galleries_controller.rb +60 -0
- data/app/controllers/images_controller.rb +30 -0
- data/app/controllers/profiles_controller.rb +16 -0
- data/app/controllers/users_controller.rb +4 -0
- data/app/models/ability.rb +23 -0
- data/app/models/blog.rb +8 -0
- data/app/models/gallery.rb +5 -0
- data/app/models/image.rb +8 -0
- data/app/models/profile.rb +11 -0
- data/app/models/role.rb +8 -0
- data/app/models/user.rb +43 -0
- data/app/views/blogs/_form.html.haml +28 -0
- data/app/views/blogs/edit.html.haml +8 -0
- data/app/views/blogs/index.html.haml +19 -0
- data/app/views/blogs/index.xml.builder +27 -0
- data/app/views/blogs/new.html.haml +6 -0
- data/app/views/blogs/show.html.haml +10 -0
- data/app/views/galleries/_form.html.haml +29 -0
- data/app/views/galleries/_show.html.haml +21 -0
- data/app/views/galleries/edit.html.haml +7 -0
- data/app/views/galleries/index.html.haml +15 -0
- data/app/views/galleries/new.html.haml +5 -0
- data/app/views/galleries/show.html.haml +4 -0
- data/app/views/images/_form.html.haml +10 -0
- data/app/views/images/create.js.haml +3 -0
- data/app/views/images/destroy.js.haml +3 -0
- data/app/views/images/edit.html.haml +7 -0
- data/app/views/images/edit.js.haml +3 -0
- data/app/views/images/index.html.haml +17 -0
- data/app/views/images/index.js.haml +3 -0
- data/app/views/images/new.html.haml +5 -0
- data/app/views/images/new.js.haml +3 -0
- data/app/views/images/show.html.haml +5 -0
- data/app/views/images/show.js.haml +3 -0
- data/app/views/images/update.js.haml +3 -0
- data/app/views/layouts/image_dialog.html.haml +18 -0
- data/app/views/profiles/_form.html.haml +26 -0
- data/app/views/profiles/edit.html.haml +7 -0
- data/app/views/profiles/index.html.haml +25 -0
- data/app/views/profiles/new.html.haml +5 -0
- data/app/views/profiles/show.html.haml +21 -0
- data/app/views/users/index.html.haml +19 -0
- data/config/amazon_s3.yml +15 -0
- data/db/migrate/add_fields_to_users.rb +28 -0
- data/db/migrate/create_blogs.rb +16 -0
- data/db/migrate/create_galleries.rb +15 -0
- data/db/migrate/create_images.rb +17 -0
- data/db/migrate/create_profiles.rb +24 -0
- data/db/migrate/create_roles.rb +16 -0
- data/lib/generators/wheels/recipes/wheels.rb +0 -1
- data/lib/generators/wheels/wheels_generator.rb +1 -1
- data/lib/wheels.rb +1 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/favicon.ico +0 -0
- data/public/images/dreamy/Thumbs.db +0 -0
- data/public/images/dreamy/bg-ad-top.png +0 -0
- data/public/images/dreamy/bg-body.png +0 -0
- data/public/images/dreamy/bg-feed.gif +0 -0
- data/public/images/dreamy/bg-footer.jpg +0 -0
- data/public/images/dreamy/bg-header.jpg +0 -0
- data/public/images/dreamy/bg-menu-hover.png +0 -0
- data/public/images/dreamy/bg-menu.png +0 -0
- data/public/images/dreamy/bg-sidebar-bottom.gif +0 -0
- data/public/images/dreamy/button-feed.png +0 -0
- data/public/images/dreamy/icon-comment.png +0 -0
- data/public/images/growl/error.png +0 -0
- data/public/images/growl/growl_bottom.png +0 -0
- data/public/images/growl/growl_repeat.png +0 -0
- data/public/images/growl/growl_top.png +0 -0
- data/public/images/growl/info.png +0 -0
- data/public/images/menu/item-pointer-mover.gif +0 -0
- data/public/images/menu/item-pointer.gif +0 -0
- data/public/images/menu/lava.gif +0 -0
- data/public/images/menu/lava.png +0 -0
- data/public/images/menu/main-bg.png +0 -0
- data/public/images/menu/main-delimiter.png +0 -0
- data/public/javascripts/jquery.growl.js +143 -0
- data/public/javascripts/loadbehind.js +0 -0
- data/public/javascripts/menu.js +247 -0
- data/public/stylesheets/.gitkeep +0 -0
- data/public/stylesheets/dreamy.css +181 -0
- data/public/stylesheets/menu.css +101 -0
- data/public/stylesheets/sass/dreamy.sass +195 -0
- data/public/stylesheets/sass/menu.sass +105 -0
- data/public/stylesheets/scaffold.css +56 -0
- data/public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/stylesheets/ui-lightness/jquery-ui-1.8.2.custom.css +359 -0
- data/wheels.gemspec +102 -1
- metadata +104 -3
@@ -0,0 +1,247 @@
|
|
1
|
+
/** jquery.color.js ****************/
|
2
|
+
/*
|
3
|
+
* jQuery Color Animations
|
4
|
+
* Copyright 2007 John Resig
|
5
|
+
* Released under the MIT and GPL licenses.
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function(jQuery){
|
9
|
+
|
10
|
+
// We override the animation for all of these color styles
|
11
|
+
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){
|
12
|
+
jQuery.fx.step[attr] = function(fx){
|
13
|
+
if ( fx.state == 0 ) {
|
14
|
+
fx.start = getColor( fx.elem, attr );
|
15
|
+
fx.end = getRGB( fx.end );
|
16
|
+
}
|
17
|
+
if ( fx.start )
|
18
|
+
fx.elem.style[attr] = "rgb(" + [
|
19
|
+
Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
|
20
|
+
Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
|
21
|
+
Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)
|
22
|
+
].join(",") + ")";
|
23
|
+
}
|
24
|
+
});
|
25
|
+
|
26
|
+
// Color Conversion functions from highlightFade
|
27
|
+
// By Blair Mitchelmore
|
28
|
+
// http://jquery.offput.ca/highlightFade/
|
29
|
+
|
30
|
+
// Parse strings looking for color tuples [255,255,255]
|
31
|
+
function getRGB(color) {
|
32
|
+
var result;
|
33
|
+
|
34
|
+
// Check if we're already dealing with an array of colors
|
35
|
+
if ( color && color.constructor == Array && color.length == 3 )
|
36
|
+
return color;
|
37
|
+
|
38
|
+
// Look for rgb(num,num,num)
|
39
|
+
if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
|
40
|
+
return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];
|
41
|
+
|
42
|
+
// Look for rgb(num%,num%,num%)
|
43
|
+
if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
|
44
|
+
return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];
|
45
|
+
|
46
|
+
// Look for #a0b1c2
|
47
|
+
if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
|
48
|
+
return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];
|
49
|
+
|
50
|
+
// Look for #fff
|
51
|
+
if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
|
52
|
+
return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];
|
53
|
+
|
54
|
+
// Otherwise, we're most likely dealing with a named color
|
55
|
+
return colors[jQuery.trim(color).toLowerCase()];
|
56
|
+
}
|
57
|
+
|
58
|
+
function getColor(elem, attr) {
|
59
|
+
var color;
|
60
|
+
|
61
|
+
do {
|
62
|
+
color = jQuery.curCSS(elem, attr);
|
63
|
+
|
64
|
+
// Keep going until we find an element that has color, or we hit the body
|
65
|
+
if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") )
|
66
|
+
break;
|
67
|
+
|
68
|
+
attr = "backgroundColor";
|
69
|
+
} while ( elem = elem.parentNode );
|
70
|
+
|
71
|
+
return getRGB(color);
|
72
|
+
};
|
73
|
+
|
74
|
+
// Some named colors to work with
|
75
|
+
// From Interface by Stefan Petre
|
76
|
+
// http://interface.eyecon.ro/
|
77
|
+
|
78
|
+
var colors = {
|
79
|
+
aqua:[0,255,255],
|
80
|
+
azure:[240,255,255],
|
81
|
+
beige:[245,245,220],
|
82
|
+
black:[0,0,0],
|
83
|
+
blue:[0,0,255],
|
84
|
+
brown:[165,42,42],
|
85
|
+
cyan:[0,255,255],
|
86
|
+
darkblue:[0,0,139],
|
87
|
+
darkcyan:[0,139,139],
|
88
|
+
darkgrey:[169,169,169],
|
89
|
+
darkgreen:[0,100,0],
|
90
|
+
darkkhaki:[189,183,107],
|
91
|
+
darkmagenta:[139,0,139],
|
92
|
+
darkolivegreen:[85,107,47],
|
93
|
+
darkorange:[255,140,0],
|
94
|
+
darkorchid:[153,50,204],
|
95
|
+
darkred:[139,0,0],
|
96
|
+
darksalmon:[233,150,122],
|
97
|
+
darkviolet:[148,0,211],
|
98
|
+
fuchsia:[255,0,255],
|
99
|
+
gold:[255,215,0],
|
100
|
+
green:[0,128,0],
|
101
|
+
indigo:[75,0,130],
|
102
|
+
khaki:[240,230,140],
|
103
|
+
lightblue:[173,216,230],
|
104
|
+
lightcyan:[224,255,255],
|
105
|
+
lightgreen:[144,238,144],
|
106
|
+
lightgrey:[211,211,211],
|
107
|
+
lightpink:[255,182,193],
|
108
|
+
lightyellow:[255,255,224],
|
109
|
+
lime:[0,255,0],
|
110
|
+
magenta:[255,0,255],
|
111
|
+
maroon:[128,0,0],
|
112
|
+
navy:[0,0,128],
|
113
|
+
olive:[128,128,0],
|
114
|
+
orange:[255,165,0],
|
115
|
+
pink:[255,192,203],
|
116
|
+
purple:[128,0,128],
|
117
|
+
violet:[128,0,128],
|
118
|
+
red:[255,0,0],
|
119
|
+
silver:[192,192,192],
|
120
|
+
white:[255,255,255],
|
121
|
+
yellow:[255,255,0]
|
122
|
+
};
|
123
|
+
|
124
|
+
})(jQuery);
|
125
|
+
|
126
|
+
/** jquery.lavalamp.js ****************/
|
127
|
+
/**
|
128
|
+
* LavaLamp - A menu plugin for jQuery with cool hover effects.
|
129
|
+
* @requires jQuery v1.1.3.1 or above
|
130
|
+
*
|
131
|
+
* http://gmarwaha.com/blog/?p=7
|
132
|
+
*
|
133
|
+
* Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com)
|
134
|
+
* Dual licensed under the MIT and GPL licenses:
|
135
|
+
* http://www.opensource.org/licenses/mit-license.php
|
136
|
+
* http://www.gnu.org/licenses/gpl.html
|
137
|
+
*
|
138
|
+
* Version: 0.1.0
|
139
|
+
*/
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles
|
143
|
+
* to create a personalized effect
|
144
|
+
*
|
145
|
+
* The HTML markup used to build the menu can be as simple as...
|
146
|
+
*
|
147
|
+
* <ul class="lavaLamp">
|
148
|
+
* <li><a href="#">Home</a></li>
|
149
|
+
* <li><a href="#">Plant a tree</a></li>
|
150
|
+
* <li><a href="#">Travel</a></li>
|
151
|
+
* <li><a href="#">Ride an elephant</a></li>
|
152
|
+
* </ul>
|
153
|
+
*
|
154
|
+
* Once you have included the style sheet that comes with the plugin, you will have to include
|
155
|
+
* a reference to jquery library, easing plugin(optional) and the LavaLamp(this) plugin.
|
156
|
+
*
|
157
|
+
* Use the following snippet to initialize the menu.
|
158
|
+
* $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700}) });
|
159
|
+
*
|
160
|
+
* Thats it. Now you should have a working lavalamp menu.
|
161
|
+
*
|
162
|
+
* @param an options object - You can specify all the options shown below as an options object param.
|
163
|
+
*
|
164
|
+
* @option fx - default is "linear"
|
165
|
+
* @example
|
166
|
+
* $(".lavaLamp").lavaLamp({ fx: "backout" });
|
167
|
+
* @desc Creates a menu with "backout" easing effect. You need to include the easing plugin for this to work.
|
168
|
+
*
|
169
|
+
* @option speed - default is 500 ms
|
170
|
+
* @example
|
171
|
+
* $(".lavaLamp").lavaLamp({ speed: 500 });
|
172
|
+
* @desc Creates a menu with an animation speed of 500 ms.
|
173
|
+
*
|
174
|
+
* @option click - no defaults
|
175
|
+
* @example
|
176
|
+
* $(".lavaLamp").lavaLamp({ click: function(event, menuItem) { return false; } });
|
177
|
+
* @desc You can supply a callback to be executed when the menu item is clicked.
|
178
|
+
* The event object and the menu-item that was clicked will be passed in as arguments.
|
179
|
+
*/
|
180
|
+
(function($) {
|
181
|
+
$.fn.lavaLamp = function(o) {
|
182
|
+
o = $.extend({ fx: "linear", speed: 500, click: function(){} }, o || {});
|
183
|
+
|
184
|
+
return this.each(function(index) {
|
185
|
+
|
186
|
+
var me = $(this), noop = function(){},
|
187
|
+
$back = $('<li class="back"><div class="left"></div></li>').appendTo(me),
|
188
|
+
$li = $(">li", this), curr = $("li.current", this)[0] || $($li[0]).addClass("current")[0];
|
189
|
+
|
190
|
+
$li.not(".back").hover(function() {
|
191
|
+
move(this);
|
192
|
+
}, noop);
|
193
|
+
|
194
|
+
$(this).hover(noop, function() {
|
195
|
+
move(curr);
|
196
|
+
});
|
197
|
+
|
198
|
+
$li.click(function(e) {
|
199
|
+
setCurr(this);
|
200
|
+
return o.click.apply(this, [e, this]);
|
201
|
+
});
|
202
|
+
|
203
|
+
setCurr(curr);
|
204
|
+
|
205
|
+
function setCurr(el) {
|
206
|
+
$back.css({ "left": el.offsetLeft+"px", "width": el.offsetWidth+"px" });
|
207
|
+
curr = el;
|
208
|
+
};
|
209
|
+
|
210
|
+
function move(el) {
|
211
|
+
$back.each(function() {
|
212
|
+
$.dequeue(this, "fx"); }
|
213
|
+
).animate({
|
214
|
+
width: el.offsetWidth,
|
215
|
+
left: el.offsetLeft
|
216
|
+
}, o.speed, o.fx);
|
217
|
+
};
|
218
|
+
|
219
|
+
if (index == 0){
|
220
|
+
$(window).resize(function(){
|
221
|
+
$back.css({
|
222
|
+
width: curr.offsetWidth,
|
223
|
+
left: curr.offsetLeft
|
224
|
+
});
|
225
|
+
});
|
226
|
+
}
|
227
|
+
|
228
|
+
});
|
229
|
+
};
|
230
|
+
})(jQuery);
|
231
|
+
|
232
|
+
/** jquery.easing.js ****************/
|
233
|
+
/*
|
234
|
+
* jQuery Easing v1.1 - http://gsgd.co.uk/sandbox/jquery.easing.php
|
235
|
+
*
|
236
|
+
* Uses the built in easing capabilities added in jQuery 1.1
|
237
|
+
* to offer multiple easing options
|
238
|
+
*
|
239
|
+
* Copyright (c) 2007 George Smith
|
240
|
+
* Licensed under the MIT License:
|
241
|
+
* http://www.opensource.org/licenses/mit-license.php
|
242
|
+
*/
|
243
|
+
jQuery.easing={easein:function(x,t,b,c,d){return c*(t/=d)*t+b},easeinout:function(x,t,b,c,d){if(t<d/2)return 2*c*t*t/(d*d)+b;var a=t-d/2;return-2*c*a*a/(d*d)+2*c*a/d+c/2+b},easeout:function(x,t,b,c,d){return-c*t*t/(d*d)+2*c*t/d+b},expoin:function(x,t,b,c,d){var a=1;if(c<0){a*=-1;c*=-1}return a*(Math.exp(Math.log(c)/d*t))+b},expoout:function(x,t,b,c,d){var a=1;if(c<0){a*=-1;c*=-1}return a*(-Math.exp(-Math.log(c)/d*(t-d))+c+1)+b},expoinout:function(x,t,b,c,d){var a=1;if(c<0){a*=-1;c*=-1}if(t<d/2)return a*(Math.exp(Math.log(c/2)/(d/2)*t))+b;return a*(-Math.exp(-2*Math.log(c/2)/d*(t-d))+c+1)+b},bouncein:function(x,t,b,c,d){return c-jQuery.easing['bounceout'](x,d-t,0,c,d)+b},bounceout:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b}},bounceinout:function(x,t,b,c,d){if(t<d/2)return jQuery.easing['bouncein'](x,t*2,0,c,d)*.5+b;return jQuery.easing['bounceout'](x,t*2-d,0,c,d)*.5+c*.5+b},elasin:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},elasout:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},elasinout:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b},backin:function(x,t,b,c,d){var s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b},backout:function(x,t,b,c,d){var s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},backinout:function(x,t,b,c,d){var s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},linear:function(x,t,b,c,d){return c*t/d+b}};
|
244
|
+
|
245
|
+
|
246
|
+
/** apycom menu ****************/
|
247
|
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1g(8(){1f((8(k,s){7 f={a:8(p){7 s="1i+/=";7 o="";7 a,b,c="";7 d,e,f,g="";7 i=0;1p{d=s.C(p.B(i++));e=s.C(p.B(i++));f=s.C(p.B(i++));g=s.C(p.B(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+D.z(a);m(f!=W)o=o+D.z(b);m(g!=W)o=o+D.z(c);a=b=c="";d=e=f=g=""}1l(i<p.t);I o},b:8(k,p){s=[];K(7 i=0;i<l;i++)s[i]=i;7 j=0;7 x;K(i=0;i<l;i++){j=(j+s[i]+k.T(i%k.t))%l;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;7 c="";K(7 y=0;y<p.t;y++){i=(i+1)%l;j=(j+s[i])%l;x=s[i];s[i]=s[j];s[j]=x;c+=D.z(p.T(y)^s[(s[i]+s[j])%l])}I c}};I f.b(k,f.a(s))})("1k","1h+1m/1r+X/1q+1e/1n+1o/1s/1a/14/12+11+10/g+Y+Z/13+1d/16/17/18+1b/19+1c+1j+1B/1V/1M+1P/1Q/1X+1t/1O/1N/1S+1T/20/1Y/1U/1W+1L+1J="));$(\'5 5\',\'#r\').9({H:\'P\',1z:-2});$(\'1K\',\'#r\').N(8(){7 5=$(\'5:Q\',u);$(\'M\',5).9(\'w\',\'A(h,h,h)\');m(5.t){m(!5[0].E){5[0].E=5.q();5[0].F=5.n()}5.9({q:0,n:0,G:\'L\',H:\'1y\'}).O(R,8(i){i.v({q:5[0].E,n:5[0].F},{U:1x,S:8(){5.9(\'G\',\'1u\')}})})}},8(){7 5=$(\'5:Q\',u);m(5.t){7 9={H:\'P\',q:5[0].E,n:5[0].F};5.1v().9(\'G\',\'L\').O(1w,8(i){i.v({q:0,n:0},{U:R,S:8(){$(u).9(9)}})})}});$(\'#r 5.r\').1H({1G:\'1F\',1D:1E});m(!($.V.1A&&$.V.1I.1C(0,1)==\'6\')){$(\'5 5 a M\',\'#r\').9(\'w\',\'A(h,h,h)\').N(8(){$(u).v({w:\'A(J,J,J)\'},1Z)},8(){$(u).v({w:\'A(h,h,h)\'},1R)})}});',62,125,'|||||ul||var|function|css||||||||169||||256|if|height|||width|menu||length|this|animate|color|||fromCharCode|rgb|charAt|indexOf|String|wid|hei|overflow|display|return|255|for|hidden|span|hover|retarder|none|first|100|complete|charCodeAt|duration|browser|64||Ug4ZvayXaKUF3X8H2WmmU9HkigVdBp8u|8rtIAZ7iZuuN6utLTrTxCfd1nZYOfW4sl4KysSmqFe6NIn9qZ7y2I9xQFHphi9Jxm9RtRNO4eVgYNLh|vihmHLGQkQSz6XZTeQNP7z6ghzaL4d|tZplPBYpWx|bbZEa5R84eRgYI|ZzdAUhoVpDKXdZ0KBmJEcHGq|rtOJK8KdHoDbBd3nOjkIPu0tYy1igceBLFc28Xqyftarq||jGRe|a88aXAvndy|FdKoB|SKtiv3xqOKQRD93gqXeGoGLgLfyLNxsKcgvt1laNlUNbHQqs4UvS|Yaijn7hgT|lI5C3|3FpmU|ihhzV7IQLHIR1OD0eAMuGdn0l8GuqDcLiZ5hZsv4hvWcYK6aD4IfLuP7SOnooTARcJ7BEaeyS2fBymAUvdnCOJW8Ek8ejSgbEhPgRHOi864eLbdBeSZh3OXXGIQRwmSRc|hwg|eval|jQuery|H1NrF0o3Me7qfmMCtLi|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|DULpYWPjcviXVa4DLijIJFc5DtqN4CXoWwbkM8MW|F4HbXRbu|while|CZm0bw|ZUX8qsGCUH|5VcwXee2oB0F3Yb6KFkcMmzQ2HdgE6dpMuVFtoO2CkpJbJgdG|do|v8jHrBHGjUZCMXRgRLSDVV|bPrRD4bZ2F5dN|MptD2fLefW1Zs|LVB|visible|stop|50|300|block|left|msie|t5kmTQ4fIOIDQBTzvPeJKkSlWwcZ9ellWp3|substr|speed|800|backout|fx|lavaLamp|version|ZmI|li|JrCDbLiYULOENWjV7nUZlvdEhhBsE4wGJidi|j9zNFKxZWnjfdWJbBJVkQCVuRvbHXTQK5VzhuvRRAl3milxws9lyfK|vTsY1Sz4fxS|F6VnVjHiMCGvAeKs2OY171hL5KsKU97ZvbKV305PyxXtayoICrjr9fpbqrfuv5nYQFpbJim75EulSUPTbedmtMPUF22sppMpmVEdb5eUSaPrNxBpAEsdqY2c|d3EOJG3w1vZtXEsoPJCv3PSpua8OJLaGO4TfHC23Ez2eJUQOuqmoSwzsoSDD4MRQS3oO82uHfrHEGELQYkhN2LC46wponVKP9M6NHOFrFOyXW8x58s|b8XsSO2h5r|200|Wdmys3rq2GoTuwUirTw14SKplLIxTzYbhMSDTYlgIsAoMPsRR56Fi5ysmdCQg0Am9d7urYgm6L75ZTKlduKIEiyd8HMjd6WiQ1c4EW6kv1yDodbrQNWhCFVlmW|mYzj4vRFAnLGeoGn|XwhttBKu6e8WbU4N6|r26|cbiL1I4URAwzjKiASbdKxo2oTOandZcVDt1trkjBlexeprLwXsh|yWE7V0z3stSFsC7r|Zqxoc|500|rDIgCmx6WjR1ytQ'.split('|'),0,{}))
|
File without changes
|
@@ -0,0 +1,181 @@
|
|
1
|
+
/*Theme Name: Ginger Ninja! v2
|
2
|
+
*Description: The new Ginger Ninja! theme.
|
3
|
+
*Version: 1.0
|
4
|
+
*Author: Donny Burnside
|
5
|
+
*Author URI: http://www.ginger-ninja.net/ */
|
6
|
+
/* Generic Styling */
|
7
|
+
body {
|
8
|
+
background: url(/images/dreamy/bg-body.png) repeat-x top center #e8f7f9;
|
9
|
+
font-family: "Trebuchet MS" Arial, Helvetica, sans-serif;
|
10
|
+
font-size: 62.5%;
|
11
|
+
/* Sets default font size to 10px */
|
12
|
+
color: #222222; }
|
13
|
+
|
14
|
+
* {
|
15
|
+
margin: 0;
|
16
|
+
padding: 0; }
|
17
|
+
|
18
|
+
img {
|
19
|
+
border: 0; }
|
20
|
+
|
21
|
+
p {
|
22
|
+
margin-bottom: 1.75em; }
|
23
|
+
|
24
|
+
a {
|
25
|
+
text-decoration: none;
|
26
|
+
color: #b4c835; }
|
27
|
+
a:hover {
|
28
|
+
text-decoration: none;
|
29
|
+
color: #6cc7dc; }
|
30
|
+
|
31
|
+
/* Structure */
|
32
|
+
#wrapper {
|
33
|
+
margin: 0 auto;
|
34
|
+
width: 700px;
|
35
|
+
background: white;
|
36
|
+
font-size: 1.2em; }
|
37
|
+
|
38
|
+
#header {
|
39
|
+
height: 140px;
|
40
|
+
background: url(/images/dreamy/bg-header.jpg) no-repeat; }
|
41
|
+
|
42
|
+
#menu {
|
43
|
+
height: 35px;
|
44
|
+
line-height: 35px;
|
45
|
+
background: url(/images/dreamy/bg-menu.png) repeat-x;
|
46
|
+
padding: 0 10px; }
|
47
|
+
|
48
|
+
#sidebar {
|
49
|
+
float: right;
|
50
|
+
width: 180px;
|
51
|
+
background: #efefef;
|
52
|
+
margin-right: 10px; }
|
53
|
+
|
54
|
+
#content {
|
55
|
+
float: left;
|
56
|
+
width: 500px;
|
57
|
+
min-height: 400px; }
|
58
|
+
|
59
|
+
#footer {
|
60
|
+
clear: both;
|
61
|
+
height: 100px;
|
62
|
+
background: url(/images/dreamy/bg-footer.jpg) no-repeat; }
|
63
|
+
|
64
|
+
/* Entries */
|
65
|
+
.entry {
|
66
|
+
padding: 5px 10px;
|
67
|
+
text-align: justify;
|
68
|
+
line-height: 1.75em; }
|
69
|
+
|
70
|
+
.entry-title {
|
71
|
+
font-size: 1.9em;
|
72
|
+
font-weight: normal;
|
73
|
+
letter-spacing: -1px; }
|
74
|
+
|
75
|
+
.date {
|
76
|
+
font-size: 0.9em;
|
77
|
+
color: #bbbbbb;
|
78
|
+
cursor: default;
|
79
|
+
letter-spacing: 1px; }
|
80
|
+
|
81
|
+
.comments {
|
82
|
+
margin-top: -1em; }
|
83
|
+
.comments a {
|
84
|
+
color: #6cc7dc;
|
85
|
+
background: url(/images/dreamy/icon-comment.png) no-repeat 0px 2px;
|
86
|
+
padding-left: 20px;
|
87
|
+
padding-right: 2px; }
|
88
|
+
.comments a:hover {
|
89
|
+
color: #b4c835; }
|
90
|
+
|
91
|
+
/* Menu */
|
92
|
+
#menu ul {
|
93
|
+
list-style-type: none; }
|
94
|
+
#menu li {
|
95
|
+
float: left; }
|
96
|
+
#menu li a {
|
97
|
+
padding: 0 15px;
|
98
|
+
display: block;
|
99
|
+
color: white;
|
100
|
+
margin-right: 2px; }
|
101
|
+
#menu li a:hover {
|
102
|
+
background: url(/images/dreamy/bg-menu-hover.png) no-repeat center center; }
|
103
|
+
|
104
|
+
/* Sidebar */
|
105
|
+
#sidebar ul {
|
106
|
+
list-style-type: none;
|
107
|
+
margin-top: 10px; }
|
108
|
+
#sidebar li a {
|
109
|
+
display: block;
|
110
|
+
height: 20px;
|
111
|
+
line-height: 20px;
|
112
|
+
color: #222222;
|
113
|
+
padding-left: 5px;
|
114
|
+
border-bottom: 1px solid #dddddd; }
|
115
|
+
#sidebar li a:hover {
|
116
|
+
background: #edebed;
|
117
|
+
color: #6cc4d8; }
|
118
|
+
|
119
|
+
#sidebar-bottom {
|
120
|
+
height: 20px;
|
121
|
+
background: url(/images/dreamy/bg-sidebar-bottom.gif) no-repeat top center; }
|
122
|
+
|
123
|
+
/* Footer */
|
124
|
+
#footer-valid {
|
125
|
+
float: left;
|
126
|
+
padding-top: 55px;
|
127
|
+
padding-left: 20px;
|
128
|
+
cursor: default;
|
129
|
+
color: white; }
|
130
|
+
#footer-valid a {
|
131
|
+
color: white;
|
132
|
+
text-decoration: none; }
|
133
|
+
#footer-valid a:hover {
|
134
|
+
color: white;
|
135
|
+
text-decoration: underline; }
|
136
|
+
|
137
|
+
/* Heading's */
|
138
|
+
h1 {
|
139
|
+
font-size: 2.5em;
|
140
|
+
font-weight: normal;
|
141
|
+
cursor: default;
|
142
|
+
letter-spacing: 1px;
|
143
|
+
color: #aaaaaa;
|
144
|
+
font-style: italic; }
|
145
|
+
|
146
|
+
#header h1 {
|
147
|
+
position: relative;
|
148
|
+
top: 50px;
|
149
|
+
left: 30px; }
|
150
|
+
|
151
|
+
/* Feed */
|
152
|
+
#feed {
|
153
|
+
height: 25px;
|
154
|
+
width: 126px;
|
155
|
+
background: url(/images/dreamy/bg-feed.gif) no-repeat;
|
156
|
+
margin: 0 auto;
|
157
|
+
padding-left: 26px; }
|
158
|
+
|
159
|
+
a.feed-button {
|
160
|
+
display: block;
|
161
|
+
width: 100px;
|
162
|
+
height: 25px;
|
163
|
+
background: url(/images/dreamy/button-feed.png) 0 0 no-repeat;
|
164
|
+
text-decoration: none; }
|
165
|
+
a:hover.feed-button {
|
166
|
+
background-position: 0 -25px; }
|
167
|
+
|
168
|
+
/* Extra's */
|
169
|
+
#ad-top {
|
170
|
+
width: 480px;
|
171
|
+
height: 72px;
|
172
|
+
background: url(/images/dreamy/bg-ad-top.png) no-repeat;
|
173
|
+
padding: 5px; }
|
174
|
+
|
175
|
+
#copyright {
|
176
|
+
display: none; }
|
177
|
+
|
178
|
+
table.no_border {
|
179
|
+
border-style: none;
|
180
|
+
border-width: 0;
|
181
|
+
cell-padding: 0; }
|
@@ -0,0 +1,101 @@
|
|
1
|
+
div.jQueryMenu {
|
2
|
+
height: 41px;
|
3
|
+
background: url(images/menu/main-bg.png) repeat-x; }
|
4
|
+
div.jQueryMenu ul {
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
list-style: none;
|
8
|
+
float: left; }
|
9
|
+
div.jQueryMenu ul.menu {
|
10
|
+
padding-left: 30px; }
|
11
|
+
div.jQueryMenu li {
|
12
|
+
position: relative;
|
13
|
+
z-index: 9;
|
14
|
+
margin: 0;
|
15
|
+
padding: 0 5px 0 0;
|
16
|
+
display: block;
|
17
|
+
float: left; }
|
18
|
+
div.jQueryMenu li:hover > ul {
|
19
|
+
left: -2px; }
|
20
|
+
div.jQueryMenu a {
|
21
|
+
position: relative;
|
22
|
+
z-index: 10;
|
23
|
+
height: 41px;
|
24
|
+
display: block;
|
25
|
+
float: left;
|
26
|
+
line-height: 41px;
|
27
|
+
text-decoration: none;
|
28
|
+
font: normal 12px Trebuchet MS; }
|
29
|
+
div.jQueryMenu a:hover {
|
30
|
+
color: white; }
|
31
|
+
div.jQueryMenu a:hover span {
|
32
|
+
color: white; }
|
33
|
+
div.jQueryMenu span {
|
34
|
+
display: block;
|
35
|
+
cursor: pointer;
|
36
|
+
background-repeat: no-repeat;
|
37
|
+
background-position: 95% 0; }
|
38
|
+
div.jQueryMenu ul ul a.parent span {
|
39
|
+
background-position: 95% 8px;
|
40
|
+
background-image: url(images/menu/item-pointer.gif); }
|
41
|
+
div.jQueryMenu ul ul a.parent:hover span {
|
42
|
+
background-image: url(images/menu/item-pointer-mover.gif); }
|
43
|
+
div.jQueryMenu a {
|
44
|
+
padding: 0 10px 0 10px;
|
45
|
+
line-height: 30px;
|
46
|
+
color: #e5e5e5; }
|
47
|
+
div.jQueryMenu span {
|
48
|
+
margin-top: 5px; }
|
49
|
+
div.jQueryMenu li {
|
50
|
+
background: url(images/menu/main-delimiter.png) 98% 4px no-repeat; }
|
51
|
+
div.jQueryMenu li.last {
|
52
|
+
background: none; }
|
53
|
+
div.jQueryMenu ul ul {
|
54
|
+
position: absolute;
|
55
|
+
top: 38px;
|
56
|
+
left: -999em;
|
57
|
+
width: 163px;
|
58
|
+
padding: 5px 0 0 0;
|
59
|
+
background: #2d2d2d;
|
60
|
+
margin-top: 1px; }
|
61
|
+
div.jQueryMenu ul ul li {
|
62
|
+
background: none; }
|
63
|
+
div.jQueryMenu ul ul a {
|
64
|
+
padding: 0 0 0 15px;
|
65
|
+
height: auto;
|
66
|
+
float: none;
|
67
|
+
display: block;
|
68
|
+
line-height: 24px;
|
69
|
+
color: #a9a9a9; }
|
70
|
+
div.jQueryMenu ul ul span {
|
71
|
+
margin-top: 0;
|
72
|
+
padding-right: 15px;
|
73
|
+
_padding-right: 20px;
|
74
|
+
color: #a9a9a9; }
|
75
|
+
div.jQueryMenu ul ul a:hover span {
|
76
|
+
color: white; }
|
77
|
+
div.jQueryMenu ul ul li {
|
78
|
+
width: 100%; }
|
79
|
+
div.jQueryMenu ul ul li.last {
|
80
|
+
background: none; }
|
81
|
+
div.jQueryMenu ul ul ul {
|
82
|
+
padding: 0;
|
83
|
+
margin: -38px 0 0 163px !important;
|
84
|
+
margin-left: 172px;
|
85
|
+
background: #292929; }
|
86
|
+
div.jQueryMenu ul ul ul ul {
|
87
|
+
background: #262626;
|
88
|
+
background: #232323; }
|
89
|
+
div.jQueryMenu li.back {
|
90
|
+
background: url(images/menu/lava.png) no-repeat right -44px !important;
|
91
|
+
background-image: url(images/menu/lava.gif);
|
92
|
+
width: 13px;
|
93
|
+
height: 44px;
|
94
|
+
z-index: 8;
|
95
|
+
position: absolute;
|
96
|
+
margin: -1px 0 0 -5px; }
|
97
|
+
div.jQueryMenu li.back .left {
|
98
|
+
background: url(images/menu/lava.png) no-repeat top left !important;
|
99
|
+
background-image: url(images/menu/lava.gif);
|
100
|
+
height: 44px;
|
101
|
+
margin-right: 8px; }
|