Update less/print.less to the latest html5 bp version.

Also, keep the html5 boilerplate link in the built CSS.
This commit is contained in:
XhmikosR 2014-10-12 23:40:45 +03:00
parent 4a89fd02b7
commit 9f82f27b9d
9 changed files with 113 additions and 99 deletions

View File

@ -188,8 +188,11 @@ td,
th {
padding: 0;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
* {
*,
*:before,
*:after {
color: #000 !important;
text-shadow: none !important;
background: transparent !important;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -188,8 +188,11 @@ td,
th {
padding: 0;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
* {
*,
*:before,
*:after {
color: #000 !important;
text-shadow: none !important;
background: transparent !important;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,14 @@
//
// Basic print styles
// --------------------------------------------------
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
/*! 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 {
* {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important; // Black prints faster: h5bp.com/s
box-shadow: none !important;
@ -62,6 +66,8 @@
page-break-after: avoid;
}
// Bootstrap specific changes start
//
// Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
// Once fixed, we can just straight up remove this.
select {
@ -96,4 +102,6 @@
border: 1px solid #ddd !important;
}
}
// Bootstrap specific changes end
}