vidjil.less 43.8 KB
Newer Older
1 2 3 4

/* base Vidjil style */
/* @default, @background, @highlight, @select, @secondary and @border have to be defined */

5 6
@infoContainerHeight : 32px;
@locusSpacingMargin : 12px;
7

8 9 10 11 12 13 14 15 16 17
/* default tag color */
@tagColor0 : #DC322F;
@tagColor1 : #cb4b16;
@tagColor2 : #b58900;
@tagColor3 : #268bd2;
@tagColor4 : #6c71c4;
@tagColor5 : #2aa198;
@tagColor6 : #d33682;
@tagColor7 : #859900;

18 19
@runTokenColor : #ffdde0;
@patientTokenColor : #eed0ff;
20
@genericTokenColor : #dcedff;
21

22 23
/* #dcffed also available */

24 25 26 27 28 29
#vmi-menu {
  position: unset;
  bottom: unset;
  width: unset;
}

30 31 32 33 34
html{
  height: 100%;
  padding: 0px;
  margin: 0px;
  min-width: 1160px;
Marc Duez's avatar
Marc Duez committed
35
  min-height: 250px
36 37
}

38 39 40 41 42 43
body {
  display: flex;
  flex-flow: column;
  overflow-x: hidden;
}

44 45
body, svg {
  font-family: @default-font;
46
  font-size: 13px;
47 48 49
  height : 100%;
  margin:0px;
  color : @default;
50
  background : @border;
51 52
}

53
.cloneName {
54
  font-family: @bold-font;
Mathieu Giraud's avatar
Mathieu Giraud committed
55 56 57
}

.seq-fixed .cloneName, .listElem .cloneName {
58 59
  bottom: 1px;
}
60

61 62
/* for FF override */
textarea {
63
  font-family: @default-font;
64 65 66
  font-size: 100%;
}

67 68
/* texts that are not sequences nor identifiers */

69
#info, .popup_msg, .menu, .menu a
70 71 72 73
{
}


74 75 76 77 78 79 80 81 82 83 84 85
h2
{
  margin-top: 2px;
}

ul{
  padding-left:2px;
  margin-top: 3px;
  list-style-type: none;
}

#visu-container{
86 87
  position: relative;
  flex: 1 1 auto;
88 89 90 91 92 93
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  height :100%;
94 95
  margin : auto;
  overflow : hidden;
96
  background : @background;
97 98 99
}

#top-container {
100
  flex: 0 1 auto;
Marc Duez's avatar
Marc Duez committed
101
  height: @top_container_height;
102
  width: 100%;
103
  background: @background;
104 105
}

106 107 108 109 110 111 112 113 114 115 116
#top-container.alert
{
   background: yellow;
}

#alert
{
   font-weight: bold;
   color: red;
}

117 118 119 120 121 122 123 124
#tip-container {
  position: absolute;
  float: right;
  z-index: 50;
  right: 0px;
  top: 32px;
}

125 126 127 128 129 130 131 132 133 134
#upload_summary {
  float: right;
  display:none;
  margin-right: 200px;
  position: relative;
  right: 200px;
  z-index: 10;
  background-color: @background;
}

HERBERT Ryan's avatar
HERBERT Ryan committed
135 136 137 138
.upload_field {
  width: 100%;
}

139 140 141 142
#menu-container {
    background: inherit;
}

143 144 145 146 147 148 149 150 151
.scatterplot, .graph{
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  overflow:hidden;
}

152
#mid-container {
Marc Duez's avatar
Marc Duez committed
153
  position : fixed;
154 155
  display: flex;
  flex: 1 1 auto;
Marc Duez's avatar
Marc Duez committed
156
  top : @top_container_height;
Marc Duez's avatar
Marc Duez committed
157
  bottom : 125px ;
158
  width: calc(~"100%" - @margin + @margin);
159 160
  overflow: hidden;
  background: @background;
161
  margin: @margin;
162 163
}

164 165 166 167 168 169 170 171
#right-container{
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  float : right;
  width : 0px;
172 173 174
}

#left-container {
175 176
  display: flex;
  flex-flow: column;
Ryan Herbert's avatar
Ryan Herbert committed
177
  position: relative;
178
  width : @width_left_container;
179
  overflow-y : none;
180 181 182 183 184
  -khtml-user-select: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
185 186 187 188
}

#visu, #visu2 {
  height : 50%;
189
  width : 100%;
190 191
}

192
#visu2 {
193
  max-height: calc(~"100%" - @margin)
194 195
}

196 197 198 199 200
line {
  stroke: @secondary;
  stroke-width: 0.5;
}

201 202
                        /* left-container - info */

203
#info{
Ryan Herbert's avatar
Ryan Herbert committed
204
  flex: 0 0 auto;
205
  font-size: 13px;
206
  padding:3px;
207
  background : @background;
208 209
}

210 211 212 213 214 215
.info_line {
    border-bottom: solid;
    border-bottom-width: 1px;
    border-color: @border;
}

216 217 218 219
.locus_line {
  text-align: center;
}

220 221 222 223 224
.info_row {
    min-width: 100px;
    display: inline-block;
}

225 226 227 228 229 230
.locus_row {
  margin: 0 10px;
  display: inline-block;
  text-align: left;
}

231
.info_row_content {
232
    width: 100%;
233 234 235
    display: inline-block;
}

236 237 238 239
#info_data_file
{
  font-size: 200%;
}
240 241 242 243 244 245 246 247

						  /*Style polyline / graph*/

.background_graph{
  fill : @background
}

.background_graph2{
248
  fill : @background
249 250 251 252 253
}

.graph_line{
  stroke-width : 2.5px;
  cursor:pointer;
254
  stroke: @default;
255 256
}

