/** * @file resources/less/pages/pdfGalley.less * * Copyright (c) 2014-2020 Simon Fraser University * Copyright (c) 2003-2020 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief Stylesheet for PDF galley page * */ .pdf-galley__header { display: flex; justify-content: space-around; position: relative; z-index: 3; padding-top: 10px; .article-page__alert { border-color: @primary-color; padding: .375rem .75rem; font-size: smaller; a { text-decoration: underline; } } } .pdf-return-article { max-width: 70%; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 8px; & a { font-family: @font-family-primary; color: @primary-color; font-size: 18px; &:hover { text-decoration: none; border-bottom: 1px dotted @primary-color; } } } .pdf-download-button { max-width: 30%; } .galley_view { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow-y: hidden; iframe { width: 100%; height: 100%; padding-top: 64px; border: none; } } #pdfCanvasContainer { top: 30px; }