refinerycms 0.9.6.12 → 0.9.6.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.gitignore +0 -1
  2. data/Gemfile +2 -3
  3. data/Rakefile +22 -8
  4. data/VERSION +1 -1
  5. data/bin/refinery +2 -2
  6. data/config/application.rb +5 -6
  7. data/config/preinitializer.rb +3 -5
  8. data/db/migrate/20100223211536_remove_themes_table.rb +17 -0
  9. data/db/schema.rb +1 -12
  10. data/db/seeds.rb +2 -10
  11. data/lib/refinery_initializer.rb +14 -10
  12. data/public/javascripts/refinery/admin.js +20 -13
  13. data/readme.md +15 -9
  14. data/test/fixtures/users.yml +16 -0
  15. data/test/functional/dashboard_controller_test.rb +24 -0
  16. data/test/test_helper.rb +5 -0
  17. data/themes/demolicious/LICENSE +21 -0
  18. data/themes/demolicious/README +1 -0
  19. data/themes/demolicious/images/footer_background.png +0 -0
  20. data/themes/demolicious/images/header_background.png +0 -0
  21. data/themes/demolicious/stylesheets/application.css +94 -0
  22. data/themes/demolicious/stylesheets/formatting.css +36 -0
  23. data/themes/demolicious/stylesheets/home.css +8 -0
  24. data/themes/demolicious/stylesheets/ie6.css +0 -0
  25. data/themes/demolicious/stylesheets/ie7.css +0 -0
  26. data/themes/demolicious/views/layouts/application.html.erb +20 -0
  27. data/themes/demolicious/views/pages/home.html.erb +1 -0
  28. data/themes/demolicious/views/pages/show.html.erb +1 -0
  29. data/themes/hemingway/LICENSE +7 -0
  30. data/themes/hemingway/README +3 -0
  31. data/themes/hemingway/images/archives.gif +0 -0
  32. data/themes/hemingway/images/footer_black.gif +0 -0
  33. data/themes/hemingway/images/kyle-header.jpg +0 -0
  34. data/themes/hemingway/images/readon_black.gif +0 -0
  35. data/themes/hemingway/images/search.gif +0 -0
  36. data/themes/hemingway/images/spinner.gif +0 -0
  37. data/themes/hemingway/images/trackback_pingback.gif +0 -0
  38. data/themes/hemingway/stylesheets/application.css +713 -0
  39. data/themes/hemingway/stylesheets/formatting.css +1 -0
  40. data/themes/hemingway/stylesheets/home.css +1 -0
  41. data/themes/hemingway/views/layouts/application.html.erb +55 -0
  42. data/todo.md +3 -1
  43. data/vendor/plugins/authentication/app/controllers/users_controller.rb +3 -5
  44. data/vendor/plugins/dashboard/app/controllers/admin/dashboard_controller.rb +1 -0
  45. data/vendor/plugins/dashboard/app/helpers/admin/dashboard_helper.rb +1 -1
  46. data/vendor/plugins/images/app/models/image.rb +2 -2
  47. data/vendor/plugins/pages/rails/init.rb +1 -1
  48. data/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb +1 -1
  49. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_singular_name.html.erb +0 -1
  50. data/vendor/plugins/refinery/lib/refinery.rb +1 -0
  51. data/vendor/plugins/refinery/lib/refinery/admin_base_controller.rb +4 -3
  52. data/vendor/plugins/refinery/lib/refinery/application_controller.rb +0 -1
  53. data/vendor/plugins/refinery/lib/refinery/application_helper.rb +0 -27
  54. data/vendor/plugins/refinery/lib/refinery/initializer.rb +10 -5
  55. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +0 -1
  56. data/vendor/plugins/resources/app/models/resource.rb +2 -2
  57. data/vendor/plugins/themes/app/helpers/themes_helper.rb +25 -0
  58. data/vendor/plugins/themes/lib/theme_server.rb +11 -7
  59. data/vendor/plugins/themes/rails/init.rb +18 -19
  60. data/vendor/plugins/themes/themes.md +1 -23
  61. metadata +43 -18
  62. data/test/fixtures/themes.yml +0 -5
  63. data/test/unit/theme_test.rb +0 -19
  64. data/vendor/plugins/themes/app/controllers/admin/themes_controller.rb +0 -25
  65. data/vendor/plugins/themes/app/models/theme.rb +0 -56
  66. data/vendor/plugins/themes/app/views/admin/themes/_form.html.erb +0 -11
  67. data/vendor/plugins/themes/app/views/admin/themes/_theme.html.erb +0 -18
  68. data/vendor/plugins/themes/app/views/admin/themes/edit.html.erb +0 -1
  69. data/vendor/plugins/themes/app/views/admin/themes/index.html.erb +0 -34
  70. data/vendor/plugins/themes/app/views/admin/themes/new.html.erb +0 -1
  71. data/vendor/plugins/themes/config/routes.rb +0 -12
