refinerycms-core 2.1.5 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/refinery/add.png +0 -0
- data/app/assets/images/refinery/admin_bg.png +0 -0
- data/app/assets/images/refinery/ajax-loader.gif +0 -0
- data/app/assets/images/refinery/branch-end.gif +0 -0
- data/app/assets/images/refinery/branch.gif +0 -0
- data/app/assets/images/refinery/cross.png +0 -0
- data/app/assets/images/refinery/dialogLoadingAnimation.gif +0 -0
- data/app/assets/images/refinery/header_background.png +0 -0
- data/app/assets/images/refinery/hover-gradient.jpg +0 -0
- data/app/assets/images/refinery/icons/accept.png +0 -0
- data/app/assets/images/refinery/icons/add.png +0 -0
- data/app/assets/images/refinery/icons/ajax-loader.gif +0 -0
- data/app/assets/images/refinery/icons/application_edit.png +0 -0
- data/app/assets/images/refinery/icons/application_go.png +0 -0
- data/app/assets/images/refinery/icons/arrow_left.png +0 -0
- data/app/assets/images/refinery/icons/arrow_left_right.png +0 -0
- data/app/assets/images/refinery/icons/arrow_switch.png +0 -0
- data/app/assets/images/refinery/icons/arrow_up.png +0 -0
- data/app/assets/images/refinery/icons/arrow_up_down.png +0 -0
- data/app/assets/images/refinery/icons/bin.png +0 -0
- data/app/assets/images/refinery/icons/bin_closed.png +0 -0
- data/app/assets/images/refinery/icons/cancel.png +0 -0
- data/app/assets/images/refinery/icons/cog_add.png +0 -0
- data/app/assets/images/refinery/icons/cog_edit.png +0 -0
- data/app/assets/images/refinery/icons/cross.png +0 -0
- data/app/assets/images/refinery/icons/delete.png +0 -0
- data/app/assets/images/refinery/icons/doc.png +0 -0
- data/app/assets/images/refinery/icons/down.gif +0 -0
- data/app/assets/images/refinery/icons/edit.png +0 -0
- data/app/assets/images/refinery/icons/email.png +0 -0
- data/app/assets/images/refinery/icons/email_edit.png +0 -0
- data/app/assets/images/refinery/icons/email_go.png +0 -0
- data/app/assets/images/refinery/icons/email_open.png +0 -0
- data/app/assets/images/refinery/icons/eye.png +0 -0
- data/app/assets/images/refinery/icons/folder.png +0 -0
- data/app/assets/images/refinery/icons/folder_open.png +0 -0
- data/app/assets/images/refinery/icons/folder_page_white.png +0 -0
- data/app/assets/images/refinery/icons/image_add.png +0 -0
- data/app/assets/images/refinery/icons/image_edit.png +0 -0
- data/app/assets/images/refinery/icons/img.png +0 -0
- data/app/assets/images/refinery/icons/information.png +0 -0
- data/app/assets/images/refinery/icons/layout_add.png +0 -0
- data/app/assets/images/refinery/icons/layout_edit.png +0 -0
- data/app/assets/images/refinery/icons/locale-blue.svg +15 -0
- data/app/assets/images/refinery/icons/locale.svg +11 -0
- data/app/assets/images/refinery/icons/music.png +0 -0
- data/app/assets/images/refinery/icons/page.png +0 -0
- data/app/assets/images/refinery/icons/page_add.png +0 -0
- data/app/assets/images/refinery/icons/page_edit.png +0 -0
- data/app/assets/images/refinery/icons/page_white_edit.png +0 -0
- data/app/assets/images/refinery/icons/page_white_gear.png +0 -0
- data/app/assets/images/refinery/icons/page_white_put.png +0 -0
- data/app/assets/images/refinery/icons/pdf.png +0 -0
- data/app/assets/images/refinery/icons/ppt.png +0 -0
- data/app/assets/images/refinery/icons/star.png +0 -0
- data/app/assets/images/refinery/icons/tick.png +0 -0
- data/app/assets/images/refinery/icons/up.gif +0 -0
- data/app/assets/images/refinery/icons/user_add.png +0 -0
- data/app/assets/images/refinery/icons/user_comment.png +0 -0
- data/app/assets/images/refinery/icons/user_edit.png +0 -0
- data/app/assets/images/refinery/icons/xls.png +0 -0
- data/app/assets/images/refinery/icons/zip.png +0 -0
- data/app/assets/images/refinery/icons/zoom.png +0 -0
- data/app/assets/images/refinery/logo-large.png +0 -0
- data/app/assets/images/refinery/logo-medium.png +0 -0
- data/app/assets/images/refinery/logo-site-bar.png +0 -0
- data/app/assets/images/refinery/logo-small-medium.png +0 -0
- data/app/assets/images/refinery/logo-small.png +0 -0
- data/app/assets/images/refinery/logo-tiny.png +0 -0
- data/app/assets/images/refinery/logo.png +0 -0
- data/app/assets/images/refinery/nav-3-background.gif +0 -0
- data/app/assets/images/refinery/nav_inactive_background.png +0 -0
- data/app/assets/images/refinery/orange_button.png +0 -0
- data/app/assets/images/refinery/page_bg.png +0 -0
- data/app/assets/images/refinery/text_field_background.png +0 -0
- data/app/assets/images/refinery/tooltip-nib.gif +0 -0
- data/app/assets/images/refinery/tooltip-nib.png +0 -0
- data/app/assets/javascripts/admin.js +7 -6
- data/app/assets/javascripts/refinery/admin.js.erb +99 -60
- data/app/assets/javascripts/refinery/ajaxy_pagination.js.coffee +2 -5
- data/app/assets/javascripts/refinery/application.js +8 -0
- data/app/assets/javascripts/refinery/core.js +4 -18
- data/app/assets/javascripts/refinery/interface.js.coffee.erb +5 -29
- data/app/assets/javascripts/refinery/modal_dialogs.js.erb +0 -105
- data/app/assets/javascripts/refinery/nestedsortables.js +183 -110
- data/app/assets/javascripts/refinery/refinery.js.erb +3 -9
- data/app/assets/javascripts/refinery/serializelist.js +1 -1
- data/app/assets/javascripts/refinery/site_bar.js +0 -5
- data/app/assets/javascripts/refinery/sortable_list.js +10 -11
- data/app/assets/javascripts/refinery/submit_continue.js.coffee.erb +1 -1
- data/app/assets/stylesheets/application.scss +2 -0
- data/app/assets/stylesheets/refinery/_colours.scss +18 -0
- data/app/assets/stylesheets/refinery/_icons.scss +85 -0
- data/app/assets/stylesheets/refinery/{layout.css.scss → _layout.scss} +306 -338
- data/app/assets/stylesheets/refinery/_mixins.scss +84 -0
- data/app/assets/stylesheets/refinery/{submenu.css.scss → _submenu.scss} +2 -2
- data/app/assets/stylesheets/refinery/{tooltips.css.scss → _tooltips.scss} +0 -0
- data/app/assets/stylesheets/refinery/_ui.scss +252 -0
- data/app/assets/stylesheets/refinery/{formatting.css.scss → formatting.scss} +0 -0
- data/app/assets/stylesheets/refinery/refinery.scss +10 -0
- data/app/assets/stylesheets/refinery/site_bar.scss +126 -0
- data/app/assets/stylesheets/refinery/{theme.css.scss → theme.scss} +0 -0
- data/app/controllers/refinery/admin/core_controller.rb +2 -7
- data/app/controllers/refinery/admin/dialogs_controller.rb +4 -3
- data/app/controllers/refinery/admin_controller.rb +0 -1
- data/app/controllers/refinery/fast_controller.rb +0 -4
- data/app/helpers/refinery/admin/visual_editor_helper.rb +13 -0
- data/app/helpers/refinery/admin_helper.rb +4 -0
- data/app/helpers/refinery/custom_assets_helper.rb +2 -2
- data/app/helpers/refinery/image_helper.rb +9 -8
- data/app/helpers/refinery/meta_helper.rb +1 -1
- data/app/helpers/refinery/site_bar_helper.rb +16 -2
- data/app/helpers/refinery/tag_helper.rb +38 -5
- data/app/models/refinery/core/base_model.rb +3 -1
- data/app/views/layouts/refinery/admin.html.erb +12 -10
- data/app/views/layouts/refinery/admin_dialog.html.erb +1 -4
- data/app/views/refinery/_content_page.html.erb +1 -1
- data/app/views/refinery/_google_analytics.html.erb +8 -9
- data/app/views/refinery/_head.html.erb +1 -1
- data/app/views/refinery/_javascripts.html.erb +0 -15
- data/app/views/refinery/_message.html.erb +1 -1
- data/app/views/refinery/_site_bar.html.erb +9 -6
- data/app/views/refinery/admin/_error_messages.html.erb +4 -4
- data/app/views/refinery/admin/_form_actions.html.erb +1 -0
- data/app/views/refinery/admin/_form_advanced_options_menu.html.erb +3 -4
- data/app/views/refinery/admin/_head.html.erb +3 -0
- data/app/views/refinery/admin/_image_picker.html.erb +4 -5
- data/app/views/refinery/admin/_javascripts.html.erb +4 -9
- data/app/views/refinery/admin/_locale_picker.html.erb +9 -2
- data/app/views/refinery/admin/_make_sortable.html.erb +8 -6
- data/app/views/refinery/admin/_menu.html.erb +2 -15
- data/app/views/refinery/admin/_menu_item.html.erb +3 -0
- data/app/views/refinery/admin/_resource_picker.html.erb +12 -22
- data/app/views/refinery/admin/_search.html.erb +1 -1
- data/app/views/refinery/admin/_tabbed_fields.html.erb +2 -2
- data/app/views/refinery/admin/_wysiwyg.html.erb +1 -1
- data/{lib/generators/refinery/cms/templates/app/decorators/controllers/refinery/.gitkeep → app/views/refinery/admin/dialog_success.html.erb} +0 -0
- data/app/views/refinery/admin/dialogs/show.html.erb +1 -19
- data/config/initializers/assets.rb +6 -0
- data/config/locales/ca.yml +84 -0
- data/config/locales/cs.yml +12 -5
- data/config/locales/en.yml +6 -2
- data/config/locales/fr.yml +15 -11
- data/config/locales/hu.yml +3 -1
- data/config/locales/it.yml +5 -1
- data/config/locales/ja.yml +2 -2
- data/config/locales/pt.yml +5 -3
- data/config/locales/ru.yml +7 -0
- data/config/locales/sl.yml +0 -3
- data/config/locales/tr.yml +43 -41
- data/config/routes.rb +1 -4
- data/lib/generators/refinery/cms/cms_generator.rb +68 -26
- data/lib/generators/refinery/cms/templates/app/decorators/{models/refinery/.gitkeep → controllers/refinery/.keep} +0 -0
- data/lib/generators/refinery/{form/templates/.gitkeep → cms/templates/app/decorators/models/refinery/.keep} +0 -0
- data/lib/generators/refinery/cms/templates/config/database.yml.mysql +3 -3
- data/lib/generators/refinery/cms/templates/config/database.yml.postgresql +3 -3
- data/lib/generators/refinery/core/templates/config/initializers/refinery/core.rb.erb +18 -5
- data/lib/generators/refinery/dummy/dummy_generator.rb +3 -1
- data/lib/generators/refinery/dummy/templates/rails/application.js +3 -0
- data/lib/generators/refinery/dummy/templates/rails/application.rb.erb +0 -2
- data/lib/generators/refinery/dummy/templates/rails/blank.png +0 -0
- data/lib/generators/refinery/dummy/templates/rails/routes.rb +1 -1
- data/lib/generators/refinery/engine/engine_generator.rb +3 -2
- data/lib/generators/refinery/engine/templates/Gemfile +9 -4
- data/lib/generators/refinery/engine/templates/Rakefile +3 -4
- data/lib/generators/refinery/engine/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb +11 -2
- data/lib/generators/refinery/engine/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb +2 -2
- data/lib/generators/refinery/engine/templates/app/models/refinery/namespace/singular_name.rb.erb +5 -5
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_actions.html.erb +7 -12
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_form.html.erb +8 -8
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb +3 -3
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb +6 -11
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb +1 -1
- data/lib/generators/refinery/engine/templates/app/views/refinery/namespace/plural_name/show.html.erb +4 -4
- data/lib/generators/refinery/engine/templates/db/migrate/1_create_namespace_plural_name.rb.erb +2 -9
- data/lib/generators/refinery/engine/templates/db/seeds.rb.erb +13 -19
- data/lib/generators/refinery/engine/templates/lib/refinery/plural_name/engine.rb.erb +0 -4
- data/lib/generators/refinery/engine/templates/readme.md +3 -3
- data/lib/generators/refinery/engine/templates/refinerycms-extension_plural_name.gemspec +1 -0
- data/lib/generators/refinery/engine/templates/spec/features/refinery/namespace/admin/plural_name_spec.rb.erb +25 -28
- data/lib/generators/refinery/engine/templates/spec/models/refinery/namespace/singular_name_spec.rb.erb +1 -1
- data/lib/generators/refinery/engine/templates/spec/spec_helper.rb +1 -1
- data/lib/refinery.rb +7 -9
- data/lib/refinery/admin/base_controller.rb +42 -32
- data/lib/refinery/application_controller.rb +25 -17
- data/lib/refinery/cli.rb +54 -19
- data/lib/refinery/core.rb +5 -0
- data/lib/refinery/core/authorisation_adapter.rb +11 -0
- data/lib/refinery/core/authorisation_manager.rb +14 -0
- data/lib/refinery/core/configuration.rb +25 -4
- data/lib/refinery/core/default_route.rb +16 -0
- data/lib/refinery/core/engine.rb +44 -25
- data/lib/refinery/core/nil_user.rb +42 -0
- data/lib/refinery/crud.rb +40 -29
- data/lib/refinery/extension_generation.rb +11 -22
- data/lib/refinery/generators/generated_attribute.rb +54 -0
- data/lib/refinery/generators/named_base.rb +16 -0
- data/lib/refinery/menu.rb +3 -2
- data/lib/refinery/menu_item.rb +1 -1
- data/lib/refinery/plugin.rb +27 -43
- data/lib/refinery/plugins.rb +22 -26
- data/lib/refinery/users_manager.rb +8 -0
- data/lib/refinery/version.rb +7 -3
- data/lib/tasks/refinery.rake +7 -0
- data/license.md +1 -1
- data/refinerycms-core.gemspec +11 -8
- data/spec/controllers/refinery/admin/dummy_controller_spec.rb +23 -11
- data/spec/controllers/refinery/sitemap_controller_spec.rb +2 -2
- data/spec/features/refinery/admin/custom_assets_spec.rb +12 -10
- data/spec/features/refinery/admin/dialogs_spec.rb +5 -5
- data/spec/features/refinery/admin/xhr_paging_spec.rb +24 -38
- data/spec/features/refinery/application_layout_spec.rb +3 -3
- data/spec/features/refinery/core_spec.rb +1 -1
- data/spec/features/refinery/site_bar_spec.rb +44 -23
- data/spec/helpers/refinery/admin_helper_spec.rb +15 -0
- data/spec/helpers/refinery/custom_assets_helper_spec.rb +15 -23
- data/spec/helpers/refinery/html_truncation_helper_spec.rb +10 -5
- data/spec/helpers/refinery/meta_helper_spec.rb +3 -3
- data/spec/helpers/refinery/pagination_helper_spec.rb +7 -7
- data/spec/helpers/refinery/tag_helper_spec.rb +4 -4
- data/spec/helpers/refinery/translation_helper_spec.rb +3 -3
- data/spec/lib/generators/refinery/cms/cms_generator_spec.rb +30 -25
- data/spec/lib/generators/refinery/core/core_generator_spec.rb +1 -1
- data/spec/lib/generators/refinery/engine/engine_generator_multiple_resources_spec.rb +7 -8
- data/spec/lib/generators/refinery/engine/engine_generator_sanity_check_spec.rb +15 -15
- data/spec/lib/generators/refinery/engine/engine_generator_spec.rb +9 -9
- data/spec/lib/generators/refinery/engine/engine_generator_with_i18n_spec.rb +1 -1
- data/spec/lib/generators/refinery/engine/engine_generator_without_frontend_spec.rb +1 -1
- data/spec/lib/refinery/application_controller_spec.rb +16 -16
- data/spec/lib/refinery/authorisation_manager_spec.rb +10 -0
- data/spec/lib/refinery/cli_spec.rb +83 -21
- data/spec/lib/refinery/core/configuration_spec.rb +5 -5
- data/spec/lib/refinery/core/nil_user_spec.rb +39 -0
- data/spec/lib/refinery/core_spec.rb +39 -30
- data/spec/lib/refinery/crud_spec.rb +70 -59
- data/spec/lib/refinery/menu_spec.rb +4 -4
- data/spec/lib/refinery/plugin_spec.rb +56 -45
- data/spec/lib/refinery/plugins_spec.rb +39 -87
- data/spec/lib/refinery/users_manager_spec.rb +9 -0
- data/spec/support/refinery.rb +3 -8
- data/vendor/assets/fonts/font-awesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.svg +565 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/stylesheets/_font-awesome-compass.scss +5 -0
- data/vendor/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
- data/vendor/assets/stylesheets/_font-awesome.scss +17 -0
- data/vendor/assets/stylesheets/font-awesome/_animated.scss +34 -0
- data/vendor/assets/stylesheets/font-awesome/_bordered-pulled.scss +16 -0
- data/vendor/assets/stylesheets/font-awesome/_core.scss +12 -0
- data/vendor/assets/stylesheets/font-awesome/_extras.scss +44 -0
- data/vendor/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
- data/vendor/assets/stylesheets/font-awesome/_icons.scss +596 -0
- data/vendor/assets/stylesheets/font-awesome/_larger.scss +13 -0
- data/vendor/assets/stylesheets/font-awesome/_list.scss +19 -0
- data/vendor/assets/stylesheets/font-awesome/_mixins.scss +26 -0
- data/vendor/assets/stylesheets/font-awesome/_path.scss +14 -0
- data/vendor/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/_stacked.scss +20 -0
- data/vendor/assets/stylesheets/font-awesome/_variables.scss +606 -0
- metadata +144 -441
- data/app/assets/images/refinery/carousel-left.png +0 -0
- data/app/assets/images/refinery/carousel-right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/arrow_redo.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/arrow_undo.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/eye.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/article.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/aside.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/blockquote.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/command.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/details.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/figcaption.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/figure.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/footer.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/h6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/header.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/hgroup.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/mark.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/meter.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/nav.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/p.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/pre.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/progress.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/readme.md +0 -1
- data/app/assets/images/wymeditor/skins/refinery/html5/rp.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/rt.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/ruby.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/section.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/summary.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/html5/time.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/link_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/link_break.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/page_code.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/page_paste.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/photo_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/style.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/table_add.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_center.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_justify.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_left.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_align_right.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_bold.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_1.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_2.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_3.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_4.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_5.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_heading_6.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_indent.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_italic.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_list_bullets.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_list_numbers.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_paragraph.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_strikethrough.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_subscript.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_superscript.png +0 -0
- data/app/assets/images/wymeditor/skins/refinery/text_underline.png +0 -0
- data/app/assets/images/wymeditor/skins/wymeditor_icon.png +0 -0
- data/app/assets/javascripts/refinery/boot_wym.js.erb +0 -285
- data/app/assets/javascripts/refinery/sortable_menu.js.coffee.erb +0 -20
- data/app/assets/javascripts/refinery/wymeditor.js +0 -37
- data/app/assets/javascripts/wymeditor/GPL-license.txt +0 -278
- data/app/assets/javascripts/wymeditor/MIT-license.txt +0 -20
- data/app/assets/javascripts/wymeditor/README +0 -35
- data/app/assets/javascripts/wymeditor/browsers/ie.js.erb +0 -224
- data/app/assets/javascripts/wymeditor/browsers/mozilla.js.erb +0 -292
- data/app/assets/javascripts/wymeditor/browsers/opera.js.erb +0 -123
- data/app/assets/javascripts/wymeditor/browsers/webkit.js.erb +0 -283
- data/app/assets/javascripts/wymeditor/classes.js.erb +0 -1575
- data/app/assets/javascripts/wymeditor/functions.js.erb +0 -222
- data/app/assets/javascripts/wymeditor/lang/bg.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/ca.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/cs.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/da.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/de.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/en.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/es.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/fa.js +0 -46
- data/app/assets/javascripts/wymeditor/lang/fi.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/fr.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/he.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/hu.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/it.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/ja.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/lv.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/nb.js +0 -48
- data/app/assets/javascripts/wymeditor/lang/nl.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/nn.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/pl.js +0 -56
- data/app/assets/javascripts/wymeditor/lang/pt-BR.js +0 -58
- data/app/assets/javascripts/wymeditor/lang/pt.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/rs.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/ru.js +0 -57
- data/app/assets/javascripts/wymeditor/lang/sk.js +0 -56
- data/app/assets/javascripts/wymeditor/lang/sl.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/sv.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/tr.js +0 -45
- data/app/assets/javascripts/wymeditor/lang/vi.js +0 -47
- data/app/assets/javascripts/wymeditor/lang/zh-CN.js +0 -47
- data/app/assets/javascripts/wymeditor/prototypes.js.erb +0 -1103
- data/app/assets/javascripts/wymeditor/setup.js.erb +0 -622
- data/app/assets/javascripts/wymeditor/skins/refinery/skin.js +0 -45
- data/app/assets/javascripts/wymeditor/validators.js.erb +0 -777
- data/app/assets/stylesheets/refinery/refinery.css +0 -15
- data/app/assets/stylesheets/refinery/site_bar.css.scss +0 -92
- data/app/assets/stylesheets/refinery/ui.css.scss +0 -103
- data/app/assets/stylesheets/wymeditor/skins/refinery/skin.css.scss +0 -530
- data/app/assets/stylesheets/wymeditor/skins/refinery/wymiframe.css.scss +0 -156
- data/app/helpers/refinery/admin/core_helper.rb +0 -6
- data/app/helpers/refinery/admin/dialogs_helper.rb +0 -6
- data/app/helpers/refinery/fast_helper.rb +0 -4
- data/app/helpers/refinery/sitemap_helper.rb +0 -4
- data/app/views/refinery/wymiframe.html.erb +0 -14
- data/lib/generators/refinery/form/USAGE +0 -20
- data/lib/generators/refinery/form/form_generator.rb +0 -25
- data/lib/generators/refinery/form/templates/.gitignore +0 -2
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/plural_name_controller.rb.erb +0 -54
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/admin/settings_controller.rb.erb +0 -45
- data/lib/generators/refinery/form/templates/app/controllers/refinery/namespace/plural_name_controller.rb.erb +0 -53
- data/lib/generators/refinery/form/templates/app/mailers/refinery/namespace/mailer.rb.erb +0 -22
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/setting.rb.erb +0 -34
- data/lib/generators/refinery/form/templates/app/models/refinery/namespace/singular_name.rb.erb +0 -49
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_records.html.erb +0 -23
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_singular_name.html.erb +0 -25
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/_submenu.html.erb +0 -29
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/index.html.erb +0 -4
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/show.html.erb +0 -52
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb +0 -27
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_confirmation_email_form.html.erb +0 -51
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/_notification_recipients_form.html.erb +0 -21
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/settings/edit.html.erb +0 -5
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/confirmation.html.erb +0 -1
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/mailer/notification.html.erb +0 -17
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/new.html.erb +0 -43
- data/lib/generators/refinery/form/templates/app/views/refinery/namespace/plural_name/thank_you.html.erb +0 -1
- data/lib/generators/refinery/form/templates/config/locales/cs.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/da.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/de.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/en.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/es.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/fr.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/it.yml +0 -66
- data/lib/generators/refinery/form/templates/config/locales/lv.yml +0 -77
- data/lib/generators/refinery/form/templates/config/locales/nb.yml +0 -75
- data/lib/generators/refinery/form/templates/config/locales/nl.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/pt-BR.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/ru.yml +0 -77
- data/lib/generators/refinery/form/templates/config/locales/sk.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/sl.yml +0 -67
- data/lib/generators/refinery/form/templates/config/locales/tr.yml +0 -78
- data/lib/generators/refinery/form/templates/config/locales/zh-CN.yml +0 -78
- data/lib/generators/refinery/form/templates/config/routes.rb.erb +0 -26
- data/lib/generators/refinery/form/templates/db/migrate/1_create_plural_name.rb.erb +0 -39
- data/lib/generators/refinery/form/templates/db/seeds.rb.erb +0 -31
- data/lib/generators/refinery/form/templates/lib/generators/refinery/plural_name_generator.rb.erb +0 -20
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name.rb.erb +0 -18
- data/lib/generators/refinery/form/templates/lib/refinery/plural_name/engine.rb.erb +0 -27
- data/lib/generators/refinery/form/templates/lib/refinerycms-plural_name.rb.erb +0 -1
- data/lib/generators/refinery/form/templates/refinerycms-plural_name.gemspec +0 -16
- data/lib/generators/refinery/form/templates/script/rails +0 -10
- data/lib/refinery/activity.rb +0 -113
- data/lib/refinery/ext/action_view/helpers/form_builder.rb +0 -9
- data/lib/refinery/ext/action_view/helpers/form_helper.rb +0 -20
- data/lib/refinery/ext/action_view/helpers/form_tag_helper.rb +0 -10
- data/spec/controllers/refinery/admin/refinery_core_controller_spec.rb +0 -19
- data/spec/controllers/refinery/fast_controller_spec.rb +0 -12
- data/spec/lib/generators/refinery/form/form_generator_spec.rb +0 -99
- data/spec/lib/refinery/activity_spec.rb +0 -46
- data/spec/support/background_selenium_firefox_driver.rb +0 -14
- data/vendor/assets/javascripts/jquery/jquery.jcarousel.js +0 -900
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into refinery.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
*= require_self
|
9
|
-
*= require refinery/layout
|
10
|
-
*= require refinery/site_bar
|
11
|
-
*= require refinery/ui
|
12
|
-
*= require refinery/submenu
|
13
|
-
*= require refinery/tooltips
|
14
|
-
*= require wymeditor/skins/refinery/skin
|
15
|
-
*/
|
@@ -1,92 +0,0 @@
|
|
1
|
-
@mixin rounded($radius) {
|
2
|
-
border-radius: $radius;
|
3
|
-
-moz-border-radius: $radius;
|
4
|
-
-webkit-border-radius: $radius;
|
5
|
-
}
|
6
|
-
#site_bar_content {
|
7
|
-
height:47px;
|
8
|
-
position: relative;
|
9
|
-
margin: 0px auto 10px auto;
|
10
|
-
text-align: left;
|
11
|
-
width: 990px;
|
12
|
-
}
|
13
|
-
#site_bar {
|
14
|
-
background: #22a7f2;
|
15
|
-
border-bottom: 0px none;
|
16
|
-
}
|
17
|
-
a#site_bar_refinery_cms_logo {
|
18
|
-
left: 448px;
|
19
|
-
}
|
20
|
-
#site_bar, #site_bar * {
|
21
|
-
color: white;
|
22
|
-
font-family: Arial;
|
23
|
-
font-size: 14px;
|
24
|
-
font-weight: normal;
|
25
|
-
}
|
26
|
-
#editor_switch, #site_bar_branding, a#site_bar_refinery_cms_logo { position: absolute; }
|
27
|
-
#editor_switch {
|
28
|
-
left: 0px;
|
29
|
-
a, a:hover {
|
30
|
-
color: white;
|
31
|
-
background: #e7682c image_url('refinery/orange_button.png') repeat-x;
|
32
|
-
border-bottom: 0px none;
|
33
|
-
padding: 4px 14px;
|
34
|
-
border: 1px solid #fca87f;
|
35
|
-
height: 24px;
|
36
|
-
line-height: 24px;
|
37
|
-
cursor: pointer;
|
38
|
-
}
|
39
|
-
span {
|
40
|
-
border: 1px solid #0280c7;
|
41
|
-
height: 26px;
|
42
|
-
line-height: 26px;
|
43
|
-
margin-top: 9px;
|
44
|
-
display: block;
|
45
|
-
cursor: pointer;
|
46
|
-
}
|
47
|
-
a, span {
|
48
|
-
@include rounded(6px);
|
49
|
-
}
|
50
|
-
}
|
51
|
-
#site_bar {
|
52
|
-
height: 47px;
|
53
|
-
background: #22a7f2;
|
54
|
-
padding: 0px;
|
55
|
-
* {
|
56
|
-
line-height: 47px;
|
57
|
-
}
|
58
|
-
a {
|
59
|
-
text-decoration: none;
|
60
|
-
}
|
61
|
-
#site_bar_branding {
|
62
|
-
right: 0px;
|
63
|
-
a {
|
64
|
-
font-weight: normal;
|
65
|
-
&#logout {
|
66
|
-
margin-left: 12px;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
#site_bar_company_name {
|
71
|
-
font-weight: bold;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
a#site_bar_refinery_cms_logo {
|
75
|
-
left: 44.5%;
|
76
|
-
border-bottom: none;
|
77
|
-
line-height: 29px;
|
78
|
-
height: 29px;
|
79
|
-
margin-top: 9px;
|
80
|
-
overflow: hidden;
|
81
|
-
&:hover {
|
82
|
-
border-bottom: none;
|
83
|
-
opacity: 1;
|
84
|
-
img {
|
85
|
-
margin-top: -29px;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
.ie7 #site_bar #editor_switch a {
|
90
|
-
height: 26px;
|
91
|
-
line-height: 26px;
|
92
|
-
}
|
@@ -1,103 +0,0 @@
|
|
1
|
-
.ui-widget-overlay {
|
2
|
-
position: absolute;
|
3
|
-
top: 0px;
|
4
|
-
left: 0px;
|
5
|
-
right: 0px;
|
6
|
-
bottom: 0px;
|
7
|
-
width: auto !important;
|
8
|
-
opacity: .75;
|
9
|
-
filter:Alpha(Opacity=75);
|
10
|
-
background: #000;
|
11
|
-
}
|
12
|
-
.ui-dialog {
|
13
|
-
position: absolute;
|
14
|
-
background-color: #fff;
|
15
|
-
color: #000;
|
16
|
-
border: 4px solid #22A7F2;
|
17
|
-
width: auto;
|
18
|
-
#dialog_loading {
|
19
|
-
position: fixed;
|
20
|
-
top: 50%;
|
21
|
-
left: 50%;
|
22
|
-
width: 208px;
|
23
|
-
height: 13px;
|
24
|
-
margin: -6px 0 0 -104px;
|
25
|
-
}
|
26
|
-
.ui-dialog-titlebar {
|
27
|
-
position: relative;
|
28
|
-
width: 100%;
|
29
|
-
height: 33px;
|
30
|
-
background-color: #22A7F2;
|
31
|
-
}
|
32
|
-
.ui-dialog-title {
|
33
|
-
float: left;
|
34
|
-
height: 33px;
|
35
|
-
line-height: 33px;
|
36
|
-
font-size: 16px;
|
37
|
-
padding-left: 10px;
|
38
|
-
color: white;
|
39
|
-
}
|
40
|
-
.ui-dialog-titlebar-close {
|
41
|
-
position: absolute;
|
42
|
-
right: 10px;
|
43
|
-
top: 5px;
|
44
|
-
width: 19px;
|
45
|
-
border: none;
|
46
|
-
span {
|
47
|
-
display: block;
|
48
|
-
margin: 1px;
|
49
|
-
background: transparent image_url('refinery/cross.png') top left no-repeat;
|
50
|
-
text-indent:-10000px;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
.ui-dialog-titlebar-close:hover, .ui-dialog-titlebar-close:focus {
|
54
|
-
padding: 0;
|
55
|
-
}
|
56
|
-
iframe {
|
57
|
-
clear:both;
|
58
|
-
border: 0px none;
|
59
|
-
margin-bottom:-1px;
|
60
|
-
margin-top:1px;
|
61
|
-
width: 100% !important;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
/** Hide the tab without using display:none; This is required to hide flash embeds etc.**/
|
65
|
-
.ui-tabs-hide {
|
66
|
-
display: block !important;
|
67
|
-
height: 0 !important;
|
68
|
-
width: 0 !important;
|
69
|
-
border: 0px none !important;
|
70
|
-
visibility: hidden !important;
|
71
|
-
position: absolute;
|
72
|
-
left: -10000px;
|
73
|
-
top: -10000px;
|
74
|
-
object,
|
75
|
-
embed {
|
76
|
-
height: 0px !important;
|
77
|
-
width: 0px !important;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
.ie7 .ui-tabs-hide {
|
81
|
-
display: none !important !important;
|
82
|
-
height: auto !important !important;
|
83
|
-
width: auto !important !important;
|
84
|
-
position: static;
|
85
|
-
}
|
86
|
-
.ui-tabs li.ui-state-default {
|
87
|
-
float: left;
|
88
|
-
list-style: none;
|
89
|
-
margin-right: 2px;
|
90
|
-
}
|
91
|
-
.ui-tabs .ui-state-default a {
|
92
|
-
background-color: #bcbcbc;
|
93
|
-
color: white;
|
94
|
-
padding: 8px 13px;
|
95
|
-
border-bottom: none;
|
96
|
-
display: block;
|
97
|
-
margin-top: 6px;
|
98
|
-
}
|
99
|
-
.ui-tabs .ui-state-active a {
|
100
|
-
background-color: #808080;
|
101
|
-
padding: 11px 13px;
|
102
|
-
margin-top: 0px;
|
103
|
-
}
|
@@ -1,530 +0,0 @@
|
|
1
|
-
/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/
|
2
|
-
.wym_skin_refinery p, .wym_skin_refinery h2, .wym_skin_refinery h3,
|
3
|
-
.wym_skin_refinery ul, .wym_skin_refinery li {
|
4
|
-
background: transparent;
|
5
|
-
margin: 0;
|
6
|
-
padding: 0;
|
7
|
-
border-width: 0;
|
8
|
-
list-style: none;
|
9
|
-
}
|
10
|
-
|
11
|
-
|
12
|
-
/*HIDDEN BY DEFAULT*/
|
13
|
-
.wym_skin_refinery .wym_area_left {
|
14
|
-
display: none;
|
15
|
-
}
|
16
|
-
.wym_skin_refinery .wym_area_right {
|
17
|
-
display: block;
|
18
|
-
}
|
19
|
-
|
20
|
-
|
21
|
-
/*TYPO*/
|
22
|
-
.wym_skin_refinery {
|
23
|
-
font-size: 62.5%;
|
24
|
-
font-family: Verdana, Arial, sans-serif;
|
25
|
-
}
|
26
|
-
.wym_skin_refinery h2 {
|
27
|
-
font-size: 110%; /* = 11px */
|
28
|
-
}
|
29
|
-
.wym_skin_refinery h3 {
|
30
|
-
font-size: 100%; /* = 10px */
|
31
|
-
}
|
32
|
-
.wym_skin_refinery li {
|
33
|
-
font-size: 100%; /* = 10px */
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
/*WYM_BOX*/
|
38
|
-
.wym_skin_refinery {
|
39
|
-
border: 1px solid #CCCCCC;
|
40
|
-
background: #F2F2F2;
|
41
|
-
padding: 5px 5px 0px 5px
|
42
|
-
}
|
43
|
-
|
44
|
-
/*auto-clear the wym_box*/
|
45
|
-
.wym_skin_refinery:after {
|
46
|
-
content: ".";
|
47
|
-
display: block;
|
48
|
-
height: 0;
|
49
|
-
clear: both;
|
50
|
-
visibility: hidden;
|
51
|
-
}
|
52
|
-
* html .wym_skin_refinery {
|
53
|
-
height: 1%;
|
54
|
-
}
|
55
|
-
|
56
|
-
|
57
|
-
/*WYM_HTML*/
|
58
|
-
.wym_skin_refinery .wym_html {
|
59
|
-
width: 100%;
|
60
|
-
}
|
61
|
-
.wym_skin_refinery .wym_html textarea {
|
62
|
-
width: 100% !important;
|
63
|
-
height: 400px;
|
64
|
-
border: 1px solid gray;
|
65
|
-
background: white;
|
66
|
-
}
|
67
|
-
|
68
|
-
/*WYM_IFRAME*/
|
69
|
-
.wym_skin_refinery .wym_iframe {
|
70
|
-
width: 100%;
|
71
|
-
}
|
72
|
-
.wym_skin_refinery .wym_iframe iframe {
|
73
|
-
border: 1px solid #CCCCCC;
|
74
|
-
}
|
75
|
-
.wym_skin_refinery .wym_iframe iframe {
|
76
|
-
width: 100%;
|
77
|
-
background: white
|
78
|
-
}
|
79
|
-
textarea.wymeditor, .wym_skin_refinery .wym_iframe iframe {
|
80
|
-
height: 400px;
|
81
|
-
}
|
82
|
-
|
83
|
-
/*AREAS*/
|
84
|
-
.wym_skin_refinery .wym_area_left {
|
85
|
-
width: 150px;
|
86
|
-
float: left;
|
87
|
-
}
|
88
|
-
.wym_skin_refinery .wym_area_right {
|
89
|
-
width: 150px;
|
90
|
-
float: right;
|
91
|
-
}
|
92
|
-
.wym_skin_refinery .wym_area_bottom {
|
93
|
-
height: 1%;
|
94
|
-
clear: both;
|
95
|
-
}
|
96
|
-
* html .wym_skin_refinery .wym_area_main {
|
97
|
-
height: 1%;
|
98
|
-
}
|
99
|
-
* html .wym_skin_refinery .wym_area_top {
|
100
|
-
height: 1%;
|
101
|
-
}
|
102
|
-
* html .wym_skin_refinery .wym_area_top {
|
103
|
-
height: 1%;
|
104
|
-
}
|
105
|
-
.ie6 .wym_skin_refinery .wym_area_top, .ie7 .wym_skin_refinery .wym_area_top, .ie8 .wym_skin_refinery .wym_area_top {
|
106
|
-
padding-bottom: 5px;
|
107
|
-
}
|
108
|
-
|
109
|
-
/*SECTIONS SYSTEM*/
|
110
|
-
|
111
|
-
/*common defaults for all sections*/
|
112
|
-
.wym_skin_refinery .wym_section {
|
113
|
-
margin-bottom: 5px;
|
114
|
-
}
|
115
|
-
.wym_skin_refinery .wym_section h2,
|
116
|
-
.wym_skin_refinery .wym_section h3 {
|
117
|
-
padding: 1px 3px;
|
118
|
-
margin: 0;
|
119
|
-
}
|
120
|
-
.wym_skin_refinery .wym_section a {
|
121
|
-
padding: 0 3px;
|
122
|
-
display: block;
|
123
|
-
text-decoration: none;
|
124
|
-
color: black;
|
125
|
-
}
|
126
|
-
.wym_skin_refinery .wym_section a:hover, .wym_skin_refinery .wym_section a.selected {
|
127
|
-
background-color: #22A7F2;
|
128
|
-
color: white;
|
129
|
-
}
|
130
|
-
/*hide section titles by default*/
|
131
|
-
.wym_skin_refinery .wym_section h2 {
|
132
|
-
display: none;
|
133
|
-
}
|
134
|
-
/*disable any margin-collapse*/
|
135
|
-
.wym_skin_refinery .wym_section {
|
136
|
-
padding: 0px;
|
137
|
-
}
|
138
|
-
/*auto-clear sections*/
|
139
|
-
.wym_skin_refinery .wym_section ul:after {
|
140
|
-
content: ".";
|
141
|
-
display: block;
|
142
|
-
height: 0;
|
143
|
-
clear: both;
|
144
|
-
visibility: hidden;
|
145
|
-
}
|
146
|
-
* html .wym_skin_refinery .wym_section ul {
|
147
|
-
height: 1%;
|
148
|
-
}
|
149
|
-
|
150
|
-
/*option: add this class to a section to make it render as a panel*/
|
151
|
-
.wym_skin_refinery .wym_panel {
|
152
|
-
}
|
153
|
-
.wym_skin_refinery .wym_panel h2 {
|
154
|
-
display: block;
|
155
|
-
}
|
156
|
-
|
157
|
-
/*option: add this class to a section to make it render as a dropdown menu*/
|
158
|
-
.wym_skin_refinery .wym_dropdown h2 {
|
159
|
-
display: block;
|
160
|
-
}
|
161
|
-
.wym_skin_refinery .wym_dropdown ul {
|
162
|
-
display: none;
|
163
|
-
position: absolute;
|
164
|
-
background: white;
|
165
|
-
}
|
166
|
-
.wym_skin_refinery .wym_dropdown:hover ul,
|
167
|
-
.wym_skin_refinery .wym_dropdown.hover ul {
|
168
|
-
display: block;
|
169
|
-
}
|
170
|
-
|
171
|
-
/*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/
|
172
|
-
.wym_skin_refinery .wym_buttons li {
|
173
|
-
float: left;
|
174
|
-
}
|
175
|
-
.wym_skin_refinery .wym_buttons a {
|
176
|
-
width: auto;
|
177
|
-
height: 24px;
|
178
|
-
overflow: hidden;
|
179
|
-
}
|
180
|
-
|
181
|
-
.wym_skin_refinery .wym_section li a {
|
182
|
-
background-color: #F2F2F2;
|
183
|
-
background-repeat: no-repeat;
|
184
|
-
background-position: 4px 3px;
|
185
|
-
color: #41403C;
|
186
|
-
font-family: Arial;
|
187
|
-
font-size: 11px;
|
188
|
-
line-height: 24px;
|
189
|
-
padding-left: 4px;
|
190
|
-
padding-right: 4px;
|
191
|
-
}
|
192
|
-
|
193
|
-
/* spacing */
|
194
|
-
.wym_skin_refinery .wym_section li.wym_containers_p
|
195
|
-
, .wym_skin_refinery .wym_section li.wym_containers_h2
|
196
|
-
, .wym_skin_refinery .wym_section li.wym_tools_strong
|
197
|
-
, .wym_skin_refinery .wym_section li.wym_tools_unordered_list
|
198
|
-
, .wym_skin_refinery .wym_section li.wym_tools_link
|
199
|
-
, .wym_skin_refinery .wym_section li.wym_tools_image {
|
200
|
-
margin-right: 1px;
|
201
|
-
}
|
202
|
-
.wym_skin_refinery .wym_section li.wym_tools_unordered_list
|
203
|
-
, .wym_skin_refinery .wym_section li.wym_tools_link
|
204
|
-
, .wym_skin_refinery .wym_section li.wym_tools_image
|
205
|
-
, .wym_skin_refinery .wym_section li.wym_tools_html {
|
206
|
-
margin-left: 10px;
|
207
|
-
padding-left: 10px;
|
208
|
-
border-left: 1px solid #CCC;
|
209
|
-
}
|
210
|
-
|
211
|
-
/* image replacements */
|
212
|
-
.wym_skin_refinery {
|
213
|
-
.wym_section {
|
214
|
-
li {
|
215
|
-
&.wym_tools_ordered_list, &.wym_tools_unordered_list, &.wym_tools_link, &.wym_tools_unlink, &.wym_tools_image, &.wym_tools_table, &.wym_tools_html, &.wym_tools_class {
|
216
|
-
a {
|
217
|
-
padding-left: 24px;
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
221
|
-
li.wym_tools_ordered_list a {
|
222
|
-
background-image: image_url('wymeditor/skins/refinery/text_list_numbers.png');
|
223
|
-
}
|
224
|
-
li.wym_tools_unordered_list a {
|
225
|
-
background-image: image_url('wymeditor/skins/refinery/text_list_bullets.png');
|
226
|
-
}
|
227
|
-
li.wym_tools_link a {
|
228
|
-
background-image: image_url('wymeditor/skins/refinery/link_add.png');
|
229
|
-
}
|
230
|
-
li.wym_tools_unlink a {
|
231
|
-
background-image: image_url('wymeditor/skins/refinery/link_break.png');
|
232
|
-
}
|
233
|
-
li.wym_tools_image a {
|
234
|
-
background-image: image_url('wymeditor/skins/refinery/photo_add.png');
|
235
|
-
}
|
236
|
-
li.wym_tools_table a {
|
237
|
-
background-image: image_url('wymeditor/skins/refinery/table_add.png');
|
238
|
-
}
|
239
|
-
li.wym_tools_html a {
|
240
|
-
background-image: image_url('wymeditor/skins/refinery/page_code.png');
|
241
|
-
}
|
242
|
-
}
|
243
|
-
}
|
244
|
-
|
245
|
-
/*image replacements
|
246
|
-
.wym_skin_refinery .wym_buttons li a {
|
247
|
-
text-indent: -9999px;
|
248
|
-
background-repeat: no-repeat;
|
249
|
-
background-position: 4px 4px;
|
250
|
-
} */
|
251
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_strong a, .wym_skin_refinery .wym_buttons li.wym_tools_emphasis a {
|
252
|
-
width: 20px;
|
253
|
-
height: 20px;
|
254
|
-
overflow: hidden;
|
255
|
-
padding: 2px;
|
256
|
-
text-indent: -9999px;
|
257
|
-
background-repeat: no-repeat;
|
258
|
-
background-position: 4px 4px;
|
259
|
-
}
|
260
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_strong a {
|
261
|
-
background-image: image_url('wymeditor/skins/refinery/text_bold.png');
|
262
|
-
}
|
263
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_emphasis a {
|
264
|
-
background-image: image_url('wymeditor/skins/refinery/text_italic.png');
|
265
|
-
}
|
266
|
-
/*
|
267
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_superscript a {
|
268
|
-
background-image: image_url('wymeditor/skins/refinery/text_superscript.png');
|
269
|
-
}
|
270
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_subscript a {
|
271
|
-
background-image: image_url('wymeditor/skins/refinery/text_subscript.png');
|
272
|
-
}
|
273
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_ordered_list a {
|
274
|
-
background-image: image_url('wymeditor/skins/refinery/text_list_numbers.png');
|
275
|
-
}
|
276
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_unordered_list a {
|
277
|
-
background-image: image_url('wymeditor/skins/refinery/text_list_bullets.png');
|
278
|
-
}
|
279
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_indent a {
|
280
|
-
background-image: image_url('wymeditor/skins/refinery/text_indent.png');
|
281
|
-
}
|
282
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_outdent a {
|
283
|
-
background-image: image_url('wymeditor/skins/refinery/text_indent_remove.png');
|
284
|
-
}
|
285
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_undo a {
|
286
|
-
background-image: image_url('wymeditor/skins/refinery/arrow_undo.png');
|
287
|
-
}
|
288
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_redo a {
|
289
|
-
background-image: image_url('wymeditor/skins/refinery/arrow_redo.png');
|
290
|
-
}
|
291
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_link a {
|
292
|
-
background-image: image_url('wymeditor/skins/refinery/link_add.png');
|
293
|
-
}
|
294
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_unlink a {
|
295
|
-
background-image: image_url('wymeditor/skins/refinery/link_break.png');
|
296
|
-
}
|
297
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_image a {
|
298
|
-
background-image: image_url('wymeditor/skins/refinery/photo_add.png');
|
299
|
-
}
|
300
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_table a {
|
301
|
-
background-image: image_url('wymeditor/skins/refinery/table_add.png');
|
302
|
-
}
|
303
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_paste a {
|
304
|
-
background-image: image_url('wymeditor/skins/refinery/page_paste.png');
|
305
|
-
}
|
306
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_html a {
|
307
|
-
background-image: image_url('wymeditor/skins/refinery/page_code.png');
|
308
|
-
}
|
309
|
-
.wym_skin_refinery .wym_buttons li.wym_tools_preview a {
|
310
|
-
background-image: image_url('wymeditor/skins/refinery/eye.png');
|
311
|
-
}
|
312
|
-
*/
|
313
|
-
/* make tools and containers play nicely next to eachother */
|
314
|
-
|
315
|
-
.wym_skin_refinery .wym_tools, .wym_skin_refinery .wym_containers,
|
316
|
-
.wym_skin_refinery .wym_classes_container {
|
317
|
-
float: left;
|
318
|
-
margin: 0px 0px 5px 0px;
|
319
|
-
}
|
320
|
-
|
321
|
-
/* image replacements for containers */
|
322
|
-
.wym_skin_refinery .wym_containers li {
|
323
|
-
float: left;
|
324
|
-
}
|
325
|
-
.wym_skin_refinery .wym_containers li a, .wym_skin_refinery li.wym_tools_class a {
|
326
|
-
background-repeat: no-repeat;
|
327
|
-
width: auto;
|
328
|
-
height: 24px;
|
329
|
-
overflow: hidden;
|
330
|
-
border: 0px none;
|
331
|
-
}
|
332
|
-
.wym_skin_refinery .wym_containers li a {
|
333
|
-
background-repeat: no-repeat;
|
334
|
-
background-position: center center;
|
335
|
-
width: 20px; height: 20px;
|
336
|
-
overflow: hidden;
|
337
|
-
padding: 2px;
|
338
|
-
border: 0px none;
|
339
|
-
}
|
340
|
-
.wym_skin_refinery li.wym_containers_h1 a {
|
341
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_1.png');
|
342
|
-
}
|
343
|
-
.wym_skin_refinery li.wym_containers_h2 a {
|
344
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_2.png');
|
345
|
-
}
|
346
|
-
.wym_skin_refinery li.wym_containers_h3 a {
|
347
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_3.png');
|
348
|
-
}
|
349
|
-
.wym_skin_refinery li.wym_containers_h4 a {
|
350
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_4.png');
|
351
|
-
}
|
352
|
-
.wym_skin_refinery li.wym_containers_h5 a {
|
353
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_5.png');
|
354
|
-
}
|
355
|
-
.wym_skin_refinery li.wym_containers_h6 a {
|
356
|
-
background-image: image_url('wymeditor/skins/refinery/text_heading_6.png');
|
357
|
-
}
|
358
|
-
.wym_skin_refinery li.wym_containers_p a {
|
359
|
-
background-image: image_url('wymeditor/skins/refinery/text_paragraph.png');
|
360
|
-
}
|
361
|
-
.wym_skin_refinery li.wym_tools_class a {
|
362
|
-
background-image: image_url('wymeditor/skins/refinery/style.png');
|
363
|
-
}
|
364
|
-
|
365
|
-
|
366
|
-
/*DECORATION*/
|
367
|
-
.wym_skin_refinery .wym_section h2 {
|
368
|
-
background: #DDD;
|
369
|
-
border: solid gray;
|
370
|
-
border-width: 0 0 1px;
|
371
|
-
}
|
372
|
-
.wym_skin_refinery .wym_section h2 span {
|
373
|
-
color: gray;
|
374
|
-
}
|
375
|
-
.wym_skin_refinery .wym_panel {
|
376
|
-
padding: 0;
|
377
|
-
border: solid gray;
|
378
|
-
border-width: 1px;
|
379
|
-
background: white;
|
380
|
-
}
|
381
|
-
.wym_skin_refinery .wym_panel ul {
|
382
|
-
margin: 2px 0 5px;
|
383
|
-
}
|
384
|
-
.wym_skin_refinery .wym_dropdown {
|
385
|
-
padding: 0;
|
386
|
-
border: solid gray;
|
387
|
-
border-width: 1px 1px 0 1px;
|
388
|
-
}
|
389
|
-
.wym_skin_refinery .wym_dropdown ul {
|
390
|
-
border: solid gray;
|
391
|
-
border-width: 0 1px 1px 1px;
|
392
|
-
margin-left: -1px;
|
393
|
-
padding: 5px 10px 5px 3px;
|
394
|
-
}
|
395
|
-
|
396
|
-
/*DIALOGS*/
|
397
|
-
.wym_dialog div.row {
|
398
|
-
margin-bottom: 5px;
|
399
|
-
}
|
400
|
-
.wym_dialog div.row input {
|
401
|
-
margin-right: 5px;
|
402
|
-
}
|
403
|
-
.wym_dialog div.row label {
|
404
|
-
float: left;
|
405
|
-
width: 150px;
|
406
|
-
display: block;
|
407
|
-
text-align: right;
|
408
|
-
margin-right: 10px;
|
409
|
-
}
|
410
|
-
.wym_dialog div.row-indent {
|
411
|
-
padding-left: 160px;
|
412
|
-
}
|
413
|
-
/*autoclearing*/
|
414
|
-
.wym_dialog div.row:after {
|
415
|
-
content: ".";
|
416
|
-
display: block;
|
417
|
-
height: 0;
|
418
|
-
clear: both;
|
419
|
-
visibility: hidden;
|
420
|
-
}
|
421
|
-
.wym_dialog div.row {
|
422
|
-
display: inline-block;
|
423
|
-
}
|
424
|
-
/* Hides from IE-mac \*/
|
425
|
-
* html .wym_dialog div.row {
|
426
|
-
height: 1%;
|
427
|
-
}
|
428
|
-
.wym_dialog div.row {
|
429
|
-
display: block;
|
430
|
-
}
|
431
|
-
/* End hide from IE-mac */
|
432
|
-
|
433
|
-
/*WYMEDITOR_LINK*/
|
434
|
-
a.wym_wymeditor_link {
|
435
|
-
text-indent: -9999px;
|
436
|
-
float: right;
|
437
|
-
display: block;
|
438
|
-
width: 50px;
|
439
|
-
height: 15px;
|
440
|
-
background: url(../wymeditor_icon.png);
|
441
|
-
overflow: hidden;
|
442
|
-
text-decoration: none;
|
443
|
-
}
|
444
|
-
|
445
|
-
|
446
|
-
/* hide containers and classes */
|
447
|
-
.wym_skin_refinery .wym_area_right, .wym_skin_refinery .wym_area_bottom {
|
448
|
-
display: none !important;
|
449
|
-
}
|
450
|
-
.wym_skin_refinery .wym_area_main {
|
451
|
-
margin-right: 0px !important;
|
452
|
-
}
|
453
|
-
|
454
|
-
.wym_skin_refinery .wym_buttons ul, .wym_buttons ul li {
|
455
|
-
margin: 0px;
|
456
|
-
}
|
457
|
-
|
458
|
-
.wym_skin_refinery .wym_buttons li a {
|
459
|
-
border-bottom: 0px !important;
|
460
|
-
}
|
461
|
-
|
462
|
-
#dialog_frame {
|
463
|
-
width: 928px;
|
464
|
-
height: 500px;
|
465
|
-
padding: 0px;
|
466
|
-
border: 0px solid #F2F1ED;
|
467
|
-
}
|
468
|
-
.wym_hideables {
|
469
|
-
display: none;
|
470
|
-
}
|
471
|
-
|
472
|
-
.wym_classes {
|
473
|
-
display: block;
|
474
|
-
position: absolute;
|
475
|
-
left: 0px;
|
476
|
-
top: 23px;
|
477
|
-
padding-top: 6px !important;
|
478
|
-
width: 200px;
|
479
|
-
}
|
480
|
-
.wym_classes_hidden {
|
481
|
-
display: none;
|
482
|
-
}
|
483
|
-
.wym_tools_class.activated {
|
484
|
-
position: relative;
|
485
|
-
}
|
486
|
-
.wym_skin_refinery .wym_buttons .wym_tools_class .wym_classes li {
|
487
|
-
float: left;
|
488
|
-
width: 200px;
|
489
|
-
cursor: pointer;
|
490
|
-
background-color: #F6F5F4;
|
491
|
-
}
|
492
|
-
.wym_skin_refinery .wym_buttons .wym_tools_class .wym_classes li a {
|
493
|
-
text-indent: 0px;
|
494
|
-
background-image: none;
|
495
|
-
background-repeat: no-repeat;
|
496
|
-
background-position: 0px 0px;
|
497
|
-
width: auto;
|
498
|
-
}
|
499
|
-
.wym_skin_refinery .wym_tools_class .wym_classes .wym_tools_class_multiple_rules span {
|
500
|
-
display: block;
|
501
|
-
cursor: auto;
|
502
|
-
font-size: 13px;
|
503
|
-
font-weight: bold;
|
504
|
-
font-style: italic;
|
505
|
-
margin: 3px 0px 0px 6px;
|
506
|
-
background: #EDEEDE;
|
507
|
-
}
|
508
|
-
.wym_skin_refinery .wym_tools_class .wym_tools_class_multiple_rules ul li {
|
509
|
-
}
|
510
|
-
.wym_skin_refinery .wym_tools_class .wym_classes .wym_tools_class_multiple_rules ul li a {
|
511
|
-
width: 167px;
|
512
|
-
padding-left: 12px;
|
513
|
-
padding-right: 21px;
|
514
|
-
height: 20px;
|
515
|
-
line-height: 20px;
|
516
|
-
}
|
517
|
-
|
518
|
-
.wym_skin_refinery .wym_tools_class .wym_classes li.enabled a {
|
519
|
-
background-image: image_url('refinery/icons/star.png');
|
520
|
-
background-repeat: no-repeat;
|
521
|
-
background-position: 181px 2px;
|
522
|
-
}
|
523
|
-
|
524
|
-
.wym_skin_refinery .wym_status.wym_section {
|
525
|
-
display: none;
|
526
|
-
}
|
527
|
-
|
528
|
-
.wym_skin_refinery {
|
529
|
-
opacity: 0;
|
530
|
-
}
|