simonmenke-mr_henry 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/License.txt +20 -0
- data/README +8 -0
- data/about.yml +7 -0
- data/app/controllers/lalala/base_controller.rb +8 -0
- data/app/helpers/lalala/base_helper.rb +47 -0
- data/app/helpers/lalala/tabs_helper.rb +96 -0
- data/app/views/lalala/layouts/application.html.erb +39 -0
- data/config/routes.rb +0 -0
- data/generators/mr_resource/USAGE +25 -0
- data/generators/mr_resource/mr_resource_generator.rb +103 -0
- data/generators/mr_resource/templates/controller.rb +24 -0
- data/generators/mr_resource/templates/functional_test.rb +45 -0
- data/generators/mr_resource/templates/helper.rb +2 -0
- data/generators/mr_resource/templates/partial_form.html.erb +14 -0
- data/generators/mr_resource/templates/partial_item.html.erb +3 -0
- data/generators/mr_resource/templates/view_edit.html.erb +2 -0
- data/generators/mr_resource/templates/view_index.html.erb +7 -0
- data/generators/mr_resource/templates/view_new.html.erb +2 -0
- data/generators/mr_resource/templates/view_show.html.erb +14 -0
- data/lib/mr_henry.rb +4 -0
- data/lib/mr_henry/action_controller.rb +5 -0
- data/lib/mr_henry/action_controller/handles_resource.rb +85 -0
- data/lib/mr_henry/generator.rb +5 -0
- data/lib/mr_henry/generator/create.rb +68 -0
- data/lib/mr_henry/generator/destroy.rb +51 -0
- data/lib/mr_henry/generator/update.rb +41 -0
- data/lib/mr_henry/version.rb +10 -0
- data/lib/tasks/passenger.rake +5 -0
- data/public/images/error.png +0 -0
- data/public/images/handle.png +0 -0
- data/public/images/henry.png +0 -0
- data/public/images/pointer.gif +0 -0
- data/public/images/spinner.gif +0 -0
- data/public/images/tab-active.png +0 -0
- data/public/images/tab-hover.png +0 -0
- data/public/javascripts/c_b_s.js +16 -0
- data/public/javascripts/lang.cbs +69 -0
- data/public/javascripts/lowpro.js +320 -0
- data/public/stylesheets/lalala.css +367 -0
- data/public/stylesheets/lalala_custom.css +0 -0
- data/rails/init.rb +35 -0
- data/setup/setup.rb +6 -0
- metadata +149 -0
@@ -0,0 +1,320 @@
|
|
1
|
+
LowPro = {};
|
2
|
+
LowPro.Version = '0.5';
|
3
|
+
LowPro.CompatibleWithPrototype = '1.6';
|
4
|
+
|
5
|
+
if (Prototype.Version.indexOf(LowPro.CompatibleWithPrototype) != 0 && console && console.warn)
|
6
|
+
console.warn("This version of Low Pro is tested with Prototype " + LowPro.CompatibleWithPrototype +
|
7
|
+
" it may not work as expected with this version (" + Prototype.Version + ")");
|
8
|
+
|
9
|
+
if (!Element.addMethods)
|
10
|
+
Element.addMethods = function(o) { Object.extend(Element.Methods, o) };
|
11
|
+
|
12
|
+
// Simple utility methods for working with the DOM
|
13
|
+
DOM = {};
|
14
|
+
|
15
|
+
// DOMBuilder for prototype
|
16
|
+
DOM.Builder = {
|
17
|
+
tagFunc : function(tag) {
|
18
|
+
return function() {
|
19
|
+
var attrs, children;
|
20
|
+
if (arguments.length>0) {
|
21
|
+
if (arguments[0].nodeName ||
|
22
|
+
typeof arguments[0] == "string")
|
23
|
+
children = arguments;
|
24
|
+
else {
|
25
|
+
attrs = arguments[0];
|
26
|
+
children = Array.prototype.slice.call(arguments, 1);
|
27
|
+
};
|
28
|
+
}
|
29
|
+
return DOM.Builder.create(tag, attrs, children);
|
30
|
+
};
|
31
|
+
},
|
32
|
+
create : function(tag, attrs, children) {
|
33
|
+
attrs = attrs || {}; children = children || []; tag = tag.toLowerCase();
|
34
|
+
var el = new Element(tag, attrs);
|
35
|
+
|
36
|
+
for (var i=0; i<children.length; i++) {
|
37
|
+
if (typeof children[i] == 'string')
|
38
|
+
children[i] = document.createTextNode(children[i]);
|
39
|
+
el.appendChild(children[i]);
|
40
|
+
}
|
41
|
+
return $(el);
|
42
|
+
}
|
43
|
+
};
|
44
|
+
|
45
|
+
// Automatically create node builders as $tagName.
|
46
|
+
(function() {
|
47
|
+
var els = ("p|div|span|strong|em|img|table|tr|td|th|thead|tbody|tfoot|pre|code|" +
|
48
|
+
"h1|h2|h3|h4|h5|h6|ul|ol|li|form|input|textarea|legend|fieldset|" +
|
49
|
+
"select|option|blockquote|cite|br|hr|dd|dl|dt|address|a|button|abbr|acronym|" +
|
50
|
+
"script|link|style|bdo|ins|del|object|param|col|colgroup|optgroup|caption|" +
|
51
|
+
"label|dfn|kbd|samp|var").split("|");
|
52
|
+
var el, i=0;
|
53
|
+
while (el = els[i++])
|
54
|
+
window['$' + el] = DOM.Builder.tagFunc(el);
|
55
|
+
})();
|
56
|
+
|
57
|
+
DOM.Builder.fromHTML = function(html) {
|
58
|
+
var root;
|
59
|
+
if (!(root = arguments.callee._root))
|
60
|
+
root = arguments.callee._root = document.createElement('div');
|
61
|
+
root.innerHTML = html;
|
62
|
+
return root.childNodes[0];
|
63
|
+
};
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
// Wraps the 1.6 contentloaded event for backwards compatibility
|
68
|
+
//
|
69
|
+
// Usage:
|
70
|
+
//
|
71
|
+
// Event.onReady(callbackFunction);
|
72
|
+
Object.extend(Event, {
|
73
|
+
onReady : function(f) {
|
74
|
+
if (document.body) f();
|
75
|
+
else document.observe('dom:loaded', f);
|
76
|
+
}
|
77
|
+
});
|
78
|
+
|
79
|
+
// Based on event:Selectors by Justin Palmer
|
80
|
+
// http://encytemedia.com/event-selectors/
|
81
|
+
//
|
82
|
+
// Usage:
|
83
|
+
//
|
84
|
+
// Event.addBehavior({
|
85
|
+
// "selector:event" : function(event) { /* event handler. this refers to the element. */ },
|
86
|
+
// "selector" : function() { /* runs function on dom ready. this refers to the element. */ }
|
87
|
+
// ...
|
88
|
+
// });
|
89
|
+
//
|
90
|
+
// Multiple calls will add to exisiting rules. Event.addBehavior.reassignAfterAjax and
|
91
|
+
// Event.addBehavior.autoTrigger can be adjusted to needs.
|
92
|
+
Event.addBehavior = function(rules) {
|
93
|
+
var ab = this.addBehavior;
|
94
|
+
Object.extend(ab.rules, rules);
|
95
|
+
|
96
|
+
if (!ab.responderApplied) {
|
97
|
+
Ajax.Responders.register({
|
98
|
+
onComplete : function() {
|
99
|
+
if (Event.addBehavior.reassignAfterAjax)
|
100
|
+
setTimeout(function() { ab.reload() }, 10);
|
101
|
+
}
|
102
|
+
});
|
103
|
+
ab.responderApplied = true;
|
104
|
+
}
|
105
|
+
|
106
|
+
if (ab.autoTrigger) {
|
107
|
+
this.onReady(ab.load.bind(ab, rules));
|
108
|
+
}
|
109
|
+
|
110
|
+
};
|
111
|
+
|
112
|
+
Object.extend(Event.addBehavior, {
|
113
|
+
rules : {}, cache : [],
|
114
|
+
reassignAfterAjax : false,
|
115
|
+
autoTrigger : true,
|
116
|
+
|
117
|
+
load : function(rules) {
|
118
|
+
for (var selector in rules) {
|
119
|
+
var observer = rules[selector];
|
120
|
+
var sels = selector.split(',');
|
121
|
+
sels.each(function(sel) {
|
122
|
+
var parts = sel.split(/:(?=[a-z]+$)/), css = parts[0], event = parts[1];
|
123
|
+
$$(css).each(function(element) {
|
124
|
+
if (event) {
|
125
|
+
observer = Event.addBehavior._wrapObserver(observer);
|
126
|
+
$(element).observe(event, observer);
|
127
|
+
Event.addBehavior.cache.push([element, event, observer]);
|
128
|
+
} else {
|
129
|
+
if (!element.$$assigned || !element.$$assigned.include(observer)) {
|
130
|
+
if (observer.attach) observer.attach(element);
|
131
|
+
|
132
|
+
else observer.call($(element));
|
133
|
+
element.$$assigned = element.$$assigned || [];
|
134
|
+
element.$$assigned.push(observer);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
});
|
138
|
+
});
|
139
|
+
}
|
140
|
+
},
|
141
|
+
|
142
|
+
unload : function() {
|
143
|
+
this.cache.each(function(c) {
|
144
|
+
Event.stopObserving.apply(Event, c);
|
145
|
+
});
|
146
|
+
this.cache = [];
|
147
|
+
},
|
148
|
+
|
149
|
+
reload: function() {
|
150
|
+
var ab = Event.addBehavior;
|
151
|
+
ab.unload();
|
152
|
+
ab.load(ab.rules);
|
153
|
+
},
|
154
|
+
|
155
|
+
_wrapObserver: function(observer) {
|
156
|
+
return function(event) {
|
157
|
+
if (observer.call(this, event) === false) event.stop();
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
});
|
162
|
+
|
163
|
+
Event.observe(window, 'unload', Event.addBehavior.unload.bind(Event.addBehavior));
|
164
|
+
|
165
|
+
// A silly Prototype style shortcut for the reckless
|
166
|
+
$$$ = Event.addBehavior.bind(Event);
|
167
|
+
|
168
|
+
// Behaviors can be bound to elements to provide an object orientated way of controlling elements
|
169
|
+
// and their behavior. Use Behavior.create() to make a new behavior class then use attach() to
|
170
|
+
// glue it to an element. Each element then gets it's own instance of the behavior and any
|
171
|
+
// methods called onxxx are bound to the relevent event.
|
172
|
+
//
|
173
|
+
// Usage:
|
174
|
+
//
|
175
|
+
// var MyBehavior = Behavior.create({
|
176
|
+
// onmouseover : function() { this.element.addClassName('bong') }
|
177
|
+
// });
|
178
|
+
//
|
179
|
+
// Event.addBehavior({ 'a.rollover' : MyBehavior });
|
180
|
+
//
|
181
|
+
// If you need to pass additional values to initialize use:
|
182
|
+
//
|
183
|
+
// Event.addBehavior({ 'a.rollover' : MyBehavior(10, { thing : 15 }) })
|
184
|
+
//
|
185
|
+
// You can also use the attach() method. If you specify extra arguments to attach they get passed to initialize.
|
186
|
+
//
|
187
|
+
// MyBehavior.attach(el, values, to, init);
|
188
|
+
//
|
189
|
+
// Finally, the rawest method is using the new constructor normally:
|
190
|
+
// var draggable = new Draggable(element, init, vals);
|
191
|
+
//
|
192
|
+
// Each behaviour has a collection of all its instances in Behavior.instances
|
193
|
+
//
|
194
|
+
var Behavior = {
|
195
|
+
create: function() {
|
196
|
+
var parent = null, properties = $A(arguments);
|
197
|
+
if (Object.isFunction(properties[0]))
|
198
|
+
parent = properties.shift();
|
199
|
+
|
200
|
+
var behavior = function() {
|
201
|
+
var behavior = arguments.callee;
|
202
|
+
if (!this.initialize) {
|
203
|
+
var args = $A(arguments);
|
204
|
+
|
205
|
+
return function() {
|
206
|
+
var initArgs = [this].concat(args);
|
207
|
+
behavior.attach.apply(behavior, initArgs);
|
208
|
+
};
|
209
|
+
} else {
|
210
|
+
var args = (arguments.length == 2 && arguments[1] instanceof Array) ?
|
211
|
+
arguments[1] : Array.prototype.slice.call(arguments, 1);
|
212
|
+
|
213
|
+
this.element = $(arguments[0]);
|
214
|
+
this.initialize.apply(this, args);
|
215
|
+
behavior._bindEvents(this);
|
216
|
+
behavior.instances.push(this);
|
217
|
+
}
|
218
|
+
};
|
219
|
+
|
220
|
+
Object.extend(behavior, Class.Methods);
|
221
|
+
Object.extend(behavior, Behavior.Methods);
|
222
|
+
behavior.superclass = parent;
|
223
|
+
behavior.subclasses = [];
|
224
|
+
behavior.instances = [];
|
225
|
+
|
226
|
+
if (parent) {
|
227
|
+
var subclass = function() { };
|
228
|
+
subclass.prototype = parent.prototype;
|
229
|
+
behavior.prototype = new subclass;
|
230
|
+
parent.subclasses.push(behavior);
|
231
|
+
}
|
232
|
+
|
233
|
+
for (var i = 0; i < properties.length; i++)
|
234
|
+
behavior.addMethods(properties[i]);
|
235
|
+
|
236
|
+
if (!behavior.prototype.initialize)
|
237
|
+
behavior.prototype.initialize = Prototype.emptyFunction;
|
238
|
+
|
239
|
+
behavior.prototype.constructor = behavior;
|
240
|
+
|
241
|
+
return behavior;
|
242
|
+
},
|
243
|
+
Methods : {
|
244
|
+
attach : function(element) {
|
245
|
+
return new this(element, Array.prototype.slice.call(arguments, 1));
|
246
|
+
},
|
247
|
+
_bindEvents : function(bound) {
|
248
|
+
for (var member in bound)
|
249
|
+
if (member.match(/^on(.+)/) && typeof bound[member] == 'function')
|
250
|
+
bound.element.observe(RegExp.$1, Event.addBehavior._wrapObserver(bound[member].bindAsEventListener(bound)));
|
251
|
+
}
|
252
|
+
}
|
253
|
+
};
|
254
|
+
|
255
|
+
Remote = Behavior.create({
|
256
|
+
initialize: function(options) {
|
257
|
+
if (this.element.nodeName == 'FORM') new Remote.Form(this.element, options);
|
258
|
+
else new Remote.Link(this.element, options);
|
259
|
+
}
|
260
|
+
});
|
261
|
+
|
262
|
+
Remote.Base = {
|
263
|
+
initialize : function(options) {
|
264
|
+
this.options = Object.extend({
|
265
|
+
evaluateScripts : true
|
266
|
+
}, options || {});
|
267
|
+
},
|
268
|
+
_makeRequest : function(options) {
|
269
|
+
if (options.update) new Ajax.Updater(options.update, options.url, options);
|
270
|
+
else new Ajax.Request(options.url, options);
|
271
|
+
return false;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
Remote.Link = Behavior.create(Remote.Base, {
|
276
|
+
onclick : function() {
|
277
|
+
var options = Object.extend({ url : this.element.href, method : 'get' }, this.options);
|
278
|
+
return this._makeRequest(options);
|
279
|
+
}
|
280
|
+
});
|
281
|
+
|
282
|
+
|
283
|
+
Remote.Form = Behavior.create(Remote.Base, {
|
284
|
+
onclick : function(e) {
|
285
|
+
var sourceElement = e.element();
|
286
|
+
|
287
|
+
if (['input', 'button'].include(sourceElement.nodeName.toLowerCase()) &&
|
288
|
+
sourceElement.type == 'submit')
|
289
|
+
this._submitButton = sourceElement;
|
290
|
+
},
|
291
|
+
onsubmit : function() {
|
292
|
+
var options = Object.extend({
|
293
|
+
url : this.element.action,
|
294
|
+
method : this.element.method || 'get',
|
295
|
+
parameters : this.element.serialize({ submit: this._submitButton.name })
|
296
|
+
}, this.options);
|
297
|
+
this._submitButton = null;
|
298
|
+
return this._makeRequest(options);
|
299
|
+
}
|
300
|
+
});
|
301
|
+
|
302
|
+
Observed = Behavior.create({
|
303
|
+
initialize : function(callback, options) {
|
304
|
+
this.callback = callback.bind(this);
|
305
|
+
this.options = options || {};
|
306
|
+
this.observer = (this.element.nodeName == 'FORM') ? this._observeForm() : this._observeField();
|
307
|
+
},
|
308
|
+
stop: function() {
|
309
|
+
this.observer.stop();
|
310
|
+
},
|
311
|
+
_observeForm: function() {
|
312
|
+
return (this.options.frequency) ? new Form.Observer(this.element, this.options.frequency, this.callback) :
|
313
|
+
new Form.EventObserver(this.element, this.callback);
|
314
|
+
},
|
315
|
+
_observeField: function() {
|
316
|
+
return (this.options.frequency) ? new Form.Element.Observer(this.element, this.options.frequency, this.callback) :
|
317
|
+
new Form.Element.EventObserver(this.element, this.callback);
|
318
|
+
}
|
319
|
+
});
|
320
|
+
|
@@ -0,0 +1,367 @@
|
|
1
|
+
/* @override http://mrhenry.dev/stylesheets/lalala.css?1224672637 */
|
2
|
+
|
3
|
+
body {
|
4
|
+
background-color: #e3e3e3;
|
5
|
+
margin: 30px;
|
6
|
+
font-family:sans-serif;
|
7
|
+
}
|
8
|
+
|
9
|
+
a {
|
10
|
+
color:#000;
|
11
|
+
}
|
12
|
+
a:hover {
|
13
|
+
color:#333;
|
14
|
+
}
|
15
|
+
|
16
|
+
h1, h2, h3 {
|
17
|
+
margin-top:0;
|
18
|
+
}
|
19
|
+
|
20
|
+
#sidebar {
|
21
|
+
position: absolute;
|
22
|
+
top: 132px;
|
23
|
+
left: 0px;
|
24
|
+
width:260px;
|
25
|
+
padding-bottom:50px;
|
26
|
+
background: url(../images/henry.png) no-repeat -5px bottom;
|
27
|
+
}
|
28
|
+
|
29
|
+
#menu-shadow {
|
30
|
+
background-color: #BBB;
|
31
|
+
margin-left: 30px;
|
32
|
+
}
|
33
|
+
|
34
|
+
#menu {
|
35
|
+
position:relative;
|
36
|
+
top: -5px;
|
37
|
+
left: -5px;
|
38
|
+
color:#fff;
|
39
|
+
}
|
40
|
+
|
41
|
+
#menu .item {
|
42
|
+
padding:10px 30px;
|
43
|
+
background-color: #979797;
|
44
|
+
position: relative;
|
45
|
+
}
|
46
|
+
|
47
|
+
#menu .item.active {
|
48
|
+
padding:10px 30px;
|
49
|
+
background-color: #53c647;
|
50
|
+
}
|
51
|
+
|
52
|
+
#menu .item .pointer {
|
53
|
+
display: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
#menu .item.active .pointer {
|
57
|
+
position: absolute;
|
58
|
+
display: block;
|
59
|
+
right: -35px;
|
60
|
+
top: 0px;
|
61
|
+
}
|
62
|
+
|
63
|
+
#menu .item + .item {
|
64
|
+
border-top: 1px solid #fff;
|
65
|
+
}
|
66
|
+
|
67
|
+
#menu .item a {
|
68
|
+
color: #fff;
|
69
|
+
text-decoration: none;
|
70
|
+
font-weight: bold;
|
71
|
+
font-size: 1.1em;
|
72
|
+
}
|
73
|
+
|
74
|
+
.shadow {
|
75
|
+
background-color: #BBB;
|
76
|
+
position:relative;
|
77
|
+
top: 5px;
|
78
|
+
left: 5px;
|
79
|
+
width:700px;
|
80
|
+
margin-bottom:30px;
|
81
|
+
margin-left: 260px;
|
82
|
+
}
|
83
|
+
|
84
|
+
.header {
|
85
|
+
background-color: #349ded;
|
86
|
+
position:relative;
|
87
|
+
top: -5px;
|
88
|
+
left: -5px;
|
89
|
+
padding:15px 30px;
|
90
|
+
color:#fff;
|
91
|
+
}
|
92
|
+
|
93
|
+
.header h1 {
|
94
|
+
margin:0;
|
95
|
+
padding:0;
|
96
|
+
}
|
97
|
+
|
98
|
+
.container {
|
99
|
+
background-color: #FFF;
|
100
|
+
position:relative;
|
101
|
+
top: -5px;
|
102
|
+
left: -5px;
|
103
|
+
padding:30px;
|
104
|
+
}
|
105
|
+
|
106
|
+
.container h1 {
|
107
|
+
margin:-30px -30px 30px;
|
108
|
+
padding:15px 30px;
|
109
|
+
background-color: #999;
|
110
|
+
color: #fff;
|
111
|
+
}
|
112
|
+
|
113
|
+
.container h2 {
|
114
|
+
margin: -30px -30px 30px;
|
115
|
+
padding:15px 30px;
|
116
|
+
background-color: #ccc;
|
117
|
+
color: #fff;
|
118
|
+
}
|
119
|
+
|
120
|
+
form {
|
121
|
+
margin: 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
form label {
|
125
|
+
float:left;
|
126
|
+
width:185px;
|
127
|
+
margin-right:15px;
|
128
|
+
text-align:right;
|
129
|
+
padding-top: 2px;
|
130
|
+
font-size: 85%;
|
131
|
+
}
|
132
|
+
|
133
|
+
form img.error {
|
134
|
+
display: block;
|
135
|
+
position: absolute;
|
136
|
+
right: -20px;
|
137
|
+
top: 4px;
|
138
|
+
}
|
139
|
+
|
140
|
+
form label.error {
|
141
|
+
color: #b12323;
|
142
|
+
}
|
143
|
+
|
144
|
+
form div.error-explanation {
|
145
|
+
color: #b12323;
|
146
|
+
font: italic 85% Georgia, "Times New Roman", Times, serif;
|
147
|
+
margin-left: 205px;
|
148
|
+
}
|
149
|
+
|
150
|
+
form div {
|
151
|
+
clear:both;
|
152
|
+
margin-bottom: 15px;
|
153
|
+
background-color: #fff;
|
154
|
+
position: relative;
|
155
|
+
}
|
156
|
+
|
157
|
+
form div.button {
|
158
|
+
background-color: #F5F5F5;
|
159
|
+
padding: 15px 0 15px 30px;
|
160
|
+
margin: 30px -30px -30px;
|
161
|
+
padding-left:230px;
|
162
|
+
}
|
163
|
+
|
164
|
+
form p.help {
|
165
|
+
color: #535353;
|
166
|
+
font: italic 75% Georgia, "Times New Roman", Times, serif;
|
167
|
+
float: right;
|
168
|
+
width: 200px;
|
169
|
+
margin: 0;
|
170
|
+
}
|
171
|
+
|
172
|
+
dl dt {
|
173
|
+
clear: left;
|
174
|
+
float: left;
|
175
|
+
width: 185px;
|
176
|
+
margin-right: 15px;
|
177
|
+
text-align: right;
|
178
|
+
padding-bottom: 8px;
|
179
|
+
color: #616161;
|
180
|
+
}
|
181
|
+
|
182
|
+
dl dd {
|
183
|
+
padding-bottom: 8px;
|
184
|
+
margin-left: 200px;
|
185
|
+
}
|
186
|
+
|
187
|
+
#actions,
|
188
|
+
.actions {
|
189
|
+
margin-bottom: 30px;
|
190
|
+
text-align:right;
|
191
|
+
}
|
192
|
+
|
193
|
+
.records .record {
|
194
|
+
background-color: #F5F5F5;
|
195
|
+
padding:15px 30px;
|
196
|
+
margin: 10px -30px;
|
197
|
+
position: relative;
|
198
|
+
}
|
199
|
+
|
200
|
+
.records .record .handle {
|
201
|
+
position: absolute;
|
202
|
+
height: auto;
|
203
|
+
width: 48px;
|
204
|
+
top: 0px;
|
205
|
+
bottom: 0px;
|
206
|
+
right: 16px;
|
207
|
+
background: url(../images/handle.png) no-repeat center center;
|
208
|
+
}
|
209
|
+
|
210
|
+
.clear {
|
211
|
+
clear: both;
|
212
|
+
}
|
213
|
+
|
214
|
+
#footnotes_debug {
|
215
|
+
font-family:monospace;
|
216
|
+
}
|
217
|
+
|
218
|
+
#queue {
|
219
|
+
|
220
|
+
}
|
221
|
+
#queue .upload_file {
|
222
|
+
padding: 5px;
|
223
|
+
border: 1px solid #ccc;
|
224
|
+
margin-bottom: 5px;
|
225
|
+
position: relative;
|
226
|
+
}
|
227
|
+
#queue .progress-wrapper {
|
228
|
+
position: absolute;
|
229
|
+
top: 0px;
|
230
|
+
right: 0px;
|
231
|
+
height: 28px;
|
232
|
+
width: 400px;
|
233
|
+
background-color: #ccc;
|
234
|
+
}
|
235
|
+
#queue .progress {
|
236
|
+
position: absolute;
|
237
|
+
top: 2px;
|
238
|
+
left: 3px;
|
239
|
+
height: 24px;
|
240
|
+
background-color: #53c647;
|
241
|
+
}
|
242
|
+
|
243
|
+
#modal_tabs {
|
244
|
+
font-size: 12px;
|
245
|
+
position: absolute;
|
246
|
+
z-index: 10000;
|
247
|
+
top: 7px;
|
248
|
+
right: 25px;
|
249
|
+
}
|
250
|
+
|
251
|
+
.pagination {
|
252
|
+
margin: 15px 0;
|
253
|
+
text-align: center;
|
254
|
+
clear: both;
|
255
|
+
}
|
256
|
+
|
257
|
+
.pagination a,
|
258
|
+
.pagination span {
|
259
|
+
border: 1px solid #979797;
|
260
|
+
padding: 3px 5px;
|
261
|
+
font-size: 12px;
|
262
|
+
}
|
263
|
+
|
264
|
+
.pagination a {
|
265
|
+
text-decoration: none;
|
266
|
+
}
|
267
|
+
|
268
|
+
.pagination span {
|
269
|
+
color: #979797;
|
270
|
+
}
|
271
|
+
|
272
|
+
|
273
|
+
.lang_selected {
|
274
|
+
color:#fff;
|
275
|
+
background-color:#000;
|
276
|
+
padding: 1px 5px;
|
277
|
+
}
|
278
|
+
|
279
|
+
.lang_selected:hover {
|
280
|
+
color:#fff;
|
281
|
+
background-color:#666;
|
282
|
+
}
|
283
|
+
|
284
|
+
#lang_chooser {
|
285
|
+
float:left;
|
286
|
+
}
|
287
|
+
|
288
|
+
.statuses {
|
289
|
+
font-size:80%;
|
290
|
+
float:right;
|
291
|
+
width:180px;
|
292
|
+
background-color:#fef8b8;
|
293
|
+
border: 1px solid #fded78;
|
294
|
+
padding:10px;
|
295
|
+
margin: 0 0 10px 10px;
|
296
|
+
}
|
297
|
+
|
298
|
+
.statuses .entry {
|
299
|
+
padding-left:75px;
|
300
|
+
}
|
301
|
+
|
302
|
+
.statuses .entry + .entry {
|
303
|
+
border-top: 1px solid #ccc;
|
304
|
+
padding-top:3px;
|
305
|
+
margin-top:3px;
|
306
|
+
}
|
307
|
+
|
308
|
+
.statuses .entry.big {
|
309
|
+
padding-left:10px !important;
|
310
|
+
}
|
311
|
+
|
312
|
+
.statuses .entry b {
|
313
|
+
float:left;
|
314
|
+
width:75px;
|
315
|
+
margin-left:-75px;
|
316
|
+
}
|
317
|
+
|
318
|
+
.statuses .entry.big b {
|
319
|
+
float:none !important;
|
320
|
+
width:auto !important;
|
321
|
+
margin-left:-10px !important;
|
322
|
+
display:block;
|
323
|
+
}
|
324
|
+
|
325
|
+
.statuses a img {
|
326
|
+
margin-bottom:-3px;
|
327
|
+
}
|
328
|
+
|
329
|
+
.back {
|
330
|
+
float:left;
|
331
|
+
}
|
332
|
+
|
333
|
+
#tabs {
|
334
|
+
background-color: #53c647;
|
335
|
+
margin: -30px -30px 30px -30px;
|
336
|
+
padding:0px 30px;
|
337
|
+
border-top: 1px dashed #fff;
|
338
|
+
height:48px;
|
339
|
+
}
|
340
|
+
|
341
|
+
#tabs a {
|
342
|
+
color:#fff;
|
343
|
+
font-weight:bold;
|
344
|
+
text-decoration:none;
|
345
|
+
display:block;
|
346
|
+
float:left;
|
347
|
+
padding:15px;
|
348
|
+
border-left:1px solid #fff;
|
349
|
+
border-right:1px solid #fff;
|
350
|
+
}
|
351
|
+
|
352
|
+
#tabs a:hover {
|
353
|
+
background-color: #45a63a;
|
354
|
+
}
|
355
|
+
|
356
|
+
#tabs a.active {
|
357
|
+
background: url(../images/tab-active.png) no-repeat center bottom;
|
358
|
+
}
|
359
|
+
|
360
|
+
#tabs a.active:hover {
|
361
|
+
background-color: #45a63a !important;
|
362
|
+
background: url(../images/tab-hover.png) no-repeat center bottom;
|
363
|
+
}
|
364
|
+
|
365
|
+
#tabs a + a {
|
366
|
+
border-left:none;
|
367
|
+
}
|