mcms_blog 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/images/icons/accept.png +0 -0
  5. data/app/assets/images/icons/add.png +0 -0
  6. data/app/assets/images/icons/ajax-loader.gif +0 -0
  7. data/app/assets/images/icons/application_edit.png +0 -0
  8. data/app/assets/images/icons/application_go.png +0 -0
  9. data/app/assets/images/icons/arrow_left.png +0 -0
  10. data/app/assets/images/icons/arrow_switch.png +0 -0
  11. data/app/assets/images/icons/arrow_up.png +0 -0
  12. data/app/assets/images/icons/bin.png +0 -0
  13. data/app/assets/images/icons/bin_closed.png +0 -0
  14. data/app/assets/images/icons/cancel.png +0 -0
  15. data/app/assets/images/icons/cog_add.png +0 -0
  16. data/app/assets/images/icons/cog_edit.png +0 -0
  17. data/app/assets/images/icons/cross.png +0 -0
  18. data/app/assets/images/icons/delete.png +0 -0
  19. data/app/assets/images/icons/doc.png +0 -0
  20. data/app/assets/images/icons/down.gif +0 -0
  21. data/app/assets/images/icons/edit.png +0 -0
  22. data/app/assets/images/icons/email.png +0 -0
  23. data/app/assets/images/icons/email_edit.png +0 -0
  24. data/app/assets/images/icons/email_go.png +0 -0
  25. data/app/assets/images/icons/email_open.png +0 -0
  26. data/app/assets/images/icons/eye.png +0 -0
  27. data/app/assets/images/icons/folder_page_white.png +0 -0
  28. data/app/assets/images/icons/image_add.png +0 -0
  29. data/app/assets/images/icons/image_edit.png +0 -0
  30. data/app/assets/images/icons/img.png +0 -0
  31. data/app/assets/images/icons/information.png +0 -0
  32. data/app/assets/images/icons/layout_add.png +0 -0
  33. data/app/assets/images/icons/layout_edit.png +0 -0
  34. data/app/assets/images/icons/music.png +0 -0
  35. data/app/assets/images/icons/page_add.png +0 -0
  36. data/app/assets/images/icons/page_edit.png +0 -0
  37. data/app/assets/images/icons/page_white_edit.png +0 -0
  38. data/app/assets/images/icons/page_white_gear.png +0 -0
  39. data/app/assets/images/icons/page_white_put.png +0 -0
  40. data/app/assets/images/icons/pdf.png +0 -0
  41. data/app/assets/images/icons/ppt.png +0 -0
  42. data/app/assets/images/icons/star.png +0 -0
  43. data/app/assets/images/icons/tick.png +0 -0
  44. data/app/assets/images/icons/up.gif +0 -0
  45. data/app/assets/images/icons/user_add.png +0 -0
  46. data/app/assets/images/icons/user_comment.png +0 -0
  47. data/app/assets/images/icons/user_edit.png +0 -0
  48. data/app/assets/images/icons/xls.png +0 -0
  49. data/app/assets/images/icons/zip.png +0 -0
  50. data/app/assets/images/icons/zoom.png +0 -0
  51. data/app/assets/images/page_bg.png +0 -0
  52. data/app/assets/images/rails.png +0 -0
  53. data/app/assets/javascripts/admin/blog/mcms-blog-submenu.js +50 -0
  54. data/app/assets/javascripts/contrib/ui.core.js +519 -0
  55. data/app/assets/javascripts/contrib/ui.tabs.js +688 -0
  56. data/app/assets/javascripts/posts.js +3 -0
  57. data/app/assets/stylesheets/blog_global.css +1587 -0
  58. data/app/assets/stylesheets/blog_home.css +1432 -0
  59. data/app/assets/stylesheets/home.css +1429 -0
  60. data/app/assets/stylesheets/images/back_ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  61. data/app/assets/stylesheets/images/spellayt.gif +0 -0
  62. data/app/assets/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  63. data/app/assets/stylesheets/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  64. data/app/assets/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  65. data/app/assets/stylesheets/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  66. data/app/assets/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  67. data/app/assets/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  68. data/app/assets/stylesheets/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  69. data/app/assets/stylesheets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  70. data/app/assets/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  71. data/app/assets/stylesheets/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  72. data/app/assets/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  73. data/app/assets/stylesheets/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  74. data/app/assets/stylesheets/images/ui-bg_green.png +1 -0
  75. data/app/assets/stylesheets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  76. data/app/assets/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  77. data/app/assets/stylesheets/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  78. data/app/assets/stylesheets/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  79. data/app/assets/stylesheets/images/ui-icons_217bc0_256x240.png +0 -0
  80. data/app/assets/stylesheets/images/ui-icons_222222_256x240.png +0 -0
  81. data/app/assets/stylesheets/images/ui-icons_2e83ff_256x240.png +0 -0
  82. data/app/assets/stylesheets/images/ui-icons_454545_256x240.png +0 -0
  83. data/app/assets/stylesheets/images/ui-icons_469bdd_256x240.png +0 -0
  84. data/app/assets/stylesheets/images/ui-icons_6da8d5_256x240.png +0 -0
  85. data/app/assets/stylesheets/images/ui-icons_888888_256x240.png +0 -0
  86. data/app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png +0 -0
  87. data/app/assets/stylesheets/images/ui-icons_d8e7f3_256x240.png +0 -0
  88. data/app/assets/stylesheets/images/ui-icons_f9bd01_256x240.png +0 -0
  89. data/app/assets/stylesheets/jquery-ui-1.8.6.custom.css +572 -0
  90. data/app/assets/stylesheets/submenu.css.scss +32 -0
  91. data/app/controllers/admin/blog/categories_controller.rb +47 -0
  92. data/app/controllers/admin/blog/comments_controller.rb +64 -0
  93. data/app/controllers/admin/blog/posts_controller.rb +80 -0
  94. data/app/controllers/admin/blog/settings_controller.rb +67 -0
  95. data/app/controllers/application_controller.rb +29 -0
  96. data/app/controllers/blog/categories_controller.rb +34 -0
  97. data/app/controllers/blog/comments_controller.rb +34 -0
  98. data/app/controllers/blog/posts_controller.rb +123 -0
  99. data/app/controllers/blog_controller.rb +31 -0
  100. data/app/helpers/application_helper.rb +5 -0
  101. data/app/helpers/blog_helper.rb +66 -0
  102. data/app/helpers/notification_hepler.rb +5 -0
  103. data/app/helpers/settings_helper.rb +38 -0
  104. data/app/mailers/blog/comment_mailer.rb +12 -0
  105. data/app/models/blog_category.rb +29 -0
  106. data/app/models/blog_comment.rb +109 -0
  107. data/app/models/blog_post.rb +121 -0
  108. data/app/models/categorization.rb +16 -0
  109. data/app/models/ckeditor/asset.rb +6 -0
  110. data/app/models/ckeditor/attachment_file.rb +12 -0
  111. data/app/models/ckeditor/picture.rb +13 -0
  112. data/app/models/setting.rb +59 -0
  113. data/app/views/admin/blog/_submenu.html.erb +89 -0
  114. data/app/views/admin/blog/categories/_category.html.erb +20 -0
  115. data/app/views/admin/blog/categories/_form.html.erb +21 -0
  116. data/app/views/admin/blog/categories/_sortable_list.html.erb +3 -0
  117. data/app/views/admin/blog/categories/edit.html.erb +1 -0
  118. data/app/views/admin/blog/categories/index.html.erb +23 -0
  119. data/app/views/admin/blog/categories/new.html.erb +2 -0
  120. data/app/views/admin/blog/comments/_comment.html.erb +27 -0
  121. data/app/views/admin/blog/comments/_sortable_list.html.erb +11 -0
  122. data/app/views/admin/blog/comments/index.html.erb +12 -0
  123. data/app/views/admin/blog/comments/show.html.erb +70 -0
  124. data/app/views/admin/blog/posts/_form.css.erb +22 -0
  125. data/app/views/admin/blog/posts/_form.html.erb +92 -0
  126. data/app/views/admin/blog/posts/_form.js.erb +34 -0
  127. data/app/views/admin/blog/posts/_form_part.html.erb +10 -0
  128. data/app/views/admin/blog/posts/_post.html.erb +26 -0
  129. data/app/views/admin/blog/posts/_sortable_list.html.erb +3 -0
  130. data/app/views/admin/blog/posts/_teaser_part.html.erb +11 -0
  131. data/app/views/admin/blog/posts/edit.html.erb +1 -0
  132. data/app/views/admin/blog/posts/index.html.erb +29 -0
  133. data/app/views/admin/blog/posts/new.html.erb +13 -0
  134. data/app/views/admin/blog/settings/notification_recipients.html.erb +23 -0
  135. data/app/views/blog/categories/show.html.erb +17 -0
  136. data/app/views/blog/posts/_comment.html.erb +17 -0
  137. data/app/views/blog/posts/_nav.html.erb +18 -0
  138. data/app/views/blog/posts/_post.html.erb +25 -0
  139. data/app/views/blog/posts/archive.html.erb +17 -0
  140. data/app/views/blog/posts/index.html.erb +15 -0
  141. data/app/views/blog/posts/show.html.erb +64 -0
  142. data/app/views/blog/posts/tagged.html.erb +20 -0
  143. data/app/views/blog/shared/_categories.html.erb +19 -0
  144. data/app/views/blog/shared/_post.html.erb +34 -0
  145. data/app/views/blog/shared/_posts.html.erb +17 -0
  146. data/app/views/blog/shared/_rss_feed.html.erb +2 -0
  147. data/app/views/blog/shared/_tags.html.erb +17 -0
  148. data/app/views/layouts/_javascript.html.erb +3 -0
  149. data/app/views/layouts/_scripts.html.erb +6 -0
  150. data/app/views/layouts/_stylesheets.html.erb +6 -0
  151. data/app/views/layouts/admin.html.erb +25 -0
  152. data/app/views/layouts/application.html.erb +38 -0
  153. data/app/views/layouts/home.html.erb +38 -0
  154. data/app/views/shared/_footer.html.erb +3 -0
  155. data/app/views/shared/_head.html.erb +4 -0
  156. data/app/views/shared/_header.html.erb +7 -0
  157. data/app/views/shared/_javascripts.html.erb +3 -0
  158. data/app/views/shared/_menu.html.erb +9 -0
  159. data/app/views/shared/_stylesheets.html.erb +6 -0
  160. data/app/views/shared/admin/_error_messages.html.erb +16 -0
  161. data/app/views/shared/admin/_form_actions.html.erb +34 -0
  162. data/config/locales/en.yml +192 -0
  163. data/config/routes.rb +65 -0
  164. data/db/migrate/20120606150655_create_mcms_assets.rb +26 -0
  165. data/db/migrate/20120608071959_create_blog_categories.rb +9 -0
  166. data/db/migrate/20120608072013_create_blog_comments.rb +14 -0
  167. data/db/migrate/20120608072027_create_blog_posts.rb +16 -0
  168. data/db/migrate/20120612055745_create_categorizations.rb +9 -0
  169. data/db/migrate/20120618104134_add_index_in_blog_comments.rb +5 -0
  170. data/db/migrate/20120618105246_add_custom_index_in_mcms_blog_comments.rb +5 -0
  171. data/db/migrate/20120618105511_add_custom_index_in_mcms_blog_posts.rb +5 -0
  172. data/db/migrate/20120619094143_create_settings.rb +12 -0
  173. data/db/migrate/20120627063009_acts_as_taggable_on_migration.rb +28 -0
  174. data/db/migrate/20120629065434_add_slug_to_blog_post.rb +6 -0
  175. data/db/migrate/20120629113457_add_slug_to_mcms_blog_category.rb +6 -0
  176. data/db/seeds.rb +26 -0
  177. data/lib/generators/mcms_blog/USAGE +8 -0
  178. data/lib/generators/mcms_blog/mcms_blog_generator.rb +60 -0
  179. data/lib/generators/mcms_blog/templates/asset_manager.rb +107 -0
  180. data/lib/generators/mcms_blog/templates/ckeditor.rb +18 -0
  181. data/lib/mcms_blog/engine.rb +18 -0
  182. data/lib/mcms_blog/version.rb +3 -0
  183. data/lib/mcms_blog.rb +4 -0
  184. data/lib/tasks/mcms_blog_tasks.rake +4 -0
  185. data/test/dummy/README.rdoc +261 -0
  186. data/test/dummy/Rakefile +7 -0
  187. data/test/dummy/app/assets/javascripts/application.js +15 -0
  188. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  189. data/test/dummy/app/controllers/application_controller.rb +3 -0
  190. data/test/dummy/app/helpers/application_helper.rb +2 -0
  191. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  192. data/test/dummy/config/application.rb +59 -0
  193. data/test/dummy/config/boot.rb +10 -0
  194. data/test/dummy/config/database.yml +25 -0
  195. data/test/dummy/config/environment.rb +5 -0
  196. data/test/dummy/config/environments/development.rb +37 -0
  197. data/test/dummy/config/environments/production.rb +67 -0
  198. data/test/dummy/config/environments/test.rb +37 -0
  199. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  200. data/test/dummy/config/initializers/inflections.rb +15 -0
  201. data/test/dummy/config/initializers/mime_types.rb +5 -0
  202. data/test/dummy/config/initializers/secret_token.rb +7 -0
  203. data/test/dummy/config/initializers/session_store.rb +8 -0
  204. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  205. data/test/dummy/config/locales/en.yml +5 -0
  206. data/test/dummy/config/routes.rb +58 -0
  207. data/test/dummy/config.ru +4 -0
  208. data/test/dummy/public/404.html +26 -0
  209. data/test/dummy/public/422.html +26 -0
  210. data/test/dummy/public/500.html +25 -0
  211. data/test/dummy/public/favicon.ico +0 -0
  212. data/test/dummy/script/rails +6 -0
  213. data/test/integration/navigation_test.rb +10 -0
  214. data/test/mcms_blog_test.rb +7 -0
  215. data/test/test_helper.rb +15 -0
  216. metadata +403 -0
