install_theme 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +145 -0
  3. data/lib/install_theme.rb +43 -13
  4. data/spec/expected/rails/bloganje/app/views/layouts/application.html.haml +90 -0
  5. data/spec/expected/rails/bloganje/public/stylesheets/ie-sucks.css +140 -21
  6. data/spec/expected/rails/bloganje/public/stylesheets/sass/style.sass +479 -0
  7. data/spec/expected/rails/djclub/README +243 -0
  8. data/spec/expected/rails/djclub/Rakefile +10 -0
  9. data/spec/expected/rails/djclub/app/controllers/application_controller.rb +10 -0
  10. data/spec/expected/rails/djclub/app/helpers/application_helper.rb +3 -0
  11. data/spec/expected/rails/djclub/app/views/layouts/application.html.erb +19 -0
  12. data/spec/expected/rails/djclub/config/boot.rb +110 -0
  13. data/spec/expected/rails/djclub/config/database.yml +22 -0
  14. data/spec/expected/rails/djclub/config/environment.rb +41 -0
  15. data/spec/expected/rails/djclub/config/environments/development.rb +17 -0
  16. data/spec/expected/rails/djclub/config/environments/production.rb +28 -0
  17. data/spec/expected/rails/djclub/config/environments/test.rb +28 -0
  18. data/spec/expected/rails/djclub/config/initializers/backtrace_silencers.rb +7 -0
  19. data/spec/expected/rails/djclub/config/initializers/inflections.rb +10 -0
  20. data/spec/expected/rails/djclub/config/initializers/mime_types.rb +5 -0
  21. data/spec/expected/rails/djclub/config/initializers/new_rails_defaults.rb +21 -0
  22. data/spec/expected/rails/djclub/config/initializers/session_store.rb +15 -0
  23. data/spec/expected/rails/djclub/config/locales/en.yml +5 -0
  24. data/spec/expected/rails/djclub/config/routes.rb +43 -0
  25. data/spec/expected/rails/djclub/db/seeds.rb +7 -0
  26. data/spec/expected/rails/djclub/doc/README_FOR_APP +2 -0
  27. data/spec/expected/rails/djclub/public/404.html +30 -0
  28. data/spec/expected/rails/djclub/public/422.html +30 -0
  29. data/spec/expected/rails/djclub/public/500.html +30 -0
  30. data/spec/expected/rails/djclub/public/favicon.ico +0 -0
  31. data/spec/expected/rails/djclub/public/images/bodybg.gif +0 -0
  32. data/spec/expected/rails/djclub/public/images/contentbg.gif +0 -0
  33. data/spec/expected/rails/djclub/public/images/djset.gif +0 -0
  34. data/spec/expected/rails/djclub/public/images/footerbg.gif +0 -0
  35. data/spec/expected/rails/djclub/public/images/header.jpg +0 -0
  36. data/spec/expected/rails/djclub/public/images/leftbg.gif +0 -0
  37. data/spec/expected/rails/djclub/public/images/middlebg.gif +0 -0
  38. data/spec/expected/rails/djclub/public/images/navbottom.gif +0 -0
  39. data/spec/expected/rails/djclub/public/images/navtop.gif +0 -0
  40. data/spec/expected/rails/djclub/public/images/photos.jpg +0 -0
  41. data/spec/expected/rails/djclub/public/images/rails.png +0 -0
  42. data/spec/expected/rails/djclub/public/images/rightbg.gif +0 -0
  43. data/spec/expected/rails/djclub/public/images/timetoparty.jpg +0 -0
  44. data/spec/expected/rails/djclub/public/index.html +275 -0
  45. data/spec/expected/rails/djclub/public/javascripts/application.js +2 -0
  46. data/spec/expected/rails/djclub/public/javascripts/controls.js +963 -0
  47. data/spec/expected/rails/djclub/public/javascripts/dragdrop.js +973 -0
  48. data/spec/expected/rails/djclub/public/javascripts/effects.js +1128 -0
  49. data/spec/expected/rails/djclub/public/javascripts/prototype.js +4320 -0
  50. data/spec/expected/rails/djclub/public/robots.txt +5 -0
  51. data/spec/expected/rails/djclub/public/stylesheets/style.css +191 -0
  52. data/spec/expected/rails/djclub/script/about +4 -0
  53. data/spec/expected/rails/djclub/script/console +3 -0
  54. data/spec/expected/rails/djclub/script/dbconsole +3 -0
  55. data/spec/expected/rails/djclub/script/destroy +3 -0
  56. data/spec/expected/rails/djclub/script/generate +3 -0
  57. data/spec/expected/rails/djclub/script/performance/benchmarker +3 -0
  58. data/spec/expected/rails/djclub/script/performance/profiler +3 -0
  59. data/spec/expected/rails/djclub/script/plugin +3 -0
  60. data/spec/expected/rails/djclub/script/runner +3 -0
  61. data/spec/expected/rails/djclub/script/server +3 -0
  62. data/spec/expected/rails/djclub/test/performance/browsing_test.rb +9 -0
  63. data/spec/expected/rails/djclub/test/test_helper.rb +38 -0
  64. data/spec/expected/rails/the-hobbit-website-template/README +243 -0
  65. data/spec/expected/rails/the-hobbit-website-template/Rakefile +10 -0
  66. data/spec/expected/rails/the-hobbit-website-template/app/controllers/application_controller.rb +10 -0
  67. data/spec/expected/rails/the-hobbit-website-template/app/helpers/application_helper.rb +3 -0
  68. data/spec/expected/rails/the-hobbit-website-template/app/views/layouts/application.html.erb +53 -0
  69. data/spec/expected/rails/the-hobbit-website-template/config/boot.rb +110 -0
  70. data/spec/expected/rails/the-hobbit-website-template/config/database.yml +22 -0
  71. data/spec/expected/rails/the-hobbit-website-template/config/environment.rb +41 -0
  72. data/spec/expected/rails/the-hobbit-website-template/config/environments/development.rb +17 -0
  73. data/spec/expected/rails/the-hobbit-website-template/config/environments/production.rb +28 -0
  74. data/spec/expected/rails/the-hobbit-website-template/config/environments/test.rb +28 -0
  75. data/spec/expected/rails/the-hobbit-website-template/config/initializers/backtrace_silencers.rb +7 -0
  76. data/spec/expected/rails/the-hobbit-website-template/config/initializers/inflections.rb +10 -0
  77. data/spec/expected/rails/the-hobbit-website-template/config/initializers/mime_types.rb +5 -0
  78. data/spec/expected/rails/the-hobbit-website-template/config/initializers/new_rails_defaults.rb +21 -0
  79. data/spec/expected/rails/the-hobbit-website-template/config/initializers/session_store.rb +15 -0
  80. data/spec/expected/rails/the-hobbit-website-template/config/locales/en.yml +5 -0
  81. data/spec/expected/rails/the-hobbit-website-template/config/routes.rb +43 -0
  82. data/spec/expected/rails/the-hobbit-website-template/db/seeds.rb +7 -0
  83. data/spec/expected/rails/the-hobbit-website-template/doc/README_FOR_APP +2 -0
  84. data/spec/expected/rails/the-hobbit-website-template/public/404.html +30 -0
  85. data/spec/expected/rails/the-hobbit-website-template/public/422.html +30 -0
  86. data/spec/expected/rails/the-hobbit-website-template/public/500.html +30 -0
  87. data/spec/expected/rails/the-hobbit-website-template/public/favicon.ico +0 -0
  88. data/spec/expected/rails/the-hobbit-website-template/public/images/bg.jpg +0 -0
  89. data/spec/expected/rails/the-hobbit-website-template/public/images/bgcontainer.jpg +0 -0
  90. data/spec/expected/rails/the-hobbit-website-template/public/images/bgcontent.gif +0 -0
  91. data/spec/expected/rails/the-hobbit-website-template/public/images/bgfooter.gif +0 -0
  92. data/spec/expected/rails/the-hobbit-website-template/public/images/divider.gif +0 -0
  93. data/spec/expected/rails/the-hobbit-website-template/public/images/gfx.jpg +0 -0
  94. data/spec/expected/rails/the-hobbit-website-template/public/images/header.jpg +0 -0
  95. data/spec/expected/rails/the-hobbit-website-template/public/images/map.jpg +0 -0
  96. data/spec/expected/rails/the-hobbit-website-template/public/images/pattern.gif +0 -0
  97. data/spec/expected/rails/the-hobbit-website-template/public/images/quote.gif +0 -0
  98. data/spec/expected/rails/the-hobbit-website-template/public/images/rails.png +0 -0
  99. data/spec/expected/rails/the-hobbit-website-template/public/images/stripes.gif +0 -0
  100. data/spec/expected/rails/the-hobbit-website-template/public/index.html +275 -0
  101. data/spec/expected/rails/the-hobbit-website-template/public/javascripts/application.js +2 -0
  102. data/spec/expected/rails/the-hobbit-website-template/public/javascripts/controls.js +963 -0
  103. data/spec/expected/rails/the-hobbit-website-template/public/javascripts/dragdrop.js +973 -0
  104. data/spec/expected/rails/the-hobbit-website-template/public/javascripts/effects.js +1128 -0
  105. data/spec/expected/rails/the-hobbit-website-template/public/javascripts/prototype.js +4320 -0
  106. data/spec/expected/rails/the-hobbit-website-template/public/robots.txt +5 -0
  107. data/spec/expected/rails/the-hobbit-website-template/public/stylesheets/default.css +185 -0
  108. data/spec/expected/rails/the-hobbit-website-template/script/about +4 -0
  109. data/spec/expected/rails/the-hobbit-website-template/script/console +3 -0
  110. data/spec/expected/rails/the-hobbit-website-template/script/dbconsole +3 -0
  111. data/spec/expected/rails/the-hobbit-website-template/script/destroy +3 -0
  112. data/spec/expected/rails/the-hobbit-website-template/script/generate +3 -0
  113. data/spec/expected/rails/the-hobbit-website-template/script/performance/benchmarker +3 -0
  114. data/spec/expected/rails/the-hobbit-website-template/script/performance/profiler +3 -0
  115. data/spec/expected/rails/the-hobbit-website-template/script/plugin +3 -0
  116. data/spec/expected/rails/the-hobbit-website-template/script/runner +3 -0
  117. data/spec/expected/rails/the-hobbit-website-template/script/server +3 -0
  118. data/spec/expected/rails/the-hobbit-website-template/test/performance/browsing_test.rb +9 -0
  119. data/spec/expected/rails/the-hobbit-website-template/test/test_helper.rb +38 -0
  120. data/spec/fixtures/djclub/djclub.psd +0 -0
  121. data/spec/fixtures/djclub/images/bodybg.gif +0 -0
  122. data/spec/fixtures/djclub/images/contentbg.gif +0 -0
  123. data/spec/fixtures/djclub/images/djset.gif +0 -0
  124. data/spec/fixtures/djclub/images/footerbg.gif +0 -0
  125. data/spec/fixtures/djclub/images/header.jpg +0 -0
  126. data/spec/fixtures/djclub/images/leftbg.gif +0 -0
  127. data/spec/fixtures/djclub/images/middlebg.gif +0 -0
  128. data/spec/fixtures/djclub/images/navbottom.gif +0 -0
  129. data/spec/fixtures/djclub/images/navtop.gif +0 -0
  130. data/spec/fixtures/djclub/images/photos.jpg +0 -0
  131. data/spec/fixtures/djclub/images/rightbg.gif +0 -0
  132. data/spec/fixtures/djclub/images/timetoparty.jpg +0 -0
  133. data/spec/fixtures/djclub/index.html +54 -0
  134. data/spec/fixtures/djclub/style.css +191 -0
  135. data/spec/fixtures/the-hobbit-website-template/default.css +185 -0
  136. data/spec/fixtures/the-hobbit-website-template/img/bg.jpg +0 -0
  137. data/spec/fixtures/the-hobbit-website-template/img/bgcontainer.jpg +0 -0
  138. data/spec/fixtures/the-hobbit-website-template/img/bgcontent.gif +0 -0
  139. data/spec/fixtures/the-hobbit-website-template/img/bgfooter.gif +0 -0
  140. data/spec/fixtures/the-hobbit-website-template/img/divider.gif +0 -0
  141. data/spec/fixtures/the-hobbit-website-template/img/gfx.jpg +0 -0
  142. data/spec/fixtures/the-hobbit-website-template/img/header.jpg +0 -0
  143. data/spec/fixtures/the-hobbit-website-template/img/map.jpg +0 -0
  144. data/spec/fixtures/the-hobbit-website-template/img/pattern.gif +0 -0
  145. data/spec/fixtures/the-hobbit-website-template/img/quote.gif +0 -0
  146. data/spec/fixtures/the-hobbit-website-template/img/stripes.gif +0 -0
  147. data/spec/fixtures/the-hobbit-website-template/index.html +158 -0
  148. data/spec/fixtures/the-hobbit-website-template/license-readme.txt +53 -0
  149. data/spec/install_theme_haml_spec.rb +43 -0
  150. data/spec/install_theme_spec.rb +1 -1
  151. metadata +146 -1