Marc Duez's avatar
Marc Duez committed
257 258 259 260 261 262 263 264 265 266 267
.graph_data{
    fill: none;
    stroke-width: 8px;
    opacity: 0.3;
    cursor:pointer;
}

.graph_data:hover{
    opacity:0.8;
}

268 269 270 271 272 273 274 275 276 277
.graph_inactive{
  stroke-width : 1.5px;
  cursor:pointer;
  display:none;
}

.graph_select{
  stroke-width : 5px;
  cursor:pointer;
  stroke-dasharray : 20px,5px ;
278
  stroke: @default;
279 280 281 282 283
}

.graph_focus{
  stroke-width : 5px;
  cursor:pointer;
284
  stroke: @select;
285 286
}

287
.axis_m{
288
  stroke : @default ;
289 290 291 292
  opacity : 0.5 ;
  stroke-width : 20px;
}

293 294 295 296
.axis_m_other {
  stroke: @default ;
  opacity: 0.25 ;
  stroke-width: 10px;
297
  display: none;
298 299
}

300
.axis_h{
301
  stroke : @default ;
302 303 304
}

.axis_v{
305
 display: none;
306 307
}

308
.axis_v_hidden, .axis_h_hidden{
309 310 311
 display: none;
}

312 313 314 315 316 317 318 319 320 321
.axis_button, .axis_leg{
  fill : @default;
}

#resolution1{
  fill : @background;
  opacity : 1;
}

#resolution5{
322 323
    fill: @border;
    opacity: 0.6;
324 325
}

326
.graph_time{
327 328 329 330 331 332
  fill : @default ;
  text-anchor:middle;
  font-size : 100%;
}

.graph_time2{
333
  font-weight : bold;
334
  fill : @default ;
335
  text-anchor:middle;
336
  font-size : 120%;
337 338
}

339 340
.graph_text{
  font-weight : bold;
341
  fill : @default ;
342
  text-anchor:end;
343
  dominant-baseline: middle;
344 345
}

346 347 348 349 350
.graph_text2{
  font-weight : bold;
  fill : @default ;
}

351 352 353 354 355
.graph_time:hover{
  cursor:pointer;
  fill : @select;
}

356 357
.graph_menu{
  position: absolute;
358 359
  top: 0px;
  right: 0px;
Marc Duez's avatar
Marc Duez committed
360 361
  min-width: 22px;
  min-height: 18px;
362
  text-align: center;
363 364
  border-bottom: solid;
  border-left: solid;
365 366 367
  border-color: @border;
  background : @background;
}
368 369 370 371 372 373

.graph_list{
  display: none;
}

.graph_listElem:hover{
374
  background : @border;
375
  width: 100%;
Marc Duez's avatar
Marc Duez committed
376
  cursor: move;
377
  cursor: webkit-grab;
378 379
}

380

381 382 383 384 385 386 387 388 389 390 391 392
							  /*style scatterPlot element*/

.background_sp{
  fill : @background
}

.circle{
  cursor:pointer;
  -webkit-transition: fill 0.2s;
  -o-transition: fill  0.2s;
  -ms-transition: fill 0.2s;
  transition: fill 0.2s;
393
  fill : @default;
394
  stroke-width:4px;
395 396 397 398 399 400 401 402 403 404 405
}

.circle_inactive{
  cursor:pointer;
  opacity: 0.5
}

.circle_select{
  stroke-width : 2.5px;
  stroke : @select;
  cursor:pointer;
406
  fill : @default;
407 408 409 410
}

.circle_focus{
  cursor:pointer;
411
  fill : @select;
412 413 414 415 416 417 418
}

.circle_hidden{
  -webkit-transition: fill 0.2s;
  display:none;
}

419 420 421 422 423 424 425 426 427
.line_active {
  opacity: 1;
  stroke-width: 4px;
}

.line_inactive {
  display: none;
}

428
.sp_legend{
429
  fill : @default ;
430 431
  font-weight : bold;
  text-anchor : middle;
432
  dominant-baseline: middle;
433
  cursor: pointer;
434 435
}

436 437 438 439 440 441 442
.sp_legend2{
  fill : @default ;
  opacity : 0.4;
  text-anchor : middle;
  dominant-baseline: middle;
}

Marc Duez's avatar
Marc Duez committed
443 444
.sp_system{
  position:absolute;
445
  top: -0.5em;
Marc Duez's avatar
Marc Duez committed
446 447
}

Marc Duez's avatar
Marc Duez committed
448
.sp_system_label{
Marc Duez's avatar
Marc Duez committed
449 450 451
  color : @default ;
  height:0px;
  position:relative;
452 453
  -webkit-transition: left 0.5s;
  transition: left 0.5s;
Marc Duez's avatar
Marc Duez committed
454 455 456
}

.sp_system_label:hover{
Marc Duez's avatar
Marc Duez committed
457
  color : @select ;
Marc Duez's avatar
Marc Duez committed
458 459 460
  cursor: pointer;
}

461
.sp_rotated_legend{
462
  fill : @default ;
463 464
  font-weight : bold;
  text-anchor : left;
465
  cursor: pointer;
466 467
}

Marc Duez's avatar
Marc Duez committed
468 469 470 471 472 473 474 475 476 477
.sp_legend_focus{
  fill : @select;
  font-weight : bold;
  text-anchor : middle;
}

.sp_hidden_legend{
  display : none;
}

478
.sp_line , .sp_subline{
479
  stroke : @default ;
480 481 482 483 484 485 486 487 488 489 490
}

.sp_subline{
  stroke-width : 0.5px;
  stroke-dasharray: 6,6;
}

.sp_subline_hidden{
  stroke-width : 0px;
}

