amitabhaghosh197
1/11/2016 - 11:20 AM

Print css

Print css

@media print {
    body{
  -webkit-print-color-adjust:exact;
}

.break-print{
    page-break-after: auto;
   
}
    header, .lunch_menu, footer{
        display: none !important;
    }
    
    .print-heading{
       text-align: left;
        margin-top:-20px;
    }
    
    .print-feature{
      width:80px;
        height:40px;
/*        float:left;*/
        margin-right:30px;
/*       overflow: hidden;*/
display:inline-block;
       
       
    }
    .print-content{
/*        float: left;*/
        display: inline-block;
        margin:0;
        padding:0;
    }
    .print-content h2{
        font-size: 18px;
        font-weight: bold;
        margin-bottom:0;
        margin-top:0;
    }
    .print-feature > img{
       width: 100%;
        height: auto;
        display:inline-block;
       
        
    }
    
    #calendar{
        width: 100%;
       
    }
    .fc-toolbar{
      padding: 0;
      text-align: left;
    }
    
    .fc-toolbar .fc-center{
        display: inline-block;
         
         float:none;
         
         
    }
    
    .fc-toolbar .fc-left > h2, .fc-toolbar .fc-center > h2{
        font-size: 25px;
        padding-left: 122px;
        text-indent:-48px;
        display:inline-block;
       
       
    }
    
    .fc-view-container{
        margin-top: 10px;
        position:absolute;
       
    }
    .fc-widget-header .fc-day-header{
        font-size: 12px;
       
    }
   
    .fc-widget-header{
        height: 20px;
    }
    .fc-row.fc-widget-header tr th{
        height: 20px;
    }
    .hidden-print{ display: none !important;}
    .visible-print{ display: block !important;}
    .page-break	{ display: block; page-break-before: always !important; }
/*    .fc-basic-view .fc-body .fc-row{
       height:100px !important;
    }
    
    .fc-body .fc-row{
        height: 130px !important;
    }*/
    
    
}

/* Other Ref: http://www.bennadel.com/blog/851-fixing-divs-that-cause-content-truncation-when-printing.htm
  Print css do not work for flaot:left, overflow: hidden, so where float:left is required do by display: inline-block; and adjust by margin or padding

*/