github.com/kayoticsully/syncthing@v0.8.9-0.20140724133906-c45a2fdc03f8/assets/bootstrap-3.1.1/less/print.less (about) 1 // 2 // Basic print styles 3 // -------------------------------------------------- 4 // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css 5 6 @media print { 7 8 * { 9 text-shadow: none !important; 10 color: #000 !important; // Black prints faster: h5bp.com/s 11 background: transparent !important; 12 box-shadow: none !important; 13 } 14 15 a, 16 a:visited { 17 text-decoration: underline; 18 } 19 20 a[href]:after { 21 content: " (" attr(href) ")"; 22 } 23 24 abbr[title]:after { 25 content: " (" attr(title) ")"; 26 } 27 28 // Don't show links for images, or javascript/internal links 29 a[href^="javascript:"]:after, 30 a[href^="#"]:after { 31 content: ""; 32 } 33 34 pre, 35 blockquote { 36 border: 1px solid #999; 37 page-break-inside: avoid; 38 } 39 40 thead { 41 display: table-header-group; // h5bp.com/t 42 } 43 44 tr, 45 img { 46 page-break-inside: avoid; 47 } 48 49 img { 50 max-width: 100% !important; 51 } 52 53 p, 54 h2, 55 h3 { 56 orphans: 3; 57 widows: 3; 58 } 59 60 h2, 61 h3 { 62 page-break-after: avoid; 63 } 64 65 // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 66 // Once fixed, we can just straight up remove this. 67 select { 68 background: #fff !important; 69 } 70 71 // Bootstrap components 72 .navbar { 73 display: none; 74 } 75 .table { 76 td, 77 th { 78 background-color: #fff !important; 79 } 80 } 81 .btn, 82 .dropup > .btn { 83 > .caret { 84 border-top-color: #000 !important; 85 } 86 } 87 .label { 88 border: 1px solid #000; 89 } 90 91 .table { 92 border-collapse: collapse !important; 93 } 94 .table-bordered { 95 th, 96 td { 97 border: 1px solid #ddd !important; 98 } 99 } 100 101 }