/**
 * @file 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 article's PDF galley page
 *
 */

.pdf-header {
	display: flex;
	justify-content: space-around;
	position: relative;
	z-index: 3;
	padding-top: 10px;
}

.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: #000;
		font-size: 18px;

		&:hover {
			text-decoration: none;
			border-bottom: 1px dotted #000;
		}
	}

	.back-button_outdated {
		border-bottom: 0;

		&:hover {
			border-bottom: 0;
		}
	}
}

.pdf-download-button {
	max-width: 30%;
}

.pdf-frame {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: hidden;

	iframe {
		width: 100%;
		height: 100%;
		padding-top: 64px;
		border: none;
	}
}


