engine_room 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. data/.gitignore +10 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +159 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.rdoc +44 -0
  6. data/Rakefile +30 -0
  7. data/TODO +3 -0
  8. data/app/controllers/engine_room/content_controller.rb +117 -0
  9. data/app/controllers/engine_room/fields_controller.rb +119 -0
  10. data/app/controllers/engine_room/models_controller.rb +89 -0
  11. data/app/controllers/engine_room/pages_controller.rb +17 -0
  12. data/app/controllers/engine_room/sections_controller.rb +74 -0
  13. data/app/controllers/engine_room/users_controller.rb +84 -0
  14. data/app/controllers/er_devise/passwords_controller.rb +6 -0
  15. data/app/controllers/er_devise/registrations_controller.rb +8 -0
  16. data/app/controllers/er_devise/sessions_controller.rb +6 -0
  17. data/app/helpers/engine_room/content_helper.rb +103 -0
  18. data/app/helpers/engine_room/models_helper.rb +21 -0
  19. data/app/models/field.rb +89 -0
  20. data/app/models/section.rb +68 -0
  21. data/app/models/user.rb +31 -0
  22. data/app/views/engine_room/content/_form.html.erb +13 -0
  23. data/app/views/engine_room/content/_overview.html.erb +28 -0
  24. data/app/views/engine_room/content/_sidebar.html.erb +14 -0
  25. data/app/views/engine_room/content/edit.html.erb +38 -0
  26. data/app/views/engine_room/content/index.html.erb +1 -0
  27. data/app/views/engine_room/content/new.html.erb +1 -0
  28. data/app/views/engine_room/content/overview.html.erb +3 -0
  29. data/app/views/engine_room/fields/_form.html.erb +57 -0
  30. data/app/views/engine_room/fields/edit.html.erb +1 -0
  31. data/app/views/engine_room/fields/new.html.erb +1 -0
  32. data/app/views/engine_room/models/_form.html.erb +0 -0
  33. data/app/views/engine_room/models/edit.html.erb +14 -0
  34. data/app/views/engine_room/models/index.html.erb +16 -0
  35. data/app/views/engine_room/models/new.html.erb +14 -0
  36. data/app/views/engine_room/models/overview.html.erb +14 -0
  37. data/app/views/engine_room/pages/dashboard.html.erb +1 -0
  38. data/app/views/engine_room/pages/settings.html.erb +1 -0
  39. data/app/views/engine_room/sections/_form.html.erb +34 -0
  40. data/app/views/engine_room/sections/_sidebar.html.erb +11 -0
  41. data/app/views/engine_room/sections/edit.html.erb +81 -0
  42. data/app/views/engine_room/sections/index.html.erb +3 -0
  43. data/app/views/engine_room/sections/new.html.erb +1 -0
  44. data/app/views/engine_room/users/_form.html.erb +47 -0
  45. data/app/views/engine_room/users/edit.html.erb +11 -0
  46. data/app/views/engine_room/users/index.html.erb +24 -0
  47. data/app/views/engine_room/users/new.html.erb +1 -0
  48. data/app/views/er_devise/mailer/confirmation_instructions.html.erb +5 -0
  49. data/app/views/er_devise/mailer/reset_password_instructions.html.erb +8 -0
  50. data/app/views/er_devise/mailer/unlock_instructions.html.erb +7 -0
  51. data/app/views/er_devise/passwords/edit.html.erb +16 -0
  52. data/app/views/er_devise/passwords/new.html.erb +13 -0
  53. data/app/views/er_devise/registrations/edit.html.erb +42 -0
  54. data/app/views/er_devise/registrations/new.html.erb +21 -0
  55. data/app/views/er_devise/sessions/new.html.erb +23 -0
  56. data/app/views/er_devise/shared/_links.erb +19 -0
  57. data/app/views/layouts/engine_room.html.erb +103 -0
  58. data/app/views/layouts/login.html.erb +71 -0
  59. data/app/views/shared/_content_layout_selector.html.erb +45 -0
  60. data/app/views/shared/_error_messages.html.erb +17 -0
  61. data/config/initializers/devise.rb +146 -0
  62. data/config/initializers/locale.rb +5 -0
  63. data/config/locales/devise.de.yml +42 -0
  64. data/config/locales/devise.en.yml +39 -0
  65. data/config/locales/engine_room.de.yml +33 -0
  66. data/config/locales/engine_room.en.yml +42 -0
  67. data/config/routes.rb +62 -0
  68. data/engine_room.gemspec +35 -0
  69. data/lib/engine_room.rb +17 -0
  70. data/lib/engine_room/action_controller/controller_methods.rb +21 -0
  71. data/lib/engine_room/action_view/view_methods.rb +8 -0
  72. data/lib/engine_room/active_record/record_methods.rb +18 -0
  73. data/lib/engine_room/crummy/custom_renderer.rb +63 -0
  74. data/lib/engine_room/engine.rb +40 -0
  75. data/lib/engine_room/railties/tasks.rake +6 -0
  76. data/lib/engine_room/version.rb +3 -0
  77. data/lib/generators/engine_room/create_image_generator.rb +26 -0
  78. data/lib/generators/engine_room/setup_generator.rb +30 -0
  79. data/lib/generators/engine_room/templates/001_devise_create_users.rb +28 -0
  80. data/lib/generators/engine_room/templates/002_create_sections.rb +16 -0
  81. data/lib/generators/engine_room/templates/003_create_fields.rb +18 -0
  82. data/lib/generators/engine_room/templates/004_create_images.rb +19 -0
  83. data/lib/generators/engine_room/templates/image.rb +4 -0
  84. data/lib/tasks/dummy.rake +45 -0
  85. data/lib/tasks/templates/migrate/050_create_dogs.rb +18 -0
  86. data/lib/tasks/templates/models/dog.rb +3 -0
  87. data/public/images/er/accept.png +0 -0
  88. data/public/images/er/add.png +0 -0
  89. data/public/images/er/add_small.png +0 -0
  90. data/public/images/er/ajax-loader.gif +0 -0
  91. data/public/images/er/attach.png +0 -0
  92. data/public/images/er/back_disabled.jpg +0 -0
  93. data/public/images/er/back_enabled.jpg +0 -0
  94. data/public/images/er/bg/header_gradient_center.jpg +0 -0
  95. data/public/images/er/bg/header_gradient_left.jpg +0 -0
  96. data/public/images/er/bg/header_gradient_right.jpg +0 -0
  97. data/public/images/er/cancel.png +0 -0
  98. data/public/images/er/cog.png +0 -0
  99. data/public/images/er/database_add.png +0 -0
  100. data/public/images/er/delete.png +0 -0
  101. data/public/images/er/delete_small.png +0 -0
  102. data/public/images/er/down_arrow.gif +0 -0
  103. data/public/images/er/down_arrow.png +0 -0
  104. data/public/images/er/email.png +0 -0
  105. data/public/images/er/exclamation.png +0 -0
  106. data/public/images/er/forward_disabled.jpg +0 -0
  107. data/public/images/er/forward_enabled.jpg +0 -0
  108. data/public/images/er/help.png +0 -0
  109. data/public/images/er/image_add.png +0 -0
  110. data/public/images/er/information.png +0 -0
  111. data/public/images/er/link.png +0 -0
  112. data/public/images/er/loader.gif +0 -0
  113. data/public/images/er/telephone.png +0 -0
  114. data/public/images/er/up_arrow.gif +0 -0
  115. data/public/images/er/up_arrow.png +0 -0
  116. data/public/images/er/user.png +0 -0
  117. data/public/images/er/wrench.png +0 -0
  118. data/public/images/er/zoom.png +0 -0
  119. data/public/javascripts/er/dd_belatedpng.js +328 -0
  120. data/public/javascripts/er/fancybox/blank.gif +0 -0
  121. data/public/javascripts/er/fancybox/fancy_close.png +0 -0
  122. data/public/javascripts/er/fancybox/fancy_loading.png +0 -0
  123. data/public/javascripts/er/fancybox/fancy_nav_left.png +0 -0
  124. data/public/javascripts/er/fancybox/fancy_nav_right.png +0 -0
  125. data/public/javascripts/er/fancybox/fancy_shadow_e.png +0 -0
  126. data/public/javascripts/er/fancybox/fancy_shadow_n.png +0 -0
  127. data/public/javascripts/er/fancybox/fancy_shadow_ne.png +0 -0
  128. data/public/javascripts/er/fancybox/fancy_shadow_nw.png +0 -0
  129. data/public/javascripts/er/fancybox/fancy_shadow_s.png +0 -0
  130. data/public/javascripts/er/fancybox/fancy_shadow_se.png +0 -0
  131. data/public/javascripts/er/fancybox/fancy_shadow_sw.png +0 -0
  132. data/public/javascripts/er/fancybox/fancy_shadow_w.png +0 -0
  133. data/public/javascripts/er/fancybox/fancy_title_left.png +0 -0
  134. data/public/javascripts/er/fancybox/fancy_title_main.png +0 -0
  135. data/public/javascripts/er/fancybox/fancy_title_over.png +0 -0
  136. data/public/javascripts/er/fancybox/fancy_title_right.png +0 -0
  137. data/public/javascripts/er/fancybox/fancybox-x.png +0 -0
  138. data/public/javascripts/er/fancybox/fancybox-y.png +0 -0
  139. data/public/javascripts/er/fancybox/fancybox.png +0 -0
  140. data/public/javascripts/er/fancybox/jquery.fancybox-1.3.4.css +359 -0
  141. data/public/javascripts/er/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
  142. data/public/javascripts/er/jquery-1.4.4.min.js +167 -0
  143. data/public/javascripts/er/jquery-ui-1.8.6.custom.min.js +477 -0
  144. data/public/javascripts/er/modernizr-1.5.min.js +28 -0
  145. data/public/javascripts/er/plugins.js +48 -0
  146. data/public/javascripts/er/rails.js +156 -0
  147. data/public/javascripts/er/script.js +50 -0
  148. data/public/stylesheets/.gitkeep +0 -0
  149. data/public/stylesheets/admin.css +417 -0
  150. data/public/stylesheets/boilerplate.css +264 -0
  151. data/public/stylesheets/handheld.css +7 -0
  152. data/public/stylesheets/login.css +125 -0
  153. data/public/stylesheets/skin.css +2 -0
  154. data/public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  155. data/public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  156. data/public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  157. data/public/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  158. data/public/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  159. data/public/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  160. data/public/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  161. data/public/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  162. data/public/stylesheets/smoothness/images/ui-icons_222222_256x240.png +0 -0
  163. data/public/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  164. data/public/stylesheets/smoothness/images/ui-icons_454545_256x240.png +0 -0
  165. data/public/stylesheets/smoothness/images/ui-icons_888888_256x240.png +0 -0
  166. data/public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  167. data/public/stylesheets/smoothness/jquery-ui-1.8.6.custom.css +479 -0
  168. data/spec/controllers/content_controller_spec.rb +132 -0
  169. data/spec/controllers/fields_controller_spec.rb +103 -0
  170. data/spec/controllers/models_controller_spec.rb +65 -0
  171. data/spec/controllers/pages_controller_spec.rb +40 -0
  172. data/spec/controllers/sections_controller_spec.rb +124 -0
  173. data/spec/dummy/Rakefile +7 -0
  174. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  175. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  176. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  177. data/spec/dummy/config.ru +4 -0
  178. data/spec/dummy/config/application.rb +45 -0
  179. data/spec/dummy/config/boot.rb +10 -0
  180. data/spec/dummy/config/database.yml +22 -0
  181. data/spec/dummy/config/environment.rb +5 -0
  182. data/spec/dummy/config/environments/development.rb +26 -0
  183. data/spec/dummy/config/environments/production.rb +49 -0
  184. data/spec/dummy/config/environments/test.rb +35 -0
  185. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  186. data/spec/dummy/config/initializers/inflections.rb +10 -0
  187. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  188. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  189. data/spec/dummy/config/initializers/session_store.rb +8 -0
  190. data/spec/dummy/config/locales/en.yml +5 -0
  191. data/spec/dummy/config/routes.rb +58 -0
  192. data/spec/dummy/public/404.html +26 -0
  193. data/spec/dummy/public/422.html +26 -0
  194. data/spec/dummy/public/500.html +26 -0
  195. data/spec/dummy/public/favicon.ico +0 -0
  196. data/spec/dummy/public/javascripts/application.js +2 -0
  197. data/spec/dummy/public/javascripts/controls.js +965 -0
  198. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  199. data/spec/dummy/public/javascripts/effects.js +1123 -0
  200. data/spec/dummy/public/javascripts/prototype.js +6001 -0
  201. data/spec/dummy/public/javascripts/rails.js +175 -0
  202. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  203. data/spec/dummy/script/rails +6 -0
  204. data/spec/engine_room_spec.rb +7 -0
  205. data/spec/factories.rb +32 -0
  206. data/spec/integration/navigation_spec.rb +9 -0
  207. data/spec/models/dog_spec.rb +14 -0
  208. data/spec/models/field_spec.rb +74 -0
  209. data/spec/models/section_spec.rb +70 -0
  210. data/spec/models/user_spec.rb +77 -0
  211. data/spec/routing/models_routing_spec.rb +66 -0
  212. data/spec/spec_helper.rb +39 -0
  213. data/spec/support/devise.rb +3 -0
  214. metadata +492 -0
