vidjil.less 15.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


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


html{
  height: 100%;
  padding: 0px;
  margin: 0px;
  min-width: 1160px;
  min-height: 650px
}

body {
  font-family: Arial, Helvetica, Sans-serif;
17
  font-size: 13px;
18 19 20
  height : 100%;
  margin:0px;
  color : @default;
21
  background : @border;
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
}

h2
{
  margin-top: 2px;
}

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

#visu-container{
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  height :100%;
42 43
  margin : auto;
  overflow : hidden;
44
  background : @background;
45 46 47 48 49
}

#top-container {
  height: 28px;
  width: 100%;
50
  background: @background;
51 52 53
}

#mid-container {
Marc Duez's avatar
Marc Duez committed
54
  position : fixed;
55
  top : 28px;
Marc Duez's avatar
Marc Duez committed
56
  bottom : 125px ;
57 58 59
  width: -moz-calc(~"100%" - @margin + @margin);
  width: -webkit-calc(~"100%" - @margin + @margin);
  width: calc(~"100%" - @margin + @margin);
60 61
  overflow: hidden;
  background: @background;
62 63 64 65 66
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
67
  margin: @margin;
68 69
}

70 71 72 73 74 75 76 77
#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;
78 79 80 81 82 83
}

#left-container {
  height:100%;
  width : @width_left_container;
  float : left;
84
  overflow-y : none;
85 86 87 88 89
  -khtml-user-select: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
90 91 92 93
}

#visu, #visu2 {
  height : 50%;
94
  width : 100%;
95 96 97
  overflow:hidden;
}

98 99 100 101
#visu2 {
max-height: calc(~"100%" - @margin)
}

102 103
                        /* left-container - info */

104 105
#info{
  font-family : Courier New,monaco,terminal,courier,system; 
106
  font-size: 13px;
107 108
  height :150px;
  padding:3px;
109
  background : @background;
110 111
}

112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
.info_line {
    border-bottom: solid;
    border-bottom-width: 1px;
    border-color: @border;
}

.info_row {
    padding-left: 20px;
    min-width: 100px;
    display: inline-block;
}

#info_point {
    margin-top: 15px;
}

#info_data_file
{
  font-size: 200%;
}
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164

						  /*Style polyline / graph*/

.background_graph{
  fill : @background
}

.background_graph2{
  fill : @highlight
}

.graph_line{
  stroke-width : 2.5px;
  cursor:pointer;
}

.graph_inactive{
  stroke-width : 1.5px;
  cursor:pointer;
  display:none;
}

.graph_select{
  stroke-width : 5px;
  cursor:pointer;
  stroke-dasharray : 20px,5px ;
}

.graph_focus{
  stroke-width : 5px;
  cursor:pointer;
}

Marc Duez's avatar
Marc Duez committed
165
.axis_m{
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
  stroke : @secondary ;
  opacity : 0.5 ;
  stroke-width : 20px;
}

.axis_h{
  stroke : @secondary ;
  stroke-width : 2px ;
}

.axis_v{
 stroke : @secondary ;
 stroke-width : 2px;
 stroke-dasharray: 6,6;
}

Marc Duez's avatar
Marc Duez committed
182 183 184 185
.axis_v_hidden{
 display: none;
}

186 187 188 189 190 191 192 193 194 195 196 197 198 199
.axis_button, .axis_leg{
  fill : @default;
}

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

#resolution5{
  fill : @background;
  opacity : 0.75;
}

200
.graph_time{
201 202 203 204 205
  font-weight : bold;
  fill : @secondary ;
  text-anchor:middle;
}

206 207 208 209 210 211
.graph_text{
  font-weight : bold;
  fill : @secondary ;
  text-anchor:end;
}

212 213 214 215 216
.graph_time:hover{
  cursor:pointer;
  fill : @select;
}

