worthwhile 0.0.1.alpha → 0.0.1
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 -1
- data/.rspec +1 -0
- data/.travis.yml +19 -0
- data/Gemfile +7 -11
- data/README.md +8 -12
- data/Rakefile +17 -2
- data/app/actors/concerns/worthwhile/manages_embargoes_actor.rb +79 -0
- data/app/actors/curation_concern/base_actor.rb +68 -0
- data/app/actors/curation_concern/generic_file_actor.rb +40 -0
- data/app/actors/curation_concern/generic_work_actor.rb +92 -0
- data/app/actors/curation_concern/linked_resource_actor.rb +4 -0
- data/app/assets/images/default.png +0 -0
- data/app/assets/images/nope.png +0 -0
- data/app/assets/javascripts/.gitkeep +0 -0
- data/app/assets/javascripts/modernizr.js +3 -0
- data/app/assets/javascripts/worthwhile/.gitkeep +0 -0
- data/app/assets/javascripts/worthwhile/accept_contributor_agreement.js +15 -0
- data/app/assets/javascripts/worthwhile/application.js +18 -0
- data/app/assets/javascripts/worthwhile/browse_everything_implement.js +7 -0
- data/app/assets/javascripts/worthwhile/embargoes.js +17 -0
- data/app/assets/javascripts/worthwhile/facet_mine.js +22 -0
- data/app/assets/javascripts/worthwhile/help_modal.js +36 -0
- data/app/assets/javascripts/worthwhile/link_groups.js.coffee +123 -0
- data/app/assets/javascripts/worthwhile/link_users.js.coffee +126 -0
- data/app/assets/javascripts/worthwhile/manage_repeating_fields.js +74 -0
- data/app/assets/javascripts/worthwhile/proxy_rights.js.coffee +95 -0
- data/app/assets/javascripts/worthwhile/proxy_submission.js +23 -0
- data/app/assets/javascripts/worthwhile/select_works.js.coffee +20 -0
- data/app/assets/javascripts/worthwhile/worthwhile.js +45 -0
- data/app/assets/stylesheets/worthwhile.css.scss +23 -0
- data/app/assets/stylesheets/worthwhile/_global-variables.css.scss +5 -0
- data/app/assets/stylesheets/worthwhile/_modules.css.scss +14 -0
- data/app/assets/stylesheets/worthwhile/_positioning.css.scss +138 -0
- data/app/assets/stylesheets/worthwhile/_theme.css.scss +46 -0
- data/app/assets/stylesheets/worthwhile/_typography.css.scss +142 -0
- data/app/assets/stylesheets/worthwhile/_variables_bootstrap.css.scss +7 -0
- data/app/assets/stylesheets/worthwhile/_worthwhile.css.scss +7 -0
- data/app/assets/stylesheets/worthwhile/downloads.css.scss +3 -0
- data/app/assets/stylesheets/worthwhile/help_requests.css.scss +3 -0
- data/app/assets/stylesheets/worthwhile/modules/accessibility.css.scss +50 -0
- data/app/assets/stylesheets/worthwhile/modules/accordion.css.scss +33 -0
- data/app/assets/stylesheets/worthwhile/modules/attributes.css.scss +26 -0
- data/app/assets/stylesheets/worthwhile/modules/classify_work.css.scss +100 -0
- data/app/assets/stylesheets/worthwhile/modules/collections.css.scss +42 -0
- data/app/assets/stylesheets/worthwhile/modules/embargoes.css.scss +15 -0
- data/app/assets/stylesheets/worthwhile/modules/emphatic_action_area.css.scss +14 -0
- data/app/assets/stylesheets/worthwhile/modules/forms.css.scss +116 -0
- data/app/assets/stylesheets/worthwhile/modules/multi_value_fields.css.scss +52 -0
- data/app/assets/stylesheets/worthwhile/modules/pagination.css.scss +4 -0
- data/app/assets/stylesheets/worthwhile/modules/search_results.css.scss +55 -0
- data/app/assets/stylesheets/worthwhile/modules/site_actions.css.scss +53 -0
- data/app/assets/stylesheets/worthwhile/modules/site_search.css.scss +46 -0
- data/app/controllers/catalog_controller.rb +3 -0
- data/app/controllers/collections_controller.rb +59 -0
- data/app/controllers/concerns/worthwhile/application_controller_behavior.rb +23 -0
- data/app/controllers/concerns/worthwhile/catalog_controller.rb +347 -0
- data/app/controllers/concerns/worthwhile/curation_concern_controller.rb +131 -0
- data/app/controllers/concerns/worthwhile/files_controller.rb +149 -0
- data/app/controllers/concerns/worthwhile/manages_embargoes.rb +22 -0
- data/app/controllers/concerns/worthwhile/parent_container.rb +31 -0
- data/app/controllers/concerns/worthwhile/themed_layout_controller.rb +31 -0
- data/app/controllers/concerns/worthwhile/without_namespace.rb +15 -0
- data/app/controllers/curation_concern/generic_files_controller.rb +6 -0
- data/app/controllers/curation_concern/generic_works_controller.rb +6 -0
- data/app/controllers/curation_concern/linked_resources_controller.rb +68 -0
- data/app/controllers/curation_concern/permissions_controller.rb +19 -0
- data/app/controllers/downloads_controller.rb +4 -0
- data/app/controllers/embargoes_controller.rb +44 -0
- data/app/controllers/leases_controller.rb +34 -0
- data/app/controllers/registrations_controller.rb +20 -0
- data/app/controllers/sessions_controller.rb +4 -0
- data/app/controllers/worthwhile/application_controller.rb +7 -0
- data/app/controllers/worthwhile/classify_concerns_controller.rb +35 -0
- data/app/datastreams/generic_work_metadata.rb +3 -0
- data/app/datastreams/worthwhile/generic_work_rdf_properties.rb +57 -0
- data/app/datastreams/worthwhile/properties_datastream.rb +28 -0
- data/app/helpers/curate/collections_helper.rb +133 -0
- data/app/helpers/worthwhile/ability_helper.rb +46 -0
- data/app/helpers/worthwhile/attribute_helper.rb +67 -0
- data/app/helpers/worthwhile/catalog_helper.rb +38 -0
- data/app/helpers/worthwhile/collections_helper.rb +19 -0
- data/app/helpers/worthwhile/embargo_helper.rb +17 -0
- data/app/helpers/worthwhile/generic_file_helper.rb +19 -0
- data/app/helpers/worthwhile/lease_helper.rb +18 -0
- data/app/helpers/worthwhile/main_app_helpers.rb +14 -0
- data/app/helpers/worthwhile/render_constraints_helper.rb +42 -0
- data/app/helpers/worthwhile/search_paths_helper.rb +13 -0
- data/app/helpers/worthwhile/thumbnail_helper.rb +11 -0
- data/app/helpers/worthwhile/title_helper.rb +23 -0
- data/app/helpers/worthwhile/url_helper.rb +16 -0
- data/app/inputs/multi_value_input.rb +72 -0
- data/app/models/collection.rb +15 -0
- data/app/models/concerns/curation_concern/collection_model.rb +62 -0
- data/app/models/concerns/curation_concern/curatable.rb +77 -0
- data/app/models/concerns/curation_concern/has_representative.rb +14 -0
- data/app/models/concerns/curation_concern/human_readable_type.rb +23 -0
- data/app/models/concerns/curation_concern/with_basic_metadata.rb +49 -0
- data/app/models/concerns/curation_concern/with_editors.rb +44 -0
- data/app/models/concerns/curation_concern/with_generic_files.rb +23 -0
- data/app/models/concerns/curation_concern/with_linked_resources.rb +21 -0
- data/app/models/concerns/curation_concern/work.rb +24 -0
- data/app/models/concerns/worthwhile/ability.rb +34 -0
- data/app/models/concerns/worthwhile/generic_file/versioned_content.rb +18 -0
- data/app/models/concerns/worthwhile/generic_file_base.rb +64 -0
- data/app/models/concerns/worthwhile/solr_document_behavior.rb +140 -0
- data/app/models/generic_work.rb +5 -0
- data/app/models/worthwhile/classify_concern.rb +47 -0
- data/app/models/worthwhile/content_version.rb +23 -0
- data/app/models/worthwhile/contributor_agreement.rb +23 -0
- data/app/models/worthwhile/generic_file.rb +5 -0
- data/app/models/worthwhile/linked_resource.rb +41 -0
- data/app/models/worthwhile/quick_classification_query.rb +31 -0
- data/app/services/worthwhile/curation_concern.rb +21 -0
- data/app/services/worthwhile/embargo_service.rb +26 -0
- data/app/services/worthwhile/lease_service.rb +23 -0
- data/app/views/catalog/_action_menu_partials/_collection.html.erb +27 -0
- data/app/views/catalog/_action_menu_partials/_default.html.erb +27 -0
- data/app/views/catalog/_document.html.erb +3 -0
- data/app/views/catalog/_document_list.html.erb +5 -0
- data/app/views/catalog/_home_text.html.erb +8 -0
- data/app/views/catalog/_index_default.html.erb +17 -0
- data/app/views/catalog/_index_header_list_default.html.erb +17 -0
- data/app/views/catalog/_navbar.html.erb +12 -0
- data/app/views/catalog/_show_partials/_default.html.erb +22 -0
- data/app/views/catalog/_show_partials/_default_details.html.erb +15 -0
- data/app/views/catalog/_show_partials/_facets.html.erb +52 -0
- data/app/views/catalog/index.html.erb +48 -0
- data/app/views/collections/_batch_edits_actions.html.erb +3 -0
- data/app/views/collections/_button_for_creating_empty_collection.html.erb +3 -0
- data/app/views/collections/_collection.html.erb +1 -0
- data/app/views/collections/_dashboard_document_list.html.erb +6 -0
- data/app/views/collections/_document_list.html.erb +7 -0
- data/app/views/collections/_edit_actions.html.erb +5 -0
- data/app/views/collections/_edit_descriptions.html.erb +20 -0
- data/app/views/collections/_form.html.erb +26 -0
- data/app/views/collections/_form_for_select_collection.html.erb +34 -0
- data/app/views/collections/_form_permission.html.erb +36 -0
- data/app/views/collections/_form_required_information.html.erb +11 -0
- data/app/views/collections/_identifier_and_action.html.erb +15 -0
- data/app/views/collections/_media_display.html.erb +1 -0
- data/app/views/collections/_paginate.html.erb +6 -0
- data/app/views/collections/_search_collection_dashboard_form.html.erb +10 -0
- data/app/views/collections/_show_actions.html.erb +8 -0
- data/app/views/collections/_show_descriptions.html.erb +10 -0
- data/app/views/collections/_show_fields.html.erb +0 -0
- data/app/views/collections/_single_item_action_fields.html.erb +6 -0
- data/app/views/collections/_sort_and_per_page.html.erb +29 -0
- data/app/views/collections/_view_type_group.html.erb +13 -0
- data/app/views/collections/edit.html.erb +22 -0
- data/app/views/collections/new.html.erb +15 -0
- data/app/views/collections/show.html.erb +24 -0
- data/app/views/curate/collections/_add_to_collection_modal.html.erb +15 -0
- data/app/views/curate/collections/_button_remove_from_collection.html.erb +6 -0
- data/app/views/curate/collections/_form_to_add_member.html.erb +27 -0
- data/app/views/curate/collections/add_member_form.html.erb +6 -0
- data/app/views/curation_concern/base/_attributes.html.erb +25 -0
- data/app/views/curation_concern/base/_collections.html.erb +26 -0
- data/app/views/curation_concern/base/_form.html.erb +27 -0
- data/app/views/curation_concern/base/_form_additional_information.html.erb +9 -0
- data/app/views/curation_concern/base/_form_content_license.html.erb +16 -0
- data/app/views/curation_concern/base/_form_contributor_agreement.html.erb +29 -0
- data/app/views/curation_concern/base/_form_descriptive_fields.erb +23 -0
- data/app/views/curation_concern/base/_form_files_and_links.html.erb +29 -0
- data/app/views/curation_concern/base/_form_permission.html.erb +52 -0
- data/app/views/curation_concern/base/_form_permission_embargo.html.erb +6 -0
- data/app/views/curation_concern/base/_form_permission_lease.html.erb +6 -0
- data/app/views/curation_concern/base/_form_permission_under_embargo.html.erb +16 -0
- data/app/views/curation_concern/base/_form_permission_under_lease.html.erb +18 -0
- data/app/views/curation_concern/base/_form_representative_image.html.erb +13 -0
- data/app/views/curation_concern/base/_form_required_information.html.erb +11 -0
- data/app/views/curation_concern/base/_form_supplementary_fields.html.erb +15 -0
- data/app/views/curation_concern/base/_legally_binding_text.html.erb +33 -0
- data/app/views/curation_concern/base/_related_files.html.erb +24 -0
- data/app/views/curation_concern/base/_related_resources.html.erb +40 -0
- data/app/views/curation_concern/base/_representative_media.html.erb +8 -0
- data/app/views/curation_concern/base/edit.html.erb +15 -0
- data/app/views/curation_concern/base/new.html.erb +14 -0
- data/app/views/curation_concern/base/show.html.erb +32 -0
- data/app/views/curation_concern/base/unauthorized.html.erb +3 -0
- data/app/views/curation_concern/generic_files/_form.html.erb +35 -0
- data/app/views/curation_concern/generic_files/_media_display.html.erb +20 -0
- data/app/views/curation_concern/generic_files/edit.html.erb +5 -0
- data/app/views/curation_concern/generic_files/show.html.erb +15 -0
- data/app/views/curation_concern/generic_works/_generic_work.html.erb +3 -0
- data/app/views/curation_concern/linked_resources/_form.html.erb +11 -0
- data/app/views/curation_concern/linked_resources/edit.html.erb +5 -0
- data/app/views/curation_concern/linked_resources/new.html.erb +5 -0
- data/app/views/curation_concern/permissions/confirm.html.erb +13 -0
- data/app/views/curation_concern/worthwhile/generic_files/_actions.html.erb +16 -0
- data/app/views/curation_concern/worthwhile/generic_files/_generic_file.html.erb +12 -0
- data/app/views/embargoes/_embargo_history.html.erb +7 -0
- data/app/views/embargoes/_list_active_embargoes.html.erb +16 -0
- data/app/views/embargoes/_list_deactivated_embargoes.html.erb +10 -0
- data/app/views/embargoes/_list_expired_active_embargoes.html.erb +44 -0
- data/app/views/embargoes/edit.html.erb +43 -0
- data/app/views/embargoes/index.html.erb +18 -0
- data/app/views/layouts/boilerplate.html.erb +22 -0
- data/app/views/layouts/common_objects.html.erb +36 -0
- data/app/views/layouts/curate_nd.html.erb +33 -0
- data/app/views/layouts/curate_nd/1_column.html.erb +22 -0
- data/app/views/layouts/curate_nd/2_column.html.erb +26 -0
- data/app/views/layouts/curate_nd/catalog.html.erb +38 -0
- data/app/views/layouts/curate_nd/dashboard.html.erb +22 -0
- data/app/views/leases/_lease_history.html.erb +7 -0
- data/app/views/leases/_list_active_leases.html.erb +16 -0
- data/app/views/leases/_list_deactivated_leases.html.erb +4 -0
- data/app/views/leases/_list_expired_active_leases.html.erb +38 -0
- data/app/views/leases/edit.html.erb +43 -0
- data/app/views/leases/index.html.erb +18 -0
- data/app/views/shared/_add_content.html.erb +32 -0
- data/app/views/shared/_brand_bar.html.erb +10 -0
- data/app/views/shared/_flash_message.html.erb +17 -0
- data/app/views/shared/_footer.html.erb +10 -0
- data/app/views/shared/_ga.html.erb +6 -0
- data/app/views/shared/_header.html.erb +12 -0
- data/app/views/shared/_my_actions.html.erb +21 -0
- data/app/views/shared/_site_actions.html.erb +7 -0
- data/app/views/shared/_site_search.html.erb +12 -0
- data/app/views/shared/_title_bar.html.erb +16 -0
- data/app/views/worthwhile/classify_concerns/new.html.erb +27 -0
- data/app/workers/visibility_copy_worker.rb +29 -0
- data/config/initializers/simple_form.rb +31 -0
- data/config/locales/sufia.en.yml +26 -0
- data/config/locales/worthwhile.en.yml +68 -0
- data/config/routes.rb +4 -0
- data/lib/generators/worthwhile/install_generator.rb +74 -0
- data/lib/generators/worthwhile/templates/worthwhile.css.scss +3 -0
- data/lib/generators/worthwhile/templates/worthwhile.js +1 -0
- data/lib/generators/worthwhile/templates/worthwhile_config.rb +3 -0
- data/lib/generators/worthwhile/templates/worthwhile_helper.rb +4 -0
- data/lib/worthwhile.rb +3 -1
- data/lib/worthwhile/configuration.rb +74 -0
- data/lib/worthwhile/controller_resource.rb +10 -0
- data/lib/worthwhile/engine.rb +20 -0
- data/lib/worthwhile/rails/routes.rb +78 -0
- data/lib/worthwhile/spec_support.rb +10 -0
- data/lib/worthwhile/version.rb +1 -1
- data/spec/abilities/generic_file_abilities_spec.rb +62 -0
- data/spec/abilities/generic_work_abilities_spec.rb +58 -0
- data/spec/actors/curation_concern/generic_work_actor_spec.rb +215 -0
- data/spec/actors/curation_concern/linked_resource_actor_spec.rb +36 -0
- data/spec/actors/worthwile/manages_embargoes_actor_spec.rb +95 -0
- data/spec/controllers/catalog_controller_spec.rb +114 -0
- data/spec/controllers/collections_controller_spec.rb +216 -0
- data/spec/controllers/curation_concern/generic_files_controller_spec.rb +258 -0
- data/spec/controllers/curation_concern/generic_works_controller_spec.rb +171 -0
- data/spec/controllers/curation_concern/linked_resources_controller_spec.rb +123 -0
- data/spec/controllers/curation_concern/permissions_controller_spec.rb +29 -0
- data/spec/controllers/downloads_controller_spec.rb +53 -0
- data/spec/controllers/embargoes_controller_spec.rb +107 -0
- data/spec/controllers/leases_controller_spec.rb +95 -0
- data/spec/controllers/worthwhile/classify_concerns_controller_spec.rb +35 -0
- data/spec/factories/collections_factory.rb +21 -0
- data/spec/factories/create_curation_concern.rb +3 -0
- data/spec/factories/generic_files.rb +18 -0
- data/spec/factories/generic_works.rb +37 -0
- data/spec/factories/linked_resources_factory.rb +18 -0
- data/spec/factories/users.rb +15 -0
- data/spec/features/add_external_link_spec.rb +25 -0
- data/spec/features/add_file_spec.rb +28 -0
- data/spec/features/collection_spec.rb +238 -0
- data/spec/features/embargo_spec.rb +45 -0
- data/spec/features/lease_spec.rb +43 -0
- data/spec/features/update_file_spec.rb +28 -0
- data/spec/fixtures/files/image.png +0 -0
- data/spec/helpers/catalog_helper_spec.rb +58 -0
- data/spec/helpers/configuration_helper_spec.rb +13 -0
- data/spec/helpers/render_constraints_helper_spec.rb +19 -0
- data/spec/helpers/thumbnail_helper_spec.rb +21 -0
- data/spec/helpers/url_helper_spec.rb +19 -0
- data/spec/matchers.rb +24 -0
- data/spec/matchers/metadata_field_matchers.rb +28 -0
- data/spec/models/collection_spec.rb +136 -0
- data/spec/models/curation_concern/collection_model_spec.rb +50 -0
- data/spec/models/curation_concern/work_spec.rb +30 -0
- data/spec/models/generic_work_spec.rb +24 -0
- data/spec/models/worthwhile/content_version_spec.rb +27 -0
- data/spec/models/worthwhile/generic_file_spec.rb +77 -0
- data/spec/models/worthwhile/linked_resource_spec.rb +76 -0
- data/spec/routing/worthwhile/routes_spec.rb +23 -0
- data/spec/services/embargo_service_spec.rb +38 -0
- data/spec/services/lease_service_spec.rb +37 -0
- data/spec/spec_helper.rb +30 -5
- data/spec/support/controllers/engine_helpers.rb +7 -0
- data/spec/support/curation_concern/factory_helpers.rb +14 -0
- data/spec/support/features.rb +19 -0
- data/spec/support/features/fixture_file_upload.rb +14 -0
- data/spec/support/features/session_helpers.rb +41 -0
- data/spec/support/shared/shared_examples_has_dc_metadata.rb +17 -0
- data/spec/support/shared/shared_examples_is_a_curation_concern_model.rb +40 -0
- data/spec/support/shared/shared_examples_is_embargoable.rb +8 -0
- data/spec/support/shared/shared_examples_with_access_rights.rb +63 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +8 -29
- data/spec/views/curation_concern/base/_attributes.html.erb_spec.rb +25 -0
- data/spec/views/curation_concern/base/show.html.erb_spec.rb +25 -0
- data/spec/views/shared/_add_content.html.erb_spec.rb +42 -0
- data/spec/views/shared/_my_actions.html.erb_spec.rb +23 -0
- data/spec/workers/visibility_copy_worker_spec.rb +68 -0
- data/vendor/assets/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/handlebars.js +2278 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.autocomplete.js +602 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.core.js +356 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.effect-highlight.js +50 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.effect.js +1276 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.menu.js +610 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.position.js +498 -0
- data/vendor/assets/javascripts/jquery-ui-1.9.2/jquery.ui.widget.js +528 -0
- data/vendor/assets/javascripts/jquery.tokeninput.js +1061 -0
- data/vendor/assets/stylesheets/jquery-ui-lightness.css +474 -0
- data/vendor/assets/stylesheets/token-input-facebook.css +122 -0
- data/vendor/assets/stylesheets/token-input-mac.css +204 -0
- data/vendor/assets/stylesheets/token-input.css +127 -0
- data/worthwhile.gemspec +9 -3
- metadata +469 -9
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$font-size-base: 14px;
|
|
2
|
+
$font-size-h1: floor(($font-size-base * 2.15)) !default; // ~30px
|
|
3
|
+
$font-size-h2: floor(($font-size-base * 1.7)) !default; // ~24px
|
|
4
|
+
$font-size-h3: ceil(($font-size-base * 1.53)) !default; // ~201px
|
|
5
|
+
$font-size-h4: ceil(($font-size-base * 1.21)) !default; // ~17px
|
|
6
|
+
$font-size-h5: $font-size-base !default;
|
|
7
|
+
$font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
Helper classes from http://html5boilerplate.com/
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Hide from both screenreaders and browsers: h5bp.com/u
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.hidden {
|
|
10
|
+
display: none !important;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
* Hide only visually, but have it available for screenreaders: h5bp.com/v
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
.visuallyhidden {
|
|
19
|
+
border: 0;
|
|
20
|
+
clip: rect(0 0 0 0);
|
|
21
|
+
height: 1px;
|
|
22
|
+
margin: -1px;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
padding: 0;
|
|
25
|
+
position: absolute;
|
|
26
|
+
width: 1px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
* Extends the .visuallyhidden class to allow the element to be focusable
|
|
31
|
+
* when navigated to via the keyboard: h5bp.com/p
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
.visuallyhidden.focusable:active,
|
|
35
|
+
.visuallyhidden.focusable:focus {
|
|
36
|
+
clip: auto;
|
|
37
|
+
height: auto;
|
|
38
|
+
margin: 0;
|
|
39
|
+
overflow: visible;
|
|
40
|
+
position: static;
|
|
41
|
+
width: auto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* Hide visually and from screenreaders, but maintain layout
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
.invisible {
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.accordion {
|
|
2
|
+
.accordion-toggle {
|
|
3
|
+
color:$blue
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.accordion-toggle:hover {
|
|
7
|
+
text-decoration:none;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.js .accordion {
|
|
12
|
+
.accordion-toggle:before {
|
|
13
|
+
content:"";
|
|
14
|
+
display:inline-block;
|
|
15
|
+
width: 0;
|
|
16
|
+
height: 0;
|
|
17
|
+
margin:0 .4em .25em -.2em;
|
|
18
|
+
border-style:solid;
|
|
19
|
+
border-color:$blue transparent transparent transparent;
|
|
20
|
+
border-width:.3em .3em 0 .3em;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.accordion-toggle.collapsed:before {
|
|
24
|
+
margin:0 .5em .2em 0;
|
|
25
|
+
border-color:transparent transparent transparent $blue;
|
|
26
|
+
border-width:.3em 0 .3em .3em;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* If form elements are present in an accordion they won't be wrapped in a row */
|
|
31
|
+
.accordion-inner .form-group {
|
|
32
|
+
margin-bottom:1.5em;
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.attribute-list {
|
|
2
|
+
clear:both;
|
|
3
|
+
float:left;
|
|
4
|
+
list-style-type:none;
|
|
5
|
+
margin-top:0;
|
|
6
|
+
width:100%;
|
|
7
|
+
|
|
8
|
+
dt,
|
|
9
|
+
.label {
|
|
10
|
+
float:left;
|
|
11
|
+
clear:both;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
dd,
|
|
15
|
+
.value {
|
|
16
|
+
float:left;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.table .tabular {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
.attribute {
|
|
24
|
+
list-style-type: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@import 'worthwhile/global-variables';
|
|
2
|
+
|
|
3
|
+
/* Aligning content types by leveraging text-align:justify
|
|
4
|
+
http://www.barrelny.com/blog/text-align-justify-and-rwd/
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
.classify-work {
|
|
8
|
+
list-style-type:none;
|
|
9
|
+
text-align: justify;
|
|
10
|
+
font-size: 0.1px;
|
|
11
|
+
margin:0 0 2em;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* 2 Column */
|
|
15
|
+
.classify-work > .work-type {
|
|
16
|
+
border:1px solid #EEE;
|
|
17
|
+
box-sizing:border-box;
|
|
18
|
+
display:inline-block;
|
|
19
|
+
font-size: $font-size-base;
|
|
20
|
+
padding:.5em;
|
|
21
|
+
position:relative;
|
|
22
|
+
text-align:center;
|
|
23
|
+
margin:1em 4%;
|
|
24
|
+
width:40%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* 3 Column */
|
|
28
|
+
@media (min-width: 600px){
|
|
29
|
+
.classify-work > .work-type {
|
|
30
|
+
margin:1em 2%;
|
|
31
|
+
width:29%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* 4 Column */
|
|
36
|
+
@media (min-width: 1000px){
|
|
37
|
+
.classify-work > .work-type {
|
|
38
|
+
margin:1em 2%;
|
|
39
|
+
width:21%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* 5 Column */
|
|
44
|
+
@media (min-width: 1200px){
|
|
45
|
+
.classify-work > .work-type {
|
|
46
|
+
margin:1em 1%;
|
|
47
|
+
width:18%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.classify-work > .placeholder {
|
|
52
|
+
border-color:transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.classify-work > .upcoming {
|
|
56
|
+
color:#ACACAC;
|
|
57
|
+
color:rgba(51, 51, 51, 0.5);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.classify-work > .upcoming:before {
|
|
61
|
+
background-color:#FFF;
|
|
62
|
+
background-color:rgba(255, 255, 255, 0.8);
|
|
63
|
+
color:#F00;
|
|
64
|
+
content:"Coming Soon";
|
|
65
|
+
font-size:1.5em;
|
|
66
|
+
left:0;
|
|
67
|
+
position:absolute;
|
|
68
|
+
text-align:center;
|
|
69
|
+
text-shadow:0 0 2px #CCC, 0 0 1em #FFF;
|
|
70
|
+
top:40%;
|
|
71
|
+
width:100%;
|
|
72
|
+
z-index:1;
|
|
73
|
+
|
|
74
|
+
-webkit-transform: rotate(-30deg);
|
|
75
|
+
-moz-transform: rotate(-30deg);
|
|
76
|
+
-ms-transform: rotate(-30deg);
|
|
77
|
+
-o-transform: rotate(-30deg);
|
|
78
|
+
transform: rotate(-30deg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#main .upcoming .title {
|
|
82
|
+
color:#8096AE;
|
|
83
|
+
color:rgba(0, 43, 91, 0.5);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.classify-work .title {
|
|
87
|
+
margin-top:0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.classify-work .short-description {
|
|
91
|
+
font-size:1em;
|
|
92
|
+
height:4.29em; /* Leave space for three lines */
|
|
93
|
+
line-height:1.43;
|
|
94
|
+
text-align:left;
|
|
95
|
+
margin-bottom:0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.classify-work .add-button {
|
|
99
|
+
margin:.5em 0;
|
|
100
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.collection-listing {
|
|
2
|
+
list-style-type:none;
|
|
3
|
+
margin:0 0 1em;
|
|
4
|
+
|
|
5
|
+
.with-controls {
|
|
6
|
+
line-height:2;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.collection-member {
|
|
11
|
+
padding-bottom:.5em;
|
|
12
|
+
position:relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.collection-member-actions {
|
|
16
|
+
float:right;
|
|
17
|
+
min-width:12em;
|
|
18
|
+
position:absolute;
|
|
19
|
+
right:0;
|
|
20
|
+
top:0;
|
|
21
|
+
|
|
22
|
+
.btn {
|
|
23
|
+
margin-right:.3em;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.btn,
|
|
27
|
+
.remove-member {
|
|
28
|
+
float:right;
|
|
29
|
+
margin-bottom:0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.collection-section-heading {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.collection-section-description {
|
|
37
|
+
margin-bottom:10px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.collection-section-heading + .collection-section-description {
|
|
41
|
+
margin-top:-10px;
|
|
42
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
legend small {
|
|
2
|
+
margin-left:.5em;
|
|
3
|
+
color: #999999;
|
|
4
|
+
font-size: 15px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.label-large {
|
|
8
|
+
font-size: 110%;
|
|
9
|
+
line-height: 1.2;
|
|
10
|
+
padding: .3em .6em;
|
|
11
|
+
white-space: normal;
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
input[type="checkbox"]{
|
|
16
|
+
margin:-2px 0 0;
|
|
17
|
+
position: absolute;
|
|
18
|
+
left:.5em;
|
|
19
|
+
top:38%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.label-checkbox .label-text {
|
|
24
|
+
display:block;
|
|
25
|
+
padding-left:1.2em;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.form-group.has-error input,
|
|
29
|
+
.form-group.has-error option,
|
|
30
|
+
.form-group.has-error textarea {
|
|
31
|
+
color:$gray-dark;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.form-actions .btn-link {
|
|
35
|
+
color: $blue;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.form-actions {
|
|
39
|
+
margin-top: 1em;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
form label.optional { font-weight: normal; }
|
|
43
|
+
form label.required { font-weight: bold; }
|
|
44
|
+
|
|
45
|
+
#set-access-controls {
|
|
46
|
+
label { font-weight: normal; }
|
|
47
|
+
& > .form-group { padding: 0 1.75em; }
|
|
48
|
+
|
|
49
|
+
.form-inline {
|
|
50
|
+
.control-label, label {
|
|
51
|
+
padding-left: 0;
|
|
52
|
+
display: inline;
|
|
53
|
+
&:after {
|
|
54
|
+
content: ' ';
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.help-block {
|
|
58
|
+
display: inline;
|
|
59
|
+
&:before {
|
|
60
|
+
content: ' ';
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.control-label.required {
|
|
67
|
+
abbr {
|
|
68
|
+
font-size: 1.25em;
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
.field-choice {
|
|
75
|
+
padding-bottom:1em;
|
|
76
|
+
padding-top:1em;
|
|
77
|
+
text-align:center;
|
|
78
|
+
font-size:1.3em;
|
|
79
|
+
line-height:1;
|
|
80
|
+
z-index: -1000; // Prevent padding from obscuring file upload button when window is narrow
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.accept-contributor-agreement {
|
|
84
|
+
padding: 1em 2.5em;
|
|
85
|
+
input, label {
|
|
86
|
+
font-size:1.3em;
|
|
87
|
+
font-weight: normal;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
#edit_related_works {
|
|
92
|
+
ul.token-input-list-facebook {
|
|
93
|
+
float:left;
|
|
94
|
+
}
|
|
95
|
+
.btn {
|
|
96
|
+
margin-left:1em;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
form.button-to {
|
|
101
|
+
margin:0 .3em;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
form.pull-right {
|
|
105
|
+
margin-right:0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.inline-checkbox {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
padding-right:1em;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.help-inline {
|
|
114
|
+
color: $gray;
|
|
115
|
+
padding-left: 1em;
|
|
116
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.multi_value {
|
|
2
|
+
.field-wrapper {
|
|
3
|
+
list-style-type:none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.listing {
|
|
7
|
+
margin-left: 0;
|
|
8
|
+
max-width: 40em;
|
|
9
|
+
padding-left: 0px;
|
|
10
|
+
.input-group {
|
|
11
|
+
margin-bottom: 1px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.field-controls span {
|
|
16
|
+
margin-left:.2em;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.field-controls {
|
|
20
|
+
margin-left: 2em;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.message{
|
|
24
|
+
background-size: 40px 40px;
|
|
25
|
+
background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%,
|
|
26
|
+
transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%,
|
|
27
|
+
transparent 75%, transparent);
|
|
28
|
+
box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
|
|
29
|
+
width: 100%;
|
|
30
|
+
border: 1px solid;
|
|
31
|
+
color: #fff;
|
|
32
|
+
padding: 10px;
|
|
33
|
+
text-shadow: 0 1px 0 rgba(0,0,0,.5);
|
|
34
|
+
animation: animate-bg 5s linear infinite;
|
|
35
|
+
border-radius: $border-radius-base;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.has-error{
|
|
39
|
+
background-color: #de4343;
|
|
40
|
+
border-color: #c43d3d;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.has-warning{
|
|
44
|
+
background-color: #eaaf51;
|
|
45
|
+
border-color: #d99a36;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// The contributor listing needs some normalization
|
|
50
|
+
#contributors .listing {
|
|
51
|
+
max-width:20em;
|
|
52
|
+
}
|