491
							  /*style list/data element*/
492 493 494 495


/*Metric*/

Marc Duez's avatar
Marc Duez committed
496
@top_container_height : 32px;
497
@width_left_container : 475px;
498
@width_highlight : 300px;
499
@width_stats: 350px;
500 501 502
@width_scrollbar : 30px;
@width_clusterBox :16px;
@width_starBox : 16px;
503
@width_thumbBox : 16px;
504
@width_axisBox : 52px;
505
@width_infoBox : 20px;
506
@width_systemBox : 12px;
507
@width_listElem : (@width_left_container - @width_scrollbar);
508
@margin : 6px;
509 510
@margin_nameBox : 10px;

Marc Duez's avatar
Marc Duez committed
511
.list:hover, .tagElem:hover, .data:hover{
512
  background :@border;
513 514
}

Marc Duez's avatar
Marc Duez committed
515 516 517 518 519 520
#list, #data{
    border-top: solid;
    border-width: @margin;
    border-color : @border;
}

Ryan Herbert's avatar
Ryan Herbert committed
521
#list{
522
  flex: 1 1 auto;
523
  height: 0px; // set scrollbar flex will override height
524
  max-height: 100%;
525 526
}

Ryan Herbert's avatar
Ryan Herbert committed
527
#data{
528
  flex: 0 1 auto;
529
  border: none;  
530 531 532
}

#list_clones{
533
  flex: 1 1 auto;
534 535
  overflow-y : scroll;
  overflow-x : hidden;
536
  height : calc(~"100% - 30px");  /*100% - list_menu height */
537
  max-height: 100%;
538
  width: 100%;
539 540 541
  padding:2px;
}

Marc Duez's avatar
Marc Duez committed
542
#list_data{
543 544 545 546
    display: block;
    border-width: 4px;
    border-color: @border;
    overflow-y: scroll;
Marc Duez's avatar
Marc Duez committed
547 548 549 550 551 552 553 554 555 556 557 558
}

.data_name{
  margin-left : 40px;
  width: 300px;
  margin-right : 10px;
  display : inline-block;
}

.data_value{
}

559 560 561 562
.data {
    padding-right: 30px;
}

563
.list{
564
  width : 	445px;
565 566 567 568 569 570
  display :	block;
  padding : 	2px;
}

.listElem{
  width : @width_listElem;
571
  font-size: 13px;
572 573 574 575 576
  cursor:pointer;
  -webkit-transition: color 0.2s;
  -o-transition: color  0.2s;
  -ms-transition: color 0.2s;
  transition: color 0.2s;
577
  padding: 1px 4px 4px 1px;
578 579 580 581 582 583 584
  height :14px;
}

.selected{
  color : @select;
}

585
.nameBox {
586
  width: 300px;
587 588 589 590 591 592 593 594 595
  margin-right: @margin_nameBox;
  overflow: hidden;
  display: inline-block;
  height: 16px;
  position: relative;
  float:left;
  white-space:nowrap;
}

596 597 598 599
.seq-fixed .nameBox {
  width: 250px;
}

600
.list .axisBox, .axisBox span {
601
  max-width: @width_axisBox;
602 603 604
  float: right;
  overflow: hidden;
  display: inline-block;
605
  max-height: 16px;
606 607 608
  position: relative;
}

609
.segmenter .axisBox>span {
610 611 612
  margin : 0 3px;
}

613
.identityBox {
614
  font-family: @default-font;
615
  text-align: right;
616 617
}

618
.identityBad {
619 620 621
  color: #800;
}

622
.identityGood {
623
  color: #080;
624 625
}

626 627 628 629 630 631
.starBox{
  width: @width_starBox;
  float: right;
  height: 16px;
  display: inline-block;
  user-select :none;
632
  overflow: hidden;
633 634
}

635 636 637 638 639 640 641 642 643 644

.thumbBox{
  width: @width_thumbBox;
  float: right;
  height: 16px;
  display: inline-block;
  user-select :none;
  overflow: hidden;
}

645
.infoBox{
Mathieu Giraud's avatar
Mathieu Giraud committed
646 647
  font-size: 90%;
  width: 16px;
648
  float: right;
Marc Duez's avatar
Marc Duez committed
649
  height: 15px;
650
  display: inline-block;
651
  user-select: none;
652
  text-align: center;
653 654
  border: solid;
  border-width: 1px;
655
  border-color: @background;
656
  border-radius: 5px;
Marc Duez's avatar
Marc Duez committed
657
  margin: 0px 1px;
658
}
Marc Duez's avatar
Marc Duez committed
659
.infoBox:hover{
660 661 662 663
  background: @highlight;
}
.infoBox-open{
  background: @border;
664 665
}

666
.systemBox, .systemBoxMenu {
667 668
    display: inline-block;
    width: @width_systemBox;
669 670 671
    height: @width_systemBox;
    line-height: @width_systemBox;
    vertical-align: middle;
672 673 674
    text-align: center;
    border-radius: 3px;
    border-width: 1px;
675
    margin: 2px 4px 4px 2px;
676 677 678
    color: #fff;
    color: rgba(255, 255, 255, 0.7);
    font-size: 70%;
679
    background: @border;
680 681
}

682 683 684 685 686 687
.systemBox {
    float: left;
}

.systemBoxNameMenu {
    display: inline-block;
688 689
    min-width: 60px;
    padding: 2px 2px 1px 2px;
690
    cursor : pointer;
691 692
}	      

693 694 695
.hiddenCheckBox {
    display : none;
}
696

697 698 699 700 701 702 703 704 705 706 707 708
.clusterBox{
  width: @width_clusterBox;
  float: left;
  height: 12px;
  display: inline-block;
  text-align :center
}

