guara 0.0.1.rc
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +23 -0
- data/.rspec +2 -0
- data/.travis.yml +33 -0
- data/Gemfile +82 -0
- data/Gemfile.lock +323 -0
- data/Guardfile +32 -0
- data/MIT-LICENSE +20 -0
- data/README.md +8 -0
- data/Rakefile +7 -0
- data/app/admin/business_activities.rb +3 -0
- data/app/admin/business_departments.rb +3 -0
- data/app/admin/business_segments.rb +13 -0
- data/app/admin/cities.rb +3 -0
- data/app/admin/company_businesses.rb +3 -0
- data/app/admin/dashboard.rb +39 -0
- data/app/admin/districts.rb +3 -0
- data/app/admin/states.rb +3 -0
- data/app/admin/task_types.rb +3 -0
- data/app/admin/user_groups.rb +3 -0
- data/app/admin/users.rb +3 -0
- data/app/assets/images/close.gif +0 -0
- data/app/assets/images/custom/logo.png +0 -0
- data/app/assets/images/custom/nav_logo.png +0 -0
- data/app/assets/images/custom/nav_logo.psd +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/javascripts/active_admin.js +5 -0
- data/app/assets/javascripts/application.js +97 -0
- data/app/assets/javascripts/business_departments.js.coffee +3 -0
- data/app/assets/javascripts/company_businesses.js.coffee +3 -0
- data/app/assets/javascripts/crm.js.coffee +14 -0
- data/app/assets/javascripts/fcbk.js +556 -0
- data/app/assets/javascripts/jquery-ui-timepicker-addon.js +1326 -0
- data/app/assets/javascripts/jquery.mask.1.3.js +7 -0
- data/app/assets/javascripts/jquery.multiselect.filter.xjs +173 -0
- data/app/assets/javascripts/jquery.multiselect.xjs +668 -0
- data/app/assets/javascripts/system_task_status.js.coffee +3 -0
- data/app/assets/javascripts/tests/ajaxes.js.coffee +3 -0
- data/app/assets/stylesheets/abilities.css.scss +6 -0
- data/app/assets/stylesheets/active_admin.css.scss +65 -0
- data/app/assets/stylesheets/application.css +19 -0
- data/app/assets/stylesheets/business_departments.css.scss +3 -0
- data/app/assets/stylesheets/company_businesses.css.scss +3 -0
- data/app/assets/stylesheets/custom.css.scss +322 -0
- data/app/assets/stylesheets/customer.scss +7 -0
- data/app/assets/stylesheets/fcbk.css +165 -0
- data/app/assets/stylesheets/guara.css.scss +159 -0
- data/app/assets/stylesheets/jquery-ui.css +567 -0
- data/app/assets/stylesheets/jquery_bootstrap.css.scss +92 -0
- data/app/assets/stylesheets/jquery_multiselect_filter.xcss +3 -0
- data/app/assets/stylesheets/scaffolds.css.scss +42 -0
- data/app/assets/stylesheets/users.css.scss +10 -0
- data/app/controllers/abilities_controller.rb +37 -0
- data/app/controllers/application_controller.rb +12 -0
- data/app/controllers/business_activities_controller.rb +87 -0
- data/app/controllers/business_departments_controller.rb +90 -0
- data/app/controllers/business_segments_controller.rb +88 -0
- data/app/controllers/company_businesses_controller.rb +46 -0
- data/app/controllers/contacts_controller.rb +105 -0
- data/app/controllers/customers_controller.rb +117 -0
- data/app/controllers/microposts_controller.rb +31 -0
- data/app/controllers/sessions_controller.rb +32 -0
- data/app/controllers/static_pages_controller.rb +23 -0
- data/app/controllers/system_task_status_controller.rb +84 -0
- data/app/controllers/task_feedbacks_controller.rb +6 -0
- data/app/controllers/task_types_controller.rb +85 -0
- data/app/controllers/tasks_controller.rb +107 -0
- data/app/controllers/tests/ajaxes_controller.rb +115 -0
- data/app/controllers/tests/lab_ajax_controller.rb +27 -0
- data/app/controllers/users_controller.rb +62 -0
- data/app/helpers/ability_helper.rb +15 -0
- data/app/helpers/application_helper.rb +32 -0
- data/app/helpers/business_activities_helper.rb +2 -0
- data/app/helpers/business_departments_helper.rb +2 -0
- data/app/helpers/business_segments_helper.rb +2 -0
- data/app/helpers/company_businesses_helper.rb +2 -0
- data/app/helpers/contacts_helper.rb +2 -0
- data/app/helpers/customers_helper.rb +23 -0
- data/app/helpers/email_helper.rb +8 -0
- data/app/helpers/form_ajax_helper.rb +8 -0
- data/app/helpers/guara_views_helper.rb +38 -0
- data/app/helpers/locale_helper.rb +24 -0
- data/app/helpers/menu_helper.rb +55 -0
- data/app/helpers/sessions_helper.rb +56 -0
- data/app/helpers/tasks_helper.rb +20 -0
- data/app/helpers/tests/ajaxes_helper.rb +2 -0
- data/app/helpers/user_abilities_helper.rb +12 -0
- data/app/helpers/users_helper.rb +29 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/ability.rb +52 -0
- data/app/models/address.rb +7 -0
- data/app/models/business_activity.rb +5 -0
- data/app/models/business_department.rb +3 -0
- data/app/models/business_segment.rb +5 -0
- data/app/models/city.rb +7 -0
- data/app/models/company_business.rb +6 -0
- data/app/models/contact.rb +69 -0
- data/app/models/customer.rb +117 -0
- data/app/models/customer_activity.rb +9 -0
- data/app/models/customer_financial.rb +10 -0
- data/app/models/customer_has_customers.rb +7 -0
- data/app/models/customer_pf.rb +13 -0
- data/app/models/customer_pj.rb +71 -0
- data/app/models/customer_pj_has_customers_pj.rb +7 -0
- data/app/models/customer_product.rb +3 -0
- data/app/models/customer_segment.rb +9 -0
- data/app/models/district.rb +6 -0
- data/app/models/email.rb +7 -0
- data/app/models/micropost.rb +10 -0
- data/app/models/relationship.rb +9 -0
- data/app/models/search.rb +17 -0
- data/app/models/state.rb +3 -0
- data/app/models/system_ability.rb +16 -0
- data/app/models/system_module.rb +16 -0
- data/app/models/system_task_resolution.rb +26 -0
- data/app/models/system_task_status.rb +19 -0
- data/app/models/task.rb +76 -0
- data/app/models/task_feedback.rb +11 -0
- data/app/models/task_type.rb +12 -0
- data/app/models/tests.rb +5 -0
- data/app/models/tests/ajax.rb +3 -0
- data/app/models/user.rb +126 -0
- data/app/models/user_ability.rb +23 -0
- data/app/models/user_group.rb +9 -0
- data/app/models/user_type.rb +9 -0
- data/app/models/users_has_groups.rb +9 -0
- data/app/validators/customer_cnpj_validator.rb +14 -0
- data/app/validators/email_validator.rb +21 -0
- data/app/views/abilities/index.html.erb +25 -0
- data/app/views/active_extend/_one_to_many_inputs.html.erb +7 -0
- data/app/views/active_extend/_one_to_many_inputs_fields.html.erb +10 -0
- data/app/views/active_extend/_one_to_many_inputs_with_glyph.html.erb +21 -0
- data/app/views/business_activities/_business_activity.html.erb +0 -0
- data/app/views/business_activities/_form.html.erb +25 -0
- data/app/views/business_activities/edit.html.erb +6 -0
- data/app/views/business_activities/index.html.erb +33 -0
- data/app/views/business_activities/new.html.erb +5 -0
- data/app/views/business_activities/show.html.erb +15 -0
- data/app/views/business_departments/_form.html.erb +10 -0
- data/app/views/business_departments/edit.html.erb +6 -0
- data/app/views/business_departments/index.html.erb +33 -0
- data/app/views/business_departments/new.html.erb +5 -0
- data/app/views/business_departments/show.html.erb +15 -0
- data/app/views/business_segments/_business_segment.html.erb +8 -0
- data/app/views/business_segments/_form.html.erb +25 -0
- data/app/views/business_segments/edit.html.erb +6 -0
- data/app/views/business_segments/index.html.erb +33 -0
- data/app/views/business_segments/new.html.erb +5 -0
- data/app/views/business_segments/show.html.erb +15 -0
- data/app/views/company_businesses/_form.html.erb +10 -0
- data/app/views/company_businesses/edit.html.erb +6 -0
- data/app/views/company_businesses/index.html.erb +25 -0
- data/app/views/company_businesses/new.html.erb +5 -0
- data/app/views/company_businesses/show.html.erb +15 -0
- data/app/views/contacts/_form.html.erb +53 -0
- data/app/views/contacts/_header.html.erb +3 -0
- data/app/views/contacts/_list.html.erb +46 -0
- data/app/views/contacts/_side_panel.html.erb +61 -0
- data/app/views/contacts/edit.html.erb +6 -0
- data/app/views/contacts/index.html.erb +72 -0
- data/app/views/contacts/new.html.erb +5 -0
- data/app/views/contacts/show.html.erb +52 -0
- data/app/views/customers/_businesses_done.html.erb +18 -0
- data/app/views/customers/_customer_segment.html.erb +9 -0
- data/app/views/customers/_form.html.erb +177 -0
- data/app/views/customers/_form_search.html.erb +119 -0
- data/app/views/customers/_modules.html.erb +6 -0
- data/app/views/customers/_navbar.html.erb +23 -0
- data/app/views/customers/_segment.html.erb +10 -0
- data/app/views/customers/edit.html.erb +8 -0
- data/app/views/customers/index.html.erb +46 -0
- data/app/views/customers/new.pj.html.erb +4 -0
- data/app/views/customers/show.pj.html.erb +200 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +25 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +24 -0
- data/app/views/devise/shared/_links.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/app/views/emails/_email_fields.html.erb +1 -0
- data/app/views/layouts/_active_admin_footer.html.erb +4 -0
- data/app/views/layouts/_active_admin_header.html.erb +5 -0
- data/app/views/layouts/_footer.html.erb +12 -0
- data/app/views/layouts/_header.html.erb +51 -0
- data/app/views/layouts/_shim.html.erb +3 -0
- data/app/views/layouts/active_admin.html.arb +1 -0
- data/app/views/layouts/application.html.erb +24 -0
- data/app/views/microposts/_micropost.html.erb +11 -0
- data/app/views/sessions/new.html.erb +18 -0
- data/app/views/shared/_calendar.html.erb +17 -0
- data/app/views/shared/_error_messages.html.erb +13 -0
- data/app/views/shared/_feed.html.erb +10 -0
- data/app/views/shared/_feed_item.html.erb +15 -0
- data/app/views/shared/_micropost_form.html.erb +7 -0
- data/app/views/shared/_multi_selection.html.erb +16 -0
- data/app/views/shared/_multi_selection.html_checkbox.erb +11 -0
- data/app/views/shared/_multi_selection_autocomple.html.erb +5 -0
- data/app/views/shared/_notifies.html.erb +17 -0
- data/app/views/shared/_user_info.html.erb +14 -0
- data/app/views/static_pages/about.html.erb +5 -0
- data/app/views/static_pages/contact.html.erb +5 -0
- data/app/views/static_pages/help.html.erb +5 -0
- data/app/views/static_pages/home.html.erb +37 -0
- data/app/views/static_pages/news.html.erb +2 -0
- data/app/views/system_task_status/_form.html.erb +9 -0
- data/app/views/system_task_status/edit.html.erb +6 -0
- data/app/views/system_task_status/index.html.erb +23 -0
- data/app/views/system_task_status/new.html.erb +5 -0
- data/app/views/system_task_status/show.html.erb +10 -0
- data/app/views/task_feedbacks/_list.html.erb +51 -0
- data/app/views/task_feedbacks/_side_form.html.erb +56 -0
- data/app/views/task_feedbacks/_side_panel.html.erb +64 -0
- data/app/views/task_types/_form.html.erb +10 -0
- data/app/views/task_types/edit.html.erb +6 -0
- data/app/views/task_types/index.html.erb +23 -0
- data/app/views/task_types/new.html.erb +5 -0
- data/app/views/task_types/show.html.erb +10 -0
- data/app/views/tasks/_form.html.erb +52 -0
- data/app/views/tasks/_header.html.erb +3 -0
- data/app/views/tasks/_list.html.erb +50 -0
- data/app/views/tasks/_side_panel.html.erb +64 -0
- data/app/views/tasks/create.js.erb +1 -0
- data/app/views/tasks/edit.html.erb +6 -0
- data/app/views/tasks/index.html.erb +61 -0
- data/app/views/tasks/new.html.erb +5 -0
- data/app/views/tasks/show.html.erb +46 -0
- data/app/views/tests/ajaxes/_form.html.erb +10 -0
- data/app/views/tests/ajaxes/_list.html.erb +6 -0
- data/app/views/tests/ajaxes/add_and_update.html.erb +22 -0
- data/app/views/tests/ajaxes/all.js.erb +2 -0
- data/app/views/tests/ajaxes/edit.html.erb +6 -0
- data/app/views/tests/ajaxes/index.html.erb +25 -0
- data/app/views/tests/ajaxes/new.html.erb +5 -0
- data/app/views/tests/ajaxes/show.html.erb +15 -0
- data/app/views/tests/js.js +51 -0
- data/app/views/tests/lab_ajax/multiselection.html.erb +84 -0
- data/app/views/users/_user.html.erb +8 -0
- data/app/views/users/edit.html.erb +27 -0
- data/app/views/users/index.html.erb +9 -0
- data/app/views/users/new.html.erb +24 -0
- data/app/views/users/show.html.erb +26 -0
- data/bundle +0 -0
- data/config.ru +4 -0
- data/config/application.rb +73 -0
- data/config/boot.rb +6 -0
- data/config/database.yml +38 -0
- data/config/environment.rb +31 -0
- data/config/environments/development.rb +42 -0
- data/config/environments/production.rb +68 -0
- data/config/environments/test.rb +39 -0
- data/config/guara/menus.rb +34 -0
- data/config/initializers/active_admin.rb +210 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/cmgb_rules.rb +2 -0
- data/config/initializers/devise.rb +216 -0
- data/config/initializers/formtastic.rb +77 -0
- data/config/initializers/inflections.rb +19 -0
- data/config/initializers/json_paches_utf8.rb +13 -0
- data/config/initializers/kaminari.rb +21 -0
- data/config/initializers/locale.rb +7 -0
- data/config/initializers/meta_search.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/string.rb +9 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/devise.en.yml +57 -0
- data/config/locales/devise.pt-BR.yml +62 -0
- data/config/locales/pt-BR.yml +404 -0
- data/config/routes.rb +129 -0
- data/db/migrate/20120610142404_create_users.rb +10 -0
- data/db/migrate/20120610183820_add_index_to_users_email.rb +5 -0
- data/db/migrate/20120610185217_add_password_digest_to_users.rb +5 -0
- data/db/migrate/20120612000411_add_remember_token_to_users.rb +6 -0
- data/db/migrate/20120616162515_add_admin_to_users.rb +5 -0
- data/db/migrate/20120616215835_create_microposts.rb +11 -0
- data/db/migrate/20120617224530_create_relationships.rb +14 -0
- data/db/migrate/20120621095918_create_customers.rb +36 -0
- data/db/migrate/20120621100528_create_customer_pfs.rb +14 -0
- data/db/migrate/20120621100534_create_customer_pjs.rb +13 -0
- data/db/migrate/20120621100557_create_emails.rb +13 -0
- data/db/migrate/20120621100618_create_tasks.rb +26 -0
- data/db/migrate/20120621100639_create_customer_products.rb +14 -0
- data/db/migrate/20120621100705_create_districts.rb +11 -0
- data/db/migrate/20120621100720_create_cities.rb +11 -0
- data/db/migrate/20120624192444_create_business_segments.rb +10 -0
- data/db/migrate/20120624224245_create_business_activities.rb +13 -0
- data/db/migrate/20120628092744_create_customer_activities.rb +9 -0
- data/db/migrate/20120628092754_create_customer_segments.rb +9 -0
- data/db/migrate/20120703102859_create_states.rb +10 -0
- data/db/migrate/20120705121011_create_contacts.rb +18 -0
- data/db/migrate/20120711233943_add_devise_to_users.rb +56 -0
- data/db/migrate/20120723102847_create_user_abilities.rb +10 -0
- data/db/migrate/20120723104500_create_system_modules.rb +9 -0
- data/db/migrate/20120723104639_create_system_abilities.rb +9 -0
- data/db/migrate/20120728181903_create_user_groups.rb +10 -0
- data/db/migrate/20120729112600_create_users_has_groups.rb +14 -0
- data/db/migrate/20120729121922_add_groups_to_users.rb +6 -0
- data/db/migrate/20120910002835_create_system_task_status.rb +7 -0
- data/db/migrate/20120910010153_create_system_task_resolutions.rb +7 -0
- data/db/migrate/20120911021535_create_task_types.rb +10 -0
- data/db/migrate/20120911070836_create_task_feedbacks.rb +14 -0
- data/db/migrate/20120924022719_create_tests_ajaxes.rb +10 -0
- data/db/migrate/20121007131035_create_business_departments.rb +10 -0
- data/db/migrate/20121013120849_add_notes_and_other_contacts_to_customer.rb +5 -0
- data/db/migrate/20121014201255_create_company_businesses.rb +10 -0
- data/db/migrate/20121014202449_add_company_business_to_task_type.rb +6 -0
- data/db/migrate/20121014212430_add_primary_company_business_to_user.rb +5 -0
- data/db/migrate/20121015101844_add_parent_id_to_system_task_resolution.rb +5 -0
- data/db/migrate/20121026231241_create_customer_has_customers.rb +10 -0
- data/db/migrate/20121026232755_create_customer_pj_has_customers_pjs.rb +10 -0
- data/db/migrate/20121029094047_create_admin_notes.rb +17 -0
- data/db/migrate/20121029094048_move_admin_notes_to_comments.rb +25 -0
- data/db/migrate/20121103183646_add_enabled_to_cities.rb +5 -0
- data/db/migrate/20121104135014_create_customer_financials.rb +17 -0
- data/db/migrate/20121104141751_create_addresses.rb +19 -0
- data/db/migrate/20121205150619_add_type_id_to_users.rb +5 -0
- data/db/schema.rb~ +378 -0
- data/db/seeds.rb +99 -0
- data/gemfiles/Gemfile.rails.3.2.x +82 -0
- data/guara.gemspec +31 -0
- data/lib/active_extend/README.md +19 -0
- data/lib/active_extend/active_disablable.rb +59 -0
- data/lib/active_extend/string_helper.rb +9 -0
- data/lib/active_migration.rb +4 -0
- data/lib/active_migration/converters/rtf_to_html.rb +123 -0
- data/lib/active_migration/dictionary.rb +19 -0
- data/lib/active_migration/migration.rb +211 -0
- data/lib/active_migration/schemas.rb +143 -0
- data/lib/active_migration/spelling_fix.rb +20 -0
- data/lib/active_migration/transformer/grouped_field_fixed_spelling.rb +110 -0
- data/lib/assets/.gitkeep +0 -0
- data/lib/cmgb_rules/app/models/task.rb +19 -0
- data/lib/guara/version.rb +3 -0
- data/lib/spec/asserts/sheet1.xls +0 -0
- data/lib/spec/lib/active_migration_schemas_spec.rb +40 -0
- data/lib/spec/lib/active_migration_spec.rb +78 -0
- data/lib/spec/spec_helper.rb +121 -0
- data/lib/spec/support/active_migration_helper.rb +109 -0
- data/lib/spec/support/utilities.rb +7 -0
- data/lib/tasks/.gitkeep +0 -0
- data/lib/tasks/add_privilegies.rake +6 -0
- data/lib/tasks/external_migration.rake +22 -0
- data/lib/tasks/sample_data.rake +77 -0
- data/lib/tasks/smaple_data_test.rake +13 -0
- data/lib/templates/erb/scaffold/_form.html.erb +11 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +25 -0
- data/public/data.txt +1 -0
- data/public/favicon.ico +0 -0
- data/public/javascripts/autocomplete-rails.js +16 -0
- data/public/robots.txt +5 -0
- data/script/create_db +5 -0
- data/script/rails +6 -0
- data/script/recreate_db +5 -0
- data/script/recreate_db.bat +9 -0
- data/script/recreate_db_test +5 -0
- data/script/recreate_development_db +10 -0
- data/spec/controllers/business_activities_controller_spec.disabled +167 -0
- data/spec/controllers/business_departments_controller_spec.disabled +164 -0
- data/spec/controllers/business_segments_controller_spec.disabled +165 -0
- data/spec/controllers/company_businesses_controller_spec.disabled +164 -0
- data/spec/controllers/system_task_status_controller_spec.disabled +164 -0
- data/spec/controllers/system_task_status_spec.disabled +11 -0
- data/spec/controllers/task_types_controller_spec.disabled +164 -0
- data/spec/controllers/tasks_controller_spec.disabled +23 -0
- data/spec/controllers/tests/ajaxes_controller_spec.disabled +164 -0
- data/spec/factories.rb +101 -0
- data/spec/factories/addresses.rb +13 -0
- data/spec/factories/business_departments.rb +8 -0
- data/spec/factories/company_businesses.rb +8 -0
- data/spec/factories/customer_financials.rb +11 -0
- data/spec/factories/customer_has_customers.rb +8 -0
- data/spec/factories/customer_pj_has_customers_pjs.rb +8 -0
- data/spec/factories/system_task_resolutions.rb +7 -0
- data/spec/factories/system_task_status.rb +7 -0
- data/spec/factories/task.rb +17 -0
- data/spec/factories/task_feedbacks.rb +19 -0
- data/spec/factories/task_types.rb +8 -0
- data/spec/factories/tests_ajaxes.rb +8 -0
- data/spec/helpers/business_activities_helper_spec.rb +15 -0
- data/spec/helpers/business_departments_helper_spec.rb +15 -0
- data/spec/helpers/business_segments_helper_spec.rb +15 -0
- data/spec/helpers/company_businesses_helper_spec.rb +15 -0
- data/spec/helpers/customers/contacts_helper_spec.rb +15 -0
- data/spec/helpers/menu_helper_spec.rb +25 -0
- data/spec/helpers/tests/ajaxes_helper_spec.rb +15 -0
- data/spec/helpers/users_helpers_spec.rb +32 -0
- data/spec/models/address_spec.rb +5 -0
- data/spec/models/business_activity_spec.rb +5 -0
- data/spec/models/business_department_spec.rb +5 -0
- data/spec/models/business_segment_spec.rb +5 -0
- data/spec/models/city_spec.rb +5 -0
- data/spec/models/company_business_spec.rb +19 -0
- data/spec/models/contact_spec.rb +60 -0
- data/spec/models/customer_activity_spec.rb +5 -0
- data/spec/models/customer_financial_spec.rb +48 -0
- data/spec/models/customer_has_customers_spec.rb +18 -0
- data/spec/models/customer_pf_spec.rb +24 -0
- data/spec/models/customer_pj_has_customers_pj_spec.rb +34 -0
- data/spec/models/customer_pj_spec.rb +72 -0
- data/spec/models/customer_product_spec.rb +5 -0
- data/spec/models/customer_segment_spec.rb +5 -0
- data/spec/models/customer_spec.rb +135 -0
- data/spec/models/district_spec.rb +5 -0
- data/spec/models/emails_spec.rb +24 -0
- data/spec/models/micropost_spec.rb +49 -0
- data/spec/models/relationship_spec.rb +38 -0
- data/spec/models/state_spec.rb +5 -0
- data/spec/models/system_ability_spec.rb +5 -0
- data/spec/models/system_module_spec.rb +5 -0
- data/spec/models/system_task_resolution_spec.rb +17 -0
- data/spec/models/system_task_status_spec.rb +17 -0
- data/spec/models/task_feedback_spec.rb +46 -0
- data/spec/models/task_spec.rb +176 -0
- data/spec/models/task_type_spec.rb +27 -0
- data/spec/models/tests/ajax_spec.rb +5 -0
- data/spec/models/user_ability_spec.rb +35 -0
- data/spec/models/user_group_spec.rb +26 -0
- data/spec/models/user_spec.rb +274 -0
- data/spec/models/users_has_groups_spec.rb +29 -0
- data/spec/requests/authentication_pages_spec.rb +157 -0
- data/spec/requests/business_activities_spec.rb +7 -0
- data/spec/requests/business_departments_spec.rb +7 -0
- data/spec/requests/business_segments_spec.rb +7 -0
- data/spec/requests/company_businesses_spec.rb +11 -0
- data/spec/requests/customer_contacts_pages_spec.rb +96 -0
- data/spec/requests/customer_pages_spec.rb +60 -0
- data/spec/requests/micropost_pages_spec.rb +58 -0
- data/spec/requests/static_pages_spec.rb +57 -0
- data/spec/requests/task_pages_spec.rb +124 -0
- data/spec/requests/tests/tests_ajaxes_spec.rb +11 -0
- data/spec/requests/user_abilities_pages_spec.rb +73 -0
- data/spec/requests/user_pages_spec.rb +116 -0
- data/spec/routing/business_activities_routing_spec.rb +35 -0
- data/spec/routing/business_departments_routing_spec.rb +35 -0
- data/spec/routing/business_segments_routing_spec.rb +35 -0
- data/spec/routing/company_businesses_routing_spec.rb +35 -0
- data/spec/routing/system_task_status_routing_spec.rb +35 -0
- data/spec/routing/task_types_routing_spec.rb +35 -0
- data/spec/routing/tests/ajaxes_routing_spec.rb +35 -0
- data/spec/spec_helper.rb +123 -0
- data/spec/support/custom_matchers.rb +9 -0
- data/spec/support/utilities.rb +120 -0
- data/spec/views/business_departments/edit.html.erb_spec.rb +20 -0
- data/spec/views/business_departments/index.html.erb_spec.disabled +23 -0
- data/spec/views/business_departments/new.html.erb_spec.rb +20 -0
- data/spec/views/business_departments/show.html.erb_spec.rb +17 -0
- data/spec/views/company_businesses/edit.html.erb_spec.rb +20 -0
- data/spec/views/company_businesses/index.html.erb_spec.rb +23 -0
- data/spec/views/company_businesses/new.html.erb_spec.rb +20 -0
- data/spec/views/company_businesses/show.html.erb_spec.rb +17 -0
- data/spec/views/task_types/edit.html.erb_spec.rb +18 -0
- data/spec/views/task_types/index.html.erb_spec.rb +20 -0
- data/spec/views/task_types/new.html.erb_spec.rb +18 -0
- data/spec/views/task_types/show.html.erb_spec.rb +15 -0
- data/test/fixtures/.gitkeep +0 -0
- data/test/functional/.gitkeep +0 -0
- data/test/integration/.gitkeep +0 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/.gitkeep +0 -0
- data/vendor/assets/javascripts/.gitkeep +0 -0
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/assets/stylesheets/active_admin/_base.css.scss +45 -0
- data/vendor/assets/stylesheets/active_admin/_forms.css.scss +270 -0
- data/vendor/assets/stylesheets/active_admin/_header.css.scss +137 -0
- data/vendor/assets/stylesheets/active_admin/_mixins.css.scss +1 -0
- data/vendor/assets/stylesheets/active_admin/_typography.css.scss +100 -0
- data/vendor/assets/stylesheets/active_admin/components/_batch_actions.css.scss +11 -0
- data/vendor/assets/stylesheets/active_admin/components/_blank_slates.scss +31 -0
- data/vendor/assets/stylesheets/active_admin/components/_breadcrumbs.scss +20 -0
- data/vendor/assets/stylesheets/active_admin/components/_buttons.scss +11 -0
- data/vendor/assets/stylesheets/active_admin/components/_columns.scss +3 -0
- data/vendor/assets/stylesheets/active_admin/components/_comments.css.scss +40 -0
- data/vendor/assets/stylesheets/active_admin/components/_date_picker.css.scss +123 -0
- data/vendor/assets/stylesheets/active_admin/components/_dropdown_menu.scss +151 -0
- data/vendor/assets/stylesheets/active_admin/components/_flash_messages.css.scss +39 -0
- data/vendor/assets/stylesheets/active_admin/components/_grid.scss +9 -0
- data/vendor/assets/stylesheets/active_admin/components/_links.scss +5 -0
- data/vendor/assets/stylesheets/active_admin/components/_pagination.scss +34 -0
- data/vendor/assets/stylesheets/active_admin/components/_panels.scss +6 -0
- data/vendor/assets/stylesheets/active_admin/components/_popovers.css.scss +123 -0
- data/vendor/assets/stylesheets/active_admin/components/_scopes.scss +10 -0
- data/vendor/assets/stylesheets/active_admin/components/_status_tags.scss +12 -0
- data/vendor/assets/stylesheets/active_admin/components/_table_tools.css.scss +94 -0
- data/vendor/assets/stylesheets/active_admin/components/_tables.css.scss +108 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_all.css.scss +11 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_buttons.css.scss +66 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_gradients.css.scss +37 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_icons.css.scss +24 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_reset.css.scss +165 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_rounded.css.scss +43 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_sections.css.scss +36 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_shadows.css.scss +22 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_typography.scss +3 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_utilities.scss +26 -0
- data/vendor/assets/stylesheets/active_admin/mixins/_variables.css.scss +24 -0
- data/vendor/assets/stylesheets/active_admin/pages/_dashboard.scss +5 -0
- data/vendor/assets/stylesheets/active_admin/pages/_logged_out.scss +44 -0
- data/vendor/assets/stylesheets/active_admin/print.css.scss +290 -0
- data/vendor/assets/stylesheets/active_admin/structure/_footer.scss +14 -0
- data/vendor/assets/stylesheets/active_admin/structure/_main_structure.scss +26 -0
- data/vendor/assets/stylesheets/active_admin/structure/_title_bar.scss +44 -0
- data/vendor/plugins/.gitkeep +0 -0
- metadata +731 -0
@@ -0,0 +1,65 @@
|
|
1
|
+
// SASS variable overrides must be declared before loading up Active Admin's styles.
|
2
|
+
//
|
3
|
+
// To view the variables that Active Admin provides, take a look at
|
4
|
+
// `app/assets/stylesheets/active_admin/mixins/_variables.css.scss` in the
|
5
|
+
// Active Admin source.
|
6
|
+
//
|
7
|
+
// For example, to change the sidebar width:
|
8
|
+
// $sidebar-width: 242px;
|
9
|
+
// Active Admin's got SASS!
|
10
|
+
@import "active_admin/mixins";
|
11
|
+
@import "active_admin/base";
|
12
|
+
// Overriding any non-variable SASS must be done after the fact.
|
13
|
+
// For example, to change the default status-tag color:
|
14
|
+
//
|
15
|
+
// body.active_admin {
|
16
|
+
// .status_tag { background: #6090DB; }
|
17
|
+
// }
|
18
|
+
//
|
19
|
+
// Notice that Active Admin CSS rules are nested within a
|
20
|
+
// 'body.active_admin' selector to prevent conflicts with
|
21
|
+
// other pages in the app. It is best to wrap your changes in a
|
22
|
+
// namespace so they are properly recognized. You have options
|
23
|
+
// if you e.g. want different styles for different namespaces:
|
24
|
+
//
|
25
|
+
// .active_admin applies to any Active Admin namespace
|
26
|
+
// .admin_namespace applies to the admin namespace (eg: /admin)
|
27
|
+
// .other_namespace applies to a custom namespace named other (eg: /other)
|
28
|
+
|
29
|
+
@import "custom.css.scss";
|
30
|
+
|
31
|
+
#active_admin {
|
32
|
+
|
33
|
+
#title_bar {
|
34
|
+
margin-top: -30px;
|
35
|
+
}
|
36
|
+
|
37
|
+
#titlebar_left {
|
38
|
+
margin-top: -30px;
|
39
|
+
float: left;
|
40
|
+
|
41
|
+
.breadcrumb {
|
42
|
+
padding: 10px;
|
43
|
+
a:first-child {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
|
47
|
+
a {
|
48
|
+
font-size: 12px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
select {
|
55
|
+
width: auto;
|
56
|
+
}
|
57
|
+
|
58
|
+
form fieldset ol > li label {
|
59
|
+
font-size: 14px;
|
60
|
+
background-color: #F4F4F4;
|
61
|
+
padding-bottom: 5px;
|
62
|
+
border-bottom: 1px solid #E9E9E9;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require custom
|
13
|
+
*= require customer
|
14
|
+
*= require guara
|
15
|
+
*= require jquery-ui
|
16
|
+
*= require fcbk
|
17
|
+
*= require users
|
18
|
+
*= *require_tree .
|
19
|
+
*/
|
@@ -0,0 +1,322 @@
|
|
1
|
+
/* override bootstrap default variables */
|
2
|
+
$linkColor: #cc0000;
|
3
|
+
$linkColorHover: #cc3333;
|
4
|
+
$navbarInverseBackground: #400;
|
5
|
+
$navbarInverseBackgroundHighlight: black;
|
6
|
+
$navbarHeight: 46px;
|
7
|
+
|
8
|
+
@import "bootstrap";
|
9
|
+
|
10
|
+
/* mixins, variables, etc. */
|
11
|
+
$grayMediumLight: #eaeaea;
|
12
|
+
|
13
|
+
/* Base */
|
14
|
+
|
15
|
+
html {
|
16
|
+
overflow-y: scroll;
|
17
|
+
}
|
18
|
+
|
19
|
+
body {
|
20
|
+
padding-top: ($navbarHeight+24);
|
21
|
+
}
|
22
|
+
|
23
|
+
section {
|
24
|
+
overflow: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
textarea {
|
28
|
+
resize: vertical;
|
29
|
+
}
|
30
|
+
|
31
|
+
.center {
|
32
|
+
text-align: center;
|
33
|
+
h1 {
|
34
|
+
margin-bottom: 10px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@mixin box_sizing {
|
39
|
+
-moz-box-sizing: border-box;
|
40
|
+
-webkit-box-sizing: border-box;
|
41
|
+
box-sizing: border-box;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* typography */
|
45
|
+
|
46
|
+
h1, h2, h3, h4, h5, h6 {
|
47
|
+
line-height: 1;
|
48
|
+
}
|
49
|
+
|
50
|
+
h1 {
|
51
|
+
font-size: 2em;
|
52
|
+
letter-spacing: -2px;
|
53
|
+
margin-bottom: 30px;
|
54
|
+
text-align: center;
|
55
|
+
}
|
56
|
+
|
57
|
+
h2 {
|
58
|
+
font-size: 1.4em;
|
59
|
+
letter-spacing: -1px;
|
60
|
+
margin-bottom: 30px;
|
61
|
+
text-align: center;
|
62
|
+
font-weight: normal;
|
63
|
+
color: $grayLight;
|
64
|
+
}
|
65
|
+
|
66
|
+
p {
|
67
|
+
font-size: 1.1em;
|
68
|
+
line-height: 1.7em;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
/* header */
|
73
|
+
|
74
|
+
/*#ISSUE NAV~>*/
|
75
|
+
.navbar .nav { height: $navbarHeight; }
|
76
|
+
|
77
|
+
.navbar .nav > li > a {
|
78
|
+
padding: ($navbarHeight - 20)/2 10px (($navbarHeight - 20)/2 + 1);
|
79
|
+
}
|
80
|
+
|
81
|
+
.navbar .brand {
|
82
|
+
padding: ((($navbarHeight - 20) / 2) * 0.8) 20px ((($navbarHeight - 20) / 2) * 1.2);
|
83
|
+
}
|
84
|
+
/*#<~ISSUE NAV*/
|
85
|
+
|
86
|
+
#logo {
|
87
|
+
float: left;
|
88
|
+
margin-right: 10px;
|
89
|
+
font-size: 1.7em;
|
90
|
+
color: white;
|
91
|
+
text-transform: uppercase;
|
92
|
+
letter-spacing: -1px;
|
93
|
+
font-weight: bold;
|
94
|
+
line-height: 1;
|
95
|
+
&:hover {
|
96
|
+
color: white;
|
97
|
+
text-decoration: none;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
/* footer */
|
103
|
+
|
104
|
+
footer {
|
105
|
+
margin-top: 45px;
|
106
|
+
padding-top: 5px;
|
107
|
+
border-top: 1px solid $grayMediumLight;
|
108
|
+
color: $grayLight;
|
109
|
+
a {
|
110
|
+
color: $gray;
|
111
|
+
&:hover {
|
112
|
+
color: $grayDarker;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
small {
|
116
|
+
float: left;
|
117
|
+
}
|
118
|
+
ul {
|
119
|
+
float: right;
|
120
|
+
list-style: none;
|
121
|
+
li {
|
122
|
+
float: left;
|
123
|
+
margin-left: 10px;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
/* miscellaneous */
|
129
|
+
|
130
|
+
.debug_dump {
|
131
|
+
clear: both;
|
132
|
+
float: left;
|
133
|
+
width: 100%;
|
134
|
+
margin-top: 45px;
|
135
|
+
@include box_sizing;
|
136
|
+
}
|
137
|
+
|
138
|
+
/* sidebar */
|
139
|
+
|
140
|
+
aside {
|
141
|
+
section {
|
142
|
+
padding: 10px 0;
|
143
|
+
border-top: 1px solid $grayLighter;
|
144
|
+
&:first-child {
|
145
|
+
border: 0;
|
146
|
+
padding-top: 0;
|
147
|
+
}
|
148
|
+
span {
|
149
|
+
display: block;
|
150
|
+
margin-bottom: 3px;
|
151
|
+
line-height: 1;
|
152
|
+
}
|
153
|
+
h1 {
|
154
|
+
font-size: 1.6em;
|
155
|
+
text-align: left;
|
156
|
+
letter-spacing: -1px;
|
157
|
+
margin-bottom: 3px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
.gravatar {
|
163
|
+
float: left;
|
164
|
+
margin-right: 10px;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* forms */
|
168
|
+
|
169
|
+
input, textarea, select, .uneditable-input {
|
170
|
+
border: 1px solid #bbb;
|
171
|
+
width: 100%;
|
172
|
+
padding: 2px;
|
173
|
+
height: auto;
|
174
|
+
margin-bottom: 1px;
|
175
|
+
@include box_sizing;
|
176
|
+
}
|
177
|
+
|
178
|
+
form .label {
|
179
|
+
background: $white;
|
180
|
+
color: $grayDark;
|
181
|
+
}
|
182
|
+
|
183
|
+
input, textarea, select {
|
184
|
+
font-size: 14px;
|
185
|
+
text-transform:uppercase;
|
186
|
+
margin-top: -4px;
|
187
|
+
}
|
188
|
+
|
189
|
+
#error_explanation {
|
190
|
+
color: #f00;
|
191
|
+
ul {
|
192
|
+
list-style: none;
|
193
|
+
margin: 0 0 18px 0;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
.field_with_errors {
|
198
|
+
@extend .control-group;
|
199
|
+
@extend .error;
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
ul {
|
204
|
+
list-style-type: none ;
|
205
|
+
}
|
206
|
+
|
207
|
+
.inline {
|
208
|
+
display: inline;
|
209
|
+
display: inline-block;
|
210
|
+
padding: 0px 3px 0px 3px ;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* show views */
|
214
|
+
|
215
|
+
.show {
|
216
|
+
.control-group {
|
217
|
+
background: #f1f1f1;
|
218
|
+
margin-top: 20px;
|
219
|
+
padding-bottom: 10px;
|
220
|
+
label {
|
221
|
+
background: #ffffff;
|
222
|
+
margin-bottom: 10px;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.controls {
|
227
|
+
min-height: 13px;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
.edit, .new {
|
232
|
+
.control-group {
|
233
|
+
background: inherit;
|
234
|
+
margin-top: 5px;
|
235
|
+
padding-bottom: 5px;
|
236
|
+
label {
|
237
|
+
background: #ffffff;
|
238
|
+
margin-bottom: 5px;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
.controls {
|
243
|
+
min-height: 13px;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
/* users index */
|
248
|
+
|
249
|
+
.users {
|
250
|
+
list-style: none;
|
251
|
+
margin: 0;
|
252
|
+
li {
|
253
|
+
overflow: auto;
|
254
|
+
padding: 10px 0;
|
255
|
+
border-top: 1px solid $grayLighter;
|
256
|
+
&:last-child {
|
257
|
+
border-bottom: 1px solid $grayLighter;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
/* microposts */
|
263
|
+
|
264
|
+
.microposts {
|
265
|
+
list-style: none;
|
266
|
+
margin: 10px 0 0 0;
|
267
|
+
|
268
|
+
li {
|
269
|
+
padding: 10px 0;
|
270
|
+
border-top: 1px solid #e8e8e8;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
.content {
|
274
|
+
display: block;
|
275
|
+
}
|
276
|
+
.timestamp {
|
277
|
+
color: $grayLight;
|
278
|
+
}
|
279
|
+
.gravatar {
|
280
|
+
float: left;
|
281
|
+
margin-right: 10px;
|
282
|
+
}
|
283
|
+
aside {
|
284
|
+
textarea {
|
285
|
+
height: 100px;
|
286
|
+
margin-bottom: 5px;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
/* Commons */
|
293
|
+
|
294
|
+
.well-compact {
|
295
|
+
@extend .well;
|
296
|
+
|
297
|
+
margin-top: 10px;
|
298
|
+
padding: 10px;
|
299
|
+
}
|
300
|
+
|
301
|
+
/* formtastic */
|
302
|
+
|
303
|
+
fieldset.inputs ol {
|
304
|
+
list-style: none;
|
305
|
+
}
|
306
|
+
|
307
|
+
fieldset.actions {
|
308
|
+
|
309
|
+
.action {
|
310
|
+
input {
|
311
|
+
@extend .btn;
|
312
|
+
@extend .btn-primary;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
|
316
|
+
ol {
|
317
|
+
list-style: none;
|
318
|
+
margin: 0;
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
|
@@ -0,0 +1,165 @@
|
|
1
|
+
/* Copyright: Guillermo Rauch <http://devthought.com/> - Distributed under MIT - Keep this message! */
|
2
|
+
|
3
|
+
/* TextboxList sample CSS */
|
4
|
+
ul.holder {
|
5
|
+
margin: 0;
|
6
|
+
border: 1px solid #999;
|
7
|
+
overflow: hidden;
|
8
|
+
height: auto !important;
|
9
|
+
height: 1%;
|
10
|
+
padding: 4px 5px 0;
|
11
|
+
}
|
12
|
+
*:first-child+html ul.holder {
|
13
|
+
padding-bottom: 2px;
|
14
|
+
}
|
15
|
+
* html ul.holder {
|
16
|
+
padding-bottom: 2px;
|
17
|
+
}
|
18
|
+
/* ie7 and below */
|
19
|
+
ul.holder li {
|
20
|
+
float: left;
|
21
|
+
list-style-type: none;
|
22
|
+
margin: 0 5px 4px 0;
|
23
|
+
white-space: nowrap;
|
24
|
+
}
|
25
|
+
ul.holder li.bit-box, ul.holder li.bit-input input {
|
26
|
+
font: 11px "Lucida Grande", "Verdana";
|
27
|
+
}
|
28
|
+
ul.holder li.bit-box {
|
29
|
+
-moz-border-radius: 6px;
|
30
|
+
-webkit-border-radius: 6px;
|
31
|
+
border-radius: 6px;
|
32
|
+
border: 1px solid #CAD8F3;
|
33
|
+
background: #DEE7F8;
|
34
|
+
padding: 1px 5px 2px;
|
35
|
+
}
|
36
|
+
ul.holder li.bit-box-focus {
|
37
|
+
border-color: #598BEC;
|
38
|
+
background: #598BEC;
|
39
|
+
color: #fff;
|
40
|
+
}
|
41
|
+
ul.holder li.bit-input input {
|
42
|
+
width: auto;
|
43
|
+
overflow: visible;
|
44
|
+
margin: 0;
|
45
|
+
border: 0px;
|
46
|
+
outline: 0;
|
47
|
+
padding: 3px 0px 2px;
|
48
|
+
}
|
49
|
+
/* no left/right padding here please */
|
50
|
+
ul.holder li.bit-input input.smallinput {
|
51
|
+
width: 20px;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Facebook demo CSS */
|
55
|
+
ul.holder {
|
56
|
+
margin: 0 !important;
|
57
|
+
}
|
58
|
+
ul.holder li.bit-box, #apple-list ul.holder li.bit-box {
|
59
|
+
padding-right: 15px;
|
60
|
+
position: relative;
|
61
|
+
z-index: 1000;
|
62
|
+
}
|
63
|
+
#apple-list ul.holder li.bit-input {
|
64
|
+
margin: 0;
|
65
|
+
}
|
66
|
+
#apple-list ul.holder li.bit-input input.smallinput {
|
67
|
+
width: 5px;
|
68
|
+
}
|
69
|
+
ul.holder li.bit-hover {
|
70
|
+
background: #BBCEF1;
|
71
|
+
border: 1px solid #6D95E0;
|
72
|
+
}
|
73
|
+
ul.holder li.bit-box-focus {
|
74
|
+
border-color: #598BEC;
|
75
|
+
background: #598BEC;
|
76
|
+
color: #fff;
|
77
|
+
}
|
78
|
+
ul.holder li.bit-box a.closebutton {
|
79
|
+
position: absolute;
|
80
|
+
right: 4px;
|
81
|
+
top: 5px;
|
82
|
+
display: block;
|
83
|
+
width: 7px;
|
84
|
+
height: 7px;
|
85
|
+
font-size: 1px;
|
86
|
+
background: url('/assets/close.gif');
|
87
|
+
}
|
88
|
+
ul.holder li.bit-box a.closebutton:hover {
|
89
|
+
background-position: 7px;
|
90
|
+
}
|
91
|
+
ul.holder li.bit-box-focus a.closebutton, ul.holder li.bit-box-focus a.closebutton:hover {
|
92
|
+
background-position: bottom;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
/* Autocompleter */
|
97
|
+
|
98
|
+
.facebook-auto {
|
99
|
+
display: none;
|
100
|
+
position: absolute;
|
101
|
+
background: #eee;
|
102
|
+
z-index: 1001;
|
103
|
+
}
|
104
|
+
.facebook-auto .select_all_items {
|
105
|
+
display: block;
|
106
|
+
float: right;
|
107
|
+
}
|
108
|
+
.facebook-auto .default {
|
109
|
+
padding: 5px 7px;
|
110
|
+
border: 1px solid #ccc;
|
111
|
+
border-width: 0 1px 1px;
|
112
|
+
font-family: "Lucida Grande","Verdana";
|
113
|
+
font-size: 11px;
|
114
|
+
}
|
115
|
+
.facebook-auto ul {
|
116
|
+
display: none;
|
117
|
+
margin: 0;
|
118
|
+
padding: 0;
|
119
|
+
overflow: auto;
|
120
|
+
position: absolute;
|
121
|
+
z-index: 9999
|
122
|
+
}
|
123
|
+
.facebook-auto ul li {
|
124
|
+
padding: 5px 12px;
|
125
|
+
z-index: 1000;
|
126
|
+
cursor: pointer;
|
127
|
+
margin: 0;
|
128
|
+
list-style-type: none;
|
129
|
+
border: 1px solid #ccc;
|
130
|
+
border-width: 0 1px 1px;
|
131
|
+
font: 11px "Lucida Grande", "Verdana";
|
132
|
+
background-color: #eee
|
133
|
+
}
|
134
|
+
.facebook-auto ul li em {
|
135
|
+
font-weight: bold;
|
136
|
+
font-style: normal;
|
137
|
+
background: #ccc;
|
138
|
+
}
|
139
|
+
.facebook-auto ul li.auto-focus {
|
140
|
+
background: #4173CC;
|
141
|
+
color: #fff;
|
142
|
+
}
|
143
|
+
.facebook-auto ul li.auto-focus em {
|
144
|
+
background: none;
|
145
|
+
}
|
146
|
+
.deleted {
|
147
|
+
background-color: #4173CC !important;
|
148
|
+
color: #ffffff !important;
|
149
|
+
}
|
150
|
+
.hidden {
|
151
|
+
display: none;
|
152
|
+
}
|
153
|
+
|
154
|
+
#demo ul.holder li.bit-input input {
|
155
|
+
padding: 2px 0 1px;
|
156
|
+
border: 1px solid #999;
|
157
|
+
}
|
158
|
+
.ie6fix {
|
159
|
+
height: 1px;
|
160
|
+
width: 1px;
|
161
|
+
position: absolute;
|
162
|
+
top: 0px;
|
163
|
+
left: 0px;
|
164
|
+
z-index: 1;
|
165
|
+
}
|