releaf 0.1.2 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +19 -21
- data/lib/releaf.rb +1 -34
- data/lib/releaf/all.rb +3 -0
- data/lib/releaf/rspec.rb +4 -0
- data/lib/releaf/rspec/features_matchers.rb +76 -0
- data/lib/releaf/rspec/helpers.rb +227 -0
- data/lib/releaf/rspec/matchers.rb +16 -0
- data/lib/releaf/test.rb +5 -0
- data/spec/factories/author.rb +6 -0
- data/spec/factories/book.rb +5 -0
- data/spec/factories/chapter.rb +7 -0
- data/spec/factories/common.rb +5 -0
- data/spec/factories/home_page.rb +5 -0
- data/spec/factories/node.rb +43 -0
- data/spec/factories/node_route.rb +7 -0
- data/spec/factories/publisher.rb +5 -0
- data/spec/factories/role.rb +21 -0
- data/spec/factories/text_page.rb +5 -0
- data/spec/factories/user.rb +22 -0
- data/spec/rails_helper.rb +122 -0
- data/spec/spec_helper.rb +81 -24
- data/spec/support/controller_macros.rb +8 -0
- data/spec/support/excel_helpers.rb +63 -0
- data/spec/support/shared/service_includer.rb +9 -0
- data/spec/support/wait_steps.rb +23 -0
- metadata +141 -499
- data/README.md +0 -77
- data/Rakefile +0 -70
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/jquery-ui-1.9.2.custom/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/close.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/loading.gif +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/next.png +0 -0
- data/app/assets/images/releaf/3rd_party/lightbox/prev.png +0 -0
- data/app/assets/images/releaf/add.png +0 -0
- data/app/assets/images/releaf/background.jpg +0 -0
- data/app/assets/images/releaf/button/button_bgr.gif +0 -0
- data/app/assets/images/releaf/button/button_hover_bgr.png +0 -0
- data/app/assets/images/releaf/controllers/content/close.gif +0 -0
- data/app/assets/images/releaf/controllers/content/close_active.gif +0 -0
- data/app/assets/images/releaf/controllers/content/close_hover.gif +0 -0
- data/app/assets/images/releaf/controllers/content/global_fields_bgr.png +0 -0
- data/app/assets/images/releaf/controllers/content/open.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_2.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_active.gif +0 -0
- data/app/assets/images/releaf/controllers/content/open_hover.gif +0 -0
- data/app/assets/images/releaf/controllers/sessions/background.jpg +0 -0
- data/app/assets/images/releaf/controllers/sessions/logo.jpg +0 -0
- data/app/assets/images/releaf/expand_tool/close.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_hover.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_hover_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/close_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/loader.gif +0 -0
- data/app/assets/images/releaf/expand_tool/open.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_hover.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_hover_shim.png +0 -0
- data/app/assets/images/releaf/expand_tool/open_shim.png +0 -0
- data/app/assets/images/releaf/favicon.ico +0 -0
- data/app/assets/images/releaf/globalFieldContainerBgr.png +0 -0
- data/app/assets/images/releaf/icons/129.png +0 -0
- data/app/assets/images/releaf/icons/130.png +0 -0
- data/app/assets/images/releaf/icons/accept.png +0 -0
- data/app/assets/images/releaf/icons/add.png +0 -0
- data/app/assets/images/releaf/icons/arrow_down.png +0 -0
- data/app/assets/images/releaf/icons/arrow_left.png +0 -0
- data/app/assets/images/releaf/icons/arrow_refresh.png +0 -0
- data/app/assets/images/releaf/icons/arrow_up.png +0 -0
- data/app/assets/images/releaf/icons/bin_empty.png +0 -0
- data/app/assets/images/releaf/icons/bullet_black.png +0 -0
- data/app/assets/images/releaf/icons/bullet_connect.png +0 -0
- data/app/assets/images/releaf/icons/bullet_start.png +0 -0
- data/app/assets/images/releaf/icons/bullet_tick.png +0 -0
- data/app/assets/images/releaf/icons/chrome.png +0 -0
- data/app/assets/images/releaf/icons/control_play.png +0 -0
- data/app/assets/images/releaf/icons/date.png +0 -0
- data/app/assets/images/releaf/icons/delete.png +0 -0
- data/app/assets/images/releaf/icons/disk.png +0 -0
- data/app/assets/images/releaf/icons/drag-handle.png +0 -0
- data/app/assets/images/releaf/icons/error.png +0 -0
- data/app/assets/images/releaf/icons/eye.png +0 -0
- data/app/assets/images/releaf/icons/firefox.png +0 -0
- data/app/assets/images/releaf/icons/google-not-available.gif +0 -0
- data/app/assets/images/releaf/icons/google.gif +0 -0
- data/app/assets/images/releaf/icons/keyboard.png +0 -0
- data/app/assets/images/releaf/icons/left_16.png +0 -0
- data/app/assets/images/releaf/icons/link.png +0 -0
- data/app/assets/images/releaf/icons/magnifier.png +0 -0
- data/app/assets/images/releaf/icons/notAllowed.png +0 -0
- data/app/assets/images/releaf/icons/page_white_add.png +0 -0
- data/app/assets/images/releaf/icons/page_white_edit.png +0 -0
- data/app/assets/images/releaf/icons/page_white_put.png +0 -0
- data/app/assets/images/releaf/icons/page_white_text.png +0 -0
- data/app/assets/images/releaf/icons/pencil.png +0 -0
- data/app/assets/images/releaf/icons/picture.png +0 -0
- data/app/assets/images/releaf/icons/right_16.png +0 -0
- data/app/assets/images/releaf/icons/tick.png +0 -0
- data/app/assets/images/releaf/icons/warning.png +0 -0
- data/app/assets/images/releaf/icons/world_go.png +0 -0
- data/app/assets/images/releaf/icons/world_link.png +0 -0
- data/app/assets/images/releaf/input/autocompleteExpandIcon.png +0 -0
- data/app/assets/images/releaf/input/input_bgr.gif +0 -0
- data/app/assets/images/releaf/language_root.png +0 -0
- data/app/assets/images/releaf/loader.gif +0 -0
- data/app/assets/images/releaf/logout.png +0 -0
- data/app/assets/images/releaf/main_menu/active_bgr.png +0 -0
- data/app/assets/images/releaf/main_menu/bgr.png +0 -0
- data/app/assets/images/releaf/main_menu/hover_bgr.png +0 -0
- data/app/assets/images/releaf/module.png +0 -0
- data/app/assets/images/releaf/panel_layout/active_bgr.png +0 -0
- data/app/assets/images/releaf/panel_layout/secondary_panel_horizontal_bgr.png +0 -0
- data/app/assets/images/releaf/panel_layout/secondary_panel_vertical_bgr.png +0 -0
- data/app/assets/images/releaf/releaf_table/selected_bgr.png +0 -0
- data/app/assets/images/releaf/releaf_table/th_bgr.gif +0 -0
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/README.md +0 -73
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/jquery.cookie.js +0 -47
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/server.js +0 -24
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/test.html +0 -19
- data/app/assets/javascripts/releaf/3rd_party/jquery-cookie/test.js +0 -80
- data/app/assets/javascripts/releaf/3rd_party/jquery-ui-timepicker-addon.js +0 -1882
- data/app/assets/javascripts/releaf/3rd_party/lightbox.js.erb +0 -379
- data/app/assets/javascripts/releaf/application.js +0 -14
- data/app/assets/javascripts/releaf/controllers/base.js +0 -130
- data/app/assets/javascripts/releaf/controllers/releaf/content.js +0 -90
- data/app/assets/javascripts/releaf/controllers/releaf/translations.js +0 -31
- data/app/assets/javascripts/releaf/include/continuous_scroll.js +0 -321
- data/app/assets/javascripts/releaf/include/field.type_autocomplete.js +0 -58
- data/app/assets/javascripts/releaf/include/field.type_date_or_datetime_or_time.js +0 -43
- data/app/assets/javascripts/releaf/include/field.type_richtext.js +0 -90
- data/app/assets/javascripts/releaf/include/localization.js +0 -12
- data/app/assets/javascripts/releaf/include/nested_fields.js +0 -64
- data/app/assets/javascripts/releaf/include/sortable.js +0 -29
- data/app/assets/javascripts/releaf/lib/request_url.js +0 -183
- data/app/assets/stylesheets/releaf/3rd_party/jquery-ui-1.9.2.custom.css.erb +0 -464
- data/app/assets/stylesheets/releaf/3rd_party/jquery-ui-timepicker-addon.css +0 -10
- data/app/assets/stylesheets/releaf/3rd_party/lightbox.css.erb +0 -157
- data/app/assets/stylesheets/releaf/application.css.erb +0 -122
- data/app/assets/stylesheets/releaf/controllers/base.css.erb +0 -205
- data/app/assets/stylesheets/releaf/controllers/releaf/content.css.erb +0 -422
- data/app/assets/stylesheets/releaf/controllers/releaf/sessions.css.scss.erb +0 -116
- data/app/assets/stylesheets/releaf/controllers/releaf/translations.css.erb +0 -205
- data/app/assets/stylesheets/releaf/include/button.css.erb +0 -176
- data/app/assets/stylesheets/releaf/include/field.css.erb +0 -281
- data/app/assets/stylesheets/releaf/include/input.css.erb +0 -40
- data/app/assets/stylesheets/releaf/include/main_menu.css.erb +0 -66
- data/app/assets/stylesheets/releaf/include/pagination.css.erb +0 -29
- data/app/assets/stylesheets/releaf/include/panel_layout.css.erb +0 -251
- data/app/assets/stylesheets/releaf/include/releaf_table.css.erb +0 -112
- data/app/assets/stylesheets/releaf/include/sortable.css.erb +0 -12
- data/app/controllers/releaf/admins_controller.rb +0 -55
- data/app/controllers/releaf/application_controller.rb +0 -11
- data/app/controllers/releaf/base_application_controller.rb +0 -18
- data/app/controllers/releaf/base_controller.rb +0 -571
- data/app/controllers/releaf/content_controller.rb +0 -183
- data/app/controllers/releaf/roles_controller.rb +0 -38
- data/app/controllers/releaf/sessions_controller.rb +0 -27
- data/app/controllers/releaf/tinymce_assets_controller.rb +0 -26
- data/app/controllers/releaf/translations_controller.rb +0 -117
- data/app/helpers/releaf/admin_helper.rb +0 -59
- data/app/helpers/releaf/application_helper.rb +0 -4
- data/app/helpers/releaf/pagination_renderer.rb +0 -44
- data/app/helpers/releaf/releaf_devise_helper.rb +0 -8
- data/app/models/releaf/admin.rb +0 -60
- data/app/models/releaf/blank_node_base.rb +0 -29
- data/app/models/releaf/node.rb +0 -222
- data/app/models/releaf/node_base.rb +0 -31
- data/app/models/releaf/role.rb +0 -126
- data/app/models/releaf/tinymce_asset.rb +0 -6
- data/app/views/layouts/releaf/admin.html.haml +0 -57
- data/app/views/layouts/releaf/devise.html.haml +0 -32
- data/app/views/releaf/aliases/_edit.body.html.haml +0 -50
- data/app/views/releaf/aliases/_edit.header.html.haml +0 -19
- data/app/views/releaf/aliases/_index.row.html.haml +0 -5
- data/app/views/releaf/aliases/_secondary_panel.html.haml +0 -13
- data/app/views/releaf/base/_edit.body.html.haml +0 -11
- data/app/views/releaf/base/_edit.field.html.haml +0 -23
- data/app/views/releaf/base/_edit.field_type_autocomplete.html.haml +0 -15
- data/app/views/releaf/base/_edit.field_type_boolean.html.haml +0 -5
- data/app/views/releaf/base/_edit.field_type_date.html.haml +0 -8
- data/app/views/releaf/base/_edit.field_type_datetime.html.haml +0 -8
- data/app/views/releaf/base/_edit.field_type_delete_nested.html.haml +0 -3
- data/app/views/releaf/base/_edit.field_type_file.html.haml +0 -10
- data/app/views/releaf/base/_edit.field_type_image.html.haml +0 -12
- data/app/views/releaf/base/_edit.field_type_item.html.haml +0 -31
- data/app/views/releaf/base/_edit.field_type_link.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_link_i18n.html.haml +0 -26
- data/app/views/releaf/base/_edit.field_type_password.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_richtext.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_richtext_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_text.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_text_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_textarea.html.haml +0 -4
- data/app/views/releaf/base/_edit.field_type_textarea_i18n.html.haml +0 -27
- data/app/views/releaf/base/_edit.field_type_time.html.haml +0 -8
- data/app/views/releaf/base/_edit.fields.association.html.haml +0 -48
- data/app/views/releaf/base/_edit.fields.has_many_template.html.haml +0 -15
- data/app/views/releaf/base/_edit.fields.html.haml +0 -20
- data/app/views/releaf/base/_edit.footer.html.haml +0 -14
- data/app/views/releaf/base/_edit.form.html.haml +0 -4
- data/app/views/releaf/base/_edit.header.html.haml +0 -3
- data/app/views/releaf/base/_index.body.html.haml +0 -6
- data/app/views/releaf/base/_index.cell.html.haml +0 -20
- data/app/views/releaf/base/_index.footer.html.haml +0 -28
- data/app/views/releaf/base/_index.header.html.haml +0 -4
- data/app/views/releaf/base/_index.row.html.haml +0 -6
- data/app/views/releaf/base/_index.search.html.haml +0 -5
- data/app/views/releaf/base/_index.table.html.haml +0 -24
- data/app/views/releaf/base/_secondary_panel.html.haml +0 -10
- data/app/views/releaf/base/_show.body.html.haml +0 -3
- data/app/views/releaf/base/_show.field.html.haml +0 -20
- data/app/views/releaf/base/_show.field_type_date.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_date_time.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_email.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_file.html.haml +0 -7
- data/app/views/releaf/base/_show.field_type_image.html.haml +0 -10
- data/app/views/releaf/base/_show.field_type_item.html.haml +0 -11
- data/app/views/releaf/base/_show.field_type_link.html.haml +0 -14
- data/app/views/releaf/base/_show.field_type_password.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_richtext.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_text.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_textarea.html.haml +0 -6
- data/app/views/releaf/base/_show.field_type_time.html.haml +0 -9
- data/app/views/releaf/base/_show.field_type_url.html.haml +0 -7
- data/app/views/releaf/base/_show.fields.association.html.haml +0 -36
- data/app/views/releaf/base/_show.fields.has_many_template.html.haml +0 -12
- data/app/views/releaf/base/_show.fields.html.haml +0 -17
- data/app/views/releaf/base/_show.footer.html.haml +0 -18
- data/app/views/releaf/base/_show.header.html.haml +0 -3
- data/app/views/releaf/base/confirm_destroy.html.haml +0 -17
- data/app/views/releaf/base/edit.html.haml +0 -1
- data/app/views/releaf/base/index.html.haml +0 -3
- data/app/views/releaf/base/new.html.haml +0 -1
- data/app/views/releaf/base/show.html.haml +0 -3
- data/app/views/releaf/content/_edit.body.html.haml +0 -46
- data/app/views/releaf/content/_edit.content_fields.html.haml +0 -11
- data/app/views/releaf/content/_edit.fields.html.haml +0 -17
- data/app/views/releaf/content/_edit.slug.html.haml +0 -12
- data/app/views/releaf/content/_get_content_form.html.haml +0 -7
- data/app/views/releaf/content/_secondary_panel.html.haml +0 -3
- data/app/views/releaf/content/_tree_level.html.haml +0 -16
- data/app/views/releaf/content/ajax.new.html.haml +0 -3
- data/app/views/releaf/content/index.html.haml +0 -0
- data/app/views/releaf/roles/_edit.field.permissions.html.haml +0 -5
- data/app/views/releaf/roles/_show.field.default.html.haml +0 -6
- data/app/views/releaf/roles/_show.field.permissions.html.haml +0 -11
- data/app/views/releaf/sessions/new.html.haml +0 -17
- data/app/views/releaf/translations/_edit.body.html.haml +0 -50
- data/app/views/releaf/translations/_edit.header.html.haml +0 -19
- data/app/views/releaf/translations/_index.row.html.haml +0 -5
- data/app/views/releaf/translations/_secondary_panel.html.haml +0 -13
- data/bin/releaf +0 -25
- data/lib/generators/releaf/install_generator.rb +0 -87
- data/lib/generators/releaf/templates/config/common_fields.yml.example +0 -17
- data/lib/generators/releaf/templates/controllers/home_controller.rb +0 -4
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_222222_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_454545_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_888888_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/jquery_ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/close.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/loading.gif +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/next.png +0 -0
- data/lib/generators/releaf/templates/images/3rd_party/lightbox/prev.png +0 -0
- data/lib/generators/releaf/templates/initializers/releaf.rb +0 -20
- data/lib/generators/releaf/templates/initializers/releaf_i18n.rb +0 -25
- data/lib/generators/releaf/templates/initializers/releaf_store_current_template.rb +0 -25
- data/lib/generators/releaf/templates/javascripts/3rd_party/jquery.jcarousel.js +0 -1058
- data/lib/generators/releaf/templates/javascripts/3rd_party/jquery_ui.js +0 -14850
- data/lib/generators/releaf/templates/javascripts/3rd_party/lightbox.js.erb +0 -379
- data/lib/generators/releaf/templates/javascripts/application.js +0 -15
- data/lib/generators/releaf/templates/javascripts/lib/init_jcarousel.js +0 -40
- data/lib/generators/releaf/templates/javascripts/lib/js_check.js +0 -8
- data/lib/generators/releaf/templates/javascripts/lib/request_url.js +0 -169
- data/lib/generators/releaf/templates/javascripts/lib/sortable.js +0 -29
- data/lib/generators/releaf/templates/migrations/create_releaf_admins.rb +0 -53
- data/lib/generators/releaf/templates/migrations/create_releaf_nodes.rb +0 -25
- data/lib/generators/releaf/templates/migrations/create_releaf_roles.rb +0 -12
- data/lib/generators/releaf/templates/migrations/create_releaf_tinymce_assets.rb +0 -11
- data/lib/generators/releaf/templates/migrations/create_releaf_translations.rb +0 -31
- data/lib/generators/releaf/templates/models/admin_ability.rb +0 -51
- data/lib/generators/releaf/templates/seeds.rb +0 -64
- data/lib/generators/releaf/templates/stylesheets/3rd_party/jquery_ui/smoothness.css.erb +0 -1174
- data/lib/generators/releaf/templates/stylesheets/3rd_party/lightbox.css.erb +0 -157
- data/lib/generators/releaf/templates/stylesheets/3rd_party/reset.css +0 -48
- data/lib/generators/releaf/templates/stylesheets/application.scss +0 -15
- data/lib/generators/releaf/templates/stylesheets/style.scss +0 -45
- data/lib/generators/releaf/templates/views/home/index.html.haml +0 -1
- data/lib/generators/releaf/templates/views/layouts/application.html.haml +0 -26
- data/lib/i18n/backend/releaf.rb +0 -97
- data/lib/i18n/backend/releaf/translation.rb +0 -61
- data/lib/i18n/backend/releaf/translation_data.rb +0 -39
- data/lib/i18n/backend/releaf/translation_group.rb +0 -34
- data/lib/i18n/releaf.rb +0 -1
- data/lib/releaf/boolean_at.rb +0 -77
- data/lib/releaf/engine.rb +0 -4
- data/lib/releaf/globalize3/fallbacks.rb +0 -19
- data/lib/releaf/resources.rb +0 -101
- data/lib/releaf/slug.rb +0 -118
- data/lib/releaf/version.rb +0 -3
- data/lib/tasks/releaf_tasks.rake +0 -4
- data/spec/factories/factories.rb +0 -24
- data/spec/features/admin_spec.rb +0 -41
- data/templates/releaf/installer.rb +0 -207
@@ -1,205 +0,0 @@
|
|
1
|
-
/* primary panel */
|
2
|
-
|
3
|
-
.controller-releaf-translations.view-edit .primary_panel .body
|
4
|
-
{
|
5
|
-
border-radius: 0;
|
6
|
-
border-top: none;
|
7
|
-
padding: 0 0 20px;
|
8
|
-
top: 65px;
|
9
|
-
}
|
10
|
-
|
11
|
-
/* secondary panel */
|
12
|
-
.controller-releaf-translations.panel_layout .secondary_panel
|
13
|
-
{
|
14
|
-
width: 23%;
|
15
|
-
min-width: 270px;
|
16
|
-
}
|
17
|
-
.controller-releaf-translations .secondary_panel .standard_submenu .section_title
|
18
|
-
{
|
19
|
-
background-image: none;
|
20
|
-
cursor: default;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* translations table */
|
24
|
-
/* table in general */
|
25
|
-
.controller-releaf-translations .translations_table .th
|
26
|
-
{
|
27
|
-
-webkit-transition: width .1s ease-out;
|
28
|
-
-moz-transition: width .1s ease-out;
|
29
|
-
transition: width .1s ease-out;
|
30
|
-
}
|
31
|
-
.controller-releaf-translations table.translations_table
|
32
|
-
{
|
33
|
-
font-size: 100%;
|
34
|
-
margin-top: -28px;
|
35
|
-
margin-bottom: 10px;
|
36
|
-
}
|
37
|
-
/* header */
|
38
|
-
.controller-releaf-translations .translations_table thead
|
39
|
-
{
|
40
|
-
visibility: hidden;
|
41
|
-
}
|
42
|
-
.controller-releaf-translations .translations_table_head
|
43
|
-
{
|
44
|
-
swidth: auto;
|
45
|
-
margin-left: -5px;
|
46
|
-
margin-right: -5px;
|
47
|
-
border: 1px solid #ABABAB;
|
48
|
-
border-bottom: 0;
|
49
|
-
background: url("<%= asset_path 'releaf/releaf_table/th_bgr.gif' %>") repeat-x scroll 0 bottom #F9F9F9;
|
50
|
-
border-top-left-radius: 5px;
|
51
|
-
border-top-right-radius: 5px;
|
52
|
-
white-space: nowrap;
|
53
|
-
overflow: hidden;
|
54
|
-
}
|
55
|
-
.controller-releaf-translations .translations_table th
|
56
|
-
{
|
57
|
-
font-weight: normal;
|
58
|
-
}
|
59
|
-
.controller-releaf-translations .translations_table_head .th
|
60
|
-
{
|
61
|
-
display: inline-block;
|
62
|
-
|
63
|
-
border-left: 1px solid #EEEEEE;
|
64
|
-
border-right: 1px solid #D0D0D0;
|
65
|
-
font-weight: normal;
|
66
|
-
padding-top: 5px;
|
67
|
-
padding-bottom: 5px;
|
68
|
-
text-align: center;
|
69
|
-
}
|
70
|
-
.controller-releaf-translations .translations_table_head .th:first-of-type
|
71
|
-
{
|
72
|
-
border-top-left-radius: 4px;
|
73
|
-
}
|
74
|
-
.controller-releaf-translations .translations_table .code_header
|
75
|
-
{
|
76
|
-
width: 200px;
|
77
|
-
}
|
78
|
-
.controller-releaf-translations .translations_table .delete_header
|
79
|
-
{
|
80
|
-
min-width: 20px;
|
81
|
-
max-width: 20px;
|
82
|
-
width: 20px;
|
83
|
-
}
|
84
|
-
/* body */
|
85
|
-
.controller-releaf-translations .translations_table td
|
86
|
-
{
|
87
|
-
padding: 0;
|
88
|
-
border-style: solid;
|
89
|
-
border-width: 0 1px 1px 0;
|
90
|
-
text-align: center;
|
91
|
-
background-color: white;
|
92
|
-
-webkit-transition: background-color .1s linear;
|
93
|
-
-moz-transition: background-color .2s linear;
|
94
|
-
transition: background-color .2s linear;
|
95
|
-
}
|
96
|
-
.controller-releaf-translations .translations_table td,
|
97
|
-
.controller-releaf-translations .translations_table.releaf_table.label_first_column td:first-child
|
98
|
-
{
|
99
|
-
border-color: #DDDDDD;
|
100
|
-
}
|
101
|
-
.controller-releaf-translations .translations_table tr:last-of-type td
|
102
|
-
{
|
103
|
-
border-bottom: none;
|
104
|
-
}
|
105
|
-
.controller-releaf-translations .translations_table .wrap
|
106
|
-
{
|
107
|
-
padding-right: 6px;
|
108
|
-
position: relative;
|
109
|
-
}
|
110
|
-
.controller-releaf-translations .translations_table input
|
111
|
-
{
|
112
|
-
border-width: 0;
|
113
|
-
background: transparent none;
|
114
|
-
width: 100%;
|
115
|
-
}
|
116
|
-
.controller-releaf-translations .translations_table input:focus
|
117
|
-
{
|
118
|
-
border-width: 1px;
|
119
|
-
margin: -1px;
|
120
|
-
}
|
121
|
-
.controller-releaf-translations .translations_table .delete_column
|
122
|
-
{
|
123
|
-
border-right: none;
|
124
|
-
}
|
125
|
-
|
126
|
-
/* highlighted row */
|
127
|
-
.controller-releaf-translations .highlighted td,
|
128
|
-
.controller-releaf-translations .releaf_table.label_first_column tbody tr.highlighted td:first-child,
|
129
|
-
.controller-releaf-translations .releaf_table.label_first_column tbody tr.highlighted:hover td:first-child
|
130
|
-
{
|
131
|
-
background-color: #7AD528;
|
132
|
-
border-color: #C1AD2F;
|
133
|
-
}
|
134
|
-
|
135
|
-
/* visibleLanguagesSwitch */
|
136
|
-
.controller-releaf-translations .visibleLanguagesSwitch
|
137
|
-
{
|
138
|
-
position: absolute;
|
139
|
-
top: 7px;
|
140
|
-
right: 15px;
|
141
|
-
text-align: right;
|
142
|
-
z-index: 3;
|
143
|
-
}
|
144
|
-
.controller-releaf-translations .visibleLanguagesSwitch button img
|
145
|
-
{
|
146
|
-
margin: 0 0 0 8px;
|
147
|
-
}
|
148
|
-
.controller-releaf-translations .visibleLanguagesSwitch ul
|
149
|
-
{
|
150
|
-
display: none;
|
151
|
-
text-align: left;
|
152
|
-
|
153
|
-
background-color: #F2F1F1;
|
154
|
-
border: 1px solid gray;
|
155
|
-
border-top: 0;
|
156
|
-
margin: 0 2px;
|
157
|
-
box-shadow: 0px 1px 3px rgba(0,0,0,.5);
|
158
|
-
}
|
159
|
-
.controller-releaf-translations .visibleLanguagesSwitch ul label
|
160
|
-
{
|
161
|
-
display: block;
|
162
|
-
padding: 0px 4px;
|
163
|
-
}
|
164
|
-
.controller-releaf-translations .visibleLanguagesSwitch ul label:hover
|
165
|
-
{
|
166
|
-
background-color: rgba(0,0,0,.1);
|
167
|
-
}
|
168
|
-
.controller-releaf-translations .visibleLanguagesSwitch ul input
|
169
|
-
{
|
170
|
-
vertical-align: -15%;
|
171
|
-
}
|
172
|
-
|
173
|
-
/* header */
|
174
|
-
.controller-releaf-translations .header .groupInfo
|
175
|
-
{
|
176
|
-
padding-top: 4px;
|
177
|
-
margin-bottom: 7px;
|
178
|
-
}
|
179
|
-
.controller-releaf-translations .header .field
|
180
|
-
{
|
181
|
-
swidth: 50%;
|
182
|
-
display: inline-block;
|
183
|
-
padding: 0 20px 0 0;
|
184
|
-
}
|
185
|
-
.controller-releaf-translations .header .field label
|
186
|
-
{
|
187
|
-
margin-right: 3px;
|
188
|
-
}
|
189
|
-
|
190
|
-
/* dragInProgress */
|
191
|
-
.module-aliases .primary_panel .body.dragInProgress
|
192
|
-
{
|
193
|
-
box-shadow: 0px 0px 8px 2px #724FC1;
|
194
|
-
}
|
195
|
-
.module-aliases .primary_panel .body.dragInProgress,
|
196
|
-
.module-aliases .primary_panel .body.dragInProgress input,
|
197
|
-
.module-aliases .primary_panel .body.dragInProgress td
|
198
|
-
{
|
199
|
-
background-color: yellow;
|
200
|
-
}
|
201
|
-
|
202
|
-
.controller-releaf-translations.action-edit .primary_panel button.add.new {
|
203
|
-
margin-left: 10px;
|
204
|
-
}
|
205
|
-
|
@@ -1,176 +0,0 @@
|
|
1
|
-
button,
|
2
|
-
input[type="button"],
|
3
|
-
input[type="submit"],
|
4
|
-
.button,
|
5
|
-
button[disabled]
|
6
|
-
{
|
7
|
-
padding: 2px 8px 3px 8px;
|
8
|
-
color: black;
|
9
|
-
cursor: pointer;
|
10
|
-
border: 1px solid #adadad;
|
11
|
-
border-right-color: #888686;
|
12
|
-
border-bottom-color: #888686;
|
13
|
-
border-radius: 3px;
|
14
|
-
box-shadow: 0px 1px 0px rgba(255,255,255,.6);
|
15
|
-
background: #dcdcdc url("<%= asset_path 'releaf/button/button_bgr.gif' %>") repeat-x top left;
|
16
|
-
vertical-align: middle;
|
17
|
-
margin: 0;
|
18
|
-
text-shadow: rgba(255, 255, 255, 0.4) 0 1px;
|
19
|
-
/* normalize user agent differences */
|
20
|
-
-moz-box-sizing: content-box;
|
21
|
-
-webkit-box-sizing: content-box;
|
22
|
-
box-sizing: content-box;
|
23
|
-
display: inline-block;
|
24
|
-
font-family: inherit;
|
25
|
-
height: 18px;
|
26
|
-
font-size: 100%;
|
27
|
-
}
|
28
|
-
button::-moz-focus-inner
|
29
|
-
{
|
30
|
-
padding: 0;
|
31
|
-
border: 0
|
32
|
-
}
|
33
|
-
button:hover,
|
34
|
-
input[type="button"]:hover,
|
35
|
-
input[type="submit"]:hover,
|
36
|
-
.button:hover
|
37
|
-
{
|
38
|
-
text-decoration: none;
|
39
|
-
background-image: url("<%= asset_path 'releaf/button/button_hover_bgr.png' %>");
|
40
|
-
background-color: #cfcece;
|
41
|
-
}
|
42
|
-
button > *,
|
43
|
-
input[type="button"] > *,
|
44
|
-
input[type="submit"] > *,
|
45
|
-
.button > *
|
46
|
-
{
|
47
|
-
vertical-align: middle;
|
48
|
-
}
|
49
|
-
/* fix element alignment, TODO: find a better way */
|
50
|
-
button > *:only-child,
|
51
|
-
input[type="button"] > *:only-child,
|
52
|
-
input[type="submit"] > *:only-child,
|
53
|
-
.button > *:only-child
|
54
|
-
{
|
55
|
-
display: inline-block;
|
56
|
-
padding-top: 2px;
|
57
|
-
}
|
58
|
-
button[disabled],
|
59
|
-
input[type="button"][disabled],
|
60
|
-
input[type="submit"][disabled],
|
61
|
-
.button[disabled],
|
62
|
-
.button.disabled
|
63
|
-
{
|
64
|
-
opacity: .4;
|
65
|
-
cursor: default;
|
66
|
-
}
|
67
|
-
button[disabled]:hover,
|
68
|
-
button[disabled]:focus,
|
69
|
-
input[type="button"][disabled]:hover,
|
70
|
-
input[type="button"][disabled]:focus,
|
71
|
-
input[type="submit"][disabled]:hover,
|
72
|
-
input[type="submit"][disabled]:focus,
|
73
|
-
.button[disabled]:hover,
|
74
|
-
.button[disabled]:focus,
|
75
|
-
.button.disabled:hover,
|
76
|
-
.button.disabled:focus
|
77
|
-
{
|
78
|
-
background: #dcdcdc url("<%= asset_path 'releaf/button/button_bgr.gif' %>") repeat-x top left;
|
79
|
-
border: 1px solid #adadad;
|
80
|
-
border-right-color: #888686;
|
81
|
-
border-bottom-color: #888686;
|
82
|
-
}
|
83
|
-
button > img + span,
|
84
|
-
input[type="button"] > img + span,
|
85
|
-
input[type="submit"] > img + span,
|
86
|
-
.button > img + span
|
87
|
-
{
|
88
|
-
margin-left: 5px;
|
89
|
-
}
|
90
|
-
button:focus,
|
91
|
-
input[type="button"]:focus,
|
92
|
-
input[type="submit"]:focus,
|
93
|
-
.button:focus
|
94
|
-
{
|
95
|
-
outline: none;
|
96
|
-
box-shadow: 0 0 4px 1px #2878D4;
|
97
|
-
position: relative;
|
98
|
-
z-index: 2;
|
99
|
-
}
|
100
|
-
button:active,
|
101
|
-
button.active,
|
102
|
-
input[type="button"]:active,
|
103
|
-
input[type="button"].active,
|
104
|
-
input[type="submit"]:active,
|
105
|
-
input[type="submit"].active,
|
106
|
-
.button:active,
|
107
|
-
.button.active
|
108
|
-
{
|
109
|
-
border: 1px solid rgba(0, 0, 0, 0.6);
|
110
|
-
outline: none;
|
111
|
-
box-shadow: inset rgba(0, 0, 0, 0.4) 0 -5px 12px, inset rgba(0, 0, 0, 1) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 1px;
|
112
|
-
}
|
113
|
-
button.active:focus,
|
114
|
-
input[type="button"].active:focus,
|
115
|
-
input[type="submit"].active:focus,
|
116
|
-
.button.active:focus
|
117
|
-
{
|
118
|
-
box-shadow: inset rgba(0, 0, 0, 0.4) 0 -5px 12px, inset rgba(0, 0, 0, 1) 0 1px 3px, rgba(255, 255, 255, 0.4) 0 1px, 0 0 4px 1px #2878D4;
|
119
|
-
}
|
120
|
-
button.no_styling,
|
121
|
-
button.no_styling:focus,
|
122
|
-
button.no_styling:hover,
|
123
|
-
input[type="button"].no_styling,
|
124
|
-
input[type="button"].no_styling:focus,
|
125
|
-
input[type="button"].no_styling:hover,
|
126
|
-
input[type="submit"].no_styling,
|
127
|
-
input[type="submit"].no_styling:focus,
|
128
|
-
input[type="submit"].no_styling:hover,
|
129
|
-
.button.no_styling,
|
130
|
-
.button.no_styling:focus,
|
131
|
-
.button.no_styling:hover
|
132
|
-
{
|
133
|
-
background-color: transparent;
|
134
|
-
background-image: none;
|
135
|
-
border: 0 none;
|
136
|
-
border-radius: 0;
|
137
|
-
padding: 0;
|
138
|
-
box-shadow: none;
|
139
|
-
}
|
140
|
-
|
141
|
-
.button_group
|
142
|
-
{
|
143
|
-
display: inline-block;
|
144
|
-
margin-right: 25px;
|
145
|
-
}
|
146
|
-
.button_group.compensate
|
147
|
-
{
|
148
|
-
padding-top: 4px;
|
149
|
-
}
|
150
|
-
.button_group.compact button,
|
151
|
-
.button_group.compact input[type="button"],
|
152
|
-
.button_group.compact input[type="submit"],
|
153
|
-
.button_group.compact .button
|
154
|
-
{
|
155
|
-
padding-left: 5px;
|
156
|
-
padding-right: 5px;
|
157
|
-
}
|
158
|
-
.button_group button:not(:first-child),
|
159
|
-
.button_group input[type="button"]:not(:first-child),
|
160
|
-
.button_group input[type="submit"]:not(:first-child),
|
161
|
-
.button_group .button:not(:first-child)
|
162
|
-
{
|
163
|
-
border-left: none;
|
164
|
-
border-top-left-radius: 0;
|
165
|
-
border-bottom-left-radius: 0;
|
166
|
-
}
|
167
|
-
.button_group button:not(:last-child),
|
168
|
-
.button_group input[type="button"]:not(:last-child),
|
169
|
-
.button_group input[type="submit"]:not(:last-child),
|
170
|
-
.button_group .button:not(:last-child)
|
171
|
-
{
|
172
|
-
border-right-color: #b1b1b1;
|
173
|
-
border-top-right-radius: 0;
|
174
|
-
border-bottom-right-radius: 0;
|
175
|
-
}
|
176
|
-
|
@@ -1,281 +0,0 @@
|
|
1
|
-
/* field */
|
2
|
-
.field
|
3
|
-
{
|
4
|
-
padding-bottom: 15px;
|
5
|
-
}
|
6
|
-
.field.disabled
|
7
|
-
{
|
8
|
-
background-color: inherit;
|
9
|
-
}
|
10
|
-
.field.disabled label,
|
11
|
-
.field.disabled .label
|
12
|
-
{
|
13
|
-
color: gray;
|
14
|
-
}
|
15
|
-
/* label wrap */
|
16
|
-
.field .label_wrap
|
17
|
-
{
|
18
|
-
width: 35%;
|
19
|
-
float: left;
|
20
|
-
text-align: right;
|
21
|
-
padding: 3px 5px 0 0;
|
22
|
-
}
|
23
|
-
.field.no_label_wrap_padding .label_wrap
|
24
|
-
{
|
25
|
-
padding-top: 0;
|
26
|
-
}
|
27
|
-
.field .label_wrap .description
|
28
|
-
{
|
29
|
-
font-size: 80%;
|
30
|
-
padding-right: 4px;
|
31
|
-
color: #494C48;
|
32
|
-
}
|
33
|
-
/* label */
|
34
|
-
.field label,
|
35
|
-
.field .label
|
36
|
-
{
|
37
|
-
font-weight: bold;
|
38
|
-
color: #494C48;
|
39
|
-
}
|
40
|
-
.field .label_wrap.label
|
41
|
-
{
|
42
|
-
padding-top: 0;
|
43
|
-
}
|
44
|
-
/* value */
|
45
|
-
.field .value
|
46
|
-
{
|
47
|
-
margin-left: 35%;
|
48
|
-
padding-left: 5px;
|
49
|
-
}
|
50
|
-
/* input */
|
51
|
-
.field input[type="text"],
|
52
|
-
.field input[type="email"],
|
53
|
-
.field input[type="password"]
|
54
|
-
{
|
55
|
-
width: 250px;
|
56
|
-
}
|
57
|
-
.field input.short
|
58
|
-
{
|
59
|
-
width: 50px;
|
60
|
-
}
|
61
|
-
.field input[type="checkbox"] + label,
|
62
|
-
.field input[type="radio"] + label
|
63
|
-
{
|
64
|
-
font-weight: normal;
|
65
|
-
margin-right: 30px;
|
66
|
-
}
|
67
|
-
.field input[type="checkbox"][disabled] + label,
|
68
|
-
.field input[type="radio"][disabled] + label
|
69
|
-
{
|
70
|
-
color: gray;
|
71
|
-
}
|
72
|
-
/* trigger */
|
73
|
-
.field .trigger
|
74
|
-
{
|
75
|
-
vertical-align: -15%;
|
76
|
-
margin-left: 5px;
|
77
|
-
cursor: pointer;
|
78
|
-
}
|
79
|
-
|
80
|
-
/* type: textarea */
|
81
|
-
.create-feature .field.type_textarea,
|
82
|
-
.create-feature .field.type_richtext,
|
83
|
-
.edit-feature .field.type_textarea,
|
84
|
-
.edit-feature .field.type_richtext
|
85
|
-
{
|
86
|
-
width: 710px;
|
87
|
-
margin: 0 auto;
|
88
|
-
}
|
89
|
-
|
90
|
-
.create-feature .field.type_textarea .label_wrap,
|
91
|
-
.create-feature .field.type_richtext .label_wrap,
|
92
|
-
.edit-feature .field.type_textarea .label_wrap,
|
93
|
-
.edit-feature .field.type_richtext .label_wrap
|
94
|
-
{
|
95
|
-
float: none;
|
96
|
-
text-align: left;
|
97
|
-
width: auto;
|
98
|
-
}
|
99
|
-
.create-feature .field.type_textarea .value,
|
100
|
-
.create-feature .field.type_richtext .value,
|
101
|
-
.edit-feature .field.type_textarea .value,
|
102
|
-
.edit-feature .field.type_richtext .value
|
103
|
-
{
|
104
|
-
margin-left: 0;
|
105
|
-
padding-left: 0;
|
106
|
-
}
|
107
|
-
.create-feature .field.type_textarea textarea,
|
108
|
-
.create-feature .field.type_richtext textarea,
|
109
|
-
.edit-feature .field.type_textarea textarea,
|
110
|
-
.edit-feature .field.type_richtext textarea
|
111
|
-
{
|
112
|
-
min-width: 650px;
|
113
|
-
-moz-box-sizing: border-box;
|
114
|
-
box-sizing: border-box;
|
115
|
-
}
|
116
|
-
|
117
|
-
|
118
|
-
/* TODO: refactor below this line */
|
119
|
-
|
120
|
-
.checkboxGroup .field:not(:last-child)
|
121
|
-
{
|
122
|
-
padding-bottom: 5px;
|
123
|
-
}
|
124
|
-
|
125
|
-
/* richtext styling */
|
126
|
-
.richtextField .mceEditor .mceLayout
|
127
|
-
{
|
128
|
-
border-color: #ABABAB;
|
129
|
-
}
|
130
|
-
.richtextField .mceEditor .mceLayout .mceToolbar
|
131
|
-
{
|
132
|
-
border-top-color: #707070;
|
133
|
-
}
|
134
|
-
.richtextField .mceEditor .mceLayout .mceStatusbar
|
135
|
-
{
|
136
|
-
border-bottom-color: #CECECE;
|
137
|
-
}
|
138
|
-
.richtextField .mceEditor .mceLayout .mceButtonActive
|
139
|
-
{
|
140
|
-
border-color: #cccccc;
|
141
|
-
background-color: #f0f0ee;
|
142
|
-
}
|
143
|
-
.richtextField .mceEditor .mceLayout .mceButtonActive:hover
|
144
|
-
{
|
145
|
-
background-color: #b2bbd0;
|
146
|
-
}
|
147
|
-
/* focus */
|
148
|
-
.richtextField .mceEditor .mceLayout.focus .mceToolbar
|
149
|
-
{
|
150
|
-
border-top-color: #7c8288;
|
151
|
-
background-color: #e6e7ea;
|
152
|
-
}
|
153
|
-
.richtextField .mceEditor .mceLayout.focus .mceStatusbar
|
154
|
-
{
|
155
|
-
border-bottom-color: #a8aeb4;
|
156
|
-
background-color: #e6e7ea;
|
157
|
-
}
|
158
|
-
.richtextField .mceEditor .mceLayout.focus .mceButton
|
159
|
-
{
|
160
|
-
border-color: #e6e7ea;
|
161
|
-
}
|
162
|
-
.richtextField .mceEditor .mceLayout.focus .mceButtonActive
|
163
|
-
{
|
164
|
-
border-color: #969696;
|
165
|
-
background-color: #b2bbd0;
|
166
|
-
}
|
167
|
-
.richtextField .mceEditor .mceLayout .mceButton:hover
|
168
|
-
{
|
169
|
-
border-color: #969696;
|
170
|
-
}
|
171
|
-
.richtextField .mceEditor .mceLayout.focus .mceButtonActive:hover
|
172
|
-
{
|
173
|
-
border-color: #585858;
|
174
|
-
}
|
175
|
-
/* --richtext styling */
|
176
|
-
|
177
|
-
|
178
|
-
.field.type_autocomplete .autocomplete_expand_icon {
|
179
|
-
margin: 0 6px 0 -16px;
|
180
|
-
vertical-align: -10%;
|
181
|
-
}
|
182
|
-
|
183
|
-
.nested_object {
|
184
|
-
padding: 5px;
|
185
|
-
}
|
186
|
-
.nested_wrap .nested_title {
|
187
|
-
padding-top: 20px;
|
188
|
-
font-size: 16px;
|
189
|
-
font-weight: bold;
|
190
|
-
padding-bottom: 5px;
|
191
|
-
}
|
192
|
-
|
193
|
-
.localization_buttons {
|
194
|
-
margin-left: 35%;
|
195
|
-
padding-left: 5px;
|
196
|
-
}
|
197
|
-
.field.type_textarea .localization_buttons, .field.type_richtext .localization_buttons {
|
198
|
-
margin-left: 0;
|
199
|
-
padding-left: 0;
|
200
|
-
}
|
201
|
-
.localization_buttons button {
|
202
|
-
border-color: transparent #B0AFAF #999;
|
203
|
-
border-radius: 0 0 3px 3px;
|
204
|
-
min-width: 35px;
|
205
|
-
text-align: center;
|
206
|
-
color: #585757;
|
207
|
-
margin-right: 4px;
|
208
|
-
background-color: transparent;
|
209
|
-
background-image: none;
|
210
|
-
border: 0 none;
|
211
|
-
padding: 0;
|
212
|
-
box-shadow: none;
|
213
|
-
text-transform: lowercase;
|
214
|
-
background: gainsboro url(<% asset_path("/button/buttonBgr.gif") %>) repeat-x top left;
|
215
|
-
vertical-align: middle;
|
216
|
-
border: 1px solid #B0AFAF;
|
217
|
-
border-top: 0;
|
218
|
-
}
|
219
|
-
.localization_buttons button:focus {
|
220
|
-
outline: 1px dotted gray;
|
221
|
-
box-shadow: none;
|
222
|
-
}
|
223
|
-
|
224
|
-
.localization_buttons button.active {
|
225
|
-
background-color: white;
|
226
|
-
color: black;
|
227
|
-
}
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
.nested_wrap .add {
|
237
|
-
margin: 10px;
|
238
|
-
}
|
239
|
-
.nested_wrap .item {
|
240
|
-
position: relative;
|
241
|
-
background-color: #F3F3F3;
|
242
|
-
margin: 3px 5px;
|
243
|
-
padding: 5px;
|
244
|
-
min-height: 24px;
|
245
|
-
}
|
246
|
-
.nested_wrap .item .field.type_delete_nested {
|
247
|
-
position: absolute;
|
248
|
-
top: 10px;
|
249
|
-
right: 10px;
|
250
|
-
padding: 0;
|
251
|
-
border: none;
|
252
|
-
}
|
253
|
-
.nested_wrap .item .nested_wrap {
|
254
|
-
background-color: #ededed;
|
255
|
-
}
|
256
|
-
.nested_wrap .item .nested_wrap,
|
257
|
-
.nested_wrap .item .nested_wrap .item {
|
258
|
-
border: 1px dotted gray;
|
259
|
-
}
|
260
|
-
|
261
|
-
.nested_wrap .field .label_wrap {
|
262
|
-
width: auto;
|
263
|
-
float: none;
|
264
|
-
text-align: left;
|
265
|
-
}
|
266
|
-
.nested_wrap .field .value {
|
267
|
-
margin-left: 0;
|
268
|
-
}
|
269
|
-
.value_preview {
|
270
|
-
padding: 5px;
|
271
|
-
}
|
272
|
-
.nested_wrap .list > .resource
|
273
|
-
{
|
274
|
-
padding-top: 10px;
|
275
|
-
padding-bottom: 10px;
|
276
|
-
border-top: 1px dotted #DDD;
|
277
|
-
}
|
278
|
-
.nested_wrap .list > .resource:last-child
|
279
|
-
{
|
280
|
-
border-bottom: 1px dotted #DDD;
|
281
|
-
}
|