@@ -0,0 +1,1587 @@
1
+ * {
2
+ color: #41403C;
3
+ font-family: Arial;
4
+ font-size: 13px;
5
+ }
6
+ p {
7
+ font-size: 14px;
8
+ line-height: 18px;
9
+ }
10
+ html {
11
+ min-height: 100%;
12
+ }
13
+ body {
14
+ min-height: 100%;
15
+ margin: 0;
16
+ padding: 0;
17
+ font-size: 10px;
18
+ font-family: Verdana;
19
+ line-height: 1.5em;
20
+ background: #303030 url('page_bg.png') repeat;
21
+ }
22
+ acronym {
23
+ cursor: help;
24
+ }
25
+ label[for] {
26
+ cursor: pointer;
27
+ }
28
+ #page-container, #site_bar_content, header {
29
+ margin: 0px auto 10px auto;
30
+ text-align: left;
31
+ width: 990px;
32
+ }
33
+ #page-container {
34
+ width: 960px;
35
+ padding: 30px 15px;
36
+ }
37
+ #site_bar_content {
38
+ margin-bottom: 0px;
39
+ }
40
+ #content .field, #content .form-actions {
41
+ width: 100%;
42
+ position: relative;
43
+ }
44
+ #dialog_container #content .field, .dialog_container .field {
45
+ width: auto;
46
+ margin:5px 0;
47
+ }
48
+ input.widest, textarea.widest {
49
+ width: 99%;
50
+ }
51
+ select.widest {
52
+ max-width: 99%;
53
+ }
54
+ #actions {
55
+ float: right;
56
+ width: 30.7%;
57
+ padding-left: 15px;
58
+ padding-top: 0px;
59
+ }
60
+ #records {
61
+ float: left;
62
+ width: 67.7%;
63
+ }
64
+ #actions ul {
65
+ margin: 0px 0px 18px 0px;
66
+ padding: 0;
67
+ list-style: none;
68
+ }
69
+ #actions li a {
70
+ background-color: #dbedff;
71
+ background-position: 12px;
72
+ background-repeat: no-repeat;
73
+ border: 1px solid #65C3F7;
74
+ display: block;
75
+ padding: 9px 12px 9px 36px;
76
+ }
77
+ #actions li a:hover {
78
+ background-color: #cae7fb;
79
+ }
80
+ #actions li a:active, #actions li.selected a {
81
+ background-color: #22A7F2;
82
+ color: white;
83
+ }
84
+ #actions li {
85
+ margin-top: 10px;
86
+ }
87
+ #sort-status {
88
+ padding: 5px 5px 5px 0px;
89
+ }
90
+ hr {
91
+ border: 0;
92
+ border-top: 1px solid #484743;
93
+ }
94
+ .actions img {
95
+ border: none;
96
+ }
97
+ .actions a, .actions a:hover {
98
+ border: none;
99
+ text-decoration: none;
100
+ }
101
+ .errorExplanation {
102
+ background: 7px 10px no-repeat url('icons/cancel.png') #FFB1B1;
103
+ padding: 0px 5px 5px 30px;
104
+ font-weight: bold;
105
+ margin-top: 5px;
106
+ margin-bottom: 5px;
107
+ border: 1px solid red;
108
+ }
109
+ .errorExplanation h2 {
110
+ color: red;
111
+ text-transform: none;
112
+ display: none;
113
+ }
114
+ .errorExplanation p {
115
+ font-weight: normal;
116
+ }
117
+ .fieldWithErrors input, .fieldWithErrors textarea {
118
+ border: 1px solid red !important;
119
+ background-color: #FFECF0 !important;
120
+ }
121
+ .fieldWithErrors iframe, .fieldWithErrors .wym_box {
122
+ border-color: red !important;
123
+ }
124
+ #message, .flash {
125
+ padding: 8px 8px 8px 30px;
126
+ margin-bottom: 15px;
127
+ position: relative;
128
+ }
129
+ .flash_notice, .flash_message {
130
+ border: 1px solid #00A017;
131
+ color: #00A017;
132
+ background: 7px 7px no-repeat url('icons/accept.png') #E0F5E0;
133
+ }
134
+ .flash_notice, .flash_notice * {
135
+ color: #00A017;
136
+ }
137
+ .flash_error, .flash_alert {
138
+ border: 1px solid #A00027;
139
+ color: #A00027;
140
+ background: 7px 7px no-repeat url('icons/cancel.png') #FFB1B1;
141
+ }
142
+ .flash.flash_notice #flash_close, .flash.flash_error #flash_close, .flash.flash_alert #flash_close {
143
+ text-transform: lowercase;
144
+ }
145
+ .flash.flash_message {
146
+ background: #E0F5E0;
147
+ padding: 9px;
148
+ position: relative;
149
+ margin-bottom: 32px;
150
+ }
151
+ .flash.flash_message h2 {
152
+ margin-top: 12px;
153
+ }
154
+ .flash_message, .flash_message * {
155
+ color: #262719;
156
+ font-size: 14px;
157
+ }
158
+ .flash a, .flash a:hover {
159
+ color: #e20003;
160
+ border-bottom-color: #e20003;
161
+ }
162
+ .flash.flash_error a, .flash.flash_error a:hover,
163
+ .flash.flash_alert a, .flash.flash_alert a:hover {
164
+ display: none;
165
+ }
166
+ noscript .flash.flash_error a, noscript .flash.flash_error a:hover,
167
+ noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
168
+ display: inline;
169
+ font-weight: bold;
170
+ }
171
+ .flash a#flash_close {
172
+ position: absolute;
173
+ right: 9px;
174
+ top: 7px;
175
+ }
176
+ .flash.flash_message a#flash_close {
177
+ top: 21px;
178
+ }
179
+ #content a {
180
+ border-bottom: 1px dotted #727272;
181
+ }
182
+ a {
183
+ color: #41403C;
184
+ text-decoration: none;
185
+ }
186
+ a:hover {
187
+ color: #000;
188
+ border-bottom: 1px solid #727272;
189
+ }
190
+ header a, header a:hover {
191
+ border-bottom: 0px none;
192
+ }
193
+ #content .wym_box a, #content .ui-tabs a {
194
+ border-bottom: 0px none;
195
+ }
196
+ .index #content, .splash #content {
197
+ background-color: white;
198
+ background-repeat: repeat-y;
199
+ }
200
+ #content h1 {
201
+ font-size: 18px;
202
+ font-weight: lighter;
203
+ text-align: center;
204
+ border-bottom: 1px solid #99998B;
205
+ padding-bottom: 10px;
206
+ }
207
+ .less-important {
208
+ color: #727272;
209
+ }
210
+ a#site_bar_refinery_cms_logo {
211
+ left: 448px;
212
+ }
213
+ #content, #page-container {
214
+ background-color: white;
215
+ }
216
+ body.login #site_bar_content {
217
+ width: 650px;
218
+ }
219
+ body.login #page-container {
220
+ width: 620px;
221
+ }
222
+ body.login header {
223
+ background: #eaeaea;
224
+ width: 620px;
225
+ padding: 0px 15px 1em;
226
+ height: auto;
227
+ }
228
+ header, footer, nav {
229
+ display: block;
230
+ }
231
+ body.login #site_bar_content a#site_bar_refinery_cms_logo {
232
+ left: 247px;
233
+ }
234
+ #page-container .login #page h1 {
235
+ margin: 0;
236
+ padding: 5px;
237
+ font-size: 20px;
238
+ line-height:22px
239
+ }
240
+ body.login #page-container div.remember_me label, label.inline {
241
+ display: inline;
242
+ }
243
+ body.login #page-container div.actions {
244
+ margin-top: 12px;
245
+ }
246
+ body.login label {
247
+ margin-top: 0px;
248
+ }
249
+ body.login .field {
250
+ margin-bottom: 20px;
251
+ }
252
+ body.login .field.remember_me, body.login .field.forgot_password {
253
+ margin-bottom: 0px;
254
+ margin-top: 0px;
255
+ }
256
+ body.login .field.forgot_password {
257
+ text-align: right;
258
+ }
259
+ body.login .field.remember_me label {
260
+ margin-top: 20px;
261
+ }
262
+ body.login #page-container div.remember_me {
263
+ width: 300px;
264
+ float: left;
265
+ }
266
+ body.login #page-container div.forgot_password {
267
+ float: right;
268
+ width: 250px;
269
+ }
270
+ body.login label, body.login a {
271
+ font-size: 14px;
272
+ }
273
+ body.login #flash_container, body.login .errorExplanation {
274
+ margin-bottom: 12px;
275
+ }
276
+ div.field.checkbox_access ul.checkboxes li {
277
+ margin-top: 3px;
278
+ }
279
+ div.field.checkbox_access {
280
+ margin-top: 20px;
281
+ }
282
+ div.field.checkbox_access .label_with_help a {
283
+ font-weight: normal;
284
+ }
285
+ /* Works in Firefox, Safari, Chrome, IE8+ */
286
+ body.login input.larger {
287
+ background: url('text_field_background.png') repeat-x white;
288
+ height: 31px;
289
+ }
290
+ body.login input.larger:focus {
291
+ background-position: 0px -41px;
292
+ }
293
+ body.login .fieldWithErrors input.larger {
294
+ background-position: 0px -82px;
295
+ border: 1px solid red;
296
+ }
297
+ header {
298
+ height: 60px;
299
+ position: relative;
300
+ margin-bottom: 0px;
301
+ }
302
+ body.login header h1 {
303
+ color: #41403c;
304
+ vertical-align: middle;
305
+ text-align: center;
306
+ font-weight: bold;
307
+ font-size: 18px;
308
+ padding-bottom: 0px;
309
+ line-height: 30px;
310
+ padding-top: 15px;
311
+ }
312
+ #menu, header .jcarousel-container {
313
+ display: block;
314
+ margin: 0px;
315
+ padding: 0px;
316
+ position: absolute;
317
+ bottom: -1px;
318
+ left: 0px;
319
+ right: 0px;
320
+ background: transparent;
321
+ }
322
+ header .jcarousel-container {
323
+ position: absolute !important;
324
+ }
325
+ header .jcarousel-container .jcarousel-prev,
326
+ header .jcarousel-container .jcarousel-next {
327
+ position: absolute;
328
+ top: 13px;
329
+ cursor: pointer;
330
+ }
331
+ header .jcarousel-container .jcarousel-prev {
332
+ left: -20px;
333
+ }
334
+ header .jcarousel-container .jcarousel-next {
335
+ right: -20px;
336
+ }
337
+ header .jcarousel-container .jcarousel-prev-disabled,
338
+ header .jcarousel-container .jcarousel-next-disabled {
339
+ display: none !important;
340
+ }
341
+ #menu.ui-sortable a {
342
+ cursor: move;
343
+ }
344
+ #menu.ui-sortable-disabled a {
345
+ cursor: pointer;
346
+ }
347
+ #menu a {
348
+ display: block;
349
+ padding: 9px 13px;
350
+ font-size: 13px;
351
+ background: url('nav_inactive_background.png') transparent repeat;
352
+ margin-top:4px;
353
+ color: white;
354
+ font-weight: normal;
355
+ float: left;
356
+ margin-right: 2px;
357
+ position: relative;
358
+ }
359
+ #menu a.active, #menu a:hover, #menu a:focus {
360
+ background-color: white;
361
+ color: #ff5500;
362
+ }
363
+ #menu a.active {
364
+ padding: 11px 13px;
365
+ margin-top: 0px;
366
+ }
367
+ #menu a#menu_reorder, header #menu a#menu_reorder_done {
368
+ height: 14px;
369
+ width: 14px;
370
+ margin-top: 11px;
371
+ padding: 6px;
372
+ cursor: pointer;
373
+ vertical-align: middle;
374
+ text-align: center;
375
+ }
376
+ #content {
377
+ padding: 0px;
378
+ }
379
+ pre {
380
+ margin: 0;
381
+ padding: 0;
382
+ }
383
+ .preview {
384
+ color: #A3A093;
385
+ }
386
+ #site_link {
387
+ display: block;
388
+ color: #C2C2B3;
389
+ float: left;
390
+
391
+ }
392
+ #site_link:hover {
393
+ text-decoration: underline;
394
+ }
395
+ header #logo {
396
+ position: absolute;
397
+ right: 20px;
398
+ top: 25px;
399
+ }
400
+ header h1, header h1 a {
401
+ color: white;
402
+ font-size: 20px;
403
+ font-weight: normal;
404
+ margin-bottom: 0;
405
+ padding-bottom: 4px;
406
+ margin-top: 0;
407
+ }
408
+ header p {
409
+ color: white;
410
+ font-size: 90%;
411
+ padding: 0;
412
+ margin: 0;
413
+ }
414
+ .filter {
415
+ float: right;
416
+ }
417
+ #records > ul, #records > #recent_activity > ul, #records > #recent_inquiries > ul,
418
+ #records .pagination_container > ul, #records .pagination_frame > ul {
419
+ margin-left: 0;
420
+ padding-left: 0;
421
+ }
422
+ #records > ul li, #records > #recent_activity > ul li, #records > #recent_inquiries > ul li,
423
+ #records .pagination_container > ul li, #records .pagination_frame > ul {
424
+ list-style: none;
425
+ padding: 0px 5px;
426
+ vertical-align: top;
427
+ margin-bottom: 2px;
428
+ line-height: 35px;
429
+ position: relative;
430
+ }
431
+ #records > #recent_activity > ul li, #records > #recent_inquiries > ul li {
432
+ max-height: 35px;
433
+ }
434
+ /*
435
+ #records > ul.ui-sortable li {
436
+ position: static;
437
+ }
438
+ */
439
+ #content #records > ul li .actions a, #content #records .pagination_container > ul li .actions a {
440
+ line-height: 29px;
441
+ }
442
+ #records ul.clickable li {
443
+ padding: 0px;
444
+ margin-bottom: 0px;
445
+ }
446
+ #records ul.clickable li a {
447
+ padding: 0px 5px;
448
+ vertical-align: top;
449
+ margin-bottom: 2px;
450
+ line-height: 35px;
451
+ display: block;
452
+ border-bottom: 0px none;
453
+ }
454
+ #records > #recent_activity, #records > #recent_inquiries {
455
+ float: left;
456
+ width: 48%;
457
+ }
458
+ #records > #recent_inquiries {
459
+ margin-left: 21px;
460
+ }
461
+ #records.one_list > #recent_activity, #records.one_list > #recent_inquiries {
462
+ width: 100%;
463
+ }
464
+ #records .left-column {
465
+ float: left;
466
+ width: 65%;
467
+ }
468
+ #records .left-column img {
469
+ vertical-align: bottom;
470
+ margin-top: 1px;
471
+ margin-right: 5px;
472
+ }
473
+ #records .right-column {
474
+ float: right;
475
+ width: 34%;
476
+ text-align: right;
477
+ }
478
+ #records .on {
479
+ background-color: #EAEAEA;
480
+ }
481
+ #records .off, #records .on-hover {
482
+ background-color: white;
483
+ }
484
+ #pagination ul a:hover, #pagination .on {
485
+ background: url('hover-gradient.jpg') repeat-x bottom #D4D4C6;
486
+ }
487
+ #records ul.empty {
488
+ display: none;
489
+ }
490
+ #records.tree ul li ul, .tree ul li ul {
491
+ padding: 0;
492
+ }
493
+ #records.tree ul li, .tree ul li {
494
+ margin: 0px;
495
+ padding: 4px 0 0 40px;
496
+ background: url('branch.gif') no-repeat 15px 0px;
497
+ }
498
+ #records.tree li.record ul {
499
+ margin-left: 0;
500
+ }
501
+ #records.tree .on-hover, #pagination ul.tree a:hover, #pagination .tree .on {
502
+ background: url('branch.gif') no-repeat 15px 0px;
503
+ }
504
+ #records.tree ul li.branch_start, .tree ul li.branch_start {
505
+ background-image: url('branch-start.gif');
506
+ }
507
+ #records.tree ul li.branch_end, .tree ul li.branch_end {
508
+ background-image: url('branch-end.gif');
509
+ }
510
+ #records.tree li {
511
+ line-height: 25px;
512
+ }
513
+ #records.tree li span.spacing, .tree li span.spacing {
514
+ display: none;
515
+ }
516
+ #records.tree ul li > div:hover, .tree ul li > div:hover {
517
+ background-color: #EAEAEA;
518
+ }
519
+ /*
520
+ #records.tree ul.ui-sortable li div:hover, .tree ul.ui-sortable li div:hover {
521
+ background-color: inherit;
522
+ }
523
+ */
524
+ #records ul#sortable_list {
525
+ margin-top: 6px;
526
+ }
527
+
528
+ #sortable_list.reordering > li {
529
+ cursor: move;
530
+ }
531
+
532
+ #content h2 {
533
+ font-size: 18px;
534
+ color:#41403c;
535
+ margin-bottom: 15px;
536
+ margin-top: 10px;
537
+ font-weight: bold;
538
+ }
539
+
540
+ #records h2, #actions h2 {
541
+ margin-top: 0px;
542
+ }
543
+ .pagination {
544
+ background-color: #C9DAE2;
545
+ padding: 5px 5px 4px 5px;
546
+ margin: 10px 0px;
547
+ }
548
+ .pagination .disabled {
549
+ color: #A8B9C1;
550
+ }
551
+ .pagination em {
552
+ font-weight: bold;
553
+ font-style: normal;
554
+ padding: 0px 6px;
555
+ }
556
+ .pagination a, #content .pagination a, .pagination .current, .disabled, .pagination em {
557
+ padding: 7px;
558
+ line-height: 20px;
559
+ border-bottom: 0px none;
560
+ }
561
+ .pagination .current, .pagination a:hover, .pagination em {
562
+ background: #A8B9C1;
563
+ }
564
+ #dialog-form-actions .pagination {
565
+ margin: -4px 6px -4px 0px;
566
+ float: right;
567
+ width: auto;
568
+ }
569
+ #dialog-form-actions .pagination a, #dialog-form-actions .pagination .current, #dialog-form-actions .pagination .disabled {
570
+ line-height: 15px;
571
+ }
572
+ textarea {
573
+ line-height: 20px;
574
+ padding: 5px;
575
+ }
576
+ .field-couple {
577
+ margin-bottom: 20px;
578
+ }
579
+ .submit {
580
+ border: inherit;
581
+ width: auto;
582
+ height: 25px;
583
+ }
584
+ label, .label_with_help {
585
+ margin-bottom: 5px;
586
+ font-weight: bold;
587
+ margin-top: 20px;
588
+ display: block;
589
+ }
590
+ label.input_label {
591
+ font-size: inherit;
592
+ margin-bottom: inherit;
593
+ display: inline;
594
+ font-weight: normal;
595
+ margin-top: inherit;
596
+ }
597
+ small label {
598
+ font-size: inherit;
599
+ font-weight: inherit;
600
+ display: inherit;
601
+ }
602
+ label.stripped {
603
+ float: none;
604
+ display: inline;
605
+ font-weight: normal;
606
+ font-size: 1em;
607
+ margin: 0px;
608
+ padding: 0px;
609
+ }
610
+ #body_field {
611
+ float: left;
612
+ width: 60%;
613
+ }
614
+ .no_side_body {
615
+ width: 72% !important;
616
+ }
617
+ #side_body_field {
618
+ float: left;
619
+ width: 38%;
620
+ margin-left: 18px;
621
+ }
622
+ #body_field textarea, #side_body_field textarea {
623
+ width: 99%;
624
+ }
625
+ .record .title span {
626
+ line-height: 30px;
627
+ }
628
+ #records.files .record .title, #dialog_main #resource_file_area .pages_list ul li a.page_link {
629
+ display:inline-block;
630
+ padding-left:24px;
631
+ min-height:16px;
632
+ background-repeat:no-repeat;
633
+ background-position:left;
634
+ background-image: url('icons/folder_page_white.png');
635
+ }
636
+ #dialog_main #resource_file_area .pages_list ul li a.page_link{
637
+ background-position:5px center;
638
+ display:block;
639
+ }
640
+ #records.files .record .title.pdf, #dialog_main #resource_file_area .pages_list ul li a.page_link.pdf {
641
+ background-image: url('icons/pdf.png');
642
+ }
643
+ #records.files .record .title.jpg, #records.files .record .title.gif, #records.files .record .title.jpeg, #records.files .record .title.png, #records.files .record .title.tiff, #dialog_main #resource_file_area .pages_list ul li a.page_link.jpg, #dialog_main #resource_file_area .pages_list ul li a.page_link.jpeg, #dialog_main #resource_file_area .pages_list ul li a.page_link.gif, #dialog_main #resource_file_area .pages_list ul li a.page_link.png, #dialog_main #resource_file_area .pages_list ul li a.page_link.tiff {
644
+ background-image: url('icons/img.png');
645
+ }
646
+ #records.files .record .title.doc, #records.files .record .title.pages, #records.files .record .title.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.doc, #dialog_main #resource_file_area .pages_list ul li a.page_link.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.pages {
647
+ background-image: url('icons/doc.png');
648
+ }
649
+ #records.files .record .title.ppt, #records.files .record .title.keynote, #dialog_main #resource_file_area .pages_list ul li a.page_link.ppt, #dialog_main #resource_file_area .pages_list ul li a.page_link.keynote {
650
+ background-image: url('icons/ppt.png');
651
+ }
652
+ #records.files .record .title.xls, #records.files .record .title.numbers, #dialog_main #resource_file_area .pages_list ul li a.page_link.xls, #dialog_main #resource_file_area .pages_list ul li a.page_link.numbers {
653
+ background-image: url('icons/xls.png');
654
+ }
655
+ #records.files .record .title.zip, #records.files .record .title.rar, #dialog_main #resource_file_area .pages_list ul li a.page_link.zip, #dialog_main #resource_file_area .pages_list ul li a.page_link.rar {
656
+ background-image: url('icons/zip.png');
657
+ }
658
+ #records.files .record .title.mp3, #records.files .record .title.wav, #records.files .record .title.aiff, #records.files .record .title.m4a, #dialog_main #resource_file_area .pages_list ul li a.page_link.mp3, #dialog_main #resource_file_area .pages_list ul li a.page_link.wav, #dialog_main #resource_file_area .pages_list ul li a.page_link.aiff, #dialog_main #resource_file_area .pages_list ul li a.page_link.m4a {
659
+ background-image: url('icons/music.png');
660
+ }
661
+ #records .actions {
662
+ position: absolute;
663
+ right: 0px;
664
+ top: 0px;
665
+ width: 120px;
666
+ text-align: right;
667
+ display: block;
668
+ line-height: 28px;
669
+ }
670
+ #records.tree .actions {
671
+ line-height: 22px;
672
+ top: 1px;
673
+ }
674
+ .published {
675
+ width: 25px;
676
+ text-align: center;
677
+ }
678
+ #content .actions a {
679
+ display: block;
680
+ float: right;
681
+ margin: 3px 3px;
682
+ line-height: inherit;
683
+ border-bottom: 0px none;
684
+ }
685
+
686
+ #content #records.tree > ul li .actions a {
687
+ margin: 3px 3px 0px 3px;
688
+ line-height: 24px;
689
+ }
690
+ .actions a * {
691
+ padding: 4px 4px 1px 4px;
692
+ }
693
+ .actions a img {
694
+ vertical-align: middle;
695
+ padding: 2px 4px 4px 4px;
696
+ }
697
+ #records.tree .actions a img {
698
+ padding-top: 4px;
699
+ }
700
+ #image_grid .actions a img {
701
+ padding: 4px 4px 1px 4px;
702
+ vertical-align: top;
703
+ }
704
+ .actions a:hover {
705
+ color: #E6E5DC;
706
+ background: #3F3E3A;
707
+ }
708
+ .actions a.cancel {
709
+ color: #AF0027;
710
+ }
711
+ .actions a.cancel:hover {
712
+ color: white;
713
+ background: #AF0027;
714
+ }
715
+ .actions a.reorder_anchor:hover {
716
+ background: inherit !important;
717
+ cursor: move;
718
+ }
719
+ #other_records {
720
+ width: 68%;
721
+ }
722
+ #common_actions {
723
+ margin: 0;
724
+ padding: 0;
725
+ }
726
+ #common_actions li {
727
+ margin: 0;
728
+ list-style: none;
729
+ padding: 5px 0px 5px 0px;
730
+ }
731
+ #common_actions li a {
732
+ font-weight: bold;
733
+ }
734
+ .larger {
735
+ font-size: 200%;
736
+ }
737
+ #actions a img {
738
+ vertical-align: bottom;
739
+ border: 0;
740
+ }
741
+ .brown_border {
742
+ border: 1px solid #99998B;
743
+ }
744
+ #inquiry, .inquiry {
745
+ border-collapse: collapse;
746
+ width: 100%;
747
+ background-color: #F5F4F3;
748
+ }
749
+ #inquiry td, .inquiry td {
750
+ border-bottom: 1px solid #CCCCCC;
751
+ padding: 7px;
752
+ }
753
+ #inquiry tr:last-child td, .inquiry tr:last-child td {
754
+ border-bottom: 0px;
755
+ }
756
+ #inquiry td label.stripped, .inquiry td label.stripped {
757
+ font-weight: bold;
758
+ }
759
+ body.dialog {
760
+ background: #FFF;
761
+ }
762
+ body.dialog, body.wym_dialog {
763
+ text-align: left;
764
+ }
765
+ #wym_hide_fields {
766
+ display: none;
767
+ }
768
+ body.dialog form {
769
+ width: 100% !important;
770
+ }
771
+ .dialog span.radio {
772
+ display: block;
773
+ line-height: 18px;
774
+ padding: 6px 0px;
775
+ }
776
+ .dialog span.radio * {
777
+ cursor: pointer;
778
+ font-weight: bold;
779
+ }
780
+ .dialog #dialog_menu_left {
781
+ position: fixed;
782
+ left: 12px;
783
+ top: 9px;
784
+ width: 130px;
785
+ }
786
+ .dialog #dialog_main {
787
+ float: left;
788
+ margin-left: 130px;
789
+ min-height: 405px;
790
+ width: 696px;
791
+ }
792
+ .wym_dialog_table {
793
+ height: 250px;
794
+ }
795
+ .dialog #existing_image_content {
796
+ position: relative;
797
+ height: 300px;
798
+ padding: 12px;
799
+ }
800
+ .dialog #existing_image_area_content {
801
+ margin-top: 28px;
802
+ }
803
+ .dialog #existing_image_area_content ul {
804
+ margin: 0px;
805
+ padding: 0px;
806
+ }
807
+ .dialog #existing_image_area_content ul li {
808
+ list-style: none;
809
+ padding: 0px;
810
+ margin: 0px 2px 0px 0px;
811
+ float: left;
812
+ height: 114px;
813
+ max-height: 114px;
814
+ width: 114px;
815
+ max-width: 114px;
816
+ overflow: hidden;
817
+ cursor: pointer;
818
+ text-align: center;
819
+ vertical-align: middle;
820
+ }
821
+ .dialog #existing_image_area_content ul li img {
822
+ border: 4px solid transparent;
823
+ }
824
+ .dialog #existing_image_area_content ul li.selected img {
825
+ border: 4px solid #22A7F2;
826
+ }
827
+ .dialog #existing_image_size_area {
828
+ margin-top: 18px;
829
+ }
830
+ .dialog #existing_image_size_area ul {
831
+ margin: 0px;
832
+ padding: 10px 0px 0px 0px;
833
+ }
834
+ .dialog #existing_image_size_area ul li {
835
+ float: left;
836
+ list-style: none;
837
+ margin: 0px 18px 0px 0px;
838
+ text-align:center;
839
+ }
840
+ .dialog #existing_image_size_area ul li.selected {
841
+
842
+ }
843
+ .dialog #existing_image_size_area ul li a {
844
+ display: block;
845
+ border: 1px solid #999999;
846
+ font-size: 10px;
847
+ /* The following default values are overridden below */
848
+ height: 90px;
849
+ width: 90px;
850
+ line-height: 90px;
851
+ margin-top:-20px
852
+ }
853
+ .dialog #existing_image_size_area ul li.selected a {
854
+ border-color: #22A7F2;
855
+ background: #22A7F2;
856
+ color: white;
857
+ font-weight: bold;
858
+ }
859
+ .dialog #existing_image_size_area #image_dialog_size_0 a { height: 30px; width: 30px; line-height: 30px; margin-top: 10px}
860
+ .dialog #existing_image_size_area #image_dialog_size_1 a { height: 50px; width: 50px; line-height: 50px; margin-top: 0px}
861
+ .dialog #existing_image_size_area #image_dialog_size_2 a { height: 70px; width: 70px; line-height: 70px; margin-top:-10px}
862
+ .dialog #existing_image_size_area #image_dialog_size_3 a { height: 90px; width: 90px; line-height: 90px; margin-top:-20px}
863
+
864
+ #dialog_main .pagination {
865
+ margin: 0px;
866
+ position: fixed;
867
+ bottom: 5px;
868
+ right: 12px;
869
+ z-index: 1000;
870
+ }
871
+ #upload_image_area, #upload_resource_area {
872
+ padding: 12px;
873
+ }
874
+ .dialog #content {
875
+ padding: 0px;
876
+ }
877
+ .wym_dialog #page {
878
+ width: 940px;
879
+ padding: 6px;
880
+ }
881
+ #dialog_main .pages_list {
882
+ width: 100%;
883
+ padding-bottom: 40px;
884
+ }
885
+ #dialog_main .pages_list ul {
886
+ margin: 0px 12px 0px 12px;
887
+ padding: 0px;
888
+ }
889
+ #dialog_main .pages_list ul li {
890
+ cursor: pointer;
891
+ line-height: 24px;
892
+ list-style: none;
893
+ }
894
+ #dialog_main .pages_list li.child a {
895
+ padding-left: 27px;
896
+ }
897
+ #dialog_main .pages_list li.child1 a {
898
+ padding-left: 47px;
899
+ }
900
+ #dialog_main .pages_list li.child2 a {
901
+ padding-left: 67px;
902
+ }
903
+ #dialog_main .pages_list li.child3 a {
904
+ padding-left: 87px;
905
+ }
906
+ #dialog_main .pages_list li.child4 a {
907
+ padding-left: 107px;
908
+ }
909
+ /*
910
+ #dialog_main .pages_list ul li span {
911
+ display: block;
912
+ padding: 3px;
913
+ margin-left: 24px;
914
+ }*/
915
+ #dialog_main .pages_list ul li a {
916
+ display: block;
917
+ padding: 3px 3px 3px 27px;
918
+ text-decoration: none;
919
+ border-bottom: none;
920
+ border: 1px solid transparent;
921
+ }
922
+ #dialog_main .pages_list li a:hover {
923
+ background-color: #C9DAE2;
924
+ }
925
+ #dialog_main .actions {
926
+ margin-right: 48px;
927
+ }
928
+ #dialog_main .pages_list .linked a, #dialog_main .pages_list .linked a:hover {
929
+ border: 1px solid #00A017;
930
+ color: #00A017;
931
+ background: 7px 7px no-repeat url('icons/accept.png') #E0F5E0;
932
+ }
933
+ #dialog_main .pages_list .linked a em {
934
+ color: #00A017;
935
+ }
936
+ #dialog_main #web_address_area, #dialog_main #email_address_area {
937
+ padding: 12px;
938
+ }
939
+ #link_title {
940
+ margin-top: 12px;
941
+ }
942
+ #link_title label {
943
+ margin: 3px 0px 0px 0px !important;
944
+ width: 130px;
945
+ display: block;
946
+ float: left;
947
+ }
948
+ #link_title input {
949
+ width: 770px;
950
+ }
951
+ ul#menu.reordering_menu li a {
952
+ cursor: move;
953
+ }
954
+ #site_bar {
955
+ background: #22a7f2;
956
+ border-bottom: 0px none;
957
+ }
958
+ #search {
959
+ border: 1px solid #b3b3b3;
960
+ line-height: 18px;
961
+ padding: 2px;
962
+ font-size: 16px;
963
+ width: 180px;
964
+ }
965
+ .pt-BR #search {
966
+ width: 187px;
967
+ }
968
+ .en #search {
969
+ width: 210px;
970
+ }
971
+ .search_form {
972
+ position: relative;
973
+ }
974
+ .search_form .button, .search_form .button-wrapper {
975
+ position: absolute;
976
+ right: 0px;
977
+ top: 0px;
978
+ }
979
+ form input[type=submit]:hover {
980
+ background: #65c3f7;
981
+ }
982
+ .clearfix:after {
983
+ content:".";
984
+ display:block;
985
+ height:0;
986
+ clear:both;
987
+ visibility:hidden;
988
+ }
989
+ .clearfix {display:inline-block;}
990
+ /* Hide from IE Mac \*/
991
+ .clearfix {display:block;}
992
+ /* End hide from IE Mac */
993
+
994
+ /*
995
+ Firefox Dotted Line Fix
996
+ - http://sonspring.com/journal/removing-dotted-links
997
+ */
998
+ a:focus {
999
+ outline: none;
1000
+ }
1001
+ a img {
1002
+ border: 0px none;
1003
+ }
1004
+ /* icons */
1005
+ .add_icon {
1006
+ background-image: url('icons/add.png');
1007
+ }
1008
+ .delete_icon {
1009
+ background-image: url('icons/delete.png');
1010
+ }
1011
+ .edit_icon {
1012
+ background-image: url('icons/application_edit.png');
1013
+ }
1014
+ .reorder_icon {
1015
+ background-image: url('icons/arrow_switch.png');
1016
+ }
1017
+ .reorder_icon.loading{
1018
+ background-image:url('icons/ajax-loader.gif');
1019
+ }
1020
+ .user_comment_icon {
1021
+ background-image: url('icons/user_comment.png');
1022
+ }
1023
+ .edit_email_icon {
1024
+ background-image: url('icons/email_edit.png');
1025
+ }
1026
+ .spam_icon {
1027
+ background-image: url('icons/bin.png');
1028
+ }
1029
+ .spam_empty_icon {
1030
+ background-image: url('icons/bin_closed.png');
1031
+ }
1032
+ .email_icon {
1033
+ background-image: url('icons/email.png');
1034
+ }
1035
+ .back_icon {
1036
+ background-image: url('icons/arrow_left.png');
1037
+ }
1038
+ .go_icon {
1039
+ background-image: url('icons/application_go.png');
1040
+ }
1041
+ .success_icon {
1042
+ background-image: url('/images/refinery/icons/tick.png');
1043
+ padding: 0px 8px;
1044
+ }
1045
+ .failure_icon {
1046
+ background-image: url('icons/cross.png');
1047
+ padding: 0px 8px;
1048
+ }
1049
+ /* page parts */
1050
+
1051
+ ul#page_parts {
1052
+ float: left;
1053
+ width: 94%;
1054
+ }
1055
+ ul#page_parts, ul#page_parts_controls {
1056
+ margin: 20px 0 0 0;
1057
+ padding: 0;
1058
+ }
1059
+ ul#page_parts_controls {
1060
+ float: right;
1061
+ width: 5%;
1062
+ margin-right: 3px;
1063
+ }
1064
+ ul#page_parts_controls li {
1065
+ list-style: none;
1066
+ float: right;
1067
+ margin: 12px 3px 0px 3px;
1068
+ }
1069
+ ul#page_parts_controls li a {
1070
+ border: 0px none;
1071
+ }
1072
+ ul#page_parts_controls img {
1073
+ vertical-align: middle;
1074
+ }
1075
+ #page_part_editors {
1076
+ clear:left;
1077
+ /* min-height: 446px;*/
1078
+ }
1079
+ a#toggle_advanced_options {
1080
+ background: url('icons/page_white_gear.png') no-repeat 0px 3px;
1081
+ padding: 5px 5px 5px 22px;
1082
+ border-bottom: none;
1083
+ }
1084
+ a#toggle_advanced_options:hover {
1085
+ border-bottom:1px dotted #727272;
1086
+ }
1087
+ /* dialog stuff */
1088
+ #dialog_frame {
1089
+ width:952px;
1090
+ height:460px;
1091
+ padding: 0px;
1092
+ border: 0px solid #F2F1ED;
1093
+ }
1094
+ .wym_hideables {
1095
+ display: none;
1096
+ }
1097
+ #content .form-actions, .wym_dialog .form-actions, .ui-dialog .form-actions {
1098
+ position: relative;
1099
+ background-color: #F2F2F2;
1100
+ border: 1px solid #CCCCCC;
1101
+ margin-top: 10px;
1102
+ height: 45px;
1103
+ }
1104
+ .dialog form {
1105
+ margin-bottom: 45px;
1106
+ }
1107
+ .dialog .dialog_area > div > .field label:first-child, .dialog .dialog_area > div > label:first-child {
1108
+ margin-top: 0px;
1109
+ }
1110
+ .wym_dialog .form-actions, #content.form-actions.dialog-form-actions, .ui-dialog .form-actions {
1111
+ margin-top: 16px;
1112
+ }
1113
+ #content .form-actions .form-actions-left, #content .form-actions .form-actions-right,
1114
+ .wym_dialog .form-actions .form-actions-left, .wym_dialog .form-actions .form-actions-right,
1115
+ .ui-dialog .form-actions .form-actions-left, .ui-dialog .form-actions .form-actions-right {
1116
+ position: absolute;
1117
+ top: 10px;
1118
+ }
1119
+ #content .form-actions .form-actions-left, .wym_dialog .form-actions .form-actions-left, .ui-dialog .form-actions .form-actions-left {
1120
+ left: 10px;
1121
+ }
1122
+ #content .form-actions .form-actions-right, .wym_dialog .form-actions .form-actions-right, .ui-dialog .form-actions .form-actions-right {
1123
+ right: 10px;
1124
+ }
1125
+ #content .form-actions .save-loader {
1126
+ position: absolute;
1127
+ right: -24px;
1128
+ top: 4px;
1129
+ }
1130
+ .wym_dialog .form-actions, .ui-dialog .form-actions {
1131
+ border: 0px none;
1132
+ border-top: 1px solid #E8E8E8;
1133
+ }
1134
+ #dialog_iframe {
1135
+ position: relative;
1136
+ }
1137
+ #dialog_container #content .form-actions, .ui-dialog .form-actions, .dialog_container .form-actions {
1138
+ position: absolute;
1139
+ bottom: 0px;
1140
+ left: 0px;
1141
+ right: 0px;
1142
+ border-right: 0px;
1143
+ border-left: 0px;
1144
+ border-bottom: 0px;
1145
+ width: auto;
1146
+ }
1147
+ #dialog_container.dialog.iframed #content .form-actions {
1148
+ position: fixed;
1149
+ }
1150
+ body.dialog #content .search_form {
1151
+ float: right;
1152
+ width: auto !important;
1153
+ min-width: 300px;
1154
+ margin-bottom: 0px;
1155
+ }
1156
+ #existing_image_area {
1157
+ padding-top:6px;
1158
+ }
1159
+ textarea.wymeditor {
1160
+ }
1161
+ .ui-dialog div.field {
1162
+ margin: 0px 10px;
1163
+ }
1164
+ #dialog_container, .dialog_container {
1165
+ padding: 12px;
1166
+ }
1167
+ ul#image_grid, .pagination_container > ul#image_grid {
1168
+ width: 100%;
1169
+ padding: 0px;
1170
+ margin: 10px 0px 15px 0px;
1171
+ }
1172
+ .pagination_container > ul#image_grid.pagination_frame {
1173
+ top: 38px;
1174
+ }
1175
+ ul#image_grid li, .pagination_container > ul#image_grid li {
1176
+ position: relative;
1177
+ float: left;
1178
+ margin: 0px 7px 12px 0px;
1179
+ padding: 0px;
1180
+ width: 124px;
1181
+ text-align: center;
1182
+ height: 165px;
1183
+ overflow: hidden;
1184
+ max-width: 124px;
1185
+ max-height: 165px;
1186
+ }
1187
+ ul#image_grid li.image_4 {
1188
+ margin-left: 1px;
1189
+ margin-right: 0px;
1190
+ }
1191
+ #records ul#image_grid li .actions {
1192
+ top: auto;
1193
+ bottom: 0px;
1194
+ }
1195
+ #records ul#image_grid li .actions a {
1196
+ line-height: 24px;
1197
+ }
1198
+ ul#image_grid li.row-end {
1199
+ margin-right: 0px;
1200
+ float: right;
1201
+ }
1202
+ ul#image_grid li a {
1203
+ border: 0 none;
1204
+ }
1205
+ ul#image_grid li p {
1206
+ margin: 3px 0;
1207
+ }
1208
+ ul#image_grid li span.actions {
1209
+ width: 100%;
1210
+ }
1211
+ #content form.edit_image {
1212
+ width: 70%;
1213
+ float: left;
1214
+ }
1215
+ #content #existing_image {
1216
+ float: right;
1217
+ width: 25%;
1218
+ }
1219
+ ul.checkboxes {
1220
+ margin: 0px;
1221
+ padding: 0px;
1222
+ }
1223
+ ul.checkboxes li {
1224
+ list-style: none;
1225
+ }
1226
+ .label_inline_with_link label {
1227
+ float: left;
1228
+ margin-right: 6px;
1229
+ }
1230
+ .label_inline_with_link a {
1231
+ border: 0px none;
1232
+ margin-top: 19px;
1233
+ line-height: 17px;
1234
+ float: left;
1235
+ }
1236
+ .label_inline_with_link a img {
1237
+ vertical-align: middle;
1238
+ }
1239
+ .remove_picked_image {
1240
+ margin-top:8px;
1241
+ display:inline-block;
1242
+ width:auto;
1243
+ }
1244
+ #new_page_part_dialog .field {
1245
+ padding: 0px 10px;
1246
+ }
1247
+ .hide-overflow {
1248
+ overflow: hidden;
1249
+ }
1250
+ #remove_resource {
1251
+ margin-top:8px;
1252
+ display:inline-block;
1253
+ width:auto;
1254
+ }
1255
+ /**** Tooltip Icons *****/
1256
+ .tooltip {
1257
+ background: #22a7f2;
1258
+ border: 1px solid #1b82bd;
1259
+ word-wrap:break-word;
1260
+ position: relative;
1261
+ }
1262
+ .tooltip span {
1263
+ display: block;
1264
+ padding: 10px;
1265
+ border: 1px solid #62c1f6;
1266
+ }
1267
+ .tooltip-nib {
1268
+ position: absolute;
1269
+ z-index: 10001;
1270
+ }
1271
+ .tooltip, .tooltip * {
1272
+ color: white;
1273
+ }
1274
+ .wym_dialog_paste .field textarea {
1275
+ width: 98%;
1276
+ }
1277
+ .ui-dialog .wym_dialog_paste .field, .ui-dialog .wym_dialog_paste .field textarea {
1278
+ margin: 0px 0px 45px 0px;
1279
+ height: 300px;
1280
+ }
1281
+ input.button, a.button, #content a.button, span.button-wrapper, span.button-wrapper input {
1282
+ cursor:pointer;
1283
+ background: #22a7f2;
1284
+ color: white;
1285
+ padding: 0px 14px 0px 14px;
1286
+ font-size: 14px;
1287
+ line-height: 25px;
1288
+ height: 25px;
1289
+ display: inline-block;
1290
+ border: 0px none;
1291
+ margin-top: 0px;
1292
+ margin-bottom: 0px;
1293
+ }
1294
+ /* for those pesky IE browsers */
1295
+ span.button-wrapper {
1296
+ padding: 0px;
1297
+ }
1298
+ span.button-wrapper input {
1299
+ display: inherit;
1300
+ }
1301
+ /* fixes firefox display */
1302
+ input.button {
1303
+ padding-bottom: 3px;
1304
+ }
1305
+ input.button.close_dialog, a.button.close_dialog, #content a.button.close_dialog, span.button-wrapper.close_dialog, span.button-wrapper.close_dialog input {
1306
+ background: #bcbcbc;
1307
+ }
1308
+ input.button:hover, a.button:hover, #content a.button:hover, span.button-wrapper:hover, span.button-wrapper:hover input {
1309
+ background:#62bef2;
1310
+ }
1311
+ input.button.close_dialog:hover, a.button.close_dialog:hover, #content a.button.close_dialog:hover, span.button-wrapper.close_dialog:hover {
1312
+ background: #cdcdcd;
1313
+ }
1314
+ input.button:active, a.button:active, #content a.button:active, span.button-wrapper:active, span.button-wrapper:active input {
1315
+ background: #004a8f;
1316
+ }
1317
+ input.button.close_dialog:active, a.button.close_dialog:active, #content a.button.close_dialog:active, span.button-wrapper.close_dialog:active, span.button-wrapper.close_dialog:active input {
1318
+ background: #808080;
1319
+ }
1320
+ .wym_dialog a.button.wym_cancel.close_dialog {
1321
+ margin-left: 6px;
1322
+ }
1323
+ #content a.button.close_dialog:active {
1324
+ color: white;
1325
+ }
1326
+ .form-actions a.confirm-delete, #content .form-actions a.confirm-delete {
1327
+ background: #ee1100;
1328
+ position: absolute;
1329
+ right: 0px;
1330
+ }
1331
+ .form-actions a.confirm-delete:hover, #content .form-actions a.confirm-delete:hover {
1332
+ background: #ff3322;
1333
+ }
1334
+ .form-actions a.confirm-delete:active, #content .form-actions a.confirm-delete:active {
1335
+ background: #bb0000;
1336
+ }
1337
+ .field input[type=text], .field input[type=password], .field textarea {
1338
+ border: 1px solid #7f9db9;
1339
+ padding: 0.4% 0.5%;
1340
+ line-height: 20px;
1341
+ }
1342
+ /* ## Advanced Page Options --------------------------------------------- */
1343
+ #more_options{
1344
+ overflow:hidden;
1345
+ }
1346
+ .hemisquare {
1347
+ padding: 10px;
1348
+ margin: 0px 0px;
1349
+ margin-left: 10px;
1350
+ width: 45%;
1351
+ }
1352
+ .hemisquare.right_side {
1353
+ float: right;
1354
+ }
1355
+ #content .hemisquare h2 {
1356
+ margin-top: 0px;
1357
+ }
1358
+ .hemisquare input, .hemisquare textarea, .hemisquare select {
1359
+ margin: 7px 0px;
1360
+ }
1361
+ .hemisquare textarea {
1362
+ margin-bottom: 0px;
1363
+ }
1364
+ .hemisquare label {
1365
+ margin: 0px;
1366
+ }
1367
+ #content .hemisquare .field {
1368
+ margin: 0 0 20px 0px;
1369
+ width: 98%;
1370
+ }
1371
+ .hemisquare small {
1372
+ font-size: 0.9em;
1373
+ }
1374
+ .label_with_help {
1375
+ vertical-align: middle;
1376
+ }
1377
+ .label_with_help label, .label_with_help span.help, .label_with_help img.help {
1378
+ display: inline;
1379
+ }
1380
+ .label_with_help img.help {
1381
+ vertical-align: middle;
1382
+ }
1383
+ .label_with_help span.help {
1384
+ font-weight: normal;
1385
+ margin-left: 3px;
1386
+ border-bottom: 1px dotted #727272;
1387
+ cursor: help;
1388
+ }
1389
+ #more_options_field {
1390
+ position: relative;
1391
+ }
1392
+ #draft_field {
1393
+ position: absolute;
1394
+ right: 0px;
1395
+ top: 0px;
1396
+ }
1397
+ .nothing_selected {
1398
+ border-bottom: 1px dotted #727272;
1399
+ width: auto;
1400
+ margin-bottom: 12px;
1401
+ display: inline-block;
1402
+ }
1403
+ .nothing_selected:hover {
1404
+ border-bottom: 1px solid #727272;
1405
+ }
1406
+ #upgrade_wrapper li a {
1407
+ line-height: 20px;
1408
+ }
1409
+
1410
+ #actions ul#current_locale {
1411
+ margin-top: 30px;
1412
+ }
1413
+ #current_locale li a {
1414
+ position: relative;
1415
+ }
1416
+ #current_locale li a span {
1417
+ position: absolute;
1418
+ right: 9px;
1419
+ border-bottom: 1px dotted #727272;
1420
+ }
1421
+
1422
+ #other_locales li:first-child {
1423
+ margin-top: 0px;
1424
+ }
1425
+
1426
+ /* Locale picker */
1427
+ #switch_locale_picker {
1428
+ margin: 0px;
1429
+ padding: 0px;
1430
+ }
1431
+ #switch_locale_picker li {
1432
+ float: left;
1433
+ padding: 0px;
1434
+ margin: 0px 12px 0px 0px;
1435
+ list-style: none;
1436
+ }
1437
+ #switch_locale_picker a {
1438
+ border-bottom: 0px none;
1439
+ }
1440
+ #switch_locale_picker a img {
1441
+ border-width: 6px;
1442
+ border-style: solid;
1443
+ border-color: transparent;
1444
+ display: block;
1445
+ }
1446
+ #switch_locale_picker li.selected a img {
1447
+ border-color: #22A7F2;
1448
+ }
1449
+
1450
+ #content #records .title .preview a.locale {
1451
+ border-bottom: 0px none;
1452
+ }
1453
+
1454
+ /* AJAX pagination */
1455
+ .pagination_container {
1456
+ position: relative;
1457
+ overflow: hidden;
1458
+ min-height: 600px;
1459
+ }
1460
+
1461
+ .pagination_frame {
1462
+ padding: 0;
1463
+ width: 100%;
1464
+ height: auto;
1465
+ position: absolute;
1466
+ top: 28px;
1467
+ right: auto;
1468
+ -moz-transition: all 0.3s ease-in-out;
1469
+ -o-transition: all 0.3s ease-in-out;
1470
+ -webkit-transition: all 0.3s ease-in-out;
1471
+ transition: all 0.3s ease-in-out;
1472
+ }
1473
+ .pagination_container > div.pagination_frame {
1474
+ top: 40px;
1475
+ }
1476
+ .pagination_frame.frame_left {
1477
+ left: -1000px;
1478
+ }
1479
+ .pagination_frame.frame_right {
1480
+ left: 1000px;
1481
+ -moz-transition: all 0.3s ease-in-out;
1482
+ -o-transition: all 0.3s ease-in-out;
1483
+ -webkit-transition: all 0.3s ease-in-out;
1484
+ transition: all 0.3s ease-in-out;
1485
+ }
1486
+ .pagination_frame.frame_center {
1487
+ left: 0;
1488
+ }
1489
+ .pagination_frame li {
1490
+ position: relative;
1491
+ padding-left: 5px;
1492
+ }
1493
+ a.information:hover {
1494
+ background: #22a7f2;
1495
+ }
1496
+
1497
+ /* dubiously in here */
1498
+ .current_image_link {
1499
+ display: inline-block;
1500
+ width: auto;
1501
+ }
1502
+
1503
+ /* cornering */
1504
+ .button, #editor_switch a, #editor_switch span {
1505
+ border-radius: 6px;
1506
+ -moz-border-radius: 6px;
1507
+ -webkit-border-radius: 6px;
1508
+ }
1509
+ #page-container, .wym_box {
1510
+ border-radius-bottom: 5px;
1511
+ -moz-border-radius-bottomleft: 5px;
1512
+ -moz-border-radius-bottomright: 5px;
1513
+ -webkit-border-bottom-left-radius: 5px;
1514
+ -webkit-border-bottom-right-radius: 5px;
1515
+ }
1516
+ .wym_iframe iframe {
1517
+ border-radius-bottom: 2px;
1518
+ -moz-border-radius-bottomleft: 2px;
1519
+ -moz-border-radius-bottomright: 2px;
1520
+ -webkit-border-bottom-left-radius: 2px;
1521
+ -webkit-border-bottom-right-radius: 2px;
1522
+ }
1523
+ .form-actions {
1524
+ border-radius: 5px;
1525
+ -moz-border-radius: 5px;
1526
+ -webkit-border-radius: 5px;
1527
+ }
1528
+ .form-actions.form-actions-dialog {
1529
+ border-radius: 0px;
1530
+ -moz-border-radius: 0px;
1531
+ -webkit-border-radius: 0px;
1532
+ }
1533
+ #menu > a {
1534
+ border-radius-top: 5px;
1535
+ -moz-border-radius-topleft: 5px;
1536
+ -moz-border-radius-topright: 5px;
1537
+ -webkit-border-top-left-radius: 5px;
1538
+ -webkit-border-top-right-radius: 5px;
1539
+ }
1540
+ .ui-tabs .ui-state-default a {
1541
+ border-top-left-radius: 5px;
1542
+ border-top-right-radius: 5px;
1543
+ -moz-border-radius-topleft: 5px;
1544
+ -moz-border-radius-topright: 5px;
1545
+ -webkit-border-top-left-radius: 5px;
1546
+ -webkit-border-top-right-radius: 5px;
1547
+ }
1548
+ .tooltip, .tooltip span {
1549
+ border-radius: 6px;
1550
+ -moz-border-radius: 6px;
1551
+ -webkit-border-radius: 6px;
1552
+ }
1553
+
1554
+ /* Internet Explorer to follow: */
1555
+ /* IE 7 */
1556
+ .ie7 #content .form-actions .form-actions-left a.button {
1557
+ height: 19px;
1558
+ line-height: 19px;
1559
+ padding-top: 3px;
1560
+ padding-bottom: 3px;
1561
+ }
1562
+ .ie7 .search_form input.button {
1563
+ padding-left: 8px;
1564
+ padding-right: 8px;
1565
+ }
1566
+ .ie7 body.login .field input.larger, .ie7 body.login .field input.larger:focus {
1567
+ background-image: none !important;
1568
+ padding: 0px;
1569
+ line-height: 30px;
1570
+ }
1571
+ .ie7 .pagination a, .ie7 #content .pagination a, .ie7 .pagination .current, .ie7 .disabled, .ie7 .pagination em {
1572
+ padding-bottom: 6px;
1573
+ }
1574
+ .ie7 .pt-BR #search {
1575
+ width: 177px;
1576
+ }
1577
+ .ie7 .en #search {
1578
+ width: 200px;
1579
+ }
1580
+
1581
+ /* IE 8 */
1582
+ .ie8 body.login .field input.larger, .ie8 body.login .field input.larger:focus {
1583
+ line-height: 30px;
1584
+ }
1585
+ .ie8 .pagination a, .ie8 #content .pagination a, .ie8 .pagination .current, .ie8 .disabled, .ie8 .pagination em {
1586
+ padding-bottom: 6px;
1587
+ }