.delBox{
  height: 12px;
  width: 12px;
  display: inline-block;
709 710 711 712
  float: left;
  user-select: none;
  margin-right: 8px;
  margin-left: 2px;
713 714 715 716 717
}



#new_name{
718
  font-family: @monospace-font;
719 720 721
  font-weight:bold;
}

722 723 724 725 726
.list_sort{
    margin-right : 30px;
    float: right;
}

727 728
							  /*style segmenter element*/
.list_select{
Marc Duez's avatar
Marc Duez committed
729
  width : 445px;
730 731 732 733 734 735
  display : block;
  border : solid;
  border-width : 2px;
  padding : 0px;
  border-color : @select;
}
Marc Duez's avatar
Marc Duez committed
736
.list_focus{
Marc Duez's avatar
Marc Duez committed
737
    background : @border !important;
Marc Duez's avatar
Marc Duez committed
738
}
739 740

.sequence-line { 
Marc Duez's avatar
Marc Duez committed
741
    white-space: nowrap;
742
}
Marc Duez's avatar
Marc Duez committed
743
.sequence-line:hover { 
744 745 746
    font-weight: bold;
}

747
.seq-fixed {
748 749
  position: relative;
  display: inline-block;
750 751
//  width: (@width_left_container - @width_scrollbar);
  width : auto;
752 753
  margin: -2px;
  padding: 2px;
754 755 756 757 758 759 760 761 762
  padding-left: 5px;
  left:0px;
  cursor:pointer;
  z-index:1;
}

.seq-mobil {
  margin-left: @width_left_container;
  letter-spacing: 0.12em;
763
  font-family : @monospace-font; 
Marc Duez's avatar
Marc Duez committed
764
  position: relative;
765
  bottom: 3px;
766
  font-size:1em;
767 768
}

769 770 771
.seq-marge {
  word-spacing: normal;
}
772 773

.V {
774 775
  color: #000;
  background-color: #efe;
776
}
Marc Duez's avatar
Marc Duez committed
777
.D {
778 779
  color: #000;
  background-color: #fee;
780 781
}
.J {
782 783
  color: #000;
  background-color: #ffffe2;
784 785 786
}
.N, .N + .J, .N + .D {
  box-shadow: -1px 0 0 @default;
Marc Duez's avatar
Marc Duez committed
787
}
Mathieu Giraud's avatar
Mathieu Giraud committed
788 789

.highlight_border, .highlight_seq {
Marc Duez's avatar
Marc Duez committed
790 791 792
    display: inline-flex;
    height: 1em;
    position: relative;
Mathieu Giraud's avatar
Mathieu Giraud committed
793 794 795
}
.highlight_border {
    border-bottom: solid;
Marc Duez's avatar
Marc Duez committed
796
    margin: -1px;
797
    border-width: 4px;
Marc Duez's avatar
Marc Duez committed
798 799 800 801 802 803
    -khtml-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
804 805
    opacity: 0.3;
    bottom: 1px;
Marc Duez's avatar
Marc Duez committed
806
}
Mathieu Giraud's avatar
Mathieu Giraud committed
807 808 809 810 811 812 813 814 815
.highlight_seq {
  top: .9em;
  padding-bottom: 1px;
  opacity: 0.6;

  font-size: 70%;
  letter-spacing: .428em; /* (1-.7) / .7 */
  left: .214em;
}
816 817 818 819 820
.highlight{
    display: inline-block;
    width: 0px;
    word-spacing: normal;
}
821
span .substitution, span .indel, span .insertion, span .deletion {
Mathieu Giraud's avatar
Mathieu Giraud committed
822 823
  font-weight: bold;
  color: #800;
Marc Duez's avatar
Marc Duez committed
824
}
825 826 827
span .substitution {
  border-bottom: 1px solid #800;
}
828
span .silent {
829 830
  border-bottom: 3px double #008;
  color: #008;
831
}
Marc Duez's avatar
Marc Duez committed
832

Mathieu Giraud's avatar
Mathieu Giraud committed
833
span .end-codon {
834 835 836
  box-shadow: 1px 0 0 @default;
}
span .end-codon-not-first {
Mathieu Giraud's avatar
Mathieu Giraud committed
837 838
}

839 840
							  /*tag*/

Marc Duez's avatar
Marc Duez committed
841
.tagSelector{
842 843 844 845 846 847 848
  padding: 5px;
  position: absolute;
  left: @width_left_container;
  top: 195px;
  width:220px;
  border:solid;
  display:none;
Marc Duez's avatar
Marc Duez committed
849
  background: @background;
850 851
}

Marc Duez's avatar
Marc Duez committed
852
.dataMenu{
853 854 855 856 857 858 859 860 861 862
  padding: 5px;
  position: absolute;
  left: @width_left_container;
  bottom: 195px;
  width:220px;
  border:solid;
  display:none;
    background: @background;
}

863 864 865 866 867 868 869 870 871 872 873 874
.tagElem{
  margin:1px;
  height: 20px;
}

.tagElem:hover{
  border-color : white;
  cursor : pointer;
  color : @select;
}

.tagColorBox {
Mathieu Giraud's avatar
Mathieu Giraud committed
875 876 877
  margin-right: 5px;
  height: 14px;
  width: 14px;
878 879 880
  display: inline-block;
  cursor:pointer;
  user-select :none;
Mathieu Giraud's avatar
Mathieu Giraud committed
881 882
  margin-bottom: -3px;
  margin-top: 3px;
883 884
}

885 886 887 888
#normalized_size {
    width: 80px;
}

889 890 891 892 893 894 895 896
							  /*menu*/

