iqvoc 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +69 -0
- data/Gemfile.lock +134 -0
- data/LICENSE +13 -0
- data/README.md +68 -0
- data/Rakefile +23 -0
- data/app/controllers/application_controller.rb +125 -0
- data/app/controllers/collections/hierarchical_controller.rb +44 -0
- data/app/controllers/collections_controller.rb +124 -0
- data/app/controllers/concepts/alphabetical_controller.rb +39 -0
- data/app/controllers/concepts/hierarchical_controller.rb +74 -0
- data/app/controllers/concepts/untranslated_controller.rb +38 -0
- data/app/controllers/concepts/versions_controller.rb +119 -0
- data/app/controllers/concepts_controller.rb +174 -0
- data/app/controllers/dashboard_controller.rb +43 -0
- data/app/controllers/pages_controller.rb +22 -0
- data/app/controllers/rdf_controller.rb +43 -0
- data/app/controllers/search_results_controller.rb +101 -0
- data/app/controllers/triple_store_syncs_controller.rb +45 -0
- data/app/controllers/user_sessions_controller.rb +48 -0
- data/app/controllers/users_controller.rb +81 -0
- data/app/helpers/application_helper.rb +60 -0
- data/app/helpers/concepts_helper.rb +86 -0
- data/app/helpers/dashboard_helper.rb +46 -0
- data/app/helpers/rdf_helper.rb +63 -0
- data/app/helpers/search_results_helper.rb +32 -0
- data/app/models/collection/base.rb +161 -0
- data/app/models/collection/member/base.rb +23 -0
- data/app/models/collection/member/collection.rb +33 -0
- data/app/models/collection/member/concept.rb +33 -0
- data/app/models/collection/unordered.rb +18 -0
- data/app/models/concept/base.rb +418 -0
- data/app/models/concept/relation/base.rb +95 -0
- data/app/models/concept/relation/reverse_relation_extension.rb +49 -0
- data/app/models/concept/relation/skos/base.rb +37 -0
- data/app/models/concept/relation/skos/broader/base.rb +41 -0
- data/app/models/concept/relation/skos/broader/mono.rb +28 -0
- data/app/models/concept/relation/skos/broader/poly.rb +23 -0
- data/app/models/concept/relation/skos/narrower/base.rb +37 -0
- data/app/models/concept/relation/skos/related.rb +21 -0
- data/app/models/concept/skos/base.rb +28 -0
- data/app/models/label/base.rb +98 -0
- data/app/models/label/skos/base.rb +27 -0
- data/app/models/labeling/base.rb +81 -0
- data/app/models/labeling/skos/alt_label.rb +21 -0
- data/app/models/labeling/skos/base.rb +99 -0
- data/app/models/labeling/skos/hidden_label.rb +25 -0
- data/app/models/labeling/skos/pref_label.rb +30 -0
- data/app/models/match/base.rb +57 -0
- data/app/models/match/skos/base.rb +23 -0
- data/app/models/match/skos/broad_match.rb +21 -0
- data/app/models/match/skos/close_match.rb +21 -0
- data/app/models/match/skos/exact_match.rb +21 -0
- data/app/models/match/skos/mapping_relation.rb +21 -0
- data/app/models/match/skos/narrow_match.rb +21 -0
- data/app/models/match/skos/related_match.rb +21 -0
- data/app/models/note/annotated/base.rb +29 -0
- data/app/models/note/base.rb +127 -0
- data/app/models/note/skos/base.rb +52 -0
- data/app/models/note/skos/change_note.rb +38 -0
- data/app/models/note/skos/definition.rb +33 -0
- data/app/models/note/skos/editorial_note.rb +21 -0
- data/app/models/note/skos/example.rb +21 -0
- data/app/models/note/skos/history_note.rb +21 -0
- data/app/models/note/skos/scope_note.rb +21 -0
- data/app/models/origin_mapping.rb +58 -0
- data/app/models/rdf_store.rb +96 -0
- data/app/models/search_extension.rb +58 -0
- data/app/models/user.rb +49 -0
- data/app/models/user_session.rb +23 -0
- data/app/views/collections/_collection.html.erb +10 -0
- data/app/views/collections/_form.html.erb +47 -0
- data/app/views/collections/edit.html.erb +11 -0
- data/app/views/collections/index.html.erb +12 -0
- data/app/views/collections/new.html.erb +7 -0
- data/app/views/collections/show.html.erb +53 -0
- data/app/views/collections/show.iqrdf +22 -0
- data/app/views/concepts/_base_data.html.erb +72 -0
- data/app/views/concepts/_close_match.html.erb +16 -0
- data/app/views/concepts/_show_head.html.erb +23 -0
- data/app/views/concepts/_visualization.html.erb +9 -0
- data/app/views/concepts/alphabetical/_pref_labeling.html.erb +6 -0
- data/app/views/concepts/alphabetical/index.html.erb +17 -0
- data/app/views/concepts/edit.html.erb +32 -0
- data/app/views/concepts/hierarchical/_treeview.html.erb +20 -0
- data/app/views/concepts/hierarchical/index.html.erb +5 -0
- data/app/views/concepts/index.iqrdf +24 -0
- data/app/views/concepts/new.html.erb +3 -0
- data/app/views/concepts/show_published.html.erb +16 -0
- data/app/views/concepts/show_unpublished.html.erb +43 -0
- data/app/views/concepts/untranslated/index.html.erb +23 -0
- data/app/views/dashboard/index.html.erb +47 -0
- data/app/views/errors/access_denied.html.erb +3 -0
- data/app/views/errors/multiple_choices.html.erb +11 -0
- data/app/views/errors/not_found.html.erb +8 -0
- data/app/views/kaminari/_page.html.erb +6 -0
- data/app/views/kaminari/_paginator.html.erb +15 -0
- data/app/views/layouts/_controls.html.erb +37 -0
- data/app/views/layouts/_header.html.erb +1 -0
- data/app/views/layouts/_navigation.html.erb +27 -0
- data/app/views/layouts/_sections.html.erb +8 -0
- data/app/views/layouts/application.html.erb +83 -0
- data/app/views/pages/about.html.erb +77 -0
- data/app/views/partials/_rdf_logo.html.erb +4 -0
- data/app/views/partials/collection/_member.html.erb +14 -0
- data/app/views/partials/collection_label/_search_result.html.erb +5 -0
- data/app/views/partials/concept/_edit_link_base.html.erb +4 -0
- data/app/views/partials/concept/_inline_base.html.erb +4 -0
- data/app/views/partials/concept/_new_link_base.html.erb +4 -0
- data/app/views/partials/concept/relation/_base.html.erb +8 -0
- data/app/views/partials/concept/relation/_edit_base.html.erb +15 -0
- data/app/views/partials/concept/relation/skos/_narrower.html.erb +12 -0
- data/app/views/partials/concept/relation/skos/broader/_mono.html.erb +28 -0
- data/app/views/partials/concept/relation/skos/broader/_poly.html.erb +14 -0
- data/app/views/partials/labeling/skos/_base.html.erb +17 -0
- data/app/views/partials/labeling/skos/_edit_base.html.erb +7 -0
- data/app/views/partials/labeling/skos/_search_result.html.erb +12 -0
- data/app/views/partials/match/_base.html.erb +13 -0
- data/app/views/partials/match/_edit_base.html.erb +6 -0
- data/app/views/partials/note/_base.html.erb +15 -0
- data/app/views/partials/note/_edit_base.html.erb +28 -0
- data/app/views/partials/note/_note.html.erb +14 -0
- data/app/views/partials/note/_search_result.html.erb +8 -0
- data/app/views/partials/note/skos/_edit_change_note.html.erb +47 -0
- data/app/views/partials/note/skos/definition/_search_result.html.erb +8 -0
- data/app/views/rdf/show_concept.iqrdf +5 -0
- data/app/views/search_results/_head_contents.html.erb +4 -0
- data/app/views/search_results/_rdf_links.html.erb +4 -0
- data/app/views/search_results/index.html.erb +92 -0
- data/app/views/search_results/index.iqrdf +33 -0
- data/app/views/triple_store_syncs/new.html.erb +7 -0
- data/app/views/user_sessions/new.html.erb +11 -0
- data/app/views/users/_form.html.erb +45 -0
- data/app/views/users/_user_preference.html.erb +12 -0
- data/app/views/users/edit.html.erb +14 -0
- data/app/views/users/index.html.erb +29 -0
- data/app/views/users/new.html.erb +13 -0
- data/config/application.rb +82 -0
- data/config/boot.rb +29 -0
- data/config/database.template.yml +43 -0
- data/config/database.yml +40 -0
- data/config/deploy/common.rb +79 -0
- data/config/deploy/ec2.rb +43 -0
- data/config/deploy/history.rb +29 -0
- data/config/deploy/innoq.rb +37 -0
- data/config/deploy.rb +72 -0
- data/config/engine.rb +25 -0
- data/config/environment.rb +21 -0
- data/config/environments/development.rb +74 -0
- data/config/environments/production.rb +65 -0
- data/config/environments/production.template.rb +65 -0
- data/config/environments/production_internal.rb +65 -0
- data/config/environments/test.rb +51 -0
- data/config/initializers/action_view.rb +23 -0
- data/config/initializers/active_record.rb +18 -0
- data/config/initializers/backtrace_silencers.rb +23 -0
- data/config/initializers/inflections.rb +26 -0
- data/config/initializers/iqvoc.rb +50 -0
- data/config/initializers/jdbc.rb +23 -0
- data/config/initializers/kaminari_config.rb +8 -0
- data/config/initializers/language.rb +6 -0
- data/config/initializers/mime_types.rb +24 -0
- data/config/initializers/secret_token.rb +29 -0
- data/config/initializers/secret_token.rb.template +29 -0
- data/config/initializers/session_store.rb +24 -0
- data/config/locales/activerecord.de.yml +135 -0
- data/config/locales/activerecord.en.yml +135 -0
- data/config/locales/authlogic.de.yml +38 -0
- data/config/locales/authlogic.en.yml +38 -0
- data/config/locales/de.yml +326 -0
- data/config/locales/defaults.de.yml +153 -0
- data/config/locales/en.yml +332 -0
- data/config/routes.rb +53 -0
- data/config/warble.rb +158 -0
- data/db/iqvoc_test.sqlite3 +0 -0
- data/db/migrate/20100927101502_create_schema.rb +174 -0
- data/db/migrate/20101125141218_add_collection_tables.rb +32 -0
- data/db/migrate/20101129161528_add_type_to_collections.rb +24 -0
- data/db/migrate/20101202094602_add_origin_to_collections.rb +25 -0
- data/db/migrate/20101202135420_rename_collection_contents_to_collection_members.rb +25 -0
- data/db/migrate/20101208103531_add_type_to_collection_contents.rb +27 -0
- data/db/migrate/20101210153916_add_indexes_to_collections.rb +25 -0
- data/db/migrate/20110204121244_create_collection_labels.rb +32 -0
- data/db/migrate/20110208084250_change_origin_lengths.rb +27 -0
- data/db/migrate/20110328124300_discard_collection_specifics.rb +27 -0
- data/db/migrate/20110408120357_remove_classifications_and_classifiers.rb +32 -0
- data/db/migrate/20110408120740_remove_xl_specfic_stuff.rb +39 -0
- data/db/migrate/20110420133640_change_value_in_notes.rb +8 -0
- data/db/migrate/20110427120534_add_published_at_to_labels.rb +9 -0
- data/db/migrate/20110510162719_use_mono_hierarchy_instead_of_poly_hierarchy.rb +13 -0
- data/db/migrate/20110512132624_extend_notes_value_field_length.rb +8 -0
- data/db/migrate/20110525103100_separate_note_annotation_predicates.rb +38 -0
- data/db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb +9 -0
- data/db/schema.rb +127 -0
- data/db/seeds.rb +37 -0
- data/iqvoc.gemspec +27 -0
- data/lib/engine_tasks/assets.rake +49 -0
- data/lib/engine_tasks/db.rake +18 -0
- data/lib/engine_tasks/release.rake +118 -0
- data/lib/iqvoc/ability.rb +44 -0
- data/lib/iqvoc/data_helper.rb +27 -0
- data/lib/iqvoc/deep_cloning.rb +92 -0
- data/lib/iqvoc/rdf_helper.rb +67 -0
- data/lib/iqvoc/skos_importer.rb +144 -0
- data/lib/iqvoc/version.rb +19 -0
- data/lib/iqvoc/versioning.rb +151 -0
- data/lib/iqvoc.rb +228 -0
- data/lib/maker.rb +144 -0
- data/lib/ojdbc14.jar +0 -0
- data/lib/string.rb +23 -0
- data/lib/tasks/importer.rake +16 -0
- data/lib/tasks/jdbc.rake +24 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/favicon.ico +0 -0
- data/public/images/iqvoc/add.png +0 -0
- data/public/images/iqvoc/arrow_down.gif +0 -0
- data/public/images/iqvoc/arrow_up.gif +0 -0
- data/public/images/iqvoc/footer.png +0 -0
- data/public/images/iqvoc/go_there.png +0 -0
- data/public/images/iqvoc/header.png +0 -0
- data/public/images/iqvoc/header_long.png +0 -0
- data/public/images/iqvoc/iqvoc.png +0 -0
- data/public/images/iqvoc/note_add.png +0 -0
- data/public/images/iqvoc/note_delete.png +0 -0
- data/public/images/iqvoc/note_edit.png +0 -0
- data/public/images/iqvoc/ok.png +0 -0
- data/public/images/iqvoc/rails.png +0 -0
- data/public/images/iqvoc/rdf_flyer.gif +0 -0
- data/public/images/iqvoc/red_arrow.png +0 -0
- data/public/images/iqvoc/remove.png +0 -0
- data/public/images/iqvoc/shadow.png +0 -0
- data/public/images/iqvoc/spinner.gif +0 -0
- data/public/images/iqvoc/tokenizer_delete.png +0 -0
- data/public/images/iqvoc/tokenizer_pencile.png +0 -0
- data/public/images/iqvoc/tokenizer_show.png +0 -0
- data/public/images/iqvoc/unfinished.png +0 -0
- data/public/javascripts/iqvoc/application.js +123 -0
- data/public/javascripts/iqvoc/entityselect.js +121 -0
- data/public/javascripts/iqvoc/excanvas.js +35 -0
- data/public/javascripts/iqvoc/iqvoc.js +118 -0
- data/public/javascripts/iqvoc/jit_rgraph.js +153 -0
- data/public/javascripts/iqvoc/jquery-1.6.2.min.js +18 -0
- data/public/javascripts/iqvoc/jquery-treeview/changelog.txt +29 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/async.html +44 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/bg.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/demo.js +43 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/images.html +56 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/index.html +340 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/large.html +559 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/prerendered.html +621 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/screen.css +24 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/simple.html +82 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.php +87 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.phps +87 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/ajax-loader.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/file.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/folder-closed.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/folder.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/minus.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/plus.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.async.js +82 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.css +75 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.js +251 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.min.js +15 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.pack.js +16 -0
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.cookie.js +92 -0
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.js +3363 -0
- data/public/javascripts/iqvoc/jquery-treeview/todo +8 -0
- data/public/javascripts/iqvoc/jquery-ui-1.8.13.custom.js +3229 -0
- data/public/javascripts/iqvoc/jquery-ui-1.8.13.custom.min.js +163 -0
- data/public/javascripts/iqvoc/jquery-ui.datepicker-de.js +22 -0
- data/public/javascripts/iqvoc/json2.js +480 -0
- data/public/javascripts/iqvoc/langselect.js +73 -0
- data/public/javascripts/iqvoc/rails.js +132 -0
- data/public/javascripts/iqvoc/storage.js +122 -0
- data/public/javascripts/iqvoc/visualization.js +321 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/iqvoc/blueprint/ie.css +35 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/readme.txt +32 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/screen.css +97 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/screen.css +71 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/readme.txt +18 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/screen.css +40 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/readme.txt +10 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/screen.css +110 -0
- data/public/stylesheets/iqvoc/blueprint/print.css +29 -0
- data/public/stylesheets/iqvoc/blueprint/screen.css +258 -0
- data/public/stylesheets/iqvoc/blueprint/src/forms.css +65 -0
- data/public/stylesheets/iqvoc/blueprint/src/grid.css +280 -0
- data/public/stylesheets/iqvoc/blueprint/src/grid.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/src/ie.css +76 -0
- data/public/stylesheets/iqvoc/blueprint/src/print.css +85 -0
- data/public/stylesheets/iqvoc/blueprint/src/reset.css +45 -0
- data/public/stylesheets/iqvoc/blueprint/src/typography.css +106 -0
- data/public/stylesheets/iqvoc/forms.css +71 -0
- data/public/stylesheets/iqvoc/images/back.png +0 -0
- data/public/stylesheets/iqvoc/images/branch.png +0 -0
- data/public/stylesheets/iqvoc/images/categ.png +0 -0
- data/public/stylesheets/iqvoc/images/categ_open.png +0 -0
- data/public/stylesheets/iqvoc/images/go_there.png +0 -0
- data/public/stylesheets/iqvoc/images/iqvoc.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_end.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_end_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_mid.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_mid_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_nothing.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_only.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_only_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_top.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_top_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/nothing.png +0 -0
- data/public/stylesheets/iqvoc/images/top_01.png +0 -0
- data/public/stylesheets/iqvoc/images/trunk.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_217bc0_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_469bdd_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_6da8d5_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/iqvoc/iqvoc.css +477 -0
- data/public/stylesheets/iqvoc/jquery-ui-1.8.13.custom.css +415 -0
- data/public/stylesheets/iqvoc/widgets.css +81 -0
- data/test/factories.rb +74 -0
- data/test/integration/alphabetical_test.rb +53 -0
- data/test/integration/authentication_test.rb +41 -0
- data/test/integration/browse_concepts_and_labels_test.rb +61 -0
- data/test/integration/browse_static_pages_test.rb +29 -0
- data/test/integration/client_augmentation_test.rb +42 -0
- data/test/integration/client_edit_concept_test.rb +72 -0
- data/test/integration/collection_circularity_test.rb +110 -0
- data/test/integration/concept_test.rb +61 -0
- data/test/integration/edit_concepts_test.rb +40 -0
- data/test/integration/note_annotations_test.rb +86 -0
- data/test/integration/search_test.rb +205 -0
- data/test/integration/tree_test.rb +31 -0
- data/test/integration/untranslated_test.rb +60 -0
- data/test/integration_test_helper.rb +45 -0
- data/test/performance/browsing_test.rb +25 -0
- data/test/test_helper.rb +29 -0
- data/test/unit/concept_test.rb +93 -0
- data/test/unit/note_test.rb +32 -0
- data/test/unit/origin_mapping_test.rb +70 -0
- data/test/unit/skos_import_test.rb +100 -0
- metadata +522 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
grid.css
|
4
|
+
* Sets up an easy-to-use grid of 24 columns.
|
5
|
+
|
6
|
+
By default, the grid is 950px wide, with 24 columns
|
7
|
+
spanning 30px, and a 10px margin between columns.
|
8
|
+
|
9
|
+
If you need fewer or more columns, namespaces or semantic
|
10
|
+
element names, use the compressor script (lib/compress.rb)
|
11
|
+
|
12
|
+
-------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* A container should group all your columns. */
|
15
|
+
.container {
|
16
|
+
width: 950px;
|
17
|
+
margin: 0 auto;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Use this class on any .span / container to see the grid. */
|
21
|
+
.showgrid {
|
22
|
+
background: url(src/grid.png);
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
/* Columns
|
27
|
+
-------------------------------------------------------------- */
|
28
|
+
|
29
|
+
/* Sets up basic grid floating and margin. */
|
30
|
+
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {
|
31
|
+
float: left;
|
32
|
+
margin-right: 10px;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* The last column in a row needs this class. */
|
36
|
+
.last { margin-right: 0; }
|
37
|
+
|
38
|
+
/* Use these classes to set the width of a column. */
|
39
|
+
.span-1 {width: 30px;}
|
40
|
+
|
41
|
+
.span-2 {width: 70px;}
|
42
|
+
.span-3 {width: 110px;}
|
43
|
+
.span-4 {width: 150px;}
|
44
|
+
.span-5 {width: 190px;}
|
45
|
+
.span-6 {width: 230px;}
|
46
|
+
.span-7 {width: 270px;}
|
47
|
+
.span-8 {width: 310px;}
|
48
|
+
.span-9 {width: 350px;}
|
49
|
+
.span-10 {width: 390px;}
|
50
|
+
.span-11 {width: 430px;}
|
51
|
+
.span-12 {width: 470px;}
|
52
|
+
.span-13 {width: 510px;}
|
53
|
+
.span-14 {width: 550px;}
|
54
|
+
.span-15 {width: 590px;}
|
55
|
+
.span-16 {width: 630px;}
|
56
|
+
.span-17 {width: 670px;}
|
57
|
+
.span-18 {width: 710px;}
|
58
|
+
.span-19 {width: 750px;}
|
59
|
+
.span-20 {width: 790px;}
|
60
|
+
.span-21 {width: 830px;}
|
61
|
+
.span-22 {width: 870px;}
|
62
|
+
.span-23 {width: 910px;}
|
63
|
+
.span-24 {width:950px; margin-right:0;}
|
64
|
+
|
65
|
+
/* Use these classes to set the width of an input. */
|
66
|
+
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {
|
67
|
+
border-left-width: 1px!important;
|
68
|
+
border-right-width: 1px!important;
|
69
|
+
padding-left: 5px!important;
|
70
|
+
padding-right: 5px!important;
|
71
|
+
}
|
72
|
+
|
73
|
+
input.span-1, textarea.span-1 { width: 18px!important; }
|
74
|
+
input.span-2, textarea.span-2 { width: 58px!important; }
|
75
|
+
input.span-3, textarea.span-3 { width: 98px!important; }
|
76
|
+
input.span-4, textarea.span-4 { width: 138px!important; }
|
77
|
+
input.span-5, textarea.span-5 { width: 178px!important; }
|
78
|
+
input.span-6, textarea.span-6 { width: 218px!important; }
|
79
|
+
input.span-7, textarea.span-7 { width: 258px!important; }
|
80
|
+
input.span-8, textarea.span-8 { width: 298px!important; }
|
81
|
+
input.span-9, textarea.span-9 { width: 338px!important; }
|
82
|
+
input.span-10, textarea.span-10 { width: 378px!important; }
|
83
|
+
input.span-11, textarea.span-11 { width: 418px!important; }
|
84
|
+
input.span-12, textarea.span-12 { width: 458px!important; }
|
85
|
+
input.span-13, textarea.span-13 { width: 498px!important; }
|
86
|
+
input.span-14, textarea.span-14 { width: 538px!important; }
|
87
|
+
input.span-15, textarea.span-15 { width: 578px!important; }
|
88
|
+
input.span-16, textarea.span-16 { width: 618px!important; }
|
89
|
+
input.span-17, textarea.span-17 { width: 658px!important; }
|
90
|
+
input.span-18, textarea.span-18 { width: 698px!important; }
|
91
|
+
input.span-19, textarea.span-19 { width: 738px!important; }
|
92
|
+
input.span-20, textarea.span-20 { width: 778px!important; }
|
93
|
+
input.span-21, textarea.span-21 { width: 818px!important; }
|
94
|
+
input.span-22, textarea.span-22 { width: 858px!important; }
|
95
|
+
input.span-23, textarea.span-23 { width: 898px!important; }
|
96
|
+
input.span-24, textarea.span-24 { width: 938px!important; }
|
97
|
+
|
98
|
+
/* Add these to a column to append empty cols. */
|
99
|
+
|
100
|
+
.append-1 { padding-right: 40px;}
|
101
|
+
.append-2 { padding-right: 80px;}
|
102
|
+
.append-3 { padding-right: 120px;}
|
103
|
+
.append-4 { padding-right: 160px;}
|
104
|
+
.append-5 { padding-right: 200px;}
|
105
|
+
.append-6 { padding-right: 240px;}
|
106
|
+
.append-7 { padding-right: 280px;}
|
107
|
+
.append-8 { padding-right: 320px;}
|
108
|
+
.append-9 { padding-right: 360px;}
|
109
|
+
.append-10 { padding-right: 400px;}
|
110
|
+
.append-11 { padding-right: 440px;}
|
111
|
+
.append-12 { padding-right: 480px;}
|
112
|
+
.append-13 { padding-right: 520px;}
|
113
|
+
.append-14 { padding-right: 560px;}
|
114
|
+
.append-15 { padding-right: 600px;}
|
115
|
+
.append-16 { padding-right: 640px;}
|
116
|
+
.append-17 { padding-right: 680px;}
|
117
|
+
.append-18 { padding-right: 720px;}
|
118
|
+
.append-19 { padding-right: 760px;}
|
119
|
+
.append-20 { padding-right: 800px;}
|
120
|
+
.append-21 { padding-right: 840px;}
|
121
|
+
.append-22 { padding-right: 880px;}
|
122
|
+
.append-23 { padding-right: 920px;}
|
123
|
+
|
124
|
+
/* Add these to a column to prepend empty cols. */
|
125
|
+
|
126
|
+
.prepend-1 { padding-left: 40px;}
|
127
|
+
.prepend-2 { padding-left: 80px;}
|
128
|
+
.prepend-3 { padding-left: 120px;}
|
129
|
+
.prepend-4 { padding-left: 160px;}
|
130
|
+
.prepend-5 { padding-left: 200px;}
|
131
|
+
.prepend-6 { padding-left: 240px;}
|
132
|
+
.prepend-7 { padding-left: 280px;}
|
133
|
+
.prepend-8 { padding-left: 320px;}
|
134
|
+
.prepend-9 { padding-left: 360px;}
|
135
|
+
.prepend-10 { padding-left: 400px;}
|
136
|
+
.prepend-11 { padding-left: 440px;}
|
137
|
+
.prepend-12 { padding-left: 480px;}
|
138
|
+
.prepend-13 { padding-left: 520px;}
|
139
|
+
.prepend-14 { padding-left: 560px;}
|
140
|
+
.prepend-15 { padding-left: 600px;}
|
141
|
+
.prepend-16 { padding-left: 640px;}
|
142
|
+
.prepend-17 { padding-left: 680px;}
|
143
|
+
.prepend-18 { padding-left: 720px;}
|
144
|
+
.prepend-19 { padding-left: 760px;}
|
145
|
+
.prepend-20 { padding-left: 800px;}
|
146
|
+
.prepend-21 { padding-left: 840px;}
|
147
|
+
.prepend-22 { padding-left: 880px;}
|
148
|
+
.prepend-23 { padding-left: 920px;}
|
149
|
+
|
150
|
+
|
151
|
+
/* Border on right hand side of a column. */
|
152
|
+
.border {
|
153
|
+
padding-right: 4px;
|
154
|
+
margin-right: 5px;
|
155
|
+
border-right: 1px solid #eee;
|
156
|
+
}
|
157
|
+
|
158
|
+
/* Border with more whitespace, spans one column. */
|
159
|
+
.colborder {
|
160
|
+
padding-right: 24px;
|
161
|
+
margin-right: 25px;
|
162
|
+
border-right: 1px solid #eee;
|
163
|
+
}
|
164
|
+
|
165
|
+
|
166
|
+
/* Use these classes on an element to push it into the
|
167
|
+
next column, or to pull it into the previous column. */
|
168
|
+
|
169
|
+
|
170
|
+
.pull-1 { margin-left: -40px; }
|
171
|
+
.pull-2 { margin-left: -80px; }
|
172
|
+
.pull-3 { margin-left: -120px; }
|
173
|
+
.pull-4 { margin-left: -160px; }
|
174
|
+
.pull-5 { margin-left: -200px; }
|
175
|
+
.pull-6 { margin-left: -240px; }
|
176
|
+
.pull-7 { margin-left: -280px; }
|
177
|
+
.pull-8 { margin-left: -320px; }
|
178
|
+
.pull-9 { margin-left: -360px; }
|
179
|
+
.pull-10 { margin-left: -400px; }
|
180
|
+
.pull-11 { margin-left: -440px; }
|
181
|
+
.pull-12 { margin-left: -480px; }
|
182
|
+
.pull-13 { margin-left: -520px; }
|
183
|
+
.pull-14 { margin-left: -560px; }
|
184
|
+
.pull-15 { margin-left: -600px; }
|
185
|
+
.pull-16 { margin-left: -640px; }
|
186
|
+
.pull-17 { margin-left: -680px; }
|
187
|
+
.pull-18 { margin-left: -720px; }
|
188
|
+
.pull-19 { margin-left: -760px; }
|
189
|
+
.pull-20 { margin-left: -800px; }
|
190
|
+
.pull-21 { margin-left: -840px; }
|
191
|
+
.pull-22 { margin-left: -880px; }
|
192
|
+
.pull-23 { margin-left: -920px; }
|
193
|
+
.pull-24 { margin-left: -960px; }
|
194
|
+
|
195
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float: left; position:relative;}
|
196
|
+
|
197
|
+
|
198
|
+
.push-1 { margin: 0 -40px 1.5em 40px; }
|
199
|
+
.push-2 { margin: 0 -80px 1.5em 80px; }
|
200
|
+
.push-3 { margin: 0 -120px 1.5em 120px; }
|
201
|
+
.push-4 { margin: 0 -160px 1.5em 160px; }
|
202
|
+
.push-5 { margin: 0 -200px 1.5em 200px; }
|
203
|
+
.push-6 { margin: 0 -240px 1.5em 240px; }
|
204
|
+
.push-7 { margin: 0 -280px 1.5em 280px; }
|
205
|
+
.push-8 { margin: 0 -320px 1.5em 320px; }
|
206
|
+
.push-9 { margin: 0 -360px 1.5em 360px; }
|
207
|
+
.push-10 { margin: 0 -400px 1.5em 400px; }
|
208
|
+
.push-11 { margin: 0 -440px 1.5em 440px; }
|
209
|
+
.push-12 { margin: 0 -480px 1.5em 480px; }
|
210
|
+
.push-13 { margin: 0 -520px 1.5em 520px; }
|
211
|
+
.push-14 { margin: 0 -560px 1.5em 560px; }
|
212
|
+
.push-15 { margin: 0 -600px 1.5em 600px; }
|
213
|
+
.push-16 { margin: 0 -640px 1.5em 640px; }
|
214
|
+
.push-17 { margin: 0 -680px 1.5em 680px; }
|
215
|
+
.push-18 { margin: 0 -720px 1.5em 720px; }
|
216
|
+
.push-19 { margin: 0 -760px 1.5em 760px; }
|
217
|
+
.push-20 { margin: 0 -800px 1.5em 800px; }
|
218
|
+
.push-21 { margin: 0 -840px 1.5em 840px; }
|
219
|
+
.push-22 { margin: 0 -880px 1.5em 880px; }
|
220
|
+
.push-23 { margin: 0 -920px 1.5em 920px; }
|
221
|
+
.push-24 { margin: 0 -960px 1.5em 960px; }
|
222
|
+
|
223
|
+
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float: right; position:relative;}
|
224
|
+
|
225
|
+
|
226
|
+
/* Misc classes and elements
|
227
|
+
-------------------------------------------------------------- */
|
228
|
+
|
229
|
+
/* In case you need to add a gutter above/below an element */
|
230
|
+
.prepend-top {
|
231
|
+
margin-top:1.5em;
|
232
|
+
}
|
233
|
+
.append-bottom {
|
234
|
+
margin-bottom:1.5em;
|
235
|
+
}
|
236
|
+
|
237
|
+
/* Use a .box to create a padded box inside a column. */
|
238
|
+
.box {
|
239
|
+
padding: 1.5em;
|
240
|
+
margin-bottom: 1.5em;
|
241
|
+
background: #E5ECF9;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* Use this to create a horizontal ruler across a column. */
|
245
|
+
hr {
|
246
|
+
background: #ddd;
|
247
|
+
color: #ddd;
|
248
|
+
clear: both;
|
249
|
+
float: none;
|
250
|
+
width: 100%;
|
251
|
+
height: .1em;
|
252
|
+
margin: 0 0 1.45em;
|
253
|
+
border: none;
|
254
|
+
}
|
255
|
+
|
256
|
+
hr.space {
|
257
|
+
background: #fff;
|
258
|
+
color: #fff;
|
259
|
+
visibility: hidden;
|
260
|
+
}
|
261
|
+
|
262
|
+
|
263
|
+
/* Clearing floats without extra markup
|
264
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
265
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
266
|
+
|
267
|
+
.clearfix:after, .container:after {
|
268
|
+
content: "\0020";
|
269
|
+
display: block;
|
270
|
+
height: 0;
|
271
|
+
clear: both;
|
272
|
+
visibility: hidden;
|
273
|
+
overflow:hidden;
|
274
|
+
}
|
275
|
+
.clearfix, .container {display: block;}
|
276
|
+
|
277
|
+
/* Regular clearing
|
278
|
+
apply to column that should drop below previous ones. */
|
279
|
+
|
280
|
+
.clear { clear:both; }
|
Binary file
|
@@ -0,0 +1,76 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
ie.css
|
4
|
+
|
5
|
+
Contains every hack for Internet Explorer,
|
6
|
+
so that our core files stay sweet and nimble.
|
7
|
+
|
8
|
+
-------------------------------------------------------------- */
|
9
|
+
|
10
|
+
/* Make sure the layout is centered in IE5 */
|
11
|
+
body { text-align: center; }
|
12
|
+
.container { text-align: left; }
|
13
|
+
|
14
|
+
/* Fixes IE margin bugs */
|
15
|
+
* html .column, * html .span-1, * html .span-2,
|
16
|
+
* html .span-3, * html .span-4, * html .span-5,
|
17
|
+
* html .span-6, * html .span-7, * html .span-8,
|
18
|
+
* html .span-9, * html .span-10, * html .span-11,
|
19
|
+
* html .span-12, * html .span-13, * html .span-14,
|
20
|
+
* html .span-15, * html .span-16, * html .span-17,
|
21
|
+
* html .span-18, * html .span-19, * html .span-20,
|
22
|
+
* html .span-21, * html .span-22, * html .span-23,
|
23
|
+
* html .span-24 { display:inline; overflow-x: hidden; }
|
24
|
+
|
25
|
+
|
26
|
+
/* Elements
|
27
|
+
-------------------------------------------------------------- */
|
28
|
+
|
29
|
+
/* Fixes incorrect styling of legend in IE6. */
|
30
|
+
* html legend { margin:0px -8px 16px 0; padding:0; }
|
31
|
+
|
32
|
+
/* Fixes wrong line-height on sup/sub in IE. */
|
33
|
+
sup { vertical-align:text-top; }
|
34
|
+
sub { vertical-align:text-bottom; }
|
35
|
+
|
36
|
+
/* Fixes IE7 missing wrapping of code elements. */
|
37
|
+
html>body p code { *white-space: normal; }
|
38
|
+
|
39
|
+
/* IE 6&7 has problems with setting proper <hr> margins. */
|
40
|
+
hr { margin:-8px auto 11px; }
|
41
|
+
|
42
|
+
/* Explicitly set interpolation, allowing dynamically resized images to not look horrible */
|
43
|
+
img { -ms-interpolation-mode:bicubic; }
|
44
|
+
|
45
|
+
/* Clearing
|
46
|
+
-------------------------------------------------------------- */
|
47
|
+
|
48
|
+
/* Makes clearfix actually work in IE */
|
49
|
+
.clearfix, .container { display:inline-block; }
|
50
|
+
* html .clearfix,
|
51
|
+
* html .container { height:1%; }
|
52
|
+
|
53
|
+
|
54
|
+
/* Forms
|
55
|
+
-------------------------------------------------------------- */
|
56
|
+
|
57
|
+
/* Fixes padding on fieldset */
|
58
|
+
fieldset { padding-top:0; }
|
59
|
+
|
60
|
+
/* Makes classic textareas in IE 6 resemble other browsers */
|
61
|
+
textarea { overflow:auto; }
|
62
|
+
|
63
|
+
/* Fixes rule that IE 6 ignores */
|
64
|
+
input.text, input.title, textarea { background-color:#fff; border:1px solid #bbb; }
|
65
|
+
input.text:focus, input.title:focus { border-color:#666; }
|
66
|
+
input.text, input.title, textarea, select { margin:0.5em 0; }
|
67
|
+
input.checkbox, input.radio { position:relative; top:.25em; }
|
68
|
+
|
69
|
+
/* Fixes alignment of inline form elements */
|
70
|
+
form.inline div, form.inline p { vertical-align:middle; }
|
71
|
+
form.inline label { position:relative;top:-0.25em; }
|
72
|
+
form.inline input.checkbox, form.inline input.radio,
|
73
|
+
form.inline input.button, form.inline button {
|
74
|
+
margin:0.5em 0;
|
75
|
+
}
|
76
|
+
button, input.button { position:relative;top:0.25em; }
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
print.css
|
4
|
+
* Gives you some sensible styles for printing pages.
|
5
|
+
* See Readme file in this directory for further instructions.
|
6
|
+
|
7
|
+
Some additions you'll want to make, customized to your markup:
|
8
|
+
#header, #footer, #navigation { display:none; }
|
9
|
+
|
10
|
+
-------------------------------------------------------------- */
|
11
|
+
|
12
|
+
body {
|
13
|
+
line-height: 1.5;
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
15
|
+
color:#000;
|
16
|
+
background: none;
|
17
|
+
font-size: 10pt;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
/* Layout
|
22
|
+
-------------------------------------------------------------- */
|
23
|
+
|
24
|
+
.container {
|
25
|
+
background: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
hr {
|
29
|
+
background:#ccc;
|
30
|
+
color:#ccc;
|
31
|
+
width:100%;
|
32
|
+
height:2px;
|
33
|
+
margin:2em 0;
|
34
|
+
padding:0;
|
35
|
+
border:none;
|
36
|
+
}
|
37
|
+
hr.space {
|
38
|
+
background: #fff;
|
39
|
+
color: #fff;
|
40
|
+
visibility: hidden;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
/* Text
|
45
|
+
-------------------------------------------------------------- */
|
46
|
+
|
47
|
+
h1,h2,h3,h4,h5,h6 { font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif; }
|
48
|
+
code { font:.9em "Courier New", Monaco, Courier, monospace; }
|
49
|
+
|
50
|
+
a img { border:none; }
|
51
|
+
p img.top { margin-top: 0; }
|
52
|
+
|
53
|
+
blockquote {
|
54
|
+
margin:1.5em;
|
55
|
+
padding:1em;
|
56
|
+
font-style:italic;
|
57
|
+
font-size:.9em;
|
58
|
+
}
|
59
|
+
|
60
|
+
.small { font-size: .9em; }
|
61
|
+
.large { font-size: 1.1em; }
|
62
|
+
.quiet { color: #999; }
|
63
|
+
.hide { display:none; }
|
64
|
+
|
65
|
+
|
66
|
+
/* Links
|
67
|
+
-------------------------------------------------------------- */
|
68
|
+
|
69
|
+
a:link, a:visited {
|
70
|
+
background: transparent;
|
71
|
+
font-weight:700;
|
72
|
+
text-decoration: underline;
|
73
|
+
}
|
74
|
+
|
75
|
+
a:link:after, a:visited:after {
|
76
|
+
content: " (" attr(href) ")";
|
77
|
+
font-size: 90%;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* If you're having trouble printing relative links, uncomment and customize this:
|
81
|
+
(note: This is valid CSS3, but it still won't go through the W3C CSS Validator) */
|
82
|
+
|
83
|
+
/* a[href^="/"]:after {
|
84
|
+
content: " (http://www.yourdomain.com" attr(href) ") ";
|
85
|
+
} */
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
reset.css
|
4
|
+
* Resets default browser CSS.
|
5
|
+
|
6
|
+
-------------------------------------------------------------- */
|
7
|
+
|
8
|
+
html, body, div, span, object, iframe,
|
9
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
10
|
+
a, abbr, acronym, address, code,
|
11
|
+
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
12
|
+
fieldset, form, label, legend,
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
14
|
+
article, aside, dialog, figure, footer, header,
|
15
|
+
hgroup, nav, section {
|
16
|
+
margin: 0;
|
17
|
+
padding: 0;
|
18
|
+
border: 0;
|
19
|
+
font-weight: inherit;
|
20
|
+
font-style: inherit;
|
21
|
+
font-size: 100%;
|
22
|
+
font-family: inherit;
|
23
|
+
vertical-align: baseline;
|
24
|
+
}
|
25
|
+
|
26
|
+
article, aside, dialog, figure, footer, header,
|
27
|
+
hgroup, nav, section {
|
28
|
+
display:block;
|
29
|
+
}
|
30
|
+
|
31
|
+
body {
|
32
|
+
line-height: 1.5;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Tables still need 'cellspacing="0"' in the markup. */
|
36
|
+
table { border-collapse: separate; border-spacing: 0; }
|
37
|
+
caption, th, td { text-align: left; font-weight: normal; }
|
38
|
+
table, td, th { vertical-align: middle; }
|
39
|
+
|
40
|
+
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
41
|
+
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
|
42
|
+
blockquote, q { quotes: "" ""; }
|
43
|
+
|
44
|
+
/* Remove annoying border on linked images. */
|
45
|
+
a img { border: none; }
|
@@ -0,0 +1,106 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
typography.css
|
4
|
+
* Sets up some sensible default typography.
|
5
|
+
|
6
|
+
-------------------------------------------------------------- */
|
7
|
+
|
8
|
+
/* Default font settings.
|
9
|
+
The font-size percentage is of 16px. (0.75 * 16px = 12px) */
|
10
|
+
html { font-size:100.01%; }
|
11
|
+
body {
|
12
|
+
font-size: 75%;
|
13
|
+
color: #222;
|
14
|
+
background: #fff;
|
15
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
/* Headings
|
20
|
+
-------------------------------------------------------------- */
|
21
|
+
|
22
|
+
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
|
23
|
+
|
24
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
25
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
26
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
27
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
28
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
29
|
+
h6 { font-size: 1em; font-weight: bold; }
|
30
|
+
|
31
|
+
h1 img, h2 img, h3 img,
|
32
|
+
h4 img, h5 img, h6 img {
|
33
|
+
margin: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/* Text elements
|
38
|
+
-------------------------------------------------------------- */
|
39
|
+
|
40
|
+
p { margin: 0 0 1.5em; }
|
41
|
+
p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
42
|
+
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
|
43
|
+
|
44
|
+
a:focus,
|
45
|
+
a:hover { color: #000; }
|
46
|
+
a { color: #009; text-decoration: underline; }
|
47
|
+
|
48
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
49
|
+
strong { font-weight: bold; }
|
50
|
+
em,dfn { font-style: italic; }
|
51
|
+
dfn { font-weight: bold; }
|
52
|
+
sup, sub { line-height: 0; }
|
53
|
+
|
54
|
+
abbr,
|
55
|
+
acronym { border-bottom: 1px dotted #666; }
|
56
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
57
|
+
del { color:#666; }
|
58
|
+
|
59
|
+
pre { margin: 1.5em 0; white-space: pre; }
|
60
|
+
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
|
61
|
+
|
62
|
+
|
63
|
+
/* Lists
|
64
|
+
-------------------------------------------------------------- */
|
65
|
+
|
66
|
+
li ul,
|
67
|
+
li ol { margin: 0; }
|
68
|
+
ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }
|
69
|
+
|
70
|
+
ul { list-style-type: disc; }
|
71
|
+
ol { list-style-type: decimal; }
|
72
|
+
|
73
|
+
dl { margin: 0 0 1.5em 0; }
|
74
|
+
dl dt { font-weight: bold; }
|
75
|
+
dd { margin-left: 1.5em;}
|
76
|
+
|
77
|
+
|
78
|
+
/* Tables
|
79
|
+
-------------------------------------------------------------- */
|
80
|
+
|
81
|
+
table { margin-bottom: 1.4em; width:100%; }
|
82
|
+
th { font-weight: bold; }
|
83
|
+
thead th { background: #c3d9ff; }
|
84
|
+
th,td,caption { padding: 4px 10px 4px 5px; }
|
85
|
+
tr.even td { background: #e5ecf9; }
|
86
|
+
tfoot { font-style: italic; }
|
87
|
+
caption { background: #eee; }
|
88
|
+
|
89
|
+
|
90
|
+
/* Misc classes
|
91
|
+
-------------------------------------------------------------- */
|
92
|
+
|
93
|
+
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
|
94
|
+
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
|
95
|
+
.hide { display: none; }
|
96
|
+
|
97
|
+
.quiet { color: #666; }
|
98
|
+
.loud { color: #000; }
|
99
|
+
.highlight { background:#ff0; }
|
100
|
+
.added { background:#060; color: #fff; }
|
101
|
+
.removed { background:#900; color: #fff; }
|
102
|
+
|
103
|
+
.first { margin-left:0; padding-left:0; }
|
104
|
+
.last { margin-right:0; padding-right:0; }
|
105
|
+
.top { margin-top:0; padding-top:0; }
|
106
|
+
.bottom { margin-bottom:0; padding-bottom:0; }
|
@@ -0,0 +1,71 @@
|
|
1
|
+
form.form {
|
2
|
+
margin-bottom: 20px;
|
3
|
+
}
|
4
|
+
|
5
|
+
form.form fieldset {
|
6
|
+
margin-bottom: 20px;
|
7
|
+
}
|
8
|
+
|
9
|
+
form.form legend {
|
10
|
+
padding: 0 2px;
|
11
|
+
font-weight: bold;
|
12
|
+
}
|
13
|
+
|
14
|
+
form.form label {
|
15
|
+
display: inline-block;
|
16
|
+
line-height: 1.8;
|
17
|
+
vertical-align: top;
|
18
|
+
}
|
19
|
+
|
20
|
+
form.form fieldset ol {
|
21
|
+
margin: 0;
|
22
|
+
padding: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
form.form fieldset li {
|
26
|
+
list-style: none;
|
27
|
+
padding: 5px;
|
28
|
+
/*margin: 0;*/
|
29
|
+
}
|
30
|
+
|
31
|
+
form.form fieldset fieldset {
|
32
|
+
border: none;
|
33
|
+
margin: 3px 0 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
form.form fieldset fieldset legend {
|
37
|
+
padding: 0 0 5px;
|
38
|
+
font-weight: normal;
|
39
|
+
}
|
40
|
+
|
41
|
+
form.form fieldset fieldset label {
|
42
|
+
display: block;
|
43
|
+
width: auto;
|
44
|
+
}
|
45
|
+
|
46
|
+
form.form em {
|
47
|
+
font-weight: bold;
|
48
|
+
font-style: normal;
|
49
|
+
color: #f00;
|
50
|
+
}
|
51
|
+
|
52
|
+
form.form label {
|
53
|
+
width: 120px; /* Width of labels */
|
54
|
+
}
|
55
|
+
|
56
|
+
form.form fieldset fieldset label {
|
57
|
+
margin-left: 123px; /* Width plus 3 (html space) */
|
58
|
+
}
|
59
|
+
|
60
|
+
form.form textarea {
|
61
|
+
width: 300px;
|
62
|
+
height: 80px;
|
63
|
+
}
|
64
|
+
|
65
|
+
form.form span.fieldWithErrors {
|
66
|
+
background: url("../../images/iqvoc/red_arrow.png");
|
67
|
+
width: 20px;
|
68
|
+
height: 20px;
|
69
|
+
display: inline-block;
|
70
|
+
margin-left: 1em;
|
71
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|