lcms-engine 0.1.2 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -1
- data/.env.docker +5 -0
- data/.env.template +34 -0
- data/.gitignore +0 -1
- data/.rubocop.yml +8 -7
- data/.ruby-version +1 -1
- data/CHANGELOG.md +56 -1
- data/Dockerfile +2 -1
- data/Gemfile +0 -1
- data/Gemfile.lock +721 -0
- data/README.md +10 -6
- data/app/assets/javascripts/lcms/engine/admin/application.js +2 -15
- data/app/assets/javascripts/lcms/engine/application.js +1 -44
- data/app/assets/javascripts/lcms/engine/application_lti.js +1 -29
- data/app/assets/javascripts/lcms/engine/initializers/foundation.js +5 -0
- data/app/assets/stylesheets/lcms/engine/admin.scss +1 -2
- data/app/assets/stylesheets/lcms/engine/application.scss +6 -60
- data/app/assets/stylesheets/lcms/engine/base/_colors.scss +2 -2
- data/app/assets/stylesheets/lcms/engine/components/lesson/_icons.scss +0 -25
- data/app/assets/stylesheets/lcms/engine/layout/_footer.scss +2 -0
- data/app/assets/stylesheets/lcms/engine/layout/_header.scss +1 -210
- data/app/assets/stylesheets/lcms/engine/pdf.scss +4 -28
- data/app/assets/stylesheets/lcms/engine/pdf_plain.scss +3 -11
- data/app/assets/stylesheets/lcms/engine/print/_typography.scss +0 -5
- data/app/assets/stylesheets/lcms/engine/themes/_settings.scss +419 -116
- data/app/assets/stylesheets/lcms/engine/utils/_mixins.scss +2 -2
- data/app/assets/stylesheets/lcms/engine/utils/_variables.scss +4 -4
- data/app/assets/stylesheets/lcms/engine/vendors/foundation_and_overrides-pdf.scss +0 -1
- data/app/assets/stylesheets/lcms/engine/vendors/foundation_and_overrides.scss +13 -2
- data/app/controllers/concerns/lcms/engine/reimportable.rb +20 -1
- data/app/controllers/lcms/engine/admin/admin_controller.rb +2 -0
- data/app/controllers/lcms/engine/admin/association_picker_controller.rb +10 -9
- data/app/controllers/lcms/engine/admin/documents_controller.rb +27 -22
- data/app/controllers/lcms/engine/admin/materials_controller.rb +28 -22
- data/app/controllers/lcms/engine/admin/resource_picker_controller.rb +2 -2
- data/app/controllers/lcms/engine/admin/resources_controller.rb +81 -43
- data/app/controllers/lcms/engine/admin/sketch_compilers_controller.rb +2 -2
- data/app/controllers/lcms/engine/admin/standards_controller.rb +6 -1
- data/app/controllers/lcms/engine/admin/users_controller.rb +6 -1
- data/app/controllers/lcms/engine/application_controller.rb +0 -15
- data/app/controllers/lcms/engine/surveys_controller.rb +3 -14
- data/app/entities/lcms/engine/grades.rb +17 -6
- data/app/entities/lcms/engine/media_embed.rb +1 -1
- data/app/entities/lcms/engine/pagination.rb +14 -5
- data/app/entities/lcms/engine/roman_numerals.rb +1 -1
- data/app/forms/lcms/engine/document_form.rb +19 -14
- data/app/forms/lcms/engine/material_form.rb +4 -2
- data/app/helpers/admin/components_helper.rb +2 -2
- data/app/helpers/lcms/engine/application_helper.rb +6 -2
- data/app/helpers/lcms/engine/resource_helper.rb +0 -17
- data/app/helpers/lcms/engine/view_helper.rb +2 -4
- data/app/interactors/lcms/engine/explore_curriculum_interactor.rb +2 -2
- data/app/javascript/components/admin/ImportStatus.jsx +8 -4
- data/app/javascript/components/admin/MultiSelectedOperation.jsx +1 -0
- data/app/javascript/components/admin/association-picker/AssociationPicker.jsx +1 -0
- data/app/javascript/components/admin/association-picker/AssociationPickerResults.jsx +2 -1
- data/app/javascript/components/admin/association-picker/AssociationPickerWindow.jsx +1 -0
- data/app/javascript/components/admin/curriculum/CurriculumEditor.jsx +1 -0
- data/app/javascript/components/admin/picker/pickerWindowWrapper.jsx +0 -1
- data/app/javascript/components/admin/resource-picker/ResourcePicker.jsx +1 -0
- data/app/jobs/concerns/lcms/engine/nested_resque_job.rb +1 -4
- data/app/jobs/lcms/engine/document_generate_gdoc_job.rb +2 -2
- data/app/jobs/lcms/engine/document_generate_job.rb +1 -1
- data/app/jobs/lcms/engine/document_parse_job.rb +1 -1
- data/app/models/lcms/engine/access_code.rb +1 -1
- data/app/models/lcms/engine/application_record.rb +9 -0
- data/app/models/lcms/engine/author.rb +1 -1
- data/app/models/lcms/engine/component.rb +3 -3
- data/app/models/lcms/engine/copyright_attribution.rb +1 -1
- data/app/models/lcms/engine/curriculum.rb +1 -1
- data/app/models/lcms/engine/document.rb +3 -3
- data/app/models/lcms/engine/document_bundle.rb +2 -2
- data/app/models/lcms/engine/document_part.rb +1 -1
- data/app/models/lcms/engine/download.rb +4 -4
- data/app/models/lcms/engine/download_category.rb +1 -1
- data/app/models/lcms/engine/leadership_post.rb +1 -1
- data/app/models/lcms/engine/material.rb +2 -2
- data/app/models/lcms/engine/material_part.rb +1 -1
- data/app/models/lcms/engine/reading_assignment_author.rb +1 -1
- data/app/models/lcms/engine/reading_assignment_text.rb +1 -1
- data/app/models/lcms/engine/resource.rb +4 -12
- data/app/models/lcms/engine/resource_additional_resource.rb +1 -1
- data/app/models/lcms/engine/resource_download.rb +1 -1
- data/app/models/lcms/engine/resource_reading_assignment.rb +1 -1
- data/app/models/lcms/engine/resource_related_resource.rb +1 -1
- data/app/models/lcms/engine/resource_standard.rb +1 -1
- data/app/models/lcms/engine/search/document.rb +4 -3
- data/app/models/lcms/engine/search/elastic_search_document.rb +1 -1
- data/app/models/lcms/engine/settings.rb +1 -1
- data/app/models/lcms/engine/social_thumbnail.rb +1 -1
- data/app/models/lcms/engine/staff_member.rb +1 -1
- data/app/models/lcms/engine/standard.rb +1 -1
- data/app/models/lcms/engine/standard_link.rb +1 -1
- data/app/models/lcms/engine/user.rb +3 -3
- data/app/presenters/lcms/engine/content_presenter.rb +1 -1
- data/app/presenters/lcms/engine/document_presenter.rb +5 -7
- data/app/queries/lcms/engine/admin_documents_query.rb +2 -2
- data/app/queries/lcms/engine/admin_materials_query.rb +1 -1
- data/app/serializers/lcms/engine/association_item_serializer.rb +0 -1
- data/app/serializers/lcms/engine/curriculum_resource_serializer.rb +0 -2
- data/app/serializers/lcms/engine/document_material_serializer.rb +0 -1
- data/app/serializers/lcms/engine/material_serializer.rb +0 -1
- data/app/serializers/lcms/engine/previews_material_serializer.rb +1 -1
- data/app/serializers/lcms/engine/resource_details_serializer.rb +0 -2
- data/app/serializers/lcms/engine/resource_instruction_serializer.rb +0 -2
- data/app/serializers/lcms/engine/resource_picker_serializer.rb +0 -2
- data/app/serializers/lcms/engine/resource_serializer.rb +0 -2
- data/app/serializers/lcms/engine/search_document_serializer.rb +0 -2
- data/app/services/lcms/engine/document_build_service.rb +5 -0
- data/app/services/lcms/engine/html_sanitizer.rb +5 -5
- data/app/services/lcms/engine/lessons_gdoc_bundler.rb +1 -1
- data/app/services/lcms/engine/material_build_service.rb +6 -2
- data/app/services/lcms/engine/material_preview_generator.rb +2 -2
- data/app/services/lcms/engine/react_materials_resolver.rb +3 -2
- data/app/services/lcms/engine/s3_service.rb +1 -1
- data/app/uploaders/social_thumbnail_uploader.rb +0 -4
- data/app/views/devise/confirmations/new.html.erb +1 -1
- data/app/views/devise/passwords/edit.html.erb +1 -1
- data/app/views/devise/passwords/new.html.erb +1 -1
- data/app/views/devise/registrations/new.html.erb +1 -1
- data/app/views/devise/sessions/new.html.erb +2 -2
- data/app/views/layouts/lcms/engine/admin.html.erb +1 -3
- data/app/views/layouts/lcms/engine/application.html.erb +0 -6
- data/app/views/layouts/lcms/engine/cg_pdf.erb +0 -38
- data/app/views/layouts/lcms/engine/lti.html.erb +0 -1
- data/app/views/lcms/engine/admin/access_codes/index.html.erb +10 -8
- data/app/views/lcms/engine/admin/batch_reimports/_search_form.html.erb +1 -1
- data/app/views/lcms/engine/admin/curriculums/edit.html.erb +3 -2
- data/app/views/lcms/engine/admin/documents/_materials_links.html.erb +2 -2
- data/app/views/lcms/engine/admin/documents/_search_form.html.erb +1 -1
- data/app/views/lcms/engine/admin/documents/index.html.erb +4 -4
- data/app/views/lcms/engine/admin/documents/new.html.erb +1 -1
- data/app/views/lcms/engine/admin/materials/_search_form.html.erb +1 -1
- data/app/views/lcms/engine/admin/materials/index.html.erb +6 -6
- data/app/views/lcms/engine/admin/resource_bulk_edits/new.html.erb +3 -3
- data/app/views/lcms/engine/admin/resources/_fields.html.erb +3 -0
- data/app/views/lcms/engine/admin/resources/_search_form.html.erb +1 -1
- data/app/views/lcms/engine/admin/shared/_header.html.erb +1 -8
- data/app/views/lcms/engine/admin/standards/index.html.erb +9 -7
- data/app/views/lcms/engine/admin/users/index.html.erb +16 -14
- data/app/views/lcms/engine/documents/_content.html.erb +0 -1
- data/app/views/lcms/engine/documents/_sticky_header.html.erb +1 -1
- data/app/views/lcms/engine/documents/_sticky_site_menu.html.erb +0 -1
- data/app/views/lcms/engine/documents/gdoc/_agenda.html.erb +1 -1
- data/app/views/lcms/engine/documents/show.html.erb +1 -1
- data/app/views/lcms/engine/materials/show.html.erb +1 -1
- data/app/views/lcms/engine/resources/_children_list.html.erb +1 -1
- data/app/views/lcms/engine/resources/_download.html.erb +4 -4
- data/app/views/lcms/engine/resources/_unit_bundles.html.erb +4 -4
- data/app/views/lcms/engine/resources/show.html.erb +2 -2
- data/app/views/lcms/engine/shared/_footer.html.erb +1 -3
- data/app/views/lcms/engine/shared/_header.html.erb +2 -36
- data/app/views/lcms/engine/surveys/show.html.erb +1 -1
- data/app/views/lcms/engine/welcome/index.html.erb +1 -80
- data/config/initializers/carrier_wave.rb +0 -1
- data/config/locales/admin/en.yml +2 -1
- data/config/routes.rb +2 -36
- data/db/migrate/20200422130652_add_reimported_at_to_documents.rb +7 -0
- data/db/migrate/20200429130353_drop_pages.rb +13 -0
- data/db/schema.rb +1 -1
- data/docs/env-variables.md +87 -0
- data/docs/google-cloud-platform-setup.md +106 -0
- data/lcms-engine.gemspec +69 -89
- data/lib/doc_template.rb +1 -1
- data/lib/doc_template/document.rb +2 -2
- data/lib/doc_template/objects/agenda_metadata.rb +1 -1
- data/lib/doc_template/objects/metadata_helpers.rb +1 -1
- data/lib/doc_template/objects/toc_metadata.rb +2 -2
- data/lib/doc_template/tables/activity.rb +1 -2
- data/lib/doc_template/tables/base.rb +7 -2
- data/lib/doc_template/tables/section.rb +1 -2
- data/lib/doc_template/tags/activity_metadata_type_tag.rb +1 -1
- data/lib/doc_template/tags/answer_space_tag.rb +1 -1
- data/lib/doc_template/tags/base_tag.rb +3 -3
- data/lib/doc_template/tags/columns_tag.rb +1 -1
- data/lib/doc_template/tags/def_tag.rb +1 -1
- data/lib/doc_template/tags/expand_tag.rb +1 -0
- data/lib/doc_template/tags/heading_tag.rb +1 -1
- data/lib/doc_template/tags/inset_tag.rb +2 -2
- data/lib/doc_template/tags/latex_tag.rb +1 -1
- data/lib/doc_template/tags/link_tag.rb +1 -1
- data/lib/doc_template/tags/page_break_tag.rb +1 -1
- data/lib/doc_template/tags/pd_tag.rb +4 -4
- data/lib/doc_template/tags/section_tag.rb +2 -2
- data/lib/doc_template/tags/standard_tag.rb +3 -3
- data/lib/doc_template/tags/table_preserve_alignment_tag.rb +1 -1
- data/lib/doc_template/xpath_functions.rb +3 -1
- data/lib/document_exporter/base.rb +1 -2
- data/lib/document_exporter/docx.rb +0 -1
- data/lib/document_exporter/gdoc/base.rb +1 -1
- data/lib/document_renderer/part.rb +3 -3
- data/lib/elasticsearch/persistence/repository/response/results.rb +1 -1
- data/lib/generators/lcms/engine/install/install_generator.rb +1 -4
- data/lib/generators/lcms/engine/install/templates/config/lcms.yml +1 -1
- data/lib/lcms/engine/engine.rb +1 -25
- data/lib/lcms/engine/migration.rb +2 -0
- data/lib/lcms/engine/version.rb +1 -1
- data/lib/lt/lcms/metadata/base_service.rb +2 -1
- data/lib/lt/lcms/metadata/context.rb +6 -8
- data/lib/lt/lcms/metadata/service.rb +3 -1
- data/lib/resque_job.rb +3 -6
- data/lib/standard_importer.rb +4 -4
- data/lib/tasks/cloud66.rake +6 -4
- data/lib/tasks/document.rake +3 -3
- data/lib/tasks/google.rake +1 -1
- data/package.json +1 -0
- data/spec/controllers/admin/admin_controller_spec.rb +1 -1
- data/spec/controllers/admin/association_picker_controller_spec.rb +6 -8
- data/spec/controllers/admin/curriculums_controller_spec.rb +1 -2
- data/spec/controllers/admin/documents_controller_spec.rb +47 -11
- data/spec/controllers/admin/materials_controller_spec.rb +72 -6
- data/spec/controllers/admin/resource_bulk_edit_controller_spec.rb +3 -3
- data/spec/controllers/admin/resources_controller_spec.rb +72 -0
- data/spec/controllers/admin/sketch_compilers_controller_spec.rb +5 -4
- data/spec/controllers/admin/standards_controller_spec.rb +12 -9
- data/spec/controllers/admin/users_controller_spec.rb +2 -2
- data/spec/controllers/admin/welcome_controller_spec.rb +1 -1
- data/spec/controllers/documents_controller_spec.rb +3 -3
- data/spec/controllers/resources_controller_spec.rb +2 -2
- data/spec/dummy/.env.docker +1 -1
- data/spec/dummy/bin/spring +2 -2
- data/spec/dummy/config/application.rb +3 -3
- data/spec/dummy/config/environments/production.rb +1 -1
- data/spec/dummy/config/environments/test.rb +2 -5
- data/spec/dummy/config/lcms-admin.yml +3 -3
- data/spec/dummy/config/puma.rb +3 -3
- data/spec/dummy/config/webpack/development.js +5 -0
- data/spec/dummy/config/webpack/environment.js +3 -0
- data/spec/dummy/config/webpack/production.js +5 -0
- data/spec/dummy/config/webpack/test.js +5 -0
- data/spec/dummy/config/webpacker.yml +96 -0
- data/spec/dummy/db/schema.rb +275 -307
- data/spec/entities/grades_spec.rb +12 -0
- data/spec/factories/document_bundles.rb +1 -1
- data/spec/factories/standard_links.rb +2 -0
- data/spec/factories/taggings.rb +1 -0
- data/spec/features/admin/lessons/add_lesson_spec.rb +3 -3
- data/spec/features/admin/materials/add_material_spec.rb +3 -3
- data/spec/features/welcome_spec.rb +1 -1
- data/spec/fixtures/tables/activity-metadata-3activities.html +1 -0
- data/spec/fixtures/tables/document-metadata-2paragpraphs.html +97 -0
- data/spec/fixtures/tables/document-metadata-2spans.html +96 -0
- data/spec/fixtures/tables/document-metadata.html +96 -0
- data/spec/forms/document_form_spec.rb +11 -1
- data/spec/lib/doc_template/tables/activity_spec.rb +28 -0
- data/spec/lib/doc_template/tables/metadata_spec.rb +40 -0
- data/spec/lib/doc_template/tables/shared_examples/remove_table.rb +11 -0
- data/spec/models/document_bundle_spec.rb +0 -6
- data/spec/models/resource_spec.rb +0 -33
- data/spec/rails_helper.rb +19 -1
- data/spec/requests/admin/curriculum_spec.rb +17 -0
- data/spec/services/document_build_service_spec.rb +76 -62
- data/spec/support/capybara.rb +1 -3
- data/spec/support/concerns/searchable.rb +2 -0
- data/spec/support/database_cleaner.rb +5 -16
- data/spec/support/devise.rb +2 -0
- data/spec/support/fixture_helper.rb +16 -0
- data/vendor/assets/javascripts/selectize.min.js +4 -0
- data/vendor/assets/stylesheets/selectize.scss +333 -0
- data/yarn.lock +765 -608
- metadata +376 -760
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Medium-Web.eot +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Medium-Web.svg +0 -689
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Medium-Web.ttf +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Medium-Web.woff +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Regular-Web.eot +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Regular-Web.svg +0 -697
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Regular-Web.ttf +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Regular-Web.woff +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-RegularItalic-Web.eot +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-RegularItalic-Web.svg +0 -768
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-RegularItalic-Web.ttf +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-RegularItalic-Web.woff +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Semibold-Web.eot +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Semibold-Web.svg +0 -685
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Semibold-Web.ttf +0 -0
- data/app/assets/fonts/lcms/engine/caponi/CaponiSlab-Semibold-Web.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Bold.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Bold.svg +0 -5603
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Bold.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Light.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Light.svg +0 -5763
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Light.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Medium.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Medium.otf +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Medium.svg +0 -5400
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansCond-Medium.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Bold.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Bold.html +0 -15
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Bold.otf +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Bold.svg +0 -13061
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Bold.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Light.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Light.html +0 -15
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Light.otf +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Light.svg +0 -13075
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Light.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-LightItalic.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-LightItalic.otf +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-LightItalic.svg +0 -13142
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-LightItalic.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Medium.eot +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Medium.ttf +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Medium.woff +0 -0
- data/app/assets/fonts/lcms/engine/centro/PFCentroSansPro-Medium.woff2 +0 -0
- data/app/assets/fonts/lcms/engine/cursive/Sriracha-Regular.ttf +0 -0
- data/app/assets/fonts/lcms/engine/icons/ubicons.eot +0 -0
- data/app/assets/fonts/lcms/engine/icons/ubicons.svg +0 -50
- data/app/assets/fonts/lcms/engine/icons/ubicons.ttf +0 -0
- data/app/assets/fonts/lcms/engine/icons/ubicons.woff +0 -0
- data/app/assets/fonts/lcms/engine/ub/UBIcons.eot +0 -0
- data/app/assets/fonts/lcms/engine/ub/UBIcons.svg +0 -18
- data/app/assets/fonts/lcms/engine/ub/UBIcons.ttf +0 -0
- data/app/assets/fonts/lcms/engine/ub/UBIcons.woff +0 -0
- data/app/assets/images/lcms/engine/lessons/ld_p1.png +0 -0
- data/app/assets/images/lcms/engine/lessons/ld_p2.png +0 -0
- data/app/assets/images/lcms/engine/lessons/ld_p3.png +0 -0
- data/app/assets/images/lcms/engine/lessons/tens.png +0 -0
- data/app/assets/images/lcms/engine/lessons/wp.svg +0 -30
- data/app/assets/images/lcms/engine/tile-wide.png +0 -0
- data/app/assets/images/lcms/engine/tile.png +0 -0
- data/app/assets/javascripts/lcms/engine/components.js +0 -7
- data/app/assets/javascripts/lcms/engine/components/.gitkeep +0 -0
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/CurriculumMap.js.jsx +0 -31
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/CurriculumMapLesson.js.jsx +0 -18
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/CurriculumMapModule.js.jsx +0 -59
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/CurriculumMapUnit.js.jsx +0 -56
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/ResourceHover.js.jsx +0 -27
- data/app/assets/javascripts/lcms/engine/components/curriculum-map/ResourcePreview.js.jsx +0 -29
- data/app/assets/javascripts/lcms/engine/components/enhance-instruction/EnhanceInstructionCards.js.jsx +0 -13
- data/app/assets/javascripts/lcms/engine/components/enhance-instruction/EnhanceInstructionPage.js.jsx +0 -139
- data/app/assets/javascripts/lcms/engine/components/enhance-instruction/GenericResourceCard.js.jsx +0 -20
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumCardItem.js.jsx +0 -152
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumGradeMap.js.jsx +0 -44
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumHeader.js.jsx +0 -10
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumItem.js.jsx +0 -77
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumModuleMap.js.jsx +0 -59
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumOpr.js.jsx +0 -62
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumPage.js.jsx +0 -258
- data/app/assets/javascripts/lcms/engine/components/explore-curriculum/ExploreCurriculumUnitMap.js.jsx +0 -50
- data/app/assets/javascripts/lcms/engine/components/filterbar/FilterBarResponsive.js.jsx +0 -62
- data/app/assets/javascripts/lcms/engine/components/filterbar/Filterbar.js.jsx +0 -258
- data/app/assets/javascripts/lcms/engine/components/filterbar/FilterbarFacet.js.jsx +0 -12
- data/app/assets/javascripts/lcms/engine/components/filterbar/FilterbarGrade.js.jsx +0 -14
- data/app/assets/javascripts/lcms/engine/components/filterbar/FilterbarSearch.js.jsx +0 -48
- data/app/assets/javascripts/lcms/engine/components/filterbar/FilterbarSubject.js.jsx +0 -12
- data/app/assets/javascripts/lcms/engine/components/find-lessons/FindLessonsCards.js.jsx +0 -11
- data/app/assets/javascripts/lcms/engine/components/find-lessons/FindLessonsCardsEmpty.js.jsx +0 -17
- data/app/assets/javascripts/lcms/engine/components/find-lessons/FindLessonsPage.js.jsx +0 -58
- data/app/assets/javascripts/lcms/engine/components/helpers/FreshdeskBtn.js.jsx +0 -9
- data/app/assets/javascripts/lcms/engine/components/helpers/MediaTime.js.jsx +0 -6
- data/app/assets/javascripts/lcms/engine/components/helpers/SearchResultsHeader.js.jsx +0 -41
- data/app/assets/javascripts/lcms/engine/components/helpers/TimeToTeach.js.jsx +0 -29
- data/app/assets/javascripts/lcms/engine/components/instruction-card/InstructionCard.js.jsx +0 -57
- data/app/assets/javascripts/lcms/engine/components/lesson-card/LessonCard.js.jsx +0 -45
- data/app/assets/javascripts/lcms/engine/components/materials/CollapsedMaterial.js.jsx +0 -40
- data/app/assets/javascripts/lcms/engine/components/materials/DocumentMaterialsList.js.jsx +0 -33
- data/app/assets/javascripts/lcms/engine/components/materials/ExpandedMaterial.js.jsx +0 -37
- data/app/assets/javascripts/lcms/engine/components/materials/MaterialsContainer.js.jsx +0 -92
- data/app/assets/javascripts/lcms/engine/components/materials/MaterialsList.js.jsx +0 -19
- data/app/assets/javascripts/lcms/engine/components/modals/DownloadModal.js.jsx +0 -68
- data/app/assets/javascripts/lcms/engine/components/related-instruction/RelatedInstruction.js.jsx +0 -72
- data/app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdown.js.jsx +0 -159
- data/app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResult.js.jsx +0 -12
- data/app/assets/javascripts/lcms/engine/components/search-dropdown/SearchDropdownResults.js.jsx +0 -36
- data/app/assets/javascripts/lcms/engine/components/search/SearchPage.js.jsx +0 -44
- data/app/assets/javascripts/lcms/engine/components/search/SearchResult.js.jsx +0 -22
- data/app/assets/javascripts/lcms/engine/components/search/SearchResults.js.jsx +0 -17
- data/app/assets/javascripts/lcms/engine/components/search/SearchResultsEmpty.js.jsx +0 -25
- data/app/assets/javascripts/lcms/engine/components/search/searchPageWrapper.js.jsx +0 -77
- data/app/assets/javascripts/lcms/engine/components/select-activity/SelectActivityConfirmationModal.js.jsx +0 -107
- data/app/assets/javascripts/lcms/engine/components/select-activity/SelectActivityToggle.js.jsx +0 -39
- data/app/assets/javascripts/lcms/engine/components/stores/ExcludesStore.js.jsx +0 -11
- data/app/assets/javascripts/lcms/engine/components/tabs/SimpleTab.js.jsx +0 -130
- data/app/assets/javascripts/lcms/engine/components/utils/UrlHistory.js.jsx +0 -113
- data/app/assets/javascripts/lcms/engine/components/utils/colorcodecss.js.jsx +0 -4
- data/app/assets/javascripts/lcms/engine/components/utils/converttobem.js.jsx +0 -3
- data/app/assets/javascripts/lcms/engine/components/utils/filterbarupdate.js.jsx +0 -5
- data/app/assets/javascripts/lcms/engine/components/utils/heaptrackpd.js.jsx +0 -5
- data/app/assets/javascripts/lcms/engine/components/utils/regexpescape.js.jsx +0 -5
- data/app/assets/javascripts/lcms/engine/components/utils/scalenumber.js.jsx +0 -8
- data/app/assets/javascripts/lcms/engine/initializers/about_people.js +0 -8
- data/app/assets/javascripts/lcms/engine/initializers/bundles.js +0 -12
- data/app/assets/javascripts/lcms/engine/initializers/events.js +0 -3
- data/app/assets/javascripts/lcms/engine/initializers/freshdesk.js +0 -18
- data/app/assets/javascripts/lcms/engine/initializers/google_analytics.js +0 -10
- data/app/assets/javascripts/lcms/engine/initializers/header_dropdown.js +0 -44
- data/app/assets/javascripts/lcms/engine/initializers/heap_analytics.js +0 -78
- data/app/assets/javascripts/lcms/engine/initializers/leadership.js +0 -22
- data/app/assets/javascripts/lcms/engine/initializers/lessons.js +0 -299
- data/app/assets/javascripts/lcms/engine/initializers/loadasync.js +0 -30
- data/app/assets/javascripts/lcms/engine/initializers/pdf_preview.js +0 -15
- data/app/assets/javascripts/lcms/engine/initializers/resource_details.js +0 -21
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/SideBar.js.jsx +0 -86
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/SidebarCGMenu.js.jsx +0 -37
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/SidebarDocMenu.js.jsx +0 -75
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/SidebarMobile.js.jsx +0 -43
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/SidebarSticky.js.jsx +0 -43
- data/app/assets/javascripts/lcms/engine/initializers/sidebar/TopScroll.js.jsx +0 -21
- data/app/assets/javascripts/lcms/engine/initializers/social_sharing.js +0 -29
- data/app/assets/javascripts/lcms/engine/initializers/soundcloud.js +0 -52
- data/app/assets/javascripts/lcms/engine/initializers/subscribe_placeholder.js +0 -12
- data/app/assets/javascripts/lcms/engine/initializers/survey.js +0 -31
- data/app/assets/stylesheets/lcms/engine/base/_cg-colors.scss +0 -48
- data/app/assets/stylesheets/lcms/engine/base/_fonts.scss +0 -103
- data/app/assets/stylesheets/lcms/engine/base/_icons.scss +0 -342
- data/app/assets/stylesheets/lcms/engine/components/_buttons.scss +0 -200
- data/app/assets/stylesheets/lcms/engine/components/_cards.scss +0 -36
- data/app/assets/stylesheets/lcms/engine/components/_cg-base.scss +0 -22
- data/app/assets/stylesheets/lcms/engine/components/_curriculum-cards.scss +0 -237
- data/app/assets/stylesheets/lcms/engine/components/_curriculum-map.scss +0 -214
- data/app/assets/stylesheets/lcms/engine/components/_download-modal.scss +0 -56
- data/app/assets/stylesheets/lcms/engine/components/_filterbar-modal.scss +0 -20
- data/app/assets/stylesheets/lcms/engine/components/_filterbar.scss +0 -184
- data/app/assets/stylesheets/lcms/engine/components/_generic-resource.scss +0 -58
- data/app/assets/stylesheets/lcms/engine/components/_inputs.scss +0 -12
- data/app/assets/stylesheets/lcms/engine/components/_instruction-cards.scss +0 -160
- data/app/assets/stylesheets/lcms/engine/components/_lesson-base.scss +0 -31
- data/app/assets/stylesheets/lcms/engine/components/_lesson-cards.scss +0 -119
- data/app/assets/stylesheets/lcms/engine/components/_ls-post.scss +0 -38
- data/app/assets/stylesheets/lcms/engine/components/_material-base.scss +0 -6
- data/app/assets/stylesheets/lcms/engine/components/_media-resources.scss +0 -6
- data/app/assets/stylesheets/lcms/engine/components/_media.scss +0 -95
- data/app/assets/stylesheets/lcms/engine/components/_pagination.scss +0 -84
- data/app/assets/stylesheets/lcms/engine/components/_panel-dsc.scss +0 -37
- data/app/assets/stylesheets/lcms/engine/components/_panel.scss +0 -7
- data/app/assets/stylesheets/lcms/engine/components/_related-instruction.scss +0 -31
- data/app/assets/stylesheets/lcms/engine/components/_resource.scss +0 -217
- data/app/assets/stylesheets/lcms/engine/components/_search-dropdown.scss +0 -23
- data/app/assets/stylesheets/lcms/engine/components/_search-header.scss +0 -45
- data/app/assets/stylesheets/lcms/engine/components/_search.scss +0 -57
- data/app/assets/stylesheets/lcms/engine/components/_sidebar.scss +0 -159
- data/app/assets/stylesheets/lcms/engine/components/_simple-tab.scss +0 -57
- data/app/assets/stylesheets/lcms/engine/components/_social-sharing.scss +0 -20
- data/app/assets/stylesheets/lcms/engine/components/_titles.scss +0 -33
- data/app/assets/stylesheets/lcms/engine/components/_top-scroll-button.scss +0 -28
- data/app/assets/stylesheets/lcms/engine/components/_unit-bundles.scss +0 -14
- data/app/assets/stylesheets/lcms/engine/components/cg/_annotations.scss +0 -48
- data/app/assets/stylesheets/lcms/engine/components/cg/_colorscheme.scss +0 -60
- data/app/assets/stylesheets/lcms/engine/components/cg/_contents-modal.scss +0 -20
- data/app/assets/stylesheets/lcms/engine/components/cg/_elements.scss +0 -11
- data/app/assets/stylesheets/lcms/engine/components/cg/_faq.scss +0 -35
- data/app/assets/stylesheets/lcms/engine/components/cg/_footnote.scss +0 -20
- data/app/assets/stylesheets/lcms/engine/components/cg/_hacks.scss +0 -11
- data/app/assets/stylesheets/lcms/engine/components/cg/_icons.scss +0 -30
- data/app/assets/stylesheets/lcms/engine/components/cg/_keywords.scss +0 -5
- data/app/assets/stylesheets/lcms/engine/components/cg/_links.scss +0 -3
- data/app/assets/stylesheets/lcms/engine/components/cg/_quotes.scss +0 -18
- data/app/assets/stylesheets/lcms/engine/components/cg/_standards.scss +0 -23
- data/app/assets/stylesheets/lcms/engine/components/cg/_table.scss +0 -50
- data/app/assets/stylesheets/lcms/engine/components/cg/_task.scss +0 -43
- data/app/assets/stylesheets/lcms/engine/components/cg/_video.scss +0 -10
- data/app/assets/stylesheets/lcms/engine/components/support/_helpdesk.scss +0 -25
- data/app/assets/stylesheets/lcms/engine/freshdesk/base/_colors.scss +0 -25
- data/app/assets/stylesheets/lcms/engine/freshdesk/base/_typography.scss +0 -19
- data/app/assets/stylesheets/lcms/engine/freshdesk/components/_block.scss +0 -5
- data/app/assets/stylesheets/lcms/engine/freshdesk/components/_buttons.scss +0 -5
- data/app/assets/stylesheets/lcms/engine/freshdesk/components/_help-center.scss +0 -59
- data/app/assets/stylesheets/lcms/engine/freshdesk/components/_tabs.scss +0 -33
- data/app/assets/stylesheets/lcms/engine/freshdesk/freshdesk.scss +0 -42
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/_footer.scss +0 -44
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/_header.scss +0 -49
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/_page.scss +0 -40
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/footer.liquid +0 -14
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/header.liquid +0 -41
- data/app/assets/stylesheets/lcms/engine/freshdesk/layout/page.liquid +0 -22
- data/app/assets/stylesheets/lcms/engine/freshdesk/pages/_portal-home.scss +0 -18
- data/app/assets/stylesheets/lcms/engine/freshdesk/pages/portal.home.liquid +0 -74
- data/app/assets/stylesheets/lcms/engine/freshdesk/themes/_settings.scss +0 -19
- data/app/assets/stylesheets/lcms/engine/freshdesk/utils/_breakpoint.scss +0 -288
- data/app/assets/stylesheets/lcms/engine/freshdesk/utils/_helpers.scss +0 -22
- data/app/assets/stylesheets/lcms/engine/freshdesk/utils/_unit.scss +0 -95
- data/app/assets/stylesheets/lcms/engine/freshdesk/utils/_value.scss +0 -138
- data/app/assets/stylesheets/lcms/engine/layout/_connect.scss +0 -63
- data/app/assets/stylesheets/lcms/engine/layout/_header-search-form.scss +0 -30
- data/app/assets/stylesheets/lcms/engine/layout/_sticky-header.scss +0 -179
- data/app/assets/stylesheets/lcms/engine/layout/_sticky-navigation.scss +0 -124
- data/app/assets/stylesheets/lcms/engine/layout/_subscribe.scss +0 -68
- data/app/assets/stylesheets/lcms/engine/pages/_about-people.scss +0 -115
- data/app/assets/stylesheets/lcms/engine/pages/_about.scss +0 -61
- data/app/assets/stylesheets/lcms/engine/pages/_content-guide.scss +0 -205
- data/app/assets/stylesheets/lcms/engine/pages/_enhance-instruction.scss +0 -19
- data/app/assets/stylesheets/lcms/engine/pages/_explore-curriculum.scss +0 -46
- data/app/assets/stylesheets/lcms/engine/pages/_find-lessons.scss +0 -1
- data/app/assets/stylesheets/lcms/engine/pages/_home.scss +0 -237
- data/app/assets/stylesheets/lcms/engine/pages/_leadership.scss +0 -263
- data/app/assets/stylesheets/lcms/engine/pages/_lesson-document.scss +0 -138
- data/app/assets/stylesheets/lcms/engine/pages/_unsupported.scss +0 -18
- data/app/assets/stylesheets/lcms/engine/print/_b64-fonts.scss.erb +0 -65
- data/app/assets/stylesheets/lcms/engine/print/_cg-base.scss +0 -4
- data/app/assets/stylesheets/lcms/engine/print/_hacks.scss +0 -6
- data/app/assets/stylesheets/lcms/engine/print/cg/_base-typography.scss +0 -21
- data/app/assets/stylesheets/lcms/engine/print/cg/_breaks.scss +0 -7
- data/app/assets/stylesheets/lcms/engine/print/cg/_elements-typography.scss +0 -14
- data/app/assets/stylesheets/lcms/engine/vendors/swiper.css +0 -547
- data/app/controllers/concerns/lcms/engine/analytics_tracking.rb +0 -51
- data/app/controllers/concerns/lcms/engine/heap_notifyable.rb +0 -20
- data/app/controllers/lcms/engine/admin/configurable_admin.rb +0 -56
- data/app/controllers/lcms/engine/admin/google_oauth2_controller.rb +0 -15
- data/app/controllers/lcms/engine/admin/pages_controller.rb +0 -54
- data/app/controllers/lcms/engine/analytics_exclusion_controller.rb +0 -14
- data/app/controllers/lcms/engine/downloads_controller.rb +0 -50
- data/app/controllers/lcms/engine/enhance_instruction_controller.rb +0 -18
- data/app/controllers/lcms/engine/explore_curriculum_controller.rb +0 -28
- data/app/controllers/lcms/engine/find_lessons_controller.rb +0 -15
- data/app/controllers/lcms/engine/pages_controller.rb +0 -26
- data/app/controllers/lcms/engine/search_controller.rb +0 -15
- data/app/controllers/lcms/engine/sessions_controller.rb +0 -19
- data/app/models/lcms/engine/page.rb +0 -13
- data/app/services/lcms/engine/generate_thumbnails.rb +0 -54
- data/app/services/lcms/engine/svg_social_thumbnail.rb +0 -223
- data/app/views/layouts/lcms/engine/ld_docx.html.erb +0 -16
- data/app/views/lcms/engine/admin/pages/_form.html.erb +0 -8
- data/app/views/lcms/engine/admin/pages/edit.html.erb +0 -9
- data/app/views/lcms/engine/admin/pages/index.html.erb +0 -25
- data/app/views/lcms/engine/admin/pages/new.html.erb +0 -5
- data/app/views/lcms/engine/documents/_helpdesk.html.erb +0 -9
- data/app/views/lcms/engine/pages/_about_people_staff.html.erb +0 -27
- data/app/views/lcms/engine/pages/_leadership_in_action.html.erb +0 -25
- data/app/views/lcms/engine/pages/_leadership_why_i_lead.html.erb +0 -34
- data/app/views/lcms/engine/pages/about.html.erb +0 -87
- data/app/views/lcms/engine/pages/about_people.html.erb +0 -27
- data/app/views/lcms/engine/pages/forthcoming.html.erb +0 -9
- data/app/views/lcms/engine/pages/leadership.html.erb +0 -82
- data/app/views/lcms/engine/pages/not_found.html.erb +0 -9
- data/app/views/lcms/engine/pages/privacy.html.erb +0 -9
- data/app/views/lcms/engine/pages/show.html.erb +0 -8
- data/app/views/lcms/engine/pages/show_slug.html.erb +0 -0
- data/app/views/lcms/engine/pages/tos.html.erb +0 -9
- data/app/views/lcms/engine/shared/_connect.html.erb +0 -60
- data/app/views/lcms/engine/shared/_freshdesk.html.erb +0 -22
- data/app/views/lcms/engine/shared/_google_analytics.html.erb +0 -9
- data/app/views/lcms/engine/shared/_heap_analytics.html.erb +0 -7
- data/app/views/lcms/engine/shared/_open_graph_meta.html.erb +0 -15
- data/app/views/lcms/engine/shared/_open_graph_meta_js.html.erb +0 -39
- data/app/views/lcms/engine/shared/_search_form.html.erb +0 -10
- data/app/views/lcms/engine/shared/_social_sharing_menu.html.erb +0 -34
- data/app/views/lcms/engine/shared/_subscribe.html.erb +0 -30
- data/app/views/lcms/engine/shared/_unsupported.html.erb +0 -3
- data/app/views/lcms/engine/shared/social_thumbnail.svg.erb +0 -54
- data/config/initializers/active_record.rb +0 -3
- data/config/initializers/heap.rb +0 -3
- data/lib/tasks/thumbnails.rake +0 -59
- data/spec/controllers/admin/pages_controller_spec.rb +0 -19
- data/spec/controllers/enhance_instruction_controller_spec.rb +0 -15
- data/spec/controllers/explore_curriculum_controller_spec.rb +0 -29
- data/spec/controllers/find_lessons_controller_spec.rb +0 -50
- data/spec/controllers/pages_controller_spec.rb +0 -35
- data/spec/controllers/search_controller_spec.rb +0 -16
- data/spec/factories/pages.rb +0 -21
- data/spec/features/admin/pages_spec.rb +0 -79
- data/spec/features/pages/page_not_found_spec.rb +0 -26
- data/spec/features/pages/page_titles_spec.rb +0 -86
- data/spec/support/heap.rb +0 -3
- data/vendor/assets/javascripts/foundation.initialize.js +0 -115
- data/vendor/assets/javascripts/foundation.magellanex.js +0 -335
- data/vendor/assets/javascripts/freshwidget.js +0 -1
- data/vendor/assets/javascripts/jquery.easytabs.js +0 -704
- data/vendor/assets/javascripts/jquery.hashchange.js +0 -9
- data/vendor/assets/javascripts/modernizr-custom.js +0 -3
- data/vendor/assets/javascripts/smoothscrolling.js +0 -22
- data/vendor/assets/javascripts/swiper.jquery.js +0 -3777
- data/vendor/assets/javascripts/tabs.js +0 -6
@@ -2,17 +2,14 @@
|
|
2
2
|
|
3
3
|
@import
|
4
4
|
'utils/variables',
|
5
|
-
'utils/mixins'
|
6
|
-
'base/colors',
|
7
|
-
'base/cg-colors',
|
8
|
-
'base/ld-colors';
|
5
|
+
'utils/mixins';
|
9
6
|
|
10
7
|
@import
|
11
8
|
'themes/settings';
|
12
9
|
|
13
10
|
@import
|
14
11
|
'vendors/foundation_and_overrides-pdf',
|
15
|
-
'vendors/mathjax';
|
12
|
+
'vendors/mathjax.css';
|
16
13
|
|
17
14
|
@import
|
18
15
|
'utils/styles_override',
|
@@ -20,34 +17,13 @@
|
|
20
17
|
'utils/colorcodes',
|
21
18
|
'utils/functions';
|
22
19
|
|
23
|
-
@import
|
24
|
-
//'print/b64-fonts',
|
25
|
-
'base/icons',
|
26
|
-
'base/typography',
|
27
|
-
'print/typography';
|
28
|
-
|
29
|
-
@import
|
30
|
-
'components/cg/annotations',
|
31
|
-
'components/cg/colorscheme',
|
32
|
-
'components/cg/elements',
|
33
|
-
'components/cg/footnote',
|
34
|
-
'components/cg/icons',
|
35
|
-
'components/cg/keywords',
|
36
|
-
'components/cg/quotes',
|
37
|
-
'components/cg/standards',
|
38
|
-
'components/cg/table',
|
39
|
-
'components/cg/task',
|
40
|
-
'components/cg/hacks';
|
20
|
+
@import 'print/typography';
|
41
21
|
|
42
|
-
@import
|
43
|
-
'components/lesson-base',
|
44
|
-
'components/material/material';
|
22
|
+
@import 'components/material/material';
|
45
23
|
|
46
24
|
@import
|
47
25
|
'print/base',
|
48
|
-
'print/cg-base',
|
49
26
|
'print/colorscheme',
|
50
|
-
'print/hacks',
|
51
27
|
'print/header',
|
52
28
|
'print/helpers',
|
53
29
|
'print/lesson-base',
|
@@ -2,10 +2,7 @@
|
|
2
2
|
|
3
3
|
@import
|
4
4
|
'utils/variables',
|
5
|
-
'utils/mixins'
|
6
|
-
'base/colors',
|
7
|
-
'base/cg-colors',
|
8
|
-
'base/ld-colors';
|
5
|
+
'utils/mixins';
|
9
6
|
|
10
7
|
@import
|
11
8
|
'themes/settings';
|
@@ -17,17 +14,12 @@
|
|
17
14
|
'utils/colorcodes',
|
18
15
|
'utils/helpers';
|
19
16
|
|
20
|
-
@import
|
21
|
-
//'print/b64-fonts',
|
22
|
-
'print/typography';
|
17
|
+
@import 'print/typography';
|
23
18
|
|
24
|
-
@import
|
25
|
-
'components/cg/colorscheme',
|
26
|
-
'components/lesson/override';
|
19
|
+
@import 'components/lesson/override';
|
27
20
|
|
28
21
|
@import
|
29
22
|
'print/base',
|
30
|
-
'print/cg-base',
|
31
23
|
'print/cover',
|
32
24
|
'print/colorscheme',
|
33
25
|
'print/footer',
|
@@ -1,8 +1,3 @@
|
|
1
|
-
// Font families
|
2
|
-
// $ub-sanserif: 'PF Centro Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
3
|
-
// $ub-serif: 'Caponi Slab Web', Georgia, "Times New Roman", Times, serif;
|
4
|
-
// $ub-sanserif-condensed: 'PF Centro Sans Condensed', $ub-sanserif;
|
5
|
-
|
6
1
|
$ub-pdf-typography: (
|
7
2
|
h1: ('font-size': 30pt, 'line-height': 30pt, 'font-family': $ub-serif, 'font-weight': 500, 'font-style': normal, color: $ub-pdf-black),
|
8
3
|
h2: ('font-size': 15pt, 'line-height': 18pt, 'font-family': $ub-serif, color: $ub-pdf-gray, 'font-style': normal),
|
@@ -16,29 +16,49 @@
|
|
16
16
|
// 11. Button
|
17
17
|
// 12. Button Group
|
18
18
|
// 13. Callout
|
19
|
-
// 14.
|
20
|
-
// 15.
|
21
|
-
// 16.
|
22
|
-
// 17. Dropdown
|
23
|
-
// 18.
|
24
|
-
// 19.
|
25
|
-
// 20.
|
26
|
-
// 21.
|
27
|
-
// 22.
|
28
|
-
// 23.
|
29
|
-
// 24.
|
30
|
-
// 25.
|
31
|
-
// 26.
|
32
|
-
// 27.
|
33
|
-
// 28.
|
34
|
-
// 29.
|
35
|
-
// 30.
|
36
|
-
// 31.
|
37
|
-
// 32.
|
38
|
-
// 33.
|
39
|
-
// 34.
|
40
|
-
// 35.
|
41
|
-
// 36.
|
19
|
+
// 14. Card
|
20
|
+
// 15. Close Button
|
21
|
+
// 16. Drilldown
|
22
|
+
// 17. Dropdown
|
23
|
+
// 18. Dropdown Menu
|
24
|
+
// 19. Flexbox Utilities
|
25
|
+
// 20. Forms
|
26
|
+
// 21. Label
|
27
|
+
// 22. Media Object
|
28
|
+
// 23. Menu
|
29
|
+
// 24. Meter
|
30
|
+
// 25. Off-canvas
|
31
|
+
// 26. Orbit
|
32
|
+
// 27. Pagination
|
33
|
+
// 28. Progress Bar
|
34
|
+
// 29. Prototype Arrow
|
35
|
+
// 30. Prototype Border-Box
|
36
|
+
// 31. Prototype Border-None
|
37
|
+
// 32. Prototype Bordered
|
38
|
+
// 33. Prototype Display
|
39
|
+
// 34. Prototype Font-Styling
|
40
|
+
// 35. Prototype List-Style-Type
|
41
|
+
// 36. Prototype Overflow
|
42
|
+
// 37. Prototype Position
|
43
|
+
// 38. Prototype Rounded
|
44
|
+
// 39. Prototype Separator
|
45
|
+
// 40. Prototype Shadow
|
46
|
+
// 41. Prototype Sizing
|
47
|
+
// 42. Prototype Spacing
|
48
|
+
// 43. Prototype Text-Decoration
|
49
|
+
// 44. Prototype Text-Transformation
|
50
|
+
// 45. Prototype Text-Utilities
|
51
|
+
// 46. Responsive Embed
|
52
|
+
// 47. Reveal
|
53
|
+
// 48. Slider
|
54
|
+
// 49. Switch
|
55
|
+
// 50. Table
|
56
|
+
// 51. Tabs
|
57
|
+
// 52. Thumbnail
|
58
|
+
// 53. Title Bar
|
59
|
+
// 54. Tooltip
|
60
|
+
// 55. Top Bar
|
61
|
+
// 56. Xy Grid
|
42
62
|
|
43
63
|
@import 'util/util';
|
44
64
|
|
@@ -66,14 +86,21 @@ $body-font-family: $ub-sanserif;
|
|
66
86
|
$body-antialiased: true;
|
67
87
|
$global-margin: $ub-base-margin;
|
68
88
|
$global-padding: $ub-base-padding;
|
89
|
+
$global-position: 1rem;
|
69
90
|
$global-weight-normal: normal;
|
70
91
|
$global-weight-bold: bold;
|
71
92
|
$global-radius: 2px;
|
93
|
+
$global-menu-padding: 0.7rem 1rem;
|
94
|
+
$global-menu-nested-margin: 1rem;
|
72
95
|
$global-text-direction: ltr;
|
73
96
|
$global-flexbox: true;
|
97
|
+
$global-prototype-breakpoints: false;
|
98
|
+
$global-button-cursor: auto;
|
99
|
+
$global-color-pick-contrast-tolerance: 0;
|
74
100
|
$print-transparent-backgrounds: true;
|
75
101
|
|
76
102
|
@include add-foundation-colors;
|
103
|
+
$print-hrefs: true;
|
77
104
|
|
78
105
|
// 2. Breakpoints
|
79
106
|
// --------------
|
@@ -86,6 +113,7 @@ $breakpoints: (
|
|
86
113
|
xlarge: 1230px,
|
87
114
|
xxlarge: 1440px,
|
88
115
|
);
|
116
|
+
$print-breakpoint: large;
|
89
117
|
$breakpoint-classes: (small medium ipad large xlarge);
|
90
118
|
|
91
119
|
// 3. The Grid
|
@@ -106,6 +134,7 @@ $grid-column-4xgutter: (
|
|
106
134
|
medium: 2 * 60px,
|
107
135
|
);
|
108
136
|
$grid-column-align-edge: true;
|
137
|
+
$grid-column-alias: 'columns';
|
109
138
|
$block-grid-max: 8;
|
110
139
|
|
111
140
|
// 4. Base Typography
|
@@ -115,27 +144,27 @@ $header-font-family: $ub-serif;
|
|
115
144
|
$header-font-weight: $global-weight-normal;
|
116
145
|
$header-font-style: normal;
|
117
146
|
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
118
|
-
$header-
|
119
|
-
|
120
|
-
'h1': 26,
|
121
|
-
'h2': 20,
|
122
|
-
'h3': 21,
|
123
|
-
'h4': 18,
|
124
|
-
'h5': 18,
|
125
|
-
'h6': 18,
|
126
|
-
),
|
127
|
-
medium: (
|
128
|
-
'h1': 34,
|
129
|
-
'h2': 22,
|
130
|
-
'h3': 26,
|
131
|
-
'h4': 21,
|
132
|
-
'h5': 22,
|
133
|
-
'h6': 18,
|
134
|
-
),
|
135
|
-
);
|
136
|
-
$header-color: $ub-heading-txt;
|
137
|
-
$header-lineheight: 1.2;
|
147
|
+
$header-color: inherit;
|
148
|
+
$header-lineheight: 1.4;
|
138
149
|
$header-margin-bottom: 0.5rem;
|
150
|
+
$header-styles: (
|
151
|
+
small: (
|
152
|
+
'h1': ('font-size': 26),
|
153
|
+
'h2': ('font-size': 20),
|
154
|
+
'h3': ('font-size': 21),
|
155
|
+
'h4': ('font-size': 18),
|
156
|
+
'h5': ('font-size': 18),
|
157
|
+
'h6': ('font-size': 18),
|
158
|
+
),
|
159
|
+
medium: (
|
160
|
+
'h1': ('font-size': 34),
|
161
|
+
'h2': ('font-size': 22),
|
162
|
+
'h3': ('font-size': 26),
|
163
|
+
'h4': ('font-size': 21),
|
164
|
+
'h5': ('font-size': 21),
|
165
|
+
'h6': ('font-size': 18),
|
166
|
+
),
|
167
|
+
);
|
139
168
|
$header-text-rendering: optimizeLegibility;
|
140
169
|
$small-font-size: 80%;
|
141
170
|
$header-small-font-color: $medium-gray;
|
@@ -153,7 +182,7 @@ $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
|
|
153
182
|
$anchor-text-decoration: none;
|
154
183
|
$anchor-text-decoration-hover: none;
|
155
184
|
$hr-width: $global-width;
|
156
|
-
$hr-border: 1px solid $
|
185
|
+
$hr-border: 1px solid $medium-gray;
|
157
186
|
$hr-margin: rem-calc(20) auto;
|
158
187
|
$list-lineheight: $paragraph-lineheight;
|
159
188
|
$list-margin-bottom: $paragraph-margin-bottom;
|
@@ -169,6 +198,7 @@ $blockquote-padding: rem-calc(9 20 0 19);
|
|
169
198
|
$blockquote-border: 1px solid $medium-gray;
|
170
199
|
$cite-font-size: rem-calc(13);
|
171
200
|
$cite-color: $dark-gray;
|
201
|
+
$cite-pseudo-content: '\2014 \0020';
|
172
202
|
$keystroke-font: $font-family-monospace;
|
173
203
|
$keystroke-color: $black;
|
174
204
|
$keystroke-background: $light-gray;
|
@@ -193,9 +223,9 @@ $stat-font-size: 2.5rem;
|
|
193
223
|
|
194
224
|
$abide-inputs: true;
|
195
225
|
$abide-labels: true;
|
196
|
-
$input-background-invalid:
|
197
|
-
$form-label-color-invalid:
|
198
|
-
$input-error-color:
|
226
|
+
$input-background-invalid: get-color(alert);
|
227
|
+
$form-label-color-invalid: get-color(alert);
|
228
|
+
$input-error-color: get-color(alert);
|
199
229
|
$input-error-font-size: rem-calc(12);
|
200
230
|
$input-error-font-weight: $global-weight-bold;
|
201
231
|
|
@@ -204,25 +234,38 @@ $input-error-font-weight: $global-weight-bold;
|
|
204
234
|
|
205
235
|
$accordion-background: $white;
|
206
236
|
$accordion-plusminus: true;
|
207
|
-
$accordion-
|
237
|
+
$accordion-title-font-size: rem-calc(12);
|
238
|
+
$accordion-item-color: $primary-color;
|
208
239
|
$accordion-item-background-hover: $light-gray;
|
209
240
|
$accordion-item-padding: 1.25rem 1rem;
|
210
241
|
$accordion-content-background: $white;
|
211
242
|
$accordion-content-border: 1px solid $light-gray;
|
212
|
-
$accordion-content-color:
|
243
|
+
$accordion-content-color: $body-font-color;
|
213
244
|
$accordion-content-padding: 1rem;
|
214
245
|
|
215
246
|
// 8. Accordion Menu
|
216
247
|
// -----------------
|
217
248
|
|
249
|
+
$accordionmenu-padding: $global-menu-padding;
|
250
|
+
$accordionmenu-nested-margin: $global-menu-nested-margin;
|
251
|
+
$accordionmenu-submenu-padding: $accordionmenu-padding;
|
218
252
|
$accordionmenu-arrows: true;
|
219
253
|
$accordionmenu-arrow-color: $primary-color;
|
254
|
+
$accordionmenu-item-background: null;
|
255
|
+
$accordionmenu-border: null;
|
256
|
+
$accordionmenu-submenu-toggle-background: null;
|
257
|
+
$accordion-submenu-toggle-border: $accordionmenu-border;
|
258
|
+
$accordionmenu-submenu-toggle-width: 40px;
|
259
|
+
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
|
260
|
+
$accordionmenu-arrow-size: 6px;
|
220
261
|
|
221
262
|
// 9. Badge
|
222
263
|
// --------
|
223
264
|
|
224
265
|
$badge-background: $primary-color;
|
225
|
-
$badge-color:
|
266
|
+
$badge-color: $white;
|
267
|
+
$badge-color-alt: $black;
|
268
|
+
$badge-palette: $foundation-palette;
|
226
269
|
$badge-padding: 0.3em;
|
227
270
|
$badge-minwidth: 2.1em;
|
228
271
|
$badge-font-size: 0.6rem;
|
@@ -237,26 +280,36 @@ $breadcrumbs-item-color-current: $black;
|
|
237
280
|
$breadcrumbs-item-color-disabled: $medium-gray;
|
238
281
|
$breadcrumbs-item-margin: 0.75rem;
|
239
282
|
$breadcrumbs-item-uppercase: true;
|
240
|
-
$breadcrumbs-item-
|
283
|
+
$breadcrumbs-item-separator: true;
|
284
|
+
$breadcrumbs-item-separator-item: '/';
|
285
|
+
$breadcrumbs-item-separator-item-rtl: '\\';
|
286
|
+
$breadcrumbs-item-separator-color: $medium-gray;
|
241
287
|
|
242
288
|
// 11. Button
|
243
289
|
// ----------
|
244
290
|
|
291
|
+
$button-font-family: inherit;
|
245
292
|
$button-padding: 0.85em 1em;
|
246
293
|
$button-margin: 0 0 $global-margin 0;
|
247
294
|
$button-fill: solid;
|
248
|
-
$button-background: $
|
295
|
+
$button-background: $primary-color;
|
249
296
|
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
250
297
|
$button-color: $white;
|
251
298
|
$button-color-alt: $black;
|
252
299
|
$button-radius: $global-radius;
|
300
|
+
$button-hollow-border-width: 1px;
|
253
301
|
$button-sizes: (
|
254
302
|
tiny: 0.6rem,
|
255
303
|
small: 0.75rem,
|
256
304
|
default: 0.9rem,
|
257
305
|
large: 1.25rem,
|
258
306
|
);
|
307
|
+
$button-palette: $foundation-palette;
|
259
308
|
$button-opacity-disabled: 0.25;
|
309
|
+
$button-background-hover-lightness: -20%;
|
310
|
+
$button-hollow-hover-lightness: -50%;
|
311
|
+
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
|
312
|
+
$button-responsive-expanded: false;
|
260
313
|
|
261
314
|
// 12. Button Group
|
262
315
|
// ----------------
|
@@ -265,13 +318,14 @@ $buttongroup-margin: 1rem;
|
|
265
318
|
$buttongroup-spacing: 1px;
|
266
319
|
$buttongroup-child-selector: '.button';
|
267
320
|
$buttongroup-expand-max: 6;
|
321
|
+
$buttongroup-radius-on-each: true;
|
268
322
|
|
269
323
|
// 13. Callout
|
270
324
|
// -----------
|
271
325
|
|
272
326
|
$callout-background: $white;
|
273
327
|
$callout-background-fade: 85%;
|
274
|
-
$callout-border:
|
328
|
+
$callout-border: 1px solid rgba($black, 0.25);
|
275
329
|
$callout-margin: 0 0 1rem 0;
|
276
330
|
$callout-padding: 1rem;
|
277
331
|
$callout-font-color: $body-font-color;
|
@@ -279,56 +333,90 @@ $callout-font-color-alt: $body-background;
|
|
279
333
|
$callout-radius: $global-radius;
|
280
334
|
$callout-link-tint: 30%;
|
281
335
|
|
282
|
-
// 14.
|
336
|
+
// 14. Card
|
337
|
+
// --------
|
338
|
+
|
339
|
+
$card-background: $white;
|
340
|
+
$card-font-color: $body-font-color;
|
341
|
+
$card-divider-background: $light-gray;
|
342
|
+
$card-border: 1px solid $light-gray;
|
343
|
+
$card-shadow: none;
|
344
|
+
$card-border-radius: $global-radius;
|
345
|
+
$card-padding: $global-padding;
|
346
|
+
$card-margin-bottom: $global-margin;
|
347
|
+
|
348
|
+
// 15. Close Button
|
283
349
|
// ----------------
|
284
350
|
|
285
351
|
$closebutton-position: right top;
|
286
|
-
$closebutton-offset-horizontal:
|
287
|
-
|
288
|
-
|
352
|
+
$closebutton-offset-horizontal: (
|
353
|
+
small: 0.66rem,
|
354
|
+
medium: 1rem,
|
355
|
+
);
|
356
|
+
$closebutton-offset-vertical: (
|
357
|
+
small: 0.33em,
|
358
|
+
medium: 0.5rem,
|
359
|
+
);
|
360
|
+
$closebutton-size: (
|
361
|
+
small: 1.5em,
|
362
|
+
medium: 2em,
|
363
|
+
);
|
289
364
|
$closebutton-lineheight: 1;
|
290
365
|
$closebutton-color: $dark-gray;
|
291
366
|
$closebutton-color-hover: $black;
|
292
367
|
|
293
|
-
//
|
368
|
+
// 16. Drilldown
|
294
369
|
// -------------
|
295
370
|
|
296
371
|
$drilldown-transition: transform 0.15s linear;
|
297
372
|
$drilldown-arrows: true;
|
298
|
-
$drilldown-
|
373
|
+
$drilldown-padding: $global-menu-padding;
|
374
|
+
$drilldown-nested-margin: 0;
|
299
375
|
$drilldown-background: $white;
|
376
|
+
$drilldown-submenu-padding: $drilldown-padding;
|
377
|
+
$drilldown-submenu-background: $white;
|
378
|
+
$drilldown-arrow-color: $primary-color;
|
379
|
+
$drilldown-arrow-size: 6px;
|
300
380
|
|
301
|
-
//
|
381
|
+
// 17. Dropdown
|
302
382
|
// ------------
|
303
383
|
|
304
384
|
$dropdown-padding: 1rem;
|
385
|
+
$dropdown-background: $body-background;
|
305
386
|
$dropdown-border: 1px solid $medium-gray;
|
306
387
|
$dropdown-font-size: 1rem;
|
307
388
|
$dropdown-width: 300px;
|
308
389
|
$dropdown-radius: $global-radius;
|
309
390
|
$dropdown-sizes: (
|
310
|
-
|
311
|
-
|
312
|
-
|
391
|
+
tiny: 100px,
|
392
|
+
small: 200px,
|
393
|
+
large: 400px,
|
313
394
|
);
|
314
395
|
|
315
|
-
//
|
396
|
+
// 18. Dropdown Menu
|
316
397
|
// -----------------
|
317
398
|
|
318
399
|
$dropdownmenu-arrows: true;
|
319
400
|
$dropdownmenu-arrow-color: $anchor-color;
|
401
|
+
$dropdownmenu-arrow-size: 6px;
|
402
|
+
$dropdownmenu-arrow-padding: 1.5rem;
|
320
403
|
$dropdownmenu-min-width: 200px;
|
321
|
-
$dropdownmenu-background:
|
404
|
+
$dropdownmenu-background: null;
|
405
|
+
$dropdownmenu-submenu-background: $white;
|
406
|
+
$dropdownmenu-padding: $global-menu-padding;
|
407
|
+
$dropdownmenu-nested-margin: 0;
|
408
|
+
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
322
409
|
$dropdownmenu-border: 1px solid $medium-gray;
|
410
|
+
$dropdown-menu-item-color-active: get-color(primary);
|
411
|
+
$dropdown-menu-item-background-active: transparent;
|
323
412
|
|
324
|
-
//
|
325
|
-
//
|
413
|
+
// 19. Flexbox Utilities
|
414
|
+
// ---------------------
|
326
415
|
|
327
|
-
$
|
328
|
-
$
|
329
|
-
$flexvideo-ratio-widescreen: 16 by 9;
|
416
|
+
$flex-source-ordering-count: 6;
|
417
|
+
$flexbox-responsive-breakpoints: true;
|
330
418
|
|
331
|
-
//
|
419
|
+
// 20. Forms
|
332
420
|
// ---------
|
333
421
|
|
334
422
|
$fieldset-border: 1px solid $medium-gray;
|
@@ -340,59 +428,69 @@ $helptext-color: $black;
|
|
340
428
|
$helptext-font-size: rem-calc(13);
|
341
429
|
$helptext-font-style: italic;
|
342
430
|
$input-prefix-color: $black;
|
343
|
-
$input-prefix-background: $
|
431
|
+
$input-prefix-background: $light-gray;
|
344
432
|
$input-prefix-border: 1px solid $medium-gray;
|
345
433
|
$input-prefix-padding: 1rem;
|
346
434
|
$form-label-color: $black;
|
347
435
|
$form-label-font-size: rem-calc(14);
|
348
436
|
$form-label-font-weight: $global-weight-normal;
|
349
437
|
$form-label-line-height: 1.8;
|
350
|
-
$select-background: $
|
351
|
-
$select-triangle-color: $
|
438
|
+
$select-background: $white;
|
439
|
+
$select-triangle-color: $dark-gray;
|
352
440
|
$select-radius: $global-radius;
|
353
441
|
$input-color: $black;
|
354
442
|
$input-placeholder-color: $medium-gray;
|
355
443
|
$input-font-family: inherit;
|
356
444
|
$input-font-size: rem-calc(16);
|
445
|
+
$input-font-weight: $global-weight-normal;
|
446
|
+
$input-line-height: $global-lineheight;
|
357
447
|
$input-background: $white;
|
358
448
|
$input-background-focus: $white;
|
359
449
|
$input-background-disabled: $light-gray;
|
360
450
|
$input-border: 1px solid $medium-gray;
|
361
451
|
$input-border-focus: 1px solid $dark-gray;
|
452
|
+
$input-padding: $form-spacing / 2;
|
362
453
|
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
|
363
454
|
$input-shadow-focus: 0 0 5px $medium-gray;
|
364
|
-
$input-cursor-disabled:
|
455
|
+
$input-cursor-disabled: not-allowed;
|
365
456
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
366
457
|
$input-number-spinners: true;
|
367
458
|
$input-radius: $global-radius;
|
459
|
+
$form-button-radius: $global-radius;
|
368
460
|
|
369
|
-
//
|
461
|
+
// 21. Label
|
370
462
|
// ---------
|
371
463
|
|
372
464
|
$label-background: $primary-color;
|
373
|
-
$label-color:
|
465
|
+
$label-color: $white;
|
466
|
+
$label-color-alt: $black;
|
467
|
+
$label-palette: $foundation-palette;
|
374
468
|
$label-font-size: 0.8rem;
|
375
469
|
$label-padding: 0.33333rem 0.5rem;
|
376
470
|
$label-radius: $global-radius;
|
377
471
|
|
378
|
-
//
|
472
|
+
// 22. Media Object
|
379
473
|
// ----------------
|
380
474
|
|
381
475
|
$mediaobject-margin-bottom: $global-margin;
|
382
476
|
$mediaobject-section-padding: $global-padding;
|
383
477
|
$mediaobject-image-width-stacked: 100%;
|
384
478
|
|
385
|
-
//
|
479
|
+
// 23. Menu
|
386
480
|
// --------
|
387
481
|
|
388
482
|
$menu-margin: 0;
|
389
|
-
$menu-margin-nested
|
390
|
-
$menu-
|
483
|
+
$menu-nested-margin: $global-menu-nested-margin;
|
484
|
+
$menu-items-padding: $global-menu-padding;
|
485
|
+
$menu-simple-margin: 1rem;
|
391
486
|
$menu-item-color-active: $white;
|
392
|
-
$menu-item-background-active:
|
487
|
+
$menu-item-background-active: get-color(primary);
|
393
488
|
$menu-icon-spacing: 0.25rem;
|
489
|
+
$menu-state-back-compat: true;
|
490
|
+
$menu-centered-back-compat: true;
|
491
|
+
$menu-icons-back-compat: true;
|
394
492
|
|
395
|
-
//
|
493
|
+
// 24. Meter
|
396
494
|
// ---------
|
397
495
|
|
398
496
|
$meter-height: 1rem;
|
@@ -402,20 +500,30 @@ $meter-fill-good: $success-color;
|
|
402
500
|
$meter-fill-medium: $warning-color;
|
403
501
|
$meter-fill-bad: $alert-color;
|
404
502
|
|
405
|
-
//
|
503
|
+
// 25. Off-canvas
|
406
504
|
// --------------
|
407
505
|
|
408
|
-
$offcanvas-
|
506
|
+
$offcanvas-sizes: (
|
507
|
+
small: 250px,
|
508
|
+
);
|
509
|
+
$offcanvas-vertical-sizes: (
|
510
|
+
small: 250px,
|
511
|
+
);
|
409
512
|
$offcanvas-background: $light-gray;
|
410
|
-
$offcanvas-
|
513
|
+
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
514
|
+
$offcanvas-inner-shadow-size: 20px;
|
515
|
+
$offcanvas-inner-shadow-color: rgba($black, 0.25);
|
516
|
+
$offcanvas-overlay-zindex: 11;
|
517
|
+
$offcanvas-push-zindex: 12;
|
518
|
+
$offcanvas-overlap-zindex: 13;
|
519
|
+
$offcanvas-reveal-zindex: 12;
|
411
520
|
$offcanvas-transition-length: 0.5s;
|
412
521
|
$offcanvas-transition-timing: ease;
|
413
522
|
$offcanvas-fixed-reveal: true;
|
414
523
|
$offcanvas-exit-background: rgba($white, 0.25);
|
415
524
|
$maincontent-class: 'off-canvas-content';
|
416
|
-
$maincontent-shadow: 0 0 10px rgba($black, 0.5);
|
417
525
|
|
418
|
-
//
|
526
|
+
// 26. Orbit
|
419
527
|
// ---------
|
420
528
|
|
421
529
|
$orbit-bullet-background: $medium-gray;
|
@@ -430,7 +538,7 @@ $orbit-control-background-hover: rgba($black, 0.5);
|
|
430
538
|
$orbit-control-padding: 1rem;
|
431
539
|
$orbit-control-zindex: 10;
|
432
540
|
|
433
|
-
//
|
541
|
+
// 27. Pagination
|
434
542
|
// --------------
|
435
543
|
|
436
544
|
$pagination-font-size: rem-calc(14);
|
@@ -441,13 +549,14 @@ $pagination-item-spacing: rem-calc(1);
|
|
441
549
|
$pagination-radius: $global-radius;
|
442
550
|
$pagination-item-background-hover: $light-gray;
|
443
551
|
$pagination-item-background-current: $primary-color;
|
444
|
-
$pagination-item-color-current:
|
552
|
+
$pagination-item-color-current: $white;
|
445
553
|
$pagination-item-color-disabled: $medium-gray;
|
446
554
|
$pagination-ellipsis-color: $black;
|
447
555
|
$pagination-mobile-items: false;
|
556
|
+
$pagination-mobile-current-item: false;
|
448
557
|
$pagination-arrows: true;
|
449
558
|
|
450
|
-
//
|
559
|
+
// 28. Progress Bar
|
451
560
|
// ----------------
|
452
561
|
|
453
562
|
$progress-height: 1rem;
|
@@ -456,19 +565,189 @@ $progress-margin-bottom: $global-margin;
|
|
456
565
|
$progress-meter-background: $primary-color;
|
457
566
|
$progress-radius: $global-radius;
|
458
567
|
|
459
|
-
//
|
568
|
+
// 29. Prototype Arrow
|
569
|
+
// -------------------
|
570
|
+
|
571
|
+
$prototype-arrow-directions: (
|
572
|
+
down,
|
573
|
+
up,
|
574
|
+
right,
|
575
|
+
left
|
576
|
+
);
|
577
|
+
$prototype-arrow-size: 0.4375rem;
|
578
|
+
$prototype-arrow-color: $black;
|
579
|
+
|
580
|
+
// 30. Prototype Border-Box
|
581
|
+
// ------------------------
|
582
|
+
|
583
|
+
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
|
584
|
+
|
585
|
+
// 31. Prototype Border-None
|
586
|
+
// -------------------------
|
587
|
+
|
588
|
+
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
|
589
|
+
|
590
|
+
// 32. Prototype Bordered
|
591
|
+
// ----------------------
|
592
|
+
|
593
|
+
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
|
594
|
+
$prototype-border-width: rem-calc(1);
|
595
|
+
$prototype-border-type: solid;
|
596
|
+
$prototype-border-color: $medium-gray;
|
597
|
+
|
598
|
+
// 33. Prototype Display
|
599
|
+
// ---------------------
|
600
|
+
|
601
|
+
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
602
|
+
$prototype-display: (
|
603
|
+
inline,
|
604
|
+
inline-block,
|
605
|
+
block,
|
606
|
+
table,
|
607
|
+
table-cell
|
608
|
+
);
|
609
|
+
|
610
|
+
// 34. Prototype Font-Styling
|
611
|
+
// --------------------------
|
612
|
+
|
613
|
+
$prototype-font-breakpoints: $global-prototype-breakpoints;
|
614
|
+
$prototype-wide-letter-spacing: rem-calc(4);
|
615
|
+
$prototype-font-normal: $global-weight-normal;
|
616
|
+
$prototype-font-bold: $global-weight-bold;
|
617
|
+
|
618
|
+
// 35. Prototype List-Style-Type
|
619
|
+
// -----------------------------
|
620
|
+
|
621
|
+
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
622
|
+
$prototype-style-type-unordered: (
|
623
|
+
disc,
|
624
|
+
circle,
|
625
|
+
square
|
626
|
+
);
|
627
|
+
$prototype-style-type-ordered: (
|
628
|
+
decimal,
|
629
|
+
lower-alpha,
|
630
|
+
lower-latin,
|
631
|
+
lower-roman,
|
632
|
+
upper-alpha,
|
633
|
+
upper-latin,
|
634
|
+
upper-roman
|
635
|
+
);
|
636
|
+
|
637
|
+
// 36. Prototype Overflow
|
638
|
+
// ----------------------
|
639
|
+
|
640
|
+
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
641
|
+
$prototype-overflow: (
|
642
|
+
visible,
|
643
|
+
hidden,
|
644
|
+
scroll
|
645
|
+
);
|
646
|
+
|
647
|
+
// 37. Prototype Position
|
648
|
+
// ----------------------
|
649
|
+
|
650
|
+
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
651
|
+
$prototype-position: (
|
652
|
+
static,
|
653
|
+
relative,
|
654
|
+
absolute,
|
655
|
+
fixed
|
656
|
+
);
|
657
|
+
$prototype-position-z-index: 975;
|
658
|
+
|
659
|
+
// 38. Prototype Rounded
|
660
|
+
// ---------------------
|
661
|
+
|
662
|
+
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
|
663
|
+
$prototype-border-radius: rem-calc(3);
|
664
|
+
|
665
|
+
// 39. Prototype Separator
|
666
|
+
// -----------------------
|
667
|
+
|
668
|
+
$prototype-separator-breakpoints: $global-prototype-breakpoints;
|
669
|
+
$prototype-separator-align: center;
|
670
|
+
$prototype-separator-height: rem-calc(2);
|
671
|
+
$prototype-separator-width: 3rem;
|
672
|
+
$prototype-separator-background: $primary-color;
|
673
|
+
$prototype-separator-margin-top: $global-margin;
|
674
|
+
|
675
|
+
// 40. Prototype Shadow
|
676
|
+
// --------------------
|
677
|
+
|
678
|
+
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
679
|
+
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
|
680
|
+
0 2px 10px 0 rgba(0,0,0,.12);
|
681
|
+
|
682
|
+
// 41. Prototype Sizing
|
683
|
+
// --------------------
|
684
|
+
|
685
|
+
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
686
|
+
$prototype-sizing: (
|
687
|
+
width,
|
688
|
+
height
|
689
|
+
);
|
690
|
+
$prototype-sizes: (
|
691
|
+
25: 25%,
|
692
|
+
50: 50%,
|
693
|
+
75: 75%,
|
694
|
+
100: 100%
|
695
|
+
);
|
696
|
+
|
697
|
+
// 42. Prototype Spacing
|
698
|
+
// ---------------------
|
699
|
+
|
700
|
+
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
|
701
|
+
$prototype-spacers-count: 3;
|
702
|
+
|
703
|
+
// 43. Prototype Text-Decoration
|
704
|
+
// -----------------------------
|
705
|
+
|
706
|
+
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
707
|
+
$prototype-text-decoration: (
|
708
|
+
overline,
|
709
|
+
underline,
|
710
|
+
line-through,
|
711
|
+
);
|
712
|
+
|
713
|
+
// 44. Prototype Text-Transformation
|
714
|
+
// ---------------------------------
|
715
|
+
|
716
|
+
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
717
|
+
$prototype-text-transformation: (
|
718
|
+
lowercase,
|
719
|
+
uppercase,
|
720
|
+
capitalize
|
721
|
+
);
|
722
|
+
|
723
|
+
// 45. Prototype Text-Utilities
|
724
|
+
// ----------------------------
|
725
|
+
|
726
|
+
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
|
727
|
+
$prototype-text-overflow: ellipsis;
|
728
|
+
|
729
|
+
// 46. Responsive Embed
|
730
|
+
// --------------------
|
731
|
+
|
732
|
+
$responsive-embed-margin-bottom: rem-calc(16);
|
733
|
+
$responsive-embed-ratios: (
|
734
|
+
default: 4 by 3,
|
735
|
+
widescreen: 16 by 9,
|
736
|
+
);
|
737
|
+
|
738
|
+
// 47. Reveal
|
460
739
|
// ----------
|
461
740
|
|
462
|
-
$reveal-background: $
|
741
|
+
$reveal-background: $white;
|
463
742
|
$reveal-width: 600px;
|
464
743
|
$reveal-max-width: $global-width;
|
465
|
-
$reveal-padding:
|
744
|
+
$reveal-padding: $global-padding;
|
466
745
|
$reveal-border: 1px solid $medium-gray;
|
467
746
|
$reveal-radius: $global-radius;
|
468
747
|
$reveal-zindex: 1005;
|
469
748
|
$reveal-overlay-background: rgba($black, 0.45);
|
470
749
|
|
471
|
-
//
|
750
|
+
// 48. Slider
|
472
751
|
// ----------
|
473
752
|
|
474
753
|
$slider-width-vertical: 0.5rem;
|
@@ -482,7 +761,7 @@ $slider-handle-background: $primary-color;
|
|
482
761
|
$slider-opacity-disabled: 0.25;
|
483
762
|
$slider-radius: $global-radius;
|
484
763
|
|
485
|
-
//
|
764
|
+
// 49. Switch
|
486
765
|
// ----------
|
487
766
|
|
488
767
|
$switch-background: $medium-gray;
|
@@ -498,7 +777,7 @@ $switch-paddle-offset: 0.25rem;
|
|
498
777
|
$switch-paddle-radius: $global-radius;
|
499
778
|
$switch-paddle-transition: all 0.25s ease-out;
|
500
779
|
|
501
|
-
//
|
780
|
+
// 50. Table
|
502
781
|
// ---------
|
503
782
|
|
504
783
|
$table-background: $white;
|
@@ -508,39 +787,45 @@ $table-padding: rem-calc(8 10 10);
|
|
508
787
|
$table-hover-scale: 2%;
|
509
788
|
$table-row-hover: darken($table-background, $table-hover-scale);
|
510
789
|
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
|
790
|
+
$table-is-striped: true;
|
511
791
|
$table-striped-background: smart-scale($table-background, $table-color-scale);
|
512
792
|
$table-stripe: even;
|
513
793
|
$table-head-background: smart-scale($table-background, $table-color-scale / 2);
|
794
|
+
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
|
514
795
|
$table-foot-background: smart-scale($table-background, $table-color-scale);
|
796
|
+
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
|
515
797
|
$table-head-font-color: $body-font-color;
|
798
|
+
$table-foot-font-color: $body-font-color;
|
516
799
|
$show-header-for-stacked: false;
|
800
|
+
$table-stack-breakpoint: medium;
|
517
801
|
|
518
|
-
//
|
802
|
+
// 51. Tabs
|
519
803
|
// --------
|
520
804
|
|
521
805
|
$tab-margin: 0;
|
522
|
-
$tab-background:
|
523
|
-
$tab-
|
524
|
-
$tab-
|
525
|
-
$tab-
|
526
|
-
$tab-item-
|
527
|
-
$tab-
|
528
|
-
$tab-
|
529
|
-
$tab-content-
|
530
|
-
$tab-content-
|
531
|
-
$tab-content-
|
532
|
-
|
533
|
-
|
806
|
+
$tab-background: $white;
|
807
|
+
$tab-color: $primary-color;
|
808
|
+
$tab-background-active: $light-gray;
|
809
|
+
$tab-active-color: $primary-color;
|
810
|
+
$tab-item-font-size: rem-calc(12);
|
811
|
+
$tab-item-background-hover: $white;
|
812
|
+
$tab-item-padding: 1.25rem 1.5rem;
|
813
|
+
$tab-content-background: $white;
|
814
|
+
$tab-content-border: $light-gray;
|
815
|
+
$tab-content-color: $body-font-color;
|
816
|
+
$tab-content-padding: 1rem;
|
817
|
+
|
818
|
+
// 52. Thumbnail
|
534
819
|
// -------------
|
535
820
|
|
536
|
-
$thumbnail-border: solid
|
821
|
+
$thumbnail-border: 4px solid $white;
|
537
822
|
$thumbnail-margin-bottom: $global-margin;
|
538
823
|
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
|
539
824
|
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
540
825
|
$thumbnail-transition: box-shadow 200ms ease-out;
|
541
826
|
$thumbnail-radius: $global-radius;
|
542
827
|
|
543
|
-
//
|
828
|
+
// 53. Title Bar
|
544
829
|
// -------------
|
545
830
|
|
546
831
|
$titlebar-background: $black;
|
@@ -551,20 +836,22 @@ $titlebar-icon-color: $white;
|
|
551
836
|
$titlebar-icon-color-hover: $medium-gray;
|
552
837
|
$titlebar-icon-spacing: 0.25rem;
|
553
838
|
|
554
|
-
//
|
839
|
+
// 54. Tooltip
|
555
840
|
// -----------
|
556
841
|
|
842
|
+
$has-tip-cursor: help;
|
557
843
|
$has-tip-font-weight: $global-weight-bold;
|
558
844
|
$has-tip-border-bottom: dotted 1px $dark-gray;
|
559
|
-
$tooltip-background-color: $
|
560
|
-
$tooltip-color: $
|
845
|
+
$tooltip-background-color: $black;
|
846
|
+
$tooltip-color: $white;
|
561
847
|
$tooltip-padding: 0.75rem;
|
848
|
+
$tooltip-max-width: 10rem;
|
562
849
|
$tooltip-font-size: $small-font-size;
|
563
850
|
$tooltip-pip-width: 0.75rem;
|
564
851
|
$tooltip-pip-height: $tooltip-pip-width * 0.866;
|
565
852
|
$tooltip-radius: $global-radius;
|
566
853
|
|
567
|
-
//
|
854
|
+
// 55. Top Bar
|
568
855
|
// -----------
|
569
856
|
|
570
857
|
$topbar-padding: 0;
|
@@ -573,3 +860,19 @@ $topbar-submenu-background: $topbar-background;
|
|
573
860
|
$topbar-title-spacing: 1rem;
|
574
861
|
$topbar-input-width: 200px;
|
575
862
|
$topbar-unstack-breakpoint: large;
|
863
|
+
|
864
|
+
// 56. Xy Grid
|
865
|
+
// -----------
|
866
|
+
|
867
|
+
$xy-grid: true;
|
868
|
+
$grid-container: $global-width;
|
869
|
+
$grid-columns: 12;
|
870
|
+
$grid-margin-gutters: (
|
871
|
+
small: 20px,
|
872
|
+
medium: 30px
|
873
|
+
);
|
874
|
+
$grid-padding-gutters: $grid-margin-gutters;
|
875
|
+
$grid-container-padding: $grid-padding-gutters;
|
876
|
+
$grid-container-max: $global-width;
|
877
|
+
$xy-block-grid-max: 8;
|
878
|
+
|