report.html 9.18 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 48 49 50 51 52 53 54 55 56
                .page {
                    margin: 0;
                    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 {
Mathieu Giraud's avatar
Mathieu Giraud committed
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 121 122 123
            .info-table {
                width: 380px;
                font-size: 100%;
            }
124
            .flex{
125 126 127
                width: 100%;
                display: flex;
                font-size: 80%;
Marc Duez's avatar
Marc Duez committed
128
                flex-wrap: wrap;
129 130
            }
            .case {
131 132
                height: 1.2em;
                margin: 0.2em;
Marc Duez's avatar
Marc Duez committed
133 134 135
                max-width: 200px;
                overflow: hidden;
                text-overflow: ellipsis;
136 137 138 139
            }
            .float-left {
                margin: 0 auto 0 0;
                float: left;
140
                min-width: 120px;
141 142 143 144 145 146 147
            }
            .left {
                float: left;
            }
            .centered {
                text-align: center;
            }
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
            .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;
            }
170 171 172
            .note{
                background-color : grey;
                min-height: 5em;
173
                width: 400px;
174 175 176 177 178 179
                background-color: #EEE;
                padding: 5px;
                font-family:courier;
            }
            .label{
                opacity:0.8;
180 181
                max-width: 100px;
                padding-right:10px;
182
                vertical-align: baseline;
183
            }
Marc Duez's avatar
Marc Duez committed
184 185
            .sequence{
                overflow-wrap:break-word;
Marc Duez's avatar
Marc Duez committed
186
                word-wrap: break-word;
Marc Duez's avatar
Marc Duez committed
187
                font-family:courier;
188 189
                border-top: solid;
                border-width: 1px;
Marc Duez's avatar
Marc Duez committed
190 191
            }
            .v_gene{
192
                margin-right: 1em;
Marc Duez's avatar
Marc Duez committed
193 194
            }
            .d_gene{
195 196 197
                background-color: #ddd;
                margin-right: 1em;
                margin-left: 1em;
Marc Duez's avatar
Marc Duez committed
198 199
            }
            .j_gene{
200 201 202 203
                margin-left: 1em;
            }
            .n_gene{
                background-color: #eee;
Marc Duez's avatar
Marc Duez committed
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 233 234
            .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
235
                width: 50px;
236
            }
237 238 239 240
        </style>

        <!-- graph style-->
        <style>
Marc Duez's avatar
Marc Duez committed
241
            .graph {
242 243 244 245 246 247
                font-size : 75%;
            }
            .graph_menu {
                display: none;
            }
            .background_graph, .background_graph2, .graph_line, .graph_select, .graph_focus, .graph_inactive{
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
                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{
270 271
                stroke-width: 0.5;
                opacity: 0.8;
272 273
                stroke: #222;
            }
274 275 276 277 278 279 280 281 282 283 284
            .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;
            }
285 286
        </style>

287 288
        <!-- scatterplot style-->
        <style>
Marc Duez's avatar
Marc Duez committed
289
            .scatterplot {
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
                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>
325 326
    </head>
    
327
    <body class="page">
328 329 330 331 332

<!-- 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>
-->
Mathieu Giraud's avatar
Mathieu Giraud committed
333
        <div id="header">
334
            <div id="header-logo"><div id="logo">Vidjil <span class="logo">(beta)</span></div></div>
Mathieu Giraud's avatar
Mathieu Giraud committed
335
            <div id="header-title">Report template</div>
336 337 338
        </div>
    </body>

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