mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #14452 from vsn4ik/update_print_less
Update print.less from source (html5-boilerplate).
This commit is contained in:
commit
d14d60e04c
@ -1,14 +1,14 @@
|
|||||||
//
|
//
|
||||||
// Basic print styles
|
// Basic print styles
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
* {
|
* {
|
||||||
text-shadow: none !important;
|
|
||||||
color: #000 !important; // Black prints faster: h5bp.com/s
|
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
|
color: #000 !important; // Black prints faster: h5bp.com/s
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
text-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
@ -24,9 +24,10 @@
|
|||||||
content: " (" attr(title) ")";
|
content: " (" attr(title) ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't show links for images, or javascript/internal links
|
// Don't show links that are fragment identifiers,
|
||||||
a[href^="javascript:"]:after,
|
// or use the `javascript:` pseudo protocol
|
||||||
a[href^="#"]:after {
|
a[href^="#"]:after,
|
||||||
|
a[href^="javascript:"]:after {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -71,12 +72,6 @@
|
|||||||
.navbar {
|
.navbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.table {
|
|
||||||
td,
|
|
||||||
th {
|
|
||||||
background-color: #fff !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.btn,
|
.btn,
|
||||||
.dropup > .btn {
|
.dropup > .btn {
|
||||||
> .caret {
|
> .caret {
|
||||||
@ -89,6 +84,11 @@
|
|||||||
|
|
||||||
.table {
|
.table {
|
||||||
border-collapse: collapse !important;
|
border-collapse: collapse !important;
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
background-color: #fff !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.table-bordered {
|
.table-bordered {
|
||||||
th,
|
th,
|
||||||
|
Loading…
Reference in New Issue
Block a user