report.html 6.45 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<html>

    <head>
        <meta charset="utf-8">
        <title>Vidjil report</title>

        <!-- page style-->
        <style>
            @page {
                size: A4;
                margin: 1cm;
                orphans: 4;
                widows: 2;
            }

            @page :first {          /* first page */
                margin-top: 2cm    
            }

            .container { page-break-inside : avoid }
            table { page-break-inside : avoid }

            html, body {
                width: 210mm;
                height: 297mm;        
            }

            @media print {
Marc Duez's avatar
Marc Duez committed
29 30 31
                body {
                    -webkit-print-color-adjust: exact;
                }
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
                header.print {
                    position: fixed; 
                    top: 0; 
                }
                footer.print {
                    position: fixed;
                    bottom: 277mm;
                }
            }

            @media screen {
                .print {
                    display: none;
                }
            }

        </style>

        <!--style-->
        <style>
            body {
                font-family: Helvetica;
                color: #222;
                text-align: justify;
            }
57 58
            h3 {
                display: block;
Marc Duez's avatar
Marc Duez committed
59
                font-size: 12px;
60
                opacity : .75;
Marc Duez's avatar
Marc Duez committed
61
                margin: 0.2em 0em;
62
            }
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
            #header {
                font-size : 150%;
                font-weight :bold;
            }
            #header-logo {
                float: right;
                position: relative;
            }
            #header-title {
                margin: 0.5cm 0cm;
            }
            #logo {
                font-size: 130%;
            }
            span.logo {
                font-size: 60%;
                vertical-align: super;
                opacity: .8;
                color: #F88;
            }
Marc Duez's avatar
Marc Duez committed
83 84 85 86 87 88
            .container{
                border-top: solid;
                border-color: #2AA198;
                border-width: 2px;
                margin: 0.5em 0;
            }
89 90 91 92 93 94 95 96 97 98 99 100 101
            .systemBox, .systemBoxMenu {
                display: inline-block;
                width: 13px;
                height: 13px;
                text-align: center;
                border-radius: 3px;
                border-width: 1px;
                margin: 4px;
                margin-top: 2px;
                color: #002B36;
                font-family: monospace;
                background: #CCC;
            }
Marc Duez's avatar
Marc Duez committed
102
            .flex{
103 104 105
                width: 100%;
                display: flex;
                font-size: 80%;
Marc Duez's avatar
Marc Duez committed
106
                flex-wrap: wrap;
107 108
            }
            .case {
Marc Duez's avatar
Marc Duez committed
109 110
                height: 1.2em;
                margin: 0.2em;
111 112 113 114
            }
            .float-left {
                margin: 0 auto 0 0;
                float: left;
Marc Duez's avatar
Marc Duez committed
115
                min-width: 120px;
116 117 118 119 120 121 122
            }
            .left {
                float: left;
            }
            .centered {
                text-align: center;
            }
Marc Duez's avatar
Marc Duez committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
            .background1 {
                width: 100%;
                height: 100%;
                background-color: #EEE !important;
                position: relative;
                top: -100%;
                z-index: -2;
            }
            .background2 {
                height: 100%;
                background-color: #ccc !important;
                position: relative;
                top: -200%;
                z-index: -1;
            }
            .system_colorbox {
                height: 1em;
                width: 1em;
                display: inline-block;
                float: left;
                margin-right: 0.5em;
            }
Marc Duez's avatar
Marc Duez committed
145 146 147 148 149 150 151 152 153 154 155
            .note{
                background-color : grey;
                min-height: 5em;
                width: 450px;
                background-color: #EEE;
                padding: 5px;
                font-family:courier;
            }
            .label{
                opacity:0.8;
            }
156 157 158 159
        </style>

        <!-- graph style-->
        <style>
Marc Duez's avatar
Marc Duez committed
160
            .graph {
161 162 163 164 165 166
                font-size : 75%;
            }
            .graph_menu {
                display: none;
            }
            .background_graph, .background_graph2, .graph_line, .graph_select, .graph_focus, .graph_inactive{
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
                fill : none;
            }
            #resolution5{
                fill : #222;
                opacity : 0.2;
            }
            #resolution1{
                fill : #222;
                opacity : 0.4;
            }
            .graph_text{
                color: #222;
                opacity: 0.8;
                text-anchor: end;
                dominant-baseline: middle;
            }
            .graph_time, .graph_time2{
                color: #222;
                opacity: 0.8;
                text-anchor: middle;
            }
            .axis_h{
189 190
                stroke-width: 0.5;
                opacity: 0.8;
191 192 193 194
                stroke: #222;
            }
        </style>

195 196
        <!-- scatterplot style-->
        <style>
Marc Duez's avatar
Marc Duez committed
197
            .scatterplot {
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
                font-size : 75%;
            }
            .axis_select, #visu_label_container {
                display: none;
            }
            .background_sp{
                fill : none;
            }
            .sp_line{
                stroke-width: 0.5;
                opacity: 0.8;
                stroke: #222;
            }
            .sp_legend{
                color: #222;
                opacity: 0.8;
                text-anchor: middle;
                dominant-baseline: middle;
            }
            .sp_rotated_legend{
                color: #222;
                opacity: 0.8;
            }
            .sp_system_label {
                height: 0px;
                position: relative;
            }
            .sp_system{
                position: absolute;
                top: -0.5em
            }
            .circle{
                stroke : none;
            }
        </style>
233 234 235 236 237 238 239 240 241 242 243
    </head>
    
    <body>

<!-- bug with webkit
        <header class="print"> vidjil header : hello !! </header>
        <footer class="print"> vidjil footer : copyright blabla / rbx.vidjil.org/browser | 2015 voodooj company </footer>
-->

        <div id="header" class="container">
            <div id="header-logo"><div id="logo">Vidjil <span class="logo">(beta)</span></div></div>
244
            <div id="header-title">John Doe, 2014-04-05 to 2014-10-10</div>
245 246 247 248 249
        </div>

    </body>

</html>