Base
This commit is contained in:
101
resources/less/print.less
Normal file
101
resources/less/print.less
Normal file
@ -0,0 +1,101 @@
|
||||
@media print {
|
||||
header, footer, .benchmark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
#print {
|
||||
width: 100%;
|
||||
|
||||
div.title {
|
||||
font-size: 15pt;
|
||||
font-weight: bold;
|
||||
border-bottom: 3px solid black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.data-box {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
td {
|
||||
border: thin solid black;
|
||||
padding-left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
table.details {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead {
|
||||
color: white;
|
||||
background-color: black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr {
|
||||
border: thin solid black;
|
||||
&:nth-child(odd) {
|
||||
background-color: lightgray;
|
||||
}
|
||||
&.total {
|
||||
font-weight: bold;
|
||||
td {
|
||||
border-top-style: double;
|
||||
border-top-width: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
td, th {
|
||||
border: thin solid black;
|
||||
padding-left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
font-variant: small-caps;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
div.data {
|
||||
float: left;
|
||||
}
|
||||
div.data-value {
|
||||
float: right;
|
||||
}
|
||||
div.total {
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
div.total-value {
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
br.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
table.signature {
|
||||
width: 75%;
|
||||
tr {
|
||||
&.double {
|
||||
height: 12pt * 2;
|
||||
}
|
||||
&.triple {
|
||||
height: 12pt * 3;
|
||||
}
|
||||
&.quadruple {
|
||||
height: 12pt * 4;
|
||||
}
|
||||
td {
|
||||
padding-left: 2px;
|
||||
border: thin solid black;
|
||||
&:nth-child(2) {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user