Blame content/assets/css/bootstrap/_print.scss
|
|
e8ec7a |
//
|
|
|
e8ec7a |
// Basic print styles
|
|
|
e8ec7a |
// --------------------------------------------------
|
|
|
e8ec7a |
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
|
|
e8ec7a |
|
|
|
e8ec7a |
@media print {
|
|
|
e8ec7a |
|
|
|
e8ec7a |
* {
|
|
|
e8ec7a |
text-shadow: none !important;
|
|
|
e8ec7a |
color: #000 !important; // Black prints faster: h5bp.com/s
|
|
|
e8ec7a |
background: transparent !important;
|
|
|
e8ec7a |
box-shadow: none !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
a,
|
|
|
e8ec7a |
a:visited {
|
|
|
e8ec7a |
text-decoration: underline;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
a[href]:after {
|
|
|
e8ec7a |
content: " (" attr(href) ")";
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
abbr[title]:after {
|
|
|
e8ec7a |
content: " (" attr(title) ")";
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
// Don't show links for images, or javascript/internal links
|
|
|
e8ec7a |
.ir a:after,
|
|
|
e8ec7a |
a[href^="javascript:"]:after,
|
|
|
e8ec7a |
a[href^="#"]:after {
|
|
|
e8ec7a |
content: "";
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
pre,
|
|
|
e8ec7a |
blockquote {
|
|
|
e8ec7a |
border: 1px solid #999;
|
|
|
e8ec7a |
page-break-inside: avoid;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
thead {
|
|
|
e8ec7a |
display: table-header-group; // h5bp.com/t
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
tr,
|
|
|
e8ec7a |
img {
|
|
|
e8ec7a |
page-break-inside: avoid;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
img {
|
|
|
e8ec7a |
max-width: 100% !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
@page {
|
|
|
e8ec7a |
margin: 2cm .5cm;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
p,
|
|
|
e8ec7a |
h2,
|
|
|
e8ec7a |
h3 {
|
|
|
e8ec7a |
orphans: 3;
|
|
|
e8ec7a |
widows: 3;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
h2,
|
|
|
e8ec7a |
h3 {
|
|
|
e8ec7a |
page-break-after: avoid;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
// Bootstrap components
|
|
|
e8ec7a |
.navbar {
|
|
|
e8ec7a |
display: none;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
.table {
|
|
|
e8ec7a |
td,
|
|
|
e8ec7a |
th {
|
|
|
e8ec7a |
background-color: #fff !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
.btn,
|
|
|
e8ec7a |
.dropup > .btn {
|
|
|
e8ec7a |
> .caret {
|
|
|
e8ec7a |
border-top-color: #000 !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
.label {
|
|
|
e8ec7a |
border: 1px solid #000;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
.table {
|
|
|
e8ec7a |
border-collapse: collapse !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
.table-bordered {
|
|
|
e8ec7a |
th,
|
|
|
e8ec7a |
td {
|
|
|
e8ec7a |
border: 1px solid #ddd !important;
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
}
|
|
|
e8ec7a |
|
|
|
e8ec7a |
}
|