123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- @if $enable-print-styles {
- @media print {
- *,
- *::before,
- *::after {
-
-
- text-shadow: none !important;
-
- box-shadow: none !important;
- }
- a {
- &:not(.btn) {
- text-decoration: underline;
- }
- }
-
-
-
-
- abbr[title]::after {
- content: " (" attr(title) ")";
- }
-
-
-
-
-
-
-
-
-
- pre {
- white-space: pre-wrap !important;
- }
- pre,
- blockquote {
- border: $border-width solid $gray-500;
- page-break-inside: avoid;
- }
-
-
-
-
- thead {
- display: table-header-group;
- }
- tr,
- img {
- page-break-inside: avoid;
- }
- p,
- h2,
- h3 {
- orphans: 3;
- widows: 3;
- }
- h2,
- h3 {
- page-break-after: avoid;
- }
-
-
-
-
- @page {
- size: $print-page-size;
- }
- body {
- min-width: $print-body-min-width !important;
- }
- .container {
- min-width: $print-body-min-width !important;
- }
-
- .navbar {
- display: none;
- }
- .badge {
- border: $border-width solid $black;
- }
- .table {
- border-collapse: collapse !important;
- td,
- th {
- background-color: $white !important;
- }
- }
- .table-bordered {
- th,
- td {
- border: 1px solid $gray-300 !important;
- }
- }
- .table-dark {
- color: inherit;
- th,
- td,
- thead th,
- tbody + tbody {
- border-color: $table-border-color;
- }
- }
- .table .thead-dark th {
- color: inherit;
- border-color: $table-border-color;
- }
-
- }
- }
|