@thegetty/quire-cli 0.20.3 → 0.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/bin/.DS_Store +0 -0
- package/bin/go-iiif/.DS_Store +0 -0
- package/bin/index.js +2 -0
- package/bin/starters/.DS_Store +0 -0
- package/bin/starters/README.md +0 -0
- package/bin/starters/default/.circleci/config.yml +98 -0
- package/bin/starters/default/.gitignore +14 -0
- package/bin/starters/default/.nojekyll +0 -0
- package/bin/starters/default/CHANGELOG.md +38 -0
- package/bin/starters/default/README.md +25 -0
- package/bin/starters/default/bin/deploy.sh +25 -0
- package/bin/starters/default/config/_default/config.yml +53 -0
- package/bin/starters/default/config/development/config.yml +14 -0
- package/bin/starters/default/config/environments/dev.yml +14 -0
- package/bin/starters/default/config/environments/github.yml +15 -0
- package/bin/starters/default/config/environments/netlify.yml +18 -0
- package/bin/starters/default/config/epub.yml +15 -0
- package/bin/starters/default/config/pdf.yml +16 -0
- package/bin/starters/default/config/site.yml +13 -0
- package/bin/starters/default/config.yml +53 -0
- package/bin/starters/default/content/about.md +20 -0
- package/bin/starters/default/content/bibliography.md +7 -0
- package/bin/starters/default/content/catalogue/1.md +28 -0
- package/bin/starters/default/content/catalogue/2.md +29 -0
- package/bin/starters/default/content/catalogue/3.md +20 -0
- package/bin/starters/default/content/catalogue/4.md +22 -0
- package/bin/starters/default/content/catalogue/catalogue-index.md +8 -0
- package/bin/starters/default/content/contents.md +7 -0
- package/bin/starters/default/content/contributors.md +7 -0
- package/bin/starters/default/content/cover.md +11 -0
- package/bin/starters/default/content/essay.md +80 -0
- package/bin/starters/default/content/intro.md +21 -0
- package/bin/starters/default/content/search-index.md +8 -0
- package/bin/starters/default/data/figures.yml +90 -0
- package/bin/starters/default/data/objects.yml +49 -0
- package/bin/starters/default/data/publication.yml +149 -0
- package/bin/starters/default/data/references.yml +11 -0
- package/bin/starters/default/static/css/custom.css +0 -0
- package/bin/starters/default/static/data/sample-geojson.json +16 -0
- package/bin/starters/default/static/downloads/.gitkeep +0 -0
- package/bin/starters/default/static/downloads/output.epub +0 -0
- package/bin/starters/default/static/downloads/output.mobi +0 -0
- package/bin/starters/default/static/downloads/output.pdf +0 -0
- package/bin/starters/default/static/img/contributors/judith-keller.jpg +0 -0
- package/bin/starters/default/static/img/cover.png +0 -0
- package/bin/starters/default/static/img/figures/duo.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-burroughs.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-child.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-graveyard.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-hymns.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-legionnaire.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-refugee.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-sons.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-video-still.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans-washroom.jpg +0 -0
- package/bin/starters/default/static/img/figures/evans.jpg +0 -0
- package/bin/starters/default/static/img/figures/family.jpg +0 -0
- package/bin/starters/default/static/img/figures/lange-house.jpg +0 -0
- package/bin/starters/default/static/img/figures/lange.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother-b.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother-c.jpg +0 -0
- package/bin/starters/default/static/img/figures/mother.jpg +0 -0
- package/bin/starters/default/static/img/figures/pickers.jpg +0 -0
- package/bin/starters/default/static/img/logo-getty.png +0 -0
- package/bin/starters/default/static/img/pattern-spiral-overlay.png +0 -0
- package/bin/starters/default/static/js/custom.js +4 -0
- package/bin/themes/README.md +0 -0
- package/bin/themes/default/.circleci/config.yml +62 -0
- package/bin/themes/default/.eslintrc.js +16 -0
- package/bin/themes/default/.gitignore +13 -0
- package/bin/themes/default/.scss-lint.yml +239 -0
- package/bin/themes/default/CHANGELOG.md +73 -0
- package/bin/themes/default/LICENSE.md +20 -0
- package/bin/themes/default/README.md +112 -0
- package/bin/themes/default/archetypes/default.md +2 -0
- package/bin/themes/default/cypress.json +7 -0
- package/bin/themes/default/layouts/404.html +0 -0
- package/bin/themes/default/layouts/_default/baseof.html +43 -0
- package/bin/themes/default/layouts/_default/single.html +26 -0
- package/bin/themes/default/layouts/contents/single.html +37 -0
- package/bin/themes/default/layouts/cover/single.html +128 -0
- package/bin/themes/default/layouts/data/search-index.html +65 -0
- package/bin/themes/default/layouts/entry/single.html +372 -0
- package/bin/themes/default/layouts/essay/single.html +24 -0
- package/bin/themes/default/layouts/partials/analytics.html +29 -0
- package/bin/themes/default/layouts/partials/cite-this.html +348 -0
- package/bin/themes/default/layouts/partials/contents-list/card-image.html +13 -0
- package/bin/themes/default/layouts/partials/contents-list/closing-tags.html +59 -0
- package/bin/themes/default/layouts/partials/contents-list/contents-list.html +179 -0
- package/bin/themes/default/layouts/partials/contents-list/file-dir.html +7 -0
- package/bin/themes/default/layouts/partials/contents-list/file-path.html +10 -0
- package/bin/themes/default/layouts/partials/contents-list/list-item-type.html +9 -0
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/abstract.html +17 -0
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/brief.html +7 -0
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/default.html +9 -0
- package/bin/themes/default/layouts/partials/contents-list/list-item-types/grid.html +30 -0
- package/bin/themes/default/layouts/partials/contents-list/section-heading.html +5 -0
- package/bin/themes/default/layouts/partials/contents-list.html +207 -0
- package/bin/themes/default/layouts/partials/contributor-info.html +78 -0
- package/bin/themes/default/layouts/partials/contributor-list.html +102 -0
- package/bin/themes/default/layouts/partials/copyright.html +155 -0
- package/bin/themes/default/layouts/partials/debug-contents.html +8 -0
- package/bin/themes/default/layouts/partials/dublin-core.html +21 -0
- package/bin/themes/default/layouts/partials/error-message.html +19 -0
- package/bin/themes/default/layouts/partials/figure-caption.html +1 -0
- package/bin/themes/default/layouts/partials/figure-fallback.html +31 -0
- package/bin/themes/default/layouts/partials/figure-image.html +44 -0
- package/bin/themes/default/layouts/partials/figure-label.html +15 -0
- package/bin/themes/default/layouts/partials/figure-soundcloud.html +25 -0
- package/bin/themes/default/layouts/partials/figure-table.html +44 -0
- package/bin/themes/default/layouts/partials/figure-vimeo.html +24 -0
- package/bin/themes/default/layouts/partials/figure-website.html +21 -0
- package/bin/themes/default/layouts/partials/figure-youtube.html +23 -0
- package/bin/themes/default/layouts/partials/figures/caption.html +44 -0
- package/bin/themes/default/layouts/partials/figures/label.html +35 -0
- package/bin/themes/default/layouts/partials/figures/media-types/fallback.html +32 -0
- package/bin/themes/default/layouts/partials/figures/media-types/image.html +54 -0
- package/bin/themes/default/layouts/partials/figures/media-types/soundcloud.html +35 -0
- package/bin/themes/default/layouts/partials/figures/media-types/table.html +53 -0
- package/bin/themes/default/layouts/partials/figures/media-types/vimeo.html +34 -0
- package/bin/themes/default/layouts/partials/figures/media-types/website.html +24 -0
- package/bin/themes/default/layouts/partials/figures/media-types/youtube.html +29 -0
- package/bin/themes/default/layouts/partials/footer-buttons.html +29 -0
- package/bin/themes/default/layouts/partials/head.html +46 -0
- package/bin/themes/default/layouts/partials/icon.html +20 -0
- package/bin/themes/default/layouts/partials/icons-cc.html +86 -0
- package/bin/themes/default/layouts/partials/icons.html +54 -0
- package/bin/themes/default/layouts/partials/json-ld.html +117 -0
- package/bin/themes/default/layouts/partials/link-list-arrow.html +16 -0
- package/bin/themes/default/layouts/partials/link-list.html +11 -0
- package/bin/themes/default/layouts/partials/menu-header.html +25 -0
- package/bin/themes/default/layouts/partials/menu.html +69 -0
- package/bin/themes/default/layouts/partials/metadata.html +27 -0
- package/bin/themes/default/layouts/partials/navbar.html +173 -0
- package/bin/themes/default/layouts/partials/open-graph.html +43 -0
- package/bin/themes/default/layouts/partials/page-abstract.html +7 -0
- package/bin/themes/default/layouts/partials/page-bibliography.html +59 -0
- package/bin/themes/default/layouts/partials/page-class.html +9 -0
- package/bin/themes/default/layouts/partials/page-contributor.html +48 -0
- package/bin/themes/default/layouts/partials/page-header.html +22 -0
- package/bin/themes/default/layouts/partials/page-title.html +9 -0
- package/bin/themes/default/layouts/partials/page-tombstone.html +36 -0
- package/bin/themes/default/layouts/partials/pdf-info.html +20 -0
- package/bin/themes/default/layouts/partials/pdf-title-pages.html +39 -0
- package/bin/themes/default/layouts/partials/scripts.html +5 -0
- package/bin/themes/default/layouts/partials/search.html +52 -0
- package/bin/themes/default/layouts/partials/site-title.html +9 -0
- package/bin/themes/default/layouts/partials/tests/check-node-modules.html +9 -0
- package/bin/themes/default/layouts/partials/tests/check-page-one-class.html +21 -0
- package/bin/themes/default/layouts/partials/tests/check-page-weights.html +49 -0
- package/bin/themes/default/layouts/partials/tests/run.html +13 -0
- package/bin/themes/default/layouts/partials/twitter-card.html +23 -0
- package/bin/themes/default/layouts/shortcodes/q-bibliography.html +61 -0
- package/bin/themes/default/layouts/shortcodes/q-cite.html +79 -0
- package/bin/themes/default/layouts/shortcodes/q-class.html +3 -0
- package/bin/themes/default/layouts/shortcodes/q-contributor.html +327 -0
- package/bin/themes/default/layouts/shortcodes/q-contributors.html +11 -0
- package/bin/themes/default/layouts/shortcodes/q-figure-group.html +457 -0
- package/bin/themes/default/layouts/shortcodes/q-figure-new.html +70 -0
- package/bin/themes/default/layouts/shortcodes/q-figure-zoom.html +408 -0
- package/bin/themes/default/layouts/shortcodes/q-figure.html +86 -0
- package/bin/themes/default/layouts/sitemap.xml +24 -0
- package/bin/themes/default/layouts/splash/single.html +67 -0
- package/bin/themes/default/package-lock.json +13198 -0
- package/bin/themes/default/package.json +96 -0
- package/bin/themes/default/source/css/application.scss +30 -0
- package/bin/themes/default/source/css/bulma-components.scss +21 -0
- package/bin/themes/default/source/css/colors.scss +16 -0
- package/bin/themes/default/source/css/components/_all.scss +15 -0
- package/bin/themes/default/source/css/components/container.sass +35 -0
- package/bin/themes/default/source/css/components/quire-buttons.scss +95 -0
- package/bin/themes/default/source/css/components/quire-citation.scss +77 -0
- package/bin/themes/default/source/css/components/quire-contents-list.scss +329 -0
- package/bin/themes/default/source/css/components/quire-contributors.scss +131 -0
- package/bin/themes/default/source/css/components/quire-copyright.scss +28 -0
- package/bin/themes/default/source/css/components/quire-cover.scss +216 -0
- package/bin/themes/default/source/css/components/quire-deepzoom.scss +181 -0
- package/bin/themes/default/source/css/components/quire-entry.scss +651 -0
- package/bin/themes/default/source/css/components/quire-figure.scss +589 -0
- package/bin/themes/default/source/css/components/quire-map.scss +17 -0
- package/bin/themes/default/source/css/components/quire-menu.scss +209 -0
- package/bin/themes/default/source/css/components/quire-navbar.scss +366 -0
- package/bin/themes/default/source/css/components/quire-page.scss +920 -0
- package/bin/themes/default/source/css/components/quire-popup.scss +233 -0
- package/bin/themes/default/source/css/components/quire-search.scss +121 -0
- package/bin/themes/default/source/css/epub.scss +549 -0
- package/bin/themes/default/source/css/fonts.scss +159 -0
- package/bin/themes/default/source/css/layout.scss +186 -0
- package/bin/themes/default/source/css/print.scss +613 -0
- package/bin/themes/default/source/css/utilities.scss +345 -0
- package/bin/themes/default/source/css/variables.scss +144 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.eot +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff +0 -0
- package/bin/themes/default/source/fonts/ibm-plex-sans-condensed/ibmplexsanscondensed-regular.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.eot +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff +0 -0
- package/bin/themes/default/source/fonts/noto-sans/notosans-regular.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bold.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-bolditalic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-italic.woff2 +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.eot +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff +0 -0
- package/bin/themes/default/source/fonts/noto-serif/notoserif-regular.woff2 +0 -0
- package/bin/themes/default/source/img/cover.png +0 -0
- package/bin/themes/default/source/img/fullscreen.png +0 -0
- package/bin/themes/default/source/img/icons/arrow_forward.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-headset-24px.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-videocam-24px.png +0 -0
- package/bin/themes/default/source/img/icons/baseline-website-24px.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc-nd.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc-sa.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nc.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-nd.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by-sa.png +0 -0
- package/bin/themes/default/source/img/icons/cc-by.png +0 -0
- package/bin/themes/default/source/img/icons/cc-zero.png +0 -0
- package/bin/themes/default/source/img/icons/close.png +0 -0
- package/bin/themes/default/source/img/icons/down-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/download.png +0 -0
- package/bin/themes/default/source/img/icons/favicon.ico +0 -0
- package/bin/themes/default/source/img/icons/home.png +0 -0
- package/bin/themes/default/source/img/icons/left-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/link.png +0 -0
- package/bin/themes/default/source/img/icons/nav.png +0 -0
- package/bin/themes/default/source/img/icons/right-arrow.png +0 -0
- package/bin/themes/default/source/img/icons/search.png +0 -0
- package/bin/themes/default/source/img/icons/start.png +0 -0
- package/bin/themes/default/source/img/layers-2x.png +0 -0
- package/bin/themes/default/source/img/layers.png +0 -0
- package/bin/themes/default/source/img/marker-icon.png +0 -0
- package/bin/themes/default/source/img/pattern-spiral-overlay.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-catalogue.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-entry.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/classic-essay.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-contents.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-cover.png +0 -0
- package/bin/themes/default/source/img/promo-screenshots/modern-essay.png +0 -0
- package/bin/themes/default/source/js/application.js +604 -0
- package/bin/themes/default/source/js/deepzoom.js +186 -0
- package/bin/themes/default/source/js/epub.js +9 -0
- package/bin/themes/default/source/js/fullscreen.js +190 -0
- package/bin/themes/default/source/js/helper.js +197 -0
- package/bin/themes/default/source/js/map.js +94 -0
- package/bin/themes/default/source/js/navigation.js +59 -0
- package/bin/themes/default/source/js/popup.js +311 -0
- package/bin/themes/default/source/js/search.js +35 -0
- package/bin/themes/default/source/js/soundcloud-api.js +1 -0
- package/bin/themes/default/static/css/epub.css +401 -0
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.eot +0 -0
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff +0 -0
- package/bin/themes/default/static/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.eot +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff +0 -0
- package/bin/themes/default/static/fonts/ibmplexsanscondensed-regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.eot +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.woff +0 -0
- package/bin/themes/default/static/fonts/notosans-regular.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-bold.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-bolditalic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-italic.woff2 +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.eot +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.woff +0 -0
- package/bin/themes/default/static/fonts/notoserif-regular.woff2 +0 -0
- package/bin/themes/default/static/img/baseline-website-24px.png +0 -0
- package/bin/themes/default/static/img/cover.png +0 -0
- package/bin/themes/default/static/img/fullscreen.png +0 -0
- package/bin/themes/default/static/img/fullscreen@2x.png +0 -0
- package/bin/themes/default/static/img/icons/arrow_forward.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-headset-24px.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-videocam-24px.png +0 -0
- package/bin/themes/default/static/img/icons/baseline-website-24px.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc-nd.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc-sa.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nc.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-nd.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by-sa.png +0 -0
- package/bin/themes/default/static/img/icons/cc-by.png +0 -0
- package/bin/themes/default/static/img/icons/cc-zero.png +0 -0
- package/bin/themes/default/static/img/icons/close.png +0 -0
- package/bin/themes/default/static/img/icons/down-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/download.png +0 -0
- package/bin/themes/default/static/img/icons/favicon.ico +0 -0
- package/bin/themes/default/static/img/icons/home.png +0 -0
- package/bin/themes/default/static/img/icons/left-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/link.png +0 -0
- package/bin/themes/default/static/img/icons/nav.png +0 -0
- package/bin/themes/default/static/img/icons/right-arrow.png +0 -0
- package/bin/themes/default/static/img/icons/search.png +0 -0
- package/bin/themes/default/static/img/icons/soundcloud.png +0 -0
- package/bin/themes/default/static/img/icons/start.png +0 -0
- package/bin/themes/default/static/img/icons/vimeo.png +0 -0
- package/bin/themes/default/static/img/icons/website.png +0 -0
- package/bin/themes/default/static/img/icons/youtube.png +0 -0
- package/bin/themes/default/static/img/layers-2x.png +0 -0
- package/bin/themes/default/static/img/layers.png +0 -0
- package/bin/themes/default/static/img/marker-icon.png +0 -0
- package/bin/themes/default/static/img/pattern-spiral-overlay.png +0 -0
- package/bin/themes/default/tests/.gitkeep +0 -0
- package/bin/themes/default/tests/e2e/.eslintrc.js +9 -0
- package/bin/themes/default/tests/e2e/fixtures/blns.json +483 -0
- package/bin/themes/default/tests/e2e/plugins/index.js +22 -0
- package/bin/themes/default/tests/e2e/specs/quire-contents.spec.js +52 -0
- package/bin/themes/default/tests/e2e/specs/quire-contributors.spec.js +66 -0
- package/bin/themes/default/tests/e2e/specs/quire-entry.spec.js +104 -0
- package/bin/themes/default/tests/e2e/specs/quire-essay.spec.js +105 -0
- package/bin/themes/default/tests/e2e/specs/quire-menu.spec.js +38 -0
- package/bin/themes/default/tests/e2e/specs/quire-modal.spec.js +69 -0
- package/bin/themes/default/tests/e2e/specs/quire-next-back-buttons.spec.js +27 -0
- package/bin/themes/default/tests/e2e/specs/quire-page.spec.js +28 -0
- package/bin/themes/default/tests/e2e/specs/quire-search.spec.js +48 -0
- package/bin/themes/default/tests/e2e/specs/quire-splash.spec.js +38 -0
- package/bin/themes/default/tests/e2e/support/commands.js +25 -0
- package/bin/themes/default/tests/e2e/support/index.js +20 -0
- package/bin/themes/default/theme.toml +22 -0
- package/bin/themes/default/tsconfig.json +5 -0
- package/bin/themes/default/webpack/webpack.config.dev.js +128 -0
- package/bin/themes/default/webpack/webpack.config.epub.js +140 -0
- package/bin/themes/default/webpack/webpack.config.pdf.js +135 -0
- package/bin/themes/default/webpack/webpack.config.prod.js +133 -0
- package/package.json +1 -1
- package/index.js +0 -20
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
// =============================================================================
|
|
2
|
+
// Quire-menu.scss
|
|
3
|
+
// -----------------------------------------------------------------------------
|
|
4
|
+
//
|
|
5
|
+
// Site-wide sidebar menu component. Most of the styles for this come from the
|
|
6
|
+
// Bulma .menu class and subclasses or else are applied in the layout.scss file
|
|
7
|
+
// for this component's immediate container, .quire__secondary. However, some
|
|
8
|
+
// elements of the menu require other specific style rules and those should live
|
|
9
|
+
// here.
|
|
10
|
+
|
|
11
|
+
// scss-lint:disable EmptyRule
|
|
12
|
+
// scss-lint:disable SingleLinePerSelector
|
|
13
|
+
|
|
14
|
+
// Override for Bulma menu element inside of .content
|
|
15
|
+
// -----------------------------------------------------------------------------
|
|
16
|
+
.content .menu-list {
|
|
17
|
+
list-style-type: none;
|
|
18
|
+
margin-left: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// .quire-menu
|
|
22
|
+
// -----------------------------------------------------------------------------
|
|
23
|
+
.quire-menu {
|
|
24
|
+
font-family: $quire-primary-font;
|
|
25
|
+
line-height: 1.25;
|
|
26
|
+
|
|
27
|
+
.arrow {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__header {
|
|
32
|
+
margin: .25em 0 1em;
|
|
33
|
+
|
|
34
|
+
a {
|
|
35
|
+
padding-left: 0.75em;
|
|
36
|
+
&:hover {
|
|
37
|
+
text-decoration: none !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__title,
|
|
42
|
+
&__title-link {
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__title {
|
|
47
|
+
font-size: 1.375em;
|
|
48
|
+
font-weight: 700;
|
|
49
|
+
line-height: 1.2em;
|
|
50
|
+
color: $white;
|
|
51
|
+
font-family: $quire-headings-font;
|
|
52
|
+
@if $theme == classic {
|
|
53
|
+
letter-spacing: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&__contributors {
|
|
57
|
+
margin: .25em 0 1.5em;
|
|
58
|
+
font-style: italic;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
h1, h2, h3, h4, h5, h6 { color: $quire-menu-text-color; }
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Temporary until the headings/semantics of the menu can be reworked. Style matches backmatter h2
|
|
66
|
+
h6 {
|
|
67
|
+
font-family: $quire-headings-font;
|
|
68
|
+
@if $theme == classic {
|
|
69
|
+
letter-spacing: .5px;
|
|
70
|
+
} @else {
|
|
71
|
+
letter-spacing: .25px;
|
|
72
|
+
}
|
|
73
|
+
color: background-color-text-classic($content-background-color);
|
|
74
|
+
font-size: .875rem;
|
|
75
|
+
line-height: 1.28;
|
|
76
|
+
font-weight: 700;
|
|
77
|
+
text-transform: uppercase;
|
|
78
|
+
margin-top: 20px;
|
|
79
|
+
padding-bottom: 6px;
|
|
80
|
+
border-bottom: 1px solid background-color-text-classic($content-background-color);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__formats {
|
|
84
|
+
margin-top: 2rem;
|
|
85
|
+
h6 {
|
|
86
|
+
@if (lightness($quire-menu-text-color) > 50) {
|
|
87
|
+
color: darken($quire-menu-text-color, 40%);
|
|
88
|
+
border-color: darken($quire-menu-text-color, 40%);
|
|
89
|
+
|
|
90
|
+
color: lighten($quire-menu-color, 40%);
|
|
91
|
+
border-color: lighten($quire-menu-color, 40%);
|
|
92
|
+
|
|
93
|
+
} @else {
|
|
94
|
+
color: $off-black;
|
|
95
|
+
border-color: $off-black;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
.menu-list {
|
|
99
|
+
margin-top: .75em;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&__header,
|
|
104
|
+
&__list,
|
|
105
|
+
&__formats {
|
|
106
|
+
a {
|
|
107
|
+
margin: 0 -.75rem;
|
|
108
|
+
border-radius: 0;
|
|
109
|
+
&:hover {
|
|
110
|
+
background-color: $quire-menu-color;
|
|
111
|
+
text-decoration: underline;
|
|
112
|
+
border-left-width: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&__footer {
|
|
118
|
+
margin: 2rem 0;
|
|
119
|
+
font-size: .75rem;
|
|
120
|
+
p {
|
|
121
|
+
margin-bottom: 1em;
|
|
122
|
+
}
|
|
123
|
+
.menu-list {
|
|
124
|
+
display: flex;
|
|
125
|
+
margin-top: .5em;
|
|
126
|
+
li + li {
|
|
127
|
+
margin-top: 0;
|
|
128
|
+
}
|
|
129
|
+
a {
|
|
130
|
+
padding: .5em;
|
|
131
|
+
&:hover {
|
|
132
|
+
background-color: inherit;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.quire-copyright {
|
|
137
|
+
padding: 0 .5em;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.page-item, .section-item {
|
|
142
|
+
a {
|
|
143
|
+
font-family: $quire-primary-font;
|
|
144
|
+
&.active {
|
|
145
|
+
margin-left: -1.25em;
|
|
146
|
+
border-left: 4px solid $accent-color;
|
|
147
|
+
color: $accent-color !important;
|
|
148
|
+
text-decoration: none;
|
|
149
|
+
padding-left: calc(.75em + 4px);
|
|
150
|
+
&:hover {
|
|
151
|
+
border-left-width: 4px;
|
|
152
|
+
}
|
|
153
|
+
* {
|
|
154
|
+
color: $accent-color !important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
.page-item {
|
|
159
|
+
a.active {
|
|
160
|
+
margin-left: calc(-2.75em + -4px);
|
|
161
|
+
padding-left: 2.65em;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
&.no-landing {
|
|
165
|
+
.list-header {
|
|
166
|
+
display: block;
|
|
167
|
+
padding: .5em .75em .5em 0;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.section-item ul {
|
|
173
|
+
font-size: .875em;
|
|
174
|
+
line-height: 1.5;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.main {
|
|
178
|
+
padding-top: 1em;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.menu-list {
|
|
182
|
+
line-height: 1.5em;
|
|
183
|
+
li > ul {
|
|
184
|
+
margin-top: .25em;
|
|
185
|
+
margin-bottom: .25em;
|
|
186
|
+
}
|
|
187
|
+
li ul {
|
|
188
|
+
border-left-width: 0;
|
|
189
|
+
}
|
|
190
|
+
.section-list {
|
|
191
|
+
.section-list {
|
|
192
|
+
.page-item:not(:first-child) {
|
|
193
|
+
a {
|
|
194
|
+
padding-left: 2em;
|
|
195
|
+
line-height: .5em;
|
|
196
|
+
margin-top: .5em;
|
|
197
|
+
margin-bottom: .75em;
|
|
198
|
+
font-size: .875em;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
a.quire-copyright__icon__link:hover {
|
|
206
|
+
background-color: transparent;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
// =============================================================================
|
|
2
|
+
// Quire-navbar.scss
|
|
3
|
+
// -----------------------------------------------------------------------------
|
|
4
|
+
//
|
|
5
|
+
// Top-level container / banner for the site navigation. Full-width, optional
|
|
6
|
+
// background color. Fixed positioning causes some issues so not using this for
|
|
7
|
+
// now. Has the following components:
|
|
8
|
+
//
|
|
9
|
+
// - .quire-navbar-skip-link: Accessibility element, allows users of assistive
|
|
10
|
+
// technologies to quickly skip to #main content.
|
|
11
|
+
// - .quire-navbar-controls: the various UI elements including search and menu
|
|
12
|
+
// - .quire-navbar-page-controls: central part of the controls which includes
|
|
13
|
+
// page title, site title, and next/prev controls.
|
|
14
|
+
// - .quire-navbar-button: overrides of native button styles, but the <button>
|
|
15
|
+
// element is used for accessibility reasons.
|
|
16
|
+
//
|
|
17
|
+
// Where possible this component will borrow from Bulma's .navbar component, but
|
|
18
|
+
// the needs are different and this will not support all of Bulma's
|
|
19
|
+
// functionality out of the box.
|
|
20
|
+
//
|
|
21
|
+
|
|
22
|
+
// scss-lint:disable NameFormat
|
|
23
|
+
|
|
24
|
+
// .quire-navbar
|
|
25
|
+
// -----------------------------------------------------------------------------
|
|
26
|
+
.quire-navbar {
|
|
27
|
+
font-family: $quire-navigation-font;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
font-size: .875em;
|
|
30
|
+
position: sticky;
|
|
31
|
+
z-index: 1;
|
|
32
|
+
|
|
33
|
+
svg {
|
|
34
|
+
height: calc(#{$navbar-height} * .65);
|
|
35
|
+
width: calc(#{$navbar-height} * .65);
|
|
36
|
+
max-height: 1rem;
|
|
37
|
+
max-width: 1rem;
|
|
38
|
+
vertical-align: sub;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@if $navbar-height <= 2rem {
|
|
42
|
+
font-size: .85rem;
|
|
43
|
+
}
|
|
44
|
+
@if $navbar-height <= 1rem {
|
|
45
|
+
font-size: .65rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include foreground-color($quire-navbar-color,$quire-navbar-text-color);
|
|
49
|
+
background-color: $quire-navbar-color;
|
|
50
|
+
min-height: $navbar-height;
|
|
51
|
+
top: 0 !important;
|
|
52
|
+
width: 100%;
|
|
53
|
+
|
|
54
|
+
a {
|
|
55
|
+
display: block;
|
|
56
|
+
padding: 0 0.5em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media print {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// .quire-progress-bar
|
|
65
|
+
// -----------------------------------------------------------------------------
|
|
66
|
+
.quire-progress-bar {
|
|
67
|
+
height: $quire-progress-bar-height;
|
|
68
|
+
-webkit-transition: all .25s ease;
|
|
69
|
+
transition: all .25s ease;
|
|
70
|
+
font-family: $quire-navigation-font;
|
|
71
|
+
font-size: 0.75rem;
|
|
72
|
+
background-color: background-color($secondary-background-color);
|
|
73
|
+
border-bottom: none;
|
|
74
|
+
span {
|
|
75
|
+
color: $white;
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
div {
|
|
79
|
+
height: $quire-progress-bar-height;
|
|
80
|
+
width: 100%;
|
|
81
|
+
background-color: $accent-color;
|
|
82
|
+
text-align: right;
|
|
83
|
+
padding-right: .5em;
|
|
84
|
+
position: relative;
|
|
85
|
+
animation: .5s ease-out 0s 1 slideFromLeft;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// .quire-navbar-controls
|
|
90
|
+
// -----------------------------------------------------------------------------
|
|
91
|
+
.quire-navbar-controls {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-wrap: no-wrap;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
line-height: $navbar-height;
|
|
96
|
+
height: $navbar-height;
|
|
97
|
+
|
|
98
|
+
&__left {
|
|
99
|
+
align-self: flex-start;
|
|
100
|
+
flex: 0 1 $navbar-height;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&__center { flex: 1 1 auto; }
|
|
104
|
+
|
|
105
|
+
&__right {
|
|
106
|
+
flex: 0 1 $navbar-height;
|
|
107
|
+
text-align: right;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__left, &__right, .quire-navbar-page-controls__item {
|
|
111
|
+
button {
|
|
112
|
+
background-color: transparent;
|
|
113
|
+
}
|
|
114
|
+
a {
|
|
115
|
+
button {
|
|
116
|
+
&:hover {
|
|
117
|
+
background-color: transparent;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
a, button, .button {
|
|
122
|
+
transition: all .25s ease;
|
|
123
|
+
&:hover {
|
|
124
|
+
color: findColorInvert($accent-color) !important;
|
|
125
|
+
background-color: $accent-color;
|
|
126
|
+
svg {
|
|
127
|
+
fill: findColorInvert($accent-color);
|
|
128
|
+
}
|
|
129
|
+
* {
|
|
130
|
+
color: findColorInvert($accent-color) !important;
|
|
131
|
+
}
|
|
132
|
+
@if $navbar == accent {
|
|
133
|
+
color: $accent-color !important;
|
|
134
|
+
background-color: findColorInvert($accent-color);
|
|
135
|
+
svg {
|
|
136
|
+
fill: $accent-color !important;
|
|
137
|
+
}
|
|
138
|
+
* {
|
|
139
|
+
color: $accent-color !important;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
svg {
|
|
145
|
+
& img {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.quire-navbar-page-controls {
|
|
155
|
+
display: flex;
|
|
156
|
+
flex-wrap: no-wrap;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
|
|
159
|
+
&__item {
|
|
160
|
+
padding: 0 1rem;
|
|
161
|
+
max-height: $navbar-height;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
display: none;
|
|
164
|
+
|
|
165
|
+
a, svg {
|
|
166
|
+
transition: all .25s ease;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
span.nav-label {
|
|
170
|
+
display: inline-block;
|
|
171
|
+
color: inherit;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.menu-button {
|
|
175
|
+
width: 18px;
|
|
176
|
+
display: inline-block;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&.quire-current-page {
|
|
180
|
+
font-style: italic;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.quire-previous-page {
|
|
184
|
+
a {
|
|
185
|
+
padding: 0 1.5em 0 0.5em;
|
|
186
|
+
}
|
|
187
|
+
svg {
|
|
188
|
+
margin-right: 1em;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.quire-next-page {
|
|
193
|
+
font-style: normal;
|
|
194
|
+
a {
|
|
195
|
+
padding: 0 0.5em 0 1.5em;
|
|
196
|
+
}
|
|
197
|
+
svg {
|
|
198
|
+
margin-left: 0.25em;
|
|
199
|
+
margin-right: 0.5em;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
@media screen and (max-width: $quire-menu-width) {
|
|
203
|
+
a {
|
|
204
|
+
padding: 0;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@media screen and (max-width: $desktop) {
|
|
209
|
+
&.quire-home-page {
|
|
210
|
+
display: block;
|
|
211
|
+
padding-left: 0;
|
|
212
|
+
padding-right: 0;
|
|
213
|
+
}
|
|
214
|
+
&.quire-next-page,
|
|
215
|
+
&.quire-previous-page {
|
|
216
|
+
display: block;
|
|
217
|
+
}
|
|
218
|
+
span.nav-label {
|
|
219
|
+
display: none;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@media screen and (min-width: 500px) {
|
|
224
|
+
&.quire-home-page {
|
|
225
|
+
display: block;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@media screen and (min-width: $desktop) {
|
|
230
|
+
&.quire-current-page {
|
|
231
|
+
display: block;
|
|
232
|
+
}
|
|
233
|
+
&.quire-next-page,
|
|
234
|
+
&.quire-previous-page {
|
|
235
|
+
display: block;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
@media screen and (min-width: 900px) {
|
|
240
|
+
&.quire-section-page {
|
|
241
|
+
display: block;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@media screen and (min-width: $desktop) {
|
|
247
|
+
.quire-navbar-button {
|
|
248
|
+
display: none;
|
|
249
|
+
&.home-button, &.play-button {
|
|
250
|
+
display: inline-block;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// .quire-navbar-button
|
|
257
|
+
// -----------------------------------------------------------------------------
|
|
258
|
+
.quire-navbar-button {
|
|
259
|
+
// scss-lint:disable PropertySortOrder
|
|
260
|
+
// scss-lint:disable SpaceAfterPropertyColon
|
|
261
|
+
-webkit-appearance: none;
|
|
262
|
+
-moz-appearance: none;
|
|
263
|
+
appearance: none;
|
|
264
|
+
// scss-lint:enable PropertySortOrder
|
|
265
|
+
// scss-lint:enable SpaceAfterPropertyColon
|
|
266
|
+
|
|
267
|
+
background-color: transparent;
|
|
268
|
+
border: 0;
|
|
269
|
+
height: $navbar-height;
|
|
270
|
+
width: $navbar-height;
|
|
271
|
+
padding: 0;
|
|
272
|
+
|
|
273
|
+
svg {
|
|
274
|
+
position: relative;
|
|
275
|
+
top: 2px;
|
|
276
|
+
& img {
|
|
277
|
+
position: absolute;
|
|
278
|
+
top: 0;
|
|
279
|
+
left: 0;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.search-button,
|
|
284
|
+
&.menu-button {
|
|
285
|
+
svg {
|
|
286
|
+
height: calc(#{$navbar-height} * .75);
|
|
287
|
+
width: calc(#{$navbar-height} * .75);
|
|
288
|
+
max-height: 1.25rem;
|
|
289
|
+
max-width: 1.25rem;
|
|
290
|
+
& img {
|
|
291
|
+
max-height: 1.25rem;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
&.arrow-button {
|
|
297
|
+
text-align: center;
|
|
298
|
+
svg {
|
|
299
|
+
height: calc(#{$navbar-height} * .65);
|
|
300
|
+
width: calc(#{$navbar-height} * .65);
|
|
301
|
+
max-height: 1rem;
|
|
302
|
+
max-width: 1rem;
|
|
303
|
+
& img {
|
|
304
|
+
max-height: 1rem;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
@media screen and (max-width: $tablet) {
|
|
308
|
+
svg {
|
|
309
|
+
top: 0;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
a {
|
|
313
|
+
-webkit-transition: all .25s ease;
|
|
314
|
+
transition: all .25s ease;
|
|
315
|
+
&:hover {
|
|
316
|
+
color: findColorInvert($accent-color) !important;
|
|
317
|
+
background-color: $accent-color;
|
|
318
|
+
svg {
|
|
319
|
+
fill: findColorInvert($accent-color);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
&.play-button,
|
|
325
|
+
&.home-button {
|
|
326
|
+
text-align: center;
|
|
327
|
+
svg {
|
|
328
|
+
height: calc(#{$navbar-height} * .65);
|
|
329
|
+
width: calc(#{$navbar-height} * .65);
|
|
330
|
+
max-height: 2.5rem;
|
|
331
|
+
max-width: 2.5rem;
|
|
332
|
+
top: 0;
|
|
333
|
+
vertical-align: middle;
|
|
334
|
+
margin-left: 0.5rem;
|
|
335
|
+
margin-top: 0.25rem;
|
|
336
|
+
& img {
|
|
337
|
+
max-height: 2.5rem;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// .quire-navbar-skip-link
|
|
344
|
+
// -----------------------------------------------------------------------------
|
|
345
|
+
.quire-navbar-skip-link {
|
|
346
|
+
&:not(:focus) {
|
|
347
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
348
|
+
height: 1px;
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
position: absolute;
|
|
351
|
+
width: 1px;
|
|
352
|
+
transition: 0;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
&:focus {
|
|
356
|
+
background-color: darken($quire-navbar-color, 5%);
|
|
357
|
+
clip: unset;
|
|
358
|
+
height: $navbar-height;
|
|
359
|
+
line-height: $navbar-height;
|
|
360
|
+
position: absolute;
|
|
361
|
+
padding-left: 2rem;
|
|
362
|
+
padding-right: 2rem;
|
|
363
|
+
z-index: 1200;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|