trusty-cms 4.0.1 → 4.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -3
  3. data/Gemfile.lock +106 -106
  4. data/Rakefile +7 -7
  5. data/app/assets/images/admin/spinner.gif +0 -0
  6. data/app/assets/javascripts/admin.js +3 -0
  7. data/app/assets/javascripts/admin/more-or-less.js +2 -2
  8. data/app/assets/javascripts/admin/tabcontrol.js.erb +1 -2
  9. data/app/assets/stylesheets/admin/_base.scss +22 -6
  10. data/app/assets/stylesheets/admin/_multi_site_main.scss +28 -29
  11. data/app/assets/stylesheets/admin/_reset.scss +5 -4
  12. data/app/assets/stylesheets/admin/_site_chooser.scss +44 -69
  13. data/app/assets/stylesheets/admin/assets.scss +138 -141
  14. data/app/assets/stylesheets/admin/main.scss +10 -12
  15. data/app/assets/stylesheets/admin/modules/_boxes.scss +0 -3
  16. data/app/assets/stylesheets/admin/modules/_buttons.scss +30 -0
  17. data/app/assets/stylesheets/admin/modules/_links.scss +1 -1
  18. data/app/assets/stylesheets/admin/partials/_actions.scss +29 -46
  19. data/app/assets/stylesheets/admin/partials/_avatars.scss +3 -2
  20. data/app/assets/stylesheets/admin/partials/_content.scss +15 -38
  21. data/app/assets/stylesheets/admin/partials/_dateinput.scss +23 -14
  22. data/app/assets/stylesheets/admin/partials/_drawer.scss +78 -0
  23. data/app/assets/stylesheets/admin/partials/_dropdown.scss +9 -12
  24. data/app/assets/stylesheets/admin/partials/_footer.scss +4 -3
  25. data/app/assets/stylesheets/admin/partials/_forms.scss +64 -491
  26. data/app/assets/stylesheets/admin/partials/_header.scss +9 -118
  27. data/app/assets/stylesheets/admin/partials/_layout.scss +26 -2
  28. data/app/assets/stylesheets/admin/partials/_login_form.scss +28 -0
  29. data/app/assets/stylesheets/admin/partials/_messages.scss +10 -5
  30. data/app/assets/stylesheets/admin/partials/_popup.scss +61 -50
  31. data/app/assets/stylesheets/admin/partials/_preferences.scss +37 -0
  32. data/app/assets/stylesheets/admin/partials/_sidebar.scss +55 -0
  33. data/app/assets/stylesheets/admin/partials/_tabcontrol.scss +24 -36
  34. data/app/assets/stylesheets/admin/partials/{_index.scss → _table.scss} +53 -84
  35. data/app/assets/stylesheets/admin/partials/_toolbar.scss +11 -6
  36. data/app/assets/stylesheets/admin/partials/_treetable.scss +1 -71
  37. data/app/assets/stylesheets/admin/partials/_typography.scss +30 -55
  38. data/app/assets/stylesheets/admin/partials/_validations.scss +6 -5
  39. data/app/assets/stylesheets/rad_social/rad_screen.scss +65 -64
  40. data/app/controllers/admin/assets_controller.rb +21 -31
  41. data/app/controllers/admin/configuration_controller.rb +9 -11
  42. data/app/controllers/admin/extensions_controller.rb +3 -3
  43. data/app/controllers/admin/layouts_controller.rb +3 -4
  44. data/app/controllers/admin/page_attachments_controller.rb +5 -5
  45. data/app/controllers/admin/page_fields_controller.rb +3 -4
  46. data/app/controllers/admin/page_parts_controller.rb +4 -5
  47. data/app/controllers/admin/pages_controller.rb +55 -56
  48. data/app/controllers/admin/references_controller.rb +1 -1
  49. data/app/controllers/admin/resource_controller.rb +132 -128
  50. data/app/controllers/admin/sites_controller.rb +4 -4
  51. data/app/controllers/admin/snippets_controller.rb +3 -4
  52. data/app/controllers/admin/users_controller.rb +16 -16
  53. data/app/controllers/application_controller.rb +47 -48
  54. data/app/controllers/site_controller.rb +51 -48
  55. data/app/controllers/social_mailer_controller.rb +13 -16
  56. data/app/helpers/admin/configuration_helper.rb +19 -20
  57. data/app/helpers/admin/layouts_helper.rb +0 -1
  58. data/app/helpers/admin/node_helper.rb +27 -24
  59. data/app/helpers/admin/pages_helper.rb +2 -2
  60. data/app/helpers/admin/preferences_helper.rb +0 -1
  61. data/app/helpers/admin/references_helper.rb +9 -10
  62. data/app/helpers/admin/regions_helper.rb +3 -3
  63. data/app/helpers/application_helper.rb +34 -35
  64. data/app/helpers/rad_social_helper.rb +8 -11
  65. data/app/helpers/scoped_helper.rb +1 -3
  66. data/app/helpers/sites_helper.rb +4 -4
  67. data/app/mailers/devise_mailer.rb +3 -4
  68. data/app/mailers/rad_social_mailer.rb +8 -8
  69. data/app/models/asset.rb +62 -63
  70. data/app/models/asset_type.rb +38 -39
  71. data/app/models/deprecated_tags.rb +3 -4
  72. data/app/models/file_not_found_page.rb +1 -3
  73. data/app/models/haml_filter.rb +1 -1
  74. data/app/models/layout.rb +4 -5
  75. data/app/models/legacy_user.rb +2 -2
  76. data/app/models/menu_renderer.rb +16 -18
  77. data/app/models/page.rb +96 -93
  78. data/app/models/page_attachment.rb +1 -2
  79. data/app/models/page_context.rb +11 -12
  80. data/app/models/page_part.rb +3 -4
  81. data/app/models/rails_page.rb +10 -12
  82. data/app/models/site.rb +22 -21
  83. data/app/models/snippet.rb +6 -8
  84. data/app/models/snippet_finder.rb +3 -3
  85. data/app/models/snippet_tags.rb +4 -4
  86. data/app/models/standard_tags.rb +258 -252
  87. data/app/models/status.rb +8 -8
  88. data/app/models/trusty_cms/config.rb +25 -25
  89. data/app/models/trusty_cms/page_response_cache_director.rb +2 -3
  90. data/app/models/user.rb +15 -14
  91. data/app/models/user_action_observer.rb +3 -3
  92. data/app/users/_choose_site.html.haml +3 -7
  93. data/app/views/admin/assets/_form.html.haml +2 -1
  94. data/app/views/admin/assets/_search.html.haml +2 -1
  95. data/app/views/admin/assets/edit.html.haml +2 -10
  96. data/app/views/admin/assets/index.html.haml +4 -2
  97. data/app/views/admin/assets/new.html.haml +4 -8
  98. data/app/views/admin/assets/remove.html.haml +2 -1
  99. data/app/views/admin/configuration/edit.html.haml +7 -7
  100. data/app/views/admin/configuration/show.html.haml +6 -8
  101. data/app/views/admin/layouts/_choose_site.html.haml +2 -3
  102. data/app/views/admin/layouts/_form.html.haml +13 -12
  103. data/app/views/admin/layouts/_site_chooser.html.haml +2 -2
  104. data/app/views/admin/layouts/index.html.haml +11 -4
  105. data/app/views/admin/layouts/remove.html.haml +6 -5
  106. data/app/views/admin/page_attachments/_attachment.html.haml +2 -2
  107. data/app/views/admin/page_fields/_page_field.html.haml +3 -3
  108. data/app/views/admin/page_parts/_page_part.html.haml +5 -6
  109. data/app/views/admin/pages/_asset_popups.html.haml +15 -16
  110. data/app/views/admin/pages/_assets.html.haml +8 -7
  111. data/app/views/admin/pages/_fields.html.haml +16 -13
  112. data/app/views/admin/pages/_node.html.haml +3 -3
  113. data/app/views/admin/pages/_popups.html.haml +11 -11
  114. data/app/views/admin/pages/edit.html.haml +2 -2
  115. data/app/views/admin/pages/index.html.haml +5 -2
  116. data/app/views/admin/pages/new.html.haml +3 -3
  117. data/app/views/admin/pages/remove.html.haml +4 -3
  118. data/app/views/admin/preferences/edit.html.haml +5 -5
  119. data/app/views/admin/references/filters.haml +1 -1
  120. data/app/views/admin/references/tags.haml +3 -3
  121. data/app/views/admin/removed/_assets_bucket.html.haml +3 -3
  122. data/app/views/admin/removed/_assets_container.html.haml +18 -18
  123. data/app/views/admin/removed/_bucket.html.haml +1 -1
  124. data/app/views/admin/removed/_bucket_asset.html.haml +3 -3
  125. data/app/views/admin/removed/_show_bucket_link.html.haml +1 -1
  126. data/app/views/admin/removed/_upload_to_page.html.haml +5 -5
  127. data/app/views/admin/sites/_form.haml +18 -18
  128. data/app/views/admin/sites/edit.haml +1 -1
  129. data/app/views/admin/sites/index.haml +8 -4
  130. data/app/views/admin/sites/new.haml +1 -1
  131. data/app/views/admin/snippets/_choose_site.html.haml +4 -5
  132. data/app/views/admin/snippets/_form.html.haml +8 -9
  133. data/app/views/admin/snippets/edit.html.haml +1 -1
  134. data/app/views/admin/snippets/index.html.haml +11 -4
  135. data/app/views/admin/snippets/new.html.haml +1 -1
  136. data/app/views/admin/snippets/remove.html.haml +7 -6
  137. data/app/views/admin/users/_avatar.html.haml +2 -2
  138. data/app/views/admin/users/_choose_site.html.haml +3 -7
  139. data/app/views/admin/users/_form.html.haml +18 -21
  140. data/app/views/admin/users/_password_fields.html.haml +6 -6
  141. data/app/views/admin/users/index.html.haml +13 -6
  142. data/app/views/admin/users/remove.html.haml +4 -4
  143. data/app/views/admin/welcome/login.html.haml +8 -8
  144. data/app/views/devise/passwords/edit.html.haml +6 -6
  145. data/app/views/devise/passwords/new.html.haml +3 -3
  146. data/app/views/devise/sessions/new.html.haml +8 -8
  147. data/app/views/devise/shared/_links.html.haml +2 -2
  148. data/app/views/layouts/application.html.haml +24 -19
  149. data/app/views/rad_social_mailer/social_mail_form.html.haml +15 -15
  150. data/app/views/widget/_email_form.html.haml +14 -14
  151. data/app/views/widget/_horizontal_widget.html.haml +5 -5
  152. data/bin/rails +4 -4
  153. data/bin/trusty_cms +3 -5
  154. data/config.ru +1 -1
  155. data/config/application.rb +14 -15
  156. data/config/boot.rb +1 -2
  157. data/config/environment.rb +1 -1
  158. data/config/environments/production.rb +0 -1
  159. data/config/environments/test.rb +1 -2
  160. data/config/initializers/devise.rb +1 -1
  161. data/config/initializers/kraken.rb +2 -2
  162. data/config/initializers/tmp.rb +1 -1
  163. data/config/initializers/trusty_cms_config.rb +48 -48
  164. data/config/locales/en.yml +8 -8
  165. data/config/routes.rb +6 -7
  166. data/lib/active_record_extensions/active_record_extensions.rb +1 -2
  167. data/lib/annotatable.rb +3 -5
  168. data/lib/configuration_extensions/configuration_extensions.rb +1 -1
  169. data/lib/inheritable_class_attributes.rb +13 -9
  170. data/lib/login_system.rb +73 -73
  171. data/lib/method_observer.rb +13 -12
  172. data/lib/ostruct.rb +7 -10
  173. data/lib/simpleton.rb +0 -4
  174. data/lib/string_extensions/string_extensions.rb +3 -3
  175. data/lib/symbol_extensions/symbol_extensions.rb +1 -1
  176. data/lib/tasks/database.rake +28 -28
  177. data/lib/tasks/extensions.rake +18 -18
  178. data/lib/tasks/framework.rake +68 -68
  179. data/lib/tasks/radiant_config.rake +4 -4
  180. data/lib/tasks/snippets_extension_tasks.rake +11 -11
  181. data/lib/tasks/translate.rake +14 -14
  182. data/lib/tasks/upgrade_to_devise.rake +1 -1
  183. data/lib/translation_support.rb +22 -22
  184. data/lib/trusty_cms.rb +2 -2
  185. data/lib/trusty_cms/admin_ui.rb +19 -16
  186. data/lib/trusty_cms/admin_ui/region_partials.rb +4 -3
  187. data/lib/trusty_cms/admin_ui/region_set.rb +4 -5
  188. data/lib/trusty_cms/available_locales.rb +2 -4
  189. data/lib/trusty_cms/config/definition.rb +11 -8
  190. data/lib/trusty_cms/engine.rb +14 -14
  191. data/lib/trusty_cms/extension.rb +14 -16
  192. data/lib/trusty_cms/extension_loader.rb +6 -6
  193. data/lib/trusty_cms/extension_migrator.rb +42 -41
  194. data/lib/trusty_cms/extension_path.rb +20 -19
  195. data/lib/trusty_cms/initializer.rb +5 -8
  196. data/lib/trusty_cms/pagination/controller.rb +7 -10
  197. data/lib/trusty_cms/pagination/link_renderer.rb +2 -2
  198. data/lib/trusty_cms/resource_responses.rb +3 -3
  199. data/lib/trusty_cms/setup.rb +130 -132
  200. data/lib/trusty_cms/taggable.rb +19 -22
  201. data/lib/trusty_cms/task_support.rb +9 -6
  202. data/package.json +10 -2
  203. data/public/dispatch.fcgi +1 -1
  204. data/public/dispatch.rb +2 -2
  205. data/script/extension +1 -1
  206. data/script/rails +2 -2
  207. data/spec/dummy/package.json +1 -1
  208. data/spec/dummy/yarn.lock +3 -3
  209. data/trusty_cms.gemspec +25 -25
  210. data/vendor/extensions/clipped-extension/lib/clipped_admin_ui.rb +1 -1
  211. data/yarn.lock +1992 -4
  212. metadata +54 -42
  213. data/app/assets/stylesheets/admin/partials/_deprecated.scss +0 -65
  214. data/app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss +0 -258
  215. data/app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss +0 -410
  216. data/app/assets/stylesheets/admin/partials/_jquery-ui.scss +0 -650
  217. data/app/views/admin/assets/refresh.html.haml +0 -14
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-03 00:00:00.000000000 Z
11
+ date: 2020-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.1.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.9.5
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: acts_as_tree
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -175,7 +181,7 @@ dependencies:
175
181
  - !ruby/object:Gem::Version
