vidjil.less 15.2 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
  top: 0px;
  right: 0px;
Marc Duez's avatar
Marc Duez committed
215
216
  min-width: 22px;
  min-height: 18px;
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
  width: 100%;
Marc Duez's avatar
Marc Duez committed
231
  cursor: move;
232
  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;
}

276
277
278
279
280
281
.sp_rotated_legend{
  fill : @secondary ;
  font-weight : bold;
  text-anchor : left;
}

Marc Duez's avatar
Marc Duez committed
282
283
284
285
286
287
288
289
290
291
.sp_legend_focus{
  fill : @select;
  font-weight : bold;
  text-anchor : middle;
}

.sp_hidden_legend{
  display : none;
}

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


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

Marc Duez's avatar
Marc Duez committed
327
#list{
Marc Duez's avatar
Marc Duez committed
328
329
330
  height: -moz-calc(~"100% - 190px");
  height: -webkit-calc(~"100% - 190px");
  height: calc(~"100% - 190px");
Marc Duez's avatar
Marc Duez committed
331
332
333
334
335
336
337
}

#list_clones{
  overflow-y : scroll;
  overflow-x : hidden;
  height : 100%;
  font-weight: bold;
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
  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;
}

365
366
.nameBox {
  width: @width_nameBox;
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
584
585
586
587
588
589
  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
590
#file_menu, #menu, #list_clones, #tagSelector, #display-menu, #bot-container, .seq-fixed{
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
643
644
645
646
647
648
 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
649
650
651
652
653
654
655
656
657
658
659
660
.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
661
.menu-segmenter {
Marc Duez's avatar
Marc Duez committed
662
663
664
665
666
667
668
669
    position: relative;
    float: left;
    width: @width_left_container;
}

.focus {
    position: relative;
    text-align: center;
670
671
672
673
    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
674
675
676
677
678
679
}

#segmenter {
    overflow-x: scroll; 
    overflow-y: hidden;
    height : 100px;
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
}

.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;
699
  bottom: 0px;
700
701
702
  left: 0px;
  width: 100%;
  overflow-y:auto;
Marc Duez's avatar
Marc Duez committed
703
  height:125px;
704
705
706
707
708
709
710
711
  overflow-y: hidden;
}

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

Marc Duez's avatar
Marc Duez committed
712
#list_menu{
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
763
764
765
766
767
768
  -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
769
.selector, #list_menu, #top-container, .list_clones, .bot-bar, #bot-container, #popup-container, #file_menu, #tagSelector, .closeButton
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
806
807
808
809
810
811
{
  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 {
812
    background: @highlight;
813
814
    color: @default;
    border: 0;
815
816
    height: 16px;
    width: 110px;
817
818
819
820
821
822
823
    -webkit-appearance: none;
}

.axis_select {
    position: relative;
    float: left;
    height: 0px;
824
    top : 2px;
825
826
827
828
}

.axis_select_x {
}
829

830
.axis_select_y {
831
    top: 18px;
832
833
834
835
836
}

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

#visu-separator {
839
    height: @margin;
840
    cursor: move;
Marc Duez's avatar
Marc Duez committed
841
    cursor: -webkit-grab;
842
    background: @border;
Marc Duez's avatar
Marc Duez committed
843
}
844
845
846
847
848

#vertical-separator {
    position: relative;
    float: left;
    height: 100%;
849
    width: @margin;
850
    line-height: calc(100% - 1px);
851
    background : @border;
852
853
}

854
855
#visu-separator:hover , #vertical-separator:hover {
    background: @highlight;
856
}
Marc Duez's avatar
Marc Duez committed
857
858
859
860
861
862

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