@@ -0,0 +1,479 @@
1
+ *
2
+ margin: 0
3
+ padding: 0
4
+
5
+
6
+ img, div, a
7
+ behavior: url(css/iepngfix.htc)
8
+
9
+
10
+ body
11
+ font-size: 12px
12
+ font-family: Arial, Tahoma, Verdana
13
+
14
+
15
+ a
16
+ text-decoration: none
17
+
18
+ &:visited
19
+ text-decoration: none
20
+
21
+
22
+ img
23
+ border: 0
24
+ margin: 1px
25
+
26
+
27
+ p
28
+ padding: 3px
29
+
30
+
31
+ h2
32
+
33
+ input, select
34
+ padding: 2px
35
+
36
+
37
+ #container
38
+ width: 960px
39
+ margin-left: auto
40
+ margin-right: auto
41
+
42
+
43
+ #header
44
+ width: 960px
45
+
46
+ h2
47
+ margin-top: 20px
48
+
49
+
50
+ #content
51
+ width: 740px
52
+ float: left
53
+ margin: 10px 0 10px 0
54
+ padding: 10px
55
+
56
+
57
+ #sidebar
58
+ background: #FFF
59
+ width: 170px
60
+ float: right
61
+ margin: 10px 0 10px 0
62
+ padding: 10px
63
+
64
+
65
+ #footer
66
+ clear: both
67
+ padding: 5px
68
+ margin-top: 10px
69
+
70
+
71
+ #box h3
72
+ padding: 5px
73
+ font-size: 14px
74
+
75
+
76
+ #sidebar
77
+ ul
78
+ list-style: none
79
+ line-height: 22px
80
+
81
+ li
82
+ a
83
+ padding-left: 19px
84
+ text-decoration: none
85
+ margin: 0 3px
86
+ display: block
87
+
88
+ &:visited
89
+ padding-left: 19px
90
+ text-decoration: none
91
+ margin: 0 3px
92
+ display: block
93
+
94
+ &:hover
95
+ text-decoration: underline
96
+
97
+ ul
98
+ margin-left: 10px
99
+
100
+ h3
101
+ padding: 2px
102
+ font-size: 14px
103
+
104
+
105
+ #topmenu
106
+ margin-top: 33px
107
+ width: 700px
108
+ float: left
109
+ voice-family: inherit
110
+
111
+ ul
112
+ list-style: none
113
+ line-height: 25px
114
+
115
+ li
116
+ display: inline
117
+
118
+ a
119
+ padding: 5px 12px 5px 12px
120
+ text-decoration: none
121
+
122
+ &:visited
123
+ padding: 5px 12px 5px 12px
124
+ text-decoration: none
125
+
126
+ .current a
127
+ padding: 5px 12px 5px 12px
128
+ font-weight: bold
129
+
130
+ &:hover, &:visited
131
+ padding: 5px 12px 5px 12px
132
+ font-weight: bold
133
+
134
+
135
+ #top-panel
136
+ background: #FFF
137
+ padding: 5px
138
+ height: 20px
139
+ float: left
140
+ width: 950px
141
+
142
+ ul
143
+ list-style: none
144
+
145
+ li
146
+ display: inline
147
+ line-height: 20px
148
+
149
+ a
150
+ padding-left: 19px
151
+ text-decoration: none
152
+ margin: 0 3px
153
+ display: inline-block
154
+
155
+ a:hover
156
+ text-decoration: underline
157
+
158
+
159
+ .a-right
160
+ text-align: right
161
+
162
+
163
+ .a-left
164
+ text-align: left
165
+
166
+
167
+ .a-center
168
+ text-align: center
169
+
170
+
171
+ #pager
172
+ margin: 5px
173
+ height: 25px
174
+
175
+
176
+ #styleswitcher
177
+ float: right
178
+
179
+ ul
180
+ list-style: none
181
+ line-height: 10px
182
+
183
+ li
184
+ height: 12px
185
+ display: inline
186
+
187
+
188
+ #footer
189
+ ul
190
+ list-style: none
191
+
192
+ li
193
+ display: inline
194
+
195
+
196
+ a
197
+ &#defswitch
198
+ width: 15px
199
+ height: 10px
200
+ margin: 3px 0 3px 0
201
+ background-color: #bd3f09
202
+ font-size: 8px
203
+ color: #bd3f09
204
+ display: inline-block
205
+
206
+ &#blueswitch
207
+ width: 15px
208
+ height: 10px
209
+ margin: 3px 0 3px 0
210
+ background-color: #375b91
211
+ font-size: 8px
212
+ color: #375b91
213
+ display: inline-block
214
+
215
+ &#greenswitch
216
+ width: 15px
217
+ height: 10px
218
+ margin: 3px 0 3px 0
219
+ background-color: #d0e0b8
220
+ font-size: 8px
221
+ color: #d0e0b8
222
+ display: inline-block
223
+
224
+ &#brownswitch
225
+ width: 15px
226
+ height: 10px
227
+ margin: 3px 0 3px 0
228
+ background-color: #654322
229
+ font-size: 8px
230
+ color: #654322
231
+ display: inline-block
232
+
233
+ &#mixswitch
234
+ width: 15px
235
+ height: 10px
236
+ margin: 3px 0 3px 0
237
+ background-color: #294145
238
+ font-size: 8px
239
+ color: #294145
240
+ display: inline-block
241
+
242
+
243
+ #credits
244
+ clear: both
245
+ width: 200px
246
+ float: left
247
+
248
+
249
+ table
250
+ margin: 5px
251
+ border-collapse: collapse
252
+ table-layout: automatic
253
+ width: 98%
254
+
255
+
256
+ td, th
257
+ padding: 2px
258
+
259
+
260
+ thead
261
+
262
+ #infowrap li
263
+ display: inline:
264
+
265
+
266
+
267
+ #infobox
268
+ width: 365px
269
+ float: left
270
+ margin-top: 10px
271
+
272
+ h3
273
+ padding: 5px
274
+ font-size: 14px
275
+
276
+
277
+ .margin-left
278
+ margin-left: 5px
279
+
280
+
281
+ #rightnow
282
+ .reallynow
283
+ padding: 5px
284
+ font-size: 14px
285
+
286
+ h3
287
+ padding: 2px
288
+ padding: 0 10px
289
+ font-size: 14px
290
+
291
+ .reallynow
292
+ span
293
+ display: block
294
+ text-align: left
295
+ float: left
296
+ padding: 0 2px
297
+ font-size: 14px
298
+
299
+
300
+ a
301
+ text-decoration: none
302
+ display: block
303
+ text-align: right
304
+ float: right
305
+ padding: 0 0 0 18px
306
+ margin-left: 4px
307
+ font-weight: normal
308
+ font-size: 12px
309
+
310
+ &:hover
311
+ text-decoration: underline
312
+
313
+ .youhave
314
+ font-size: 12px
315
+ padding: 10px
316
+
317
+ a
318
+ font-weight: bold
319
+
320
+
321
+ form
322
+ padding: 10px
323
+ margin: 0 auto
324
+
325
+ &#form
326
+ fieldset
327
+ display: block
328
+ padding: 5px 10px 5px 10px
329
+ line-height: 20px
330
+ margin-bottom: 10px
331
+
332
+ legend
333
+ font-size: 12px
334
+ font-weight: bold
335
+ margin-bottom: 5px
336
+ padding: 3px
337
+ width: 254px
338
+
339
+ label
340
+ clear: left
341
+ display: block
342
+ float: left
343
+ width: 100px
344
+ text-align: right
345
+ padding-right: 10px
346
+ margin-bottom: 5px
347
+
348
+ input
349
+ padding: 3px
350
+ margin-bottom: 5px
351
+
352
+ select
353
+ margin-left: 5px
354
+
355
+ textarea
356
+ width: 410px
357
+ height: 200px
358
+ padding: 5px
359
+ overflow: auto
360
+
361
+ option
362
+ background: #FFF
363
+
364
+ optgroup option
365
+ #button1, #button2
366
+ padding-right: 5px
367
+ cursor: pointer
368
+ width: 205px
369
+ margin-left: 8px
370
+ font-weight: bold
371
+
372
+ #button1:hover, #button2:hover
373
+ background-position: center left
374
+
375
+
376
+ .icon
377
+ padding-left: 19px
378
+ text-decoration: none
379
+ height: 20px
380
+ font-size: 12x
381
+ margin: 0 3px
382
+ display: inline-block
383
+ line-height: 20px
384
+
385
+
386
+ .user
387
+ background: transparent url(/images/icons/user.png) no-repeat left
388
+
389
+
390
+ .useradd
391
+ background: transparent url(/images/icons/user_add.png) no-repeat left
392
+
393
+
394
+ .group
395
+ background: transparent url(/images/icons/group.png) no-repeat left
396
+
397
+
398
+ .search
399
+ background: transparent url(/images/icons/magnifier.png) no-repeat left
400
+
401
+
402
+ .online
403
+ background: transparent url(/images/icons/world.png) no-repeat left
404
+
405
+
406
+ .pagenew
407
+ background: transparent url(/images/icons/page_add.png) no-repeat left
408
+
409
+
410
+ .rss
411
+ background: transparent url(/images/icons/rss.png) no-repeat left
412
+
413
+
414
+ .feed
415
+ background: transparent url(/images/icons/feed.png) no-repeat left
416
+
417
+
418
+ .report
419
+ background: transparent url(/images/icons/report.png) no-repeat left
420
+
421
+
422
+ .house
423
+ background: transparent url(/images/icons/house.png) no-repeat left
424
+
425
+
426
+ .manage
427
+ background: transparent url(/images/icons/cog.png) no-repeat left
428
+
429
+
430
+ .manage_page
431
+ background: transparent url(/images/icons/page_gear.png) no-repeat left
432
+
433
+
434
+ .folder
435
+ background: transparent url(/images/icons/folder.png) no-repeat left
436
+
437
+
438
+ .promotions
439
+ background: transparent url(/images/icons/coins.png) no-repeat left
440
+
441
+
442
+ .cart
443
+ background: transparent url(/images/icons/cart.png) no-repeat left
444
+
445
+
446
+ .folder_table
447
+ background: transparent url(/images/icons/folder_page.png) no-repeat left
448
+
449
+
450
+ .shipping
451
+ background: transparent url(/images/icons/car.png) no-repeat left
452
+
453
+
454
+ .invoices
455
+ background: transparent url(/images/icons/page_white_text_width.png) no-repeat left
456
+
457
+
458
+ .addorder
459
+ background: transparent url(/images/icons/folder_page_add.png) no-repeat left
460
+
461
+
462
+ .add
463
+ background: transparent url(/images/icons/add.png) no-repeat left
464
+
465
+
466
+ .app_add
467
+ background: transparent url(/images/icons/application_add.png) no-repeat left
468
+
469
+
470
+ .report_seo
471
+ background: transparent url(/images/icons/report_link.png) no-repeat left
472
+
473
+
474
+ .modules
475
+ background: transparent url(/images/icons/bricks.png) no-repeat left
476
+
477
+
478
+ .modules_manage
479
+ background: transparent url(/images/icons/bricks_gear.png) no-repeat left