baron 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/LICENSE +38 -0
  2. data/Rakefile +34 -0
  3. data/Readme.md +168 -0
  4. data/VERSION +1 -0
  5. data/lib/baron.rb +373 -0
  6. data/spec/baron_article_spec.rb +53 -0
  7. data/spec/baron_blog_engine_spec.rb +62 -0
  8. data/spec/baron_spec.rb +174 -0
  9. data/spec/sample_data/Gemfile +6 -0
  10. data/spec/sample_data/Rakefile +42 -0
  11. data/spec/sample_data/articles/2012-11-09-sample-post.txt +11 -0
  12. data/spec/sample_data/articles/poems/1909-01-02-If.txt +48 -0
  13. data/spec/sample_data/articles/poems/1916-01-01-the-road-not-taken.txt +26 -0
  14. data/spec/sample_data/config.ru +46 -0
  15. data/spec/sample_data/images/import-csv-file-1.png +0 -0
  16. data/spec/sample_data/images/import-csv-file-2.png +0 -0
  17. data/spec/sample_data/images/import-csv-file-3.png +0 -0
  18. data/spec/sample_data/images/instagram.png +0 -0
  19. data/spec/sample_data/pages/about.rhtml +14 -0
  20. data/spec/sample_data/resources/feed.rss +18 -0
  21. data/spec/sample_data/resources/redirects.txt +44 -0
  22. data/spec/sample_data/resources/robots.txt +1 -0
  23. data/spec/sample_data/themes/test/css/app.css +27 -0
  24. data/spec/sample_data/themes/test/css/bootstrap-responsive.css +1092 -0
  25. data/spec/sample_data/themes/test/css/bootstrap-responsive.min.css +9 -0
  26. data/spec/sample_data/themes/test/css/bootstrap.css +6039 -0
  27. data/spec/sample_data/themes/test/css/bootstrap.min.css +9 -0
  28. data/spec/sample_data/themes/test/img/glyphicons-halflings-white.png +0 -0
  29. data/spec/sample_data/themes/test/img/glyphicons-halflings.png +0 -0
  30. data/spec/sample_data/themes/test/img/instagram.png +0 -0
  31. data/spec/sample_data/themes/test/js/bootstrap.js +2159 -0
  32. data/spec/sample_data/themes/test/js/bootstrap.min.js +6 -0
  33. data/spec/sample_data/themes/test/js/image_alt.js +12 -0
  34. data/spec/sample_data/themes/test/js/read_later.js +14 -0
  35. data/spec/sample_data/themes/test/templates/archives.rhtml +14 -0
  36. data/spec/sample_data/themes/test/templates/article.rhtml +14 -0
  37. data/spec/sample_data/themes/test/templates/category.rhtml +15 -0
  38. data/spec/sample_data/themes/test/templates/error.rhtml +3 -0
  39. data/spec/sample_data/themes/test/templates/index.rhtml +26 -0
  40. data/spec/sample_data/themes/test/templates/layout.rhtml +86 -0
  41. data/spec/spec_helper.rb +19 -0
  42. metadata +150 -0
