view Applications/StoneWebViewer/Resources/Styles/_print.scss @ 1652:fa9e6bf84958

integrating pdf.js into Stone Web viewer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Nov 2020 20:47:53 +0100
parents d1806b4e4839
children
line wrap: on
line source

.wvPrintExclude{
    display:none;
}

.wvPrintFullPage{
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display:block !important;
}

.wvLayout__main{
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
}

.wvPrintViewer{
    width: 100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wvPrintViewer canvas{
    max-width: 100% !important;
    max-height: 100% !important;
    margin:auto;
}

.wv-overlay-topleft, .wv-overlay-topright, .wv-overlay-bottomright, .wv-overlay-bottomleft{
    &, & * {
        background-color: black !important;
        -webkit-print-color-adjust: exact !important; 
        color-adjust: exact !important;
        color: orange !important;
    }
}
.tooltip{
    display: none !important;
}
body{
    margin: 0;
    padding: 0;
    position: relative;
    &, *{
        background-color: black !important;
        -webkit-print-color-adjust: exact !important; 
    }
    width: 8.5in;
    height: 11in;
}