platform 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +21 -0
- data/.rspec +2 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +191 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +5 -0
- data/Rakefile +37 -0
- data/app/assets/images/platform/.gitkeep +0 -0
- data/app/assets/images/platform/accept.png +0 -0
- data/app/assets/images/platform/action_tab_bkgd.gif +0 -0
- data/app/assets/images/platform/action_tab_white_bkgd.gif +0 -0
- data/app/assets/images/platform/add.png +0 -0
- data/app/assets/images/platform/apps/app_icon.gif +0 -0
- data/app/assets/images/platform/apps/app_logo.gif +0 -0
- data/app/assets/images/platform/arrow_down.gif +0 -0
- data/app/assets/images/platform/arrow_down.png +0 -0
- data/app/assets/images/platform/arrow_down_grey.png +0 -0
- data/app/assets/images/platform/arrow_right.gif +0 -0
- data/app/assets/images/platform/arrow_up.png +0 -0
- data/app/assets/images/platform/arrow_up_grey.png +0 -0
- data/app/assets/images/platform/bullet_go.png +0 -0
- data/app/assets/images/platform/buttons.png +0 -0
- data/app/assets/images/platform/cancel.png +0 -0
- data/app/assets/images/platform/clipboard_icon.gif +0 -0
- data/app/assets/images/platform/close.gif +0 -0
- data/app/assets/images/platform/cross.png +0 -0
- data/app/assets/images/platform/default_app_icon.gif +0 -0
- data/app/assets/images/platform/default_app_logo.gif +0 -0
- data/app/assets/images/platform/delete.png +0 -0
- data/app/assets/images/platform/disk.png +0 -0
- data/app/assets/images/platform/exclamation.png +0 -0
- data/app/assets/images/platform/eye.png +0 -0
- data/app/assets/images/platform/eye_not.png +0 -0
- data/app/assets/images/platform/field_sprite.gif +0 -0
- data/app/assets/images/platform/find.png +0 -0
- data/app/assets/images/platform/globe.gif +0 -0
- data/app/assets/images/platform/help.png +0 -0
- data/app/assets/images/platform/help/app_reg.png +0 -0
- data/app/assets/images/platform/help/app_reg_ext.png +0 -0
- data/app/assets/images/platform/help/app_reg_web.png +0 -0
- data/app/assets/images/platform/help/auth_desktop.png +0 -0
- data/app/assets/images/platform/help/auth_iframe.png +0 -0
- data/app/assets/images/platform/help/auth_iphone.png +0 -0
- data/app/assets/images/platform/help/auth_web.png +0 -0
- data/app/assets/images/platform/help/authorize.png +0 -0
- data/app/assets/images/platform/help/ext.png +0 -0
- data/app/assets/images/platform/help/login.png +0 -0
- data/app/assets/images/platform/help/login_desktop.png +0 -0
- data/app/assets/images/platform/help/login_iphone.png +0 -0
- data/app/assets/images/platform/help/login_web.png +0 -0
- data/app/assets/images/platform/help2.png +0 -0
- data/app/assets/images/platform/information.png +0 -0
- data/app/assets/images/platform/keyboard.png +0 -0
- data/app/assets/images/platform/language_selector_arrow.gif +0 -0
- data/app/assets/images/platform/left_quote.png +0 -0
- data/app/assets/images/platform/lightning.png +0 -0
- data/app/assets/images/platform/loading.gif +0 -0
- data/app/assets/images/platform/loading2.gif +0 -0
- data/app/assets/images/platform/loading3.gif +0 -0
- data/app/assets/images/platform/loading_animation.gif +0 -0
- data/app/assets/images/platform/loading_large.gif +0 -0
- data/app/assets/images/platform/lock.png +0 -0
- data/app/assets/images/platform/lock_add.png +0 -0
- data/app/assets/images/platform/lock_delete.png +0 -0
- data/app/assets/images/platform/lock_open.png +0 -0
- data/app/assets/images/platform/medals/bronze.png +0 -0
- data/app/assets/images/platform/medals/gold.png +0 -0
- data/app/assets/images/platform/medals/runner.png +0 -0
- data/app/assets/images/platform/medals/silver.png +0 -0
- data/app/assets/images/platform/minus_node.png +0 -0
- data/app/assets/images/platform/oauth/perm_tile.gif +0 -0
- data/app/assets/images/platform/oauth/right_grey.png +0 -0
- data/app/assets/images/platform/pencil.png +0 -0
- data/app/assets/images/platform/photo_silhouette.gif +0 -0
- data/app/assets/images/platform/pixel.gif +0 -0
- data/app/assets/images/platform/platform.png +0 -0
- data/app/assets/images/platform/platform2.png +0 -0
- data/app/assets/images/platform/platform3.png +0 -0
- data/app/assets/images/platform/platform4.png +0 -0
- data/app/assets/images/platform/platform5.png +0 -0
- data/app/assets/images/platform/plus.png +0 -0
- data/app/assets/images/platform/plus_node.png +0 -0
- data/app/assets/images/platform/random.png +0 -0
- data/app/assets/images/platform/random2.png +0 -0
- data/app/assets/images/platform/rating_star0.png +0 -0
- data/app/assets/images/platform/rating_star05.png +0 -0
- data/app/assets/images/platform/rating_star1.png +0 -0
- data/app/assets/images/platform/rating_stars.gif +0 -0
- data/app/assets/images/platform/rating_stars.psd +0 -0
- data/app/assets/images/platform/reply.png +0 -0
- data/app/assets/images/platform/right_quote.png +0 -0
- data/app/assets/images/platform/rotating_world.gif +0 -0
- data/app/assets/images/platform/script.png +0 -0
- data/app/assets/images/platform/script_edit.png +0 -0
- data/app/assets/images/platform/script_gear.png +0 -0
- data/app/assets/images/platform/site_sprite.gif +0 -0
- data/app/assets/images/platform/spinner.gif +0 -0
- data/app/assets/images/platform/star.png +0 -0
- data/app/assets/images/platform/table_edit.png +0 -0
- data/app/assets/images/platform/table_gear.png +0 -0
- data/app/assets/images/platform/table_multiple.png +0 -0
- data/app/assets/images/platform/thumb_down.png +0 -0
- data/app/assets/images/platform/thumb_up.png +0 -0
- data/app/assets/images/platform/top_left_stem.png +0 -0
- data/app/assets/images/platform/top_right_stem.png +0 -0
- data/app/assets/images/platform/translate_icn.gif +0 -0
- data/app/assets/images/platform/treeview/diffDoc.gif +0 -0
- data/app/assets/images/platform/treeview/diffFolder.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2blank.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2doc.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2folderclosed.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2folderopen.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2lastnode.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2link.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2mlastnode.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2mnode.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2node.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2plastnode.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2pnode.gif +0 -0
- data/app/assets/images/platform/treeview/ftv2vertline.gif +0 -0
- data/app/assets/images/platform/wizard.png +0 -0
- data/app/assets/images/platform/world_link.png +0 -0
- data/app/assets/javascripts/platform/api_explorer.js +628 -0
- data/app/assets/javascripts/platform/application.js +9 -0
- data/app/assets/javascripts/platform/ftiens4.js +1197 -0
- data/app/assets/javascripts/platform/jsdk.js +539 -0
- data/app/assets/javascripts/platform/platform.js +447 -0
- data/app/assets/javascripts/platform/shortcut.js +223 -0
- data/app/assets/javascripts/platform/ua.js +147 -0
- data/app/assets/stylesheets/platform/api_explorer.css.scss +140 -0
- data/app/assets/stylesheets/platform/application.css.scss +6 -0
- data/app/assets/stylesheets/platform/components.css.scss +208 -0
- data/app/assets/stylesheets/platform/layout.css.scss +119 -0
- data/app/assets/stylesheets/platform/oauth.css +51 -0
- data/app/assets/stylesheets/platform/platform.css.scss +311 -0
- data/app/controllers/platform/admin/apps_controller.rb +99 -0
- data/app/controllers/platform/admin/base_controller.rb +60 -0
- data/app/controllers/platform/admin/categories_controller.rb +132 -0
- data/app/controllers/platform/admin/clientsdk_controller.rb +30 -0
- data/app/controllers/platform/admin/developers_controller.rb +30 -0
- data/app/controllers/platform/admin/exceptions_controller.rb +30 -0
- data/app/controllers/platform/admin/forum_controller.rb +34 -0
- data/app/controllers/platform/admin/metrics_controller.rb +42 -0
- data/app/controllers/platform/api/apps_controller.rb +40 -0
- data/app/controllers/platform/api/base_controller.rb +541 -0
- data/app/controllers/platform/apps_controller.rb +142 -0
- data/app/controllers/platform/base_controller.rb +127 -0
- data/app/controllers/platform/developer/api_explorer_controller.rb +56 -0
- data/app/controllers/platform/developer/apps_controller.rb +161 -0
- data/app/controllers/platform/developer/base_controller.rb +51 -0
- data/app/controllers/platform/developer/blog_controller.rb +29 -0
- data/app/controllers/platform/developer/dashboard_controller.rb +63 -0
- data/app/controllers/platform/developer/forum_controller.rb +85 -0
- data/app/controllers/platform/developer/help_controller.rb +113 -0
- data/app/controllers/platform/developer/info_controller.rb +41 -0
- data/app/controllers/platform/developer/registration_controller.rb +39 -0
- data/app/controllers/platform/developer/resources_controller.rb +30 -0
- data/app/controllers/platform/forum_controller.rb +74 -0
- data/app/controllers/platform/oauth_controller.rb +421 -0
- data/app/controllers/platform/ratings_controller.rb +61 -0
- data/app/helpers/platform/admin/categories_helper.rb +54 -0
- data/app/helpers/platform/apps_helper.rb +26 -0
- data/app/helpers/platform/developer/dashboard_helper.rb +42 -0
- data/app/helpers/platform/developer/help_helper.rb +45 -0
- data/app/helpers/platform_helper.rb +26 -0
- data/app/models/platform/application.rb +394 -0
- data/app/models/platform/application_category.rb +34 -0
- data/app/models/platform/application_developer.rb +30 -0
- data/app/models/platform/application_filter.rb +30 -0
- data/app/models/platform/application_log.rb +32 -0
- data/app/models/platform/application_log_filter.rb +34 -0
- data/app/models/platform/application_metric.rb +58 -0
- data/app/models/platform/application_metric_filter.rb +34 -0
- data/app/models/platform/application_permission.rb +30 -0
- data/app/models/platform/application_permission_filter.rb +30 -0
- data/app/models/platform/application_usage_metric.rb +58 -0
- data/app/models/platform/application_usage_metric_filter.rb +34 -0
- data/app/models/platform/application_user.rb +45 -0
- data/app/models/platform/application_user_filter.rb +34 -0
- data/app/models/platform/base_filter.rb +46 -0
- data/app/models/platform/category.rb +64 -0
- data/app/models/platform/daily_application_metric.rb +31 -0
- data/app/models/platform/developer.rb +45 -0
- data/app/models/platform/developer_filter.rb +26 -0
- data/app/models/platform/forum_message.rb +35 -0
- data/app/models/platform/forum_message_filter.rb +26 -0
- data/app/models/platform/forum_topic.rb +38 -0
- data/app/models/platform/forum_topic_filter.rb +26 -0
- data/app/models/platform/logged_exception.rb +290 -0
- data/app/models/platform/logged_exception_filter.rb +58 -0
- data/app/models/platform/media/image.rb +26 -0
- data/app/models/platform/media/media.rb +58 -0
- data/app/models/platform/monthly_application_metric.rb +31 -0
- data/app/models/platform/oauth/access_token.rb +57 -0
- data/app/models/platform/oauth/client_token.rb +38 -0
- data/app/models/platform/oauth/oauth_model_methods.rb +41 -0
- data/app/models/platform/oauth/oauth_token.rb +57 -0
- data/app/models/platform/oauth/oauth_token_filter.rb +34 -0
- data/app/models/platform/oauth/refresh_token.rb +47 -0
- data/app/models/platform/oauth/request_token.rb +50 -0
- data/app/models/platform/permission.rb +27 -0
- data/app/models/platform/rating.rb +43 -0
- data/app/models/platform/rating_filter.rb +30 -0
- data/app/models/platform/rollup_log.rb +27 -0
- data/app/models/platform/rollup_log_filter.rb +30 -0
- data/app/models/platform/total_application_metric.rb +40 -0
- data/app/models/platform/weekly_application_metric.rb +31 -0
- data/app/views/platform/admin/apps/_categories.html.erb +17 -0
- data/app/views/platform/admin/apps/_categories_scripts.html.erb +17 -0
- data/app/views/platform/admin/apps/_tabs.html.erb +25 -0
- data/app/views/platform/admin/apps/index.html.erb +32 -0
- data/app/views/platform/admin/apps/permissions.html.erb +7 -0
- data/app/views/platform/admin/apps/ratings.html.erb +7 -0
- data/app/views/platform/admin/apps/tokens.html.erb +18 -0
- data/app/views/platform/admin/apps/users.html.erb +7 -0
- data/app/views/platform/admin/apps/view.html.erb +170 -0
- data/app/views/platform/admin/categories/_tabs.html.erb +22 -0
- data/app/views/platform/admin/categories/category_assigner.html.erb +9 -0
- data/app/views/platform/admin/categories/category_assigner_tree.html.erb +81 -0
- data/app/views/platform/admin/categories/index.html.erb +106 -0
- data/app/views/platform/admin/categories/items.html.erb +153 -0
- data/app/views/platform/admin/categories/lb_update_application_category.html.erb +54 -0
- data/app/views/platform/admin/categories/lb_update_category.html.erb +64 -0
- data/app/views/platform/admin/categories/tree.html.erb +64 -0
- data/app/views/platform/admin/clientsdk/index.html.erb +89 -0
- data/app/views/platform/admin/common/_footer.html.erb +1 -0
- data/app/views/platform/admin/common/_header.html.erb +32 -0
- data/app/views/platform/admin/common/_lightbox_buttons.html.erb +5 -0
- data/app/views/platform/admin/common/_paginator.html.erb +20 -0
- data/app/views/platform/admin/developers/_tabs.html.erb +22 -0
- data/app/views/platform/admin/developers/index.html.erb +7 -0
- data/app/views/platform/admin/exceptions/_tabs.html.erb +22 -0
- data/app/views/platform/admin/exceptions/index.html.erb +7 -0
- data/app/views/platform/admin/forum/_tabs.html.erb +22 -0
- data/app/views/platform/admin/forum/index.html.erb +7 -0
- data/app/views/platform/admin/forum/messages.html.erb +7 -0
- data/app/views/platform/admin/metrics/_tabs.html.erb +25 -0
- data/app/views/platform/admin/metrics/application_log.html.erb +7 -0
- data/app/views/platform/admin/metrics/index.html.erb +9 -0
- data/app/views/platform/admin/metrics/rollup_log.html.erb +7 -0
- data/app/views/platform/admin/metrics/usage.html.erb +7 -0
- data/app/views/platform/apps/_actions_module.html.erb +3 -0
- data/app/views/platform/apps/_app_footer.html.erb +8 -0
- data/app/views/platform/apps/_app_header.html.erb +25 -0
- data/app/views/platform/apps/_apps_module.html.erb +42 -0
- data/app/views/platform/apps/_authorize_form.html.erb +11 -0
- data/app/views/platform/apps/_categories_module.html.erb +11 -0
- data/app/views/platform/apps/_featured_apps_module.html.erb +40 -0
- data/app/views/platform/apps/_left.html.erb +20 -0
- data/app/views/platform/apps/_monthly_users_module.html.erb +8 -0
- data/app/views/platform/apps/_paginator.html.erb +13 -0
- data/app/views/platform/apps/_rank_module.html.erb +18 -0
- data/app/views/platform/apps/_search_apps_module.html.erb +35 -0
- data/app/views/platform/apps/canvas_app.html.erb +15 -0
- data/app/views/platform/apps/index.html.erb +86 -0
- data/app/views/platform/apps/view.html.erb +71 -0
- data/app/views/platform/apps/xd.html.erb +11 -0
- data/app/views/platform/common/_footer.html.erb +1 -0
- data/app/views/platform/common/_header.html.erb +4 -0
- data/app/views/platform/common/_paginator.html.erb +32 -0
- data/app/views/platform/common/_scripts.html.erb +7 -0
- data/app/views/platform/common/_user_login.html.erb +11 -0
- data/app/views/platform/developer/api_explorer/history.html.erb +31 -0
- data/app/views/platform/developer/api_explorer/index.html.erb +134 -0
- data/app/views/platform/developer/api_explorer/oauth_lander.html.erb +4 -0
- data/app/views/platform/developer/api_explorer/options.html.erb +44 -0
- data/app/views/platform/developer/apps/_form.html.erb +340 -0
- data/app/views/platform/developer/apps/create_version.html.erb +19 -0
- data/app/views/platform/developer/apps/edit.html.erb +21 -0
- data/app/views/platform/developer/apps/index.html.erb +375 -0
- data/app/views/platform/developer/apps/new.html.erb +20 -0
- data/app/views/platform/developer/blog/index.html.erb +7 -0
- data/app/views/platform/developer/common/_footer.html.erb +1 -0
- data/app/views/platform/developer/common/_header.html.erb +34 -0
- data/app/views/platform/developer/dashboard/_apps_info.html.erb +84 -0
- data/app/views/platform/developer/dashboard/_discussions.html.erb +68 -0
- data/app/views/platform/developer/dashboard/_header.html.erb +12 -0
- data/app/views/platform/developer/dashboard/_reviews.html.erb +53 -0
- data/app/views/platform/developer/dashboard/_statistics.html.erb +105 -0
- data/app/views/platform/developer/dashboard/index.html.erb +85 -0
- data/app/views/platform/developer/dashboard/settings.html.erb +23 -0
- data/app/views/platform/developer/forum/_message.html.erb +17 -0
- data/app/views/platform/developer/forum/_messages.html.erb +14 -0
- data/app/views/platform/developer/forum/_new_message.html.erb +28 -0
- data/app/views/platform/developer/forum/_new_topic.html.erb +39 -0
- data/app/views/platform/developer/forum/index.html.erb +89 -0
- data/app/views/platform/developer/forum/topic.html.erb +28 -0
- data/app/views/platform/developer/help/_footer.html.erb +4 -0
- data/app/views/platform/developer/help/_header.html.erb +95 -0
- data/app/views/platform/developer/help/_navigation.html.erb +99 -0
- data/app/views/platform/developer/help/api.html.erb +120 -0
- data/app/views/platform/developer/help/credits.html.erb +77 -0
- data/app/views/platform/developer/help/index.html.erb +19 -0
- data/app/views/platform/developer/help/license.html.erb +586 -0
- data/app/views/platform/developer/help/oauth_app_login.html.erb +177 -0
- data/app/views/platform/developer/help/oauth_client_side.html.erb +264 -0
- data/app/views/platform/developer/help/oauth_desktop.html.erb +191 -0
- data/app/views/platform/developer/help/oauth_extensions.html.erb +342 -0
- data/app/views/platform/developer/help/oauth_intro.html.erb +371 -0
- data/app/views/platform/developer/help/oauth_mobile.html.erb +292 -0
- data/app/views/platform/developer/help/oauth_server_side.html.erb +603 -0
- data/app/views/platform/developer/help/oauth_trusted_client.html.erb +202 -0
- data/app/views/platform/developer/help/reference.html.erb +42 -0
- data/app/views/platform/developer/help/sdk_ios.html.erb +31 -0
- data/app/views/platform/developer/help/sdk_js.html.erb +202 -0
- data/app/views/platform/developer/info/_basic_info.html.erb +74 -0
- data/app/views/platform/developer/info/_header.html.erb +12 -0
- data/app/views/platform/developer/info/index.html.erb +23 -0
- data/app/views/platform/developer/registration/index.html.erb +134 -0
- data/app/views/platform/developer/resources/index.html.erb +23 -0
- data/app/views/platform/forum/_message.html.erb +17 -0
- data/app/views/platform/forum/_messages.html.erb +14 -0
- data/app/views/platform/forum/_new_message.html.erb +26 -0
- data/app/views/platform/forum/_new_topic.html.erb +38 -0
- data/app/views/platform/forum/_topic.html.erb +18 -0
- data/app/views/platform/forum/_topics.html.erb +74 -0
- data/app/views/platform/login/index.html.erb +31 -0
- data/app/views/platform/login/register.html.erb +55 -0
- data/app/views/platform/oauth/_authorization_box.html.erb +75 -0
- data/app/views/platform/oauth/_authorization_popup.html.erb +38 -0
- data/app/views/platform/oauth/_authorize_form.html.erb +11 -0
- data/app/views/platform/oauth/auth_failed.html.erb +0 -0
- data/app/views/platform/oauth/auth_success.html.erb +0 -0
- data/app/views/platform/oauth/authorize_desktop.html.erb +76 -0
- data/app/views/platform/oauth/authorize_failure_iframe.html.erb +1 -0
- data/app/views/platform/oauth/authorize_failure_mobile.html.erb +24 -0
- data/app/views/platform/oauth/authorize_failure_popup.html.erb +24 -0
- data/app/views/platform/oauth/authorize_failure_web.html.erb +1 -0
- data/app/views/platform/oauth/authorize_iframe.html.erb +16 -0
- data/app/views/platform/oauth/authorize_mobile.html.erb +1 -0
- data/app/views/platform/oauth/authorize_popup.html.erb +1 -0
- data/app/views/platform/oauth/authorize_success_iframe.html.erb +1 -0
- data/app/views/platform/oauth/authorize_success_mobile.html.erb +24 -0
- data/app/views/platform/oauth/authorize_success_popup.html.erb +24 -0
- data/app/views/platform/oauth/authorize_success_web.html.erb +1 -0
- data/app/views/platform/oauth/authorize_web.html.erb +3 -0
- data/app/views/platform/oauth/xd.html.erb +13 -0
- data/app/views/platform/ratings/_list.html.erb +30 -0
- data/app/views/platform/ratings/_new.html.erb +70 -0
- data/app/views/platform/ratings/_rating.html.erb +17 -0
- data/config/platform/config.yml +133 -0
- data/config/platform/data/default_applications.yml +39 -0
- data/config/platform/data/default_categories.yml +56 -0
- data/config/platform/data/default_permissions.yml +0 -0
- data/config/platform/site/features.yml +66 -0
- data/config/routes.rb +59 -0
- data/db/migrate/20110602232141_create_platform_tables.rb +262 -0
- data/docs/Classes.graffle +7315 -0
- data/docs/Classes.pdf +0 -0
- data/lib/generators/platform/platform_generator.rb +56 -0
- data/lib/generators/platform/templates/db/create_platform_tables.rb +262 -0
- data/lib/generators/platform/templates/layouts/platform.html.erb +49 -0
- data/lib/generators/platform/templates/layouts/platform_admin.html.erb +60 -0
- data/lib/platform.rb +6 -0
- data/lib/platform/api/already_jsoned_string.rb +9 -0
- data/lib/platform/api/proxy.rb +45 -0
- data/lib/platform/api/proxy/base.rb +62 -0
- data/lib/platform/cache.rb +78 -0
- data/lib/platform/config.rb +666 -0
- data/lib/platform/engine.rb +5 -0
- data/lib/platform/exception.rb +27 -0
- data/lib/platform/extensions/action_controller_extension.rb +65 -0
- data/lib/platform/extensions/action_view_extension.rb +168 -0
- data/lib/platform/extensions/object_extension.rb +51 -0
- data/lib/platform/helper.rb +33 -0
- data/lib/platform/logger.rb +62 -0
- data/lib/platform/railtie.rb +52 -0
- data/lib/platform/random_password_generator.rb +76 -0
- data/lib/platform/simple_string_permissions.rb +40 -0
- data/lib/platform/version.rb +3 -0
- data/lib/tasks/platform.rake +119 -0
- data/platform.gemspec +45 -0
- data/script/rails +6 -0
- data/spec/config/config_spec.rb +10 -0
- data/spec/dummy_app.rb +52 -0
- data/spec/models/application_spec.rb +53 -0
- data/spec/models/developer_spec.rb +23 -0
- data/spec/spec_helper.rb +29 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +7 -0
- data/test/dummy/app/assets/stylesheets/admin.css +200 -0
- data/test/dummy/app/assets/stylesheets/application.css +47 -0
- data/test/dummy/app/assets/stylesheets/components.css.scss +211 -0
- data/test/dummy/app/assets/stylesheets/layout.css.scss +143 -0
- data/test/dummy/app/controllers/admin/admins_controller.rb +7 -0
- data/test/dummy/app/controllers/admin/base_controller.rb +12 -0
- data/test/dummy/app/controllers/admin/bookmarks_controller.rb +7 -0
- data/test/dummy/app/controllers/admin/users_controller.rb +19 -0
- data/test/dummy/app/controllers/api/base_controller.rb +5 -0
- data/test/dummy/app/controllers/api/bookmarks_controller.rb +35 -0
- data/test/dummy/app/controllers/api/users_controller.rb +19 -0
- data/test/dummy/app/controllers/application_controller.rb +31 -0
- data/test/dummy/app/controllers/home_controller.rb +7 -0
- data/test/dummy/app/controllers/login_controller.rb +65 -0
- data/test/dummy/app/helpers/application_helper.rb +9 -0
- data/test/dummy/app/helpers/home_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/models/admin.rb +4 -0
- data/test/dummy/app/models/admin_filter.rb +7 -0
- data/test/dummy/app/models/bookmark.rb +7 -0
- data/test/dummy/app/models/user.rb +34 -0
- data/test/dummy/app/views/admin/admins/index.html.erb +7 -0
- data/test/dummy/app/views/admin/bookmarks/index.html.erb +5 -0
- data/test/dummy/app/views/admin/users/index.html.erb +10 -0
- data/test/dummy/app/views/demo/index.rhtml +108 -0
- data/test/dummy/app/views/demo/tokens.rhtml +35 -0
- data/test/dummy/app/views/home/index.html.erb +43 -0
- data/test/dummy/app/views/layouts/_footer.html.erb +16 -0
- data/test/dummy/app/views/layouts/_header.html.erb +22 -0
- data/test/dummy/app/views/layouts/admin.html.erb +97 -0
- data/test/dummy/app/views/layouts/application.html.erb +25 -0
- data/test/dummy/app/views/layouts/minimal.html.erb +37 -0
- data/test/dummy/app/views/layouts/popup.html.erb +43 -0
- data/test/dummy/app/views/login/index.html.erb +34 -0
- data/test/dummy/app/views/login/register.html.erb +51 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +51 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/platform/api/0/bookmark.yml +18 -0
- data/test/dummy/config/platform/api/0/user.yml +17 -0
- data/test/dummy/config/platform/api/1/bookmark.yml +58 -0
- data/test/dummy/config/platform/api/1/user.yml +36 -0
- data/test/dummy/config/platform/config.yml +135 -0
- data/test/dummy/config/platform/data/default_applications.yml +39 -0
- data/test/dummy/config/platform/data/default_categories.yml +56 -0
- data/test/dummy/config/platform/data/default_permissions.yml +0 -0
- data/test/dummy/config/platform/site/features.yml +66 -0
- data/test/dummy/config/platform/site/sample_apps.yml +100 -0
- data/test/dummy/config/routes.rb +30 -0
- data/test/dummy/config/tr8n/config.yml +247 -0
- data/test/dummy/config/tr8n/data/ip_locations.csv +93460 -0
- data/test/dummy/config/tr8n/rules/default_date_rules.yml +20 -0
- data/test/dummy/config/tr8n/rules/default_gender_list_rules.yml +82 -0
- data/test/dummy/config/tr8n/rules/default_gender_rules.yml +20 -0
- data/test/dummy/config/tr8n/rules/default_language_cases.yml +272 -0
- data/test/dummy/config/tr8n/rules/default_list_rules.yml +19 -0
- data/test/dummy/config/tr8n/rules/default_numeric_rules.yml +42 -0
- data/test/dummy/config/tr8n/rules/default_value_rules.yml +18 -0
- data/test/dummy/config/tr8n/site/default_glossary.yml +18 -0
- data/test/dummy/config/tr8n/site/default_languages.yml +1591 -0
- data/test/dummy/config/tr8n/site/features.yml +111 -0
- data/test/dummy/config/tr8n/site/shortcuts.yml +55 -0
- data/test/dummy/config/tr8n/site/sitemap.json +42 -0
- data/test/dummy/config/tr8n/tokens/data.yml +19 -0
- data/test/dummy/config/tr8n/tokens/decorations.yml +19 -0
- data/test/dummy/config/will_filter/config.yml +99 -0
- data/test/dummy/db/migrate/20101207014543_create_users.rb +23 -0
- data/test/dummy/db/migrate/20110113223509_create_admins.rb +15 -0
- data/test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb +15 -0
- data/test/dummy/db/migrate/20110930041150_create_tr8n_tables.rb +350 -0
- data/test/dummy/db/migrate/20111004075531_create_platform_tables.rb +262 -0
- data/test/dummy/db/migrate/20111012055603_create_bookmarks.rb +10 -0
- data/test/dummy/db/schema.rb +683 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/lib/platform/api/bookmark_proxy_0.rb +12 -0
- data/test/dummy/lib/platform/api/bookmark_proxy_1.rb +12 -0
- data/test/dummy/lib/platform/api/user_proxy_0.rb +12 -0
- data/test/dummy/lib/platform/api/user_proxy_1.rb +12 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/documents.yml +11 -0
- data/test/dummy/test/unit/document_test.rb +7 -0
- metadata +886 -0
@@ -0,0 +1,147 @@
|
|
1
|
+
/*
|
2
|
+
* $Log: ua.js,v $
|
3
|
+
* Revision 1.9 2002/07/22 14:06:21 bc6ix
|
4
|
+
* fix license path, change version reporting to use 2 digits for each level
|
5
|
+
*
|
6
|
+
* Revision 1.8 2002/07/07 08:23:07 bc6ix
|
7
|
+
* fix line endings
|
8
|
+
*
|
9
|
+
* Revision 1.7 2002/05/14 16:52:52 bc6ix
|
10
|
+
* use CVS Log for revision history
|
11
|
+
*
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
|
15
|
+
/* ***** BEGIN LICENSE BLOCK *****
|
16
|
+
* Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
17
|
+
* Full Terms at http://bclary.com/lib/js/license/mpl-tri-license.txt
|
18
|
+
*
|
19
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
20
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
21
|
+
* for the specific language governing rights and limitations under the
|
22
|
+
* License.
|
23
|
+
*
|
24
|
+
* The Original Code is Netscape code.
|
25
|
+
*
|
26
|
+
* The Initial Developer of the Original Code is
|
27
|
+
* Netscape Corporation.
|
28
|
+
* Portions created by the Initial Developer are Copyright (C) 2001
|
29
|
+
* the Initial Developer. All Rights Reserved.
|
30
|
+
*
|
31
|
+
* Contributor(s): Bob Clary <bclary@netscape.com>
|
32
|
+
*
|
33
|
+
* ***** END LICENSE BLOCK ***** */
|
34
|
+
|
35
|
+
function xbDetectBrowser()
|
36
|
+
{
|
37
|
+
var oldOnError = window.onerror;
|
38
|
+
var element = null;
|
39
|
+
|
40
|
+
window.onerror = null;
|
41
|
+
|
42
|
+
// work around bug in xpcdom Mozilla 0.9.1
|
43
|
+
window.saveNavigator = window.navigator;
|
44
|
+
|
45
|
+
navigator.OS = '';
|
46
|
+
navigator.version = parseFloat(navigator.appVersion);
|
47
|
+
navigator.org = '';
|
48
|
+
navigator.family = '';
|
49
|
+
|
50
|
+
var platform;
|
51
|
+
if (typeof(window.navigator.platform) != 'undefined')
|
52
|
+
{
|
53
|
+
platform = window.navigator.platform.toLowerCase();
|
54
|
+
if (platform.indexOf('win') != -1)
|
55
|
+
navigator.OS = 'win';
|
56
|
+
else if (platform.indexOf('mac') != -1)
|
57
|
+
navigator.OS = 'mac';
|
58
|
+
else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1)
|
59
|
+
navigator.OS = 'nix';
|
60
|
+
}
|
61
|
+
|
62
|
+
var i = 0;
|
63
|
+
var ua = window.navigator.userAgent.toLowerCase();
|
64
|
+
|
65
|
+
if (ua.indexOf('safari') != -1)
|
66
|
+
{
|
67
|
+
i = ua.indexOf('safari');
|
68
|
+
navigator.family = 'safari';
|
69
|
+
navigator.org = 'safari';
|
70
|
+
navigator.version = parseFloat('0' + ua.substr(i+7), 10);
|
71
|
+
}
|
72
|
+
else if (ua.indexOf('opera') != -1)
|
73
|
+
{
|
74
|
+
i = ua.indexOf('opera');
|
75
|
+
navigator.family = 'opera';
|
76
|
+
navigator.org = 'opera';
|
77
|
+
navigator.version = parseFloat('0' + ua.substr(i+6), 10);
|
78
|
+
}
|
79
|
+
else if ((i = ua.indexOf('msie')) != -1)
|
80
|
+
{
|
81
|
+
navigator.org = 'microsoft';
|
82
|
+
navigator.version = parseFloat('0' + ua.substr(i+5), 10);
|
83
|
+
|
84
|
+
if (navigator.version < 4)
|
85
|
+
navigator.family = 'ie3';
|
86
|
+
else
|
87
|
+
navigator.family = 'ie4'
|
88
|
+
}
|
89
|
+
else if (ua.indexOf('gecko') != -1)
|
90
|
+
{
|
91
|
+
navigator.family = 'gecko';
|
92
|
+
var rvStart = ua.indexOf('rv:');
|
93
|
+
var rvEnd = ua.indexOf(')', rvStart);
|
94
|
+
var rv = ua.substring(rvStart+3, rvEnd);
|
95
|
+
var rvParts = rv.split('.');
|
96
|
+
var rvValue = 0;
|
97
|
+
var exp = 1;
|
98
|
+
|
99
|
+
for (var i = 0; i < rvParts.length; i++)
|
100
|
+
{
|
101
|
+
var val = parseInt(rvParts[i]);
|
102
|
+
rvValue += val / exp;
|
103
|
+
exp *= 100;
|
104
|
+
}
|
105
|
+
navigator.version = rvValue;
|
106
|
+
|
107
|
+
if (ua.indexOf('netscape') != -1)
|
108
|
+
navigator.org = 'netscape';
|
109
|
+
else if (ua.indexOf('compuserve') != -1)
|
110
|
+
navigator.org = 'compuserve';
|
111
|
+
else
|
112
|
+
navigator.org = 'mozilla';
|
113
|
+
}
|
114
|
+
else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1))
|
115
|
+
{
|
116
|
+
var is_major = parseFloat(navigator.appVersion);
|
117
|
+
|
118
|
+
if (is_major < 4)
|
119
|
+
navigator.version = is_major;
|
120
|
+
else
|
121
|
+
{
|
122
|
+
i = ua.lastIndexOf('/')
|
123
|
+
navigator.version = parseFloat('0' + ua.substr(i+1), 10);
|
124
|
+
}
|
125
|
+
navigator.org = 'netscape';
|
126
|
+
navigator.family = 'nn' + parseInt(navigator.appVersion);
|
127
|
+
}
|
128
|
+
else if ((i = ua.indexOf('aol')) != -1 )
|
129
|
+
{
|
130
|
+
// aol
|
131
|
+
navigator.family = 'aol';
|
132
|
+
navigator.org = 'aol';
|
133
|
+
navigator.version = parseFloat('0' + ua.substr(i+4), 10);
|
134
|
+
}
|
135
|
+
else if ((i = ua.indexOf('hotjava')) != -1 )
|
136
|
+
{
|
137
|
+
// hotjava
|
138
|
+
navigator.family = 'hotjava';
|
139
|
+
navigator.org = 'sun';
|
140
|
+
navigator.version = parseFloat(navigator.appVersion);
|
141
|
+
}
|
142
|
+
|
143
|
+
window.onerror = oldOnError;
|
144
|
+
}
|
145
|
+
|
146
|
+
xbDetectBrowser();
|
147
|
+
|
@@ -0,0 +1,140 @@
|
|
1
|
+
.field {
|
2
|
+
margin-bottom:1px;
|
3
|
+
}
|
4
|
+
|
5
|
+
.field_name_container {
|
6
|
+
padding-right:2px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.field_name {
|
10
|
+
width:150px;
|
11
|
+
font-size:12px;
|
12
|
+
}
|
13
|
+
|
14
|
+
.field_action {
|
15
|
+
padding-left:5px;
|
16
|
+
padding-top:5px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.field_value {
|
20
|
+
width:400px;
|
21
|
+
font-size:12px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.obj_key {
|
25
|
+
padding-right: 10px;
|
26
|
+
color: #444;
|
27
|
+
}
|
28
|
+
|
29
|
+
.obj_value_string {
|
30
|
+
color: green;
|
31
|
+
}
|
32
|
+
|
33
|
+
.obj_value_string {
|
34
|
+
color: green;
|
35
|
+
}
|
36
|
+
|
37
|
+
.obj_value_boolean {
|
38
|
+
color: blue;
|
39
|
+
}
|
40
|
+
|
41
|
+
.obj_value_number {
|
42
|
+
color: red;
|
43
|
+
}
|
44
|
+
|
45
|
+
.response_data {
|
46
|
+
font-size:12px;
|
47
|
+
overflow:auto;
|
48
|
+
font-family:Arial;
|
49
|
+
padding:10px;
|
50
|
+
height:450px;
|
51
|
+
background-color:#F2F2F2;
|
52
|
+
}
|
53
|
+
|
54
|
+
.status {
|
55
|
+
height:10px;
|
56
|
+
background-color:#EFF8FF;
|
57
|
+
color: #444;
|
58
|
+
}
|
59
|
+
|
60
|
+
.error {
|
61
|
+
color:red;
|
62
|
+
}
|
63
|
+
|
64
|
+
.api_url {
|
65
|
+
|
66
|
+
}
|
67
|
+
|
68
|
+
.api_options {
|
69
|
+
position: absolute;
|
70
|
+
top: 0;
|
71
|
+
left: 0;
|
72
|
+
font-family: verdana;
|
73
|
+
font-size:11px;
|
74
|
+
width: 765px;
|
75
|
+
background: #f4f4f4;
|
76
|
+
border:solid 1px #e8e8e8;
|
77
|
+
border-color:#e8e8e8 #bababa #bababa #e8e8e8;
|
78
|
+
padding: 0;
|
79
|
+
margin: 0;
|
80
|
+
z-index: 10000;
|
81
|
+
-webkit-box-shadow:2px 2px 3px rgba(0,0,0,0.6);
|
82
|
+
-moz-box-shadow:2px 2px 3px rgba(0,0,0,0.6);
|
83
|
+
box-shadow:2px 2px 3px rgba(0,0,0,0.6);
|
84
|
+
display:none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.api_options .inner {
|
88
|
+
background:#fff;
|
89
|
+
border:solid 1px #bababa;
|
90
|
+
border-color:#bababa #e8e8e8 #e8e8e8 #bababa;
|
91
|
+
padding:5px;
|
92
|
+
-moz-border-radius:2px;
|
93
|
+
-webkit-border-radius:2px;
|
94
|
+
border-radius:2px;
|
95
|
+
font-size:11px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.api_list {
|
99
|
+
padding-left:10px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.api_method_list {
|
103
|
+
padding-left:30px;
|
104
|
+
padding-bottom:10px;
|
105
|
+
}
|
106
|
+
|
107
|
+
.api_history {
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
.api_history th {
|
112
|
+
text-align:left;
|
113
|
+
font-weight:bold;
|
114
|
+
padding:3px;
|
115
|
+
border-bottom: 1px solid #ccc;
|
116
|
+
font-size:10px;
|
117
|
+
}
|
118
|
+
|
119
|
+
.api_history td {
|
120
|
+
padding:3px;
|
121
|
+
border-bottom: 1px dotted #ccc;
|
122
|
+
cursor:pointer;
|
123
|
+
font-size:10px;
|
124
|
+
}
|
125
|
+
|
126
|
+
.api_history .api_row {
|
127
|
+
}
|
128
|
+
|
129
|
+
.api_history .api_row:hover {
|
130
|
+
background-color: #eee;
|
131
|
+
}
|
132
|
+
|
133
|
+
.api_history .selected_row {
|
134
|
+
background-color: #EFF8FF;
|
135
|
+
}
|
136
|
+
|
137
|
+
.expander {
|
138
|
+
cursor:pointer;
|
139
|
+
padding-right:3px;
|
140
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*= require_self
|
6
|
+
*/
|
@@ -0,0 +1,208 @@
|
|
1
|
+
/* General */
|
2
|
+
|
3
|
+
.flt_r {float:right}
|
4
|
+
.quiet {color:#888 !important;}
|
5
|
+
.strong {font-weight:bold}
|
6
|
+
.em {font-style:italic}
|
7
|
+
.small {font-size:11px}
|
8
|
+
.xsmall {font-size:10px}
|
9
|
+
.sub_heading {border-bottom:solid 1px #ddd;margin-bottom:3px;}
|
10
|
+
.notice_msg {color:darkorange;background:#feffef;padding:3px 5px;margin:0 0 3px 0}
|
11
|
+
.warning_msg {color:darkred;background:pink;padding:3px 5px;margin:0 0 3px 0}
|
12
|
+
.focus {background-color:#f1f5ff}
|
13
|
+
.highlight {background-color:#fefff1}
|
14
|
+
.highlight_hover:hover {background:#fefff1}
|
15
|
+
.nowrap {white-space:nowrap}
|
16
|
+
.underscore {border-bottom:solid 1px #eee}
|
17
|
+
|
18
|
+
.light_bevel_hr {height:0px;border:solid 1px #e1e5e8;border-bottom-color:#fff;}
|
19
|
+
|
20
|
+
.padding_0 {padding:0px !important;}
|
21
|
+
.padding_5 {padding:5px !important;}
|
22
|
+
.padding_10 {padding:10px !important;}
|
23
|
+
.padding_15 {padding:15px !important;}
|
24
|
+
|
25
|
+
/* Module Skins */
|
26
|
+
|
27
|
+
.basic .inner {padding:10px;}
|
28
|
+
|
29
|
+
.outset .inner {border:1px solid #D7D7D7;border-color:#e9e9e9 #cdcdcd #a4a4a4;border-width:1px 1px 2px;padding:10px;}
|
30
|
+
.outset b {background-image:url('rounded_corners_sprite.gif');}
|
31
|
+
.outset .tl {background-position: 0 -70px;}
|
32
|
+
.outset .tr {background-position: -10px -70px;}
|
33
|
+
.outset .bl {background-position: 0 -80px;}
|
34
|
+
.outset .br {background-position: -10px -80px;}
|
35
|
+
|
36
|
+
.inset .inner {border:1px solid #e1e5e8;border-color:#b1b3b7 #e1e5e8 #e1e5e8;border-width:2px 1px 1px;padding:10px;}
|
37
|
+
.inset b {background-image:url('rounded_corners_sprite.gif');}
|
38
|
+
.inset .tl {background-position: 0 -93px;}
|
39
|
+
.inset .tr {background-position: -10px -93px;}
|
40
|
+
.inset .bl {background-position: 0 -103px;}
|
41
|
+
.inset .br {background-position: -10px -103px;}
|
42
|
+
|
43
|
+
.rounded .inner {padding:10px;text-align:left;}
|
44
|
+
.rounded b {background-image:url('rounded_corners_sprite.gif');}
|
45
|
+
.rounded .tl {background-position: 0 -116px;}
|
46
|
+
.rounded .tr {background-position: -10px -116px;}
|
47
|
+
.rounded .bl {background-position: 0 -126px;}
|
48
|
+
.rounded .br {background-position: -10px -126px;}
|
49
|
+
|
50
|
+
|
51
|
+
/* Module Backgrounds */
|
52
|
+
|
53
|
+
.highlight_bevel {background:url('/images/highlight_bkgd.gif') repeat-x 0 bottom #fefff1}
|
54
|
+
.focus_bevel {background:url('/images/focus_bkgd.gif') repeat-x 0 bottom #edf2f8}
|
55
|
+
.success_bevel {background:url('/images/success_bkgd.gif') repeat-x 0 bottom #eefce7}
|
56
|
+
|
57
|
+
|
58
|
+
/* Module Headers */
|
59
|
+
.pagination_hd {border-bottom:solid 1px #ddd;padding:5px 0}
|
60
|
+
|
61
|
+
/* Module Body */
|
62
|
+
|
63
|
+
|
64
|
+
/* Module Footers */
|
65
|
+
.action_ft {background:#fbfbfb;border-top:solid 1px #eee;padding:15px 20px;}
|
66
|
+
.pagination_ft {border-top:solid 1px #ddd;padding:5px 0;margin-top:-1px;}
|
67
|
+
|
68
|
+
|
69
|
+
/* Forms */
|
70
|
+
|
71
|
+
.field {clear:both;padding:1px 0 2px 0;overflow:hidden;}
|
72
|
+
.field_hd {float:left;width:145px;text-align:right;color:#666;}
|
73
|
+
.field_bd {margin-left:165px;clear:right}
|
74
|
+
.field_section {float:left;margin-right:5px;color:#999;font-size:10px;}
|
75
|
+
.field_note {margin-top:5px;font-size:10px;color:#666;clear:both;}
|
76
|
+
.field_hint {float:right;font-size:10px;color:#666;width:170px;line-height:11px;font-weight:normal}
|
77
|
+
|
78
|
+
.xshort_input {width:50px}
|
79
|
+
.short_input {width:100px}
|
80
|
+
.medium_input {width:150px}
|
81
|
+
.long_input {width:200px}
|
82
|
+
.xlong_input {width:250px}
|
83
|
+
.full_width_input {width:98%}
|
84
|
+
|
85
|
+
|
86
|
+
/* Lists */
|
87
|
+
|
88
|
+
ol.simple_list li {list-style-type: decimal; margin-left:40px;}
|
89
|
+
ul.simple_list li {list-style-type:disc; margin-left:0px;padding:4px 0}
|
90
|
+
|
91
|
+
.nav_list,
|
92
|
+
.horiz_list,
|
93
|
+
.right_horiz_list {overflow:hidden;text-align:left}
|
94
|
+
|
95
|
+
.nav_list li {margin-top:-1px;border-top:solid 1px #ced2e4;padding:3px 5px;zoom:1}
|
96
|
+
.nav_list li:hover {background-color:#ebeef1}
|
97
|
+
.nav_list li a {text-decoration:none;}
|
98
|
+
|
99
|
+
.horiz_list li {margin-left:-11px;border-left:solid 1px #ccc;padding:0px 10px;margin-right:10px;float:left;}
|
100
|
+
.right_horiz_list li {margin-right:-11px;border-right:solid 1px #ccc;padding:0px 10px;margin-left:10px;float:left;}
|
101
|
+
|
102
|
+
.checklist li {overflow:hidden;padding:0px 0}
|
103
|
+
.checklist input {float:left;}
|
104
|
+
.checklist label {margin:0 0 5px 25px;display:block}
|
105
|
+
|
106
|
+
.segmented_list {overflow:hidden;}
|
107
|
+
.segmented_list li {padding:7px 0;border-bottom:solid 1px #eee;margin-bottom:-1px}
|
108
|
+
|
109
|
+
.block_list li {padding:3px 0}
|
110
|
+
|
111
|
+
|
112
|
+
/* Pagination */
|
113
|
+
|
114
|
+
.pagination {overflow:hidden;zoom:1}
|
115
|
+
.pagination li {padding:0 3px;margin-right:2px;float:left;font-weight:bold;}
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
/* Buttons */
|
120
|
+
|
121
|
+
.btn {position:relative;border:0;padding:0;margin:0 2px 0 -2px;cursor:pointer;overflow:visible;background:transparent url('/images/site_sprite.gif') no-repeat right -100px;font-size:11px;font-weight:bold;text-align:center;font-family:Arial}
|
122
|
+
.btn span {position:relative;display:block;white-space:nowrap;background:transparent url('/images/site_sprite.gif') no-repeat left top;}
|
123
|
+
button::-moz-focus-inner {border:none;}
|
124
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
125
|
+
.btn span {margin-top:-1px;}
|
126
|
+
}
|
127
|
+
a.btn {display:block;display:-moz-inline-box;display:inline-block;vertical-align:middle}
|
128
|
+
a.btn span {display:block;margin-top:0px}
|
129
|
+
|
130
|
+
/* Button Skins */
|
131
|
+
|
132
|
+
.button {-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-box-shadow: rgba(0, 0, 0, 0.246094) 0px 1px 3px;-moz-box-shadow: rgba(0, 0, 0, 0.246094) 0px 1px 3px;background-color: #222;border-bottom: 1px solid rgba(0, 0, 0, 0.246094);color: white !important;cursor: pointer;display: inline-block;font-size: 13px;font-weight: bold;line-height: 1;overflow: visible;padding: 5px 15px 6px;position: relative;text-decoration: none !important;width: auto;}
|
133
|
+
|
134
|
+
.super.button {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABYSURBVHjaZM27EcAgDANQSzZZgP0XpKLh20BM7mjS6J7kwrrWEuScgZQS2HsXjjHEdaqytfZ4kLXWU81lruAK9wqWUuBVvni3n+4Pc9nRnFOUZFQAcQswAI/sUZSGPd0tAAAAAElFTkSuQmCC) repeat-x 0 bottom;background-position:0 bottom;border: 1px solid rgba(0, 0, 0, 0.246094);font-size: 12px;padding: 0px;}
|
135
|
+
.super.button span {border-top: 1px solid rgba(255, 255, 255, 0.199219);display: block;line-height: 1;padding: 4px 15px 6px;}
|
136
|
+
|
137
|
+
.green.button {background-color: #91BD09;}
|
138
|
+
.green.button:hover {background-color:#749a02}
|
139
|
+
|
140
|
+
.blue.button {background-color:#5689c0}
|
141
|
+
.blue.button:hover {background-color:#4a77a8}
|
142
|
+
|
143
|
+
.large.super.button span {padding: 7px 20px 9px;font-size:13px;}
|
144
|
+
.xlarge.super.button span {padding: 8px 20px 10px;font-size:16px;}
|
145
|
+
|
146
|
+
/* Icons */
|
147
|
+
|
148
|
+
.icn {background:url(/images/icon_sprite.gif) no-repeat 0 0;}
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
/* Tabs */
|
154
|
+
|
155
|
+
.tab_nav {list-style-type:none;overflow:auto;margin-bottom:0px !important;position:relative}
|
156
|
+
.tab_nav li {float:left;margin-right:2px;cursor:pointer;}
|
157
|
+
.tab_nav li a {display:block;padding:6px 10px 6px 10px;}
|
158
|
+
|
159
|
+
/* Tables */
|
160
|
+
|
161
|
+
.data_table {padding:0;width:auto;margin:0}
|
162
|
+
.data_table td, .data_table th {vertical-align:top;padding:1px 0px 2px 0px}
|
163
|
+
.data_table th {width:115px;color:#777;font-weight:normal;padding-right:6px}
|
164
|
+
|
165
|
+
.data_table.small th {width:70px}
|
166
|
+
|
167
|
+
.segmented_table {width:100%;}
|
168
|
+
.segmented_table td {border-bottom:solid 1px #eee;padding:10px 5px}
|
169
|
+
.segmented_table .last td {border:none}
|
170
|
+
|
171
|
+
.skinny_cells td {padding:5px}
|
172
|
+
.fat_cells td {padding:10px 5px}
|
173
|
+
|
174
|
+
.txt_c {text-align:center;}
|
175
|
+
.txt_l {text-align:left;}
|
176
|
+
.txt_r {text-align:right;}
|
177
|
+
.txt_t {vertical-align:top;}
|
178
|
+
.txt_b {vertical-align:bottom;}
|
179
|
+
.txt_m {vertical-align:middle;}
|
180
|
+
|
181
|
+
.min_cell_width {width:1%}
|
182
|
+
.max_cell_width {width:99%}
|
183
|
+
|
184
|
+
.mrgn_v {margin:10px 0}
|
185
|
+
.mrgn_h {margin:0 10px}
|
186
|
+
|
187
|
+
/* Media Block */
|
188
|
+
|
189
|
+
.media {overflow:hidden;_overflow:visible; zoom:1;}
|
190
|
+
.media .img {float:left;margin-right: 10px;}
|
191
|
+
.media .img img {display:block;}
|
192
|
+
.media .imgExt {float:right; margin-left: 10px;}
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
/* Home */
|
198
|
+
|
199
|
+
.home_banner {background:url('/images/bubbles_bkgd.jpg');-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;padding:50px 25px 0px 25px;height:220px;border-bottom:solid 10px #c2d6eb}
|
200
|
+
.home_banner h1 {font:normal bold 45px Arial, Helvetica, sans-serif;color:#fff;text-shadow:0 -1px 1px #000;letter-spacing:-2px}
|
201
|
+
.home_banner h2 {font:normal normal 24px Arial, Helvetica, sans-serif;color:#ccc;text-shadow:0 -1px 1px #000;width:520px;}
|
202
|
+
|
203
|
+
|
204
|
+
.benefit_details {line-height:20px;height:70px;}
|
205
|
+
.page_form {margin:0 50px}
|
206
|
+
|
207
|
+
.platform {margin:25px !important;width:auto !important;overflow:hidden !important}
|
208
|
+
.translations_navigation {border:none !important;border-bottom:solid 1px #ddd !important}
|