0
|
1 // scss-lint:disable QualifyingElement
|
|
2
|
|
3 // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
|
|
4
|
|
5 // ==========================================================================
|
|
6 // Print styles.
|
|
7 // Inlined to avoid the additional HTTP request:
|
|
8 // http://www.phpied.com/delay-loading-your-print-css/
|
|
9 // ==========================================================================
|
|
10
|
|
11 @if $enable-print-styles {
|
|
12 @media print {
|
|
13 *,
|
|
14 *::before,
|
|
15 *::after {
|
|
16 // Bootstrap specific; comment out `color` and `background`
|
|
17 //color: #000 !important; // Black prints faster:
|
|
18 // http://www.sanbeiji.com/archives/953
|
|
19 text-shadow: none !important;
|
|
20 //background: transparent !important;
|
|
21 box-shadow: none !important;
|
|
22 }
|
|
23
|
|
24 a,
|
|
25 a:visited {
|
|
26 text-decoration: underline;
|
|
27 }
|
|
28
|
|
29 // Bootstrap specific; comment the following selector out
|
|
30 //a[href]::after {
|
|
31 // content: " (" attr(href) ")";
|
|
32 //}
|
|
33
|
|
34 abbr[title]::after {
|
|
35 content: " (" attr(title) ")";
|
|
36 }
|
|
37
|
|
38 // Bootstrap specific; comment the following selector out
|
|
39 //
|
|
40 // Don't show links that are fragment identifiers,
|
|
41 // or use the `javascript:` pseudo protocol
|
|
42 //
|
|
43
|
|
44 //a[href^="#"]::after,
|
|
45 //a[href^="javascript:"]::after {
|
|
46 // content: "";
|
|
47 //}
|
|
48
|
|
49 pre {
|
|
50 white-space: pre-wrap !important;
|
|
51 }
|
|
52 pre,
|
|
53 blockquote {
|
|
54 border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px
|
|
55 page-break-inside: avoid;
|
|
56 }
|
|
57
|
|
58 //
|
|
59 // Printing Tables:
|
|
60 // http://css-discuss.incutio.com/wiki/Printing_Tables
|
|
61 //
|
|
62
|
|
63 thead {
|
|
64 display: table-header-group;
|
|
65 }
|
|
66
|
|
67 tr,
|
|
68 img {
|
|
69 page-break-inside: avoid;
|
|
70 }
|
|
71
|
|
72 p,
|
|
73 h2,
|
|
74 h3 {
|
|
75 orphans: 3;
|
|
76 widows: 3;
|
|
77 }
|
|
78
|
|
79 h2,
|
|
80 h3 {
|
|
81 page-break-after: avoid;
|
|
82 }
|
|
83
|
|
84 // Bootstrap specific changes start
|
|
85
|
|
86 // Bootstrap components
|
|
87 .navbar {
|
|
88 display: none;
|
|
89 }
|
|
90 .badge {
|
|
91 border: $border-width solid #000;
|
|
92 }
|
|
93
|
|
94 .table {
|
|
95 border-collapse: collapse !important;
|
|
96
|
|
97 td,
|
|
98 th {
|
|
99 background-color: #fff !important;
|
|
100 }
|
|
101 }
|
|
102 .table-bordered {
|
|
103 th,
|
|
104 td {
|
|
105 border: 1px solid #ddd !important;
|
|
106 }
|
|
107 }
|
|
108
|
|
109 // Bootstrap specific changes end
|
|
110 }
|
|
111 }
|