﻿/*
    Only for print mode of planning

*/

body {
    -webkit-print-color-adjust: exact !important;
}

@media print {

    @page {
        size: auto; /* auto is the initial value */
        margin: 0mm; /* this affects the margin in the printer settings */
    }

    /*hide navbar */
    .top-nav,
    #bottom-nav-type-planning,
    #bottom-nav-datepicker,
    .bottom-nav-reduce,
    .filter-nav,
    .bottom-row {
        display: none;
    }

    /* hide sidebar */
    #left-sidebar,
    #right-sidebar,
    #deplacement-sidebar {
        width : 0px !important;
    }

    #main-content{
        margin-left : 0px !important;
    }

    /* hide uneeded ui */
    .resize-helper,
    .group-item-action,
    .reduce.visbility-state,
    .expand.visbility-state {
        display: none;
    }

    /* hide scrollbar */
    .planning-content, 
    .planning-header {
        overflow-y: hidden;
        overflow-x: hidden;
    }

    /* unlock scroll */
    .big-container{
        height : auto;
    }

    /* remove hidden group item */
    .group-item.reduced{
        display : none !important;
    }

    /* remove header item */
    .item.reconizer-1{
        display : none;
    } 

    /* remove href */
    a:link {
        border-bottom: none !important;
        text-decoration: none !important;
    }

    a[href]:after {
        content: none !important;
    }

    /* tooltip */
    #schedule-tooltip,
    #side-schedule-tooltip,
    #deplacement-schedule-tooltip,
    #planning-case-tooltip,
    #item-tooltip,
    #planning-quick-case-tooltip {
        visibility : hidden;
        display: none !important;
    }
}