.menu{
  padding:3px;
  float:left;
  margin:5px;
  cursor:pointer;
  background:inherit;
897 898
}

899 900 901 902 903 904

.menu a {
  text-decoration: none;
  color: inherit ;
}

905 906 907 908 909 910 911 912 913 914 915 916
.submenu{
    width: 200px;
    display: inline-table;
}

.menu_box {
    margin: 0px;
    padding: 5px;
    border-top: solid;
    border-width: 1px;
    border-color:@border;
}
917

918 919
.submenu{
    width: 200px;
920
    display: inline-table;
921 922 923 924 925 926 927 928 929 930
}

.menu_box {
    margin: 0px;
    padding: 5px;
    border-top: solid;
    border-width: 1px;
    border-color:@border;
}

Marc Duez's avatar
Marc Duez committed
931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946
.div-menu-selector{
    float: right;
    margin: -2px 0px 0px 5px;
}

.menu-selector {
    background: @background;
    color: #657B83;
    height: 18px;
    width: 60px;
    -webkit-appearance: none;
    border: solid;
    border-width: 1px;
    border-radius: 2px;
}

947
#file_menu, #axis_choice, #add_clone_menu {
948
  z-index:2;
949 950 951
  border:solid;
  position: fixed;
  top: 200px;
952 953 954
  min-width:400px;
  margin-left:-250px;
  left :50%;
955
  font-size: 13px;
956
  padding: 10px;
957
  background:@background;
958 959 960
  display:none;
}

961 962 963 964 965
#add_clone_menu {
  margin-left: -325px;
  min-width: 600px;
}

966 967 968
#add_clone_menu > #addclone_input {
  margin-bottom: 10px;
  resize: none;
969
  height: 12em;
970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988
  width: 98%;
  border: 1px solid silver;
  border-radius: 0.1em;
  padding: 1%;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
  transition-property: border, box-shadow;
  transition-duration: 0.2s, 0.2s;
  transition-timing-function: linear, linear;
  transition-delay: 0s, 0s;
}

#add_clone_menu > #addclone_input.error {
  border: 1px solid @message_border_red;
989 990 991 992 993
}

.buttonSelector {
  background : @background;
  cursor:pointer;
994
  font-size: 13px;
995 996 997 998 999
  margin :2px;
  display:block;
  text-align:left;
}

1000
.systemBoxNameMenu:hover, .focus_selected:hover, .button:hover,.button_right:hover, .buttonSelector:hover, .button2:hover{
1001
  background : @border;
1002
  color : @select;
1003
  cursor: pointer;
1004 1005 1006 1007 1008 1009
}


/*	//////////////////////////////////////////////////////////////	*/


1010
.popup_container{
1011
  z-index:20;
1012
  border:solid; 
marc's avatar
marc committed
1013 1014
  min-width:500px;
  max-width:80%;
1015
  font-size: 13px; 
1016 1017 1018
  padding: 10px;
  background: @background;
  display:none;
marc's avatar
marc committed
1019 1020 1021 1022 1023 1024 1025
  position:fixed;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%,-50%);
  -moz-transform:translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
   transform: translate(-50%,-50%);
1026 1027
}

1028
/* Main style for <a> Used in particular in .popup_container, on login screen, in news, in links to results (for patient list and patient info)  */
Vidjil Team's avatar
Vidjil Team committed
1029 1030 1031 1032


a {
  color: @default;
1033 1034
}

Vidjil Team's avatar
Vidjil Team committed
1035 1036
a:hover {
  color: @select;
1037
}
Mathieu Giraud's avatar
Mathieu Giraud committed
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047

a.tag-link {
  color: black;
  background-color: #eee;
  border-radius: 5px;
  padding: 2px;
  font-size: 85%;
  text-decoration: none;
}

Vidjil Team's avatar
Vidjil Team committed
1048
/* ----------------- */
1049

1050
.modal {
1051 1052 1053
  z-index:3;
  border:solid; 
  position: fixed; 
1054
  font-size: 13px; 
1055
  padding: 10px;
Marc Duez's avatar
Marc Duez committed
1056
  background: @background;
1057
  display:none;
1058 1059 1060 1061 1062 1063 1064

  &.data-container, &.info-container{
    top: 50px;
    left: 20px + @width_left_container;
    max-width: calc(~"100%" - @width_left_container + 60px);
    height: calc(~"100%" - 215px);
  }
1065 1066 1067 1068 1069 1070 1071 1072

  &.jstree-container {
    padding-top: 30px;
    top: 10%;
    left: 25%;
    width: 50%;
    height: 70%;
  }
1073 1074
}

1075
.data-msg, .info-msg{
1076
  overflow-x: auto;
1077 1078 1079 1080
  height : 100%;
  width : 100%;
}

1081
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, #segmenter_axis_menu, .seq-fixed{
1082 1083 1084 1085 1086
 background : @background;
}

.closeButton{
  position: absolute;
1087 1088
  top: 0px;
  right: 0px;
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105
  border: solid;
  background: inherit;
  border-radius: 20px;
  width: 15px;
  height: 15px;
  text-align: center;
  font-weight: bolder;
  cursor: pointer;
  padding: 1px;
  font-size: 90%; 
  color: @border;
}

.closeButton:hover{
  color: @select;
}

1106
.button, .button_right, .button_left{
1107
  cursor:pointer;
1108
  font-size: 13px;
Marc Duez's avatar
Marc Duez committed
1109
  padding: 0px 3px;
1110 1111
  margin-right:5px;
  margin-left:5px;
Marc Duez's avatar
Marc Duez committed
1112
  min-width : 16px;
1113
  color: @default;
Marc Duez's avatar
Marc Duez committed
1114 1115
}

