report.html 8.12 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
            #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
74
                max-width: 70%;
75 76 77 78 79 80 81 82 83 84
            }
            #logo {
                font-size: 130%;
            }
            span.logo {
                font-size: 60%;
                vertical-align: super;
                opacity: .8;
                color: #F88;
            }
Marc Duez's avatar
Marc Duez committed
85 86 87 88
            .container{
                border-top: solid;
                border-color: #2AA198;
                border-width: 2px;
89
                margin: 2em 0 1em 0;
Marc Duez's avatar
Marc Duez committed
90
            }
91 92 93 94 95 96 97 98 99 100 101 102 103
            .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;
            }
104 105 106 107
            .info-table {
                width: 380px;
                font-size: 100%;
            }
Marc Duez's avatar
Marc Duez committed
108
            .flex{
109 110 111
                width: 100%;
                display: flex;
                font-size: 80%;
Marc Duez's avatar
Marc Duez committed
112
                flex-wrap: wrap;
113 114
            }
            .case {
Marc Duez's avatar
Marc Duez committed
115 116
                height: 1.2em;
                margin: 0.2em;
Marc Duez's avatar
Marc Duez committed
117 118 119
                max-width: 200px;
                overflow: hidden;
                text-overflow: ellipsis;
120 121 122 123
            }
            .float-left {
                margin: 0 auto 0 0;
                float: left;
Marc Duez's avatar
Marc Duez committed
124
                min-width: 120px;
125 126 127 128 129 130 131
            }
            .left {
                float: left;
            }
            .centered {
                text-align: center;
            }
Marc Duez's avatar
Marc Duez committed
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
            .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
154 155 156
            .note{
                background-color : grey;
                min-height: 5em;
157
                width: 400px;
Marc Duez's avatar
Marc Duez committed
158 159 160 161 162 163
                background-color: #EEE;
                padding: 5px;
                font-family:courier;
            }
            .label{
                opacity:0.8;
164 165
                min-width: 120px;
                vertical-align: baseline;
Marc Duez's avatar
Marc Duez committed
166
            }
Marc Duez's avatar
Marc Duez committed
167 168
            .sequence{
                overflow-wrap:break-word;
Marc Duez's avatar
Marc Duez committed
169
                word-wrap: break-word;
Marc Duez's avatar
Marc Duez committed
170
                font-family:courier;
171 172
                border-top: solid;
                border-width: 1px;
Marc Duez's avatar
Marc Duez committed
173 174 175 176 177 178 179 180 181 182
            }
            .v_gene{
                color : #DDA800;
            }
            .d_gene{
                color : #B6005D;
            }
            .j_gene{
                color : #00A237;
            }
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
            .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
213
                width: 50px;
214
            }
215 216 217 218
        </style>

        <!-- graph style-->
        <style>
Marc Duez's avatar
Marc Duez committed
219
            .graph {
220 221 222 223 224 225
                font-size : 75%;
            }
            .graph_menu {
                display: none;
            }
            .background_graph, .background_graph2, .graph_line, .graph_select, .graph_focus, .graph_inactive{
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
                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{
248 249
                stroke-width: 0.5;
                opacity: 0.8;
250 251 252 253
                stroke: #222;
            }
        </style>

254 255
        <!-- scatterplot style-->
        <style>
Marc Duez's avatar
Marc Duez committed
256
            .scatterplot {
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
                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>
292 293 294 295 296 297 298 299 300 301 302
    </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>
303
            <div id="header-title">John Doe, 2014-04-05 to 2014-10-10</div>
304 305 306 307
        </div>

    </body>

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