hedera-web/js/hedera/report.css

94 lines
1.2 KiB
CSS
Raw Normal View History

2015-10-21 23:34:35 +00:00
@media print
{
2017-03-30 11:44:53 +00:00
.report
2015-10-21 23:34:35 +00:00
{
2017-03-30 11:44:53 +00:00
font-size: 12pt;
2015-10-21 23:34:35 +00:00
-webkit-print-color-adjust: exact;
}
2017-03-30 11:44:53 +00:00
.report .sheet
2015-10-21 23:34:35 +00:00
{
width: 100%;
page-break-after: always;
}
}
@media screen
{
2017-03-30 11:44:53 +00:00
.report
2015-10-21 23:34:35 +00:00
{
background-color: #EEE;
}
2017-03-30 11:44:53 +00:00
.report .sheet
2015-10-21 23:34:35 +00:00
{
2017-03-30 11:44:53 +00:00
/* A4 -> 210x297mm */
width: 51em;
height: 72.1em;
2015-10-21 23:34:35 +00:00
background-color: white;
2017-03-30 11:44:53 +00:00
margin: 2em auto;
box-shadow: 0 .1em .1em #CCC;
padding: 5em;
2015-10-21 23:34:35 +00:00
}
}
2017-03-30 11:44:53 +00:00
@media screen
2015-10-21 23:34:35 +00:00
{
2017-03-30 11:44:53 +00:00
.report { font-size: .8em; }
2015-10-21 23:34:35 +00:00
}
2017-03-30 11:44:53 +00:00
@media
screen and (min-resolution: 120dpi),
screen and (-webkit-min-device-pixel-ratio: 1.5)
{
.report { font-size: .4em; }
}
.report
2015-10-21 23:34:35 +00:00
{
position: relative;
margin: 0;
width: 100%;
z-index: -2;
}
2017-03-30 11:44:53 +00:00
.report .sheet
2015-10-21 23:34:35 +00:00
{
position: relative;
overflow: hidden;
box-sizing: padding-box;
/* page-break-after: always;*/
}
/* Widgets */
2017-03-30 11:44:53 +00:00
.report .htk-grid
{
border-collapse: collapse;
width: 100%;
margin: 0 auto;
padding: 0;
}
2017-03-30 11:44:53 +00:00
.report .htk-grid > thead > tr
{
2017-03-30 11:44:53 +00:00
border-bottom: .01em solid #333;
height: 2em;
background-color: initial;
}
2017-03-30 11:44:53 +00:00
.report .htk-grid > thead th
{
text-align: left;
font-weight: normal;
2017-03-30 11:44:53 +00:00
color: initial;
}
2017-03-30 11:44:53 +00:00
.report .htk-grid tr
{
height: 2em;
2017-03-30 11:44:53 +00:00
border: initial;
}
2017-03-30 11:44:53 +00:00
.report .htk-grid > thead th,
.report .htk-grid td
{
2017-03-30 11:44:53 +00:00
padding-left: .3em;
}
2017-03-30 11:44:53 +00:00
.report .htk-grid .cell-spin
{
text-align: right;
}