1116 1117 1118 1119
div.button {
    display: inline;
}

1120 1121 1122 1123
.button_next {
    margin-left: -8px ;
}

1124 1125 1126 1127
.button_right{
    float: right;
}

1128 1129
.button_left {
    float: left;
1130
    margin-right: -27px;
1131 1132
}

Marc Duez's avatar
Marc Duez committed
1133 1134 1135 1136 1137 1138 1139 1140
.button2 {
    border: solid;
    border-width: 1px;
    padding: 3px;
    margin: 3px;
    display: inline-block;
    cursor: pointer;
    background: @border;
Marc Duez's avatar
Marc Duez committed
1141
    width: auto;
Marc Duez's avatar
Marc Duez committed
1142
    text-align: center;
Marc Duez's avatar
Marc Duez committed
1143 1144
    padding-left: 10px;
    padding-right: 10px;
1145 1146 1147 1148
}

.smallbutton {
    cursor:pointer;
1149
    font-size: 13px;
1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170
    text-decoration:underline;
}

#logo
{
  font-size: 130%;
  font-weight: bold;
  opacity: 1;
  padding: 5px 20px ;
  cursor: pointer;
}

span.logo
{
  font-size: 60% ;
  font-weight: bold;
  vertical-align: super;
  opacity: .8;
  color: #f88;
}

1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
.bot-bar {
    -khtml-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    height: 20px;
    border-bottom: solid;
    width: 100%;
    padding-top: 2px;
}

Marc Duez's avatar
Marc Duez committed
1183
.menu-segmenter {
1184 1185
    position: relative;
    float: left;
1186
    width: @width_left_container +200;
1187 1188
}

Mathieu Giraud's avatar
Mathieu Giraud committed
1189 1190 1191 1192 1193 1194
#toIMGTSeg {
    width: 12px;
    display: inline-block;
    text-align: center;
}

1195 1196 1197
.menu-highlight {
    position: relative;
    float: left;
1198
    width: eval(@width_highlight);
1199 1200
}

1201
.devel-mode, .beta-mode {
1202 1203 1204
    display: none;
}

1205 1206 1207
.focus {
    position: relative;
    text-align: center;
1208
    float: left;
1209
    width: calc(~"100%" - (@width_left_container +  @width_stats + @width_highlight + 50));
1210
    overflow: hidden;
1211
    height: 1.1em;
1212 1213 1214 1215 1216 1217 1218
}
.stats {
  position: relative;
  text-align: right;
  float: right;
  width: @width_stats - 3px;
  padding-right: 3px;
1219 1220
}

1221
.segmenter {
1222
    overflow-x: scroll !important; 
1223
    overflow-y: auto;
1224
    height : 100px;
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
}

.selector{
  display: none;
  position: fixed;
  margin-right: -5px;
  padding: 3px;
  border: solid;
  background: inherit;
  text-center: left;
  min-width: 150px;
  margin-left: -6px;
  border-top: none;
Marc Duez's avatar
Marc Duez committed
1238
  margin-top: calc(@top_container_height - 24px);
1239
  z-index:5;
1240
  overflow: hidden;
1241 1242
}

1243 1244 1245 1246
#bot-placeholder {
  flex: 0 0 135px;
}

1247 1248
#bot-container {
  position: fixed;
1249 1250
  left: 0;
  bottom: 0;
1251
  width: 100%;
1252 1253 1254
  border-top: solid;
  border-width: 6px;
  min-height: 125px;
1255 1256
}

1257 1258 1259 1260 1261
#segmenter {
  display: flex;
  flex-flow: column;
}

1262 1263 1264 1265 1266
.tn{
  width:120px;
  display:inline-table;
}

1267
#list_menu{
1268
  flex: 0 1 auto;
1269 1270 1271 1272 1273 1274 1275 1276
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  border-bottom:solid;
  padding:2px;
  width: 100%;
Marc Duez's avatar
Marc Duez committed
1277
  border-bottom-width: 2px;
1278 1279
}

1280 1281 1282 1283 1284
#filter_input
{
  width: 200px;
}

1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
.tagD{
  margin-left: 15px;
  width: 25px;
  display : inline-block;
  float : right;
}

.center{
  text-align: center;
}

.gradient{
  background: rgb(61,36,182); 
  background: -moz-linear-gradient(left, rgb(61,36,182) 0%, rgb(36,72,181) 10%, rgb(36,135,184) 20%, rgb(36,183,171) 30%, rgb(36,184,110) 40%, rgb(36,183,48) 50%, rgb(85,184,36) 60%, rgb(146,183,36) 70%, rgb(184,159,36) 80%, rgb(178,95,35) 90%, rgb(184,36,36) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgb(61,36,182)), color-stop(10%,rgb(36,72,181)), color-stop(20%,rgb(36,135,184)), color-stop(30%,rgb(36,183,171)), color-stop(40%,rgb(36,184,110)), color-stop(50%,rgb(36,183,48)), color-stop(60%,rgb(85,184,36)), color-stop(70%,rgb(146,183,36)), color-stop(80%,rgb(184,159,36)), color-stop(90%,rgb(178,95,35)), color-stop(100%,rgb(184,36,36))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgb(61,36,182) 0%,rgb(36,72,181) 10%,rgb(36,135,184) 20%,rgb(36,183,171) 30%,rgb(36,184,110) 40%,rgb(36,183,48) 50%,rgb(85,184,36) 60%,rgb(146,183,36) 70%,rgb(184,159,36) 80%,rgb(178,95,35) 90%,rgb(184,36,36) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgb(61,36,182) 0%,rgb(36,72,181) 10%,rgb(36,135,184) 20%,rgb(36,183,171) 30%,rgb(36,184,110) 40%,rgb(36,183,48) 50%,rgb(85,184,36) 60%,rgb(146,183,36) 70%,rgb(184,159,36) 80%,rgb(178,95,35) 90%,rgb(184,36,36) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgb(61,36,182) 0%,rgb(36,72,181) 10%,rgb(36,135,184) 20%,rgb(36,183,171) 30%,rgb(36,184,110) 40%,rgb(36,183,48) 50%,rgb(85,184,36) 60%,rgb(146,183,36) 70%,rgb(184,159,36) 80%,rgb(178,95,35) 90%,rgb(184,36,36) 100%); /* IE10+ */
  background: linear-gradient(to right, rgb(61,36,182) 0%,rgb(36,72,181) 10%,rgb(36,135,184) 20%,rgb(36,183,171) 30%,rgb(36,184,110) 40%,rgb(36,183,48) 50%,rgb(85,184,36) 60%,rgb(146,183,36) 70%,rgb(184,159,36) 80%,rgb(178,95,35) 90%,rgb(184,36,36) 100%); /* W3C */