176
182
  version: '0'
177
183
  - !ruby/object:Gem::Dependency
178
- name: mysql2
184
+ name: mini_racer
179
185
  requirement: !ruby/object:Gem::Requirement
180
186
  requirements:
181
187
  - - ">="
@@ -189,7 +195,7 @@ dependencies:
189
195
  - !ruby/object:Gem::Version
190
196
  version: '0'
191
197
  - !ruby/object:Gem::Dependency
192
- name: mini_racer
198
+ name: mysql2
193
199
  requirement: !ruby/object:Gem::Requirement
194
200
  requirements:
195
201
  - - ">="
@@ -244,6 +250,20 @@ dependencies:
244
250
  - - "~>"
245
251
  - !ruby/object:Gem::Version
246
252
  version: '1.7'
253
+ - !ruby/object:Gem::Dependency
254
+ name: radius
255
+ requirement: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: '0.7'
260
+ type: :runtime
261
+ prerelease: false
262
+ version_requirements: !ruby/object:Gem::Requirement
263
+ requirements:
264
+ - - "~>"
265
+ - !ruby/object:Gem::Version
266
+ version: '0.7'
247
267
  - !ruby/object:Gem::Dependency
248
268
  name: rails
249
269
  requirement: !ruby/object:Gem::Requirement