217 218
.graph_menu{
  position: absolute;
219 220
  top: 0px;
  right: 0px;
Marc Duez's avatar
Marc Duez committed
221 222
  min-width: 22px;
  min-height: 18px;
223
  text-align: center;
224 225
  border-bottom: solid;
  border-left: solid;
226 227 228
  border-color: @border;
  background : @background;
}
229 230 231 232 233 234

.graph_list{
  display: none;
}

.graph_listElem:hover{
235
  background : @highlight;
236
  width: 100%;
Marc Duez's avatar
Marc Duez committed
237
  cursor: move;
238
  cursor: webkit-grab;
239 240
}

241

242 243 244 245 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 281
							  /*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;
}

.circle_inactive{
  cursor:pointer;
  opacity: 0.5
}

.circle_select{
  stroke-width : 2.5px;
  stroke : @select;
  cursor:pointer;
}

.circle_focus{
  cursor:pointer;
}

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

.sp_legend{
  fill : @secondary ;
  font-weight : bold;
  text-anchor : middle;
}

282 283 284 285 286 287
.sp_rotated_legend{
  fill : @secondary ;
  font-weight : bold;
  text-anchor : left;
}

Marc Duez's avatar
Marc Duez committed
288 289 290 291 292 293 294 295 296 297
.sp_legend_focus{
  fill : @select;
  font-weight : bold;
  text-anchor : middle;
}

.sp_hidden_legend{
  display : none;
}

298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
.sp_line , .sp_subline{
  stroke : @secondary ;
  stroke-width : 0.7px;
}

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

.sp_subline_hidden{
  stroke-width : 0px;
}

							  /*style list element*/


/*Metric*/

@width_left_container : 475px;
@width_scrollbar : 30px;
@width_clusterBox :16px;
@width_starBox : 16px;
@width_sizeBox : 60px;
@width_infoBox : 20px;
@width_listElem : (@width_left_container - @width_scrollbar);
324
@margin : 6px;
325
@margin_nameBox : 10px;
326
@width_nameBox : (@width_listElem - @width_starBox - @width_infoBox - @width_sizeBox - @width_clusterBox - @margin_nameBox);
327 328 329 330 331 332


.list:hover, .tagElem:hover{
  background :@highlight;
}

Marc Duez's avatar
Marc Duez committed
333
#list{
Marc Duez's avatar
Marc Duez committed
334 335 336
  height: -moz-calc(~"100% - 190px");
  height: -webkit-calc(~"100% - 190px");
  height: calc(~"100% - 190px");
Marc Duez's avatar
Marc Duez committed
337 338 339 340 341 342 343
}

#list_clones{
  overflow-y : scroll;
  overflow-x : hidden;
  height : 100%;
  font-weight: bold;
344 345 346 347 348 349 350 351 352 353 354
  padding:2px;
}

.list{
  width : 	@width_left_container;
  display :	block;
  padding : 	2px;
}

.listElem{
  width : @width_listElem;
355
  font-size: 13px;
356 357 358 359 360 361 362 363 364 365 366 367 368 369
  cursor:pointer;
  -webkit-transition: color 0.2s;
  -o-transition: color  0.2s;
  -ms-transition: color 0.2s;
  transition: color 0.2s;
  font-weight : bold;
  padding:3px;
  height :14px;
}

.selected{
  color : @select;
}

370 371
.nameBox {
  width: @width_nameBox;
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
  margin-right: @margin_nameBox;
  overflow: hidden;
  display: inline-block;
  height: 16px;
  position: relative;
  float:left;
  white-space:nowrap;
}

.sizeBox{
  width: @width_sizeBox;
  float: right;
  overflow: hidden;
  display: inline-block;
  height: 16px;
  position: relative;
}

.starBox{
  width: @width_starBox;
  float: right;
  height: 16px;
  display: inline-block;
  user-select :none;
396
  overflow: hidden;
397 398 399 400 401 402 403 404 405
}

.infoBox{
  width: @width_infoBox;
  float: right;
  height: 16px;
  display: inline-block;
  user-select :none;
  text-align: center;
406

407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
}