@@ -0,0 +1,14 @@
1
+ <section id="posts">
2
+ <h1>About</h1>
3
+ <div>
4
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mauris justo, lobortis et posuere eget, condimentum a sem. In hac habitasse platea dictumst. Vestibulum congue commodo blandit. Quisque lacinia tempus elit quis pulvinar. Pellentesque sit amet pellentesque arcu. Nulla facilisi. Nam aliquet metus sit amet mi pulvinar ornare. Integer et mi non nunc scelerisque tristique. Etiam mattis malesuada rutrum. Fusce eu erat quis neque lacinia mattis sit amet at leo.
5
+
6
+ Maecenas sit amet consequat lorem. Praesent id risus quis eros molestie interdum nec nec lacus. Cras ultrices arcu sit amet urna mollis in sagittis nibh auctor. Ut non sem at ipsum commodo gravida in eu est. Suspendisse pellentesque euismod mauris, vitae aliquet lectus condimentum at. Praesent nec augue vitae turpis sollicitudin gravida. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus volutpat malesuada lectus, vel faucibus velit accumsan at. Cras rhoncus vulputate sem, et pharetra ipsum rutrum sed. Fusce nibh elit, dapibus et posuere eget, tempus sagittis orci. Nunc in nisi id orci facilisis imperdiet sit amet fringilla orci. Ut scelerisque est ut libero posuere nec accumsan lectus sollicitudin.
7
+
8
+ Morbi euismod, metus nec rhoncus pulvinar, felis mi ultricies turpis, vitae cursus mi eros eu metus. Morbi condimentum pretium sem, non congue sem ultricies eget. Sed nisi libero, tempor a viverra id, iaculis suscipit ante. Suspendisse potenti. Morbi faucibus fringilla fringilla. Fusce eget orci turpis. Phasellus eleifend lectus sit amet elit eleifend eget venenatis felis fermentum.
9
+
10
+ Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Fusce eu sodales est. Donec lobortis tristique luctus. Integer pharetra congue nisi vel iaculis. Sed convallis convallis tristique. Aliquam erat volutpat. Maecenas sed volutpat felis. Duis sollicitudin lorem vel felis molestie placerat. Nulla nec lacus lorem, eu sollicitudin lectus. Suspendisse quis ipsum vitae erat rutrum suscipit sit amet non justo. Praesent dignissim pulvinar facilisis. Vivamus vel risus id magna lacinia euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Morbi ultricies nisi sit amet turpis suscipit rhoncus aliquam eros luctus.
11
+
12
+ Nunc sit amet leo lectus, a eleifend lectus. Nam pulvinar, purus sed dapibus vestibulum, ligula ligula volutpat purus, at blandit enim elit ut risus. Ut rhoncus ultrices magna, id dignissim ligula pharetra vulputate. Ut rutrum pulvinar urna, quis egestas erat facilisis ac. Integer volutpat euismod accumsan. Donec cursus arcu eget sem bibendum ullamcorper. Quisque enim justo, pharetra vel porta vitae, hendrerit id justo. Sed semper congue dapibus. Fusce suscipit iaculis sapien, vel facilisis justo viverra a. Pellentesque augue turpis, imperdiet ut volutpat eu, viverra quis orci.
13
+ </div>
14
+ </section>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <title><%= @config[:title] %></title>
4
+ <link href="<%= @config[:url] %>/feed.rss" rel="self" />
5
+ <udpated><%= @articles.first[:date].iso8601 %></updated>
6
+
7
+ <% for @article in @articles %>
8
+ <entry>
9
+ <title><%= @article.title %></title>
10
+ <link rel="alternate" type="text/html" href="<%= @article.permalink %>" />
11
+ <summary><%= @article.summary %></summary>
12
+ <author><name><%= @config[:author] %></name></author>
13
+ </entry>
14
+ <% end %>
15
+
16
+ </feed>
17
+
18
+
@@ -0,0 +1,44 @@
1
+ ###
2
+ # Redirect Config File
3
+ #
4
+ # Use this file to list all of the redirections you'd like the blog to process
5
+ # using the same file-format as Apache.
6
+ #
7
+ # File Format:
8
+ #
9
+ # Each line is a separate redirect. Below is a description of each field:
10
+ #
11
+ # Field #1 - Redirect. Doesn't really do anything but make the file easier to read
12
+ # Field #2 - Status Code. 301 status codes are for permanent redirections. Google
13
+ # transfer full PageRank for these to the destination page (unless it
14
+ # is on another domain, that gets a little more complex). 302 status
15
+ # codes are for temperary redirects, those are anything less than a
16
+ # couple of days. 302 redirects are not really used that often in a blog.
17
+ # http://support.google.com/webmasters/bin/answer.py?hl=en&answer=40132
18
+ # Field #3 - Source Path. This is the path (e.g. no protocol or domain name) that
19
+ # you would like to redirect somewhere else.
20
+ # Field #4 - Desitnation Path. This is the location you would like to redirect the
21
+ # user to. It does not have to be on your domain
22
+ #
23
+ # Sample redirects:
24
+ #
25
+ # Redirect 301 /posts/my-first-article /2013/01/01/my-first-article
26
+ # Redirect 302 / /temp-custom-home-page
27
+ # Redirect 301 /pub/download/file?name=myarchive.zip /downloads/myarchive.zip
28
+ # Redirect 301 /my-project https://github/my-project-home
29
+
30
+ ###
31
+ # Handles de-duping of pagination with root (keep this!)
32
+ Redirect 301 /page/1 /
33
+ Redirect 301 /page/1/ /
34
+
35
+ ###
36
+ # Test redirects (don't forget to delete this before publishing)
37
+ Redirect 301 /foobar-test-1 /
38
+ Redirect 301 /foobar-test-2 /archives
39
+ Redirect 302 /foobar-test-3 /posts/poems/the-road-not-taken/
40
+
41
+ ###
42
+ # Add your redirects here
43
+
44
+
@@ -0,0 +1 @@
1
+ # Robots.txt
@@ -0,0 +1,27 @@
1
+ body {padding-top:20px; padding-bottom: 40px; font-family:'Helvetica Neue',sans-serif; font-size:18px; line-height:1.61em; color: #444;}
2
+ h1, h2, h3 {font-family: 'Helvetica Neue', serif; padding-top:1em; margin-top:0;}
3
+ h1 {font-size: 1.8em; color: #444; text-align: center;}
4
+ h2 {color: #777; font-size: 1.4em;}
5
+ h3 {text-transform: uppercase; font-size:0.9em;}
6
+
7
+ post li {padding-top:0.3em; padding-bottom:0.3em;}
8
+ post img {margin-left:auto; margin-right:auto; display:block; border-radius:5px;}
9
+ post .image-footnote {text-align:right; font-size:0.8em; line-height:1.3em; color:#888;}
10
+
11
+ .golden-ratio-container {margin:0 auto; max-width:34em;}
12
+ .post-details {font-size:0.8em; color:#888; padding-top:0.7em; padding-bottom:1.3em; text-align:center;}
13
+
14
+ /* Header */
15
+
16
+ .masthead-image {display:block; margin:0 auto;}
17
+ .vcenter {vertical-align:middle;}
18
+ .css-is-dumb {height:110px; vertical-align:middle; display:inline-block;}
19
+ #blog-header a, a:visited {color:#000;}
20
+ .blog-title {font-size:1.2em;}
21
+ .nav-links {font-size:0.8em; text-align:right;}
22
+
23
+ /* Sidebar */
24
+
25
+ .sidebar-nav img {padding-top:1em;}
26
+ .sidebar-nav li {list-style-type:none; padding-top:0em; padding-bottom:0em;}
27
+ .sidebar-nav ul {margin:0;}
@@ -0,0 +1,1092 @@
1
+ /*!
2
+ * Bootstrap Responsive v2.2.2
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+
11
+ @-ms-viewport {
12
+ width: device-width;
13
+ }
14
+
15
+ .clearfix {
16
+ *zoom: 1;
17
+ }
18
+
19
+ .clearfix:before,
20
+ .clearfix:after {
21
+ display: table;
22
+ line-height: 0;
23
+ content: "";
24
+ }
25
+
26
+ .clearfix:after {
27
+ clear: both;
28
+ }
29
+
30
+ .hide-text {
31
+ font: 0/0 a;
32
+ color: transparent;
33
+ text-shadow: none;
34
+ background-color: transparent;
35
+ border: 0;
36
+ }
37
+
38
+ .input-block-level {
39
+ display: block;
40
+ width: 100%;
41
+ min-height: 30px;
42
+ -webkit-box-sizing: border-box;
43
+ -moz-box-sizing: border-box;
44
+ box-sizing: border-box;
45
+ }
46
+
47
+ .hidden {
48
+ display: none;
49
+ visibility: hidden;
50
+ }
51
+
52
+ .visible-phone {
53
+ display: none !important;
54
+ }
55
+
56
+ .visible-tablet {
57
+ display: none !important;
58
+ }
59
+
60
+ .hidden-desktop {
61
+ display: none !important;
62
+ }
63
+
64
+ .visible-desktop {
65
+ display: inherit !important;
66
+ }
67
+
68
+ @media (min-width: 768px) and (max-width: 979px) {
69
+ .hidden-desktop {
70
+ display: inherit !important;
71
+ }
72
+ .visible-desktop {
73
+ display: none !important ;
74
+ }
75
+ .visible-tablet {
76
+ display: inherit !important;
77
+ }
78
+ .hidden-tablet {
79
+ display: none !important;
80
+ }
81
+ }
82
+
83
+ @media (max-width: 767px) {
84
+ .hidden-desktop {
85
+ display: inherit !important;
86
+ }
87
+ .visible-desktop {
88
+ display: none !important;
89
+ }
90
+ .visible-phone {
91
+ display: inherit !important;
92
+ }
93
+ .hidden-phone {
94
+ display: none !important;
95
+ }
96
+ }
97
+
98
+ @media (min-width: 1200px) {
99
+ .row {
100
+ margin-left: -30px;
101
+ *zoom: 1;
102
+ }
103
+ .row:before,
104
+ .row:after {
105
+ display: table;
106
+ line-height: 0;
107
+ content: "";
108
+ }
109
+ .row:after {
110
+ clear: both;
111
+ }
112
+ [class*="span"] {
113
+ float: left;
114
+ min-height: 1px;
115
+ margin-left: 30px;
116
+ }
117
+ .container,
118
+ .navbar-static-top .container,
119
+ .navbar-fixed-top .container,
120
+ .navbar-fixed-bottom .container {
121
+ width: 1170px;
122
+ }
123
+ .span12 {
124
+ width: 1170px;
125
+ }
126
+ .span11 {
127
+ width: 1070px;
128
+ }
129
+ .span10 {
130
+ width: 970px;
131
+ }
132
+ .span9 {
133
+ width: 870px;
134
+ }
135
+ .span8 {
136
+ width: 770px;
137
+ }
138
+ .span7 {
139
+ width: 670px;
140
+ }
141
+ .span6 {
142
+ width: 570px;
143
+ }
144
+ .span5 {
145
+ width: 470px;
146
+ }
147
+ .span4 {
148
+ width: 370px;
149
+ }
150
+ .span3 {
151
+ width: 270px;
152
+ }
153
+ .span2 {
154
+ width: 170px;
155
+ }
156
+ .span1 {
157
+ width: 70px;
158
+ }
159
+ .offset12 {
160
+ margin-left: 1230px;
161
+ }
162
+ .offset11 {
163
+ margin-left: 1130px;
164
+ }
165
+ .offset10 {
166
+ margin-left: 1030px;
167
+ }
168
+ .offset9 {
169
+ margin-left: 930px;
170
+ }
171
+ .offset8 {
172
+ margin-left: 830px;
173
+ }
174
+ .offset7 {
175
+ margin-left: 730px;
176
+ }
177
+ .offset6 {
178
+ margin-left: 630px;
179
+ }
180
+ .offset5 {
181
+ margin-left: 530px;
182
+ }
183
+ .offset4 {
184
+ margin-left: 430px;
185
+ }
186
+ .offset3 {
187
+ margin-left: 330px;
188
+ }
189
+ .offset2 {
190
+ margin-left: 230px;
191
+ }
192
+ .offset1 {
193
+ margin-left: 130px;
194
+ }
195
+ .row-fluid {
196
+ width: 100%;
197
+ *zoom: 1;
198
+ }
199
+ .row-fluid:before,
200
+ .row-fluid:after {
201
+ display: table;
202
+ line-height: 0;
203
+ content: "";
204
+ }
205
+ .row-fluid:after {
206
+ clear: both;
207
+ }
208
+ .row-fluid [class*="span"] {
209
+ display: block;
210
+ float: left;
211
+ width: 100%;
212
+ min-height: 30px;
213
+ margin-left: 2.564102564102564%;
214
+ *margin-left: 2.5109110747408616%;
215
+ -webkit-box-sizing: border-box;
216
+ -moz-box-sizing: border-box;
217
+ box-sizing: border-box;
218
+ }
219
+ .row-fluid [class*="span"]:first-child {
220
+ margin-left: 0;
221
+ }
222
+ .row-fluid .controls-row [class*="span"] + [class*="span"] {
223
+ margin-left: 2.564102564102564%;
224
+ }
225
+ .row-fluid .span12 {
226
+ width: 100%;
227
+ *width: 99.94680851063829%;
228
+ }
229
+ .row-fluid .span11 {
230
+ width: 91.45299145299145%;
231
+ *width: 91.39979996362975%;
232
+ }
233
+ .row-fluid .span10 {
234
+ width: 82.90598290598291%;
235
+ *width: 82.8527914166212%;
236
+ }
237
+ .row-fluid .span9 {
238
+ width: 74.35897435897436%;
239
+ *width: 74.30578286961266%;
240
+ }
241
+ .row-fluid .span8 {
242
+ width: 65.81196581196582%;
243
+ *width: 65.75877432260411%;
244
+ }
245
+ .row-fluid .span7 {
246
+ width: 57.26495726495726%;
247
+ *width: 57.21176577559556%;
248
+ }
249
+ .row-fluid .span6 {
250
+ width: 48.717948717948715%;
251
+ *width: 48.664757228587014%;
252
+ }
253
+ .row-fluid .span5 {
254
+ width: 40.17094017094017%;
255
+ *width: 40.11774868157847%;
256
+ }
257
+ .row-fluid .span4 {
258
+ width: 31.623931623931625%;
259
+ *width: 31.570740134569924%;
260
+ }
261
+ .row-fluid .span3 {
262
+ width: 23.076923076923077%;
263
+ *width: 23.023731587561375%;
264
+ }
265
+ .row-fluid .span2 {
266
+ width: 14.52991452991453%;
267
+ *width: 14.476723040552828%;
268
+ }
269
+ .row-fluid .span1 {
270
+ width: 5.982905982905983%;
271
+ *width: 5.929714493544281%;
272
+ }
273
+ .row-fluid .offset12 {
274
+ margin-left: 105.12820512820512%;
275
+ *margin-left: 105.02182214948171%;
276
+ }
277
+ .row-fluid .offset12:first-child {
278
+ margin-left: 102.56410256410257%;
279
+ *margin-left: 102.45771958537915%;
280
+ }
281
+ .row-fluid .offset11 {
282
+ margin-left: 96.58119658119658%;
283
+ *margin-left: 96.47481360247316%;
284
+ }
285
+ .row-fluid .offset11:first-child {
286
+ margin-left: 94.01709401709402%;
287
+ *margin-left: 93.91071103837061%;
288
+ }
289
+ .row-fluid .offset10 {
290
+ margin-left: 88.03418803418803%;
291
+ *margin-left: 87.92780505546462%;
292
+ }
293
+ .row-fluid .offset10:first-child {
294
+ margin-left: 85.47008547008548%;
295
+ *margin-left: 85.36370249136206%;
296
+ }
297
+ .row-fluid .offset9 {
298
+ margin-left: 79.48717948717949%;
299
+ *margin-left: 79.38079650845607%;
300
+ }
301
+ .row-fluid .offset9:first-child {
302
+ margin-left: 76.92307692307693%;
303
+ *margin-left: 76.81669394435352%;
304
+ }
305
+ .row-fluid .offset8 {
306
+ margin-left: 70.94017094017094%;
307
+ *margin-left: 70.83378796144753%;
308
+ }
309
+ .row-fluid .offset8:first-child {
310
+ margin-left: 68.37606837606839%;
311
+ *margin-left: 68.26968539734497%;
312
+ }
313
+ .row-fluid .offset7 {
314
+ margin-left: 62.393162393162385%;
315
+ *margin-left: 62.28677941443899%;
316
+ }
317
+ .row-fluid .offset7:first-child {
318
+ margin-left: 59.82905982905982%;
319
+ *margin-left: 59.72267685033642%;
320
+ }
321
+ .row-fluid .offset6 {
322
+ margin-left: 53.84615384615384%;
323
+ *margin-left: 53.739770867430444%;
324
+ }
325
+ .row-fluid .offset6:first-child {
326
+ margin-left: 51.28205128205128%;
327
+ *margin-left: 51.175668303327875%;
328
+ }
329
+ .row-fluid .offset5 {
330
+ margin-left: 45.299145299145295%;
331
+ *margin-left: 45.1927623204219%;
332
+ }
333
+ .row-fluid .offset5:first-child {
334
+ margin-left: 42.73504273504273%;
335
+ *margin-left: 42.62865975631933%;
336
+ }
337
+ .row-fluid .offset4 {
338
+ margin-left: 36.75213675213675%;
339
+ *margin-left: 36.645753773413354%;
340
+ }
341
+ .row-fluid .offset4:first-child {
342
+ margin-left: 34.18803418803419%;
343
+ *margin-left: 34.081651209310785%;
344
+ }
345
+ .row-fluid .offset3 {
346
+ margin-left: 28.205128205128204%;
347
+ *margin-left: 28.0987452264048%;
348
+ }
349
+ .row-fluid .offset3:first-child {
350
+ margin-left: 25.641025641025642%;
351
+ *margin-left: 25.53464266230224%;
352
+ }
353
+ .row-fluid .offset2 {
354
+ margin-left: 19.65811965811966%;
355
+ *margin-left: 19.551736679396257%;
356
+ }
357
+ .row-fluid .offset2:first-child {
358
+ margin-left: 17.094017094017094%;
359
+ *margin-left: 16.98763411529369%;
360
+ }
361
+ .row-fluid .offset1 {
362
+ margin-left: 11.11111111111111%;
363
+ *margin-left: 11.004728132387708%;
364
+ }
365
+ .row-fluid .offset1:first-child {
366
+ margin-left: 8.547008547008547%;
367
+ *margin-left: 8.440625568285142%;
368
+ }
369
+ input,
370
+ textarea,
371
+ .uneditable-input {
372
+ margin-left: 0;
373
+ }
374
+ .controls-row [class*="span"] + [class*="span"] {
375
+ margin-left: 30px;
376
+ }
377
+ input.span12,
378
+ textarea.span12,
379
+ .uneditable-input.span12 {
380
+ width: 1156px;
381
+ }
382
+ input.span11,
383
+ textarea.span11,
384
+ .uneditable-input.span11 {
385
+ width: 1056px;
386
+ }
387
+ input.span10,
388
+ textarea.span10,
389
+ .uneditable-input.span10 {
390
+ width: 956px;
391
+ }
392
+ input.span9,
393
+ textarea.span9,
394
+ .uneditable-input.span9 {
395
+ width: 856px;
396
+ }
397
+ input.span8,
398
+ textarea.span8,
399
+ .uneditable-input.span8 {
400
+ width: 756px;
401
+ }
402
+ input.span7,
403
+ textarea.span7,
404
+ .uneditable-input.span7 {
405
+ width: 656px;
406
+ }
407
+ input.span6,
408
+ textarea.span6,
409
+ .uneditable-input.span6 {
410
+ width: 556px;
411
+ }
412
+ input.span5,
413
+ textarea.span5,
414
+ .uneditable-input.span5 {
415
+ width: 456px;
416
+ }
417
+ input.span4,
418
+ textarea.span4,
419
+ .uneditable-input.span4 {
420
+ width: 356px;
421
+ }
422
+ input.span3,
423
+ textarea.span3,
424
+ .uneditable-input.span3 {
425
+ width: 256px;
426
+ }
427
+ input.span2,
428
+ textarea.span2,
429
+ .uneditable-input.span2 {
430
+ width: 156px;
431
+ }
432
+ input.span1,
433
+ textarea.span1,
434
+ .uneditable-input.span1 {
435
+ width: 56px;
436
+ }
437
+ .thumbnails {
438
+ margin-left: -30px;
439
+ }
440
+ .thumbnails > li {
441
+ margin-left: 30px;
442
+ }
443
+ .row-fluid .thumbnails {
444
+ margin-left: 0;
445
+ }
446
+ }
447
+
448
+ @media (min-width: 768px) and (max-width: 979px) {
449
+ .row {
450
+ margin-left: -20px;
451
+ *zoom: 1;
452
+ }
453
+ .row:before,
454
+ .row:after {
455
+ display: table;
456
+ line-height: 0;
457
+ content: "";
458
+ }
459
+ .row:after {
460
+ clear: both;
461
+ }
462
+ [class*="span"] {
463
+ float: left;
464
+ min-height: 1px;
465
+ margin-left: 20px;
466
+ }
467
+ .container,
468
+ .navbar-static-top .container,
469
+ .navbar-fixed-top .container,
470
+ .navbar-fixed-bottom .container {
471
+ width: 724px;
472
+ }
473
+ .span12 {
474
+ width: 724px;
475
+ }
476
+ .span11 {
477
+ width: 662px;
478
+ }
479
+ .span10 {
480
+ width: 600px;
481
+ }
482
+ .span9 {
483
+ width: 538px;
484
+ }
485
+ .span8 {
486
+ width: 476px;
487
+ }
488
+ .span7 {
489
+ width: 414px;
490
+ }
491
+ .span6 {
492
+ width: 352px;
493
+ }
494
+ .span5 {
495
+ width: 290px;
496
+ }
497
+ .span4 {
498
+ width: 228px;
499
+ }
500
+ .span3 {
501
+ width: 166px;
502
+ }
503
+ .span2 {
504
+ width: 104px;
505
+ }
506
+ .span1 {
507
+ width: 42px;
508
+ }
509
+ .offset12 {
510
+ margin-left: 764px;
511
+ }
512
+ .offset11 {
513
+ margin-left: 702px;
514
+ }
515
+ .offset10 {
516
+ margin-left: 640px;
517
+ }
518
+ .offset9 {
519
+ margin-left: 578px;
520
+ }
521
+ .offset8 {
522
+ margin-left: 516px;
523
+ }
524
+ .offset7 {
525
+ margin-left: 454px;
526
+ }
527
+ .offset6 {
528
+ margin-left: 392px;
529
+ }
530
+ .offset5 {
531
+ margin-left: 330px;
532
+ }
533
+ .offset4 {
534
+ margin-left: 268px;
535
+ }
536
+ .offset3 {
537
+ margin-left: 206px;
538
+ }
539
+ .offset2 {
540
+ margin-left: 144px;
541
+ }
542
+ .offset1 {
543
+ margin-left: 82px;
544
+ }
545
+ .row-fluid {
546
+ width: 100%;
547
+ *zoom: 1;
548
+ }
549
+ .row-fluid:before,
550
+ .row-fluid:after {
551
+ display: table;
552
+ line-height: 0;
553
+ content: "";
554
+ }
555
+ .row-fluid:after {
556
+ clear: both;
557
+ }
558
+ .row-fluid [class*="span"] {
559
+ display: block;
560
+ float: left;
561
+ width: 100%;
562
+ min-height: 30px;
563
+ margin-left: 2.7624309392265194%;
564
+ *margin-left: 2.709239449864817%;
565
+ -webkit-box-sizing: border-box;
566
+ -moz-box-sizing: border-box;
567
+ box-sizing: border-box;
568
+ }
569
+ .row-fluid [class*="span"]:first-child {
570
+ margin-left: 0;
571
+ }
572
+ .row-fluid .controls-row [class*="span"] + [class*="span"] {
573
+ margin-left: 2.7624309392265194%;
574
+ }
575
+ .row-fluid .span12 {
576
+ width: 100%;
577
+ *width: 99.94680851063829%;
578
+ }
579
+ .row-fluid .span11 {
580
+ width: 91.43646408839778%;
581
+ *width: 91.38327259903608%;
582
+ }
583
+ .row-fluid .span10 {
584
+ width: 82.87292817679558%;
585
+ *width: 82.81973668743387%;
586
+ }
587
+ .row-fluid .span9 {
588
+ width: 74.30939226519337%;
589
+ *width: 74.25620077583166%;
590
+ }
591
+ .row-fluid .span8 {
592
+ width: 65.74585635359117%;
593
+ *width: 65.69266486422946%;
594
+ }
595
+ .row-fluid .span7 {
596
+ width: 57.18232044198895%;
597
+ *width: 57.12912895262725%;
598
+ }
599
+ .row-fluid .span6 {
600
+ width: 48.61878453038674%;
601
+ *width: 48.56559304102504%;
602
+ }
603
+ .row-fluid .span5 {
604
+ width: 40.05524861878453%;
605
+ *width: 40.00205712942283%;
606
+ }
607
+ .row-fluid .span4 {
608
+ width: 31.491712707182323%;
609
+ *width: 31.43852121782062%;
610
+ }
611
+ .row-fluid .span3 {
612
+ width: 22.92817679558011%;
613
+ *width: 22.87498530621841%;
614
+ }
615
+ .row-fluid .span2 {
616
+ width: 14.3646408839779%;
617
+ *width: 14.311449394616199%;
618
+ }
619
+ .row-fluid .span1 {
620
+ width: 5.801104972375691%;
621
+ *width: 5.747913483013988%;
622
+ }
623
+ .row-fluid .offset12 {
624
+ margin-left: 105.52486187845304%;
625
+ *margin-left: 105.41847889972962%;
626
+ }
627
+ .row-fluid .offset12:first-child {
628
+ margin-left: 102.76243093922652%;
629
+ *margin-left: 102.6560479605031%;
630
+ }
631
+ .row-fluid .offset11 {
632
+ margin-left: 96.96132596685082%;
633
+ *margin-left: 96.8549429881274%;
634
+ }
635
+ .row-fluid .offset11:first-child {
636
+ margin-left: 94.1988950276243%;
637
+ *margin-left: 94.09251204890089%;
638
+ }
639
+ .row-fluid .offset10 {
640
+ margin-left: 88.39779005524862%;
641
+ *margin-left: 88.2914070765252%;
642
+ }
643
+ .row-fluid .offset10:first-child {
644
+ margin-left: 85.6353591160221%;
645
+ *margin-left: 85.52897613729868%;
646
+ }
647
+ .row-fluid .offset9 {
648
+ margin-left: 79.8342541436464%;
649
+ *margin-left: 79.72787116492299%;
650
+ }
651
+ .row-fluid .offset9:first-child {
652
+ margin-left: 77.07182320441989%;
653
+ *margin-left: 76.96544022569647%;
654
+ }
655
+ .row-fluid .offset8 {
656
+ margin-left: 71.2707182320442%;
657
+ *margin-left: 71.16433525332079%;
658
+ }
659
+ .row-fluid .offset8:first-child {
660
+ margin-left: 68.50828729281768%;
661
+ *margin-left: 68.40190431409427%;
662
+ }
663
+ .row-fluid .offset7 {
664
+ margin-left: 62.70718232044199%;
665
+ *margin-left: 62.600799341718584%;
666
+ }
667
+ .row-fluid .offset7:first-child {
668
+ margin-left: 59.94475138121547%;
669
+ *margin-left: 59.838368402492065%;
670
+ }
671
+ .row-fluid .offset6 {
672
+ margin-left: 54.14364640883978%;
673
+ *margin-left: 54.037263430116376%;
674
+ }
675
+ .row-fluid .offset6:first-child {
676
+ margin-left: 51.38121546961326%;
677
+ *margin-left: 51.27483249088986%;
678
+ }
679
+ .row-fluid .offset5 {
680
+ margin-left: 45.58011049723757%;
681
+ *margin-left: 45.47372751851417%;
682
+ }
683
+ .row-fluid .offset5:first-child {
684
+ margin-left: 42.81767955801105%;
685
+ *margin-left: 42.71129657928765%;
686
+ }
687
+ .row-fluid .offset4 {
688
+ margin-left: 37.01657458563536%;
689
+ *margin-left: 36.91019160691196%;
690
+ }
691
+ .row-fluid .offset4:first-child {
692
+ margin-left: 34.25414364640884%;
693
+ *margin-left: 34.14776066768544%;
694
+ }
695
+ .row-fluid .offset3 {
696
+ margin-left: 28.45303867403315%;
697
+ *margin-left: 28.346655695309746%;
698
+ }
699
+ .row-fluid .offset3:first-child {
700
+ margin-left: 25.69060773480663%;
701
+ *margin-left: 25.584224756083227%;
702
+ }
703
+ .row-fluid .offset2 {
704
+ margin-left: 19.88950276243094%;
705
+ *margin-left: 19.783119783707537%;
706
+ }
707
+ .row-fluid .offset2:first-child {
708
+ margin-left: 17.12707182320442%;
709
+ *margin-left: 17.02068884448102%;
710
+ }
711
+ .row-fluid .offset1 {
712
+ margin-left: 11.32596685082873%;
713
+ *margin-left: 11.219583872105325%;
714
+ }
715
+ .row-fluid .offset1:first-child {
716
+ margin-left: 8.56353591160221%;
717
+ *margin-left: 8.457152932878806%;
718
+ }
719
+ input,
720
+ textarea,
721
+ .uneditable-input {
722
+ margin-left: 0;
723
+ }
724
+ .controls-row [class*="span"] + [class*="span"] {
725
+ margin-left: 20px;
726
+ }
727
+ input.span12,
728
+ textarea.span12,
729
+ .uneditable-input.span12 {
730
+ width: 710px;
731
+ }
732
+ input.span11,
733
+ textarea.span11,
734
+ .uneditable-input.span11 {
735
+ width: 648px;
736
+ }
737
+ input.span10,
738
+ textarea.span10,
739
+ .uneditable-input.span10 {
740
+ width: 586px;
741
+ }
742
+ input.span9,
743
+ textarea.span9,
744
+ .uneditable-input.span9 {
745
+ width: 524px;
746
+ }
747
+ input.span8,
748
+ textarea.span8,
749
+ .uneditable-input.span8 {
750
+ width: 462px;
751
+ }
752
+ input.span7,
753
+ textarea.span7,
754
+ .uneditable-input.span7 {
755
+ width: 400px;
756
+ }
757
+ input.span6,
758
+ textarea.span6,
759
+ .uneditable-input.span6 {
760
+ width: 338px;
761
+ }
762
+ input.span5,
763
+ textarea.span5,
764
+ .uneditable-input.span5 {
765
+ width: 276px;
766
+ }
767
+ input.span4,
768
+ textarea.span4,
769
+ .uneditable-input.span4 {
770
+ width: 214px;
771
+ }
772
+ input.span3,
773
+ textarea.span3,
774
+ .uneditable-input.span3 {
775
+ width: 152px;
776
+ }
777
+ input.span2,
778
+ textarea.span2,
779
+ .uneditable-input.span2 {
780
+ width: 90px;
781
+ }
782
+ input.span1,
783
+ textarea.span1,
784
+ .uneditable-input.span1 {
785
+ width: 28px;
786
+ }
787
+ }
788
+
789
+ @media (max-width: 767px) {
790
+ body {
791
+ padding-right: 20px;
792
+ padding-left: 20px;
793
+ }
794
+ .navbar-fixed-top,
795
+ .navbar-fixed-bottom,
796
+ .navbar-static-top {
797
+ margin-right: -20px;
798
+ margin-left: -20px;
799
+ }
800
+ .container-fluid {
801
+ padding: 0;
802
+ }
803
+ .dl-horizontal dt {
804
+ float: none;
805
+ width: auto;
806
+ clear: none;
807
+ text-align: left;
808
+ }
809
+ .dl-horizontal dd {
810
+ margin-left: 0;
811
+ }
812
+ .container {
813
+ width: auto;
814
+ }
815
+ .row-fluid {
816
+ width: 100%;
817
+ }
818
+ .row,
819
+ .thumbnails {
820
+ margin-left: 0;
821
+ }
822
+ .thumbnails > li {
823
+ float: none;
824
+ margin-left: 0;
825
+ }
826
+ [class*="span"],
827
+ .uneditable-input[class*="span"],
828
+ .row-fluid [class*="span"] {
829
+ display: block;
830
+ float: none;
831
+ width: 100%;
832
+ margin-left: 0;
833
+ -webkit-box-sizing: border-box;
834
+ -moz-box-sizing: border-box;
835
+ box-sizing: border-box;
836
+ }
837
+ .span12,
838
+ .row-fluid .span12 {
839
+ width: 100%;
840
+ -webkit-box-sizing: border-box;
841
+ -moz-box-sizing: border-box;
842
+ box-sizing: border-box;
843
+ }
844
+ .row-fluid [class*="offset"]:first-child {
845
+ margin-left: 0;
846
+ }
847
+ .input-large,
848
+ .input-xlarge,
849
+ .input-xxlarge,
850
+ input[class*="span"],
851
+ select[class*="span"],
852
+ textarea[class*="span"],
853
+ .uneditable-input {
854
+ display: block;
855
+ width: 100%;
856
+ min-height: 30px;
857
+ -webkit-box-sizing: border-box;
858
+ -moz-box-sizing: border-box;
859
+ box-sizing: border-box;
860
+ }
861
+ .input-prepend input,
862
+ .input-append input,
863
+ .input-prepend input[class*="span"],
864
+ .input-append input[class*="span"] {
865
+ display: inline-block;
866
+ width: auto;
867
+ }
868
+ .controls-row [class*="span"] + [class*="span"] {
869
+ margin-left: 0;
870
+ }
871
+ .modal {
872
+ position: fixed;
873
+ top: 20px;
874
+ right: 20px;
875
+ left: 20px;
876
+ width: auto;
877
+ margin: 0;
878
+ }
879
+ .modal.fade {
880
+ top: -100px;
881
+ }
882
+ .modal.fade.in {
883
+ top: 20px;
884
+ }
885
+ }
886
+
887
+ @media (max-width: 480px) {
888
+ .nav-collapse {
889
+ -webkit-transform: translate3d(0, 0, 0);
890
+ }
891
+ .page-header h1 small {
892
+ display: block;
893
+ line-height: 20px;
894
+ }
895
+ input[type="checkbox"],
896
+ input[type="radio"] {
897
+ border: 1px solid #ccc;
898
+ }
899
+ .form-horizontal .control-label {
900
+ float: none;
901
+ width: auto;
902
+ padding-top: 0;
903
+ text-align: left;
904
+ }
905
+ .form-horizontal .controls {
906
+ margin-left: 0;
907
+ }
908
+ .form-horizontal .control-list {
909
+ padding-top: 0;
910
+ }
911
+ .form-horizontal .form-actions {
912
+ padding-right: 10px;
913
+ padding-left: 10px;
914
+ }
915
+ .media .pull-left,
916
+ .media .pull-right {
917
+ display: block;
918
+ float: none;
919
+ margin-bottom: 10px;
920
+ }
921
+ .media-object {
922
+ margin-right: 0;
923
+ margin-left: 0;
924
+ }
925
+ .modal {
926
+ top: 10px;
927
+ right: 10px;
928
+ left: 10px;
929
+ }
930
+ .modal-header .close {
931
+ padding: 10px;
932
+ margin: -10px;
933
+ }
934
+ .carousel-caption {
935
+ position: static;
936
+ }
937
+ }
938
+
939
+ @media (max-width: 979px) {
940
+ body {
941
+ padding-top: 0;
942
+ }
943
+ .navbar-fixed-top,
944
+ .navbar-fixed-bottom {
945
+ position: static;
946
+ }
947
+ .navbar-fixed-top {
948
+ margin-bottom: 20px;
949
+ }
950
+ .navbar-fixed-bottom {
951
+ margin-top: 20px;
952
+ }
953
+ .navbar-fixed-top .navbar-inner,
954
+ .navbar-fixed-bottom .navbar-inner {
955
+ padding: 5px;
956
+ }
957
+ .navbar .container {
958
+ width: auto;
959
+ padding: 0;
960
+ }
961
+ .navbar .brand {
962
+ padding-right: 10px;
963
+ padding-left: 10px;
964
+ margin: 0 0 0 -5px;
965
+ }
966
+ .nav-collapse {
967
+ clear: both;
968
+ }
969
+ .nav-collapse .nav {
970
+ float: none;
971
+ margin: 0 0 10px;
972
+ }
973
+ .nav-collapse .nav > li {
974
+ float: none;
975
+ }
976
+ .nav-collapse .nav > li > a {
977
+ margin-bottom: 2px;
978
+ }
979
+ .nav-collapse .nav > .divider-vertical {
980
+ display: none;
981
+ }
982
+ .nav-collapse .nav .nav-header {
983
+ color: #777777;
984
+ text-shadow: none;
985
+ }
986
+ .nav-collapse .nav > li > a,
987
+ .nav-collapse .dropdown-menu a {
988
+ padding: 9px 15px;
989
+ font-weight: bold;
990
+ color: #777777;
991
+ -webkit-border-radius: 3px;
992
+ -moz-border-radius: 3px;
993
+ border-radius: 3px;
994
+ }
995
+ .nav-collapse .btn {
996
+ padding: 4px 10px 4px;
997
+ font-weight: normal;
998
+ -webkit-border-radius: 4px;
999
+ -moz-border-radius: 4px;
1000
+ border-radius: 4px;
1001
+ }
1002
+ .nav-collapse .dropdown-menu li + li a {
1003
+ margin-bottom: 2px;
1004
+ }
1005
+ .nav-collapse .nav > li > a:hover,
1006
+ .nav-collapse .dropdown-menu a:hover {
1007
+ background-color: #f2f2f2;
1008
+ }
1009
+ .navbar-inverse .nav-collapse .nav > li > a,
1010
+ .navbar-inverse .nav-collapse .dropdown-menu a {
1011
+ color: #999999;
1012
+ }
1013
+ .navbar-inverse .nav-collapse .nav > li > a:hover,
1014
+ .navbar-inverse .nav-collapse .dropdown-menu a:hover {
1015
+ background-color: #111111;
1016
+ }
1017
+ .nav-collapse.in .btn-group {
1018
+ padding: 0;
1019
+ margin-top: 5px;
1020
+ }
1021
+ .nav-collapse .dropdown-menu {
1022
+ position: static;
1023
+ top: auto;
1024
+ left: auto;
1025
+ display: none;
1026
+ float: none;
1027
+ max-width: none;
1028
+ padding: 0;
1029
+ margin: 0 15px;
1030
+ background-color: transparent;
1031
+ border: none;
1032
+ -webkit-border-radius: 0;
1033
+ -moz-border-radius: 0;
1034
+ border-radius: 0;
1035
+ -webkit-box-shadow: none;
1036
+ -moz-box-shadow: none;
1037
+ box-shadow: none;
1038
+ }
1039
+ .nav-collapse .open > .dropdown-menu {
1040
+ display: block;
1041
+ }
1042
+ .nav-collapse .dropdown-menu:before,
1043
+ .nav-collapse .dropdown-menu:after {
1044
+ display: none;
1045
+ }
1046
+ .nav-collapse .dropdown-menu .divider {
1047
+ display: none;
1048
+ }
1049
+ .nav-collapse .nav > li > .dropdown-menu:before,
1050
+ .nav-collapse .nav > li > .dropdown-menu:after {
1051
+ display: none;
1052
+ }
1053
+ .nav-collapse .navbar-form,
1054
+ .nav-collapse .navbar-search {
1055
+ float: none;
1056
+ padding: 10px 15px;
1057
+ margin: 10px 0;
1058
+ border-top: 1px solid #f2f2f2;
1059
+ border-bottom: 1px solid #f2f2f2;
1060
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
1061
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
1062
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
1063
+ }
1064
+ .navbar-inverse .nav-collapse .navbar-form,
1065
+ .navbar-inverse .nav-collapse .navbar-search {
1066
+ border-top-color: #111111;
1067
+ border-bottom-color: #111111;
1068
+ }
1069
+ .navbar .nav-collapse .nav.pull-right {
1070
+ float: none;
1071
+ margin-left: 0;
1072
+ }
1073
+ .nav-collapse,
1074
+ .nav-collapse.collapse {
1075
+ height: 0;
1076
+ overflow: hidden;
1077
+ }
1078
+ .navbar .btn-navbar {
1079
+ display: block;
1080
+ }
1081
+ .navbar-static .navbar-inner {
1082
+ padding-right: 10px;
1083
+ padding-left: 10px;
1084
+ }
1085
+ }
1086
+
1087
+ @media (min-width: 980px) {
1088
+ .nav-collapse.collapse {
1089
+ height: auto !important;
1090
+ overflow: visible !important;
1091
+ }
1092
+ }