Sha256: 55b51e49df57c5bfb7195dda86dfff30e559ebb0a821337aae4824af44c2a26a

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

@media print {
	*,
	*:after,
	*:before {
		background: transparent !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	blockquote,
	pre {
		border: 1px solid $black-divider-solid;
		page-break-inside: avoid;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	h2,
	h3,
	p {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}

	thead {
		display: table-header-group;
	}

	// material
		.card,
		.card-img,
		.card-side {
			border-radius: 0 !important;
		}

		.card,
		.tile {
			border: 1px solid $black-divider-solid;
		}

		.fbtn-container,
		.menu,
		.menu-toggle {
			display: none !important;
		}

		.footer {
			page-break-after: always;
		}

		.header a {
			color: $link-color;
		}

		.tab-nav .nav > li.active > a {
			border-bottom: 3px solid $black-divider-solid;
			padding-bottom: ($line-height / 2 - 3);
		}
}

.visible-print-block {
	display: none !important;
	// print
		@media print {
			display: block !important;
		}
}

.visible-print-inline {
	display: none !important;
	// print
		@media print {
			display: inline !important;
		}
}

.visible-print-inline-block {
	display: none !important;
	// print
		@media print {
			display: inline-block !important;
		}
}

@media print {
	.hidden-print {
		display: none !important;
	}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
material-sass-1.1.0 app/assets/stylesheets/material/utilities/_print.scss
material-sass-1.0.0 app/assets/stylesheets/material/utilities/_print.scss