.clusterBox{
  width: @width_clusterBox;
  float: left;
  height: 12px;
  display: inline-block;
  text-align :center
}

.delBox{
  margin:2px;
  height: 12px;
  width: 12px;
  display: inline-block;
  color: white;
  float:left;
  user-select :none;
  margin-right: 5px;
  margin-left: 15px;
}



#new_name{
  font-family: monospace;
  font-weight:bold;
}

							  /*style segmenter element*/
.list_select{
  width : @width_left_container;
  display : block;
  border : solid;
  border-width : 2px;
  padding : 0px;
  border-color : @select;
  background : @highlight;
}

#listSeq {
  font-weight: bold;
  font-family: Courier New,monaco,terminal,courier,system;
450
  font-size: 13px;
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
}

.sequence-line { 
  white-space: nowrap;
}

.seq-fixed {
  position: fixed;
  width: (@width_left_container - @width_scrollbar);
  padding-left: 5px;
  left:0px;
  cursor:pointer;
  z-index:1;
}

.seq-mobil {
  margin-left: @width_left_container;
  letter-spacing: 0.12em;
}

							  /*tag*/

#tagSelector{
  padding: 5px;
  position: absolute;
  left: @width_left_container;
  top: 195px;
  width:220px;
  border:solid;
  display:none;
}

.tagElem{
  margin:1px;
  height: 20px;
}

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

.tagColorBox {
  margin-right:3px;
  height: 16px;
  width: 16px;
  display: inline-block;
  cursor:pointer;
  user-select :none;
  margin-bottom: -4px;
  margin-top: 2px;
}

							  /*menu*/

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

#file_menu, #analysis_menu{
  z-index:2;
  border:solid; 
  position: fixed; 
  top: 200px; 
  min-width:400px;
  margin-left:-250px;
  left :50%;
523
  font-size: 13px; 
524 525 526 527 528 529 530 531
  padding: 10px;
  background:inherit;
  display:none; 
}

.buttonSelector {
  background : @background;
  cursor:pointer;
532
  font-size: 13px;
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547
  margin :2px;
  display:block;
  text-align:left;
}

.button:hover, .buttonSelector:hover{
  background : @highlight;
  color : @select;
}


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


#popup-container{
Marc Duez's avatar
Marc Duez committed
548
  z-index:5;
549 550 551 552 553
  border:solid; 
  position: fixed; 
  top: 250px; 
  left:50% ;
  width:500px;
554
  font-size: 13px; 
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578
  padding: 10px;
  background: @background;
  display:none;
  left: -moz-calc(~"50% - 250px");
  left: -webkit-calc(~"50% - 250px");
  left: calc(~"50% - 250px");
}

#popup-container a {
  text-decoration: none;
  font-weight: bold;
  color: @secondary ;
}

#popup-container a:hover{
  color : @select;
}

#data-container{
  z-index:3;
  border:solid; 
  position: fixed; 
  top: 50px; 
  left: 20px + @width_left_container;
579
  font-size: 13px; 
580
  padding: 10px;
Marc Duez's avatar
Marc Duez committed
581
  background: @background;
582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
  display:none;
  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%" - 200px);
  height: -webkit-calc(~"100%" - 200px);
  height: calc(~"100%" - 200px);
}

#data-msg{
  overflow: auto;
  height : 100%;
  width : 100%;
}

Marc Duez's avatar
Marc Duez committed
597
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, .seq-fixed{
598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
 background : @background;
}

.closeButton{
  position: absolute;
  top: -12px;
  right: -12px;
  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;
}

.button {
  cursor:pointer;
624
  font-size: 13px;
Marc Duez's avatar
Marc Duez committed
625
  padding: 0px 3px;
626 627
  margin-right:5px;
  margin-left:5px;
Marc Duez's avatar
Marc Duez committed
628
  min-width : 16px;
629 630 631 632 633
  /* text-decoration:underline; */
}

