simple_admin 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.gitignore +6 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +12 -0
  4. data/README.rdoc +318 -0
  5. data/Rakefile +67 -0
  6. data/TODO.rdoc +4 -0
  7. data/app/assets/images/simple_admin/active_admin/admin_notes_icon.png +0 -0
  8. data/app/assets/images/simple_admin/active_admin/loading.gif +0 -0
  9. data/app/assets/images/simple_admin/active_admin/nested_menu_arrow.gif +0 -0
  10. data/app/assets/images/simple_admin/active_admin/nested_menu_arrow_dark.gif +0 -0
  11. data/app/assets/images/simple_admin/active_admin/orderable.png +0 -0
  12. data/app/assets/javascripts/simple_admin/active_admin.js +434 -0
  13. data/app/assets/stylesheets/simple_admin/active_admin.css +1445 -0
  14. data/app/controllers/simple_admin/admin_controller.rb +117 -0
  15. data/app/helpers/simple_admin/admin_helper.rb +11 -0
  16. data/app/helpers/simple_admin/display_helper.rb +38 -0
  17. data/app/helpers/simple_admin/filter_helper.rb +147 -0
  18. data/app/helpers/simple_admin/header_helper.rb +60 -0
  19. data/app/helpers/simple_admin/path_helper.rb +12 -0
  20. data/app/helpers/simple_admin/sidebar_helper.rb +9 -0
  21. data/app/helpers/simple_admin/table_helper.rb +39 -0
  22. data/app/helpers/simple_admin/title_helper.rb +35 -0
  23. data/app/views/layouts/simple_admin.html.erb +41 -0
  24. data/app/views/simple_admin/admin/_form.html.erb +16 -0
  25. data/app/views/simple_admin/admin/edit.html.erb +7 -0
  26. data/app/views/simple_admin/admin/index.csv.erb +19 -0
  27. data/app/views/simple_admin/admin/index.html.erb +82 -0
  28. data/app/views/simple_admin/admin/new.html.erb +7 -0
  29. data/app/views/simple_admin/admin/show.html.erb +22 -0
  30. data/config/routes.rb +8 -0
  31. data/lib/rails/generators/simple_admin/simple_admin_generator.rb +33 -0
  32. data/lib/rails/generators/simple_admin/templates/initializer.rb +76 -0
  33. data/lib/simple_admin.rb +100 -0
  34. data/lib/simple_admin/attributes.rb +80 -0
  35. data/lib/simple_admin/breadcrumbs.rb +24 -0
  36. data/lib/simple_admin/builder.rb +35 -0
  37. data/lib/simple_admin/engine.rb +8 -0
  38. data/lib/simple_admin/filters.rb +5 -0
  39. data/lib/simple_admin/interface.rb +55 -0
  40. data/lib/simple_admin/section.rb +30 -0
  41. data/lib/simple_admin/version.rb +3 -0
  42. data/rails/init.rb +2 -0
  43. data/simple_admin.gemspec +34 -0
  44. data/spec/acceptance/admin_thing_spec.rb +13 -0
  45. data/spec/controllers/simple_admin/admin_controller_spec.rb +95 -0
  46. data/spec/factories.rb +14 -0
  47. data/spec/simple_admin/attributes_spec.rb +106 -0
  48. data/spec/simple_admin/breadcrumbs_spec.rb +18 -0
  49. data/spec/simple_admin/builder_spec.rb +57 -0
  50. data/spec/simple_admin/engine_spec.rb +9 -0
  51. data/spec/simple_admin/filters_spec.rb +16 -0
  52. data/spec/simple_admin/interface_spec.rb +98 -0
  53. data/spec/simple_admin/section_spec.rb +63 -0
  54. data/spec/simple_admin/simple_admin_spec.rb +68 -0
  55. data/spec/spec_helper.rb +32 -0
  56. metadata +285 -0