@@ -259,39 +279,39 @@ dependencies:
259
279
  - !ruby/object:Gem::Version
260
280
  version: '0'
261
281
  - !ruby/object:Gem::Dependency
262
- name: rdoc
282
+ name: rake
263
283
  requirement: !ruby/object:Gem::Requirement
264
284
  requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- version: '5.1'
268
285
  - - "<"
269
286
  - !ruby/object:Gem::Version
270
- version: '7.0'
287
+ version: '13.0'
271
288
  type: :runtime
272
289
  prerelease: false
273
290
  version_requirements: !ruby/object:Gem::Requirement
274
291
  requirements:
275
- - - ">="
276
- - !ruby/object:Gem::Version
277
- version: '5.1'
278
292
  - - "<"
279
293
  - !ruby/object:Gem::Version
280
- version: '7.0'
294
+ version: '13.0'
281
295
  - !ruby/object:Gem::Dependency
282
- name: radius
296
+ name: rdoc
283
297
  requirement: !ruby/object:Gem::Requirement
284
298
  requirements:
285
- - - "~>"
299
+ - - ">="
286
300
  - !ruby/object:Gem::Version
287
- version: '0.7'
301
+ version: '5.1'
302
+ - - "<"
303
+ - !ruby/object:Gem::Version
304
+ version: '7.0'
288
305
  type: :runtime
