vidjil.less 44.4 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 159 160
  width: -moz-calc(~"100%" - @margin + @margin);
  width: -webkit-calc(~"100%" - @margin + @margin);
  width: calc(~"100%" - @margin + @margin);
161 162
  overflow: hidden;
  background: @background;
163
  margin: @margin;
164 165
}

166 167 168 169 170 171 172 173
#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;
174 175 176
}

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

#visu, #visu2 {
  height : 50%;
191
  width : 100%;
192 193
}

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

198 199 200 201 202
line {
  stroke: @secondary;
  stroke-width: 0.5;
}

203 204
                        /* left-container - info */

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

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

218 219 220 221
.locus_line {
  text-align: center;
}

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

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

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

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

						  /*Style polyline / graph*/

.background_graph{
  fill : @background
}

.background_graph2{
250
  fill : @background
251 252 253 254 255
}

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

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

.graph_data:hover{
    opacity:0.8;
}

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

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

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

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

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

302
.axis_h{
303
  stroke : @default ;
304 305 306
}

.axis_v{
307
 display: none;
308 309
}

310
.axis_v_hidden, .axis_h_hidden{
311 312 313
 display: none;
}

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

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

#resolution5{
324 325
    fill: @border;
    opacity: 0.6;
326 327
}

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

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

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

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

353 354 355 356 357
.graph_time:hover{
  cursor:pointer;
  fill : @select;
}

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

.graph_list{
  display: none;
}

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

382

383 384 385 386 387 388 389 390 391 392 393 394
							  /*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;
395
  fill : @default;
396
  stroke-width:4px;
397 398 399 400 401 402 403 404 405 406 407
}

.circle_inactive{
  cursor:pointer;
  opacity: 0.5
}

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

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

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

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

.line_inactive {
  display: none;
}

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

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

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

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

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

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

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

.sp_hidden_legend{
  display : none;
}

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

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

.sp_subline_hidden{
  stroke-width : 0px;
}

493
							  /*style list/data element*/
494 495 496 497


/*Metric*/

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

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

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

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

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

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

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

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

.data_value{
}

561 562 563 564
.data {
    padding-right: 30px;
}

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

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

.selected{
  color : @select;
}

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

598 599 600 601
.seq-fixed .nameBox {
  width: 250px;
}

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

611
.segmenter .axisBox>span {
612 613 614
  margin : 0 3px;
}

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

620
.identityBad {
621 622 623
  color: #800;
}

624
.identityGood {
625
  color: #080;
626 627
}

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

637 638 639 640 641 642 643 644 645 646

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

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

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

684 685 686 687 688 689
.systemBox {
    float: left;
}

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

695 696 697
.hiddenCheckBox {
    display : none;
}
698

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

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



#new_name{
720
  font-family: @monospace-font;
721 722 723
  font-weight:bold;
}

724 725 726 727 728
.list_sort{
    margin-right : 30px;
    float: right;
}

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

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

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

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

771 772 773
.seq-marge {
  word-spacing: normal;
}
774 775

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

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

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

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

841 842
							  /*tag*/

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

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

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

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

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

887 888 889 890
#normalized_size {
    width: 80px;
}

891 892 893 894 895 896 897 898
							  /*menu*/

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

901 902 903 904 905 906

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

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

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

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

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

Marc Duez's avatar
Marc Duez committed
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
.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;
}

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

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

968 969 970
#add_clone_menu > #addclone_input {
  margin-bottom: 10px;
  resize: none;
971
  height: 12em;
972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990
  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;
991 992 993 994 995
}

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

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


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


1012
.popup_container{
1013
  z-index:20;
1014
  border:solid; 
marc's avatar
marc committed
1015 1016
  min-width:500px;
  max-width:80%;
1017
  font-size: 13px; 
1018 1019 1020
  padding: 10px;
  background: @background;
  display:none;
marc's avatar
marc committed
1021 1022 1023 1024 1025 1026 1027
  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%);
1028 1029
}