.smallbutton {
    cursor:pointer;
634
    font-size: 13px;
635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655
    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;
}

Marc Duez's avatar
Marc Duez committed
656 657 658 659 660 661 662 663 664 665 666 667
.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
668
.menu-segmenter {
Marc Duez's avatar
Marc Duez committed
669 670 671 672 673 674 675 676
    position: relative;
    float: left;
    width: @width_left_container;
}

.focus {
    position: relative;
    text-align: center;
677 678 679 680
    float: left;
    width: -moz-calc(~"100%" - @width_left_container);
    width: -webkit-calc(~"100%" - @width_left_container);
    width: calc(~"100%" - @width_left_container);
Marc Duez's avatar
Marc Duez committed
681 682 683 684 685 686
}

#segmenter {
    overflow-x: scroll; 
    overflow-y: hidden;
    height : 100px;
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705
}

.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;
  margin-top: 4px;
  z-index:5;
}

#bot-container {
  position: fixed;
706
  bottom: 0px;
707 708 709
  left: 0px;
  width: 100%;
  overflow-y:auto;
Marc Duez's avatar
Marc Duez committed
710
  height:125px;
711 712 713 714 715 716 717 718
  overflow-y: hidden;
}

.tn{
  width:120px;
  display:inline-table;
}

Marc Duez's avatar
Marc Duez committed
719
#list_menu{
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  border-top: solid;
  border-bottom:solid;
  padding:2px;
  width: 100%;
}

.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 */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d24b6', endColorstr='#b82424',GradientType=1 ); /* IE6-9 */
  width :180px;
  height:16px;
  display: inline-block;
}

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

#test_result{
  font-family : Courier New,monaco,terminal,courier,system; 
  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
776
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, #popup-container, #file_menu, #tagSelector, .closeButton
777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818
{
  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;
}

#info_window table{
  border-style:solid;
  border-color: @border;
  border-collapse: collapse;
}

#info_window table .header{
  border-width : 2px;
  background-color: @highlight;
}

.sp_selector{
    fill: @select;
    stroke-width: 2px;
    stroke: @select;
    fill-opacity: 0.2;
}

span .substitution{
    background-color : @highlight;
    opacity: 0.8;
    font-weight: lighter;
    text-decoration: underline;
}

.axis_select select {
819
    background: @highlight;
820 821
    color: @default;
    border: 0;
822 823
    height: 16px;
    width: 110px;
824 825 826 827 828 829 830
    -webkit-appearance: none;
}

.axis_select {
    position: relative;
    float: left;
    height: 0px;
831
    top : 2px;
832 833 834 835
}

.axis_select_x {
}
836

837
.axis_select_y {
838
    top: 18px;
839 840 841 842 843
}

.axis_select select[selected=selected] {
   color: @select;
}
Marc Duez's avatar
Marc Duez committed
844 845

#visu-separator {
846
    height: @margin;
847
    cursor: move;
Marc Duez's avatar
Marc Duez committed
848
    cursor: -webkit-grab;
849
    background: @border;
Marc Duez's avatar
Marc Duez committed
850
}
851 852 853 854 855

#vertical-separator {
    position: relative;
    float: left;
    height: 100%;
856
    width: @margin;
857
    line-height: calc(100% - 1px);
858
    background : @border;
859 860
}

861 862
#visu-separator:hover , #vertical-separator:hover {
    background: @highlight;
863
}
Marc Duez's avatar
Marc Duez committed
864 865 866 867 868 869

.edit_button {
    float: right;
    margin-right: 2px;
    cursor: pointer;
}
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885

#db_div{
  z-index:3;
  border:solid; 
  position: fixed; 
  top: 150px; 
  left:50% ;
  width:960px;
  height :400px;
  font-size: 14px; 
  padding: 10px;
  background: @background;
  display:none;
  left: -moz-calc(~"50% - 480px");
  left: -webkit-calc(~"50% - 480px");
  left: calc(~"50% - 480px");
886
}