289
306
  prerelease: false
290
307
  version_requirements: !ruby/object:Gem::Requirement
291
308
  requirements:
292
- - - "~>"
309
+ - - ">="
293
310
  - !ruby/object:Gem::Version
294
- version: '0.7'
311
+ version: '5.1'
312
+ - - "<"
313
+ - !ruby/object:Gem::Version
314
+ version: '7.0'
295
315
  - !ruby/object:Gem::Dependency
296
316
  name: RedCloth
297
317
  requirement: !ruby/object:Gem::Requirement
@@ -306,20 +326,6 @@ dependencies:
306
326
  - - '='
307
327
  - !ruby/object:Gem::Version
308
328
  version: 4.3.2
309
- - !ruby/object:Gem::Dependency
310
- name: rake
311
- requirement: !ruby/object:Gem::Requirement
312
- requirements:
313
- - - "<"
314
- - !ruby/object:Gem::Version
315
- version: '13.0'
316
- type: :runtime
317
- prerelease: false
318
- version_requirements: !ruby/object:Gem::Requirement
319
- requirements:
320
- - - "<"
321
- - !ruby/object:Gem::Version
322
- version: '13.0'
323
329
  - !ruby/object:Gem::Dependency
324
330
  name: roadie-rails
325
331
  requirement: !ruby/object:Gem::Requirement