1030
/* 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
1031 1032 1033 1034


a {
  color: @default;
1035 1036
}

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

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
1050
/* ----------------- */
1051

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

  &.data-container, &.info-container{
    top: 50px;
    left: 20px + @width_left_container;
    max-width: -moz-calc(~"100%" - @width_left_container + 60px);
    max-width: -webkit-calc(~"100%" - @width_left_container + 60px);
    max-width: calc(~"100%" - @width_left_container + 60px);
    height: -moz-calc(~"100%" - 215px);
    height: -webkit-calc(~"100%" - 215px);
    height: calc(~"100%" - 215px);
  }
1071 1072 1073 1074 1075 1076 1077 1078

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

1081
.data-msg, .info-msg{
1082
  overflow-x: auto;
1083 1084 1085 1086
  height : 100%;
  width : 100%;
}

1087
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, #segmenter_axis_menu, .seq-fixed{
1088 1089 1090 1091 1092
 background : @background;
}

.closeButton{
  position: absolute;
1093 1094
  top: 0px;
  right: 0px;
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111
  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;
}

1112
.button, .button_right, .button_left{
1113
  cursor:pointer;
1114
  font-size: 13px;
Marc Duez's avatar
Marc Duez committed
1115
  padding: 0px 3px;
1116 1117
  margin-right:5px;
  margin-left:5px;
Marc Duez's avatar
Marc Duez committed
1118
  min-width : 16px;
1119
  color: @default;
Marc Duez's avatar
Marc Duez committed
1120 1121
}

1122 1123 1124 1125
div.button {
    display: inline;
}

1126 1127 1128 1129
.button_next {
    margin-left: -8px ;
}

1130 1131 1132 1133
.button_right{
    float: right;
}

1134 1135
.button_left {
    float: left;
1136
    margin-right: -27px;
1137 1138
}

Marc Duez's avatar
Marc Duez committed
1139 1140 1141 1142 1143 1144 1145 1146
.button2 {
    border: solid;
    border-width: 1px;
    padding: 3px;
    margin: 3px;
    display: inline-block;
    cursor: pointer;
    background: @border;
Marc Duez's avatar
Marc Duez committed
1147
    width: auto;
Marc Duez's avatar
Marc Duez committed
1148
    text-align: center;
Marc Duez's avatar
Marc Duez committed
1149 1150
    padding-left: 10px;
    padding-right: 10px;
1151 1152 1153 1154
}

.smallbutton {
    cursor:pointer;
1155
    font-size: 13px;
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176
    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;
}

1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188
.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
1189
.menu-segmenter {
1190 1191
    position: relative;
    float: left;
1192
    width: @width_left_container +200;
1193 1194
}

Mathieu Giraud's avatar
Mathieu Giraud committed
1195 1196 1197 1198 1199 1200
#toIMGTSeg {
    width: 12px;
    display: inline-block;
    text-align: center;
}

1201 1202 1203
.menu-highlight {
    position: relative;
    float: left;
1204
    width: eval(@width_highlight);
1205 1206
}

1207
.devel-mode, .beta-mode {
1208 1209 1210
    display: none;
}

1211 1212 1213
.focus {
    position: relative;
    text-align: center;
1214
    float: left;
1215 1216 1217
    width: -moz-calc(~"100%" - (@width_left_container + @width_stats + @width_highlight + 50));
    width: -webkit-calc(~"100%" - (@width_left_container + @width_stats + @width_highlight + 50));
    width: calc(~"100%" - (@width_left_container +  @width_stats + @width_highlight + 50));
1218
    overflow: hidden;
1219
    height: 1.1em;
1220 1221 1222 1223 1224 1225 1226
}
.stats {
  position: relative;
  text-align: right;
  float: right;
  width: @width_stats - 3px;
  padding-right: 3px;
1227 1228
}

1229
.segmenter {
1230
    overflow-x: scroll !important; 
1231
    overflow-y: auto;
1232
    height : 100px;
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245
}

.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
1246 1247 1248
  margin-top: -moz-calc(@top_container_height - 24px);
  margin-top: -webkit-calc(@top_container_height - 24px);
  margin-top: calc(@top_container_height - 24px);
1249
  z-index:5;
1250
  overflow: hidden;
1251 1252
}

1253 1254 1255 1256
#bot-placeholder {
  flex: 0 0 135px;
}

1257 1258
#bot-container {
  position: fixed;
1259 1260
  left: 0;
  bottom: 0;
1261
  width: 100%;