1304
  filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d24b6', endColorstr='#b82424',GradientType=1 )"; /* IE6-9 */
1305
  width :180px;
Mathieu Giraud's avatar
Mathieu Giraud committed
1306 1307
  height: 8px;
  margin-top: 4px;
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
  display: inline-block;
}

#fps{
  float: right;
  position: relative;
  margin: 5px ;
  height:0px;
  opacity:0.5;
}

#test_result{
1320
  font-family : @monospace-font;
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
  font-weight: bold;
  position: absolute;
  width: 100%;
  top: 0px;
  height: 100%;
  background: rgba(0,0,0,0.5);
  padding: 25px;
  color: grey;
}

Marc Duez's avatar
Marc Duez committed
1331
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, .popup_container, #file_menu, .tagSelector, .closeButton, #axis_choice
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347
{
  border-color: @border; 
}

#info_window td{
  width : 300px;
  max-width : 300px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  border-style:solid;
  border-color: @border;
  border-width :1px;
  text-align: center;
  vertical-align: middle;
}

Marc Duez's avatar
Marc Duez committed
1348
#info_timepoint td{
1349 1350
  min-width : 150px;
  max-width : 700px;
Marc Duez's avatar
Marc Duez committed
1351 1352 1353 1354 1355 1356 1357 1358 1359
  overflow-wrap: break-word;
  word-wrap: break-word;
  border-style:solid;
  border-color: @border;
  border-width :1px;
  vertical-align: middle;
}

#info_window table, #info_timepoint table{
1360 1361 1362 1363 1364
  border-style:solid;
  border-color: @border;
  border-collapse: collapse;
}

Marc Duez's avatar
Marc Duez committed
1365
#info_window table .header, #info_timepoint table .header{
1366
  border-width : 2px;
1367
  background-color: @border;
1368 1369
}

1370 1371 1372 1373
span.ok { color: green; }
text.ok { color: green; }
span.info { color: blue; }
text.info { color: blue; }
Mathieu Giraud's avatar
Mathieu Giraud committed
1374 1375 1376 1377
span.warn, span.warning { color: orange; }
text.warn, text.warning { fill: orange; }
span.error, span.fatal, span.alert { color: red; }
text.error, text.fatal, text.alert { fill: red; }
Mathieu Giraud's avatar
Mathieu Giraud committed
1378

1379 1380 1381 1382 1383 1384 1385
span.warningReads {
                  margin-left: .5em;
                  display:inline-block;
                  width: 1em;
                  text-align:center;
                  cursor: help}

1386
.sp_menu_anchor{
Marc Duez's avatar
Marc Duez committed
1387 1388 1389 1390 1391
    position: relative;
    top: 0px;
    left: 0px;
}

1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
.visu2_menu_anchor {
  position: absolute;
  bottom: @margin;
  right: 0px;
}

.sp_menu_anchor, .visu2_menu_anchor {
  width: 0px;
  height: 0px;
}


1404
.sp_menu{
Marc Duez's avatar
Marc Duez committed
1405 1406
    border-bottom: solid;
    border-right: solid;
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420
}

