123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- @import 'source/lib/_lib.less'; // Global lib
- @import 'source/_theme.less'; // Theme overrides
- @import 'source/_variables.less'; // Local theme variables
- @baseDir: '../'; // Default
- // Magento/blank
- .page-print {
- .logo {
- display: block;
- float: none;
- text-align: left;
- }
- }
- @media print {
- * {
- -webkit-filter: none !important; // Use in 41 Chrome
- background: transparent !important;
- color: @color-black !important;
- filter: none !important;
- text-shadow: none !important;
- }
- // Black prints faster:h5bp.com/s
- a,
- a:visited {
- text-decoration: underline !important;
- }
- // Don't show links for images, or javascript/internal links
- pre,
- blockquote {
- border: 1px solid @color-gray60;
- page-break-inside: avoid;
- }
- thead {
- display: table-header-group;
- }
- .table-wrapper table {
- width: 100%;
- td {
- width: auto;
- }
- table-layout: fixed;
- & > tfoot > tr:first-child {
- border-top: 1px solid @color-gray60;
- }
- }
- .box,
- tr,
- img {
- page-break-inside: avoid;
- }
- img {
- max-width: 100% !important;
- }
- @page {
- margin: 1cm;
- }
- .block-content,
- p,
- h2,
- h3 {
- orphans: 3;
- widows: 3;
- }
- .block-content {
- page-break-before: avoid;
- }
- .block-title,
- h2,
- h3 {
- page-break-after: avoid;
- }
- .nav-toggle {
- display: none !important;
- }
- .sidebar,
- .nav-sections,
- .header.content > *[class],
- .panel.wrapper > *[class],
- .footer.content > *[class] {
- display: none;
- }
- .logo,
- .footer .copyright {
- display: block !important;
- margin: 10px 0;
- }
- .order-details-items {
- .order-items {
- .order-gift-message {
- &:not(.expanded-content) {
- height: auto;
- visibility: visible;
- }
- }
- }
- }
- .column.main {
- float: none !important;
- width: 100% !important;
- }
- .breadcrumbs {
- margin: 0 auto;
- text-align: right;
- }
- .footer.content {
- padding: 0;
- }
- .hidden-print {
- display: none !important;
- }
- }
|