Skip to content

Instantly share code, notes, and snippets.

@gexplorer
Last active January 30, 2017 09:31
Show Gist options
  • Save gexplorer/6d53c51332679e1978cc853d959e4d57 to your computer and use it in GitHub Desktop.
Save gexplorer/6d53c51332679e1978cc853d959e4d57 to your computer and use it in GitHub Desktop.
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
.no-print{
opacity: 0.5;
}
.print-out{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
border: 1px solid black;
z-index: 9999;
padding: 1em;
}
.print-out .print-task{
border: 1px solid black;
padding: .5em 1em;
margin: .5em;
width: 30%;
display: inline-block;
height: 7em;
}
.print-out .print-task:hover{
background-color: #fafafa;
cursor: pointer;
}
.print-out .print-task.pbi{
border: 1px solid #404040;
border-left-width: 5px;
}
.print-out .print-task.bug{
border: 1px dashed black;
}
.print-out .print-task .title{
font-size: 1.2em;
margin-top: .5em;
}
.print-out .print-task .type{
color: gray:
}
.print-out .print-task .effort{
color: gray;
float: right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment