vidjil.less 15.1 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


/* 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;
  font-size: 14px;
  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
106
107
108
#info{
  font-family : Courier New,monaco,terminal,courier,system; 
  font-size: 14px;
  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
200
201
202
203
204
205
206
207
208
209
210
.axis_button, .axis_leg{
  fill : @default;
}

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

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

.graph_text, .graph_time{
  font-weight : bold;
  fill : @secondary ;
  text-anchor:middle;
}

.graph_time:hover{
  cursor:pointer;
  fill : @select;
}

211
212
.graph_menu{
  position: absolute;
213
214
215
216
  top: 0px;
  right: 0px;
  min-width: 45px;
  min-height: 20px;
217
  text-align: center;
218
219
  border-bottom: solid;
  border-left: solid;
220
221
222
  border-color: @border;
  background : @background;
}
223
224
225
226
227
228

.graph_list{
  display: none;
}

.graph_listElem:hover{
229
  background : @highlight;
230
231
232
  width: 100%;
  cursor: aaa;
  cursor: webkit-grab;
233
234
}

235

236
237
238
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
							  /*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;
}

Marc Duez's avatar
Marc Duez committed
276
277
278
279
280
281
282
283
284
285
.sp_legend_focus{
  fill : @select;
  font-weight : bold;
  text-anchor : middle;
}

.sp_hidden_legend{
  display : none;
}

286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
.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);
312
@margin : 6px;
313
@margin_nameBox : 10px;
314
@width_nameBox : (@width_listElem - @width_starBox - @width_infoBox - @width_sizeBox - @width_clusterBox - @margin_nameBox);
315
316
317
318
319
320


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

Marc Duez's avatar
Marc Duez committed
321
#list{
Marc Duez's avatar
Marc Duez committed
322
323
324
  height: -moz-calc(~"100% - 190px");
  height: -webkit-calc(~"100% - 190px");
  height: calc(~"100% - 190px");
Marc Duez's avatar
Marc Duez committed
325
326
327
328
329
330
331
}

#list_clones{
  overflow-y : scroll;
  overflow-x : hidden;
  height : 100%;
  font-weight: bold;
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
  padding:2px;
}

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

.listElem{
  width : @width_listElem;
  font-family : Courier New,monaco,terminal,courier,system; 
  font-size: 14px;
  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;
}

359
360
.nameBox {
  width: @width_nameBox;
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
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
450
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
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
  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;
}

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

.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;
  font-size: 14px;
}

.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%;
  font-size: 14px; 
  padding: 10px;
  background:inherit;
  display:none; 
}

.buttonSelector {
  background : @background;
  cursor:pointer;
  font-size: 14px;
  margin :2px;
  display:block;
  text-align:left;
}

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


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


#popup-container{
  z-index:3;
  border:solid; 
  position: fixed; 
  top: 250px; 
  left:50% ;
  width:500px;
  font-size: 14px; 
  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;
  font-size: 14px; 
  padding: 10px;
  background:inherit;
  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
584
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, .seq-fixed{
585
586
587
588
589
590
591
592
593
594
595
596
597
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
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
 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;
  font-size: 14px;
  padding: 2px 3px;
  margin :3px;
  margin-right:5px;
  margin-left:5px;
  /* text-decoration:underline; */
}

.smallbutton {
    cursor:pointer;
    font-size: 14px;
    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
643
644
645
646
647
648
649
650
651
652
653
654
.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
655
.menu-segmenter {
Marc Duez's avatar
Marc Duez committed
656
657
658
659
660
661
662
663
    position: relative;
    float: left;
    width: @width_left_container;
}

.focus {
    position: relative;
    text-align: center;
664
665
666
667
    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
668
669
670
671
672
673
}

#segmenter {
    overflow-x: scroll; 
    overflow-y: hidden;
    height : 100px;
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
}

.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;
693
  bottom: 0px;
694
695
696
  left: 0px;
  width: 100%;
  overflow-y:auto;
Marc Duez's avatar
Marc Duez committed
697
  height:125px;
698
699
700
701
702
703
704
705
  overflow-y: hidden;
}

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

Marc Duez's avatar
Marc Duez committed
706
#list_menu{
707
708
709
710
711
712
713
714
715
716
717
718
719
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
  -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
763
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, #popup-container, #file_menu, #tagSelector, .closeButton
764
765
766
767
768
769
770
771
772
773
774
775
776
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
{
  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 {
806
    background: @highlight;
807
808
    color: @default;
    border: 0;
809
810
    height: 16px;
    width: 110px;
811
812
813
814
815
816
817
    -webkit-appearance: none;
}

.axis_select {
    position: relative;
    float: left;
    height: 0px;
818
    top : 2px;
819
820
821
822
}

.axis_select_x {
}
823

824
.axis_select_y {
825
    top: 18px;
826
827
828
829
830
}

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

#visu-separator {
833
    height: @margin;
834
    cursor: move;
Marc Duez's avatar
Marc Duez committed
835
    cursor: -webkit-grab;
836
    background: @border;
Marc Duez's avatar
Marc Duez committed
837
}
838
839
840
841
842

#vertical-separator {
    position: relative;
    float: left;
    height: 100%;
843
    width: @margin;
844
    line-height: calc(100% - 1px);
845
    background : @border;
846
847
}

848
849
#visu-separator:hover , #vertical-separator:hover {
    background: @highlight;
850
}
Marc Duez's avatar
Marc Duez committed
851
852
853
854
855
856

.edit_button {
    float: right;
    margin-right: 2px;
    cursor: pointer;
}