1262 1263 1264
  border-top: solid;
  border-width: 6px;
  min-height: 125px;
1265 1266
}

1267 1268 1269 1270 1271
#segmenter {
  display: flex;
  flex-flow: column;
}

1272 1273 1274 1275 1276
.tn{
  width:120px;
  display:inline-table;
}

1277
#list_menu{
1278
  flex: 0 1 auto;
1279 1280 1281 1282 1283 1284 1285 1286
  -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
1287
  border-bottom-width: 2px;
1288 1289
}

1290 1291 1292 1293 1294
#filter_input
{
  width: 200px;
}

1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313
.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 */
1314
  filter: "progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d24b6', endColorstr='#b82424',GradientType=1 )"; /* IE6-9 */
1315
  width :180px;
Mathieu Giraud's avatar
Mathieu Giraud committed
1316 1317
  height: 8px;
  margin-top: 4px;
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329
  display: inline-block;
}

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

#test_result{
1330
  font-family : @monospace-font;
1331 1332 1333 1334 1335 1336 1337 1338 1339 1340
  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
1341
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, .popup_container, #file_menu, .tagSelector, .closeButton, #axis_choice
1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
{
  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
1358
#info_timepoint td{
1359 1360
  min-width : 150px;
  max-width : 700px;
Marc Duez's avatar
Marc Duez committed
1361 1362 1363 1364 1365 1366 1367 1368 1369
  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{
1370 1371 1372 1373 1374
  border-style:solid;
  border-color: @border;
  border-collapse: collapse;
}

Marc Duez's avatar
Marc Duez committed
1375
#info_window table .header, #info_timepoint table .header{
1376
  border-width : 2px;
1377
  background-color: @border;
1378 1379
}

1380 1381 1382 1383
span.ok { color: green; }
text.ok { color: green; }
span.info { color: blue; }
text.info { color: blue; }
Mathieu Giraud's avatar
Mathieu Giraud committed
1384 1385 1386 1387
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
1388

1389 1390 1391 1392 1393 1394 1395
span.warningReads {
                  margin-left: .5em;
                  display:inline-block;
                  width: 1em;
                  text-align:center;
                  cursor: help}

1396
.sp_menu_anchor{
Marc Duez's avatar
Marc Duez committed
1397 1398 1399 1400 1401
    position: relative;
    top: 0px;
    left: 0px;
}

1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413
.visu2_menu_anchor {
  position: absolute;
  bottom: @margin;
  right: 0px;
}

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


1414
.sp_menu{
Marc Duez's avatar
Marc Duez committed
1415 1416
    border-bottom: solid;
    border-right: solid;
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430
}

.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
1431
    border-color: @border;
1432
    background: @background;
Marc Duez's avatar
Marc Duez committed
1433
    display: inline-block;
1434
    padding: 2px;
Marc Duez's avatar
Marc Duez committed
1435 1436
}

1437
.sp_menu_content, .visu2_menu_content {
Marc Duez's avatar
Marc Duez committed
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447
    padding: 0px;
    width: 0px; 
    height: 0px; 
    opacity: 0;
    font-size: 0%;
    overflow: hidden;
    transition-property: all;
    transition-duration: 0.2s;
}

1448 1449
.sp_menu:hover .sp_menu_content,
.sp_menu_content:focus {
Marc Duez's avatar
Marc Duez committed
1450 1451 1452
    padding: 8px 0px 0px 0px;
    width: 180px; 
    height: 130px;
1453 1454 1455 1456
}

.visu2_menu:hover .visu2_menu_content,
.visu2_menu_content:focus {
1457
  width: 100px;
1458 1459 1460 1461 1462 1463 1464
  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
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498
    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;
}

1499 1500 1501 1502 1503 1504 1505
.sp_selector{
    fill: @select;
    stroke-width: 2px;
    stroke: @select;
    fill-opacity: 0.2;
}

Marc Duez's avatar
Marc Duez committed
1506 1507 1508 1509 1510
.axis_select {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}
1511 1512