@@ -372,16 +378,22 @@ dependencies:
372
378
  name: tzinfo
373
379
  requirement: !ruby/object:Gem::Requirement
374
380
  requirements:
375
- - - "~>"
381
+ - - ">="
376
382
  - !ruby/object:Gem::Version
377
383
  version: 1.2.3
384
+ - - "<"
385
+ - !ruby/object:Gem::Version
386
+ version: 2.1.0
378
387
  type: :runtime
379
388
  prerelease: false
380
389
  version_requirements: !ruby/object:Gem::Requirement
381
390
  requirements:
382
- - - "~>"
391
+ - - ">="
383
392
  - !ruby/object:Gem::Version
384
393
  version: 1.2.3
394
+ - - "<"
395
+ - !ruby/object:Gem::Version
396
+ version: 2.1.0
385
397
  - !ruby/object:Gem::Dependency
386
398
  name: uglifier
387
399
  requirement: !ruby/object:Gem::Requirement
@@ -602,24 +614,25 @@ files:
602
614
  - app/assets/stylesheets/admin/assets.scss
603
615
  - app/assets/stylesheets/admin/main.scss
604
616
  - app/assets/stylesheets/admin/modules/_boxes.scss
617
+ - app/assets/stylesheets/admin/modules/_buttons.scss
605
618
  - app/assets/stylesheets/admin/modules/_links.scss