.visu2_menu {
  border-top: solid;
  border-left: solid;
  text-align: right;
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.sp_menu, .visu2_menu {
    min-width: 22px;
    min-height: 18px;
Marc Duez's avatar
Marc Duez committed
1421
    border-color: @border;
1422
    background: @background;
Marc Duez's avatar
Marc Duez committed
1423
    display: inline-block;
1424
    padding: 2px;
Marc Duez's avatar
Marc Duez committed
1425 1426
}

1427
.sp_menu_content, .visu2_menu_content {
Marc Duez's avatar
Marc Duez committed
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437
    padding: 0px;
    width: 0px; 
    height: 0px; 
    opacity: 0;
    font-size: 0%;
    overflow: hidden;
    transition-property: all;
    transition-duration: 0.2s;
}

1438 1439
.sp_menu:hover .sp_menu_content,
.sp_menu_content:focus {
Marc Duez's avatar
Marc Duez committed
1440 1441 1442
    padding: 8px 0px 0px 0px;
    width: 180px; 
    height: 130px;
1443 1444 1445 1446
}

.visu2_menu:hover .visu2_menu_content,
.visu2_menu_content:focus {
1447
  width: 100px;
1448 1449 1450 1451 1452 1453 1454
  height: 45px;
}

.sp_menu:hover .sp_menu_content,
.visu2_menu:hover .visu2_menu_content,
.sp_menu_content:focus,
.visu2_menu_content:focus {
Marc Duez's avatar
Marc Duez committed
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488
    font-size: 100%;
    opacity: 1;
}

.sp_menu_mode{
    display: flex;
}

.sp_menu_icon{
    width: 40px;
    padding: 2px 2px 0px 2px;
    border: solid;
    border-width: 2px;
    border-radius: 5px;
    margin: 5px auto;
    border-color : @background;
}

.sp_menu_icon:hover{
    background : @border;
}

.sp_selected_mode{
    border-color : @default;
}

.sp_menu_icon svg{
    fill: @default;
}

.sp_menu_icon svg:hover{
    fill: @highlight;
}

1489 1490 1491 1492 1493 1494 1495
.sp_selector{
    fill: @select;
    stroke-width: 2px;
    stroke: @select;
    fill-opacity: 0.2;
}

Marc Duez's avatar
Marc Duez committed
1496 1497 1498 1499 1500
.axis_select {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}
1501 1502

.axis_select select {
1503
    background: @background;
1504
    color: @default;
Marc Duez's avatar
Marc Duez committed
1505 1506
    height: 20px;
    width: 120px;
1507
    -webkit-appearance: none;
1508
    border: solid;
Marc Duez's avatar
Marc Duez committed
1509 1510 1511
    border-width: 1px;
    border-radius: 2px;
    margin: 2px auto;
1512 1513 1514 1515 1516
}

.axis_select_graph {
    top: 0px;
    display: none;
1517 1518 1519 1520 1521
}

.axis_select select[selected=selected] {
   color: @select;
}
1522 1523

#visu-separator {
1524
    position: relative;
1525
    height: @margin;
1526
    cursor: move;
1527
    cursor: -webkit-grab;
1528
    background: @border;
1529
}
1530

1531 1532 1533 1534 1535 1536 1537 1538 1539
#bot-separator {
    background: @border;
    width: 100%;
    height: @margin;
    cursor: pointer;
    position: relative;
    top: -@margin;
}

1540 1541 1542 1543
#vertical-separator {
    position: relative;
    float: left;
    height: 100%;
1544
    width: @margin;
Marc Duez's avatar
Marc Duez committed
1545
    line-height: calc(~"100% - 1px");
1546
    background : @border;
Marc Duez's avatar
Marc Duez committed
1547
    cursor: pointer;
1548 1549
}

1550
#visu-separator:hover , #vertical-separator:hover, #bot-separator:hover {
1551
    background: @highlight;
1552
}
Marc Duez's avatar
Marc Duez committed
1553

Mathieu Giraud's avatar
Mathieu Giraud committed
1554 1555 1556 1557
#norm_button {
  width: 7ex;
}

Marc Duez's avatar
Marc Duez committed
1558 1559 1560 1561 1562
.edit_button {
    float: right;
    margin-right: 2px;
    cursor: pointer;
}
1563

1564
.db_div{
Marc Duez's avatar
Marc Duez committed
1565
  z-index:5;
1566
  position: fixed; 
1567 1568 1569
  top: 35px;
  width:100%;
  height: calc(~"100% - 35px");
1570 1571 1572
  font-size: 14px; 
  background: @background;
  display:none;
1573
  left: 0%;
1574
}
1575

1576
.db_msg{
Marc Duez's avatar
Marc Duez committed
1577
    margin : 15px;
1578
    height : calc(~"100% - 30px");
1579
    overflow-y: auto;
Marc Duez's avatar
Marc Duez committed
1580 1581 1582
}

#db_content{
1583
    height : calc(~"100% - 160px");
Marc Duez's avatar
Marc Duez committed
1584
}
Marc Duez's avatar
Marc Duez committed
1585

1586 1587 1588
.db_table{
    width: 100%;
    border-collapse: collapse;
1589 1590 1591
    table-layout: fixed;
}

1592 1593
.db_table td {
    .ellipsis;
1594 1595
}

1596
.table_compare td:hover {
1597 1598 1599
    .ellipsisOverflow;
}

1600 1601 1602 1603
.table_stats td:hover {
    .ellipsisOverflow;
}

1604 1605 1606 1607 1608
.db_table_split{
    text-align:center;
    background-color: @highlight;
}

1609 1610 1611 1612
.db_table_split td {
    border-top: 2ex solid @background;
}

Mathieu Giraud's avatar
Mathieu Giraud committed
1613 1614 1615
.db_table .column_200{    width: 200px;   }
.db_table .column_150{    width: 150px;   }
.db_table .column_100{    width: 100px;   }
Mathieu Giraud's avatar
Mathieu Giraud committed
1616
.db_table .column_50{    width: 50px;   }
Mathieu Giraud's avatar
Mathieu Giraud committed
1617

1618
.db_table .column1{
1619
    width: 100px;
1620 1621 1622
}

.db_table .column2{
1623
    width: 150px;
1624 1625 1626 1627 1628 1629 1630 1631 1632
}

.db_table .column4{
    width: 50px;
}
.db_table .column5{
    width: 20px;
}

1633
.db_table .column_sep {
1634 1635 1636 1637 1638
    width: 50px;
    border: solid;
    border-width: 1px;
    border-color: @background;
    background: @background;
1639 1640
}

1641
h3 .uid {
Mikaël Salson's avatar
Mikaël Salson committed
1642
   font-size: 70%;
1643 1644 1645
   margin: 0 1em;
}

1646 1647 1648 1649
.db_table .uid {
   font-size: 80%;
}

1650
.db_block {
1651 1652 1653 1654
    width : 100%;
    display : inline-block;
}

Marc Duez's avatar
Marc Duez committed
1655
.db_footer{
Ryan Herbert's avatar
Ryan Herbert committed
1656
    display: block;
Marc Duez's avatar
Marc Duez committed
1657 1658
    position: absolute;
    bottom: 5px;