.axis_select select {
1513
    background: @background;
1514
    color: @default;
Marc Duez's avatar
Marc Duez committed
1515 1516
    height: 20px;
    width: 120px;
1517
    -webkit-appearance: none;
1518
    border: solid;
Marc Duez's avatar
Marc Duez committed
1519 1520 1521
    border-width: 1px;
    border-radius: 2px;
    margin: 2px auto;
1522 1523 1524 1525 1526
}

.axis_select_graph {
    top: 0px;
    display: none;
1527 1528 1529 1530 1531
}

.axis_select select[selected=selected] {
   color: @select;
}
1532 1533

#visu-separator {
1534
    position: relative;
1535
    height: @margin;
1536
    cursor: move;
1537
    cursor: -webkit-grab;
1538
    background: @border;
1539
}
1540

1541 1542 1543 1544 1545 1546 1547 1548 1549
#bot-separator {
    background: @border;
    width: 100%;
    height: @margin;
    cursor: pointer;
    position: relative;
    top: -@margin;
}

1550 1551 1552 1553
#vertical-separator {
    position: relative;
    float: left;
    height: 100%;
1554
    width: @margin;
Marc Duez's avatar
Marc Duez committed
1555
    line-height: calc(~"100% - 1px");
1556
    background : @border;
Marc Duez's avatar
Marc Duez committed
1557
    cursor: pointer;
1558 1559
}

1560
#visu-separator:hover , #vertical-separator:hover, #bot-separator:hover {
1561
    background: @highlight;
1562
}
Marc Duez's avatar
Marc Duez committed
1563

Mathieu Giraud's avatar
Mathieu Giraud committed
1564 1565 1566 1567
#norm_button {
  width: 7ex;
}

Marc Duez's avatar
Marc Duez committed
1568 1569 1570 1571 1572
.edit_button {
    float: right;
    margin-right: 2px;
    cursor: pointer;
}
1573

1574
.db_div{
Marc Duez's avatar
Marc Duez committed
1575
  z-index:5;
1576
  position: fixed; 
1577 1578 1579
  top: 35px;
  width:100%;
  height: calc(~"100% - 35px");
1580 1581 1582
  font-size: 14px; 
  background: @background;
  display:none;
1583
  left: 0%;
1584
}
1585

1586
.db_msg{
Marc Duez's avatar
Marc Duez committed
1587
    margin : 15px;
1588
    height : calc(~"100% - 30px");
1589
    overflow-y: auto;
Marc Duez's avatar
Marc Duez committed
1590 1591 1592
}

#db_content{
1593
    height : calc(~"100% - 160px");
Marc Duez's avatar
Marc Duez committed
1594
}
Marc Duez's avatar
Marc Duez committed
1595

1596 1597 1598
.db_table{
    width: 100%;
    border-collapse: collapse;
1599 1600 1601
    table-layout: fixed;
}

1602 1603
.db_table td {
    .ellipsis;
1604 1605
}

1606
.table_compare td:hover {
1607 1608 1609
    .ellipsisOverflow;
}

1610 1611 1612 1613
.table_stats td:hover {
    .ellipsisOverflow;
}

1614 1615 1616 1617 1618
.db_table_split{
    text-align:center;
    background-color: @highlight;
}

1619 1620 1621 1622
.db_table_split td {
    border-top: 2ex solid @background;
}

Mathieu Giraud's avatar
Mathieu Giraud committed
1623 1624 1625
.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
1626
.db_table .column_50{    width: 50px;   }
Mathieu Giraud's avatar
Mathieu Giraud committed
1627

1628
.db_table .column1{
1629
    width: 100px;
1630 1631 1632
}

.db_table .column2{
1633
    width: 150px;
1634 1635 1636 1637 1638 1639 1640 1641 1642
}

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

1643
.db_table .column_sep {
1644 1645 1646 1647 1648
    width: 50px;
    border: solid;
    border-width: 1px;
    border-color: @background;
    background: @background;
1649 1650
}

1651
h3 .uid {
Mikaël Salson's avatar
Mikaël Salson committed
1652
   font-size: 70%;
1653 1654 1655
   margin: 0 1em;
}

1656 1657 1658 1659
.db_table .uid {
   font-size: 80%;
}

1660
.db_block {
1661 1662 1663 1664
    width : 100%;
    display : inline-block;
}

Marc Duez's avatar
Marc Duez committed
1665
.db_footer{
Ryan Herbert's avatar