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,19 +1,13 @@
|
|
1
1
|
/*
|
2
2
|
*= require jquery
|
3
3
|
*= require jquery_ujs
|
4
|
-
*= require jquery-ui
|
4
|
+
*= require jquery-ui/dialog
|
5
|
+
*= require jquery-ui/sortable
|
6
|
+
*= require jquery-ui/tabs
|
5
7
|
*= require modernizr-min
|
6
8
|
*= require jquery/jquery.html5-placeholder-shim
|
7
9
|
*= require jquery/jquery.timers
|
8
|
-
*= require jquery/jquery.jcarousel
|
9
10
|
*= require jquery/jquery.browser
|
10
11
|
*= require admin
|
11
12
|
*= require refinery/core
|
12
|
-
*= require refinery/site_bar
|
13
|
-
*= require refinery/admin
|
14
|
-
*= require refinery/submenu
|
15
|
-
*= require refinery/interface
|
16
|
-
*= require refinery/sortable_menu
|
17
|
-
*= require refinery/submit_continue
|
18
|
-
*= require refinery/ajaxy_pagination
|
19
13
|
*/
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* will be read by PHP as a multidimensional array which you may
|
11
11
|
* use for saving state.
|
12
12
|
*
|
13
|
-
*
|
13
|
+
* https://github.com/botskonet/jquery.serialize-list
|
14
14
|
*/
|
15
15
|
(function($) {
|
16
16
|
$.fn.serializelist = function(options) {
|
@@ -1,8 +1,3 @@
|
|
1
1
|
$(function() {
|
2
|
-
$logo = $('#site_bar_content #site_bar_refinery_cms_logo');
|
3
|
-
$logo.css('left', ($('#site_bar_content').width() / 2) - ($logo.width() / 2));
|
4
|
-
|
5
2
|
$switch_anchor = $('#editor_switch a').not('.ie7 #editor_switch a, .ie6 #editor_switch a');
|
6
|
-
|
7
|
-
$('#editor_switch a').appendTo($('<span></span>').prependTo('#editor_switch'));
|
8
3
|
});
|
@@ -4,7 +4,7 @@ var create_sortable_list = function(options){
|
|
4
4
|
, init: function(options) {
|
5
5
|
if(!this.initialised){
|
6
6
|
this.update_url = options.update_url;
|
7
|
-
this.sortable_list = options.sortable_list;
|
7
|
+
this.sortable_list = $(options.sortable_list);
|
8
8
|
this.tree = options.tree;
|
9
9
|
this.replaceContentsAfterUpdate = options.replaceContentsAfterUpdate;
|
10
10
|
|
@@ -25,7 +25,7 @@ var create_sortable_list = function(options){
|
|
25
25
|
this.sortable_list.find('li').addClass('no-nest');
|
26
26
|
}
|
27
27
|
|
28
|
-
this.sortable_list.nestedSortable({
|
28
|
+
this.sortable_list.nestedSortable($.extend({
|
29
29
|
listType: 'ul',
|
30
30
|
disableNesting: 'no-nest',
|
31
31
|
forcePlaceholderSize: true,
|
@@ -37,11 +37,10 @@ var create_sortable_list = function(options){
|
|
37
37
|
tolerance: 'pointer',
|
38
38
|
toleranceElement: this.tree ? '> div' : null,
|
39
39
|
disabled: true,
|
40
|
-
start: function () {
|
41
|
-
},
|
40
|
+
start: function () {},
|
42
41
|
change: $.proxy(this.change, {list: this}),
|
43
42
|
stop: $.proxy(this.stop, {list: this})
|
44
|
-
});
|
43
|
+
}, options));
|
45
44
|
if (this.tree) {
|
46
45
|
this.reset_branch_classes(this.sortable_list);
|
47
46
|
} else {
|
@@ -101,9 +100,9 @@ var create_sortable_list = function(options){
|
|
101
100
|
, enable_reordering: function(e) {
|
102
101
|
if(e) { e.preventDefault(); }
|
103
102
|
this.list.sortable_list.addClass("reordering");
|
104
|
-
$('.actions', this.list.sortable_list).fadeTo(
|
105
|
-
this.list.div_with_list_and_actions.parents().siblings('div').fadeTo(
|
106
|
-
$('*:not("#reorder_action_done, #reorder_action")',this.list.actions).not(this.list.reorder_action_done.parents('li, ul, div')).fadeTo(
|
103
|
+
$('.actions', this.list.sortable_list).fadeTo(0, 0.3);
|
104
|
+
this.list.div_with_list_and_actions.parents().siblings('div').fadeTo(0, 0.3);
|
105
|
+
$('*:not("#reorder_action_done, #reorder_action")', this.list.actions).not(this.list.reorder_action_done.parents('li, ul, div')).fadeTo(0, 0.55);
|
107
106
|
this.list.sortable_list.nestedSortable("enable");
|
108
107
|
this.list.reorder_action.hide();
|
109
108
|
this.list.reorder_action_done.show();
|
@@ -128,9 +127,9 @@ var create_sortable_list = function(options){
|
|
128
127
|
|
129
128
|
, restore_controls: function(e) {
|
130
129
|
this.list.sortable_list.removeClass('reordering');
|
131
|
-
$('.actions',this.list.sortable_list).fadeTo(
|
132
|
-
this.list.div_with_list_and_actions.parents().siblings('div').fadeTo(
|
133
|
-
$('*:not("#reorder_action_done, #reorder_action")',this.list.actions).not($('#reorder_action_done').parents('li, ul, div')).fadeTo(
|
130
|
+
$('.actions',this.list.sortable_list).fadeTo(0, 1);
|
131
|
+
this.list.div_with_list_and_actions.parents().siblings('div').fadeTo(0,1);
|
132
|
+
$('*:not("#reorder_action_done, #reorder_action")',this.list.actions).not($('#reorder_action_done').parents('li, ul, div')).fadeTo(0, 1);
|
134
133
|
this.list.reorder_action_done.hide().removeClass('loading');
|
135
134
|
this.list.reorder_action.show();
|
136
135
|
if (this.list.replaceContentsAfterUpdate) {
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
if (continue_editing_button = $("#continue_editing")).length > 0 and continue_editing_button.attr("rel") != "no-prompt"
|
8
8
|
$("#editor_switch a").click (e) ->
|
9
|
-
e.preventDefault() unless confirm("<%= ::I18n.t("js.admin.confirm_changes") %>") if $("form[data-changes-made]").length > 0
|
9
|
+
e.preventDefault() unless confirm("<%= ::I18n.t("refinery.js.admin.confirm_changes") %>") if $("form[data-changes-made]").length > 0
|
10
10
|
|
11
11
|
$("input[id=page_custom_slug]").change ->
|
12
12
|
$("#submit_continue_button").remove()
|
@@ -0,0 +1,18 @@
|
|
1
|
+
$icon_default_colour: #404650;
|
2
|
+
$icon_page_colour: #86cffa; //
|
3
|
+
$icon_folder_colour: #e6cb47; // dark yellow
|
4
|
+
$icon_add_colour: $icon_default_colour;
|
5
|
+
// $icon_add_colour: #7fff00; // chartreuse
|
6
|
+
$icon_delete_colour: #ff707f; // rose
|
7
|
+
$icon_edit_colour: $icon_default_colour;
|
8
|
+
// $icon_edit_colour: #007fff; // azure
|
9
|
+
$icon_error_colour: #ff0; //RED
|
10
|
+
$icon_preview_colour: $icon_default_colour;
|
11
|
+
// $icon_preview_colour: #7f00ff; // violet
|
12
|
+
$icon_locale_colour: #b7e3fc; // pale blue
|
13
|
+
$icon_done_colour: #00a017; //
|
14
|
+
$info_icon_blue: #316CC8;
|
15
|
+
|
16
|
+
|
17
|
+
$action_background_colour: lighten($icon_locale_colour,10%);
|
18
|
+
$action_border_colour: $icon_locale_colour;
|
@@ -0,0 +1,85 @@
|
|
1
|
+
|
2
|
+
// we use a content block in the basic icon mixin
|
3
|
+
@mixin icon-base($colour, $size, $float:none) {
|
4
|
+
@content;
|
5
|
+
&:before {
|
6
|
+
@extend .fa;
|
7
|
+
font-size: $size;
|
8
|
+
color: $colour;
|
9
|
+
text-decoration: none;
|
10
|
+
width: auto;
|
11
|
+
height:auto;
|
12
|
+
float:$float;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// Any icon
|
17
|
+
@mixin icon($icon-selector, $color: $icon_default_colour, $padding: 4px, $size: 1.2em, $float: none) {
|
18
|
+
@include icon-base($color, $size, $float) {
|
19
|
+
@extend .fa-#{$icon-selector};
|
20
|
+
&:before {margin-right: 0.1em!important;}
|
21
|
+
};
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
%icon-font { font-family: 'FontAwesome', Helvetica, Arial, sans-serif; }
|
26
|
+
|
27
|
+
/* icons */
|
28
|
+
|
29
|
+
.add_icon {@include icon('plus-circle');}
|
30
|
+
.back_icon {@include icon('arrow-left');}
|
31
|
+
.close_icon {@include icon('times-circle')}
|
32
|
+
.delete_icon, .delete_section_icon {@include icon('minus-circle', $icon_delete_colour);}
|
33
|
+
.download_icon {@include icon('download');}
|
34
|
+
.edit_email_icon {@include icon('envelope-o');}
|
35
|
+
.edit_icon {@include icon('edit', $icon_edit_colour);}
|
36
|
+
.email_icon {@include icon('envelope-o');}
|
37
|
+
.error_icon {@include icon('question-circle', $icon_error_colour);}
|
38
|
+
.failure_icon {@include icon('times');}
|
39
|
+
.folder_icon {@include icon('folder',$icon_folder_colour)}
|
40
|
+
.go_icon {@include icon('caret-square-o-right');}
|
41
|
+
.info_icon {@include icon('info-circle');}
|
42
|
+
.loading_icon {
|
43
|
+
@include icon('spinner');
|
44
|
+
@extend .fa-spin
|
45
|
+
}
|
46
|
+
.page_icon {@include icon('file-o',$icon_page_colour)}
|
47
|
+
.preview_icon {@include icon('eye', $icon_preview_colour)}
|
48
|
+
.remove_icon {@include icon('unlink', $icon_delete_colour);}
|
49
|
+
.reorder_done_icon {@include icon('thumbs-o-up')}
|
50
|
+
.reorder_h_icon {@include icon('exchange');}
|
51
|
+
.reorder_icon {@include icon('unsorted');}
|
52
|
+
.reorder_icon.loading {@include icon('spinner')}
|
53
|
+
.search_icon {@include icon('search')}
|
54
|
+
.settings_icon {@include icon('gear')}
|
55
|
+
.sortdown_icon {@include icon('sort-down')}
|
56
|
+
.sortup_icon {@include icon('sort-up')}
|
57
|
+
.spam_empty_icon {@include icon('trash-o');}
|
58
|
+
.spam_icon {@include icon('trash');}
|
59
|
+
.success_icon {@include icon('check');}
|
60
|
+
.switch_view_grid_icon {@include icon('th')}
|
61
|
+
.switch_view_list_icon {@include icon('list')}
|
62
|
+
.upload_icon {@include icon('upload');}
|
63
|
+
.user_comment_icon {@include icon('comment-o');}
|
64
|
+
|
65
|
+
.hidden_icon {display:none}
|
66
|
+
.unhidden_icon {display: inline-block}
|
67
|
+
|
68
|
+
// stacked icon/text used for locales
|
69
|
+
.locale_marker {
|
70
|
+
display: inline-block;
|
71
|
+
font-size: 8px;
|
72
|
+
margin-right: 10px;
|
73
|
+
position: relative;
|
74
|
+
top: -8px;
|
75
|
+
.fa-stack strong {
|
76
|
+
left: 7px;
|
77
|
+
line-height: 1em;
|
78
|
+
position: absolute;
|
79
|
+
top: 9px;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
// don't want underlines on icons
|
84
|
+
#content a[class$='icon'] {border-bottom: none}
|
85
|
+
#content a[class$='icon']:hover {border-bottom: none}
|
@@ -1,41 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
border-radius: $radius;
|
6
|
-
-moz-border-radius: $radius;
|
7
|
-
-webkit-border-radius: $radius;
|
8
|
-
}
|
9
|
-
@mixin top-rounded($radius) {
|
10
|
-
border-radius-top: $radius;
|
11
|
-
-moz-border-radius-topleft: $radius;
|
12
|
-
-moz-border-radius-topright: $radius;
|
13
|
-
-webkit-border-top-left-radius: $radius;
|
14
|
-
-webkit-border-top-right-radius: $radius;
|
15
|
-
}
|
16
|
-
@mixin bottom-rounded($radius) {
|
17
|
-
border-radius-bottom: $radius;
|
18
|
-
-moz-border-radius-bottomleft: $radius;
|
19
|
-
-moz-border-radius-bottomright: $radius;
|
20
|
-
-webkit-border-bottom-left-radius: $radius;
|
21
|
-
-webkit-border-bottom-right-radius: $radius;
|
22
|
-
}
|
1
|
+
$admin_width: 1080px;
|
2
|
+
$menu_width: 120px;
|
3
|
+
$standard_rounding: 0px;
|
4
|
+
|
23
5
|
p {
|
24
6
|
font-size: 14px;
|
25
7
|
line-height: 18px;
|
26
8
|
}
|
27
9
|
html {
|
28
|
-
|
10
|
+
height: 100%;
|
29
11
|
}
|
30
12
|
body {
|
31
|
-
|
32
|
-
margin: 0;
|
33
|
-
padding: 0;
|
13
|
+
height: 100%;
|
14
|
+
margin: -52px 0;
|
15
|
+
padding: 52px 0 0;
|
16
|
+
box-sizing: border-box;
|
34
17
|
font-family: Arial, sans-serif;
|
35
|
-
font-size: 13px;
|
36
18
|
line-height: 1.5em;
|
37
19
|
color: #41403C;
|
38
|
-
background:
|
20
|
+
background: rgb(217, 217, 217);
|
39
21
|
}
|
40
22
|
acronym {
|
41
23
|
cursor: help;
|
@@ -43,25 +25,54 @@ acronym {
|
|
43
25
|
label[for] {
|
44
26
|
cursor: pointer;
|
45
27
|
}
|
46
|
-
#
|
47
|
-
|
28
|
+
#admin_container, #login_container {
|
29
|
+
font-size: 13px;
|
30
|
+
margin: 0px auto 15px auto;
|
48
31
|
text-align: left;
|
49
|
-
|
32
|
+
|
33
|
+
a {
|
34
|
+
color: #41403C;
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
@include rounded($standard_rounding);
|
39
|
+
position: relative;
|
40
|
+
margin-top: 15px;
|
41
|
+
#menu {
|
42
|
+
a:hover {
|
43
|
+
border-bottom: 0px;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.hidden {
|
48
|
+
display: none;
|
49
|
+
}
|
50
50
|
}
|
51
|
-
#
|
52
|
-
|
53
|
-
|
51
|
+
#login_container {
|
52
|
+
background: white;
|
53
|
+
width: 620px;
|
54
54
|
}
|
55
|
-
#
|
56
|
-
|
55
|
+
#admin_container {
|
56
|
+
@include faux_columns_2($menu_width, transparent, white);
|
57
|
+
width: $admin_width;
|
58
|
+
margin: -5px auto 0px auto;
|
59
|
+
height: 100%;
|
60
|
+
}
|
61
|
+
#page_container {
|
62
|
+
@include box-sizing(border-box);
|
63
|
+
@include right-rounded($standard_rounding);
|
64
|
+
background-color: white;
|
65
|
+
padding: 1.5em 1em;
|
66
|
+
position: relative;
|
67
|
+
float: left;
|
68
|
+
width: $admin_width - $menu_width;
|
57
69
|
}
|
58
70
|
#content .field, #content .form-actions {
|
59
|
-
width: 100%;
|
60
71
|
position: relative;
|
61
72
|
}
|
62
73
|
#dialog_container #content .field, .dialog_container .field {
|
63
74
|
width: auto;
|
64
|
-
margin:5px 0;
|
75
|
+
margin: 5px 0;
|
65
76
|
}
|
66
77
|
input.widest, textarea.widest {
|
67
78
|
width: 99%;
|
@@ -75,7 +86,7 @@ select.widest {
|
|
75
86
|
}
|
76
87
|
#actions {
|
77
88
|
float: right;
|
78
|
-
width: 30
|
89
|
+
width: 30%;
|
79
90
|
padding-left: 15px;
|
80
91
|
padding-top: 0px;
|
81
92
|
ul {
|
@@ -88,28 +99,12 @@ select.widest {
|
|
88
99
|
}
|
89
100
|
li {
|
90
101
|
margin-bottom: 10px;
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
display:
|
97
|
-
padding: 9px 12px 9px 36px;
|
98
|
-
&:hover {
|
99
|
-
background-color: #cae7fb;
|
100
|
-
}
|
101
|
-
&:active {
|
102
|
-
background-color: #22A7F2;
|
103
|
-
color: white;
|
104
|
-
}
|
105
|
-
img {
|
106
|
-
vertical-align: bottom;
|
107
|
-
border: 0;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
&.selected a {
|
111
|
-
background-color: #22A7F2;
|
112
|
-
color: white;
|
102
|
+
background-color: $action-background-colour;
|
103
|
+
border: 1px solid $action-border-colour;
|
104
|
+
padding: 9px;
|
105
|
+
display: block;
|
106
|
+
&:empty {
|
107
|
+
display: none
|
113
108
|
}
|
114
109
|
}
|
115
110
|
}
|
@@ -120,17 +115,9 @@ hr {
|
|
120
115
|
border: 0;
|
121
116
|
border-top: 1px solid #484743;
|
122
117
|
}
|
123
|
-
|
124
|
-
img {
|
125
|
-
border: none;
|
126
|
-
}
|
127
|
-
a, a:hover {
|
128
|
-
border: none;
|
129
|
-
text-decoration: none;
|
130
|
-
}
|
131
|
-
}
|
118
|
+
|
132
119
|
.errorExplanation {
|
133
|
-
background:
|
120
|
+
background-color: #FFB1B1;
|
134
121
|
padding: 0px 5px 5px 30px;
|
135
122
|
font-weight: bold;
|
136
123
|
margin-top: 5px;
|
@@ -149,7 +136,7 @@ hr {
|
|
149
136
|
border: 1px solid red !important;
|
150
137
|
background-color: #FFECF0 !important;
|
151
138
|
}
|
152
|
-
.fieldWithErrors iframe, .fieldWithErrors .
|
139
|
+
.fieldWithErrors iframe, .fieldWithErrors .visual_editor_box {
|
153
140
|
border-color: red !important;
|
154
141
|
}
|
155
142
|
#message, .flash {
|
@@ -160,7 +147,7 @@ hr {
|
|
160
147
|
.flash_notice, .flash_message {
|
161
148
|
border: 1px solid #00A017;
|
162
149
|
color: #00A017;
|
163
|
-
|
150
|
+
@include icon('check-circle', green)
|
164
151
|
}
|
165
152
|
.flash_notice, .flash_notice * {
|
166
153
|
color: #00A017;
|
@@ -168,10 +155,11 @@ hr {
|
|
168
155
|
.flash_error, .flash_alert {
|
169
156
|
border: 1px solid #A00027;
|
170
157
|
color: #A00027;
|
171
|
-
|
158
|
+
@include icon('question-circle', red)
|
172
159
|
}
|
173
160
|
.flash.flash_notice #flash_close, .flash.flash_error #flash_close, .flash.flash_alert #flash_close {
|
174
161
|
text-transform: lowercase;
|
162
|
+
@include icon('times-circle', $icon_done_colour, 1.2em)
|
175
163
|
}
|
176
164
|
.flash.flash_message {
|
177
165
|
background: #E0F5E0;
|
@@ -194,6 +182,7 @@ hr {
|
|
194
182
|
.flash.flash_alert a, .flash.flash_alert a:hover {
|
195
183
|
display: none;
|
196
184
|
}
|
185
|
+
|
197
186
|
noscript .flash.flash_error a, noscript .flash.flash_error a:hover,
|
198
187
|
noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
|
199
188
|
display: inline;
|
@@ -204,18 +193,8 @@ noscript .flash.flash_alert a, noscript .flash.flash_alert a:hover {
|
|
204
193
|
right: 9px;
|
205
194
|
top: 7px;
|
206
195
|
}
|
207
|
-
|
208
|
-
|
209
|
-
}
|
210
|
-
a {
|
211
|
-
color: #41403C;
|
212
|
-
text-decoration: none;
|
213
|
-
}
|
214
|
-
a:hover {
|
215
|
-
color: #000;
|
216
|
-
border-bottom: 1px solid #727272;
|
217
|
-
}
|
218
|
-
#content .wym_box a, #content .ui-tabs a {
|
196
|
+
|
197
|
+
#content .visual_editor_box a, #content .ui-tabs a {
|
219
198
|
border-bottom: 0px none;
|
220
199
|
}
|
221
200
|
.index #content, .splash #content {
|
@@ -228,6 +207,7 @@ a:hover {
|
|
228
207
|
border-bottom: 1px dotted #727272;
|
229
208
|
&.locale {
|
230
209
|
border-bottom: 0;
|
210
|
+
display:inline;
|
231
211
|
}
|
232
212
|
}
|
233
213
|
h1 {
|
@@ -265,10 +245,7 @@ a:hover {
|
|
265
245
|
.less-important {
|
266
246
|
color: #727272;
|
267
247
|
}
|
268
|
-
|
269
|
-
left: 448px;
|
270
|
-
}
|
271
|
-
#content, #page_container {
|
248
|
+
#content {
|
272
249
|
background-color: white;
|
273
250
|
}
|
274
251
|
header, footer, nav {
|
@@ -280,15 +257,10 @@ header, footer, nav {
|
|
280
257
|
font-size: 20px;
|
281
258
|
line-height:22px
|
282
259
|
}
|
283
|
-
|
284
|
-
#site_bar_content {
|
285
|
-
width: 650px;
|
286
|
-
a#site_bar_refinery_cms_logo {
|
287
|
-
left: 247px;
|
288
|
-
}
|
289
|
-
}
|
260
|
+
#login_container {
|
290
261
|
#page_container {
|
291
|
-
|
262
|
+
background: transparent;
|
263
|
+
width: 100%;
|
292
264
|
div.remember_me label, label.inline {
|
293
265
|
display: inline;
|
294
266
|
}
|
@@ -306,16 +278,17 @@ body.login {
|
|
306
278
|
}
|
307
279
|
header {
|
308
280
|
background: #eaeaea;
|
309
|
-
width: 620px;
|
310
|
-
padding: 0px 15px 1em;
|
311
281
|
height: auto;
|
282
|
+
float: none;
|
283
|
+
width: 100%;
|
284
|
+
@include top-rounded($standard_rounding);
|
312
285
|
h1 {
|
313
286
|
color: #41403c;
|
314
287
|
vertical-align: middle;
|
315
288
|
text-align: center;
|
316
289
|
font-weight: bold;
|
317
290
|
font-size: 18px;
|
318
|
-
padding-bottom:
|
291
|
+
padding-bottom: 15px;
|
319
292
|
line-height: 30px;
|
320
293
|
padding-top: 15px;
|
321
294
|
}
|
@@ -364,40 +337,20 @@ div.field.checkbox_access {
|
|
364
337
|
font-weight: normal;
|
365
338
|
}
|
366
339
|
}
|
367
|
-
#menu,
|
340
|
+
#menu, {
|
368
341
|
display: block;
|
369
|
-
margin: 0px;
|
342
|
+
margin: 45px 0px 0px 0px;
|
370
343
|
padding: 0px;
|
371
344
|
position: absolute;
|
372
|
-
bottom: -1px;
|
373
|
-
left: 0px;
|
374
|
-
right: 0px;
|
375
345
|
background: transparent;
|
376
346
|
}
|
377
347
|
header {
|
378
|
-
|
379
|
-
position: relative;
|
348
|
+
float: left;
|
380
349
|
margin-bottom: 0px;
|
350
|
+
width: $menu_width;
|
381
351
|
a, a:hover {
|
382
352
|
border-bottom: 0px none;
|
383
353
|
}
|
384
|
-
.jcarousel-container {
|
385
|
-
position: absolute !important;
|
386
|
-
.jcarousel-prev, .jcarousel-next {
|
387
|
-
position: absolute;
|
388
|
-
top: 13px;
|
389
|
-
cursor: pointer;
|
390
|
-
}
|
391
|
-
.jcarousel-prev {
|
392
|
-
left: -20px;
|
393
|
-
}
|
394
|
-
.jcarousel-next {
|
395
|
-
right: -20px;
|
396
|
-
}
|
397
|
-
.jcarousel-prev-disabled, .jcarousel-next-disabled {
|
398
|
-
display: none !important;
|
399
|
-
}
|
400
|
-
}
|
401
354
|
#logo {
|
402
355
|
position: absolute;
|
403
356
|
right: 20px;
|
@@ -419,6 +372,8 @@ header {
|
|
419
372
|
}
|
420
373
|
}
|
421
374
|
#menu {
|
375
|
+
display: block;
|
376
|
+
position: relative;
|
422
377
|
&.ui-sortable a {
|
423
378
|
cursor: move;
|
424
379
|
}
|
@@ -426,35 +381,42 @@ header {
|
|
426
381
|
cursor: pointer;
|
427
382
|
}
|
428
383
|
a {
|
384
|
+
@include box-sizing(border-box);
|
429
385
|
display: block;
|
430
|
-
padding:
|
431
|
-
font-size:
|
432
|
-
background:
|
433
|
-
margin-
|
434
|
-
color:
|
386
|
+
padding: 8px 16px;
|
387
|
+
font-size: 14px;
|
388
|
+
background-color: rgba(233, 233, 233, 1);
|
389
|
+
margin-bottom: 1px;
|
390
|
+
color: rgba(7, 112, 173, 1);
|
435
391
|
font-weight: normal;
|
436
|
-
float: left;
|
437
|
-
margin-right: 2px;
|
438
392
|
position: relative;
|
439
393
|
&.active, &:hover, &:focus {
|
440
|
-
background-color:
|
441
|
-
color:
|
394
|
+
background-color: rgba(37, 169, 244, 1);
|
395
|
+
color: white;
|
442
396
|
}
|
443
397
|
&.active {
|
444
|
-
|
445
|
-
|
398
|
+
margin-left: -0.5em;
|
399
|
+
font-weight: bold;
|
446
400
|
}
|
447
401
|
}
|
402
|
+
|
403
|
+
a#menu_reorder,
|
404
|
+
a#menu_reorder_done {
|
405
|
+
height: 14px;
|
406
|
+
width: 14px;
|
407
|
+
margin-bottom: 0;
|
408
|
+
padding: 6px;
|
409
|
+
cursor: pointer;
|
410
|
+
vertical-align: middle;
|
411
|
+
text-align: center;
|
412
|
+
float: right;
|
413
|
+
@include box-sizing(content-box);
|
414
|
+
}
|
415
|
+
a#menu_reorder_done {
|
416
|
+
background: white;
|
417
|
+
}
|
448
418
|
}
|
449
|
-
|
450
|
-
height: 14px;
|
451
|
-
width: 14px;
|
452
|
-
margin-top: 11px;
|
453
|
-
padding: 6px;
|
454
|
-
cursor: pointer;
|
455
|
-
vertical-align: middle;
|
456
|
-
text-align: center;
|
457
|
-
}
|
419
|
+
|
458
420
|
pre {
|
459
421
|
margin: 0;
|
460
422
|
padding: 0;
|
@@ -473,22 +435,25 @@ pre {
|
|
473
435
|
.filter {
|
474
436
|
float: right;
|
475
437
|
}
|
476
|
-
#records
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
438
|
+
#records {
|
439
|
+
> ul, > #recent_activity > ul, > #recent_inquiries > ul,
|
440
|
+
.pagination_container > ul, .pagination_frame > ul {
|
441
|
+
margin-left: 0;
|
442
|
+
margin-top: 0;
|
443
|
+
padding-left: 0;
|
444
|
+
}
|
445
|
+
> ul li, > #recent_activity > ul li, > #recent_inquiries > ul li,
|
446
|
+
.pagination_container > ul li, .pagination_frame > ul {
|
447
|
+
list-style: none;
|
448
|
+
padding: 0px 5px;
|
449
|
+
vertical-align: top;
|
450
|
+
margin-bottom: 2px;
|
451
|
+
line-height: 35px;
|
452
|
+
position: relative;
|
453
|
+
}
|
454
|
+
> #recent_activity > ul li, > #recent_inquiries > ul li {
|
455
|
+
max-height: 35px;
|
456
|
+
}
|
492
457
|
}
|
493
458
|
#recent_activity li a, #recent_inquiries li a {
|
494
459
|
overflow: hidden;
|
@@ -497,8 +462,10 @@ pre {
|
|
497
462
|
-ms-text-overflow: ellipsis;
|
498
463
|
text-overflow: ellipsis;
|
499
464
|
}
|
500
|
-
#content #records
|
501
|
-
|
465
|
+
#content #records {
|
466
|
+
> ul li .actions a, .pagination_container > ul li .actions a {
|
467
|
+
line-height: 29px;
|
468
|
+
}
|
502
469
|
}
|
503
470
|
#records {
|
504
471
|
ul {
|
@@ -602,16 +569,18 @@ pre {
|
|
602
569
|
padding: 0px 6px;
|
603
570
|
}
|
604
571
|
}
|
605
|
-
.pagination
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
572
|
+
.pagination {
|
573
|
+
.disabled {
|
574
|
+
color: #A8B9C1;
|
575
|
+
}
|
576
|
+
a, #content a, .current, .disabled, em {
|
577
|
+
padding: 7px;
|
578
|
+
line-height: 20px;
|
579
|
+
border-bottom: 0px none;
|
580
|
+
}
|
581
|
+
.current, a:hover, em {
|
582
|
+
background: #A8B9C1;
|
583
|
+
}
|
615
584
|
}
|
616
585
|
#dialog-form-actions .pagination {
|
617
586
|
margin: -4px 6px -4px 0px;
|
@@ -677,38 +646,49 @@ label.stripped {
|
|
677
646
|
.record .title span {
|
678
647
|
line-height: 30px;
|
679
648
|
}
|
649
|
+
|
680
650
|
#records.files .record .title, #dialog_main #resource_file_area .pages_list ul li a.page_link {
|
681
651
|
display:inline-block;
|
682
652
|
padding-left:24px;
|
683
653
|
min-height:16px;
|
684
654
|
background-repeat:no-repeat;
|
685
655
|
background-position:left;
|
686
|
-
|
656
|
+
@include icon('file-o', blue)
|
687
657
|
}
|
688
658
|
#dialog_main #resource_file_area .pages_list ul li a.page_link{
|
689
659
|
background-position:5px center;
|
690
660
|
display:block;
|
691
661
|
}
|
692
662
|
#records.files .record .title.pdf, #dialog_main #resource_file_area .pages_list ul li a.page_link.pdf {
|
693
|
-
|
694
|
-
}
|
695
|
-
#records.files .record .title.jpg,
|
696
|
-
|
663
|
+
@include icon('file-pdf-o')
|
664
|
+
}
|
665
|
+
#records.files .record .title.jpg,
|
666
|
+
#records.files .record .title.gif,
|
667
|
+
#records.files .record .title.jpeg,
|
668
|
+
#records.files .record .title.png,
|
669
|
+
#records.files .record .title.tiff,
|
670
|
+
#dialog_main #resource_file_area .pages_list ul li a.page_link.jpg,
|
671
|
+
#dialog_main #resource_file_area .pages_list ul li a.page_link.jpeg,
|
672
|
+
#dialog_main #resource_file_area .pages_list ul li a.page_link.gif,
|
673
|
+
#dialog_main #resource_file_area .pages_list ul li a.page_link.png,
|
674
|
+
#dialog_main #resource_file_area .pages_list ul li a.page_link.tiff {
|
675
|
+
@include icon('file-image-o');
|
697
676
|
}
|
677
|
+
|
698
678
|
#records.files .record .title.doc, #records.files .record .title.pages, #records.files .record .title.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.doc, #dialog_main #resource_file_area .pages_list ul li a.page_link.docx, #dialog_main #resource_file_area .pages_list ul li a.page_link.pages {
|
699
|
-
|
679
|
+
@include icon('file-word-o');
|
700
680
|
}
|
701
681
|
#records.files .record .title.ppt, #records.files .record .title.keynote, #dialog_main #resource_file_area .pages_list ul li a.page_link.ppt, #dialog_main #resource_file_area .pages_list ul li a.page_link.keynote {
|
702
|
-
|
682
|
+
@include icon('file-powerpoint-o');
|
703
683
|
}
|
704
684
|
#records.files .record .title.xls, #records.files .record .title.numbers, #dialog_main #resource_file_area .pages_list ul li a.page_link.xls, #dialog_main #resource_file_area .pages_list ul li a.page_link.numbers {
|
705
|
-
|
685
|
+
@include icon('file-excel-o');
|
706
686
|
}
|
707
687
|
#records.files .record .title.zip, #records.files .record .title.rar, #dialog_main #resource_file_area .pages_list ul li a.page_link.zip, #dialog_main #resource_file_area .pages_list ul li a.page_link.rar {
|
708
|
-
|
688
|
+
@include icon('file-zip-o');
|
709
689
|
}
|
710
690
|
#records.files .record .title.mp3, #records.files .record .title.wav, #records.files .record .title.aiff, #records.files .record .title.m4a, #dialog_main #resource_file_area .pages_list ul li a.page_link.mp3, #dialog_main #resource_file_area .pages_list ul li a.page_link.wav, #dialog_main #resource_file_area .pages_list ul li a.page_link.aiff, #dialog_main #resource_file_area .pages_list ul li a.page_link.m4a {
|
711
|
-
|
691
|
+
@include icon('file-audio-o');
|
712
692
|
}
|
713
693
|
#records .actions {
|
714
694
|
position: absolute;
|
@@ -749,40 +729,30 @@ label.stripped {
|
|
749
729
|
#records.tree .actions a img {
|
750
730
|
padding-top: 4px;
|
751
731
|
}
|
752
|
-
#records.tree li span.
|
732
|
+
#records.tree li span.item {
|
753
733
|
display: block;
|
754
734
|
float: left;
|
755
735
|
width: 16px;
|
756
736
|
height: 16px;
|
757
737
|
margin: 3px 3px 0 0;
|
758
|
-
|
738
|
+
@include icon('file-o', $icon_page_colour);
|
759
739
|
|
760
740
|
&.toggle {
|
761
741
|
cursor: pointer;
|
762
|
-
|
742
|
+
@include icon('folder',$icon_folder_colour);
|
763
743
|
}
|
764
744
|
&.toggle.expanded {
|
765
|
-
|
745
|
+
@include icon('folder-open',$icon_folder_colour);
|
766
746
|
}
|
767
747
|
}
|
768
748
|
#records.tree li.loading > div > span.icon {
|
769
|
-
|
749
|
+
@include icon('spinner');
|
770
750
|
}
|
771
751
|
#image_grid .actions a img {
|
772
752
|
padding: 4px 4px 1px 4px;
|
773
753
|
vertical-align: top;
|
774
754
|
}
|
775
|
-
|
776
|
-
color: #E6E5DC;
|
777
|
-
background: #3F3E3A;
|
778
|
-
}
|
779
|
-
.actions a.cancel {
|
780
|
-
color: #AF0027;
|
781
|
-
}
|
782
|
-
.actions a.cancel:hover {
|
783
|
-
color: white;
|
784
|
-
background: #AF0027;
|
785
|
-
}
|
755
|
+
|
786
756
|
.actions a.reorder_anchor:hover {
|
787
757
|
background: inherit !important;
|
788
758
|
cursor: move;
|
@@ -825,17 +795,14 @@ label.stripped {
|
|
825
795
|
body.dialog {
|
826
796
|
background: #FFF;
|
827
797
|
}
|
828
|
-
body.dialog, body.
|
798
|
+
body.dialog, body.visual_editor_dialog {
|
829
799
|
text-align: left;
|
830
800
|
}
|
831
|
-
#wym_hide_fields {
|
832
|
-
display: none;
|
833
|
-
}
|
834
801
|
body.dialog form {
|
835
802
|
width: 100% !important;
|
836
803
|
}
|
837
|
-
.
|
838
|
-
|
804
|
+
.visual_editor_dialog_table {
|
805
|
+
height: 250px;
|
839
806
|
}
|
840
807
|
.dialog {
|
841
808
|
#dialog_main {
|
@@ -930,7 +897,7 @@ body.dialog form {
|
|
930
897
|
#upload_image_area, #upload_resource_area {
|
931
898
|
padding: 12px;
|
932
899
|
}
|
933
|
-
.
|
900
|
+
.visual_editor_dialog #page {
|
934
901
|
width: 940px;
|
935
902
|
padding: 6px;
|
936
903
|
}
|
@@ -986,7 +953,7 @@ body.dialog form {
|
|
986
953
|
.pages_list .linked a, .pages_list .linked a:hover {
|
987
954
|
border: 1px solid #00A017;
|
988
955
|
color: #00A017;
|
989
|
-
|
956
|
+
@include icon('check-circle', green);
|
990
957
|
}
|
991
958
|
.pages_list .linked a em {
|
992
959
|
color: #00A017;
|
@@ -1010,32 +977,28 @@ body.dialog form {
|
|
1010
977
|
ul#menu.reordering_menu li a {
|
1011
978
|
cursor: move;
|
1012
979
|
}
|
1013
|
-
#site_bar {
|
1014
|
-
background: #22a7f2;
|
1015
|
-
border-bottom: 0px none;
|
1016
|
-
}
|
1017
980
|
#search {
|
1018
981
|
border: 1px solid #b3b3b3;
|
1019
982
|
line-height: 18px;
|
1020
983
|
padding: 2px;
|
1021
984
|
font-size: 16px;
|
1022
|
-
width:
|
985
|
+
width: 10em;
|
1023
986
|
}
|
1024
987
|
.cancel-search {
|
1025
988
|
float: right;
|
1026
989
|
}
|
1027
990
|
.pt-BR #search {
|
1028
|
-
width:
|
991
|
+
width: 107px;
|
1029
992
|
}
|
1030
993
|
.en #search {
|
1031
|
-
width:
|
994
|
+
width: 130px;
|
1032
995
|
}
|
1033
996
|
.search_form {
|
1034
997
|
position: relative;
|
1035
998
|
.button, .button-wrapper {
|
1036
999
|
position: absolute;
|
1037
1000
|
right: 0px;
|
1038
|
-
top:
|
1001
|
+
top: 2px;
|
1039
1002
|
}
|
1040
1003
|
}
|
1041
1004
|
form input[type=submit]:hover {
|
@@ -1062,39 +1025,24 @@ a:focus {
|
|
1062
1025
|
a img {
|
1063
1026
|
border: 0px none;
|
1064
1027
|
}
|
1065
|
-
|
1066
|
-
.add_icon { background-image: image_url('refinery/icons/add.png'); }
|
1067
|
-
.delete_icon { background-image: image_url('refinery/icons/delete.png'); }
|
1068
|
-
.edit_icon { background-image: image_url('refinery/icons/application_edit.png'); }
|
1069
|
-
.reorder_icon { background-image: image_url('refinery/icons/arrow_switch.png'); }
|
1070
|
-
.reorder_icon.loading { background-image:image_url('refinery/icons/ajax-loader.gif'); }
|
1071
|
-
.user_comment_icon { background-image: image_url('refinery/icons/user_comment.png'); }
|
1072
|
-
.edit_email_icon { background-image: image_url('refinery/icons/email_edit.png'); }
|
1073
|
-
.spam_icon { background-image: image_url('refinery/icons/bin.png'); }
|
1074
|
-
.spam_empty_icon { background-image: image_url('refinery/icons/bin_closed.png'); }
|
1075
|
-
.email_icon { background-image: image_url('refinery/icons/email.png'); }
|
1076
|
-
.back_icon { background-image: image_url('refinery/icons/arrow_left.png'); }
|
1077
|
-
.go_icon { background-image: image_url('refinery/icons/application_go.png'); }
|
1078
|
-
.success_icon { background-image: image_url('refinery/icons/tick.png'); padding: 0px 8px; }
|
1079
|
-
.failure_icon { background-image: image_url('refinery/icons/cross.png'); padding: 0px 8px; }
|
1028
|
+
|
1080
1029
|
/* page parts */
|
1081
1030
|
ul#page_parts {
|
1082
1031
|
float: left;
|
1083
1032
|
width: 92%;
|
1084
1033
|
}
|
1085
1034
|
ul#page_parts, ul#page_parts_controls {
|
1086
|
-
margin:
|
1035
|
+
margin: 0;
|
1087
1036
|
padding: 0;
|
1088
1037
|
}
|
1089
1038
|
ul#page_parts_controls {
|
1090
1039
|
float: right;
|
1091
|
-
|
1092
|
-
margin-right: 3px;
|
1040
|
+
margin: 20px 3px 0 0;
|
1093
1041
|
}
|
1094
1042
|
ul#page_parts_controls li {
|
1095
1043
|
list-style: none;
|
1096
1044
|
float: right;
|
1097
|
-
margin:
|
1045
|
+
margin: 0 3px;
|
1098
1046
|
}
|
1099
1047
|
ul#page_parts_controls li a {
|
1100
1048
|
border: 0px none;
|
@@ -1113,14 +1061,7 @@ ul#page_parts_controls img {
|
|
1113
1061
|
#page_part_editors {
|
1114
1062
|
clear:left;
|
1115
1063
|
}
|
1116
|
-
|
1117
|
-
background: image_url('refinery/icons/page_white_gear.png') no-repeat 0px 3px;
|
1118
|
-
padding: 5px 5px 5px 22px;
|
1119
|
-
border-bottom: none;
|
1120
|
-
}
|
1121
|
-
a#toggle_advanced_options:hover {
|
1122
|
-
border-bottom:1px dotted #727272;
|
1123
|
-
}
|
1064
|
+
|
1124
1065
|
/* dialog stuff */
|
1125
1066
|
#dialog_frame {
|
1126
1067
|
width:952px;
|
@@ -1128,15 +1069,11 @@ a#toggle_advanced_options:hover {
|
|
1128
1069
|
padding: 0px;
|
1129
1070
|
border: 0px solid #F2F1ED;
|
1130
1071
|
}
|
1131
|
-
.
|
1072
|
+
.visual_editor_hideables {
|
1132
1073
|
display: none;
|
1133
1074
|
}
|
1134
1075
|
#content .form-actions, .wym_dialog .form-actions, .ui-dialog .form-actions {
|
1135
|
-
|
1136
|
-
background-color: #F2F2F2;
|
1137
|
-
border: 1px solid #CCCCCC;
|
1138
|
-
margin-top: 10px;
|
1139
|
-
height: 45px;
|
1076
|
+
@include form-actions;
|
1140
1077
|
}
|
1141
1078
|
.dialog form {
|
1142
1079
|
margin-bottom: 45px;
|
@@ -1144,19 +1081,19 @@ a#toggle_advanced_options:hover {
|
|
1144
1081
|
.dialog .dialog_area > div > .field label:first-child, .dialog .dialog_area > div > label:first-child {
|
1145
1082
|
margin-top: 0px;
|
1146
1083
|
}
|
1147
|
-
.
|
1084
|
+
.visual_editor_dialog .form-actions, #content.form-actions.dialog-form-actions, .ui-dialog .form-actions {
|
1148
1085
|
margin-top: 16px;
|
1149
1086
|
}
|
1150
1087
|
#content .form-actions .form-actions-left, #content .form-actions .form-actions-right,
|
1151
|
-
.
|
1088
|
+
.visual_editor_dialog .form-actions .form-actions-left, .visual_editor_dialog .form-actions .form-actions-right,
|
1152
1089
|
.ui-dialog .form-actions .form-actions-left, .ui-dialog .form-actions .form-actions-right {
|
1153
1090
|
position: absolute;
|
1154
1091
|
top: 10px;
|
1155
1092
|
}
|
1156
|
-
#content .form-actions .form-actions-left, .
|
1093
|
+
#content .form-actions .form-actions-left, .visual_editor_dialog .form-actions .form-actions-left, .ui-dialog .form-actions .form-actions-left {
|
1157
1094
|
left: 10px;
|
1158
1095
|
}
|
1159
|
-
#content .form-actions .form-actions-right, .
|
1096
|
+
#content .form-actions .form-actions-right, .visual_editor_dialog .form-actions .form-actions-right, .ui-dialog .form-actions .form-actions-right {
|
1160
1097
|
right: 10px;
|
1161
1098
|
}
|
1162
1099
|
#content .form-actions .save-loader {
|
@@ -1164,7 +1101,7 @@ a#toggle_advanced_options:hover {
|
|
1164
1101
|
right: -24px;
|
1165
1102
|
top: 4px;
|
1166
1103
|
}
|
1167
|
-
.
|
1104
|
+
.visual_editor_dialog .form-actions, .ui-dialog .form-actions {
|
1168
1105
|
border: 0px none;
|
1169
1106
|
border-top: 1px solid #E8E8E8;
|
1170
1107
|
}
|
@@ -1197,6 +1134,7 @@ body.dialog #content .search_form {
|
|
1197
1134
|
margin: 0px 10px;
|
1198
1135
|
}
|
1199
1136
|
#dialog_container, .dialog_container {
|
1137
|
+
margin: 0px;
|
1200
1138
|
padding: 12px;
|
1201
1139
|
}
|
1202
1140
|
ul#image_grid, .pagination_container > ul#image_grid {
|
@@ -1204,9 +1142,6 @@ ul#image_grid, .pagination_container > ul#image_grid {
|
|
1204
1142
|
padding: 0px;
|
1205
1143
|
margin: 10px 0px 15px 0px;
|
1206
1144
|
}
|
1207
|
-
.pagination_container > ul#image_grid.pagination_frame {
|
1208
|
-
top: 38px;
|
1209
|
-
}
|
1210
1145
|
ul#image_grid li, .pagination_container > ul#image_grid li {
|
1211
1146
|
position: relative;
|
1212
1147
|
float: left;
|
@@ -1298,10 +1233,10 @@ ul.checkboxes li {
|
|
1298
1233
|
.tooltip, .tooltip * {
|
1299
1234
|
color: white;
|
1300
1235
|
}
|
1301
|
-
.
|
1236
|
+
.visual_editor_dialog_paste .field textarea {
|
1302
1237
|
width: 98%;
|
1303
1238
|
}
|
1304
|
-
.ui-dialog .
|
1239
|
+
.ui-dialog .visual_editor_dialog_paste .field, .ui-dialog .visual_editor_dialog_paste .field textarea {
|
1305
1240
|
margin: 0px 0px 45px 0px;
|
1306
1241
|
height: 300px;
|
1307
1242
|
}
|
@@ -1311,8 +1246,8 @@ input.button, a.button, #content a.button, span.button-wrapper, span.button-wrap
|
|
1311
1246
|
color: white;
|
1312
1247
|
padding: 0px 14px 0px 14px;
|
1313
1248
|
font-size: 14px;
|
1314
|
-
line-height:
|
1315
|
-
height:
|
1249
|
+
line-height: 24px;
|
1250
|
+
height: 24px;
|
1316
1251
|
display: inline-block;
|
1317
1252
|
border: 0px none;
|
1318
1253
|
margin-top: 0px;
|
@@ -1320,10 +1255,10 @@ input.button, a.button, #content a.button, span.button-wrapper, span.button-wrap
|
|
1320
1255
|
}
|
1321
1256
|
/* for those pesky IE browsers */
|
1322
1257
|
span.button-wrapper {
|
1323
|
-
|
1258
|
+
padding: 0px;
|
1324
1259
|
}
|
1325
1260
|
span.button-wrapper input {
|
1326
|
-
|
1261
|
+
display: inherit;
|
1327
1262
|
}
|
1328
1263
|
/* fixes firefox display */
|
1329
1264
|
input.button {
|
@@ -1344,7 +1279,7 @@ input.button:active, a.button:active, #content a.button:active, span.button-wrap
|
|
1344
1279
|
input.button.close_dialog:active, a.button.close_dialog:active, #content a.button.close_dialog:active, span.button-wrapper.close_dialog:active, span.button-wrapper.close_dialog:active input {
|
1345
1280
|
background: #808080;
|
1346
1281
|
}
|
1347
|
-
.
|
1282
|
+
.visual_editor_dialog a.button.visual_editor_cancel.close_dialog {
|
1348
1283
|
margin-left: 6px;
|
1349
1284
|
}
|
1350
1285
|
#content a.button.close_dialog:active {
|
@@ -1367,6 +1302,9 @@ input.button.close_dialog:active, a.button.close_dialog:active, #content a.butto
|
|
1367
1302
|
line-height: 20px;
|
1368
1303
|
}
|
1369
1304
|
/* ## Advanced Page Options --------------------------------------------- */
|
1305
|
+
#more_options_field {
|
1306
|
+
span#draft_field {float: right;}
|
1307
|
+
}
|
1370
1308
|
#more_options{
|
1371
1309
|
overflow:hidden;
|
1372
1310
|
}
|
@@ -1417,34 +1355,21 @@ input.button.close_dialog:active, a.button.close_dialog:active, #content a.butto
|
|
1417
1355
|
#more_options_field {
|
1418
1356
|
position: relative;
|
1419
1357
|
}
|
1420
|
-
|
1421
|
-
position: absolute;
|
1422
|
-
right: 0px;
|
1423
|
-
top: 0px;
|
1424
|
-
}
|
1358
|
+
|
1425
1359
|
.nothing_selected {
|
1426
|
-
border-bottom: 1px dotted #727272;
|
1427
1360
|
width: auto;
|
1428
1361
|
margin-bottom: 12px;
|
1429
1362
|
display: inline-block;
|
1430
1363
|
}
|
1431
|
-
.nothing_selected:hover {
|
1432
|
-
border-bottom: 1px solid #727272;
|
1433
|
-
}
|
1434
1364
|
#upgrade_wrapper li a {
|
1435
1365
|
line-height: 20px;
|
1436
1366
|
}
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
position: absolute;
|
1442
|
-
right: 9px;
|
1443
|
-
border-bottom: 1px dotted #727272;
|
1444
|
-
}
|
1445
|
-
#other_locales li:first-child {
|
1446
|
-
margin-top: 0px;
|
1367
|
+
/* resource-picker */
|
1368
|
+
#resource_actions {
|
1369
|
+
float: right;
|
1370
|
+
margin-right: 20px;
|
1447
1371
|
}
|
1372
|
+
|
1448
1373
|
/* Locale picker */
|
1449
1374
|
#switch_locale_picker {
|
1450
1375
|
margin: 0px;
|
@@ -1452,55 +1377,129 @@ input.button.close_dialog:active, a.button.close_dialog:active, #content a.butto
|
|
1452
1377
|
li {
|
1453
1378
|
float: left;
|
1454
1379
|
padding: 0px;
|
1455
|
-
margin:
|
1380
|
+
margin: 0;
|
1456
1381
|
list-style: none;
|
1457
1382
|
a {
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1383
|
+
background-color: #cdcdcd;
|
1384
|
+
background-position: 12px;
|
1385
|
+
background-repeat: no-repeat;
|
1386
|
+
border-bottom: 0;
|
1387
|
+
border-right: solid 1px white;
|
1388
|
+
margin-bottom: 1px;
|
1389
|
+
display: block;
|
1390
|
+
padding: 7px 3px 3px 3px;
|
1391
|
+
line-height: 0;
|
1392
|
+
&:hover {
|
1393
|
+
background-color: #cae7fb;
|
1394
|
+
}
|
1395
|
+
&:active {
|
1396
|
+
background-color: #22A7F2;
|
1464
1397
|
}
|
1465
1398
|
}
|
1466
|
-
|
1467
|
-
border-
|
1399
|
+
&:first-child a {
|
1400
|
+
border-radius-left: 5px;
|
1401
|
+
-moz-border-radius-topleft: 5px;
|
1402
|
+
-moz-border-radius-bottomleft: 5px;
|
1403
|
+
-webkit-border-top-left-radius: 5px;
|
1404
|
+
-webkit-border-bottom-left-radius: 5px;
|
1405
|
+
}
|
1406
|
+
&:last-child a {
|
1407
|
+
border-radius-right: 5px;
|
1408
|
+
-moz-border-radius-topright: 5px;
|
1409
|
+
-moz-border-radius-bottomright: 5px;
|
1410
|
+
-webkit-border-top-right-radius: 5px;
|
1411
|
+
-webkit-border-bottom-right-radius: 5px;
|
1412
|
+
}
|
1413
|
+
&.selected a {
|
1414
|
+
background-color: #65c3f7;
|
1468
1415
|
}
|
1469
1416
|
}
|
1470
1417
|
}
|
1418
|
+
#locale_picker {
|
1419
|
+
li {
|
1420
|
+
list-style: none;
|
1421
|
+
margin: 0;
|
1422
|
+
a {
|
1423
|
+
background-color: #cdcdcd;
|
1424
|
+
background-position: 12px;
|
1425
|
+
background-repeat: no-repeat;
|
1426
|
+
border: 0;
|
1427
|
+
border-bottom: solid 1px white;
|
1428
|
+
display: block;
|
1429
|
+
padding: 3px 14px 3px 9px;
|
1430
|
+
position: relative;
|
1431
|
+
&:hover {
|
1432
|
+
background-color: #cae7fb;
|
1433
|
+
}
|
1434
|
+
&:active {
|
1435
|
+
background-color: #22A7F2;
|
1436
|
+
}
|
1437
|
+
span.action {
|
1438
|
+
border-bottom: 1px dotted #727272;
|
1439
|
+
position: absolute;
|
1440
|
+
right: 9px;
|
1441
|
+
top: 5px;
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
&:first-child a {
|
1445
|
+
border-radius-top: 5px;
|
1446
|
+
-moz-border-radius-topleft: 5px;
|
1447
|
+
-moz-border-radius-topright: 5px;
|
1448
|
+
-webkit-border-top-left-radius: 5px;
|
1449
|
+
-webkit-border-top-right-radius: 5px;
|
1450
|
+
}
|
1451
|
+
&:last-child a {
|
1452
|
+
border-radius-bottom: 5px;
|
1453
|
+
-moz-border-radius-bottomleft: 5px;
|
1454
|
+
-moz-border-radius-bottomright: 5px;
|
1455
|
+
-webkit-border-bottom-left-radius: 5px;
|
1456
|
+
-webkit-border-bottom-right-radius: 5px;
|
1457
|
+
}
|
1458
|
+
}
|
1459
|
+
#current_locale,
|
1460
|
+
#other_locales {
|
1461
|
+
margin: 0;
|
1462
|
+
}
|
1463
|
+
#current_locale li {
|
1464
|
+
a {
|
1465
|
+
background-color: #65c3f7;
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
}
|
1469
|
+
.locale_marker {
|
1470
|
+
font-size:8px;
|
1471
|
+
display: inline;
|
1472
|
+
.fa-stack .fa-comment {color: $icon_locale_colour; font-size: 24px;}
|
1473
|
+
}
|
1474
|
+
|
1471
1475
|
#content #records .title .preview a.locale {
|
1472
1476
|
border-bottom: 0px none;
|
1473
1477
|
}
|
1474
1478
|
/* AJAX pagination */
|
1475
1479
|
.pagination_container {
|
1476
1480
|
position: relative;
|
1477
|
-
overflow: hidden;
|
1478
|
-
min-height: 600px;
|
1479
1481
|
}
|
1480
1482
|
.pagination_frame {
|
1481
1483
|
padding: 0;
|
1482
1484
|
width: 100%;
|
1483
|
-
height: auto;
|
1484
|
-
position: absolute;
|
1485
|
-
top: 28px;
|
1486
1485
|
right: auto;
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1486
|
+
-moz-transition: all 0.3s ease-in-out;
|
1487
|
+
-o-transition: all 0.3s ease-in-out;
|
1488
|
+
-webkit-transition: all 0.3s ease-in-out;
|
1489
|
+
transition: all 0.3s ease-in-out;
|
1491
1490
|
}
|
1492
1491
|
.pagination_container > div.pagination_frame {
|
1493
1492
|
top: 40px;
|
1494
1493
|
}
|
1495
1494
|
.pagination_frame.frame_left {
|
1496
|
-
left: -
|
1495
|
+
left: -3000px;
|
1497
1496
|
}
|
1498
1497
|
.pagination_frame.frame_right {
|
1499
|
-
left:
|
1498
|
+
left: 3000px;
|
1500
1499
|
-moz-transition: all 0.3s ease-in-out;
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1500
|
+
-o-transition: all 0.3s ease-in-out;
|
1501
|
+
-webkit-transition: all 0.3s ease-in-out;
|
1502
|
+
transition: all 0.3s ease-in-out;
|
1504
1503
|
}
|
1505
1504
|
.pagination_frame.frame_center {
|
1506
1505
|
left: 0;
|
@@ -1517,31 +1516,6 @@ a.information:hover {
|
|
1517
1516
|
display: inline-block;
|
1518
1517
|
width: auto;
|
1519
1518
|
}
|
1520
|
-
/* cornering */
|
1521
|
-
.button, #editor_switch a, #editor_switch span {
|
1522
|
-
@include rounded(6px);
|
1523
|
-
}
|
1524
|
-
#page_container, .wym_box {
|
1525
|
-
@include bottom-rounded(5px);
|
1526
|
-
}
|
1527
|
-
.wym_iframe iframe {
|
1528
|
-
@include bottom-rounded(2px);
|
1529
|
-
}
|
1530
|
-
.form-actions {
|
1531
|
-
@include rounded(5px);
|
1532
|
-
}
|
1533
|
-
.form-actions.form-actions-dialog {
|
1534
|
-
@include rounded(0px);
|
1535
|
-
}
|
1536
|
-
#menu > a {
|
1537
|
-
@include top-rounded(5px);
|
1538
|
-
}
|
1539
|
-
.ui-tabs .ui-state-default a {
|
1540
|
-
@include top-rounded(5px);
|
1541
|
-
}
|
1542
|
-
.tooltip, .tooltip span {
|
1543
|
-
@include rounded(6px);
|
1544
|
-
}
|
1545
1519
|
.label {
|
1546
1520
|
padding: 1px 3px 2px;
|
1547
1521
|
font-size: 9.75px;
|
@@ -1550,9 +1524,6 @@ a.information:hover {
|
|
1550
1524
|
text-transform: uppercase;
|
1551
1525
|
white-space: nowrap;
|
1552
1526
|
background-color: #bfbfbf;
|
1553
|
-
-webkit-border-radius: 3px;
|
1554
|
-
-moz-border-radius: 3px;
|
1555
|
-
border-radius: 3px;
|
1556
1527
|
}
|
1557
1528
|
.label.important {
|
1558
1529
|
background-color: #c43c35;
|
@@ -1575,9 +1546,6 @@ a.information:hover {
|
|
1575
1546
|
text-transform: uppercase;
|
1576
1547
|
white-space: nowrap;
|
1577
1548
|
background-color: #bfbfbf;
|
1578
|
-
-webkit-border-radius: 3px;
|
1579
|
-
-moz-border-radius: 3px;
|
1580
|
-
border-radius: 3px;
|
1581
1549
|
}
|
1582
1550
|
.label.important {
|
1583
1551
|
background-color: #c43c35;
|
@@ -1613,10 +1581,10 @@ a.information:hover {
|
|
1613
1581
|
padding-bottom: 6px;
|
1614
1582
|
}
|
1615
1583
|
.ie7 .pt-BR #search {
|
1616
|
-
width:
|
1584
|
+
width: 97px;
|
1617
1585
|
}
|
1618
1586
|
.ie7 .en #search {
|
1619
|
-
width:
|
1587
|
+
width: 170px;
|
1620
1588
|
}
|
1621
1589
|
/* IE 8 */
|
1622
1590
|
.ie8 body.login .field input.larger, .ie8 body.login .field input.larger:focus {
|