@@ -0,0 +1,1445 @@
1
+ /* Active Admin CSS */
2
+
3
+ span.icon {
4
+ vertical-align: middle;
5
+ display: inline-block; }
6
+
7
+ span.icon svg {
8
+ vertical-align: baseline; }
9
+
10
+ span.icon {
11
+ width: 0.8em;
12
+ height: 0.8em; }
13
+
14
+ span.icon svg {
15
+ width: 0.8em;
16
+ height: 0.8em; }
17
+
18
+ html, body, div, span, applet, object, iframe,
19
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
20
+ a, abbr, acronym, address, big, cite, code,
21
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
22
+ small, strike, strong, sub, sup, tt, var,
23
+ dl, dt, dd, ol, ul, li,
24
+ fieldset, form, label, legend,
25
+ table, caption, tbody, tfoot, thead, tr, th, td {
26
+ margin: 0;
27
+ padding: 0;
28
+ border: 0;
29
+ outline: 0;
30
+ font-weight: inherit;
31
+ font-style: inherit;
32
+ font-size: 100%;
33
+ font-family: inherit;
34
+ vertical-align: baseline; }
35
+
36
+ body {
37
+ line-height: 1;
38
+ color: black;
39
+ background: white; }
40
+
41
+ ol, ul {
42
+ list-style: none; }
43
+
44
+ table {
45
+ border-collapse: separate;
46
+ border-spacing: 0;
47
+ vertical-align: middle; }
48
+
49
+ caption, th, td {
50
+ text-align: left;
51
+ font-weight: normal;
52
+ vertical-align: middle; }
53
+
54
+ q, blockquote {
55
+ quotes: "" ""; }
56
+ q:before, q:after, blockquote:before, blockquote:after {
57
+ content: ""; }
58
+
59
+ a img {
60
+ border: none; }
61
+
62
+ html {
63
+ font-size: 100.01%; }
64
+
65
+ body {
66
+ font-size: 75%;
67
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; }
68
+
69
+ h1, h2, h3, h4, h5, h6 {
70
+ font-weight: normal;
71
+ color: #5e6469; }
72
+ h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
73
+ margin: 0; }
74
+
75
+ h1 {
76
+ font-size: 3em;
77
+ line-height: 1;
78
+ margin-bottom: 0.5em; }
79
+
80
+ h2 {
81
+ font-size: 2em;
82
+ margin-bottom: 0.75em; }
83
+
84
+ h3 {
85
+ font-size: 1.5em;
86
+ line-height: 1;
87
+ margin-bottom: 1em; }
88
+
89
+ h4 {
90
+ font-size: 1.2em;
91
+ line-height: 1.25;
92
+ margin-bottom: 1.25em; }
93
+
94
+ h5 {
95
+ font-size: 1em;
96
+ font-weight: bold;
97
+ margin-bottom: 1.5em; }
98
+
99
+ h6 {
100
+ font-size: 1em;
101
+ font-weight: bold; }
102
+
103
+ p {
104
+ margin: 0 0 1.5em; }
105
+ p .left {
106
+ margin: 1.5em 1.5em 1.5em 0;
107
+ padding: 0; }
108
+ p .right {
109
+ margin: 1.5em 0 1.5em 1.5em;
110
+ padding: 0; }
111
+
112
+ .left {
113
+ float: left !important; }
114
+
115
+ .right {
116
+ float: right !important; }
117
+
118
+ blockquote {
119
+ margin: 1.5em;
120
+ color: #666;
121
+ font-style: italic; }
122
+
123
+ strong, dfn {
124
+ font-weight: bold; }
125
+
126
+ em, dfn {
127
+ font-style: italic; }
128
+
129
+ sup, sub {
130
+ line-height: 0; }
131
+
132
+ abbr,
133
+ acronym {
134
+ border-bottom: 1px dotted #666; }
135
+
136
+ address {
137
+ margin: 0 0 1.5em;
138
+ font-style: italic; }
139
+
140
+ del {
141
+ color: #666; }
142
+
143
+ pre {
144
+ margin: 1.5em 0;
145
+ white-space: pre; }
146
+
147
+ pre, code, tt {
148
+ font: 1em 'andale mono', 'lucida console', monospace;
149
+ line-height: 1.5; }
150
+
151
+ li ul,
152
+ li ol {
153
+ margin: 0; }
154
+
155
+ ul, ol {
156
+ margin: 0 1.5em 1.5em 0;
157
+ padding-left: 1.5em; }
158
+
159
+ ul {
160
+ list-style-type: disc; }
161
+
162
+ ol {
163
+ list-style-type: decimal; }
164
+
165
+ dl {
166
+ margin: 0 0 1.5em 0; }
167
+
168
+ dl dt {
169
+ font-weight: bold; }
170
+
171
+ dd {
172
+ margin-left: 1.5em; }
173
+
174
+ table {
175
+ margin-bottom: 1.4em;
176
+ width: 100%; }
177
+
178
+ th {
179
+ font-weight: bold; }
180
+
181
+ thead th {
182
+ background: #c3d9ff; }
183
+
184
+ th, td, caption {
185
+ padding: 4px 10px 4px 5px; }
186
+
187
+ .small {
188
+ font-size: .8em;
189
+ margin-bottom: 1.875em;
190
+ line-height: 1.875em; }
191
+
192
+ .large {
193
+ font-size: 1.2em;
194
+ line-height: 2.5em;
195
+ margin-bottom: 1.25em; }
196
+
197
+ .hide {
198
+ display: none; }
199
+
200
+ .quiet {
201
+ color: #666; }
202
+
203
+ .loud {
204
+ color: #000; }
205
+
206
+ .highlight {
207
+ background: #ff0; }
208
+
209
+ .added {
210
+ background: #060;
211
+ color: #fff; }
212
+
213
+ .removed {
214
+ background: #900;
215
+ color: #fff; }
216
+
217
+ .first {
218
+ margin-left: 0;
219
+ padding-left: 0; }
220
+
221
+ .last {
222
+ margin-right: 0;
223
+ padding-right: 0; }
224
+
225
+ .top {
226
+ margin-top: 0;
227
+ padding-top: 0; }
228
+
229
+ .bottom {
230
+ margin-bottom: 0;
231
+ padding-bottom: 0; }
232
+
233
+ #header {
234
+ background: #6a7176;
235
+ background: -webkit-gradient(linear, left top, left bottom, from(#6a7176), to(#4d5256));
236
+ background: -moz-linear-gradient(-90deg, #6a7176, #4d5256);
237
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
238
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
239
+ border-bottom: 1px solid #44484b;
240
+ box-shadow: 0 1px 2px #aaaaaa;
241
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
242
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
243
+ text-shadow: black 0 1px 0;
244
+ padding: 9px 30px;
245
+ position: relative;
246
+ z-index: 900; }
247
+ #header h1 {
248
+ display: inline;
249
+ color: #cdcdcd;
250
+ margin-right: 20px;
251
+ font-size: 1.3em;
252
+ font-weight: normal; }
253
+ #header a, #header a:link {
254
+ color: #cdcdcd; }
255
+ #header ul#tabs {
256
+ margin: 0;
257
+ padding: 0;
258
+ display: inline;
259
+ height: 100%; }
260
+ #header ul#tabs > li {
261
+ display: inline-block;
262
+ margin-right: 4px;
263
+ font-size: 1.0em;
264
+ position: relative;
265
+ /* Hover on li, display the ul */
266
+ /* Drop down menus */ }
267
+ #header ul#tabs > li a {
268
+ text-decoration: none;
269
+ padding: 6px 10px 4px 10px;
270
+ position: relative;
271
+ -webkit-border-radius: 10px;
272
+ -moz-border-radius: 10px;
273
+ border-radius: 10px; }
274
+ #header ul#tabs > li.current > a {
275
+ background: #7b8389;
276
+ color: #fff; }
277
+ #header ul#tabs > li.has_nested > a {
278
+ background: url("/assets/simple_admin/active_admin/nested_menu_arrow.gif") no-repeat 89% 50%;
279
+ padding-right: 20px; }
280
+ #header ul#tabs > li.has_nested.current > a {
281
+ background: #7b8389 url("/assets/simple_admin/active_admin/nested_menu_arrow_dark.gif") no-repeat 89% 50%;
282
+ padding-right: 20px; }
283
+ #header ul#tabs > li:hover > a {
284
+ background: #7b8389;
285
+ color: #fff; }
286
+ #header ul#tabs > li.has_nested:hover > a {
287
+ -webkit-border-radius: 0;
288
+ -moz-border-radius: 0;
289
+ border-radius: 0;
290
+ border-top-right-radius: 10px;
291
+ border-top-left-radius: 10px;
292
+ -moz-border-radius-topright: 10px;
293
+ -moz-border-radius-topleft: 10px;
294
+ -webkit-border-top-right-radius: 10px;
295
+ -webkit-border-top-left-radius: 10px;
296
+ z-index: 800;
297
+ border-bottom: 5px solid #7b8389;
298
+ background: #7b8389 url("/assets/simple_admin/active_admin/nested_menu_arrow_dark.gif") no-repeat 89% 50%; }
299
+ #header ul#tabs > li:hover ul {
300
+ display: block; }
301
+ #header ul#tabs > li ul {
302
+ background: #7b8389;
303
+ border-top-right-radius: 10px;
304
+ -moz-border-radius-topright: 10px;
305
+ -webkit-border-top-right-radius: 10px;
306
+ border-top-left-radius: 0;
307
+ -moz-border-radius-topleft: 0;
308
+ -webkit-border-top-left-radius: 0;
309
+ border-bottom-right-radius: 10px;
310
+ -moz-border-radius-bottomright: 10px;
311
+ -webkit-border-bottom-right-radius: 10px;
312
+ border-bottom-left-radius: 10px;
313
+ -moz-border-radius-bottomleft: 10px;
314
+ -webkit-border-bottom-left-radius: 10px;
315
+ box-shadow: 0 1px 3px #444444;
316
+ -moz-box-shadow: 0 1px 3px #444444;
317
+ -webkit-box-shadow: 0 1px 3px #444444;
318
+ position: absolute;
319
+ width: 175px;
320
+ margin-top: 4px;
321
+ float: left;
322
+ display: none;
323
+ padding: 3px 0px 5px 0;
324
+ list-style: none; }
325
+ #header ul#tabs > li ul li {
326
+ margin: 0px; }
327
+ #header ul#tabs > li ul li a {
328
+ background: none;
329
+ display: block; }
330
+ #header ul#tabs > li ul li a:hover {
331
+ color: #fff;
332
+ background: none; }
333
+ #header ul#tabs > li ul li.current a {
334
+ -webkit-border-radius: 0;
335
+ -moz-border-radius: 0;
336
+ border-radius: 0; }
337
+ #header #utility_nav {
338
+ position: absolute;
339
+ right: 25px;
340
+ top: 10px;
341
+ color: #aaa; }
342
+ #header #utility_nav span, #header #utility_nav a {
343
+ margin-left: 10px; }
344
+ #header #utility_nav a {
345
+ text-decoration: none; }
346
+ #header #utility_nav a:hover {
347
+ color: #fff; }
348
+
349
+ form {
350
+ /* Reset margins & Padding */
351
+ /* Nested Fieldsets and Legends */
352
+ /* Text Fields */
353
+ /* Buttons */ }
354
+ form ul, form ol, form li, form fieldset, form legend, form input, form textarea, form select, form p {
355
+ margin: 0;
356
+ padding: 0; }
357
+ form ol, form ul {
358
+ list-style: none; }
359
+ form fieldset {
360
+ border: 0;
361
+ padding: 10px 0;
362
+ margin-bottom: 20px; }
363
+ form fieldset.inputs {
364
+ background: #f4f4f4;
365
+ -webkit-border-radius: 4px;
366
+ -moz-border-radius: 4px;
367
+ border-radius: 4px;
368
+ box-shadow: inset 0 1px 4px #dddddd;
369
+ -moz-box-shadow: inset 0 1px 4px #dddddd;
370
+ -webkit-box-shadow: inset 0 1px 4px #dddddd; }
371
+ form fieldset legend {
372
+ width: 100%; }
373
+ form fieldset legend span {
374
+ display: block;
375
+ background: #efefef;
376
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
377
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
378
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
379
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
380
+ box-shadow: 0 1px 2px #aaaaaa;
381
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
382
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
383
+ text-shadow: white 0 1px 0;
384
+ border-bottom: 1px solid #ededed;
385
+ padding: 5px 10px 3px 10px;
386
+ font-size: 1.0em;
387
+ font-weight: bold;
388
+ line-height: 140%;
389
+ margin-bottom: 0.5em;
390
+ color: #5e6469; }
391
+ form fieldset legend span span.icon svg path, form fieldset legend span span.icon svg polygon, form fieldset legend span span.icon svg rect, form fieldset legend span span.icon svg circle {
392
+ fill: #5e6469 !important; }
393
+ form fieldset legend span span.icon {
394
+ width: 1em;
395
+ height: 1em; }
396
+ form fieldset legend span span.icon svg {
397
+ width: 1em;
398
+ height: 1em; }
399
+ form fieldset legend span span.icon {
400
+ margin-right: 5px; }
401
+ form fieldset ol > li {
402
+ padding: 10px; }
403
+ form fieldset ol > li label {
404
+ display: block;
405
+ width: 20%;
406
+ float: left;
407
+ font-size: 1.0em;
408
+ font-weight: bold;
409
+ color: #5e6469; }
410
+ form fieldset ol > li label abbr {
411
+ border: none;
412
+ color: #aaa; }
413
+ form fieldset ol > li > li label {
414
+ line-height: 100%;
415
+ padding-top: 0; }
416
+ form fieldset ol > li > li label input {
417
+ line-height: 100%;
418
+ vertical-align: middle;
419
+ margin-top: -0.1em; }
420
+ form fieldset > ol > li fieldset {
421
+ position: relative;
422
+ padding: 0;
423
+ margin-bottom: 0; }
424
+ form fieldset > ol > li fieldset legend {
425
+ position: absolute;
426
+ width: 95%;
427
+ padding-top: 0.1em;
428
+ left: 0px;
429
+ font-size: 100%;
430
+ font-weight: normal; }
431
+ form fieldset > ol > li fieldset legend span {
432
+ position: absolute; }
433
+ form fieldset > ol > li fieldset legend.label label {
434
+ position: absolute; }
435
+ form fieldset > ol > li fieldset ol {
436
+ float: left;
437
+ width: 74%;
438
+ margin: 0;
439
+ padding: 0 0 0 20%; }
440
+ form fieldset > ol > li fieldset ol li {
441
+ padding: 0;
442
+ border: 0; }
443
+ form input[type=text], form input[type=password], form input[type=email], form input[type=url], form input[type=tel], form textarea {
444
+ width: 76%;
445
+ border: 1px solid #c9d0d6;
446
+ font-size: 0.95em;
447
+ outline: none;
448
+ padding: 8px 10px; }
449
+ form input[type=text]:focus, form input[type=password]:focus, form input[type=email]:focus, form input[type=url]:focus, form input[type=tel]:focus, form textarea:focus {
450
+ border: 1px solid #99a2aa;
451
+ box-shadow: 0 0 4px #99a2aa;
452
+ -moz-box-shadow: 0 0 4px #99a2aa;
453
+ -webkit-box-shadow: 0 0 4px #99a2aa; }
454
+ form fieldset > ol > li {
455
+ /* Hints */
456
+ /* Date and Time Fields */
457
+ /* Check Boxes or Radio fields */
458
+ /* Boolean Field */
459
+ /* Errors */ }
460
+ form fieldset > ol > li p.inline-hints {
461
+ font-size: 0.95em;
462
+ font-style: italic;
463
+ color: #666;
464
+ margin: 0.5em 0 0 20%; }
465
+ form fieldset > ol > li.date fieldset ol li, form fieldset > ol > li.time fieldset ol li, form fieldset > ol > li.datetime fieldset ol li {
466
+ float: left;
467
+ width: auto;
468
+ margin: 0 0.5em 0 0; }
469
+ form fieldset > ol > li.date fieldset ol li label, form fieldset > ol > li.time fieldset ol li label, form fieldset > ol > li.datetime fieldset ol li label {
470
+ display: none; }
471
+ form fieldset > ol > li.date fieldset ol li input, form fieldset > ol > li.time fieldset ol li input, form fieldset > ol > li.datetime fieldset ol li input {
472
+ display: inline;
473
+ margin: 0;
474
+ padding: 0; }
475
+ form fieldset > ol > li.check_boxes fieldset ol, form fieldset > ol > li.radio fieldset ol {
476
+ margin-bottom: -0.6em; }
477
+ form fieldset > ol > li.check_boxes fieldset ol li, form fieldset > ol > li.radio fieldset ol li {
478
+ margin: 0.1em 0 0.5em 0; }
479
+ form fieldset > ol > li.check_boxes fieldset ol li label, form fieldset > ol > li.radio fieldset ol li label {
480
+ float: none;
481
+ width: 100%; }
482
+ form fieldset > ol > li.check_boxes fieldset ol li label input, form fieldset > ol > li.radio fieldset ol li label input {
483
+ margin-right: 0.2em; }
484
+ form fieldset > ol > li.boolean {
485
+ height: 1.1em; }
486
+ form fieldset > ol > li.boolean label {
487
+ width: 100%;
488
+ padding-left: 20%;
489
+ padding-right: 10px;
490
+ text-transform: none !important;
491
+ font-weight: normal; }
492
+ form fieldset > ol > li.boolean label input {
493
+ margin: 0 0.5em 0 0.2em; }
494
+ form fieldset > ol > li.hidden {
495
+ display: none; }
496
+ form fieldset > ol > li p.inline-errors {
497
+ text-transform: capitalize;
498
+ color: #cc0000;
499
+ margin: 0.5em 0 0 20%; }
500
+ form fieldset > ol > li ul.errors {
501
+ color: #cc0000;
502
+ margin: 0.5em 0 0 20%;
503
+ list-style: square; }
504
+ form fieldset > ol > li ul.errors li {
505
+ padding: 0;
506
+ border: none;
507
+ display: list-item; }
508
+ form fieldset > ol > li.error input[type=text], form fieldset > ol > li.error input[type=password], form fieldset > ol > li.error input[type=email], form fieldset > ol > li.error input[type=url], form fieldset > ol > li.error input[type=tel], form fieldset > ol > li.error textarea {
509
+ border: 1px solid #cc0000; }
510
+ form input[type=submit] {
511
+ box-shadow: 0 1px 2px #aaaaaa;
512
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
513
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
514
+ background: #838a90;
515
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
516
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
517
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
518
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
519
+ -webkit-border-radius: 200px;
520
+ -moz-border-radius: 200px;
521
+ border-radius: 200px;
522
+ text-shadow: black 0 1px 0;
523
+ text-decoration: none;
524
+ margin-right: 3px;
525
+ font-weight: bold;
526
+ font-size: 1.0em;
527
+ cursor: pointer;
528
+ padding: .6em 1.4em .5em 1.3em;
529
+ border: none;
530
+ color: #efefef; }
531
+ form input[type=submit]:hover {
532
+ color: #fff;
533
+ box-shadow: 0 1px 3px #888888;
534
+ -moz-box-shadow: 0 1px 3px #888888;
535
+ -webkit-box-shadow: 0 1px 3px #888888; }
536
+ form input[type=submit]:hover span.icon svg path, form input[type=submit]:hover span.icon svg polygon, form input[type=submit]:hover span.icon svg rect, form input[type=submit]:hover span.icon svg circle {
537
+ fill: white !important; }
538
+ form input[type=submit]:active {
539
+ box-shadow: inset 0 1px 2px black;
540
+ -moz-box-shadow: inset 0 1px 2px black;
541
+ -webkit-box-shadow: inset 0 1px 2px black; }
542
+ form fieldset.buttons li {
543
+ float: left;
544
+ padding-right: 0.5em;
545
+ padding-top: 0; }
546
+ form fieldset.buttons li.cancel {
547
+ margin-left: 0.3em;
548
+ padding: 5px; }
549
+ form fieldset.buttons li.cancel a {
550
+ box-shadow: 0 1px 2px #aaaaaa;
551
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
552
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
553
+ background: #838a90;
554
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
555
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
556
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
557
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
558
+ -webkit-border-radius: 200px;
559
+ -moz-border-radius: 200px;
560
+ border-radius: 200px;
561
+ text-shadow: black 0 1px 0;
562
+ text-decoration: none;
563
+ margin-right: 3px;
564
+ font-weight: bold;
565
+ font-size: 1.0em;
566
+ cursor: pointer;
567
+ padding: .6em 1.4em .5em 1.3em;
568
+ border: none;
569
+ color: #efefef;
570
+ background: #f9f9f9;
571
+ background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dddbdb));
572
+ background: -moz-linear-gradient(-90deg, #f9f9f9, #dddbdb);
573
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
574
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
575
+ text-shadow: white 0 1px 0;
576
+ color: #777; }
577
+ form fieldset.buttons li.cancel a:hover {
578
+ color: #fff;
579
+ box-shadow: 0 1px 3px #888888;
580
+ -moz-box-shadow: 0 1px 3px #888888;
581
+ -webkit-box-shadow: 0 1px 3px #888888; }
582
+ form fieldset.buttons li.cancel a:hover span.icon svg path, form fieldset.buttons li.cancel a:hover span.icon svg polygon, form fieldset.buttons li.cancel a:hover span.icon svg rect, form fieldset.buttons li.cancel a:hover span.icon svg circle {
583
+ fill: white !important; }
584
+ form fieldset.buttons li.cancel a:active {
585
+ box-shadow: inset 0 1px 2px black;
586
+ -moz-box-shadow: inset 0 1px 2px black;
587
+ -webkit-box-shadow: inset 0 1px 2px black; }
588
+ form fieldset.buttons li.cancel a:hover {
589
+ color: #444; }
590
+ form fieldset.buttons li.cancel a:hover span.icon svg path, form fieldset.buttons li.cancel a:hover span.icon svg polygon, form fieldset.buttons li.cancel a:hover span.icon svg rect, form fieldset.buttons li.cancel a:hover span.icon svg circle {
591
+ fill: #444444 !important; }
592
+ form fieldset.buttons li.cancel a:active {
593
+ box-shadow: inset 0 1px 2px #aaaaaa;
594
+ -moz-box-shadow: inset 0 1px 2px #aaaaaa;
595
+ -webkit-box-shadow: inset 0 1px 2px #aaaaaa; }
596
+ form fieldset.buttons li.cancel a span.icon svg path, form fieldset.buttons li.cancel a span.icon svg polygon, form fieldset.buttons li.cancel a span.icon svg rect, form fieldset.buttons li.cancel a span.icon svg circle {
597
+ fill: #777777 !important; }
598
+ form fieldset.buttons li.cancel a span.icon {
599
+ width: 9px;
600
+ height: 9px; }
601
+ form fieldset.buttons li.cancel a span.icon svg {
602
+ width: 9px;
603
+ height: 9px; }
604
+
605
+ .comments .active_admin_comment {
606
+ clear: both;
607
+ margin-top: 10px;
608
+ margin-bottom: 40px;
609
+ max-width: 700px; }
610
+ .comments .active_admin_comment .active_admin_comment_meta {
611
+ width: 130px;
612
+ float: left;
613
+ font-size: 0.9em;
614
+ color: #767e84; }
615
+ .comments .active_admin_comment .active_admin_comment_meta .active_admin_comment_author {
616
+ font-size: 1.2em;
617
+ font-weight: bold;
618
+ margin: 0;
619
+ color: #5e6469; }
620
+ .comments .active_admin_comment .active_admin_comment_body {
621
+ margin-left: 150px; }
622
+ .comments form.active_admin_comment {
623
+ margin: 0;
624
+ padding: 0;
625
+ margin-left: 150px; }
626
+ .comments form.active_admin_comment fieldset.inputs {
627
+ margin: 0;
628
+ padding: 0;
629
+ background: none;
630
+ box-shadow: none;
631
+ -moz-box-shadow: none;
632
+ -webkit-box-shadow: none; }
633
+ .comments form.active_admin_comment li {
634
+ padding: 0; }
635
+ .comments form.active_admin_comment fieldset.buttons {
636
+ padding: 0;
637
+ margin-top: 5px; }
638
+
639
+ .flash {
640
+ background: #6a7176;
641
+ background: -webkit-gradient(linear, left top, left bottom, from(#6a7176), to(#4d5256));
642
+ background: -moz-linear-gradient(-90deg, #6a7176, #4d5256);
643
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
644
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
645
+ border-bottom: 1px solid #44484b;
646
+ box-shadow: 0 1px 2px #aaaaaa;
647
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
648
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
649
+ text-shadow: #222222 0 1px 0;
650
+ border: none;
651
+ font-weight: bold;
652
+ padding: 10px 10px 8px 10px;
653
+ margin-bottom: 10px;
654
+ color: #fff; }
655
+ .flash.flash_notice {
656
+ background: #87a28b;
657
+ background: -webkit-gradient(linear, left top, left bottom, from(#87a28b), to(#657b6a));
658
+ background: -moz-linear-gradient(-90deg, #87a28b, #657b6a);
659
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#87a28b, endColorstr=#657b6a);
660
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#87a28b, endColorstr=#657b6a); }
661
+ .flash.flash_error {
662
+ background: #ca5b4f;
663
+ background: -webkit-gradient(linear, left top, left bottom, from(#ca5b4f), to(#97443c));
664
+ background: -moz-linear-gradient(-90deg, #ca5b4f, #97443c);
665
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ca5b4f, endColorstr=#97443c);
666
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ca5b4f, endColorstr=#97443c); }
667
+
668
+ body {
669
+ font-family: Helvetica, Arial, sans-serif;
670
+ line-height: 150%;
671
+ font-size: 72%;
672
+ background: #fff;
673
+ margin: 0;
674
+ padding: 0;
675
+ color: #323537; }
676
+
677
+ #title_bar {
678
+ background: #efefef;
679
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
680
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
681
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
682
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
683
+ box-shadow: 0 1px 2px #aaaaaa;
684
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
685
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
686
+ text-shadow: white 0 1px 0;
687
+ border-bottom: 1px solid #ededed;
688
+ padding: 5px 10px 3px 10px;
689
+ font-size: 1.0em;
690
+ font-weight: bold;
691
+ line-height: 140%;
692
+ margin-bottom: 0.5em;
693
+ color: #5e6469;
694
+ position: relative;
695
+ margin: 0;
696
+ padding: 10px 30px; }
697
+ #title_bar span.icon svg path, #title_bar span.icon svg polygon, #title_bar span.icon svg rect, #title_bar span.icon svg circle {
698
+ fill: #5e6469 !important; }
699
+ #title_bar span.icon {
700
+ width: 1em;
701
+ height: 1em; }
702
+ #title_bar span.icon svg {
703
+ width: 1em;
704
+ height: 1em; }
705
+ #title_bar span.icon {
706
+ margin-right: 5px; }
707
+ #title_bar h2 {
708
+ margin: 12px 0 5px 0;
709
+ padding: 0;
710
+ font-size: 2.6em;
711
+ font-weight: bold; }
712
+ #title_bar .action_items {
713
+ position: absolute;
714
+ right: 30px;
715
+ top: 28px; }
716
+ #title_bar .action_items a {
717
+ box-shadow: 0 1px 2px #aaaaaa;
718
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
719
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
720
+ background: #838a90;
721
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
722
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
723
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
724
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
725
+ -webkit-border-radius: 200px;
726
+ -moz-border-radius: 200px;
727
+ border-radius: 200px;
728
+ text-shadow: black 0 1px 0;
729
+ text-decoration: none;
730
+ margin-right: 3px;
731
+ font-weight: bold;
732
+ font-size: 1.0em;
733
+ cursor: pointer;
734
+ padding: .6em 1.4em .5em 1.3em;
735
+ border: none;
736
+ color: #efefef;
737
+ background: #f9f9f9;
738
+ background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dddbdb));
739
+ background: -moz-linear-gradient(-90deg, #f9f9f9, #dddbdb);
740
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
741
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
742
+ text-shadow: white 0 1px 0;
743
+ color: #777;
744
+ background: #f9f9f9;
745
+ background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dddbdb));
746
+ background: -moz-linear-gradient(-90deg, #f9f9f9, #dddbdb);
747
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
748
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
749
+ padding: .8em 1.5em .7em 1.5em;
750
+ border: 1px solid #f8f8f8; }
751
+ #title_bar .action_items a:hover {
752
+ color: #fff;
753
+ box-shadow: 0 1px 3px #888888;
754
+ -moz-box-shadow: 0 1px 3px #888888;
755
+ -webkit-box-shadow: 0 1px 3px #888888; }
756
+ #title_bar .action_items a:hover span.icon svg path, #title_bar .action_items a:hover span.icon svg polygon, #title_bar .action_items a:hover span.icon svg rect, #title_bar .action_items a:hover span.icon svg circle {
757
+ fill: white !important; }
758
+ #title_bar .action_items a:active {
759
+ box-shadow: inset 0 1px 2px black;
760
+ -moz-box-shadow: inset 0 1px 2px black;
761
+ -webkit-box-shadow: inset 0 1px 2px black; }
762
+ #title_bar .action_items a:hover {
763
+ color: #444; }
764
+ #title_bar .action_items a:hover span.icon svg path, #title_bar .action_items a:hover span.icon svg polygon, #title_bar .action_items a:hover span.icon svg rect, #title_bar .action_items a:hover span.icon svg circle {
765
+ fill: #444444 !important; }
766
+ #title_bar .action_items a:active {
767
+ box-shadow: inset 0 1px 2px #aaaaaa;
768
+ -moz-box-shadow: inset 0 1px 2px #aaaaaa;
769
+ -webkit-box-shadow: inset 0 1px 2px #aaaaaa; }
770
+ #title_bar .action_items a span.icon svg path, #title_bar .action_items a span.icon svg polygon, #title_bar .action_items a span.icon svg rect, #title_bar .action_items a span.icon svg circle {
771
+ fill: #777777 !important; }
772
+ #title_bar .action_items a span.icon {
773
+ width: 0.8em;
774
+ height: 0.8em; }
775
+ #title_bar .action_items a span.icon svg {
776
+ width: 0.8em;
777
+ height: 0.8em; }
778
+ #title_bar .action_items a span.icon {
779
+ vertical-align: bottom;
780
+ margin-right: 4px; }
781
+ #title_bar .action_items a:hover span.icon svg path, #title_bar .action_items a:hover span.icon svg polygon, #title_bar .action_items a:hover span.icon svg rect, #title_bar .action_items a:hover span.icon svg circle {
782
+ fill: black !important; }
783
+ #title_bar .action_items a:active {
784
+ border: inherit; }
785
+
786
+ #active_admin_content {
787
+ margin: 0;
788
+ padding: 25px 30px; }
789
+ #active_admin_content #main_content_wrapper {
790
+ float: left;
791
+ width: 100%; }
792
+ #active_admin_content #main_content_wrapper #main_content {
793
+ margin-right: 300px; }
794
+ #active_admin_content.without_sidebar #main_content_wrapper #main_content {
795
+ margin-right: 0; }
796
+ #active_admin_content #sidebar {
797
+ float: left;
798
+ width: 270px;
799
+ margin-left: -270px; }
800
+
801
+ #footer {
802
+ padding: 30px 30px;
803
+ font-size: 0.8em;
804
+ clear: both; }
805
+ #footer p {
806
+ padding-top: 10px; }
807
+
808
+ a, a:link, a:visited {
809
+ color: #38678b;
810
+ text-decoration: underline; }
811
+
812
+ a:hover {
813
+ text-decoration: none; }
814
+
815
+ td span.icon svg path, td span.icon svg polygon, td span.icon svg rect, td span.icon svg circle, p span.icon svg path, p span.icon svg polygon, p span.icon svg rect, p span.icon svg circle {
816
+ fill: #b3bcc1 !important; }
817
+ td span.icon, p span.icon {
818
+ width: 0.8em;
819
+ height: 0.8em; }
820
+ td span.icon svg, p span.icon svg {
821
+ width: 0.8em;
822
+ height: 0.8em; }
823
+ td span.icon, p span.icon {
824
+ margin: 0 3px; }
825
+
826
+ a.view_link, a.edit_link, a.delete_link {
827
+ margin-right: 7px;
828
+ white-space: nowrap; }
829
+
830
+ a.button, input[type=submit] {
831
+ box-shadow: 0 1px 2px #aaaaaa;
832
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
833
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
834
+ background: #838a90;
835
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
836
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
837
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
838
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
839
+ -webkit-border-radius: 200px;
840
+ -moz-border-radius: 200px;
841
+ border-radius: 200px;
842
+ text-shadow: black 0 1px 0;
843
+ text-decoration: none;
844
+ margin-right: 3px;
845
+ font-weight: bold;
846
+ font-size: 1.0em;
847
+ cursor: pointer;
848
+ padding: .6em 1.4em .5em 1.3em;
849
+ border: none;
850
+ color: #efefef; }
851
+ a.button:hover, input[type=submit]:hover {
852
+ color: #fff;
853
+ box-shadow: 0 1px 3px #888888;
854
+ -moz-box-shadow: 0 1px 3px #888888;
855
+ -webkit-box-shadow: 0 1px 3px #888888; }
856
+ a.button:hover span.icon svg path, a.button:hover span.icon svg polygon, a.button:hover span.icon svg rect, a.button:hover span.icon svg circle, input[type=submit]:hover span.icon svg path, input[type=submit]:hover span.icon svg polygon, input[type=submit]:hover span.icon svg rect, input[type=submit]:hover span.icon svg circle {
857
+ fill: white !important; }
858
+ a.button:active, input[type=submit]:active {
859
+ box-shadow: inset 0 1px 2px black;
860
+ -moz-box-shadow: inset 0 1px 2px black;
861
+ -webkit-box-shadow: inset 0 1px 2px black; }
862
+
863
+ .breadcrumb {
864
+ text-transform: uppercase;
865
+ font-size: 0.9em;
866
+ font-weight: normal; }
867
+ .breadcrumb a, .breadcrumb a:link {
868
+ color: #8a949e;
869
+ text-decoration: none; }
870
+ .breadcrumb a:hover {
871
+ text-decoration: underline; }
872
+ .breadcrumb .breadcrumb_sep {
873
+ margin: 0 2px;
874
+ color: #aab2ba; }
875
+
876
+ .section, .panel {
877
+ background: #f4f4f4;
878
+ -webkit-border-radius: 4px;
879
+ -moz-border-radius: 4px;
880
+ border-radius: 4px;
881
+ box-shadow: inset 0 1px 4px #dddddd;
882
+ -moz-box-shadow: inset 0 1px 4px #dddddd;
883
+ -webkit-box-shadow: inset 0 1px 4px #dddddd;
884
+ margin-bottom: 20px; }
885
+ .section h3, .panel h3 {
886
+ background: #efefef;
887
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
888
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
889
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
890
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
891
+ box-shadow: 0 1px 2px #aaaaaa;
892
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
893
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
894
+ text-shadow: white 0 1px 0;
895
+ border-bottom: 1px solid #ededed;
896
+ padding: 5px 10px 3px 10px;
897
+ font-size: 1.0em;
898
+ font-weight: bold;
899
+ line-height: 140%;
900
+ margin-bottom: 0.5em;
901
+ color: #5e6469; }
902
+ .section h3 span.icon svg path, .section h3 span.icon svg polygon, .section h3 span.icon svg rect, .section h3 span.icon svg circle, .panel h3 span.icon svg path, .panel h3 span.icon svg polygon, .panel h3 span.icon svg rect, .panel h3 span.icon svg circle {
903
+ fill: #5e6469 !important; }
904
+ .section h3 span.icon, .panel h3 span.icon {
905
+ width: 1em;
906
+ height: 1em; }
907
+ .section h3 span.icon svg, .panel h3 span.icon svg {
908
+ width: 1em;
909
+ height: 1em; }
910
+ .section h3 span.icon, .panel h3 span.icon {
911
+ margin-right: 5px; }
912
+ .section > div, .panel > div {
913
+ padding: 3px 15px 15px 15px; }
914
+
915
+ table {
916
+ width: 100%;
917
+ margin-bottom: 10px;
918
+ border: 0;
919
+ border-spacing: 0; }
920
+ table th {
921
+ background: #efefef;
922
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
923
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
924
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
925
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
926
+ box-shadow: 0 1px 2px #aaaaaa;
927
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
928
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
929
+ text-shadow: white 0 1px 0;
930
+ border-bottom: 1px solid #ededed;
931
+ padding: 5px 10px 3px 10px;
932
+ font-size: 1.0em;
933
+ font-weight: bold;
934
+ line-height: 140%;
935
+ margin-bottom: 0.5em;
936
+ color: #5e6469;
937
+ text-align: left;
938
+ padding-left: 12px;
939
+ padding-right: 12px; }
940
+ table th span.icon svg path, table th span.icon svg polygon, table th span.icon svg rect, table th span.icon svg circle {
941
+ fill: #5e6469 !important; }
942
+ table th span.icon {
943
+ width: 1em;
944
+ height: 1em; }
945
+ table th span.icon svg {
946
+ width: 1em;
947
+ height: 1em; }
948
+ table th span.icon {
949
+ margin-right: 5px; }
950
+ table th a, table th a:link, table th a:visited {
951
+ color: #5e6469;
952
+ text-decoration: none;
953
+ display: block; }
954
+ table th.sortable a {
955
+ background: url("/assets/simple_admin/active_admin/orderable.png") no-repeat 0 4px;
956
+ padding-left: 13px; }
957
+ table th.sorted-asc a {
958
+ background-position: 0 -27px; }
959
+ table th.sorted-desc a {
960
+ background-position: 0 -56px; }
961
+ table th.sorted-asc, table th.sorted-desc {
962
+ background: #e2e2e2;
963
+ background: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#d2d4d6));
964
+ background: -moz-linear-gradient(-90deg, #e2e2e2, #d2d4d6);
965
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e2e2e2, endColorstr=#d2d4d6);
966
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e2e2e2, endColorstr=#d2d4d6);
967
+ border-bottom: 1px solid #dfe1e2; }
968
+ table tr.even td {
969
+ background: #f4f5f5; }
970
+ table td {
971
+ padding: 10px 12px 8px 12px;
972
+ border-bottom: 1px solid #e8e8e8;
973
+ vertical-align: top; }
974
+
975
+ .panel_contents table {
976
+ margin-top: 5px; }
977
+ .panel_contents table th {
978
+ padding-top: 10px;
979
+ background: none;
980
+ color: #5e6469;
981
+ box-shadow: none;
982
+ -moz-box-shadow: none;
983
+ -webkit-box-shadow: none;
984
+ text-shadow: white 0 1px 0;
985
+ text-transform: uppercase;
986
+ border-bottom: 1px solid #ccc; }
987
+ .panel_contents table tr.odd td {
988
+ background: #ecedee; }
989
+ .panel_contents table tr.even td {
990
+ background: #f4f5f5; }
991
+
992
+ .sidebar_section {
993
+ background: #f4f4f4;
994
+ -webkit-border-radius: 4px;
995
+ -moz-border-radius: 4px;
996
+ border-radius: 4px;
997
+ box-shadow: inset 0 1px 4px #dddddd;
998
+ -moz-box-shadow: inset 0 1px 4px #dddddd;
999
+ -webkit-box-shadow: inset 0 1px 4px #dddddd;
1000
+ margin-bottom: 20px; }
1001
+ .sidebar_section h3 {
1002
+ background: #efefef;
1003
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
1004
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
1005
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1006
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1007
+ box-shadow: 0 1px 2px #aaaaaa;
1008
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1009
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1010
+ text-shadow: white 0 1px 0;
1011
+ border-bottom: 1px solid #ededed;
1012
+ padding: 5px 10px 3px 10px;
1013
+ font-size: 1.0em;
1014
+ font-weight: bold;
1015
+ line-height: 140%;
1016
+ margin-bottom: 0.5em;
1017
+ color: #5e6469; }
1018
+ .sidebar_section h3 span.icon svg path, .sidebar_section h3 span.icon svg polygon, .sidebar_section h3 span.icon svg rect, .sidebar_section h3 span.icon svg circle {
1019
+ fill: #5e6469 !important; }
1020
+ .sidebar_section h3 span.icon {
1021
+ width: 1em;
1022
+ height: 1em; }
1023
+ .sidebar_section h3 span.icon svg {
1024
+ width: 1em;
1025
+ height: 1em; }
1026
+ .sidebar_section h3 span.icon {
1027
+ margin-right: 5px; }
1028
+ .sidebar_section > div {
1029
+ padding: 3px 15px 15px 15px; }
1030
+
1031
+ .pagination_information {
1032
+ float: right;
1033
+ margin-bottom: 5px;
1034
+ font-size: 0.95em;
1035
+ color: #b3bcc1; }
1036
+ .pagination_information b {
1037
+ color: #5c6469; }
1038
+
1039
+ .pagination {
1040
+ display: inline;
1041
+ font-size: 0.9;
1042
+ margin-left: 10px; }
1043
+ .pagination a {
1044
+ box-shadow: 0 1px 2px #aaaaaa;
1045
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1046
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1047
+ background: #838a90;
1048
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
1049
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
1050
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1051
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1052
+ -webkit-border-radius: 200px;
1053
+ -moz-border-radius: 200px;
1054
+ border-radius: 200px;
1055
+ text-shadow: black 0 1px 0;
1056
+ text-decoration: none;
1057
+ margin-right: 3px;
1058
+ font-weight: bold;
1059
+ font-size: 1.0em;
1060
+ cursor: pointer;
1061
+ padding: .6em 1.4em .5em 1.3em;
1062
+ border: none;
1063
+ color: #efefef;
1064
+ background: #f9f9f9;
1065
+ background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dddbdb));
1066
+ background: -moz-linear-gradient(-90deg, #f9f9f9, #dddbdb);
1067
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
1068
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
1069
+ text-shadow: white 0 1px 0;
1070
+ color: #777; }
1071
+ .pagination a:hover {
1072
+ color: #fff;
1073
+ box-shadow: 0 1px 3px #888888;
1074
+ -moz-box-shadow: 0 1px 3px #888888;
1075
+ -webkit-box-shadow: 0 1px 3px #888888; }
1076
+ .pagination a:hover span.icon svg path, .pagination a:hover span.icon svg polygon, .pagination a:hover span.icon svg rect, .pagination a:hover span.icon svg circle {
1077
+ fill: white !important; }
1078
+ .pagination a:active {
1079
+ box-shadow: inset 0 1px 2px black;
1080
+ -moz-box-shadow: inset 0 1px 2px black;
1081
+ -webkit-box-shadow: inset 0 1px 2px black; }
1082
+ .pagination a:hover {
1083
+ color: #444; }
1084
+ .pagination a:hover span.icon svg path, .pagination a:hover span.icon svg polygon, .pagination a:hover span.icon svg rect, .pagination a:hover span.icon svg circle {
1085
+ fill: #444444 !important; }
1086
+ .pagination a:active {
1087
+ box-shadow: inset 0 1px 2px #aaaaaa;
1088
+ -moz-box-shadow: inset 0 1px 2px #aaaaaa;
1089
+ -webkit-box-shadow: inset 0 1px 2px #aaaaaa; }
1090
+ .pagination span.page.current {
1091
+ box-shadow: 0 1px 2px #aaaaaa;
1092
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1093
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1094
+ background: #838a90;
1095
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
1096
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
1097
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1098
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1099
+ -webkit-border-radius: 200px;
1100
+ -moz-border-radius: 200px;
1101
+ border-radius: 200px;
1102
+ text-shadow: black 0 1px 0;
1103
+ text-decoration: none;
1104
+ margin-right: 3px;
1105
+ font-weight: bold;
1106
+ font-size: 1.0em;
1107
+ cursor: pointer;
1108
+ padding: .6em 1.4em .5em 1.3em;
1109
+ border: none;
1110
+ color: #efefef; }
1111
+ .pagination span.page.current:hover {
1112
+ color: #fff;
1113
+ box-shadow: 0 1px 3px #888888;
1114
+ -moz-box-shadow: 0 1px 3px #888888;
1115
+ -webkit-box-shadow: 0 1px 3px #888888; }
1116
+ .pagination span.page.current:hover span.icon svg path, .pagination span.page.current:hover span.icon svg polygon, .pagination span.page.current:hover span.icon svg rect, .pagination span.page.current:hover span.icon svg circle {
1117
+ fill: white !important; }
1118
+ .pagination span.page.current:active {
1119
+ box-shadow: inset 0 1px 2px black;
1120
+ -moz-box-shadow: inset 0 1px 2px black;
1121
+ -webkit-box-shadow: inset 0 1px 2px black; }
1122
+ .pagination a, .pagination span.page.current {
1123
+ -webkit-border-radius: 0px;
1124
+ -moz-border-radius: 0px;
1125
+ border-radius: 0px;
1126
+ margin-right: 4px;
1127
+ padding: 2px 5px; }
1128
+ .pagination span.page.current {
1129
+ padding-left: 7px; }
1130
+
1131
+ #index_footer {
1132
+ padding-top: 5px;
1133
+ text-align: right;
1134
+ font-size: 0.85em; }
1135
+
1136
+ .index_content {
1137
+ clear: both; }
1138
+
1139
+ table.index_grid td {
1140
+ border: none;
1141
+ background: none;
1142
+ padding: 0 20px 20px 0;
1143
+ margin: 0; }
1144
+
1145
+ form .buttons {
1146
+ margin-top: 15px; }
1147
+ form .buttons input[type=submit] {
1148
+ margin-right: 10px; }
1149
+ form .filter_form_field {
1150
+ margin-bottom: 10px;
1151
+ clear: both; }
1152
+ form .filter_form_field label {
1153
+ display: block;
1154
+ text-transform: uppercase;
1155
+ color: #5e6469;
1156
+ font-size: 0.9em;
1157
+ font-weight: bold; }
1158
+ form .filter_form_field .datepicker {
1159
+ width: 80px; }
1160
+ form .filter_form_field.filter_numeric input[type=text] {
1161
+ width: 80px;
1162
+ margin-left: 5px; }
1163
+ form .filter_form_field.filter_check_boxes label {
1164
+ margin-bottom: 3px; }
1165
+ form .filter_form_field.filter_check_boxes .check_boxes_wrapper label {
1166
+ font-weight: normal;
1167
+ margin-bottom: 3px;
1168
+ text-transform: none;
1169
+ font-size: 1.0em; }
1170
+ form .filter_form_field.filter_check_boxes .check_boxes_wrapper label input {
1171
+ vertical-align: baseline; }
1172
+ form a.clear_filters_btn {
1173
+ box-shadow: 0 1px 2px #aaaaaa;
1174
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1175
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1176
+ background: #838a90;
1177
+ background: -webkit-gradient(linear, left top, left bottom, from(#838a90), to(#414549));
1178
+ background: -moz-linear-gradient(-90deg, #838a90, #414549);
1179
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1180
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#838a90, endColorstr=#414549);
1181
+ -webkit-border-radius: 200px;
1182
+ -moz-border-radius: 200px;
1183
+ border-radius: 200px;
1184
+ text-shadow: black 0 1px 0;
1185
+ text-decoration: none;
1186
+ margin-right: 3px;
1187
+ font-weight: bold;
1188
+ font-size: 1.0em;
1189
+ cursor: pointer;
1190
+ padding: .6em 1.4em .5em 1.3em;
1191
+ border: none;
1192
+ color: #efefef;
1193
+ background: #f9f9f9;
1194
+ background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#dddbdb));
1195
+ background: -moz-linear-gradient(-90deg, #f9f9f9, #dddbdb);
1196
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
1197
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f9f9f9, endColorstr=#dddbdb);
1198
+ text-shadow: white 0 1px 0;
1199
+ color: #777; }
1200
+ form a.clear_filters_btn:hover {
1201
+ color: #fff;
1202
+ box-shadow: 0 1px 3px #888888;
1203
+ -moz-box-shadow: 0 1px 3px #888888;
1204
+ -webkit-box-shadow: 0 1px 3px #888888; }
1205
+ form a.clear_filters_btn:hover span.icon svg path, form a.clear_filters_btn:hover span.icon svg polygon, form a.clear_filters_btn:hover span.icon svg rect, form a.clear_filters_btn:hover span.icon svg circle {
1206
+ fill: white !important; }
1207
+ form a.clear_filters_btn:active {
1208
+ box-shadow: inset 0 1px 2px black;
1209
+ -moz-box-shadow: inset 0 1px 2px black;
1210
+ -webkit-box-shadow: inset 0 1px 2px black; }
1211
+ form a.clear_filters_btn:hover {
1212
+ color: #444; }
1213
+ form a.clear_filters_btn:hover span.icon svg path, form a.clear_filters_btn:hover span.icon svg polygon, form a.clear_filters_btn:hover span.icon svg rect, form a.clear_filters_btn:hover span.icon svg circle {
1214
+ fill: #444444 !important; }
1215
+ form a.clear_filters_btn:active {
1216
+ box-shadow: inset 0 1px 2px #aaaaaa;
1217
+ -moz-box-shadow: inset 0 1px 2px #aaaaaa;
1218
+ -webkit-box-shadow: inset 0 1px 2px #aaaaaa; }
1219
+
1220
+ body.logged_out {
1221
+ background: #e8e9ea; }
1222
+ body.logged_out #content_wrapper {
1223
+ width: 500px;
1224
+ margin: 70px auto; }
1225
+ body.logged_out #content_wrapper #active_admin_content {
1226
+ box-shadow: 0 1px 2px #aaaaaa;
1227
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1228
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1229
+ background: #fff;
1230
+ padding: 13px 30px; }
1231
+ body.logged_out h2 {
1232
+ background: #efefef;
1233
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
1234
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
1235
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1236
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1237
+ box-shadow: 0 1px 2px #aaaaaa;
1238
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1239
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1240
+ text-shadow: white 0 1px 0;
1241
+ border-bottom: 1px solid #ededed;
1242
+ padding: 5px 10px 3px 10px;
1243
+ font-size: 1.0em;
1244
+ font-weight: bold;
1245
+ line-height: 140%;
1246
+ margin-bottom: 0.5em;
1247
+ color: #5e6469;
1248
+ background: #6a7176;
1249
+ background: -webkit-gradient(linear, left top, left bottom, from(#6a7176), to(#4d5256));
1250
+ background: -moz-linear-gradient(-90deg, #6a7176, #4d5256);
1251
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
1252
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
1253
+ border-bottom: 1px solid #44484b;
1254
+ text-shadow: black 0 1px 0;
1255
+ color: #fff;
1256
+ margin: -13px -30px 20px -30px; }
1257
+ body.logged_out h2 span.icon svg path, body.logged_out h2 span.icon svg polygon, body.logged_out h2 span.icon svg rect, body.logged_out h2 span.icon svg circle {
1258
+ fill: #5e6469 !important; }
1259
+ body.logged_out h2 span.icon {
1260
+ width: 1em;
1261
+ height: 1em; }
1262
+ body.logged_out h2 span.icon svg {
1263
+ width: 1em;
1264
+ height: 1em; }
1265
+ body.logged_out h2 span.icon {
1266
+ margin-right: 5px; }
1267
+ body.logged_out .flash {
1268
+ box-shadow: none;
1269
+ -moz-box-shadow: none;
1270
+ -webkit-box-shadow: none;
1271
+ text-shadow: white 0 1px 0;
1272
+ padding: 0;
1273
+ color: #666;
1274
+ background: none; }
1275
+ body.logged_out #login {
1276
+ /* Login Form */ }
1277
+ body.logged_out #login form fieldset {
1278
+ box-shadow: none;
1279
+ -moz-box-shadow: none;
1280
+ -webkit-box-shadow: none;
1281
+ background: none;
1282
+ padding: 0;
1283
+ margin-bottom: 0; }
1284
+ body.logged_out #login form fieldset li {
1285
+ padding: 10px 0; }
1286
+ body.logged_out #login form fieldset input[type=text], body.logged_out #login form fieldset input[type=email], body.logged_out #login form fieldset input[type=password] {
1287
+ width: 70%; }
1288
+ body.logged_out #login form fieldset.buttons {
1289
+ margin-left: 20%; }
1290
+ body.logged_out #login a {
1291
+ float: right;
1292
+ margin-top: -32px; }
1293
+
1294
+ .ui-datepicker {
1295
+ background: #6a7176;
1296
+ background: -webkit-gradient(linear, left top, left bottom, from(#6a7176), to(#4d5256));
1297
+ background: -moz-linear-gradient(-90deg, #6a7176, #4d5256);
1298
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
1299
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6a7176, endColorstr=#4d5256);
1300
+ border-bottom: 1px solid #44484b;
1301
+ padding: 5px 5px 0 5px;
1302
+ color: #fff;
1303
+ display: none; }
1304
+ .ui-datepicker a {
1305
+ color: #fff;
1306
+ text-decoration: none; }
1307
+ .ui-datepicker a:hover {
1308
+ cursor: pointer; }
1309
+ .ui-datepicker a.ui-datepicker-prev {
1310
+ float: left; }
1311
+ .ui-datepicker a.ui-datepicker-next {
1312
+ float: right; }
1313
+ .ui-datepicker .ui-datepicker-title {
1314
+ text-align: center;
1315
+ display: block; }
1316
+ .ui-datepicker table td, .ui-datepicker table th {
1317
+ padding: 1px 3px; }
1318
+ .ui-datepicker table td {
1319
+ border: none; }
1320
+
1321
+ table.dashboard {
1322
+ width: 100%; }
1323
+ table.dashboard td {
1324
+ border-bottom: none; }
1325
+ table.dashboard .dashboard_section {
1326
+ background: #f4f4f4;
1327
+ -webkit-border-radius: 4px;
1328
+ -moz-border-radius: 4px;
1329
+ border-radius: 4px;
1330
+ box-shadow: inset 0 1px 4px #dddddd;
1331
+ -moz-box-shadow: inset 0 1px 4px #dddddd;
1332
+ -webkit-box-shadow: inset 0 1px 4px #dddddd;
1333
+ margin-bottom: 20px; }
1334
+ table.dashboard .dashboard_section h3 {
1335
+ background: #efefef;
1336
+ background: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#dfe1e2));
1337
+ background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
1338
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1339
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#efefef, endColorstr=#dfe1e2);
1340
+ box-shadow: 0 1px 2px #aaaaaa;
1341
+ -moz-box-shadow: 0 1px 2px #aaaaaa;
1342
+ -webkit-box-shadow: 0 1px 2px #aaaaaa;
1343
+ text-shadow: white 0 1px 0;
1344
+ border-bottom: 1px solid #ededed;
1345
+ padding: 5px 10px 3px 10px;
1346
+ font-size: 1.0em;
1347
+ font-weight: bold;
1348
+ line-height: 140%;
1349
+ margin-bottom: 0.5em;
1350
+ color: #5e6469; }
1351
+ table.dashboard .dashboard_section h3 span.icon svg path, table.dashboard .dashboard_section h3 span.icon svg polygon, table.dashboard .dashboard_section h3 span.icon svg rect, table.dashboard .dashboard_section h3 span.icon svg circle {
1352
+ fill: #5e6469 !important; }
1353
+ table.dashboard .dashboard_section h3 span.icon {
1354
+ width: 1em;
1355
+ height: 1em; }
1356
+ table.dashboard .dashboard_section h3 span.icon svg {
1357
+ width: 1em;
1358
+ height: 1em; }
1359
+ table.dashboard .dashboard_section h3 span.icon {
1360
+ margin-right: 5px; }
1361
+ table.dashboard .dashboard_section > div {
1362
+ padding: 3px 15px 15px 15px; }
1363
+
1364
+ .attributes_table {
1365
+ overflow: hidden; }
1366
+
1367
+ .attributes_table table th, .attributes_table table td {
1368
+ padding: 8px 12px 6px 12px;
1369
+ vertical-align: top;
1370
+ border-bottom: 1px solid #e8e8e8; }
1371
+ .attributes_table table th {
1372
+ box-shadow: none;
1373
+ -moz-box-shadow: none;
1374
+ -webkit-box-shadow: none;
1375
+ background: none;
1376
+ width: 150px;
1377
+ font-size: 0.9em;
1378
+ padding-left: 0;
1379
+ text-transform: uppercase;
1380
+ color: #5e6469;
1381
+ text-shadow: white 0 1px 0; }
1382
+ .attributes_table table td .empty {
1383
+ color: #bbb;
1384
+ font-size: 0.8em;
1385
+ text-transform: uppercase;
1386
+ letter-spacing: 0.2em; }
1387
+
1388
+ .sidebar_section .attributes_table th {
1389
+ width: 50px; }
1390
+
1391
+ .status {
1392
+ background: #cacaca;
1393
+ color: #fff;
1394
+ text-transform: uppercase;
1395
+ letter-spacing: 0.15em;
1396
+ padding: 3px 5px 2px 5px;
1397
+ font-size: 0.8em; }
1398
+ .status.published, .status.complete, .status.completed, .status.green {
1399
+ background: #8daa92; }
1400
+ .status.error, .status.errored, .status.red {
1401
+ background: #d45f53; }
1402
+
1403
+ .scopes {
1404
+ float: left;
1405
+ margin-bottom: 10px;
1406
+ font-size: 1.0em; }
1407
+ .scopes .scope {
1408
+ padding: 4px 8px 3px 8px;
1409
+ margin-right: 4px; }
1410
+ .scopes .scope a {
1411
+ text-decoration: none;
1412
+ font-weight: bold;
1413
+ color: #888; }
1414
+ .scopes .scope a:hover {
1415
+ text-decoration: underline; }
1416
+ .scopes .scope.selected {
1417
+ -webkit-border-radius: 5px;
1418
+ -moz-border-radius: 5px;
1419
+ border-radius: 5px;
1420
+ box-shadow: inset 0 1px 0 #cccccc;
1421
+ -moz-box-shadow: inset 0 1px 0 #cccccc;
1422
+ -webkit-box-shadow: inset 0 1px 0 #cccccc;
1423
+ text-shadow: white 0 1px 0;
1424
+ background: #efefef;
1425
+ color: #666; }
1426
+ .scopes .scope.selected em {
1427
+ font-weight: bold;
1428
+ font-style: normal; }
1429
+ .scopes .scope .count {
1430
+ color: #aaa;
1431
+ font-size: 0.9em; }
1432
+ .scopes .scopes_seperator {
1433
+ display: none; }
1434
+
1435
+ .columns {
1436
+ clear: both;
1437
+ padding: 0; }
1438
+ .columns .column {
1439
+ float: left; }
1440
+
1441
+ /* Custom Styles */
1442
+ .index_content {
1443
+ overflow: auto;
1444
+ }
1445
+