Version 1
[yaffs-website] / web / core / themes / seven / css / base / print.css
1 @media print {
2   * {
3     background-color: transparent !important;
4     color: #000 !important; /* Black prints faster: h5bp.com/s */
5     box-shadow: none !important;
6     text-shadow: none !important;
7   }
8   body {
9     padding-top: 0;
10   }
11   a,
12   a:visited {
13     text-decoration: underline;
14   }
15   pre,
16   blockquote {
17     border: 1px solid #999;
18     page-break-inside: avoid;
19   }
20   thead {
21     display: table-header-group; /* h5bp.com/t */
22   }
23   tr,
24   img {
25     page-break-inside: avoid;
26   }
27   img {
28     max-width: 100% !important;
29   }
30   p,
31   h2,
32   h3 {
33     orphans: 3;
34     widows: 3;
35   }
36   h2,
37   h3 {
38     page-break-after: avoid;
39   }
40   a,
41   .link {
42     color: #000;
43     text-decoration: underline;
44   }
45   .button, .button--primary {
46     background: none !important;
47   }
48   .messages {
49     border-width: 1px;
50     border-color: #999;
51   }
52   .is-collapse-enabled .tabs {
53     max-height: 999em;
54   }
55   .is-horizontal .tabs__tab {
56     margin: 0 4px !important;
57     border-radius: 4px 4px 0 0 !important;
58   }
59   .dropbutton-multiple .dropbutton .secondary-action {
60     display: block;
61   }
62   .js .dropbutton-widget,
63   .js td .dropbutton-widget /* Splitbuttons */ {
64     position: relative;
65   }
66   .js .dropbutton .dropbutton-toggle {
67     display: none;
68   }
69   .js .dropbutton-multiple .dropbutton-widget {
70     background: none;
71     border-radius: 4px;
72   }
73   input.form-autocomplete, input.form-text, input.form-tel, input.form-email, input.form-url, input.form-search, input.form-number, input.form-color, input.form-file, textarea.form-textarea, select.form-select {
74     border-width: 1px;
75   }
76 }