less/bootstrap/print.less
[roojs1] / less / bootstrap / print.less
1 /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
2
3 // ==========================================================================
4 // Print styles.
5 // Inlined to avoid the additional HTTP request: h5bp.com/r
6 // ==========================================================================
7
8 @media print {
9     a,
10     a:visited {
11         text-decoration: underline;
12     }
13
14     a[href]:after {
15         content: " (" attr(href) ")";
16     }
17
18     abbr[title]:after {
19         content: " (" attr(title) ")";
20     }
21
22     // Don't show links that are fragment identifiers,
23     // or use the `javascript:` pseudo protocol
24     a[href^="#"]:after,
25     a[href^="javascript:"]:after {
26         content: "";
27     }
28
29     pre,
30     blockquote {
31         border: 1px solid #999;
32         page-break-inside: avoid;
33     }
34
35     thead {
36         display: table-header-group; // h5bp.com/t
37     }
38
39     tr,
40     img {
41         page-break-inside: avoid;
42     }
43
44     img {
45         max-width: 100% !important;
46     }
47
48     p,
49     h2,
50     h3 {
51         orphans: 3;
52         widows: 3;
53     }
54
55     h2,
56     h3 {
57         page-break-after: avoid;
58     }
59
60     // Bootstrap specific changes start
61
62     // Bootstrap components
63     .navbar {
64         display: none;
65     }
66     .btn,
67     .dropup > .btn {
68         > .caret {
69             border-top-color: #000 !important;
70         }
71     }
72     .label {
73         border: 1px solid #000;
74     }
75
76     .table {
77         border-collapse: collapse !important;
78
79         td,
80         th {
81             background-color: #fff !important;
82         }
83     }
84     .table-bordered {
85         th,
86         td {
87             border: 1px solid #ddd !important;
88         }
89     }
90
91     // Bootstrap specific changes end
92 }