activeadmin 1.0.0.pre4 → 1.0.0.pre5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -3
- data/.travis.yml +48 -26
- data/Appraisals +103 -0
- data/CHANGELOG.md +12 -1
- data/CONTRIBUTING.md +85 -32
- data/Gemfile +13 -38
- data/README.md +10 -26
- data/Rakefile +41 -9
- data/activeadmin.gemspec +7 -4
- data/app/assets/javascripts/active_admin/initializers/filters.js.coffee +10 -3
- data/app/assets/javascripts/active_admin/jquery_ui.js.erb +11 -4
- data/app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee +8 -0
- data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +1 -1
- data/app/assets/javascripts/active_admin/lib/per_page.js.coffee +14 -3
- data/app/assets/stylesheets/active_admin/_forms.scss +1 -0
- data/app/views/active_admin/devise/registrations/new.html.erb +1 -1
- data/codecov.yml +23 -0
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/ru.yml +1 -0
- data/config/locales/sk.yml +110 -0
- data/docs/0-installation.md +3 -0
- data/docs/1-general-configuration.md +11 -0
- data/docs/10-custom-pages.md +25 -0
- data/docs/11-decorators.md +3 -0
- data/docs/12-arbre-components.md +3 -0
- data/docs/13-authorization-adapter.md +3 -0
- data/docs/14-gotchas.md +19 -0
- data/docs/2-resource-customization.md +21 -2
- data/docs/3-index-pages.md +21 -0
- data/docs/3-index-pages/custom-index.md +3 -0
- data/docs/3-index-pages/index-as-block.md +3 -0
- data/docs/3-index-pages/index-as-blog.md +3 -0
- data/docs/3-index-pages/index-as-grid.md +3 -0
- data/docs/3-index-pages/index-as-table.md +22 -0
- data/docs/4-csv-format.md +15 -0
- data/docs/5-forms.md +7 -3
- data/docs/6-show-pages.md +3 -0
- data/docs/7-sidebars.md +3 -0
- data/docs/8-custom-actions.md +3 -0
- data/docs/9-batch-actions.md +4 -1
- data/docs/CNAME +1 -0
- data/docs/Gemfile +2 -0
- data/docs/_config.yml +2 -0
- data/docs/_includes/footer.html +8 -0
- data/docs/_includes/google-analytics.html +16 -0
- data/docs/_includes/head.html +7 -0
- data/docs/_includes/toc.html +97 -0
- data/docs/_includes/top-menu.html +9 -0
- data/docs/_layouts/default.html +21 -0
- data/docs/documentation.md +62 -0
- data/docs/images/activeadmin.png +0 -0
- data/docs/images/code-header.png +0 -0
- data/docs/images/divider.png +0 -0
- data/docs/images/features.png +0 -0
- data/docs/index.html +130 -0
- data/docs/stylesheets/main.css +1199 -0
- data/features/action_item.feature +2 -2
- data/features/authorization_cancan.feature +3 -3
- data/features/belongs_to.feature +60 -2
- data/features/comments/commenting.feature +7 -7
- data/features/development_reloading.feature +1 -1
- data/features/edit_page.feature +9 -9
- data/features/footer.feature +28 -0
- data/features/i18n.feature +11 -0
- data/features/index/batch_actions.feature +28 -6
- data/features/index/filters.feature +31 -11
- data/features/index/format_as_csv.feature +13 -13
- data/features/index/formats.feature +4 -4
- data/features/index/index_as_block.feature +1 -1
- data/features/index/index_as_blog.feature +6 -6
- data/features/index/index_as_grid.feature +3 -3
- data/features/index/index_as_table.feature +11 -11
- data/features/index/index_blank_slate.feature +4 -4
- data/features/index/index_parameters.feature +10 -10
- data/features/index/index_scope_to.feature +3 -3
- data/features/index/index_scopes.feature +37 -18
- data/features/index/page_title.feature +3 -3
- data/features/index/pagination.feature +1 -1
- data/features/index/switch_index_view.feature +8 -8
- data/features/menu.feature +3 -3
- data/features/new_page.feature +8 -8
- data/features/registering_assets.feature +1 -1
- data/features/registering_pages.feature +73 -2
- data/features/registering_resources.feature +1 -1
- data/features/renamed_resource.feature +1 -1
- data/features/show/page_title.feature +3 -3
- data/features/sidebar_sections.feature +6 -6
- data/features/specifying_actions.feature +29 -4
- data/features/step_definitions/factory_steps.rb +1 -1
- data/features/step_definitions/footer_steps.rb +11 -0
- data/features/step_definitions/i18n_steps.rb +8 -0
- data/features/step_definitions/index_scope_steps.rb +4 -0
- data/features/step_definitions/sidebar_steps.rb +1 -3
- data/features/step_definitions/table_steps.rb +1 -5
- data/features/step_definitions/user_steps.rb +7 -0
- data/features/support/env.rb +6 -33
- data/features/support/paths.rb +5 -0
- data/features/users/logging_in.feature +2 -0
- data/gemfiles/rails_32.gemfile +54 -0
- data/gemfiles/rails_40.gemfile +53 -0
- data/gemfiles/rails_41.gemfile +53 -0
- data/gemfiles/rails_42.gemfile +53 -0
- data/gemfiles/rails_50.gemfile +46 -0
- data/lib/active_admin.rb +1 -0
- data/lib/active_admin/application.rb +11 -0
- data/lib/active_admin/batch_actions/resource_extension.rb +0 -8
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +1 -1
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +1 -1
- data/lib/active_admin/dsl.rb +0 -6
- data/lib/active_admin/filters/active.rb +9 -1
- data/lib/active_admin/filters/formtastic_addons.rb +1 -1
- data/lib/active_admin/filters/humanized.rb +1 -1
- data/lib/active_admin/filters/resource_extension.rb +2 -4
- data/lib/active_admin/form_builder.rb +12 -6
- data/lib/active_admin/helpers/collection.rb +2 -0
- data/lib/active_admin/inputs.rb +1 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +9 -4
- data/lib/active_admin/inputs/filters/text_input.rb +26 -0
- data/lib/active_admin/localizers.rb +11 -0
- data/lib/active_admin/localizers/resource_localizer.rb +35 -0
- data/lib/active_admin/namespace.rb +1 -1
- data/lib/active_admin/order_clause.rb +29 -7
- data/lib/active_admin/page.rb +18 -4
- data/lib/active_admin/page_dsl.rb +4 -0
- data/lib/active_admin/resource.rb +16 -1
- data/lib/active_admin/resource/action_items.rb +7 -4
- data/lib/active_admin/resource/belongs_to.rb +4 -0
- data/lib/active_admin/resource/menu.rb +1 -1
- data/lib/active_admin/resource/ordering.rb +11 -0
- data/lib/active_admin/resource/routes.rb +34 -13
- data/lib/active_admin/resource/scopes.rb +1 -0
- data/lib/active_admin/resource_controller/data_access.rb +3 -10
- data/lib/active_admin/resource_dsl.rb +28 -1
- data/lib/active_admin/router.rb +5 -3
- data/lib/active_admin/scope.rb +3 -3
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers/auto_link_helper.rb +2 -2
- data/lib/active_admin/view_helpers/display_helper.rb +8 -3
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +5 -1
- data/lib/active_admin/views/components/active_admin_form.rb +11 -10
- data/lib/active_admin/views/components/attributes_table.rb +1 -1
- data/lib/active_admin/views/components/columns.rb +3 -3
- data/lib/active_admin/views/components/dropdown_menu.rb +2 -2
- data/lib/active_admin/views/components/index_list.rb +4 -1
- data/lib/active_admin/views/components/paginated_collection.rb +1 -0
- data/lib/active_admin/views/components/scopes.rb +8 -1
- data/lib/active_admin/views/components/site_title.rb +2 -2
- data/lib/active_admin/views/components/table_for.rb +3 -3
- data/lib/active_admin/views/footer.rb +17 -3
- data/lib/active_admin/views/index_as_table.rb +3 -3
- data/lib/active_admin/views/pages/base.rb +4 -2
- data/lib/active_admin/views/pages/form.rb +2 -3
- data/lib/active_admin/views/pages/show.rb +2 -1
- data/lib/bug_report_templates/rails_5_master.rb +120 -0
- data/lib/generators/active_admin/devise/devise_generator.rb +6 -3
- data/lib/generators/active_admin/install/install_generator.rb +1 -1
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +15 -1
- data/lib/generators/active_admin/install/templates/migrations/{create_active_admin_comments.rb → create_active_admin_comments.rb.erb} +14 -1
- data/lib/ransack_ext.rb +2 -2
- data/spec/bug_report_templates_spec.rb +27 -0
- data/spec/javascripts/support/jasmine_runner.rb +4 -17
- data/spec/rails_helper.rb +20 -109
- data/spec/requests/default_namespace_spec.rb +16 -28
- data/spec/requests/javascript_spec.rb +1 -1
- data/spec/requests/memory_spec.rb +5 -1
- data/spec/requests/stylesheets_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -10
- data/spec/support/active_admin_integration_spec_helper.rb +66 -0
- data/spec/support/active_admin_request_helpers.rb +12 -0
- data/spec/support/rails_template.rb +42 -15
- data/spec/support/rails_template_with_data.rb +24 -5
- data/spec/support/templates/manifest.js +3 -0
- data/spec/support/templates/policies/application_policy.rb +1 -1
- data/spec/unit/abstract_view_factory_spec.rb +1 -1
- data/spec/unit/action_builder_spec.rb +3 -12
- data/spec/unit/active_admin_spec.rb +1 -1
- data/spec/unit/application_spec.rb +5 -1
- data/spec/unit/asset_registration_spec.rb +1 -1
- data/spec/unit/authorization/authorization_adapter_spec.rb +1 -1
- data/spec/unit/authorization/controller_authorization_spec.rb +13 -9
- data/spec/unit/authorization/index_overriding_spec.rb +6 -6
- data/spec/unit/auto_link_spec.rb +48 -24
- data/spec/unit/batch_actions/resource_spec.rb +1 -14
- data/spec/unit/batch_actions/settings_spec.rb +1 -1
- data/spec/unit/belongs_to_spec.rb +9 -1
- data/spec/unit/cancan_adapter_spec.rb +1 -1
- data/spec/unit/comments_spec.rb +26 -19
- data/spec/unit/component_spec.rb +1 -1
- data/spec/unit/config_shared_examples.rb +1 -1
- data/spec/unit/controller_filters_spec.rb +1 -1
- data/spec/unit/csv_builder_spec.rb +5 -5
- data/spec/unit/dependency_spec.rb +1 -1
- data/spec/unit/devise_spec.rb +17 -3
- data/spec/unit/dsl_spec.rb +2 -2
- data/spec/unit/filters/active_spec.rb +21 -0
- data/spec/unit/filters/filter_form_builder_spec.rb +98 -31
- data/spec/unit/filters/humanized_spec.rb +9 -1
- data/spec/unit/filters/resource_spec.rb +5 -4
- data/spec/unit/form_builder_spec.rb +180 -33
- data/spec/unit/generators/install_spec.rb +12 -5
- data/spec/unit/helpers/collection_spec.rb +10 -7
- data/spec/unit/helpers/scope_chain_spec.rb +1 -1
- data/spec/unit/helpers/settings_spec.rb +1 -1
- data/spec/unit/i18n_spec.rb +1 -1
- data/spec/unit/localizers/resource_localizer_spec.rb +36 -0
- data/spec/unit/menu_collection_spec.rb +1 -1
- data/spec/unit/menu_item_spec.rb +1 -1
- data/spec/unit/menu_spec.rb +1 -1
- data/spec/unit/namespace/authorization_spec.rb +1 -1
- data/spec/unit/namespace/register_page_spec.rb +28 -2
- data/spec/unit/namespace/register_resource_spec.rb +3 -1
- data/spec/unit/namespace_spec.rb +23 -1
- data/spec/unit/order_clause_spec.rb +7 -7
- data/spec/unit/page_controller_spec.rb +1 -1
- data/spec/unit/page_spec.rb +55 -2
- data/spec/unit/pretty_format_spec.rb +8 -7
- data/spec/unit/pundit_adapter_spec.rb +1 -1
- data/spec/unit/resource/action_items_spec.rb +1 -1
- data/spec/unit/resource/includes_spec.rb +1 -1
- data/spec/unit/resource/menu_spec.rb +1 -1
- data/spec/unit/resource/naming_spec.rb +1 -1
- data/spec/unit/resource/ordering_spec.rb +38 -0
- data/spec/unit/resource/page_presenters_spec.rb +1 -1
- data/spec/unit/resource/pagination_spec.rb +1 -1
- data/spec/unit/resource/routes_spec.rb +101 -53
- data/spec/unit/resource/scopes_spec.rb +1 -1
- data/spec/unit/resource/sidebars_spec.rb +1 -1
- data/spec/unit/resource_collection_spec.rb +1 -1
- data/spec/unit/resource_controller/data_access_spec.rb +50 -1
- data/spec/unit/resource_controller/decorators_spec.rb +2 -2
- data/spec/unit/resource_controller/sidebars_spec.rb +16 -17
- data/spec/unit/resource_controller_spec.rb +50 -56
- data/spec/unit/resource_registration_spec.rb +9 -4
- data/spec/unit/resource_spec.rb +9 -1
- data/spec/unit/routing_spec.rb +30 -2
- data/spec/unit/scope_spec.rb +26 -2
- data/spec/unit/settings_spec.rb +2 -2
- data/spec/unit/view_factory_spec.rb +1 -1
- data/spec/unit/view_helpers/breadcrumbs_spec.rb +1 -1
- data/spec/unit/view_helpers/display_helper_spec.rb +18 -3
- data/spec/unit/view_helpers/download_format_links_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/fields_for_spec.rb +1 -1
- data/spec/unit/view_helpers/flash_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/form_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/method_or_proc_helper_spec.rb +1 -1
- data/spec/unit/views/components/attributes_table_spec.rb +1 -1
- data/spec/unit/views/components/batch_action_selector_spec.rb +1 -1
- data/spec/unit/views/components/blank_slate_spec.rb +1 -1
- data/spec/unit/views/components/columns_spec.rb +1 -1
- data/spec/unit/views/components/index_list_spec.rb +18 -4
- data/spec/unit/views/components/index_table_for_spec.rb +1 -1
- data/spec/unit/views/components/paginated_collection_spec.rb +1 -1
- data/spec/unit/views/components/panel_spec.rb +1 -1
- data/spec/unit/views/components/sidebar_section_spec.rb +1 -1
- data/spec/unit/views/components/site_title_spec.rb +1 -1
- data/spec/unit/views/components/status_tag_spec.rb +1 -1
- data/spec/unit/views/components/table_for_spec.rb +9 -7
- data/spec/unit/views/components/tabs_spec.rb +1 -1
- data/spec/unit/views/components/unsupported_browser_spec.rb +3 -3
- data/spec/unit/views/index_as_blog_spec.rb +1 -1
- data/spec/unit/views/pages/form_spec.rb +1 -1
- data/spec/unit/views/pages/index_spec.rb +1 -1
- data/spec/unit/views/pages/layout_spec.rb +1 -1
- data/spec/unit/views/pages/show_spec.rb +1 -1
- data/spec/unit/views/tabbed_navigation_spec.rb +2 -2
- data/tasks/local.rake +25 -0
- data/tasks/parallel_tests.rake +4 -4
- data/tasks/test.rake +8 -53
- metadata +61 -18
- data/Guardfile +0 -8
- data/script/local +0 -53
- data/script/travis_cache +0 -107
- data/script/use_rails +0 -53
- data/spec/javascripts/support/jasmine_config.rb +0 -23
- data/spec/support/detect_rails_version.rb +0 -34
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<div id="header">
|
|
2
|
+
<h1><a href="{{ site.baseurl }}/index.html"><span>Active Admin</span></a></h1>
|
|
3
|
+
|
|
4
|
+
<div id="nav">
|
|
5
|
+
<a href="{{ site.baseurl }}/documentation.html">Documentation</a>
|
|
6
|
+
<a href="http://demo.activeadmin.info/admin">Try It Now!</a>
|
|
7
|
+
<a href="http://github.com/activeadmin/activeadmin">Get the Code</a>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
{% include head.html %}
|
|
4
|
+
<body class="with-sidebar">
|
|
5
|
+
<div id="wrapper">
|
|
6
|
+
{% include top-menu.html %}
|
|
7
|
+
<div id="main-content">
|
|
8
|
+
<div class='toc'>
|
|
9
|
+
{% include toc.html %}
|
|
10
|
+
</div>
|
|
11
|
+
<div class='toc-content'>
|
|
12
|
+
<div class='docs-content'>
|
|
13
|
+
{{ content }}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
{% include footer.html %}
|
|
18
|
+
</div>
|
|
19
|
+
{% include google-analytics.html %}
|
|
20
|
+
</body>
|
|
21
|
+
</html>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
redirect_from: /docs/documentation.html
|
|
3
|
+
---
|
|
4
|
+
<h2 class="in-docs">
|
|
5
|
+
<span class="breadcrumb">
|
|
6
|
+
<a href="documentation.html">Documentation</a> :
|
|
7
|
+
</span>
|
|
8
|
+
Active Admin Documentation
|
|
9
|
+
</h2>
|
|
10
|
+
|
|
11
|
+
Active Admin is a framework for creating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very
|
|
12
|
+
little effort.
|
|
13
|
+
|
|
14
|
+
### Getting Started
|
|
15
|
+
|
|
16
|
+
Active Admin is released as a Ruby Gem. The gem is to be installed within a Ruby on Rails 4 application. To
|
|
17
|
+
install, simply add the following to your Gemfile:</p>
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
# Gemfile
|
|
21
|
+
gem 'activeadmin', github: 'activeadmin'
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
After updating your bundle, run the installer
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
rails generate active_admin:install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The installer creates an initializer used for configuring defaults used by Active Admin as well as a new folder at <tt>app/admin</tt> to put all your admin configurations.
|
|
31
|
+
|
|
32
|
+
Migrate your db and start the server:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
$> rake db:migrate
|
|
36
|
+
$> rails server
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Visit http://localhost:3000/admin and log in using:
|
|
40
|
+
|
|
41
|
+
* <em>User</em>: admin@example.com
|
|
42
|
+
* <em>Password</em>: password
|
|
43
|
+
|
|
44
|
+
Voila! You’re on your brand new Active Admin dashboard.
|
|
45
|
+
|
|
46
|
+
To register your first model, run:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
$> rails generate active_admin:resource
|
|
50
|
+
[MyModelName]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
This creates a file at <tt>app/admin/my_model_names.rb</tt> for configuring the resource. Refresh your web browser to see the interface.</p>
|
|
54
|
+
|
|
55
|
+
### Next Steps
|
|
56
|
+
|
|
57
|
+
Now that you have a working Active Admin installation, learn how to customize it:
|
|
58
|
+
|
|
59
|
+
* <a href='{{ site.baseurl }}/3-index-pages.html'>Customize the Index Page</a>
|
|
60
|
+
* <a href='{{ site.baseurl }}/5-forms.html'>Customize the New and Edit Form</a>
|
|
61
|
+
* <a href='{{ site.baseurl }}/6-show-pages.html'>Customize the Show Page</a>
|
|
62
|
+
* <a href='{{ site.baseurl }}/2-resource-customization.html'>Customize the Resource in General</a>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/docs/index.html
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
4
|
+
<html>
|
|
5
|
+
<head>
|
|
6
|
+
<title></title>
|
|
7
|
+
</head>
|
|
8
|
+
<body>
|
|
9
|
+
<p>
|
|
10
|
+
{% include head.html %}
|
|
11
|
+
</p>
|
|
12
|
+
<div id="wrapper">
|
|
13
|
+
{% include top-menu.html %}
|
|
14
|
+
<div id="main-content">
|
|
15
|
+
<p class="intro">
|
|
16
|
+
The <strong>administration framework</strong> for business critical <strong>Ruby on Rails</strong> applications.
|
|
17
|
+
</p>
|
|
18
|
+
<p>
|
|
19
|
+
Active Admin is a Ruby on Rails plugin for generating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very little effort.
|
|
20
|
+
</p>
|
|
21
|
+
<h2>
|
|
22
|
+
A beautiful interface designed for real people.
|
|
23
|
+
</h2>
|
|
24
|
+
<div id="features">
|
|
25
|
+
<div id="features-left">
|
|
26
|
+
<h3 class="first">
|
|
27
|
+
Global Navigation
|
|
28
|
+
</h3>
|
|
29
|
+
<p>
|
|
30
|
+
Customizable global navigation allows you to create usable admin interfaces for your business.
|
|
31
|
+
</p>
|
|
32
|
+
<h3>
|
|
33
|
+
Scopes
|
|
34
|
+
</h3>
|
|
35
|
+
<p>
|
|
36
|
+
Use scopes to create sections of mutually exclusive resources for quick navigation and reporting.
|
|
37
|
+
</p>
|
|
38
|
+
<h3>
|
|
39
|
+
Index Styles
|
|
40
|
+
</h3>
|
|
41
|
+
<p>
|
|
42
|
+
Index screens are available in many styles. The default, shown here, is a table view, but Active Admin also supports Grids, Blocks and a Blog view.
|
|
43
|
+
</p>
|
|
44
|
+
<h3>
|
|
45
|
+
<span class="caps">API</span> & Downloads
|
|
46
|
+
</h3>
|
|
47
|
+
<p>
|
|
48
|
+
Each resource that is registered wtih Active Admin becomes available as <span class="caps">JSON</span>, <span class="caps">XML</span> and <span class="caps">CSV</span> download. Customize the output to meet your requirements.
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
|
+
<div id="features-right">
|
|
52
|
+
<h3 class="first">
|
|
53
|
+
User Authentication
|
|
54
|
+
</h3>
|
|
55
|
+
<p>
|
|
56
|
+
Use the bundled Devise configuration or implement your own authorization using the provided hooks.
|
|
57
|
+
</p>
|
|
58
|
+
<h3>
|
|
59
|
+
Action Items
|
|
60
|
+
</h3>
|
|
61
|
+
<p>
|
|
62
|
+
Add buttons, links or other content in the “Action Items” section on each screen.
|
|
63
|
+
</p>
|
|
64
|
+
<h3>
|
|
65
|
+
Filters
|
|
66
|
+
</h3>
|
|
67
|
+
<p>
|
|
68
|
+
Allow users to filter resources by searching strings, text fields, dates, and numeric values.
|
|
69
|
+
</p>
|
|
70
|
+
<h3>
|
|
71
|
+
Sidebar Sections
|
|
72
|
+
</h3>
|
|
73
|
+
<p>
|
|
74
|
+
Customize the sidebar sections with a simple <span class="caps">DSL</span> built in to Active Admin.
|
|
75
|
+
</p>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<p>
|
|
79
|
+
Active Admin’s interface was designed from the ground up for non-technical users. It makes it easy for developers to build highly usable interfaces that customers will actually enjoy using.
|
|
80
|
+
</p>
|
|
81
|
+
<h2>
|
|
82
|
+
An elegant <span class="caps">DSL</span> built for developer productivity.
|
|
83
|
+
</h2>
|
|
84
|
+
<p>
|
|
85
|
+
Get started with one line of code or customize the entire interface with the provided <span class="caps">DSL</span>.
|
|
86
|
+
</p>
|
|
87
|
+
<div id="dsl">
|
|
88
|
+
<div class="highlight">
|
|
89
|
+
<pre>
|
|
90
|
+
<code class="ruby"><span class="c1"># app/admin/products.rb</span>
|
|
91
|
+
<span class="no">ActiveAdmin</span><span class="o">.</span><span class="n">register</span> <span class="no">Product</span> <span class="k">do</span>
|
|
92
|
+
|
|
93
|
+
<span class="c1"># Create sections on the index screen</span>
|
|
94
|
+
<span class="n">scope</span> <span class="ss">:all</span><span class="p">,</span> <span class="ss">default:</span> <span class="kp">true</span>
|
|
95
|
+
<span class="n">scope</span> <span class="ss">:available</span>
|
|
96
|
+
<span class="n">scope</span> <span class="ss">:drafts</span>
|
|
97
|
+
|
|
98
|
+
<span class="c1"># Filterable attributes on the index screen</span>
|
|
99
|
+
<span class="n">filter</span> <span class="ss">:title</span>
|
|
100
|
+
<span class="n">filter</span> <span class="ss">:author</span><span class="p">,</span> <span class="ss">as:</span> <span class="ss">:select</span><span class="p">,</span> <span class="ss">collection:</span> <span class="nb">-></span><span class="p">{</span> <span class="no">Product</span><span class="o">.</span><span class="n">authors</span> <span class="p">}</span>
|
|
101
|
+
<span class="n">filter</span> <span class="ss">:price</span>
|
|
102
|
+
<span class="n">filter</span> <span class="ss">:created_at</span>
|
|
103
|
+
|
|
104
|
+
<span class="c1"># Customize columns displayed on the index screen in the table</span>
|
|
105
|
+
<span class="n">index</span> <span class="k">do</span>
|
|
106
|
+
<span class="n">column</span> <span class="ss">:title</span>
|
|
107
|
+
<span class="n">column</span> <span class="s2">"Price"</span><span class="p">,</span> <span class="ss">sortable:</span> <span class="ss">:price</span> <span class="k">do</span> <span class="o">|</span><span class="n">product</span><span class="o">|</span>
|
|
108
|
+
<span class="n">number_to_currency</span> <span class="n">product</span><span class="o">.</span><span class="n">price</span>
|
|
109
|
+
<span class="k">end</span>
|
|
110
|
+
<span class="n">default_actions</span>
|
|
111
|
+
<span class="k">end</span>
|
|
112
|
+
|
|
113
|
+
<span class="k">end</span>
|
|
114
|
+
</code>
|
|
115
|
+
</pre>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<h2 class="getting-started-heading">
|
|
119
|
+
3 Ways to Get Started:
|
|
120
|
+
</h2>
|
|
121
|
+
<p class="getting-started">
|
|
122
|
+
<a href="http://demo.activeadmin.info/admin">Check Out the Live Demo</a> <a href="{{ site.baseurl }}/documentation.html">Read The Documentation</a> <a href="http://github.com/activeadmin/activeadmin">Visit the Git Repository</a>
|
|
123
|
+
</p>
|
|
124
|
+
</div>{% include footer.html %}
|
|
125
|
+
</div>
|
|
126
|
+
<p>
|
|
127
|
+
{% include google-analytics.html %}
|
|
128
|
+
</p>
|
|
129
|
+
</body>
|
|
130
|
+
</html>
|
|
@@ -0,0 +1,1199 @@
|
|
|
1
|
+
/* line 17, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
2
|
+
html, body, div, span, applet, object, iframe,
|
|
3
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
4
|
+
a, abbr, acronym, address, big, cite, code,
|
|
5
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
6
|
+
small, strike, strong, sub, sup, tt, var,
|
|
7
|
+
b, u, i, center,
|
|
8
|
+
dl, dt, dd, ol, ul, li,
|
|
9
|
+
fieldset, form, label, legend,
|
|
10
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
11
|
+
article, aside, canvas, details, embed,
|
|
12
|
+
figure, figcaption, footer, header, hgroup,
|
|
13
|
+
menu, nav, output, ruby, section, summary,
|
|
14
|
+
time, mark, audio, video {
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
border: 0;
|
|
18
|
+
font-size: 100%;
|
|
19
|
+
font: inherit;
|
|
20
|
+
vertical-align: baseline;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* line 20, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
24
|
+
body {
|
|
25
|
+
line-height: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* line 22, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
29
|
+
ol, ul {
|
|
30
|
+
list-style: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* line 24, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
34
|
+
table {
|
|
35
|
+
border-collapse: collapse;
|
|
36
|
+
border-spacing: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* line 26, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
40
|
+
caption, th, td {
|
|
41
|
+
text-align: left;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
vertical-align: middle;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* line 28, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
47
|
+
q, blockquote {
|
|
48
|
+
quotes: none;
|
|
49
|
+
}
|
|
50
|
+
/* line 101, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
51
|
+
q:before, q:after, blockquote:before, blockquote:after {
|
|
52
|
+
content: "";
|
|
53
|
+
content: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* line 30, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
57
|
+
a img {
|
|
58
|
+
border: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* line 115, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
|
62
|
+
article, aside, details, figcaption, figure,
|
|
63
|
+
footer, header, hgroup, menu, nav, section {
|
|
64
|
+
display: block;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* line 1, ../_sass/_highlight.scss */
|
|
68
|
+
#dsl {
|
|
69
|
+
/* Comment */
|
|
70
|
+
/* Error */
|
|
71
|
+
/* Keyword */
|
|
72
|
+
/* Literal */
|
|
73
|
+
/* Name */
|
|
74
|
+
/* Operator */
|
|
75
|
+
/* Punctuation */
|
|
76
|
+
/* Comment.Multiline */
|
|
77
|
+
/* Comment.Preproc */
|
|
78
|
+
/* Comment.Single */
|
|
79
|
+
/* Comment.Special */
|
|
80
|
+
/* Generic.Emph */
|
|
81
|
+
/* Generic.Strong */
|
|
82
|
+
/* Keyword.Constant */
|
|
83
|
+
/* Keyword.Declaration */
|
|
84
|
+
/* Keyword.Namespace */
|
|
85
|
+
/* Keyword.Pseudo */
|
|
86
|
+
/* Keyword.Reserved */
|
|
87
|
+
/* Keyword.Type */
|
|
88
|
+
/* Literal.Date */
|
|
89
|
+
/* Literal.Number */
|
|
90
|
+
/* Literal.String */
|
|
91
|
+
/* Name.Attribute */
|
|
92
|
+
/* Name.Builtin */
|
|
93
|
+
/* Name.Class */
|
|
94
|
+
/* Name.Constant */
|
|
95
|
+
/* Name.Decorator */
|
|
96
|
+
/* Name.Entity */
|
|
97
|
+
/* Name.Exception */
|
|
98
|
+
/* Name.Function */
|
|
99
|
+
/* Name.Label */
|
|
100
|
+
/* Name.Namespace */
|
|
101
|
+
/* Name.Other */
|
|
102
|
+
/* Name.Property */
|
|
103
|
+
/* Name.Tag */
|
|
104
|
+
/* Name.Variable */
|
|
105
|
+
/* Operator.Word */
|
|
106
|
+
/* Text.Whitespace */
|
|
107
|
+
/* Literal.Number.Float */
|
|
108
|
+
/* Literal.Number.Hex */
|
|
109
|
+
/* Literal.Number.Integer */
|
|
110
|
+
/* Literal.Number.Oct */
|
|
111
|
+
/* Literal.String.Backtick */
|
|
112
|
+
/* Literal.String.Char */
|
|
113
|
+
/* Literal.String.Doc */
|
|
114
|
+
/* Literal.String.Double */
|
|
115
|
+
/* Literal.String.Escape */
|
|
116
|
+
/* Literal.String.Heredoc */
|
|
117
|
+
/* Literal.String.Interpol */
|
|
118
|
+
/* Literal.String.Other */
|
|
119
|
+
/* Literal.String.Regex */
|
|
120
|
+
/* Literal.String.Single */
|
|
121
|
+
/* Literal.String.Symbol */
|
|
122
|
+
/* Name.Builtin.Pseudo */
|
|
123
|
+
/* Name.Variable.Class */
|
|
124
|
+
/* Name.Variable.Global */
|
|
125
|
+
/* Name.Variable.Instance */
|
|
126
|
+
/* Literal.Number.Integer.Long */
|
|
127
|
+
}
|
|
128
|
+
/* line 2, ../_sass/_highlight.scss */
|
|
129
|
+
#dsl .highlight .hll {
|
|
130
|
+
background-color: #49483e;
|
|
131
|
+
}
|
|
132
|
+
/* line 3, ../_sass/_highlight.scss */
|
|
133
|
+
#dsl .highlight {
|
|
134
|
+
background: #272822;
|
|
135
|
+
color: #f8f8f2;
|
|
136
|
+
}
|
|
137
|
+
/* line 4, ../_sass/_highlight.scss */
|
|
138
|
+
#dsl .highlight .c {
|
|
139
|
+
color: #75715e;
|
|
140
|
+
}
|
|
141
|
+
/* line 5, ../_sass/_highlight.scss */
|
|
142
|
+
#dsl .highlight .err {
|
|
143
|
+
color: #960050;
|
|
144
|
+
background-color: #1e0010;
|
|
145
|
+
}
|
|
146
|
+
/* line 6, ../_sass/_highlight.scss */
|
|
147
|
+
#dsl .highlight .k {
|
|
148
|
+
color: #66d9ef;
|
|
149
|
+
}
|
|
150
|
+
/* line 7, ../_sass/_highlight.scss */
|
|
151
|
+
#dsl .highlight .l {
|
|
152
|
+
color: #ae81ff;
|
|
153
|
+
}
|
|
154
|
+
/* line 8, ../_sass/_highlight.scss */
|
|
155
|
+
#dsl .highlight .n {
|
|
156
|
+
color: #f8f8f2;
|
|
157
|
+
}
|
|
158
|
+
/* line 9, ../_sass/_highlight.scss */
|
|
159
|
+
#dsl .highlight .o {
|
|
160
|
+
color: #f92672;
|
|
161
|
+
}
|
|
162
|
+
/* line 10, ../_sass/_highlight.scss */
|
|
163
|
+
#dsl .highlight .p {
|
|
164
|
+
color: #f8f8f2;
|
|
165
|
+
}
|
|
166
|
+
/* line 11, ../_sass/_highlight.scss */
|
|
167
|
+
#dsl .highlight .cm {
|
|
168
|
+
color: #75715e;
|
|
169
|
+
}
|
|
170
|
+
/* line 12, ../_sass/_highlight.scss */
|
|
171
|
+
#dsl .highlight .cp {
|
|
172
|
+
color: #75715e;
|
|
173
|
+
}
|
|
174
|
+
/* line 13, ../_sass/_highlight.scss */
|
|
175
|
+
#dsl .highlight .c1 {
|
|
176
|
+
color: #75715e;
|
|
177
|
+
}
|
|
178
|
+
/* line 14, ../_sass/_highlight.scss */
|
|
179
|
+
#dsl .highlight .cs {
|
|
180
|
+
color: #75715e;
|
|
181
|
+
}
|
|
182
|
+
/* line 15, ../_sass/_highlight.scss */
|
|
183
|
+
#dsl .highlight .ge {
|
|
184
|
+
font-style: italic;
|
|
185
|
+
}
|
|
186
|
+
/* line 16, ../_sass/_highlight.scss */
|
|
187
|
+
#dsl .highlight .gs {
|
|
188
|
+
font-weight: bold;
|
|
189
|
+
}
|
|
190
|
+
/* line 17, ../_sass/_highlight.scss */
|
|
191
|
+
#dsl .highlight .kc {
|
|
192
|
+
color: #66d9ef;
|
|
193
|
+
}
|
|
194
|
+
/* line 18, ../_sass/_highlight.scss */
|
|
195
|
+
#dsl .highlight .kd {
|
|
196
|
+
color: #66d9ef;
|
|
197
|
+
}
|
|
198
|
+
/* line 19, ../_sass/_highlight.scss */
|
|
199
|
+
#dsl .highlight .kn {
|
|
200
|
+
color: #f92672;
|
|
201
|
+
}
|
|
202
|
+
/* line 20, ../_sass/_highlight.scss */
|
|
203
|
+
#dsl .highlight .kp {
|
|
204
|
+
color: #66d9ef;
|
|
205
|
+
}
|
|
206
|
+
/* line 21, ../_sass/_highlight.scss */
|
|
207
|
+
#dsl .highlight .kr {
|
|
208
|
+
color: #66d9ef;
|
|
209
|
+
}
|
|
210
|
+
/* line 22, ../_sass/_highlight.scss */
|
|
211
|
+
#dsl .highlight .kt {
|
|
212
|
+
color: #66d9ef;
|
|
213
|
+
}
|
|
214
|
+
/* line 23, ../_sass/_highlight.scss */
|
|
215
|
+
#dsl .highlight .ld {
|
|
216
|
+
color: #e6db74;
|
|
217
|
+
}
|
|
218
|
+
/* line 24, ../_sass/_highlight.scss */
|
|
219
|
+
#dsl .highlight .m {
|
|
220
|
+
color: #ae81ff;
|
|
221
|
+
}
|
|
222
|
+
/* line 25, ../_sass/_highlight.scss */
|
|
223
|
+
#dsl .highlight .s {
|
|
224
|
+
color: #e6db74;
|
|
225
|
+
}
|
|
226
|
+
/* line 26, ../_sass/_highlight.scss */
|
|
227
|
+
#dsl .highlight .na {
|
|
228
|
+
color: #a6e22e;
|
|
229
|
+
}
|
|
230
|
+
/* line 27, ../_sass/_highlight.scss */
|
|
231
|
+
#dsl .highlight .nb {
|
|
232
|
+
color: #f8f8f2;
|
|
233
|
+
}
|
|
234
|
+
/* line 28, ../_sass/_highlight.scss */
|
|
235
|
+
#dsl .highlight .nc {
|
|
236
|
+
color: #a6e22e;
|
|
237
|
+
}
|
|
238
|
+
/* line 29, ../_sass/_highlight.scss */
|
|
239
|
+
#dsl .highlight .no {
|
|
240
|
+
color: #66d9ef;
|
|
241
|
+
}
|
|
242
|
+
/* line 30, ../_sass/_highlight.scss */
|
|
243
|
+
#dsl .highlight .nd {
|
|
244
|
+
color: #a6e22e;
|
|
245
|
+
}
|
|
246
|
+
/* line 31, ../_sass/_highlight.scss */
|
|
247
|
+
#dsl .highlight .ni {
|
|
248
|
+
color: #f8f8f2;
|
|
249
|
+
}
|
|
250
|
+
/* line 32, ../_sass/_highlight.scss */
|
|
251
|
+
#dsl .highlight .ne {
|
|
252
|
+
color: #a6e22e;
|
|
253
|
+
}
|
|
254
|
+
/* line 33, ../_sass/_highlight.scss */
|
|
255
|
+
#dsl .highlight .nf {
|
|
256
|
+
color: #a6e22e;
|
|
257
|
+
}
|
|
258
|
+
/* line 34, ../_sass/_highlight.scss */
|
|
259
|
+
#dsl .highlight .nl {
|
|
260
|
+
color: #f8f8f2;
|
|
261
|
+
}
|
|
262
|
+
/* line 35, ../_sass/_highlight.scss */
|
|
263
|
+
#dsl .highlight .nn {
|
|
264
|
+
color: #f8f8f2;
|
|
265
|
+
}
|
|
266
|
+
/* line 36, ../_sass/_highlight.scss */
|
|
267
|
+
#dsl .highlight .nx {
|
|
268
|
+
color: #a6e22e;
|
|
269
|
+
}
|
|
270
|
+
/* line 37, ../_sass/_highlight.scss */
|
|
271
|
+
#dsl .highlight .py {
|
|
272
|
+
color: #f8f8f2;
|
|
273
|
+
}
|
|
274
|
+
/* line 38, ../_sass/_highlight.scss */
|
|
275
|
+
#dsl .highlight .nt {
|
|
276
|
+
color: #f92672;
|
|
277
|
+
}
|
|
278
|
+
/* line 39, ../_sass/_highlight.scss */
|
|
279
|
+
#dsl .highlight .nv {
|
|
280
|
+
color: #f8f8f2;
|
|
281
|
+
}
|
|
282
|
+
/* line 40, ../_sass/_highlight.scss */
|
|
283
|
+
#dsl .highlight .ow {
|
|
284
|
+
color: #f92672;
|
|
285
|
+
}
|
|
286
|
+
/* line 41, ../_sass/_highlight.scss */
|
|
287
|
+
#dsl .highlight .w {
|
|
288
|
+
color: #f8f8f2;
|
|
289
|
+
}
|
|
290
|
+
/* line 42, ../_sass/_highlight.scss */
|
|
291
|
+
#dsl .highlight .mf {
|
|
292
|
+
color: #ae81ff;
|
|
293
|
+
}
|
|
294
|
+
/* line 43, ../_sass/_highlight.scss */
|
|
295
|
+
#dsl .highlight .mh {
|
|
296
|
+
color: #ae81ff;
|
|
297
|
+
}
|
|
298
|
+
/* line 44, ../_sass/_highlight.scss */
|
|
299
|
+
#dsl .highlight .mi {
|
|
300
|
+
color: #ae81ff;
|
|
301
|
+
}
|
|
302
|
+
/* line 45, ../_sass/_highlight.scss */
|
|
303
|
+
#dsl .highlight .mo {
|
|
304
|
+
color: #ae81ff;
|
|
305
|
+
}
|
|
306
|
+
/* line 46, ../_sass/_highlight.scss */
|
|
307
|
+
#dsl .highlight .sb {
|
|
308
|
+
color: #e6db74;
|
|
309
|
+
}
|
|
310
|
+
/* line 47, ../_sass/_highlight.scss */
|
|
311
|
+
#dsl .highlight .sc {
|
|
312
|
+
color: #e6db74;
|
|
313
|
+
}
|
|
314
|
+
/* line 48, ../_sass/_highlight.scss */
|
|
315
|
+
#dsl .highlight .sd {
|
|
316
|
+
color: #e6db74;
|
|
317
|
+
}
|
|
318
|
+
/* line 49, ../_sass/_highlight.scss */
|
|
319
|
+
#dsl .highlight .s2 {
|
|
320
|
+
color: #e6db74;
|
|
321
|
+
}
|
|
322
|
+
/* line 50, ../_sass/_highlight.scss */
|
|
323
|
+
#dsl .highlight .se {
|
|
324
|
+
color: #ae81ff;
|
|
325
|
+
}
|
|
326
|
+
/* line 51, ../_sass/_highlight.scss */
|
|
327
|
+
#dsl .highlight .sh {
|
|
328
|
+
color: #e6db74;
|
|
329
|
+
}
|
|
330
|
+
/* line 52, ../_sass/_highlight.scss */
|
|
331
|
+
#dsl .highlight .si {
|
|
332
|
+
color: #e6db74;
|
|
333
|
+
}
|
|
334
|
+
/* line 53, ../_sass/_highlight.scss */
|
|
335
|
+
#dsl .highlight .sx {
|
|
336
|
+
color: #e6db74;
|
|
337
|
+
}
|
|
338
|
+
/* line 54, ../_sass/_highlight.scss */
|
|
339
|
+
#dsl .highlight .sr {
|
|
340
|
+
color: #e6db74;
|
|
341
|
+
}
|
|
342
|
+
/* line 55, ../_sass/_highlight.scss */
|
|
343
|
+
#dsl .highlight .s1 {
|
|
344
|
+
color: #e6db74;
|
|
345
|
+
}
|
|
346
|
+
/* line 56, ../_sass/_highlight.scss */
|
|
347
|
+
#dsl .highlight .ss {
|
|
348
|
+
color: #AE81FF;
|
|
349
|
+
}
|
|
350
|
+
/* line 57, ../_sass/_highlight.scss */
|
|
351
|
+
#dsl .highlight .bp {
|
|
352
|
+
color: #f8f8f2;
|
|
353
|
+
}
|
|
354
|
+
/* line 58, ../_sass/_highlight.scss */
|
|
355
|
+
#dsl .highlight .vc {
|
|
356
|
+
color: #f8f8f2;
|
|
357
|
+
}
|
|
358
|
+
/* line 59, ../_sass/_highlight.scss */
|
|
359
|
+
#dsl .highlight .vg {
|
|
360
|
+
color: #f8f8f2;
|
|
361
|
+
}
|
|
362
|
+
/* line 60, ../_sass/_highlight.scss */
|
|
363
|
+
#dsl .highlight .vi {
|
|
364
|
+
color: #f8f8f2;
|
|
365
|
+
}
|
|
366
|
+
/* line 61, ../_sass/_highlight.scss */
|
|
367
|
+
#dsl .highlight .il {
|
|
368
|
+
color: #ae81ff;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* line 33, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
372
|
+
body {
|
|
373
|
+
line-height: 1.5;
|
|
374
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
375
|
+
color: #333333;
|
|
376
|
+
font-size: 75%;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/* line 51, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
380
|
+
h1, h2, h3, h4, h5, h6 {
|
|
381
|
+
font-weight: normal;
|
|
382
|
+
color: #222222;
|
|
383
|
+
}
|
|
384
|
+
/* line 52, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
385
|
+
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
|
|
386
|
+
margin: 0;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* line 53, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
390
|
+
h1 {
|
|
391
|
+
font-size: 3em;
|
|
392
|
+
line-height: 1;
|
|
393
|
+
margin-bottom: 0.50em;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* line 54, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
397
|
+
h2 {
|
|
398
|
+
font-size: 2em;
|
|
399
|
+
margin-bottom: 0.75em;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* line 55, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
403
|
+
h3 {
|
|
404
|
+
font-size: 1.5em;
|
|
405
|
+
line-height: 1;
|
|
406
|
+
margin-bottom: 1.00em;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/* line 56, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
410
|
+
h4 {
|
|
411
|
+
font-size: 1.2em;
|
|
412
|
+
line-height: 1.25;
|
|
413
|
+
margin-bottom: 1.25em;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* line 57, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
417
|
+
h5 {
|
|
418
|
+
font-size: 1em;
|
|
419
|
+
font-weight: bold;
|
|
420
|
+
margin-bottom: 1.50em;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* line 58, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
424
|
+
h6 {
|
|
425
|
+
font-size: 1em;
|
|
426
|
+
font-weight: bold;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* line 59, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
430
|
+
p {
|
|
431
|
+
margin: 0 0 1.5em;
|
|
432
|
+
}
|
|
433
|
+
/* line 60, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
434
|
+
p .left {
|
|
435
|
+
display: inline;
|
|
436
|
+
float: left;
|
|
437
|
+
margin: 1.5em 1.5em 1.5em 0;
|
|
438
|
+
padding: 0;
|
|
439
|
+
}
|
|
440
|
+
/* line 61, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
441
|
+
p .right {
|
|
442
|
+
display: inline;
|
|
443
|
+
float: right;
|
|
444
|
+
margin: 1.5em 0 1.5em 1.5em;
|
|
445
|
+
padding: 0;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/* line 62, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
449
|
+
a {
|
|
450
|
+
text-decoration: underline;
|
|
451
|
+
color: #0066cc;
|
|
452
|
+
}
|
|
453
|
+
/* line 18, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
|
|
454
|
+
a:visited {
|
|
455
|
+
color: #004c99;
|
|
456
|
+
}
|
|
457
|
+
/* line 21, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
|
|
458
|
+
a:focus {
|
|
459
|
+
color: #0099ff;
|
|
460
|
+
}
|
|
461
|
+
/* line 24, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
|
|
462
|
+
a:hover {
|
|
463
|
+
color: #0099ff;
|
|
464
|
+
}
|
|
465
|
+
/* line 27, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
|
|
466
|
+
a:active {
|
|
467
|
+
color: #bf00ff;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/* line 63, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
471
|
+
blockquote {
|
|
472
|
+
margin: 1.5em;
|
|
473
|
+
color: #666666;
|
|
474
|
+
font-style: italic;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* line 64, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
478
|
+
strong, dfn {
|
|
479
|
+
font-weight: bold;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* line 65, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
483
|
+
em, dfn {
|
|
484
|
+
font-style: italic;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/* line 66, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
488
|
+
sup, sub {
|
|
489
|
+
line-height: 0;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/* line 67, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
493
|
+
abbr, acronym {
|
|
494
|
+
border-bottom: 1px dotted #666666;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/* line 68, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
498
|
+
address {
|
|
499
|
+
margin: 0 0 1.5em;
|
|
500
|
+
font-style: italic;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* line 69, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
504
|
+
del {
|
|
505
|
+
color: #666666;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* line 70, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
509
|
+
pre {
|
|
510
|
+
margin: 1.5em 0;
|
|
511
|
+
white-space: pre;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/* line 71, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
515
|
+
pre, code, tt {
|
|
516
|
+
font: 1em "andale mono", "lucida console", monospace;
|
|
517
|
+
line-height: 1.5;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/* line 72, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
521
|
+
li ul, li ol {
|
|
522
|
+
margin: 0;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/* line 73, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
526
|
+
ul, ol {
|
|
527
|
+
margin: 0 1.5em 1.5em 0;
|
|
528
|
+
padding-left: 1.5em;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* line 74, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
532
|
+
ul {
|
|
533
|
+
list-style-type: disc;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/* line 75, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
537
|
+
ol {
|
|
538
|
+
list-style-type: decimal;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/* line 76, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
542
|
+
dl {
|
|
543
|
+
margin: 0 0 1.5em 0;
|
|
544
|
+
}
|
|
545
|
+
/* line 77, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
546
|
+
dl dt {
|
|
547
|
+
font-weight: bold;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/* line 78, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
551
|
+
dd {
|
|
552
|
+
margin-left: 1.5em;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/* line 79, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
556
|
+
table {
|
|
557
|
+
margin-bottom: 1.4em;
|
|
558
|
+
width: 100%;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/* line 80, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
562
|
+
th {
|
|
563
|
+
font-weight: bold;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/* line 81, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
567
|
+
thead th {
|
|
568
|
+
background: #c3d9ff;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/* line 82, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
572
|
+
th, td, caption {
|
|
573
|
+
padding: 4px 10px 4px 5px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/* line 85, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
577
|
+
table.striped tr:nth-child(even) td,
|
|
578
|
+
table tr.even td {
|
|
579
|
+
background: #e5ecf9;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/* line 86, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
583
|
+
tfoot {
|
|
584
|
+
font-style: italic;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/* line 87, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
588
|
+
caption {
|
|
589
|
+
background: #eeeeee;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/* line 88, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
593
|
+
.quiet {
|
|
594
|
+
color: #666666;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/* line 89, ../../../../.rvm/gems/ruby-1.9.2-p136/gems/compass-0.11.1/frameworks/blueprint/stylesheets/blueprint/_typography.scss */
|
|
598
|
+
.loud {
|
|
599
|
+
color: #111111;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* line 11, ../_sass/main.scss */
|
|
603
|
+
body {
|
|
604
|
+
background: #f6f4f1;
|
|
605
|
+
color: #676767;
|
|
606
|
+
width: 676px;
|
|
607
|
+
padding: 0 20px;
|
|
608
|
+
font-size: 95%;
|
|
609
|
+
margin: 25px auto;
|
|
610
|
+
font-family: 'Georgia';
|
|
611
|
+
}
|
|
612
|
+
/* line 20, ../_sass/main.scss */
|
|
613
|
+
body #wrapper {
|
|
614
|
+
position: relative;
|
|
615
|
+
}
|
|
616
|
+
/* line 22, ../_sass/main.scss */
|
|
617
|
+
body a, body a:hover, body a:link, body a:visited {
|
|
618
|
+
color: #407985;
|
|
619
|
+
}
|
|
620
|
+
/* line 26, ../_sass/main.scss */
|
|
621
|
+
body h1, body h2, body h3, body h4, body h5, body h6 {
|
|
622
|
+
color: #595959;
|
|
623
|
+
font-family: 'Yanone Kaffeesatz', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
624
|
+
}
|
|
625
|
+
/* line 31, ../_sass/main.scss */
|
|
626
|
+
body h1 a {
|
|
627
|
+
background: url("../images/activeadmin.png") 0 0 no-repeat;
|
|
628
|
+
display: block;
|
|
629
|
+
width: 257px;
|
|
630
|
+
height: 55px;
|
|
631
|
+
}
|
|
632
|
+
/* line 36, ../_sass/main.scss */
|
|
633
|
+
body h1 a span {
|
|
634
|
+
display: none;
|
|
635
|
+
}
|
|
636
|
+
/* line 39, ../_sass/main.scss */
|
|
637
|
+
body #header {
|
|
638
|
+
margin: 40px 0;
|
|
639
|
+
}
|
|
640
|
+
/* line 43, ../_sass/main.scss */
|
|
641
|
+
body .clear {
|
|
642
|
+
clear: both;
|
|
643
|
+
}
|
|
644
|
+
/* line 45, ../_sass/main.scss */
|
|
645
|
+
body .intro {
|
|
646
|
+
color: #595959;
|
|
647
|
+
font-family: 'Yanone Kaffeesatz', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
648
|
+
font-size: 3.2em;
|
|
649
|
+
font-weight: 300;
|
|
650
|
+
line-height: 1em;
|
|
651
|
+
margin-bottom: 0.3em;
|
|
652
|
+
padding-top: 35px;
|
|
653
|
+
background: url("../images/divider.png") 0 0 repeat-x;
|
|
654
|
+
}
|
|
655
|
+
/* line 52, ../_sass/main.scss */
|
|
656
|
+
body .intro strong {
|
|
657
|
+
font-weight: 400;
|
|
658
|
+
}
|
|
659
|
+
/* line 57, ../_sass/main.scss */
|
|
660
|
+
body h2 {
|
|
661
|
+
margin: 50px 0 10px 0;
|
|
662
|
+
padding-top: 35px;
|
|
663
|
+
background: url("../images/divider.png") 0 0 repeat-x;
|
|
664
|
+
font-size: 2.5em;
|
|
665
|
+
font-weight: 200;
|
|
666
|
+
line-height: 105%;
|
|
667
|
+
}
|
|
668
|
+
/* line 66, ../_sass/main.scss */
|
|
669
|
+
body h3 {
|
|
670
|
+
margin-top: 30px;
|
|
671
|
+
margin-bottom: 10px;
|
|
672
|
+
font-size: 1.7em;
|
|
673
|
+
font-weight: 300;
|
|
674
|
+
}
|
|
675
|
+
/* line 73, ../_sass/main.scss */
|
|
676
|
+
body #nav {
|
|
677
|
+
font-family: 'Yanone Kaffeesatz', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
678
|
+
font-weight: 400;
|
|
679
|
+
font-size: 1.2em;
|
|
680
|
+
text-transform: uppercase;
|
|
681
|
+
position: absolute;
|
|
682
|
+
right: 0;
|
|
683
|
+
top: 20px;
|
|
684
|
+
text-align: right;
|
|
685
|
+
}
|
|
686
|
+
/* line 82, ../_sass/main.scss */
|
|
687
|
+
body #nav a {
|
|
688
|
+
text-decoration: none;
|
|
689
|
+
color: #8b9091;
|
|
690
|
+
margin-left: 20px;
|
|
691
|
+
}
|
|
692
|
+
/* line 90, ../_sass/main.scss */
|
|
693
|
+
body #features {
|
|
694
|
+
padding-top: 0;
|
|
695
|
+
clear: both;
|
|
696
|
+
background: url("../images/features.png") 0 0 no-repeat;
|
|
697
|
+
margin: 0 -35px;
|
|
698
|
+
overflow: visible;
|
|
699
|
+
min-height: 569px;
|
|
700
|
+
font-size: 1.0em;
|
|
701
|
+
line-height: 1.2em;
|
|
702
|
+
font-weight: 300;
|
|
703
|
+
font-family: 'Yanone Kaffeesatz', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
704
|
+
}
|
|
705
|
+
/* line 103, ../_sass/main.scss */
|
|
706
|
+
body #features #features-left {
|
|
707
|
+
float: left;
|
|
708
|
+
width: 150px;
|
|
709
|
+
margin-left: -150px;
|
|
710
|
+
}
|
|
711
|
+
/* line 104, ../_sass/main.scss */
|
|
712
|
+
body #features #features-right {
|
|
713
|
+
float: right;
|
|
714
|
+
width: 150px;
|
|
715
|
+
margin-right: -150px;
|
|
716
|
+
}
|
|
717
|
+
/* line 106, ../_sass/main.scss */
|
|
718
|
+
body #features h3 {
|
|
719
|
+
font-size: 1.2em;
|
|
720
|
+
padding-bottom: 0;
|
|
721
|
+
margin-bottom: 5px;
|
|
722
|
+
}
|
|
723
|
+
/* line 110, ../_sass/main.scss */
|
|
724
|
+
body #features h3.first {
|
|
725
|
+
margin-top: 10px;
|
|
726
|
+
}
|
|
727
|
+
/* line 115, ../_sass/main.scss */
|
|
728
|
+
body.with-sidebar {
|
|
729
|
+
width: 976px;
|
|
730
|
+
}
|
|
731
|
+
/* line 117, ../_sass/main.scss */
|
|
732
|
+
body .toc {
|
|
733
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
734
|
+
padding-top: 35px;
|
|
735
|
+
width: 270px;
|
|
736
|
+
float: right;
|
|
737
|
+
font-size: 0.9em;
|
|
738
|
+
background: url("../images/divider.png") top left repeat-x;
|
|
739
|
+
}
|
|
740
|
+
/* line 124, ../_sass/main.scss */
|
|
741
|
+
body .toc ol li {
|
|
742
|
+
list-style: none;
|
|
743
|
+
}
|
|
744
|
+
/* line 127, ../_sass/main.scss */
|
|
745
|
+
body .toc a, body .toc a:link, body .toc a:hover, body .toc a:visited {
|
|
746
|
+
text-decoration: none;
|
|
747
|
+
color: #595959;
|
|
748
|
+
}
|
|
749
|
+
/* line 128, ../_sass/main.scss */
|
|
750
|
+
body .toc ol.level-1 > li {
|
|
751
|
+
font-size: 1.0em;
|
|
752
|
+
font-weight: bold;
|
|
753
|
+
margin-top: 20px;
|
|
754
|
+
}
|
|
755
|
+
/* line 133, ../_sass/main.scss */
|
|
756
|
+
body .toc ol.level-1 > ol {
|
|
757
|
+
padding-left: 0;
|
|
758
|
+
font-size: 0.95em;
|
|
759
|
+
margin: 0;
|
|
760
|
+
}
|
|
761
|
+
/* line 134, ../_sass/main.scss */
|
|
762
|
+
body .toc ol.level-2 > ol {
|
|
763
|
+
display: none;
|
|
764
|
+
}
|
|
765
|
+
/* line 136, ../_sass/main.scss */
|
|
766
|
+
body .toc-content {
|
|
767
|
+
width: 676px;
|
|
768
|
+
}
|
|
769
|
+
/* line 138, ../_sass/main.scss */
|
|
770
|
+
body #dsl {
|
|
771
|
+
margin-top: 20px;
|
|
772
|
+
}
|
|
773
|
+
/* line 140, ../_sass/main.scss */
|
|
774
|
+
body #dsl .highlight {
|
|
775
|
+
font-size: 0.82em;
|
|
776
|
+
background: #292929 url("../images/code-header.png") 0 0 no-repeat;
|
|
777
|
+
padding: 40px 15px 20px 15px !important;
|
|
778
|
+
-moz-box-shadow: 0 8px 20px #444444;
|
|
779
|
+
-webkit-box-shadow: 0 8px 20px #444444;
|
|
780
|
+
-o-box-shadow: 0 8px 20px #444444;
|
|
781
|
+
box-shadow: 0 8px 20px #444444;
|
|
782
|
+
}
|
|
783
|
+
/* line 148, ../_sass/main.scss */
|
|
784
|
+
body .getting-started {
|
|
785
|
+
font-size: 2em;
|
|
786
|
+
text-align: center;
|
|
787
|
+
}
|
|
788
|
+
/* line 151, ../_sass/main.scss */
|
|
789
|
+
body .getting-started a {
|
|
790
|
+
margin-right: 15px;
|
|
791
|
+
display: block;
|
|
792
|
+
}
|
|
793
|
+
/* line 154, ../_sass/main.scss */
|
|
794
|
+
body .getting-started-heading {
|
|
795
|
+
text-align: center;
|
|
796
|
+
}
|
|
797
|
+
/* line 156, ../_sass/main.scss */
|
|
798
|
+
body .left {
|
|
799
|
+
float: left;
|
|
800
|
+
}
|
|
801
|
+
/* line 157, ../_sass/main.scss */
|
|
802
|
+
body .right {
|
|
803
|
+
float: right;
|
|
804
|
+
}
|
|
805
|
+
/* line 159, ../_sass/main.scss */
|
|
806
|
+
body .highlight {
|
|
807
|
+
background-color: #333;
|
|
808
|
+
font-family: "Droid Sans Mono", Monaco, monospace;
|
|
809
|
+
padding: 10px 5px;
|
|
810
|
+
font-size: 0.9em;
|
|
811
|
+
-moz-border-radius: 2px;
|
|
812
|
+
-webkit-border-radius: 2px;
|
|
813
|
+
-o-border-radius: 2px;
|
|
814
|
+
-ms-border-radius: 2px;
|
|
815
|
+
-khtml-border-radius: 2px;
|
|
816
|
+
border-radius: 2px;
|
|
817
|
+
margin-bottom: 1.5em;
|
|
818
|
+
}
|
|
819
|
+
/* line 165, ../_sass/main.scss */
|
|
820
|
+
body .highlight > pre, body .highlight code, body .highlight span {
|
|
821
|
+
line-height: 1.3em;
|
|
822
|
+
margin: 0;
|
|
823
|
+
padding: 0;
|
|
824
|
+
}
|
|
825
|
+
/* line 169, ../_sass/main.scss */
|
|
826
|
+
body #footer {
|
|
827
|
+
margin-top: 50px;
|
|
828
|
+
margin-bottom: 20px;
|
|
829
|
+
background: url("../images/divider.png") 0 0 repeat-x;
|
|
830
|
+
clear: both;
|
|
831
|
+
padding-top: 20px;
|
|
832
|
+
font-size: 0.9em;
|
|
833
|
+
}
|
|
834
|
+
/* line 179, ../_sass/main.scss */
|
|
835
|
+
body .post .post-date, body .post .post-meta {
|
|
836
|
+
font-size: 0.7em;
|
|
837
|
+
}
|
|
838
|
+
/* line 180, ../_sass/main.scss */
|
|
839
|
+
body .post .post-date {
|
|
840
|
+
display: inline-block;
|
|
841
|
+
width: 100px;
|
|
842
|
+
}
|
|
843
|
+
/* line 181, ../_sass/main.scss */
|
|
844
|
+
body .post .post-meta {
|
|
845
|
+
font-size: 0.6em;
|
|
846
|
+
padding-left: 40px;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/* line 185, ../_sass/main.scss */
|
|
850
|
+
span.breadcrumb {
|
|
851
|
+
display: block;
|
|
852
|
+
font-size: 45%;
|
|
853
|
+
font-weight: 200;
|
|
854
|
+
margin: 0;
|
|
855
|
+
padding: 0;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/* line 193, ../_sass/main.scss */
|
|
859
|
+
h2.in-docs {
|
|
860
|
+
font-weight: 400;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/* line 198, ../_sass/main.scss */
|
|
864
|
+
.docs-content {
|
|
865
|
+
/* Comment */
|
|
866
|
+
/* Error */
|
|
867
|
+
/* Keyword */
|
|
868
|
+
/* Comment.Multiline */
|
|
869
|
+
/* Comment.Preproc */
|
|
870
|
+
/* Comment.Single */
|
|
871
|
+
/* Comment.Special */
|
|
872
|
+
/* Generic.Deleted */
|
|
873
|
+
/* Generic.Emph */
|
|
874
|
+
/* Generic.Error */
|
|
875
|
+
/* Generic.Heading */
|
|
876
|
+
/* Generic.Inserted */
|
|
877
|
+
/* Generic.Output */
|
|
878
|
+
/* Generic.Prompt */
|
|
879
|
+
/* Generic.Strong */
|
|
880
|
+
/* Generic.Subheading */
|
|
881
|
+
/* Generic.Traceback */
|
|
882
|
+
/* Keyword.Constant */
|
|
883
|
+
/* Keyword.Declaration */
|
|
884
|
+
/* Keyword.Namespace */
|
|
885
|
+
/* Keyword.Pseudo */
|
|
886
|
+
/* Keyword.Reserved */
|
|
887
|
+
/* Keyword.Type */
|
|
888
|
+
/* Literal.Number */
|
|
889
|
+
/* Name */
|
|
890
|
+
/* Name */
|
|
891
|
+
/* Literal.String */
|
|
892
|
+
/* Name.Attribute */
|
|
893
|
+
/* Name.Builtin */
|
|
894
|
+
/* Name.Class */
|
|
895
|
+
/* Name.Constant */
|
|
896
|
+
/* Name.Decorator */
|
|
897
|
+
/* Name.Entity */
|
|
898
|
+
/* Name.Function */
|
|
899
|
+
/* Name.Namespace */
|
|
900
|
+
/* Name.Tag */
|
|
901
|
+
/* Name.Variable */
|
|
902
|
+
/* Operator.Word */
|
|
903
|
+
/* Text.Whitespace */
|
|
904
|
+
/* Literal.Number.Float */
|
|
905
|
+
/* Literal.Number.Hex */
|
|
906
|
+
/* Literal.Number.Integer */
|
|
907
|
+
/* Literal.Number.Oct */
|
|
908
|
+
/* Literal.String.Backtick */
|
|
909
|
+
/* Literal.String.Char */
|
|
910
|
+
/* Literal.String.Doc */
|
|
911
|
+
/* Literal.String.Double */
|
|
912
|
+
/* Literal.String.Escape */
|
|
913
|
+
/* Literal.String.Heredoc */
|
|
914
|
+
/* Literal.String.Interpol */
|
|
915
|
+
/* Literal.String.Other */
|
|
916
|
+
/* Literal.String.Regex */
|
|
917
|
+
/* Literal.String.Single */
|
|
918
|
+
/* Literal.String.Symbol */
|
|
919
|
+
/* Name.Builtin.Pseudo */
|
|
920
|
+
/* Name.Variable.Class */
|
|
921
|
+
/* Name.Variable.Global */
|
|
922
|
+
/* Name.Variable.Instance */
|
|
923
|
+
/* Literal.Number.Integer.Long */
|
|
924
|
+
}
|
|
925
|
+
/* line 200, ../_sass/main.scss */
|
|
926
|
+
.docs-content h3 {
|
|
927
|
+
margin-top: 50px;
|
|
928
|
+
margin-bottom: 10px;
|
|
929
|
+
font-size: 2em;
|
|
930
|
+
font-weight: 400;
|
|
931
|
+
}
|
|
932
|
+
/* line 207, ../_sass/main.scss */
|
|
933
|
+
.docs-content h4 {
|
|
934
|
+
font-size: 1.5em;
|
|
935
|
+
font-weight: 400;
|
|
936
|
+
margin-bottom: 0;
|
|
937
|
+
}
|
|
938
|
+
/* line 214, ../_sass/main.scss */
|
|
939
|
+
.docs-content p, .docs-content li {
|
|
940
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
941
|
+
font-size: 0.9em;
|
|
942
|
+
}
|
|
943
|
+
/* line 220, ../_sass/main.scss */
|
|
944
|
+
.docs-content .highlight {
|
|
945
|
+
font-size: 0.85em;
|
|
946
|
+
background-color: #ece8e1;
|
|
947
|
+
color: #000000;
|
|
948
|
+
}
|
|
949
|
+
/* line 226, ../_sass/main.scss */
|
|
950
|
+
.docs-content .highlight .hll {
|
|
951
|
+
background-color: #ffffcc;
|
|
952
|
+
}
|
|
953
|
+
/* line 227, ../_sass/main.scss */
|
|
954
|
+
.docs-content .highlight .c {
|
|
955
|
+
color: #aaaaaa;
|
|
956
|
+
font-style: italic;
|
|
957
|
+
}
|
|
958
|
+
/* line 228, ../_sass/main.scss */
|
|
959
|
+
.docs-content .highlight .err {
|
|
960
|
+
color: #F00000;
|
|
961
|
+
background-color: #F0A0A0;
|
|
962
|
+
}
|
|
963
|
+
/* line 229, ../_sass/main.scss */
|
|
964
|
+
.docs-content .highlight .k {
|
|
965
|
+
color: #0000aa;
|
|
966
|
+
}
|
|
967
|
+
/* line 230, ../_sass/main.scss */
|
|
968
|
+
.docs-content .highlight .cm {
|
|
969
|
+
color: #aaaaaa;
|
|
970
|
+
font-style: italic;
|
|
971
|
+
}
|
|
972
|
+
/* line 231, ../_sass/main.scss */
|
|
973
|
+
.docs-content .highlight .cp {
|
|
974
|
+
color: #4c8317;
|
|
975
|
+
}
|
|
976
|
+
/* line 232, ../_sass/main.scss */
|
|
977
|
+
.docs-content .highlight .c1 {
|
|
978
|
+
color: #aaaaaa;
|
|
979
|
+
font-style: italic;
|
|
980
|
+
}
|
|
981
|
+
/* line 233, ../_sass/main.scss */
|
|
982
|
+
.docs-content .highlight .cs {
|
|
983
|
+
color: #0000aa;
|
|
984
|
+
font-style: italic;
|
|
985
|
+
}
|
|
986
|
+
/* line 234, ../_sass/main.scss */
|
|
987
|
+
.docs-content .highlight .gd {
|
|
988
|
+
color: #aa0000;
|
|
989
|
+
}
|
|
990
|
+
/* line 235, ../_sass/main.scss */
|
|
991
|
+
.docs-content .highlight .ge {
|
|
992
|
+
font-style: italic;
|
|
993
|
+
}
|
|
994
|
+
/* line 236, ../_sass/main.scss */
|
|
995
|
+
.docs-content .highlight .gr {
|
|
996
|
+
color: #aa0000;
|
|
997
|
+
}
|
|
998
|
+
/* line 237, ../_sass/main.scss */
|
|
999
|
+
.docs-content .highlight .gh {
|
|
1000
|
+
color: #000080;
|
|
1001
|
+
font-weight: bold;
|
|
1002
|
+
}
|
|
1003
|
+
/* line 238, ../_sass/main.scss */
|
|
1004
|
+
.docs-content .highlight .gi {
|
|
1005
|
+
color: #00aa00;
|
|
1006
|
+
}
|
|
1007
|
+
/* line 239, ../_sass/main.scss */
|
|
1008
|
+
.docs-content .highlight .go {
|
|
1009
|
+
color: #888888;
|
|
1010
|
+
}
|
|
1011
|
+
/* line 240, ../_sass/main.scss */
|
|
1012
|
+
.docs-content .highlight .gp {
|
|
1013
|
+
color: #555555;
|
|
1014
|
+
}
|
|
1015
|
+
/* line 241, ../_sass/main.scss */
|
|
1016
|
+
.docs-content .highlight .gs {
|
|
1017
|
+
font-weight: bold;
|
|
1018
|
+
}
|
|
1019
|
+
/* line 242, ../_sass/main.scss */
|
|
1020
|
+
.docs-content .highlight .gu {
|
|
1021
|
+
color: #800080;
|
|
1022
|
+
font-weight: bold;
|
|
1023
|
+
}
|
|
1024
|
+
/* line 243, ../_sass/main.scss */
|
|
1025
|
+
.docs-content .highlight .gt {
|
|
1026
|
+
color: #aa0000;
|
|
1027
|
+
}
|
|
1028
|
+
/* line 244, ../_sass/main.scss */
|
|
1029
|
+
.docs-content .highlight .kc {
|
|
1030
|
+
color: #0000aa;
|
|
1031
|
+
}
|
|
1032
|
+
/* line 245, ../_sass/main.scss */
|
|
1033
|
+
.docs-content .highlight .kd {
|
|
1034
|
+
color: #0000aa;
|
|
1035
|
+
}
|
|
1036
|
+
/* line 246, ../_sass/main.scss */
|
|
1037
|
+
.docs-content .highlight .kn {
|
|
1038
|
+
color: #0000aa;
|
|
1039
|
+
}
|
|
1040
|
+
/* line 247, ../_sass/main.scss */
|
|
1041
|
+
.docs-content .highlight .kp {
|
|
1042
|
+
color: #0000aa;
|
|
1043
|
+
}
|
|
1044
|
+
/* line 248, ../_sass/main.scss */
|
|
1045
|
+
.docs-content .highlight .kr {
|
|
1046
|
+
color: #0000aa;
|
|
1047
|
+
}
|
|
1048
|
+
/* line 249, ../_sass/main.scss */
|
|
1049
|
+
.docs-content .highlight .kt {
|
|
1050
|
+
color: #00aaaa;
|
|
1051
|
+
}
|
|
1052
|
+
/* line 250, ../_sass/main.scss */
|
|
1053
|
+
.docs-content .highlight .m {
|
|
1054
|
+
color: #009999;
|
|
1055
|
+
}
|
|
1056
|
+
/* line 251, ../_sass/main.scss */
|
|
1057
|
+
.docs-content .highlight .n {
|
|
1058
|
+
color: #000000;
|
|
1059
|
+
}
|
|
1060
|
+
/* line 252, ../_sass/main.scss */
|
|
1061
|
+
.docs-content .highlight .p {
|
|
1062
|
+
color: #000000;
|
|
1063
|
+
}
|
|
1064
|
+
/* line 253, ../_sass/main.scss */
|
|
1065
|
+
.docs-content .highlight .s {
|
|
1066
|
+
color: #aa5500;
|
|
1067
|
+
}
|
|
1068
|
+
/* line 254, ../_sass/main.scss */
|
|
1069
|
+
.docs-content .highlight .na {
|
|
1070
|
+
color: #1e90ff;
|
|
1071
|
+
}
|
|
1072
|
+
/* line 255, ../_sass/main.scss */
|
|
1073
|
+
.docs-content .highlight .nb {
|
|
1074
|
+
color: #00aaaa;
|
|
1075
|
+
}
|
|
1076
|
+
/* line 256, ../_sass/main.scss */
|
|
1077
|
+
.docs-content .highlight .nc {
|
|
1078
|
+
color: #00aa00;
|
|
1079
|
+
text-decoration: underline;
|
|
1080
|
+
}
|
|
1081
|
+
/* line 257, ../_sass/main.scss */
|
|
1082
|
+
.docs-content .highlight .no {
|
|
1083
|
+
color: #aa0000;
|
|
1084
|
+
}
|
|
1085
|
+
/* line 258, ../_sass/main.scss */
|
|
1086
|
+
.docs-content .highlight .nd {
|
|
1087
|
+
color: #888888;
|
|
1088
|
+
}
|
|
1089
|
+
/* line 259, ../_sass/main.scss */
|
|
1090
|
+
.docs-content .highlight .ni {
|
|
1091
|
+
color: #800000;
|
|
1092
|
+
font-weight: bold;
|
|
1093
|
+
}
|
|
1094
|
+
/* line 260, ../_sass/main.scss */
|
|
1095
|
+
.docs-content .highlight .nf {
|
|
1096
|
+
color: #00aa00;
|
|
1097
|
+
}
|
|
1098
|
+
/* line 261, ../_sass/main.scss */
|
|
1099
|
+
.docs-content .highlight .nn {
|
|
1100
|
+
color: #00aaaa;
|
|
1101
|
+
text-decoration: underline;
|
|
1102
|
+
}
|
|
1103
|
+
/* line 262, ../_sass/main.scss */
|
|
1104
|
+
.docs-content .highlight .nt {
|
|
1105
|
+
color: #1e90ff;
|
|
1106
|
+
font-weight: bold;
|
|
1107
|
+
}
|
|
1108
|
+
/* line 263, ../_sass/main.scss */
|
|
1109
|
+
.docs-content .highlight .nv {
|
|
1110
|
+
color: #aa0000;
|
|
1111
|
+
}
|
|
1112
|
+
/* line 264, ../_sass/main.scss */
|
|
1113
|
+
.docs-content .highlight .ow {
|
|
1114
|
+
color: #0000aa;
|
|
1115
|
+
}
|
|
1116
|
+
/* line 265, ../_sass/main.scss */
|
|
1117
|
+
.docs-content .highlight .w {
|
|
1118
|
+
color: #bbbbbb;
|
|
1119
|
+
}
|
|
1120
|
+
/* line 266, ../_sass/main.scss */
|
|
1121
|
+
.docs-content .highlight .mf {
|
|
1122
|
+
color: #009999;
|
|
1123
|
+
}
|
|
1124
|
+
/* line 267, ../_sass/main.scss */
|
|
1125
|
+
.docs-content .highlight .mh {
|
|
1126
|
+
color: #009999;
|
|
1127
|
+
}
|
|
1128
|
+
/* line 268, ../_sass/main.scss */
|
|
1129
|
+
.docs-content .highlight .mi {
|
|
1130
|
+
color: #009999;
|
|
1131
|
+
}
|
|
1132
|
+
/* line 269, ../_sass/main.scss */
|
|
1133
|
+
.docs-content .highlight .mo {
|
|
1134
|
+
color: #009999;
|
|
1135
|
+
}
|
|
1136
|
+
/* line 270, ../_sass/main.scss */
|
|
1137
|
+
.docs-content .highlight .sb {
|
|
1138
|
+
color: #aa5500;
|
|
1139
|
+
}
|
|
1140
|
+
/* line 271, ../_sass/main.scss */
|
|
1141
|
+
.docs-content .highlight .sc {
|
|
1142
|
+
color: #aa5500;
|
|
1143
|
+
}
|
|
1144
|
+
/* line 272, ../_sass/main.scss */
|
|
1145
|
+
.docs-content .highlight .sd {
|
|
1146
|
+
color: #aa5500;
|
|
1147
|
+
}
|
|
1148
|
+
/* line 273, ../_sass/main.scss */
|
|
1149
|
+
.docs-content .highlight .s2 {
|
|
1150
|
+
color: #aa5500;
|
|
1151
|
+
}
|
|
1152
|
+
/* line 274, ../_sass/main.scss */
|
|
1153
|
+
.docs-content .highlight .se {
|
|
1154
|
+
color: #aa5500;
|
|
1155
|
+
}
|
|
1156
|
+
/* line 275, ../_sass/main.scss */
|
|
1157
|
+
.docs-content .highlight .sh {
|
|
1158
|
+
color: #aa5500;
|
|
1159
|
+
}
|
|
1160
|
+
/* line 276, ../_sass/main.scss */
|
|
1161
|
+
.docs-content .highlight .si {
|
|
1162
|
+
color: #aa5500;
|
|
1163
|
+
}
|
|
1164
|
+
/* line 277, ../_sass/main.scss */
|
|
1165
|
+
.docs-content .highlight .sx {
|
|
1166
|
+
color: #aa5500;
|
|
1167
|
+
}
|
|
1168
|
+
/* line 278, ../_sass/main.scss */
|
|
1169
|
+
.docs-content .highlight .sr {
|
|
1170
|
+
color: #009999;
|
|
1171
|
+
}
|
|
1172
|
+
/* line 279, ../_sass/main.scss */
|
|
1173
|
+
.docs-content .highlight .s1 {
|
|
1174
|
+
color: #aa5500;
|
|
1175
|
+
}
|
|
1176
|
+
/* line 280, ../_sass/main.scss */
|
|
1177
|
+
.docs-content .highlight .ss {
|
|
1178
|
+
color: #0000aa;
|
|
1179
|
+
}
|
|
1180
|
+
/* line 281, ../_sass/main.scss */
|
|
1181
|
+
.docs-content .highlight .bp {
|
|
1182
|
+
color: #00aaaa;
|
|
1183
|
+
}
|
|
1184
|
+
/* line 282, ../_sass/main.scss */
|
|
1185
|
+
.docs-content .highlight .vc {
|
|
1186
|
+
color: #aa0000;
|
|
1187
|
+
}
|
|
1188
|
+
/* line 283, ../_sass/main.scss */
|
|
1189
|
+
.docs-content .highlight .vg {
|
|
1190
|
+
color: #aa0000;
|
|
1191
|
+
}
|
|
1192
|
+
/* line 284, ../_sass/main.scss */
|
|
1193
|
+
.docs-content .highlight .vi {
|
|
1194
|
+
color: #aa0000;
|
|
1195
|
+
}
|
|
1196
|
+
/* line 285, ../_sass/main.scss */
|
|
1197
|
+
.docs-content .highlight .il {
|
|
1198
|
+
color: #009999;
|
|
1199
|
+
}
|