@@ -0,0 +1,36 @@
1
+ @import url('/stylesheets/refinery/formatting.css');
2
+ /*
3
+ Override default refinery formatting below.
4
+ Formatting applies to backend WYSIWYG editors and all frontend.
5
+ */
6
+ body {
7
+ font-family: Verdana;
8
+ font-size: 12px;
9
+ }
10
+ #body_content_left *, #body_content_right * {
11
+ line-height: 22px;
12
+ color: #585858;
13
+ }
14
+ h1, #body_content h1, h1#body_content_page_title {
15
+ color: #eb1313;
16
+ font-size: 25px;
17
+ font-weight: normal;
18
+ font-family: "Trebuchet MS", Trebuchet;
19
+ }
20
+ #body_content_left p, #body_content_right p {
21
+ margin-bottom: 23px;
22
+ }
23
+ h2, h3 {
24
+ color: #8f8f8f;
25
+ font-weight: normal;
26
+ }
27
+ h2 {
28
+ font-size: 18px;
29
+ }
30
+ h3 {
31
+ font-size: 16px;
32
+ }
33
+ #footer_content * {
34
+ color: #c7c7c7;
35
+ font-size: 11px;
36
+ }
@@ -0,0 +1,8 @@
1
+ @import url('/stylesheets/refinery/home.css');
2
+ /*
3
+ Override default refinery homepage styles here.
4
+ These only apply to the homepage of your site.
5
+ */
6
+ #body_content {
7
+ margin-top: 1px;
8
+ }
File without changes
File without changes
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <%= render :partial => "/shared/head", :locals => {:theme => true} %>
4
+ <body>
5
+ <%= render :partial => "/shared/ie6check" if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
6
+ <div id='page_container'>
7
+ <div id='page' class='clearfix'>
8
+ <div id='header' class='clearfix'>
9
+ <%= render :partial => "/shared/header" %>
10
+ </div>
11
+ <div id='body' class='clearfix'>
12
+ <%= yield %>
13
+ </div>
14
+ <div id='footer' class='clearfix'>
15
+ <%= render :partial => "/shared/footer" %>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </body>
20
+ </html>
@@ -0,0 +1 @@
1
+ <%= render :partial => "/shared/content_page", :locals => {:show_submenu => false} %>
@@ -0,0 +1 @@
1
+ <%= render :partial => "/shared/content_page" %>
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2006 Kyle Neath
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ Hemingway is a template for Wordpress that has been ported to Refinery.
2
+
3
+ Please see http://warpspire.com/hemingway for more information.
@@ -0,0 +1,713 @@
1
+
2
+
3
+ /*
4
+ Theme Name: Hemingway
5
+ Theme URI: http://warpspire.com/hemingway
6
+ Description: Description: Hemingway is a simple weblog theme by <a href="http://warpspire.com">Kyle Neath</a> aimed at giving bloggers a great platform on which to customize. If you'd like to learn more about Hemingway, <a href="http://warpspire.com/hemingway">head on over to Warpspire</a> or ask a question in the <a href="http://support.warpspire.com/discussions/hemingway">official support forums.</a> <br /><strong>This theme requires WordPress 2.0+</strong></a>.
7
+ Version: 0.20
8
+ Author: Kyle Neath
9
+ Author URI: http://warpspire.com
10
+ */
11
+
12
+
13
+
14
+ /*-----------------------------------------------------------------------------------------------
15
+ Global Styles
16
+ -----------------------------------------------------------------------------------------------*/
17
+
18
+ * {
19
+ padding:0;
20
+ margin:0;
21
+ }
22
+ h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
23
+ li, dd { margin-left:5%; }
24
+ fieldset { padding: .5em; }
25
+ select option{ padding:0 5px; }
26
+ select, option { color:black; }
27
+ .hide, .print-logo, .close-button{ display:none; }
28
+ .left{ float:left; }
29
+ .right{ float:right; }
30
+ .clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
31
+ a img{ border:none; }
32
+
33
+ /*-----------------------------------------------------------------------------------------------
34
+ Layout / Base Page Styling
35
+ -----------------------------------------------------------------------------------------------*/
36
+
37
+ body{
38
+ background:#272727;
39
+ color:#BFBFBF;
40
+ font-size:11px;
41
+ font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
42
+ }
43
+
44
+ /* This class sets the width and position for all rows */
45
+ .inside{
46
+ width:80%;
47
+ min-width:65em;
48
+ max-width:85em;
49
+ margin:0 auto;
50
+ }
51
+
52
+ a{
53
+ color:#FFF;
54
+ }
55
+
56
+ h1{
57
+ color:#CCC;
58
+ font-size:1.5em;
59
+ font-weight:normal;
60
+ margin:1.5em 0;
61
+ }
62
+
63
+ h2, h3{
64
+ font-size:1.15em;
65
+ color:#FFF;
66
+ font-weight:normal;
67
+ }
68
+ #primary h2{
69
+ color:#CCC;
70
+ }
71
+
72
+ p{
73
+ line-height:1.75em;
74
+ }
75
+
76
+ #primary ul li{
77
+ list-style-type:square;
78
+ margin:0.5em 0 0.5em 2em;
79
+ }
80
+
81
+ blockquote{
82
+ margin-left:1em;
83
+ padding-left:1em;
84
+ border-left:2px solid #CCC;
85
+ color:#CCC;
86
+ }
87
+
88
+ pre{
89
+ width:100%;
90
+ padding:1em 0;
91
+ overflow:auto;
92
+ border-top:1px dotted #333;
93
+ border-bottom:1px dotted #333;
94
+ }
95
+
96
+ table{
97
+ width:100%;
98
+ border-spacing:2px;
99
+ margin:1.5em 0;
100
+ }
101
+ table th, table td{ padding:0.3em 0.75em }
102
+ table th{
103
+ background:#CCC;
104
+ color:#000;
105
+ text-align:left;
106
+ }
107
+ table td{
108
+ background:#333;
109
+ color:#FFF;
110
+ }
111
+ table caption{
112
+ text-align:left;
113
+ color:#FFF;
114
+ margin-bottom:-1em;
115
+ margin-top:1em;
116
+ }
117
+
118
+ .rule{
119
+ border-top:1px solid #CCC;
120
+ height:1px;
121
+ font-size:1px;
122
+ line-height:1px;
123
+ margin:1.5em 0;
124
+ }
125
+
126
+ /*-----------------------------------------------------------------------------------------------
127
+ Header
128
+ -----------------------------------------------------------------------------------------------*/
129
+ #header{
130
+ background:#000;
131
+ }
132
+ #header .inside{
133
+ padding:3em 0;
134
+ }
135
+
136
+ #header h2{
137
+ font-size:2.25em;
138
+ margin:0 0.5em 0 0;
139
+ padding:0 0.5em 0.25em 0;
140
+ border-right:1px solid #808080;
141
+ float:left;
142
+ }
143
+ #header h2 a{ text-decoration:none; }
144
+
145
+ #header p{
146
+ padding:1em 0;
147
+ margin:0;
148
+ line-height:1em;
149
+ }
150
+
151
+ /*-----------------------------------------------------------------------------------------------
152
+ Primary Items
153
+ -----------------------------------------------------------------------------------------------*/
154
+
155
+ #primary{
156
+ background:#000;
157
+ padding:1px 0 2em 0;
158
+ color:#808080;
159
+ }
160
+
161
+ #primary.onecol-stories .primary{
162
+ float:left;
163
+ width:50%;
164
+ }
165
+ #primary.onecol-stories .secondary{
166
+ float:right;
167
+ width:40%;
168
+ margin:0 0 0 10%;
169
+ }
170
+
171
+ #primary.twocol-stories .story{
172
+ float:left;
173
+ width:48%;
174
+ margin:0 0 0 4%;
175
+ display:inline;
176
+ }
177
+ * html #primary.twocol-stories .story{
178
+ margin-left:2%;
179
+ }
180
+ #primary.twocol-stories .first, * html #primary.twocol-stories .first{
181
+ margin:0 0 0 0;
182
+ }
183
+
184
+ .story h3{
185
+ font-size:1.15em;
186
+ margin:0 0 1.5em 0;
187
+ font-weight:normal;
188
+ color:#CCC;
189
+ }
190
+ .story h3 a{
191
+ color:#CCC;
192
+ text-decoration:none;
193
+ border-bottom:1px dotted #666;
194
+ }
195
+
196
+ .story .details{
197
+ margin:1em 0;
198
+ text-align:right;
199
+ border-top:1px solid #333;
200
+ padding:0.5em 0;
201
+ font-size:0.95em;
202
+ color:#4D4D4D;
203
+ }
204
+ .story .details .read-on{
205
+ background:url(/theme/images/readon_black.gif) 100% 60% no-repeat;
206
+ padding-right:20px;
207
+ }
208
+ .story .details a{
209
+ color:#4D4D4D;
210
+ text-decoration:none;
211
+ }
212
+ .story .details a:hover{ color:#FFF; }
213
+
214
+ /* Single Post Styles */
215
+
216
+ #primary .primary{
217
+ float:right;
218
+ width:65%;
219
+ }
220
+ #primary .secondary{
221
+ float:right;
222
+ width:30%;
223
+ margin-right:5%;
224
+ padding-top:0.65em;
225
+ display:inline;
226
+ }
227
+ * html #primary .secondary{ margin-right:4%; }
228
+
229
+ .secondary .featured p{
230
+ border-bottom:1px solid #333333;
231
+ border-top: 1px solid #333333;
232
+ padding:0.5em 0 0.6em 0;
233
+ line-height:1.5em;
234
+ margin:1em 0 0 0;
235
+ }
236
+ .secondary .featured dl{
237
+ margin:0 0;
238
+ border-bottom:1px solid #333333;
239
+ padding:0.5em 0 0.6em 0;
240
+ }
241
+ .secondary dt{
242
+ display:inline;
243
+ margin:0;
244
+ padding:0;
245
+ color:#AAA;
246
+ }
247
+ .secondary dd{
248
+ display:inline;
249
+ margin:0;
250
+ padding:0;
251
+ }
252
+ .secondary dd a{ color:#808080; }
253
+ .secondary dd a:hover{ color:#FFF; }
254
+
255
+ .single-post h1, .single-post h2{ margin-top:0; }
256
+
257
+ /*-----------------------------------------------------------------------------------------------
258
+ Secondary Items
259
+ -----------------------------------------------------------------------------------------------*/
260
+
261
+ #secondary{
262
+ background:#0C0C0C;
263
+ padding:1px 2em;
264
+ border-top:1px solid #1C1C1C;
265
+ }
266
+
267
+ .comment-head{
268
+ border-bottom:1px solid #1C1C1C;
269
+ padding:0.8em 2em 1.0em 2em;
270
+ }
271
+ .comment-head h2{
272
+ font-size:1.5em;
273
+ margin:0;
274
+ }
275
+ .comment-head a{
276
+ text-decoration:none;
277
+ color:#868686;
278
+ }
279
+ .comment-head .details{
280
+ font-size:0.95em;
281
+ }
282
+
283
+ ol#comments{
284
+ list-style-type:none;
285
+ margin:2em 0;
286
+ }
287
+ ol#comments li{
288
+ list-style-type:none;
289
+ margin:2em 0;
290
+ }
291
+
292
+ ol#comments li .avatar {
293
+ border: 1px solid #222;
294
+ padding: 2px;
295
+ }
296
+
297
+ #comments cite{
298
+ float:left;
299
+ width:31%;
300
+ font-style:normal;
301
+ text-align:right;
302
+ }
303
+ * html #comments cite{ width:30.6%; }
304
+ #comments cite span{
305
+ display:block;
306
+ }
307
+ #comments cite span.avatarspan{ float: left; }
308
+ #comments cite .author{ font-size:1.2em; }
309
+ #comments cite .author a{
310
+ text-decoration:none;
311
+ }
312
+ #comments cite .admin-tools{
313
+ margin:5px 0;
314
+ }
315
+ #comments cite .admin-tools a{
316
+ float:right;
317
+ margin:0 5px;
318
+ padding:0px 3px 3px;
319
+ background:#666;
320
+ border:1px solid #999;
321
+ text-decoration:none;
322
+ }
323
+ #primary .secondary .admin-tools{ margin:1em 0; }
324
+
325
+ #preview{
326
+ margin:1em 0;
327
+ padding:0.5em;
328
+ border:1px solid #333;
329
+ }
330
+ #preview p{ margin:1em 0 0 0; }
331
+ #errors{ color:#FF0000; font-weight:bold; }
332
+
333
+ #comments .pingback cite .author{
334
+ display:block;
335
+ padding-top:68px;
336
+ background:url(/theme/images/trackback_pingback.gif) 100% 0 no-repeat;
337
+ }
338
+
339
+ #comments .content{
340
+ float:left;
341
+ width:60%;
342
+ margin-left:1.9%;
343
+ border-left:1px solid #868686;
344
+ padding: 0 0 0 2%;
345
+ }
346
+ #comments .content p{
347
+ margin:0 0 1em 0;
348
+ }
349
+ #comments .content h3{
350
+ margin:0;
351
+ font-size:1em;
352
+ }
353
+
354
+ #comment-form{
355
+ margin:5em 0 5em 35.4%;
356
+ width:36em;
357
+ }
358
+ input.textfield{
359
+ width: 15em;
360
+ margin:5px 0;
361
+ }
362
+ textarea.commentbox{
363
+ width:28em;
364
+ height:10em;
365
+ padding:0.25em;
366
+ margin:5px 0;
367
+ font-size:1.25em;
368
+ font-family:Arial, Helvetica, sans-serif;
369
+ }
370
+
371
+ label.text{
372
+ position:relative;
373
+ left:0.5em;
374
+ top:-0.5em;
375
+ }
376
+ .formactions input.submit{
377
+ float:right;
378
+ margin:-1em 0 0 0;
379
+ padding:0 0.5em;
380
+ }
381
+ .formactions .spinner{
382
+ float:right;
383
+ margin:-8px -20px 0 0;
384
+ }
385
+
386
+ /*-----------------------------------------------------------------------------------------------
387
+ Ancillary Items
388
+ -----------------------------------------------------------------------------------------------*/
389
+
390
+ #ancillary{
391
+ padding:2em 0 0 0;
392
+ }
393
+ #ancillary .block{
394
+ float:left;
395
+ width: 46%;
396
+ margin:0 0 0 5%;
397
+ }
398
+ #ancillary .twice-length{ width:65%; }
399
+ #ancillary .thrice-length{ width:100%; }
400
+ * html #ancillary .block{
401
+ margin:0 0 0 4%;
402
+ }
403
+ #ancillary .first, * html #ancillary .first{
404
+ clear:both;
405
+ margin:0;
406
+ }
407
+ #ancillary .block-separator{
408
+ clear:both;
409
+ height:2.5em;
410
+ }
411
+
412
+ #ancillary .block h2, #ancillary .block h3{
413
+ margin:0 0 2em 0;
414
+ }
415
+
416
+ ul.dates, ul.counts, ul.blogroll ul, ul.pages{
417
+ list-style-type:none;
418
+ margin:1.5em 0 2em 0;
419
+ border-top:1px solid #3D3D3D;
420
+ }
421
+ ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
422
+ list-style-type:none;
423
+ margin:0;
424
+ padding:0.5em 0;
425
+ border-bottom:1px solid #3D3D3D;
426
+ }
427
+ ul.dates .date{
428
+ color:#858585;
429
+ padding:0 1.5em 0 0;
430
+ }
431
+
432
+ ul.counts .count{
433
+ float:right;
434
+ color:#858585;
435
+ }
436
+
437
+ ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
438
+ color:#BFBFBF;
439
+ text-decoration:none;
440
+ }
441
+ ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{
442
+ color:#FFF;
443
+ }
444
+
445
+ ul.blogroll{ margin-top:0; }
446
+ ul.blogroll li{
447
+ list-style-type:none;
448
+ margin:0;
449
+ }
450
+
451
+ ul.pages ul{
452
+ margin:0;
453
+ }
454
+
455
+ #ancillary .pages ul {
456
+ margin-left: 15px;
457
+ }
458
+
459
+ ul.pages ul li{
460
+ border:none;
461
+ margin-left:2em;
462
+ list-style-type:square;
463
+ }
464
+ /*-----------------------------------------------------------------------------------------------
465
+ Foooter
466
+ -----------------------------------------------------------------------------------------------*/
467
+
468
+ #footer{
469
+ clear:both;
470
+ color:#939393;
471
+ margin:2em 0 3em 0;
472
+ }
473
+ #footer .inside{
474
+ background:url(/theme/images/footer_black.gif) 50% 0 repeat-x;
475
+ padding:1em 0;
476
+ }
477
+ #footer p{
478
+ margin:0;
479
+ font-size:0.95em;
480
+ }
481
+ #footer p.copyright{ float:left; }
482
+ #footer p.attributes{ float:right; }
483
+ #footer p.attributes a{
484
+ padding:0 0 0 1em;
485
+ text-decoration:none;
486
+ color:#525252;
487
+ }
488
+ #footer p.attributes a:hover{
489
+ color:#FFF;
490
+ }
491
+
492
+ /*-----------------------------------------------------------------------------------------------
493
+ Search
494
+ -----------------------------------------------------------------------------------------------*/
495
+
496
+ #search{
497
+ float:right;
498
+ width:200px;
499
+ margin:1em 0 0 0;
500
+ -moz-opacity:0.4;
501
+ text-align:right;
502
+ }
503
+ #search:hover{
504
+ -moz-opacity:1.0;
505
+ }
506
+ #search .searchimg{
507
+ float:left;
508
+ width:14px;
509
+ height:13px;
510
+ background:url(/theme/images/search.gif) 0 0 no-repeat;
511
+ position:relative;
512
+ top:4px;
513
+ }
514
+ #search input{
515
+ width:175px;
516
+ font-size: 0.85em;
517
+ background:#CCC;
518
+ margin-top:2px;
519
+ }
520
+ #search input:focus{
521
+ background:#FFF;
522
+ }
523
+
524
+ #searchform{
525
+ margin:1em 0;
526
+ }
527
+
528
+ #searchform #s{
529
+ background:#222;
530
+ border:none;
531
+ border-bottom:1px solid #333;
532
+ width:30em;
533
+ color:#666666;
534
+ padding:0.25em;
535
+ }
536
+
537
+ #searchform #searchsubmit{
538
+ background:#000;
539
+ color:#666;
540
+ border:none;
541
+ font-size:0.9em;
542
+ text-transform:uppercase;
543
+ letter-spacing:0.25em;
544
+ }
545
+
546
+ /* Legacy Typo CSS */
547
+
548
+ #search-results{
549
+ width:30%;
550
+ background:#333;
551
+ padding:0 0 0 0;
552
+ float:right;
553
+ -moz-opacity:0.9;
554
+ border-top:1em solid #000;
555
+ }
556
+ #search-results h3{
557
+ font-weight:bold;
558
+ text-align:left;
559
+ margin:0;
560
+ padding:0 0 1em 0;
561
+ background:#000;
562
+
563
+ }
564
+ #search-results small{
565
+ display:block;
566
+ text-align:left;
567
+ font-size:0.9em;
568
+ padding:0.5em 1em 0.7em 1em;
569
+ border-top:1px solid #666;
570
+ border-bottom:1px solid #555;
571
+ }
572
+ #search-results small a{
573
+ color:#CCC;
574
+ }
575
+ #search-results ul li{
576
+ list-style-type:none;
577
+ padding:0 1em 0.5em 1em;
578
+ margin:0.5em 0;
579
+ }
580
+ #search-results ul li:hover{
581
+ background:#202020;
582
+ }
583
+ #search-result ul{ margin:0; }
584
+ #search-results ul li a{
585
+ text-decoration:none;
586
+ border-bottom:1px dotted #CCC;
587
+ }
588
+
589
+ #search img.archives-icon{
590
+ margin:0 7px 0 0;
591
+ top:1px;
592
+ }
593
+
594
+ img.centered, img.aligncenter {
595
+ display: block;
596
+ margin-left: auto;
597
+ margin-right: auto;
598
+ }
599
+
600
+ img.alignright {
601
+ padding: 4px;
602
+ margin: 0 0 2px 7px;
603
+ display: inline;
604
+ }
605
+
606
+ img.alignleft {
607
+ padding: 4px;
608
+ margin: 0 7px 2px 0;
609
+ display: inline;
610
+ }
611
+
612
+ .alignright {
613
+ float: right;
614
+ }
615
+
616
+ .alignleft {
617
+ float: left;
618
+ }
619
+ .aligncenter, div.aligncenter {
620
+ display: block;
621
+ margin-left: auto;
622
+ margin-right: auto;
623
+ }
624
+
625
+ .wp-caption {
626
+ border: 1px solid #ddd;
627
+ text-align: center;
628
+ background-color: #f3f3f3;
629
+ padding-top: 4px;
630
+ margin: 10px;
631
+ -moz-border-radius: 3px;
632
+ -khtml-border-radius: 3px;
633
+ -webkit-border-radius: 3px;
634
+ border-radius: 3px;
635
+ }
636
+
637
+ .wp-caption img {
638
+ margin: 0;
639
+ padding: 0;
640
+ border: 0 none;
641
+ }
642
+
643
+ .wp-caption p.wp-caption-text {
644
+ font-size: 11px;
645
+ color: #000;
646
+ line-height: 17px;
647
+ padding: 0 4px 5px;
648
+ margin: 0;
649
+ }
650
+
651
+ #body_content_right {
652
+ float: left;
653
+ width: 49%;
654
+ }
655
+
656
+ #body_content_left {
657
+ float: right;
658
+ width: 49%
659
+ }
660
+
661
+
662
+ /*
663
+ Firefox Dotted Line Fix
664
+ - http://sonspring.com/journal/removing-dotted-links
665
+ */
666
+ a:focus {
667
+ outline: none;
668
+ }
669
+
670
+ /*
671
+ Clearfix docs
672
+ - Main docs: http://positioniseverything.net/easyclearing.html
673
+ - IE7 change: http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
674
+ */
675
+ .clearfix:after {
676
+ content: ".";
677
+ display: block;
678
+ height: 0;
679
+ clear: both;
680
+ visibility: hidden;
681
+ }
682
+ .clearfix {
683
+ display: inline-block;
684
+ }
685
+
686
+ /* Hide from IE Mac \*/
687
+ .clearfix {
688
+ display:block;
689
+ }
690
+ /* End hide from IE Mac */
691
+
692
+
693
+ .inquiries form label {
694
+ display: block;
695
+
696
+ }
697
+
698
+ .inquiries .field {
699
+ margin: 12px 0px;
700
+ }
701
+
702
+ .inquiries form {
703
+ padding-top: 12px;
704
+ }
705
+
706
+ .page_not_live {
707
+ border: 1px solid #A00027;
708
+ color: #A00027;
709
+ background: #FFB1B1;
710
+ padding:3px 9px;
711
+ font-weight:bold;
712
+ width:auto;
713
+ }