report.html 7.78 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<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 }
Marc Duez's avatar
Marc Duez committed
21
            .clone { page-break-inside : avoid }
22 23 24 25 26 27 28 29
            table { page-break-inside : avoid }

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

            @media print {
Marc Duez's avatar
Marc Duez committed
30 31 32
                body {
                    -webkit-print-color-adjust: exact;
                }
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
                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;
            }
58 59
            h3 {
                display: block;
Marc Duez's avatar
Marc Duez committed
60
                font-size: 12px;
61
                opacity : .75;
Marc Duez's avatar
Marc Duez committed
62
                margin: 0.2em 0em;
63
            }
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
            #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
84 85 86 87
            .container{
                border-top: solid;
                border-color: #2AA198;
                border-width: 2px;
Marc Duez's avatar
Marc Duez committed
88
                margin: 0.5em 0 1em 0;
Marc Duez's avatar
Marc Duez committed
89
            }
90 91 92 93 94 95 96 97 98 99 100 101 102
            .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
103
            .flex{
104 105 106
                width: 100%;
                display: flex;
                font-size: 80%;
Marc Duez's avatar
Marc Duez committed
107
                flex-wrap: wrap;
108 109
            }
            .case {
Marc Duez's avatar
Marc Duez committed
110 111
                height: 1.2em;
                margin: 0.2em;
112 113 114 115
            }
            .float-left {
                margin: 0 auto 0 0;
                float: left;
Marc Duez's avatar
Marc Duez committed
116
                min-width: 120px;
117 118 119 120 121 122 123
            }
            .left {
                float: left;
            }
            .centered {
                text-align: center;
            }
Marc Duez's avatar
Marc Duez committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
            .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
146 147 148 149 150 151 152 153 154 155 156
            .note{
                background-color : grey;
                min-height: 5em;
                width: 450px;
                background-color: #EEE;
                padding: 5px;
                font-family:courier;
            }
            .label{
                opacity:0.8;
            }
Marc Duez's avatar
Marc Duez committed
157 158
            .sequence{
                overflow-wrap:break-word;
Marc Duez's avatar
Marc Duez committed
159
                word-wrap: break-word;
Marc Duez's avatar
Marc Duez committed
160
                font-family:courier;
161 162
                border-top: solid;
                border-width: 1px;
Marc Duez's avatar
Marc Duez committed
163 164 165 166 167 168 169 170 171 172
            }
            .v_gene{
                color : #DDA800;
            }
            .d_gene{
                color : #B6005D;
            }
            .j_gene{
                color : #00A237;
            }
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
            .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;
            }
204 205 206 207
        </style>

        <!-- graph style-->
        <style>
Marc Duez's avatar
Marc Duez committed
208
            .graph {
209 210 211 212 213 214
                font-size : 75%;
            }
            .graph_menu {
                display: none;
            }
            .background_graph, .background_graph2, .graph_line, .graph_select, .graph_focus, .graph_inactive{
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
                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{
237 238
                stroke-width: 0.5;
                opacity: 0.8;
239 240 241 242
                stroke: #222;
            }
        </style>

243 244
        <!-- scatterplot style-->
        <style>
Marc Duez's avatar
Marc Duez committed
245
            .scatterplot {
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
                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>
281 282 283 284 285 286 287 288 289 290 291
    </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>
292
            <div id="header-title">John Doe, 2014-04-05 to 2014-10-10</div>
293 294 295 296
        </div>

    </body>

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