/* 
* name:          Improved bug activity view
* description:   Makes bug activity easier to read
* author:        Justin Sitter
* version:       1.0.0.0
*/

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("fogbugz.com"){

div.bugevent {
   border-bottom: 1px solid #ccc !important;
   margin: 0 !important;
   padding: 8px 10px 12px 10px !important;
}
div.bugevent:nth-child(even) {
   background-color: #eee !important;
}
div.bugevent div.body,
div.bugevent div.emailBody {
   line-height: 1.4em !important;
   font-family: Arial !important;
}
span#BugEvents a {
   text-decoration: none !important;
   color: inherit !important;
}
span#BugEvents div.bugevent:hover a {
   color: #0F5491 !important;
   text-decoration: underline !important;
}
span#BugEvents div.bugevent div.body a {
   text-decoration: underline !important;
   color: #0F5491 !important;
}
span.CaseEventEditIconHover {
   display: none !important;
}
span#BugEvents div.bugevent:hover span.CaseEventEditIconHover {
   display: inline !important;
}
/*
span#BugEvents div.bugevent:hover div.attachments a {
   color: #e22 !important;
}
*/
/*div.attachments p.bugEvent,*/
p.bugEvent a[target="altfilewindow"] {
   display: block;
   background-color: hsl(60,60%,90%) !important;
   background-color: #fafad2 !important;
   padding: 8px 6px !important;
   border-radius: 10px !important;
   border-width: 1px !important;
   border-style: solid !important;
   /* border-color: #ccccab !important; */
   border-color: hsl(60,60%,82%) !important;
   width: auto !important;
   font-size: 90% !important;
}
div.bugevent span.date {
   float: right !important;
   clear: right !important;
}
div.bugevent div.summary span,
div.bugevent div.changes {
   color: #68615E !important;
   color: #888 !important;
   font-weight: normal !important;
   padding-left: 0 !important;
   font-size: 90% !important;
}
div.bugevent div.changes {
   margin-bottom: 8px !important;
   min-height: 1em !important;
}
div.bugevent > div.body > div.email > div.emailHeader {
   display: none !important;
}
div.emailBody {
   background-color: inherit !important;
   border: 0 !important;
   padding: 0 !important;
}
div.email {
   border: 0 !important;
}
/*  File type background colors */
p.bugEvent a[href$=xlsx],
p.bugEvent a[href$=xls],
p.bugEvent a[href$=XLSX],
p.bugEvent a[href$=XLS] {
   background-color: hsl(120,60%,90%) !important;
   border-color: hsl(120,60%,82%) !important;
}
p.bugEvent a[href$=docx],
p.bugEvent a[href$=doc],
p.bugEvent a[href$=DOCX],
p.bugEvent a[href$=DOC] {
   background-color: hsl(220,60%,90%) !important;
   border-color: hsl(220,60%,82%) !important;
}
p.bugEvent a[href$=pdf],
p.bugEvent a[href$=PDF] {
   background-color: hsl(0,60%,90%) !important;
   border-color: hsl(0,60%,82%) !important;
}
p.bugEvent a[href$=jpg],
p.bugEvent a[href$=jpeg],
p.bugEvent a[href$=gif],
p.bugEvent a[href$=png],
p.bugEvent a[href$=JPG],
p.bugEvent a[href$=JPEG],
p.bugEvent a[href$=GIF],
p.bugEvent a[href$=PNG] {
   /*
   background-color: transparent !important;
   border: none !important;
   padding: 0 !important;
   */
   display: block !important;
}
p.bugEvent a[href$=jpg] img,
p.bugEvent a[href$=jpeg] img,
p.bugEvent a[href$=gif] img,
p.bugEvent a[href$=png] img {
   display: none !important;
}
p.bugEvent a[href$=jpg]:before,
p.bugEvent a[href$=jpeg]:before,
p.bugEvent a[href$=gif]:before,
p.bugEvent a[href$=png]:before {
   content: 'Image attachment' !important;
}
p.bugEvent a[href$=jpg],
p.bugEvent a[href$=jpeg],
p.bugEvent a[href$=gif],
p.bugEvent a[href$=png] {
   display: block !important;
   width: auto !important;
   padding-left: 32px !important;
}
p.bugEvent span.dropShadow {
   background: none !important;
   float: none !important;
   margin: 0 !important;
}
span#BugEvents span.action a:last-child {
   font-weight: bold !important;
   color: #000 !important;
   float: right !important;
}
div.emailBody div.bugTip {
   display: none !important;
}


}