606
619
  - app/assets/stylesheets/admin/partials/_actions.scss
607
620
  - app/assets/stylesheets/admin/partials/_avatars.scss
608
621
  - app/assets/stylesheets/admin/partials/_content.scss
609
622
  - app/assets/stylesheets/admin/partials/_dateinput.scss
610
- - app/assets/stylesheets/admin/partials/_deprecated.scss
623
+ - app/assets/stylesheets/admin/partials/_drawer.scss
611
624
  - app/assets/stylesheets/admin/partials/_dropdown.scss
612
625
  - app/assets/stylesheets/admin/partials/_footer.scss
613
626
  - app/assets/stylesheets/admin/partials/_forms.scss
614
627
  - app/assets/stylesheets/admin/partials/_header.scss
615
- - app/assets/stylesheets/admin/partials/_index.scss
616
- - app/assets/stylesheets/admin/partials/_jquery-ui-structure.scss
617
- - app/assets/stylesheets/admin/partials/_jquery-ui-theme.scss
618
- - app/assets/stylesheets/admin/partials/_jquery-ui.scss
619
628
  - app/assets/stylesheets/admin/partials/_layout.scss
629
+ - app/assets/stylesheets/admin/partials/_login_form.scss
620
630
  - app/assets/stylesheets/admin/partials/_messages.scss
621
631
  - app/assets/stylesheets/admin/partials/_popup.scss
632
+ - app/assets/stylesheets/admin/partials/_preferences.scss
633
+ - app/assets/stylesheets/admin/partials/_sidebar.scss
622
634
  - app/assets/stylesheets/admin/partials/_tabcontrol.scss
635
+ - app/assets/stylesheets/admin/partials/_table.scss
623
636
  - app/assets/stylesheets/admin/partials/_toolbar.scss
624
637
  - app/assets/stylesheets/admin/partials/_treetable.scss
625
638
  - app/assets/stylesheets/admin/partials/_typography.scss
@@ -699,7 +712,6 @@ files:
699
712
  - app/views/admin/assets/edit.html.haml
700
713
  - app/views/admin/assets/index.html.haml
701
714
  - app/views/admin/assets/new.html.haml
702
- - app/views/admin/assets/refresh.html.haml
703
715
  - app/views/admin/assets/remove.html.haml
704
716
  - app/views/admin/configuration/_clipped_edit.html.haml
705
717
  - app/views/admin/configuration/_clipped_show.html.haml
