alchemy-demo_kit 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/README.md +12 -0
  2. data/Rakefile +8 -0
  3. data/app/assets/stylesheets/alchemy/demo_kit.scss +440 -0
  4. data/app/views/alchemy/elements/_article_editor.html.erb +11 -0
  5. data/app/views/alchemy/elements/_article_view.html.erb +25 -0
  6. data/app/views/alchemy/elements/_bild_editor.html.erb +1 -0
  7. data/app/views/alchemy/elements/_bild_text_editor.html.erb +7 -0
  8. data/app/views/alchemy/elements/_bild_text_view.html.erb +9 -0
  9. data/app/views/alchemy/elements/_bild_view.html.erb +9 -0
  10. data/app/views/alchemy/elements/_claim_editor.html.erb +1 -0
  11. data/app/views/alchemy/elements/_claim_view.html.erb +1 -0
  12. data/app/views/alchemy/elements/_contactform_editor.html.erb +4 -0
  13. data/app/views/alchemy/elements/_contactform_view.html.erb +78 -0
  14. data/app/views/alchemy/elements/_download_editor.html.erb +4 -0
  15. data/app/views/alchemy/elements/_download_view.html.erb +7 -0
  16. data/app/views/alchemy/elements/_footnote_editor.html.erb +1 -0
  17. data/app/views/alchemy/elements/_footnote_view.html.erb +5 -0
  18. data/app/views/alchemy/elements/_header_editor.html.erb +1 -0
  19. data/app/views/alchemy/elements/_header_view.html.erb +1 -0
  20. data/app/views/alchemy/elements/_headline_editor.html.erb +1 -0
  21. data/app/views/alchemy/elements/_headline_view.html.erb +1 -0
  22. data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +3 -0
  23. data/app/views/alchemy/elements/_image_mosaic_view.html.erb +14 -0
  24. data/app/views/alchemy/elements/_intro_editor.html.erb +1 -0
  25. data/app/views/alchemy/elements/_intro_image_text_editor.html.erb +3 -0
  26. data/app/views/alchemy/elements/_intro_image_text_view.html.erb +16 -0
  27. data/app/views/alchemy/elements/_intro_view.html.erb +3 -0
  28. data/app/views/alchemy/elements/_news_editor.html.erb +3 -0
  29. data/app/views/alchemy/elements/_news_view.html.erb +11 -0
  30. data/app/views/alchemy/elements/_searchresult_editor.html.erb +4 -0
  31. data/app/views/alchemy/elements/_searchresult_view.html.erb +4 -0
  32. data/app/views/alchemy/elements/_sitemap_editor.html.erb +3 -0
  33. data/app/views/alchemy/elements/_sitemap_view.html.erb +38 -0
  34. data/app/views/alchemy/elements/_sitename_editor.html.erb +1 -0
  35. data/app/views/alchemy/elements/_sitename_view.html.erb +1 -0
  36. data/app/views/alchemy/elements/_subheadline_editor.html.erb +1 -0
  37. data/app/views/alchemy/elements/_subheadline_view.html.erb +5 -0
  38. data/app/views/alchemy/elements/_text_editor.html.erb +1 -0
  39. data/app/views/alchemy/elements/_text_view.html.erb +3 -0
  40. data/app/views/alchemy/page_layouts/_contact.html.erb +14 -0
  41. data/app/views/alchemy/page_layouts/_intro.html.erb +14 -0
  42. data/app/views/alchemy/page_layouts/_layout_footer.html.erb +14 -0
  43. data/app/views/alchemy/page_layouts/_layout_header.html.erb +14 -0
  44. data/app/views/alchemy/page_layouts/_news.html.erb +14 -0
  45. data/app/views/alchemy/page_layouts/_newsletter_layout.html.erb +1 -0
  46. data/app/views/alchemy/page_layouts/_search.html.erb +14 -0
  47. data/app/views/alchemy/page_layouts/_standard.html.erb +14 -0
  48. data/app/views/layouts/application.html.erb +50 -0
  49. data/config/alchemy/elements.yml +274 -0
  50. data/config/alchemy/page_layouts.yml +74 -0
  51. data/lib/alchemy/demo_kit.rb +6 -0
  52. data/lib/alchemy/demo_kit/engine.rb +6 -0
  53. data/lib/alchemy/demo_kit/version.rb +5 -0
  54. data/lib/rails/generators/alchemy/demo_kit_generator.rb +34 -0
  55. data/lib/tasks/alchemy/demo_kit/install.rake +10 -0
  56. metadata +124 -0