@@ -0,0 +1,264 @@
1
+ /*
2
+ style.css contains a reset, font normalization and some base styles.
3
+
4
+ credit is left where credit is due.
5
+ additionally, much inspiration was taken from these projects:
6
+ yui.yahooapis.com/2.8.1/build/base/base.css
7
+ camendesign.com/design/
8
+ praegnanz.de/weblog/htmlcssjs-kickstart
9
+ */
10
+
11
+ /*
12
+ html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
13
+ v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
14
+ html5doctor.com/html-5-reset-stylesheet/
15
+ */
16
+
17
+ html, body, div, span, object, iframe,
18
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
19
+ abbr, address, cite, code,
20
+ del, dfn, em, img, ins, kbd, q, samp,
21
+ small, strong, sub, sup, var,
22
+ b, i,
23
+ dl, dt, dd, ol, ul, li,
24
+ fieldset, form, label, legend,
25
+ table, caption, tbody, tfoot, thead, tr, th, td,
26
+ article, aside, figure, footer, header,
27
+ hgroup, menu, nav, section, menu,
28
+ time, mark, audio, video {
29
+ margin:0;
30
+ padding:0;
31
+ border:0;
32
+ outline:0;
33
+ font-size:100%;
34
+ vertical-align:baseline;
35
+ background:transparent;
36
+ }
37
+
38
+ article, aside, figure, footer, header,
39
+ hgroup, nav, section { display:block; }
40
+
41
+ nav ul { list-style:none; }
42
+
43
+ blockquote, q { quotes:none; }
44
+
45
+ blockquote:before, blockquote:after,
46
+ q:before, q:after { content:''; content:none; }
47
+
48
+ a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
49
+
50
+ ins { background-color:#ff9; color:#000; text-decoration:none; }
51
+
52
+ mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
53
+
54
+ del { text-decoration: line-through; }
55
+
56
+ abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
57
+
58
+ /* tables still need cellspacing="0" in the markup */
59
+ table { border-collapse:collapse; border-spacing:0; }
60
+
61
+ hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
62
+
63
+ input, select { vertical-align:middle; }
64
+ /* END RESET CSS */
65
+
66
+
67
+ /*
68
+ fonts.css from the YUI Library: developer.yahoo.com/yui/
69
+ Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
70
+
71
+ There are three custom edits:
72
+ * remove arial, helvetica from explicit font stack
73
+ * make the line-height relative and unit-less
74
+ * remove the pre, code styles
75
+ */
76
+ body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
77
+
78
+ table { font-size:inherit; font:100%; }
79
+
80
+ select, input, textarea { font:99% sans-serif; }
81
+
82
+
83
+ /* normalize monospace sizing
84
+ * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
85
+ */
86
+ pre, code, kbd, samp { font-family: monospace, sans-serif; }
87
+
88
+
89
+
90
+ /*
91
+ * minimal base styles
92
+ */
93
+
94
+
95
+ /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
96
+ body, select, input, textarea { color:#444; }
97
+
98
+ /* Headers (h1,h2,etc) have no default font-size or margin,
99
+ you'll want to define those yourself. */
100
+
101
+ /* www.aestheticallyloyal.com/public/optimize-legibility/ */
102
+ h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
103
+
104
+ /* maxvoltar.com/archive/-webkit-font-smoothing */
105
+ html { -webkit-font-smoothing: antialiased; }
106
+
107
+
108
+ /* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
109
+ a:hover, a:active { outline: none; }
110
+
111
+ a, a:active, a:visited { color:#607890; }
112
+ a:hover { color:#036; }
113
+
114
+
115
+ ul { margin-left:30px; }
116
+ ol { margin-left:30px; list-style-type: decimal; }
117
+
118
+ small { font-size:85%; }
119
+ strong, th { font-weight: bold; }
120
+
121
+ td, td img { vertical-align:top; }
122
+
123
+ sub { vertical-align: sub; font-size: smaller; }
124
+ sup { vertical-align: super; font-size: smaller; }
125
+
126
+ pre {
127
+ padding: 15px;
128
+
129
+ /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
130
+ white-space: pre; /* CSS2 */
131
+ white-space: pre-wrap; /* CSS 2.1 */
132
+ white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
133
+ word-wrap: break-word; /* IE */
134
+ }
135
+
136
+ /* align checkboxes, radios, text inputs with their label
137
+ by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
138
+ input[type="radio"] { vertical-align: text-bottom; }
139
+ input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
140
+ .ie6 input { vertical-align: text-bottom; }
141
+
142
+ /* hand cursor on clickable input elements */
143
+ label, input[type=button], input[type=submit], button { cursor: pointer; }
144
+
145
+
146
+ /* These selection declarations have to be separate.
147
+ No text-shadow: twitter.com/miketaylr/status/12228805301
148
+ Also: hot pink. */
149
+ ::-moz-selection{ background: #C44826; color:#fff; text-shadow: none; }
150
+ ::selection { background:#C44826; color:#fff; text-shadow: none; }
151
+
152
+ /* j.mp/webkit-tap-highlight-color */
153
+ a:link { -webkit-tap-highlight-color: #C44826; }
154
+
155
+
156
+ /* always force a scrollbar in non-IE */
157
+ html { overflow-y: scroll; }
158
+
159
+ /* make buttons play nice in IE:
160
+ www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
161
+ button { width: auto; overflow: visible; }
162
+
163
+ /* bicubic resizing for non-native sized IMG:
164
+ code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
165
+ .ie7 img { -ms-interpolation-mode: bicubic; }
166
+
167
+
168
+
169
+ /*
170
+ * Non-semantic helper classes
171
+ */
172
+
173
+ /* for image replacement */
174
+ .ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; }
175
+
176
+ /* Hide for both screenreaders and browsers
177
+ css-discuss.incutio.com/wiki/Screenreader_Visibility */
178
+ .hidden { display:none; visibility:hidden; }
179
+
180
+ /* Hide only visually, but have it available for screenreaders
181
+ www.webaim.org/techniques/css/invisiblecontent/
182
+ Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
183
+ .visuallyhidden { position:absolute !important;
184
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
185
+ clip: rect(1px, 1px, 1px, 1px); }
186
+
187
+ /* Hide visually and from screenreaders, but maintain layout */
188
+ .invisible { visibility: hidden; }
189
+
190
+ /* >> The Magnificent CLEARFIX << */
191
+ .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
192
+ .clearfix { display: inline-block; }
193
+ * html .clearfix { height: 1%; } /* Hides from IE-mac \*/
194
+ .clearfix { display: block; }
195
+
196
+
197
+
198
+
199
+
200
+ /* Primary Styles
201
+ Author:
202
+ */
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+ /*
215
+ * print styles
216
+ * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
217
+ */
218
+ @media print {
219
+ * { background: transparent !important; color: #444 !important; text-shadow: none; }
220
+
221
+ a, a:visited { color: #444 !important; text-decoration: underline; }
222
+
223
+ a:after { content: " (" attr(href) ")"; }
224
+
225
+ abbr:after { content: " (" attr(title) ")"; }
226
+
227
+ .ir a:after { content: ""; } /* Don't show links for images */
228
+
229
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
230
+
231
+ img { page-break-inside: avoid; }
232
+
233
+ @page { margin: 0.5cm; }
234
+
235
+ p, h2, h3 { orphans: 3; widows: 3; }
236
+
237
+ h2, h3{ page-break-after: avoid; }
238
+ }
239
+
240
+
241
+
242
+ /*
243
+ * Media queries for responsive design
244
+ */
245
+
246
+ @media all and (orientation:portrait) {
247
+ /* Style adjustments for portrait mode goes here */
248
+
249
+ }
250
+
251
+ @media all and (orientation:landscape) {
252
+ /* Style adjustments for landscape mode goes here */
253
+
254
+ }
255
+
256
+ /* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
257
+ Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
258
+ @media screen and (max-device-width: 480px) {
259
+
260
+
261
+ /* Prevent iOS, WinMobile from adjusting font size */
262
+ html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
263
+ }
264
+
@@ -0,0 +1,7 @@
1
+
2
+ * {
3
+ float: none; /* Screens are not big enough to account for floats */
4
+ font-size: 80%; /* Slightly reducing font size to reduce need to scroll */
5
+ background: #fff; /* As much contrast as possible */
6
+ color: #000;
7
+ }
@@ -0,0 +1,125 @@
1
+ body {
2
+ background: #eee;
3
+ font-family: helvetica, arial, sans-serif;
4
+ font-size: 14px;
5
+ }
6
+
7
+ a:link,
8
+ a:visited {
9
+ color: #0077ff;
10
+ text-decoration: underline;
11
+ }
12
+ a:hover,
13
+ a:active {
14
+ color: #000;
15
+ }
16
+
17
+ #wrapper {
18
+ margin: 120px auto 0;
19
+ width: 420px;
20
+ }
21
+ #content form {
22
+ background-color: #bbb;
23
+ border: 1px solid #999;
24
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#999999');
25
+ background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
26
+ background: -moz-linear-gradient(top, #ccc, #999);
27
+
28
+ margin: 5px 0 10px;
29
+ padding: 0 75px;
30
+ -moz-border-radius: 5px;
31
+ border-radius: 5px;
32
+ }
33
+
34
+ button {
35
+ -moz-border-radius:5px;
36
+ -webkit-border-radius:5px;
37
+ -moz-box-shadow:0px 0px 2px rgba(0,0,0,0.4);
38
+ -webkit-box-shadow:0px 0px 2px rgba(0,0,0,0.4);
39
+
40
+ color:rgba(0,0,0,0.9);
41
+ text-shadow:1px 1px 0px rgba(255,255,255,0.8);
42
+ border:1px solid rgba(0,0,0,0.5);
43
+
44
+ background:-webkit-gradient(linear,0% 0%,0% 100%,from(rgba(255,255,255,1)),to(rgba(185,185,185,1)));
45
+ background:-moz-linear-gradient(top,rgba(255,255,255,1),rgba(185,185,185,1));
46
+
47
+ font-weight: bold;
48
+ padding:5px 5px 5px 5px;
49
+ }
50
+ button:hover {
51
+ background:rgba(240,240,240,1);
52
+ }
53
+ button:active, button:focus {
54
+ background:-webkit-gradient(linear,0% 100%,0% 0%,from(rgba(255,255,255,1)),to(rgba(185,185,185,1)));
55
+ background:-moz-linear-gradient(bottom,rgba(255,255,255,1),rgba(185,185,185,1));
56
+ }
57
+ button:disabled {
58
+ color:rgba(0,0,0,0.4);
59
+ text-shadow:1px 1px 0px rgba(255,255,255,0.5);
60
+ background:rgba(220,220,220,1);
61
+ }
62
+
63
+ /* Flash and Error Messages */
64
+
65
+ #error_explanation,
66
+ #flash_alert,
67
+ #flash_error,
68
+ #flash_notice {
69
+ -moz-border-radius:5px;
70
+ -webkit-border-radius:5px;
71
+ margin: 10px 0;
72
+ padding: 10px 10px 5px 40px;
73
+ width: 367px;
74
+ }
75
+
76
+ #error_explanation,
77
+ #flash_error,
78
+ #flash_alert {
79
+ background: #FFD6D6 url(../images/er/cancel.png) no-repeat 10px 8px;
80
+ border: 1px solid #FF8080;
81
+ color: #E3302C;
82
+ }
83
+ #flash_notice {
84
+ background: #D4F5A3 url(../images/er/accept.png) no-repeat 10px 8px;
85
+ border: 1px solid #6EB800;
86
+ color: #508600;
87
+ }
88
+ #error_explanation h2 {
89
+ display: none;
90
+ }
91
+ #error_explanation ul {
92
+ list-style: none;
93
+ margin-left: 0;
94
+ }
95
+
96
+ #content h2 {
97
+ color:#333;
98
+ font-size: 1.9em;
99
+ font-weight: normal;
100
+ }
101
+ #content label {
102
+ color: #444;
103
+ margin: 3px 0;
104
+ }
105
+ #content p {
106
+ margin: 20px 0;
107
+ }
108
+ #content input {
109
+ -moz-border-radius:5px;
110
+ -webkit-border-radius:5px;
111
+ border: 1px solid #999;
112
+ margin-right: 5px;
113
+ padding: 7px 7px 4px;
114
+ width: 95%;
115
+ }
116
+ #content p.remember-me {
117
+ font-size: 12px;
118
+ }
119
+ #content p.remember-me input {
120
+ margin-right: 5px;
121
+ width: auto;
122
+ }
123
+ #content button {
124
+ font-size: 12px;
125
+ }
@@ -0,0 +1,2 @@
1
+
2
+
@@ -0,0 +1,479 @@
1
+ /*
2
+ * jQuery UI CSS Framework 1.8.6
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
+ .ui-helper-clearfix { display: inline-block; }
18
+ /* required comment for clearfix to work in Opera \*/
19
+ * html .ui-helper-clearfix { height:1%; }
20
+ .ui-helper-clearfix { display:block; }
21
+ /* end clearfix */
22
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
+
24
+
25
+ /* Interaction Cues
26
+ ----------------------------------*/
27
+ .ui-state-disabled { cursor: default !important; }
28
+
29
+
30
+ /* Icons
31
+ ----------------------------------*/
32
+
33
+ /* states and images */
34
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
+
36
+
37
+ /* Misc visuals
38
+ ----------------------------------*/
39
+
40
+ /* Overlays */
41
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
+
43
+
44
+ /*
45
+ * jQuery UI CSS Framework 1.8.6
46
+ *
47
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
+ * Dual licensed under the MIT or GPL Version 2 licenses.
49
+ * http://jquery.org/license
50
+ *
51
+ * http://docs.jquery.com/UI/Theming/API
52
+ *
53
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
54
+ */
55
+
56
+
57
+ /* Component containers
58
+ ----------------------------------*/
59
+ .ui-widget .ui-widget { font-size: 1em; }
60
+ .ui-widget-content { color: #222222; }
61
+ .ui-widget-content a { color: #222222; }
62
+ .ui-widget-header { color: #222222; font-weight: bold; }
63
+ .ui-widget-header a { color: #222222; }
64
+
65
+ /* Interaction states
66
+ ----------------------------------*/
67
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #fff; font-weight: normal; color: #888; }
68
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #888; text-decoration: none; }
69
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
70
+ .ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
71
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #bbb; background: #ddd; font-weight: bold; color: #212121; }
72
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
73
+ .ui-widget :active { outline: none; }
74
+
75
+ /* Interaction Cues
76
+ ----------------------------------*/
77
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
78
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
79
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
80
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
81
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
82
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
83
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
84
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
85
+
86
+ /* Icons
87
+ ----------------------------------*/
88
+
89
+ /* states and images */
90
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
91
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
92
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
93
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
94
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
95
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
96
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
97
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
98
+
99
+ /* positioning */
100
+ .ui-icon-carat-1-n { background-position: 0 0; }
101
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
102
+ .ui-icon-carat-1-e { background-position: -32px 0; }
103
+ .ui-icon-carat-1-se { background-position: -48px 0; }
104
+ .ui-icon-carat-1-s { background-position: -64px 0; }
105
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
106
+ .ui-icon-carat-1-w { background-position: -96px 0; }
107
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
108
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
109
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
110
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
111
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
112
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
113
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
114
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
115
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
116
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
117
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
118
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
119
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
120
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
121
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
122
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
123
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
124
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
125
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
126
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
127
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
128
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
129
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
130
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
131
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
132
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
133
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
134
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
135
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
136
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
137
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
138
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
139
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
140
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
141
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
142
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
143
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
144
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
145
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
146
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
147
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
148
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
149
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
150
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
151
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
152
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
153
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
154
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
155
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
156
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
157
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
158
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
159
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
160
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
161
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
162
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
163
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
164
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
165
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
166
+ .ui-icon-extlink { background-position: -32px -80px; }
167
+ .ui-icon-newwin { background-position: -48px -80px; }
168
+ .ui-icon-refresh { background-position: -64px -80px; }
169
+ .ui-icon-shuffle { background-position: -80px -80px; }
170
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
171
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
172
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
173
+ .ui-icon-folder-open { background-position: -16px -96px; }
174
+ .ui-icon-document { background-position: -32px -96px; }
175
+ .ui-icon-document-b { background-position: -48px -96px; }
176
+ .ui-icon-note { background-position: -64px -96px; }
177
+ .ui-icon-mail-closed { background-position: -80px -96px; }
178
+ .ui-icon-mail-open { background-position: -96px -96px; }
179
+ .ui-icon-suitcase { background-position: -112px -96px; }
180
+ .ui-icon-comment { background-position: -128px -96px; }
181
+ .ui-icon-person { background-position: -144px -96px; }
182
+ .ui-icon-print { background-position: -160px -96px; }
183
+ .ui-icon-trash { background-position: -176px -96px; }
184
+ .ui-icon-locked { background-position: -192px -96px; }
185
+ .ui-icon-unlocked { background-position: -208px -96px; }
186
+ .ui-icon-bookmark { background-position: -224px -96px; }
187
+ .ui-icon-tag { background-position: -240px -96px; }
188
+ .ui-icon-home { background-position: 0 -112px; }
189
+ .ui-icon-flag { background-position: -16px -112px; }
190
+ .ui-icon-calendar { background-position: -32px -112px; }
191
+ .ui-icon-cart { background-position: -48px -112px; }
192
+ .ui-icon-pencil { background-position: -64px -112px; }
193
+ .ui-icon-clock { background-position: -80px -112px; }
194
+ .ui-icon-disk { background-position: -96px -112px; }
195
+ .ui-icon-calculator { background-position: -112px -112px; }
196
+ .ui-icon-zoomin { background-position: -128px -112px; }
197
+ .ui-icon-zoomout { background-position: -144px -112px; }
198
+ .ui-icon-search { background-position: -160px -112px; }
199
+ .ui-icon-wrench { background-position: -176px -112px; }
200
+ .ui-icon-gear { background-position: -192px -112px; }
201
+ .ui-icon-heart { background-position: -208px -112px; }
202
+ .ui-icon-star { background-position: -224px -112px; }
203
+ .ui-icon-link { background-position: -240px -112px; }
204
+ .ui-icon-cancel { background-position: 0 -128px; }
205
+ .ui-icon-plus { background-position: -16px -128px; }
206
+ .ui-icon-plusthick { background-position: -32px -128px; }
207
+ .ui-icon-minus { background-position: -48px -128px; }
208
+ .ui-icon-minusthick { background-position: -64px -128px; }
209
+ .ui-icon-close { background-position: -80px -128px; }
210
+ .ui-icon-closethick { background-position: -96px -128px; }
211
+ .ui-icon-key { background-position: -112px -128px; }
212
+ .ui-icon-lightbulb { background-position: -128px -128px; }
213
+ .ui-icon-scissors { background-position: -144px -128px; }
214
+ .ui-icon-clipboard { background-position: -160px -128px; }
215
+ .ui-icon-copy { background-position: -176px -128px; }
216
+ .ui-icon-contact { background-position: -192px -128px; }
217
+ .ui-icon-image { background-position: -208px -128px; }
218
+ .ui-icon-video { background-position: -224px -128px; }
219
+ .ui-icon-script { background-position: -240px -128px; }
220
+ .ui-icon-alert { background-position: 0 -144px; }
221
+ .ui-icon-info { background-position: -16px -144px; }
222
+ .ui-icon-notice { background-position: -32px -144px; }
223
+ .ui-icon-help { background-position: -48px -144px; }
224
+ .ui-icon-check { background-position: -64px -144px; }
225
+ .ui-icon-bullet { background-position: -80px -144px; }
226
+ .ui-icon-radio-off { background-position: -96px -144px; }
227
+ .ui-icon-radio-on { background-position: -112px -144px; }
228
+ .ui-icon-pin-w { background-position: -128px -144px; }
229
+ .ui-icon-pin-s { background-position: -144px -144px; }
230
+ .ui-icon-play { background-position: 0 -160px; }
231
+ .ui-icon-pause { background-position: -16px -160px; }
232
+ .ui-icon-seek-next { background-position: -32px -160px; }
233
+ .ui-icon-seek-prev { background-position: -48px -160px; }
234
+ .ui-icon-seek-end { background-position: -64px -160px; }
235
+ .ui-icon-seek-start { background-position: -80px -160px; }
236
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
237
+ .ui-icon-seek-first { background-position: -80px -160px; }
238
+ .ui-icon-stop { background-position: -96px -160px; }
239
+ .ui-icon-eject { background-position: -112px -160px; }
240
+ .ui-icon-volume-off { background-position: -128px -160px; }
241
+ .ui-icon-volume-on { background-position: -144px -160px; }
242
+ .ui-icon-power { background-position: 0 -176px; }
243
+ .ui-icon-signal-diag { background-position: -16px -176px; }
244
+ .ui-icon-signal { background-position: -32px -176px; }
245
+ .ui-icon-battery-0 { background-position: -48px -176px; }
246
+ .ui-icon-battery-1 { background-position: -64px -176px; }
247
+ .ui-icon-battery-2 { background-position: -80px -176px; }
248
+ .ui-icon-battery-3 { background-position: -96px -176px; }
249
+ .ui-icon-circle-plus { background-position: 0 -192px; }
250
+ .ui-icon-circle-minus { background-position: -16px -192px; }
251
+ .ui-icon-circle-close { background-position: -32px -192px; }
252
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
253
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
254
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
255
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
256
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
257
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
258
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
259
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
260
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
261
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
262
+ .ui-icon-circle-check { background-position: -208px -192px; }
263
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
264
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
265
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
266
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
267
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
268
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
269
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
270
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
271
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
272
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
273
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
274
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
275
+
276
+
277
+ /* Misc visuals
278
+ ----------------------------------*/
279
+
280
+ /* Corner radius */
281
+ .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
282
+ .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
283
+ .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
284
+ .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
285
+ .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
286
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
287
+ .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
288
+ .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
289
+ .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
290
+
291
+ /* Overlays */
292
+ .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
293
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
294
+ * jQuery UI Resizable 1.8.6
295
+ *
296
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
297
+ * Dual licensed under the MIT or GPL Version 2 licenses.
298
+ * http://jquery.org/license
299
+ *
300
+ * http://docs.jquery.com/UI/Resizable#theming
301
+ */
302
+ .ui-resizable { position: relative;}
303
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
304
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
305
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
306
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
307
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
308
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
309
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
310
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
311
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
312
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
313
+ * jQuery UI Autocomplete 1.8.6
314
+ *
315
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
316
+ * Dual licensed under the MIT or GPL Version 2 licenses.
317
+ * http://jquery.org/license
318
+ *
319
+ * http://docs.jquery.com/UI/Autocomplete#theming
320
+ */
321
+ .ui-autocomplete { position: absolute; cursor: default; }
322
+
323
+ /* workarounds */
324
+ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
325
+
326
+ /*
327
+ * jQuery UI Menu 1.8.6
328
+ *
329
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
330
+ * Dual licensed under the MIT or GPL Version 2 licenses.
331
+ * http://jquery.org/license
332
+ *
333
+ * http://docs.jquery.com/UI/Menu#theming
334
+ */
335
+ .ui-menu {
336
+ list-style:none;
337
+ padding: 2px;
338
+ margin: 0;
339
+ display:block;
340
+ float: left;
341
+ }
342
+ .ui-menu .ui-menu {
343
+ margin-top: -3px;
344
+ }
345
+ .ui-menu .ui-menu-item {
346
+ margin:0;
347
+ padding: 0;
348
+ zoom: 1;
349
+ float: left;
350
+ clear: left;
351
+ width: 100%;
352
+ }
353
+ .ui-menu .ui-menu-item a {
354
+ text-decoration:none;
355
+ display:block;
356
+ padding:.2em .4em;
357
+ line-height:1.5;
358
+ zoom:1;
359
+ }
360
+ .ui-menu .ui-menu-item a.ui-state-hover,
361
+ .ui-menu .ui-menu-item a.ui-state-active {
362
+ font-weight: normal;
363
+ margin: -1px;
364
+ }
365
+ /*
366
+ * jQuery UI Dialog 1.8.6
367
+ *
368
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
369
+ * Dual licensed under the MIT or GPL Version 2 licenses.
370
+ * http://jquery.org/license
371
+ *
372
+ * http://docs.jquery.com/UI/Dialog#theming
373
+ */
374
+ .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
375
+ .ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
376
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
377
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
378
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
379
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
380
+ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
381
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
382
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
383
+ .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
384
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
385
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
386
+ /*
387
+ * jQuery UI Tabs 1.8.6
388
+ *
389
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
390
+ * Dual licensed under the MIT or GPL Version 2 licenses.
391
+ * http://jquery.org/license
392
+ *
393
+ * http://docs.jquery.com/UI/Tabs#theming
394
+ */
395
+ .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
396
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
397
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
398
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
399
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
400
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
401
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
402
+ .ui-tabs .ui-tabs-panel {
403
+ display: block; border: 1px solid #bbb; padding: 0.5em 0; background: #ddd;
404
+ -moz-border-radius-topleft: 5px;
405
+ -webkit-border-top-left-radius: 5px;
406
+ border-top-left-radius: 5px;
407
+ -moz-border-radius-topright: 5px;
408
+ -webkit-border-top-right-radius: 5px;
409
+ border-top-right-radius: 5px;
410
+ }
411
+ .ui-tabs .ui-tabs-hide { display: none !important; }
412
+ /*
413
+ * jQuery UI Datepicker 1.8.6
414
+ *
415
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
416
+ * Dual licensed under the MIT or GPL Version 2 licenses.
417
+ * http://jquery.org/license
418
+ *
419
+ * http://docs.jquery.com/UI/Datepicker#theming
420
+ */
421
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; }
422
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
423
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
424
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
425
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
426
+ .ui-datepicker .ui-datepicker-next { right:2px; }
427
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
428
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
429
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
430
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
431
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
432
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
433
+ .ui-datepicker select.ui-datepicker-month,
434
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
435
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
436
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
437
+ .ui-datepicker td { border: 0; padding: 1px; }
438
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
439
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
440
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
441
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
442
+
443
+ /* with multiple calendars */
444
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
445
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
446
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
447
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
448
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
449
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
450
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
451
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
452
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
453
+ .ui-datepicker-row-break { clear:both; width:100%; }
454
+
455
+ /* RTL support */
456
+ .ui-datepicker-rtl { direction: rtl; }
457
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
458
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
459
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
460
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
461
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
462
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
463
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
464
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
465
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
466
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
467
+
468
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
469
+ .ui-datepicker-cover {
470
+ display: none; /*sorry for IE5*/
471
+ display/**/: block; /*sorry for IE5*/
472
+ position: absolute; /*must have*/
473
+ z-index: -1; /*must have*/
474
+ filter: mask(); /*must have*/
475
+ top: -4px; /*must have*/
476
+ left: -4px; /*must have*/
477
+ width: 200px; /*must have*/
478
+ height: 200px; /*must have*/
479
+ }