@@ -1,65 +0,0 @@
1
- // The styles here will be deprecated in a future version of TrustyCms, but
2
- // will be maintained here for a time so that older extensions continue to
3
- // look reasonable.
4
-
5
- // Use for "empty" instead of "note"
6
- table.index td.note {
7
- color: silver;
8
- font-size: 85%;
9
- font-style: italic;
10
- padding: 3em;
11
- text-align: center;
12
- }
13
-
14
- // Use "set" instead of "row" on forms
15
- .row {
16
- clear: both;
17
- margin-top: 20px;
18
- width: 100%;
19
- p {
20
- float: left;
21
- margin: 0 2em 1.25em 0;
22
- font-size: 95%;
23
- label {
24
- display: inline;
25
- text-shadow: #666666 1px 1px 0;
26
- }
27
- }
28
- }
29
-
30
- // Use a div with a class of "popup_title" instead of an h3 with a class of "title"
31
- div.popup h3.title {
32
- background: #c5dff5;
33
- background-image: linear-gradient(to bottom, #e5f5ff, #c5dff5);
34
- border-bottom: 1px solid #a7cdf0;
35
- font-size: 100%;
36
- margin: -10px -20px 20px -20px;
37
- padding: 6px 10px;
38
- }
39
-
40
- // Reuse this style instead by applying the "action_button" class
41
- #actions {
42
- a {
43
- background: #d8d8d8;
44
- background-image: linear-gradient(to bottom, #ffffff, #cccccc);
45
- color: #333333;
46
- font-size: 80%;
47
- padding: 8px 12px;
48
- text-decoration: none;
49
- text-shadow: 1px 1px 1px #eeeeee;
50
- border-radius: 5px;
51
- @include button-shadow;
52
- &:hover {
53
- color: #0076a3;
54
- text-shadow: 1px 1px 1px white;
55
- }
56
- &:active {
57
- background: white;
58
- @include no-button-shadow;
59
- color: black;
60
- }
61
- img {
62
- vertical-align: -20%;
63
- }
64
- }
65
- }
@@ -1,258 +0,0 @@
1
- /*!
2
- * jQuery UI CSS Framework 1.11.0
3
- * http://jqueryui.com
4
- *
5
- * Copyright 2014 jQuery Foundation and other contributors
6
- * Released under the MIT license.
7
- * http://jquery.org/license
8
- *
9
- * http://api.jqueryui.com/category/theming/
10
- */
11
-
12
- /* Layout helpers
13
- ----------------------------------*/
14
- .ui-helper-hidden {
15
- display: none;
16
- }
17
- .ui-helper-hidden-accessible {
18
- border: 0;
19
- clip: rect(0 0 0 0);
20
- height: 1px;
21
- margin: -1px;
22
- overflow: hidden;
23
- padding: 0;
24
- position: absolute;
25
- width: 1px;
26
- }
27
- .ui-helper-reset {
28
- margin: 0;
29
- padding: 0;
30
- border: 0;
31
- outline: 0;
32
- line-height: 1.3;
33
- text-decoration: none;
34
- font-size: 100%;
35
- list-style: none;
36
- }
37
- .ui-helper-clearfix:before,
38
- .ui-helper-clearfix:after {
39
- content: "";
40
- display: table;
41
- border-collapse: collapse;
42
- }
43
- .ui-helper-clearfix:after {
44
- clear: both;
45
- }
46
- .ui-helper-clearfix {
47
- min-height: 0; /* support: IE7 */
48
- }
49
- .ui-helper-zfix {
50
- width: 100%;
51
- height: 100%;
52
- top: 0;
53
- left: 0;
54
- position: absolute;
55
- opacity: 0;
56
- filter:Alpha(Opacity=0);
57
- }
58
-
59
- .ui-front {
60
- z-index: 100;
61
- }
62
-
63
-
64
- /* Interaction Cues
65
- ----------------------------------*/
66
- .ui-state-disabled {
67
- cursor: default !important;
68
- }
69
-
70
-
71
- /* Icons
72
- ----------------------------------*/
73
-
74
- /* states and images */
75
- .ui-icon {
76
- display: block;
77
- text-indent: -99999px;
78
- overflow: hidden;
79
- background-repeat: no-repeat;
80
- }
81
-
82
-
83
- /* Misc visuals
84
- ----------------------------------*/
85
-
86
- /* Overlays */
87
- .ui-widget-overlay {
88
- position: fixed;
89
- top: 0;
90
- left: 0;
91
- width: 100%;
92
- height: 100%;
93
- }
94
- .ui-datepicker {
95
- width: 17em;
96
- padding: .2em .2em 0;
97
- display: none;
98
- }
99
- .ui-datepicker .ui-datepicker-header {
100
- position: relative;
101
- padding: .2em 0;
102
- }
103
- .ui-datepicker .ui-datepicker-prev,
104
- .ui-datepicker .ui-datepicker-next {
105
- position: absolute;
106
- top: 2px;
107
- width: 1.8em;
108
- height: 1.8em;
109
- }
110
- .ui-datepicker .ui-datepicker-prev-hover,
111
- .ui-datepicker .ui-datepicker-next-hover {
112
- top: 1px;
113
- }
114
- .ui-datepicker .ui-datepicker-prev {
115
- left: 2px;
116
- }
117
- .ui-datepicker .ui-datepicker-next {
118
- right: 2px;
119
- }
120
- .ui-datepicker .ui-datepicker-prev-hover {
121
- left: 1px;
122
- }
123
- .ui-datepicker .ui-datepicker-next-hover {
124
- right: 1px;
125
- }
126
- .ui-datepicker .ui-datepicker-prev span,
127
- .ui-datepicker .ui-datepicker-next span {
128
- display: block;
129
- position: absolute;
130
- left: 50%;
131
- margin-left: -8px;
132
- top: 50%;
133
- margin-top: -8px;
134
- }
135
- .ui-datepicker .ui-datepicker-title {
136
- margin: 0 2.3em;
137
- line-height: 1.8em;
138
- text-align: center;
139
- }
140
- .ui-datepicker .ui-datepicker-title select {
141
- font-size: 1em;
142
- margin: 1px 0;
143
- }
144
- .ui-datepicker select.ui-datepicker-month,
145
- .ui-datepicker select.ui-datepicker-year {
146
- width: 49%;
147
- }
148
- .ui-datepicker table {
149
- width: 100%;
150
- font-size: .9em;
151
- border-collapse: collapse;
152
- margin: 0 0 .4em;
153
- }
154
- .ui-datepicker th {
155
- padding: .7em .3em;
156
- text-align: center;
157
- font-weight: bold;
158
- border: 0;
159
- }
160
- .ui-datepicker td {
161
- border: 0;
162
- padding: 1px;
163
- }
164
- .ui-datepicker td span,
165
- .ui-datepicker td a {
166
- display: block;
167
- padding: .2em;
168
- text-align: right;
169
- text-decoration: none;
170
- }
171
- .ui-datepicker .ui-datepicker-buttonpane {
172
- background-image: none;
173
- margin: .7em 0 0 0;
174
- padding: 0 .2em;
175
- border-left: 0;
176
- border-right: 0;
177
- border-bottom: 0;
178
- }
179
- .ui-datepicker .ui-datepicker-buttonpane button {
180
- float: right;
181
- margin: .5em .2em .4em;
182
- cursor: pointer;
183
- padding: .2em .6em .3em .6em;
184
- width: auto;
185
- overflow: visible;
186
- }
187
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
188
- float: left;
189
- }
190
-
191
- /* with multiple calendars */
192
- .ui-datepicker.ui-datepicker-multi {
193
- width: auto;
194
- }
195
- .ui-datepicker-multi .ui-datepicker-group {
196
- float: left;
197
- }
198
- .ui-datepicker-multi .ui-datepicker-group table {
199
- width: 95%;
200
- margin: 0 auto .4em;
201
- }
202
- .ui-datepicker-multi-2 .ui-datepicker-group {
203
- width: 50%;
204
- }
205
- .ui-datepicker-multi-3 .ui-datepicker-group {
206
- width: 33.3%;
207
- }
208
- .ui-datepicker-multi-4 .ui-datepicker-group {
209
- width: 25%;
210
- }
211
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
212
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
213
- border-left-width: 0;
214
- }
215
- .ui-datepicker-multi .ui-datepicker-buttonpane {
216
- clear: left;
217
- }
218
- .ui-datepicker-row-break {
219
- clear: both;
220
- width: 100%;
221
- font-size: 0;
222
- }
223
-
224
- /* RTL support */
225
- .ui-datepicker-rtl {
226
- direction: rtl;
227
- }
228
- .ui-datepicker-rtl .ui-datepicker-prev {
229
- right: 2px;
230
- left: auto;
231
- }
232
- .ui-datepicker-rtl .ui-datepicker-next {
233
- left: 2px;
234
- right: auto;
235
- }
236
- .ui-datepicker-rtl .ui-datepicker-prev:hover {
237
- right: 1px;
238
- left: auto;
239
- }
240
- .ui-datepicker-rtl .ui-datepicker-next:hover {
241
- left: 1px;
242
- right: auto;
243
- }
244
- .ui-datepicker-rtl .ui-datepicker-buttonpane {
245
- clear: right;
246
- }
247
- .ui-datepicker-rtl .ui-datepicker-buttonpane button {
248
- float: left;
249
- }
250
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
251
- .ui-datepicker-rtl .ui-datepicker-group {
252
- float: right;
253
- }
254
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
255
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
256
- border-right-width: 0;
257
- border-left-width: 1px;
258
- }