@@ -0,0 +1,12 @@
1
+ Alchemy CMS Demo Kit
2
+ ====================
3
+
4
+ The Alchemy CMS demo website from http://demo.alchemy-cms.com
5
+
6
+ Installation
7
+ ------------
8
+
9
+ Add `gem 'alchemy-demo_kit'` to you apps Gemfile and run:
10
+
11
+ $ bundle install
12
+ $ rails g alchemy:demo_kit
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+
8
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,440 @@
1
+ body {
2
+ margin: 0;
3
+ padding: 0;
4
+ font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
5
+ color: #3e3e3e;
6
+ }
7
+
8
+ .image_with_link a {
9
+ position: absolute;
10
+ z-index: 1;
11
+ height: 100%;
12
+ width: 600px;
13
+ display: block;
14
+ }
15
+
16
+ div.image_with_link {
17
+ position: relative;
18
+ }
19
+
20
+ .image_with_link a:hover {
21
+ border-width: 4px;
22
+ border-style: solid;
23
+ border-color: #ffa300;
24
+ background: transparent;
25
+ border-bottom-style: none;
26
+ border-top-style: none;
27
+ width: 592px;
28
+ }
29
+
30
+ a {
31
+ background-color: #ffa300;
32
+ color: #fff;
33
+ text-decoration: none;
34
+ }
35
+
36
+ a:hover {
37
+ background-color: transparent;
38
+ color: #333;
39
+ text-decoration: none;
40
+ }
41
+
42
+ a img {
43
+ border: none;
44
+ }
45
+
46
+ #breadcrump {
47
+ height: 22px;
48
+ text-align: right;
49
+ font: 10px "Lucida Grande", Lucida, Verdana, sans-serif;
50
+ margin-bottom: 12px;
51
+ float: right;
52
+ }
53
+
54
+ div#language_select {
55
+ height: 22px;
56
+ text-align: right;
57
+ font: 10px "Lucida Grande", Lucida, Verdana, sans-serif;
58
+ margin-bottom: 12px;
59
+ float: left;
60
+ }
61
+
62
+ #language_select a {
63
+ text-decoration: none;
64
+ float: left;
65
+ text-transform: uppercase;
66
+ padding-left: 4px;
67
+ padding-right: 4px;
68
+ padding-top: 12px;
69
+ }
70
+
71
+ #language_select span {
72
+ float: left;
73
+ padding-top: 12px;
74
+ }
75
+
76
+ #language_select a.active {
77
+ background-color: #c0c0c0;
78
+ }
79
+
80
+ #page {
81
+ width: 900px;
82
+ margin: 0 auto;
83
+ }
84
+
85
+ #breadcrump a {
86
+ text-decoration: none;
87
+ float: right;
88
+ padding-left: 4px;
89
+ padding-right: 4px;
90
+ padding-top: 12px;
91
+ }
92
+
93
+ #breadcrump a.active {
94
+ background-color: #c0c0c0;
95
+ }
96
+
97
+ #breadcrump span {
98
+ float: right;
99
+ padding-top: 12px;
100
+ }
101
+
102
+ #header {
103
+ width: 900px;
104
+ height: 300px;
105
+ margin-bottom: 50px;
106
+ clear: both;
107
+ }
108
+
109
+ div#header_image {
110
+ position: absolute;
111
+ z-index: 0;
112
+ }
113
+
114
+ #claim {
115
+ font: 24px "Lucida Grande", Lucida, Verdana, sans-serif;
116
+ color: #252525;
117
+ position: relative;
118
+ top: 30%;
119
+ text-transform: uppercase;
120
+ padding-top: 3px;
121
+ padding-bottom: 3px;
122
+ padding-left: 12px;
123
+ padding-right: 12px;
124
+ background: #fff none no-repeat;
125
+ float: left;
126
+ }
127
+
128
+ #navigation {
129
+ font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
130
+ color: #fdfdfd;
131
+ text-transform: uppercase;
132
+ position: absolute;
133
+ top: 215px;
134
+ z-index: 100;
135
+ }
136
+
137
+ #navigation ul {
138
+ margin: 0;
139
+ padding: 0;
140
+ background-color: white;
141
+ list-style-type: none;
142
+ float: left;
143
+ }
144
+
145
+ #navigation ul li:hover {
146
+ background-color: #ffa300;
147
+ }
148
+
149
+ #navigation ul.navigation.level_1 li {
150
+ display: inline;
151
+ float: left;
152
+ }
153
+
154
+ #navigation ul.navigation.level_2 li {
155
+ display: block;
156
+ float: none;
157
+ }
158
+
159
+ #navigation ul.navigation.level_3 li {
160
+
161
+ }
162
+
163
+ #navigation a.active {
164
+ background-color: #c0c0c0;
165
+ }
166
+
167
+ #navigation ul.navigation.level_2 > li.last {
168
+
169
+ }
170
+
171
+ #navigation ul li a {
172
+ padding: 6px;
173
+ display: block;
174
+ text-decoration: none;
175
+ color: #252525;
176
+ background-color: transparent;
177
+ }
178
+
179
+ #navigation ul li a:hover {
180
+ color: #fff;
181
+ }
182
+
183
+ #navigation ul.navigation.level_2 {
184
+ display: none;
185
+ position: absolute;
186
+ z-index: 10;
187
+ background-color: white;
188
+ -webkit-box-shadow: black -1px 4px 6px;
189
+ float: left;
190
+ clear: both;
191
+ }
192
+
193
+ #navigation ul.navigation.level_3 {
194
+ display: none;
195
+ z-index: 20;
196
+ background-color: white;
197
+ float: none;
198
+ }
199
+
200
+ #navigation ul.navigation.level_3 li {
201
+ padding-left: 20px;
202
+ }
203
+
204
+ #navigation ul.navigation.level_1 li:hover ul.navigation.level_2 {
205
+ display: block;
206
+ }
207
+
208
+ #navigation ul.navigation.level_2 li:hover ul.navigation.level_3 {
209
+ display: block;
210
+ }
211
+
212
+ #content {
213
+ width: 900px;
214
+ }
215
+
216
+ .article, .bild_text {
217
+ width: 900px;
218
+ overflow: hidden;
219
+ margin-bottom: 24px;
220
+ clear: both;
221
+ }
222
+
223
+ .intro {
224
+ color: #fff;
225
+ font: 24px "Lucida Grande", Lucida, Verdana, sans-serif;
226
+ background-color: #383838;
227
+ padding: 4px 12px;
228
+ float: left;
229
+ clear: both;
230
+ }
231
+
232
+ .intro p {
233
+ margin: 0;
234
+ padding: 0;
235
+ }
236
+
237
+ h1,
238
+ .headline {
239
+ color: #fff;
240
+ font: 26px "Lucida Grande", Lucida, Verdana, sans-serif;
241
+ text-transform: uppercase;
242
+ background: #383838;
243
+ float: left;
244
+ clear: both;
245
+ padding: 4px 12px;
246
+ margin-bottom: 0;
247
+ }
248
+
249
+ .text_bild_container {
250
+ clear: both;
251
+ }
252
+
253
+ .text_bild_container .image_caption {
254
+ width: 426px;
255
+ }
256
+
257
+ .image.left {
258
+ margin-right: 12px;
259
+ float: left;
260
+ }
261
+
262
+ .image.right {
263
+ margin-left: 12px;
264
+ float: right;
265
+ }
266
+
267
+ .image_caption,
268
+ .caption {
269
+ color: #fff;
270
+ font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
271
+ background-color: #383838;
272
+ clear: both;
273
+ padding: 2px 12px;
274
+ }
275
+
276
+ img {
277
+ display: block;
278
+ }
279
+
280
+ .article .text, .bild_text .text {
281
+ clear: none;
282
+ float: none;
283
+ }
284
+
285
+ .text {
286
+ width: 888px;
287
+ margin: 0 0 12px;
288
+ padding: 2px 0 0 12px;
289
+ margin: 0 0 12px;
290
+ clear: both;
291
+ }
292
+
293
+ .footer {
294
+ width: 900px;
295
+ height: 200px;
296
+ padding-top: 100px;
297
+ text-align: right;
298
+ font-size: 10px;
299
+ clear: both;
300
+ float: left;
301
+ }
302
+
303
+ #spacer {
304
+ height: 100px;
305
+ width: 900px;
306
+ }
307
+
308
+ .image_mosaic_image,
309
+ .bilder_gallery_image {
310
+ float: left;
311
+ position: relative;
312
+ }
313
+
314
+ .image_mosaic_image .image_caption {
315
+ width: 276px;
316
+ position: absolute;
317
+ left: 0;
318
+ top: 0;
319
+ z-index: 1;
320
+ overflow: hidden;
321
+ }
322
+
323
+ .bild {
324
+ margin-bottom: 24px;
325
+ clear: both;
326
+ }
327
+
328
+ input.field {
329
+ padding: 4px;
330
+ margin: 0;
331
+ font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
332
+ border: 1px solid silver;
333
+ width: 310px;
334
+ }
335
+
336
+ td.field {
337
+ white-space: nowrap;
338
+ }
339
+
340
+ input.field.short {
341
+ width: 97px;
342
+ }
343
+
344
+ input.field.medium {
345
+ width: 200px;
346
+ }
347
+
348
+ td.label {
349
+ width: 130px;
350
+ }
351
+
352
+ textarea {
353
+ width: 314px;
354
+ padding: 2px;
355
+ font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
356
+ border: 1px solid silver;
357
+ margin-left: 126px;
358
+ height: 10em;
359
+ margin-top: 2em;
360
+ margin-bottom: 1em;
361
+ }
362
+
363
+ div.field_with_errors {
364
+ color: #fe1b15;
365
+ }
366
+
367
+ div.field_with_errors input.field {
368
+ border-color: #fe1b15;
369
+ }
370
+
371
+ p.foot_notice {
372
+ font-size: 0.8em;
373
+ }
374
+
375
+ form#contact {
376
+ padding: 0 0 0 12px;
377
+ width: 450px;
378
+ }
379
+
380
+ #errorExplanation {
381
+ color: #fe1d16;
382
+ margin-bottom: 20px;
383
+ margin-top: 20px;
384
+ }
385
+
386
+ #errorExplanation ul {
387
+ list-style-type: disc;
388
+ padding: 0 0 0 1.5em;
389
+ }
390
+
391
+ label {
392
+ font: 12px "Lucida Grande", Lucida, Verdana, sans-serif;
393
+ }
394
+
395
+ p.right {
396
+ text-align: right;
397
+ }
398
+
399
+ .searchresult {
400
+ margin-top: 1em;
401
+ margin-bottom: 1em;
402
+ }
403
+
404
+ .searchresult form {
405
+ padding-left: 12px;
406
+ }
407
+
408
+ .searchresult h2 {
409
+ padding-left: 12px;
410
+ margin-bottom: 2em;
411
+ margin-top: 1em;
412
+ }
413
+
414
+ .search_results ul {
415
+ list-style-type: none;
416
+ padding: 0 0 0 12px;
417
+ }
418
+
419
+ .search_results ul li {
420
+ margin-bottom: 2em;
421
+ }
422
+
423
+ .search_results ul li p {
424
+ margin-top: 0.5em;
425
+ margin-bottom: 0.5em;
426
+ }
427
+
428
+ .search_results ul li h3 {
429
+ margin-bottom: 0.5em;
430
+ margin-top: 0.5em;
431
+ }
432
+
433
+ .search_results ul li h4 {
434
+ margin-top: 0.5em;
435
+ margin-bottom: 0.5em;
436
+ }
437
+
438
+ .search_results em {
439
+ font-weight: bold;
440
+ }