report.html 9.56 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<html>

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

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

            .container { page-break-inside : avoid }
Marc Duez's avatar
Marc Duez committed
17
            .clone { page-break-inside : avoid }
18 19
            table { page-break-inside : avoid }

20 21 22
            html {
                background-color: #4F4F4F;
            }
23
            html, body {
24 25 26
                margin: auto;
            }
            .page {
27
                width: 210mm;
28 29 30 31 32 33
                padding: 20mm;
                margin: 10mm auto;
                border: 1px #D3D3D3 solid;
                border-radius: 5px;
                background: white;
                box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
34 35
            }
            @media print {
36 37 38
                body {
                    -webkit-print-color-adjust: exact;
                }
39 40 41 42 43 44 45 46
                header.print {
                    position: fixed; 
                    top: 0; 
                }
                footer.print {
                    position: fixed;
                    bottom: 277mm;
                }
47
                .page {
48
                    margin: -10mm;
49 50 51 52 53 54 55 56
                    border: initial;
                    border-radius: initial;
                    width: initial;
                    min-height: initial;
                    box-shadow: initial;
                    background: initial;
                    page-break-after: always;
                }
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
            }

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

        </style>

        <!--style-->
        <style>
            body {
                font-family: Helvetica;
                color: #222;
                text-align: justify;
            }
74 75
            h3 {
                display: block;
76
                font-size: 12px;
77
                opacity : .75;
78
                margin: 0.2em 0em;
79
            }
80 81 82 83 84 85 86 87 88 89
            #header {
                font-size : 150%;
                font-weight :bold;
            }
            #header-logo {
                float: right;
                position: relative;
            }
            #header-title {
                margin: 0.5cm 0cm;
Marc Duez's avatar
Marc Duez committed
90
                max-width: 70%;
91 92
            }
            #logo {
93
                font-size: 90%;
94 95 96 97 98 99 100
            }
            span.logo {
                font-size: 60%;
                vertical-align: super;
                opacity: .8;
                color: #F88;
            }
101 102 103 104
            .container{
                border-top: solid;
                border-color: #2AA198;
                border-width: 2px;
105
                margin: 2em 0 1em 0;
106
            }
107 108 109 110 111 112 113 114 115 116 117 118 119
            .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;
            }
120
            .info-table {
121
                width: 50%;
122
                font-size: 100%;
Marc Duez's avatar
Marc Duez committed
123
                word-break: break-all;
124
            }
125 126 127
            .info-note{
                width: 50%;
            }
marc's avatar
marc committed
128 129 130 131 132 133
            .info-table2 {
                font-size: 100%;
                width: 100%;
                word-break: break-all;
                table-layout: fixed;
            }
134
            .flex{
135 136 137
                width: 100%;
                display: flex;
                font-size: 80%;
Marc Duez's avatar
Marc Duez committed
138
                flex-wrap: wrap;
139 140
            }
            .case {
141 142
                height: 1.2em;
                margin: 0.2em;
Marc Duez's avatar
Marc Duez committed
143 144 145
                max-width: 200px;
                overflow: hidden;
                text-overflow: ellipsis;
146 147 148 149
            }
            .float-left {
                margin: 0 auto 0 0;
                float: left;
150
                min-width: 120px;
151 152 153 154 155 156 157
            }
            .left {
                float: left;
            }
            .centered {
                text-align: center;
            }
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
            .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;
            }
180 181 182
            .note{
                background-color : grey;
                min-height: 5em;
183
                width: 100%;
184 185 186 187 188 189
                background-color: #EEE;
                padding: 5px;
                font-family:courier;
            }
            .label{
                opacity:0.8;
Marc Duez's avatar
Marc Duez committed
190
                width: 100px;
191
                padding-right:10px;
192
                vertical-align: baseline;
193
            }
Marc Duez's avatar
Marc Duez committed
194 195
            .sequence{
                overflow-wrap:break-word;
Marc Duez's avatar
Marc Duez committed
196
                word-wrap: break-word;
Marc Duez's avatar
Marc Duez committed
197
                font-family:courier;
198 199
                border-top: solid;
                border-width: 1px;
Marc Duez's avatar
Marc Duez committed
200 201
            }
            .v_gene{
202
                
Marc Duez's avatar
Marc Duez committed
203 204
            }
            .d_gene{
205
                background-color: #ddd;
Marc Duez's avatar
Marc Duez committed
206 207
            }
            .j_gene{
208
                
209 210 211
            }
            .n_gene{
                background-color: #eee;
Marc Duez's avatar
Marc Duez committed
212
            }
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
            .float-right{
                float: right;
            }
            .clone{
                font-size : 75%;
                margin: 1em 0;
            }
            .clone_head{
                width: 100%;
            }
            .clone_name{
                border-right:solid;
                border-width:1px;
                margin-right:20px;
                padding-right:20px;
                font-weight: bold;
            }
            .clone_table{
                margin: 0 auto 0 auto;
                float: left;
                text-align: center;
                border-bottom: solid;
                border-width: 1px;
                display: table;
                width: 100%;
            }
            .clone_value{
                margin: 0 auto 0 auto;
                display:table-cell;
                text-align: center;
Marc Duez's avatar
Marc Duez committed
243
                width: 50px;
244
            }
HERBERT Ryan's avatar
HERBERT Ryan committed
245 246 247 248 249 250 251 252
            .log-date{
                width: 150px;
                opacity: 0.8;
                padding-right: 10px;
            }
            .odd{
                background-color: #ddd;
            }
253 254 255 256
        </style>

        <!-- graph style-->
        <style>
Marc Duez's avatar
Marc Duez committed
257
            .graph {
258 259 260 261 262 263
                font-size : 75%;
            }
            .graph_menu {
                display: none;
            }
            .background_graph, .background_graph2, .graph_line, .graph_select, .graph_focus, .graph_inactive{
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
                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{
286 287
                stroke-width: 0.5;
                opacity: 0.8;
288 289
                stroke: #222;
            }
290 291 292 293 294 295 296 297 298 299 300
            .graph_line, .graph_select, .graph_focus{
                stroke-width: 2.5px;
                cursor: pointer;
                stroke: #657b83;
            }
            .graph_data {
                fill: none;
                stroke-width: 8px;
                opacity: 0.3;
                cursor: pointer;
            }
301 302
        </style>

303 304
        <!-- scatterplot style-->
        <style>
Marc Duez's avatar
Marc Duez committed
305
            .scatterplot {
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
                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>
341 342
    </head>
    
343
    <body class="page">
344 345 346 347 348

<!-- 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>
-->
349
        <div id="header">
350
            <div id="header-logo"><div id="logo">Vidjil <span class="logo">(beta)</span></div></div>
351
            <div id="header-title">Report template</div>
352 353 354
        </div>
    </body>

Marc Duez's avatar
Marc Duez committed
355
</html>