Commit 87c16655 authored by XhmikosR's avatar XhmikosR

Merge pull request #14790 from twbs/print

Print style updates
parents 4a89fd02 9f82f27b
...@@ -188,8 +188,11 @@ td, ...@@ -188,8 +188,11 @@ td,
th { th {
padding: 0; padding: 0;
} }
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print { @media print {
* { *,
*:before,
*:after {
color: #000 !important; color: #000 !important;
text-shadow: none !important; text-shadow: none !important;
background: transparent !important; background: transparent !important;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
...@@ -188,8 +188,11 @@ td, ...@@ -188,8 +188,11 @@ td,
th { th {
padding: 0; padding: 0;
} }
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print { @media print {
* { *,
*:before,
*:after {
color: #000 !important; color: #000 !important;
text-shadow: none !important; text-shadow: none !important;
background: transparent !important; background: transparent !important;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
// /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
// Basic print styles
// -------------------------------------------------- // ==========================================================================
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css // Print styles.
// Inlined to avoid the additional HTTP request: h5bp.com/r
// ==========================================================================
@media print { @media print {
* { *,
*:before,
*:after {
background: transparent !important; background: transparent !important;
color: #000 !important; // Black prints faster: h5bp.com/s color: #000 !important; // Black prints faster: h5bp.com/s
box-shadow: none !important; box-shadow: none !important;
...@@ -62,6 +66,8 @@ ...@@ -62,6 +66,8 @@
page-break-after: avoid; page-break-after: avoid;
} }
// Bootstrap specific changes start
//
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
// Once fixed, we can just straight up remove this. // Once fixed, we can just straight up remove this.
select { select {
...@@ -96,4 +102,6 @@ ...@@ -96,4 +102,6 @@
border: 1px solid #ddd !important; border: 1px solid #ddd !important;
} }
} }
// Bootstrap specific changes end
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment