-
Notifications
You must be signed in to change notification settings - Fork 1
/
grid_style.css
executable file
·1029 lines (695 loc) · 21.2 KB
/
grid_style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
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
276
277
278
279
280
281
282
283
284
285
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
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
359
360
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
584
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
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
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
763
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
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Copyright (c) 2014, Intel Corporation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* ***********************************************
Purpose: Main Style Sheet
Author : Ruchira Sasanka
Date : Nov 1, 2013
************************************************** */
/* ------- For Testing Purposes Only ------------- */
h1.testHead {
color:#af3311;
font-family: verdana,arial,sans-serif;
}
/* --------- Main Menu Offerred To Pick Out/In Grid ------- */
table.menuTable {
border-width: 1px;
border-color: #a9c6c9;
border-collapse: collapse;
float:left;
margin:40px;
}
table.menuTable td {
font-family: verdana,arial,sans-serif; /* for Icon label */
font-size:14px;
/* color:#333333; */
text-align:center;
border-width: 1px;
padding: 8px 8px 8px 8px;
border-style: dotted;
border-color: #a9c6c9;
}
table.menuTable td.caption { /* for the caption cell at the bottom */
/* overrides default 'menuTable td' */
font-style:italic;
font-weight:bold;
color:brown;
border-style:none;
}
table.menuTable td.clickText { /* large text for clicking in a cell */
font-style:italic;
font-weight:bold;
color:brown;
}
/* ----------------- NewGrid Menu ----------------------------------------- */
table.newGridMenu {
border-width: 1px;
border-color: #a9c6c9;
border-collapse: collapse;
float:left;
margin:40px;
}
table.newGridMenu td {
font-family: verdana,arial,sans-serif; /* for Icon label */
font-size:11pt;
/* color:#333333; */
text-align:center;
border-width: 1px;
padding: 12px;
border-style: dotted;
border-color: #a9c6c9;
}
table.newGridMenu td.caption { /* for the caption cell at the bottom */
/* overrides default 'menuTable td' */
font-style:italic;
font-weight:bold;
color:brown;
border-style:none;
}
/* -------------------------- gridTable (main Grid) ------------------------ */
table.gridTable {
border-width: 1px;
border-color: #a9c6c9;
border-collapse: collapse;
float:none;
margin:0px;
padding:0px;
}
table.gridTable td {
border-width: 1px;
padding: 8px;
border-style: solid;
border-color: #a9c6c9;
min-width:10px;
text-align:center;
font-family: verdana,arial,sans-serif;
font-size:11px;
}
/* MPI: for extended dimensions' cells */
table.gridTable td.extended { /* Even Content Rows */
background-color:#336699;
font-size:11px;
height:12px; /* min default height */
border-style: dotted;
}
table.gridTable td.even { /* Even Content Rows */
background-color:#c3dde0;
font-size:11px;
height:12px; /* min default height */
border-style: solid;
}
table.gridTable td.odd { /* Odd Content Rows */
background-color:#d4e3e5;
font-size:11px;
height:12px; /* min default height */
border-style: solid;
}
table.gridTable td.select { /* Seleleted cell */
background-color:#dcffed;
font-size:11px;
height:12px; /* min default height */
border-style: solid;
}
table.gridTable td.colindex {
font-style:italic;
border-style: none;
text-align:center;
font-size:11px;
}
table.gridTable td.colindexhigh { /* highlighted col index */
font-style:italic;
text-align:center;
font-size:11px;
border-style:none; /* dotted;*/
background-color:#dcffed; /* TODO: change color */
}
table.gridTable td.rowindex {
font-style:italic;
border-style: none;
text-align:right;
font-size:11px;
}
table.gridTable td.rowindexhigh { /* highlighted row index */
font-style:italic;
text-align:right;
font-size:11px;
border-style:none; /* dotted; */
background-color:#dcffed; /* TODO: change color */
}
table.gridTable td.coltitle {
font-family: verdana,arial,sans-serif;
font-size:12px;
border-style:dotted;
padding:4px;
}
table.gridTable td.rowtitle {
font-family:verdana,arial,sans-serif;
font-size:12px;
text-align:left;
border-style:dotted;
padding:4px;
}
table.gridTable td.topLeft {
border-style:none;
text-align:right;
margin:0px;
padding:0px;
}
table.gridTable td.arrow {
border-style:none;
}
table.gridTable td.botLeft {
border-style:none;
}
table.gridTable td.insrow {
margin:0px;
padding:0px;
/*cursor:e-resize; */
/*cursor:url(images/cursor_rins.png) 10 10, auto;*/
cursor:url(images/cursor_row_point.png) 10 10, auto;
}
div.gridBotSep { /* for having a vertical space after grid */
/* height:50px; */ /* height must be set by setVSpaceAfterGrid */
width:20px;
clear:both;
border-width: 1px;
border-style: none;
}
/* for displaying grid buttons as config, delete etc */
div.gridButDiv {
clear:none;
float:right; /* left */
}
/* ----------------- Grid Configuration Options -------------------------- */
table.gridconfig {
clear:both;
font-family:verdana,arial,sans-serif;
font-size:12px;
border-collapse:collapse;
/*margin:20px;*/ /* has no effect ??? */
}
table.gridconfig th {
border-style:solid;
border-width:1px;
padding: 4px;
margin: 2px;
background-color:#f5f5f0;
box-shadow: 0px -2px 2px #888888; /* horiz vert */
}
table.gridconfig td {
border-style:dotted;
border-width:1px;
padding: 4px;
text-align:center;
}
table.gridconfig td.rbutton {
border-style:none;
text-align:right;
padding: 4px;
}
table.gridconfig td.lbutton {
border-style:none;
text-align:left;
padding: 4px;
}
/* checkbox at the bottom */
table.gridconfig td.botcheck {
border-style:none;
text-align:left;
padding: 4px;
}
table.gridconfig td.caption {
font-style:italic;
font-weight:bold;
color:brown;
border-style:none;
font-size:14px;
text-align:center;
}
span.indexName { /* For definining index names in the grid caption */
font-family: "Courier New", Courier, monospace;
font-size:11pt;
font-style:normal;
font-weight:bold;
color:brown;
border-style:none;
text-align:center;
}
span.indexStr { /* For index str in caption --- e.g., for [ , ] */
font-family: "Courier New", Courier, monospace;
font-size:10pt;
font-style:normal;
font-weight:normal;
color:black;
border-style:none;
text-align:center;
}
span.indexNames { /* For definining index names in the grid caption */
font-family: "Courier New", Courier, monospace;
font-size:10pt;
font-style:normal;
font-weight:bold;
color:black;
border-style:none;
text-align:center;
}
/* ----------------- Code Window Options -------------------------- */
table.codeWin {
/*clear:left;*/
float:left;
font-size:12px;
border-collapse:collapse;
border-style:none;
}
table.codeWin td {
font-family:verdana,arial,sans-serif;
border-style:none;
border-width:1px;
padding: 0px, 0px, 0px, 4px; /* top,right, bottom, left separation */
min-width: 10px; /* for indentation of the input box */
text-align:left;
}
table.codeWin td.formula {
border-style:solid;
border-width:1px;
padding:2px;
border-color:#dcdcdc;
font-family: "Courier New", Courier, monospace;
font-size:10pt;
text-align:left;
border-collapse:none;
margin:2px;
min-width:500px; /* sets formula td min-width */
}
.opbutton { /* operator button in code window */
margin:1px;
}
.monoReg { /* regular monospace */
font-family: "Courier New", Courier, monospace;
font-size:10pt;
}
.monoLarge { /* larger font monospace */
font-family: "Courier New", Courier, monospace;
font-size:12pt;
}
span.space { /* one uint of space within an expression */
border-style:none;
/* cursor:crosshair; -- :help, or :wait */
}
.buttonExistFunc {
background-image: url('images/tip.jpg');
}
div.stepCap { /* caption for a step, instead of code win */
clear:both;
font-style:italic;
font-weight:bold;
color:brown;
border-style:none;
font-size:16pt;
text-align:center;
}
span.stepCapOpt {
/*font-style:normal*/;
font-weight:normal;
color:black;
border-style:none;
font-size:11pt;
text-align:center;
}
/* ---------------------- Cursor Animation ------------------------------- */
span.scursor {
background-color:brown;
animation:curanim 1s;
animation-iteration-count:infinite;
-webkit-animation:curanim 1s; /* For Safari and Chrome */
-webkit-animation-iteration-count:infinite;
}
@keyframes curanim {
0% {background-color: brown;}
45% {background-color: brown;}
50% {background-color: white;}
100% {background-color: white;}
}
@-webkit-keyframes curanim { /* For Safari and Chrome */
0% {background-color: #663300;}
45% {background-color: #663300;}
50% {background-color: white;}
100% {background-color: white;}
}
/* ------------------- Operator Window ------------------------------- */
table.operatorWin {
/*clear:both;*/
float:left;
font-size:12px;
border-collapse:collapse;
border-style:none;
margin: 8px;
}
table.operatorWin td {
/* font-family:verdana,arial,sans-serif; */
border-style:none;
border-width:1px;
padding: 0px, 0px, 0px, 4px; /* top,right, bottom, left separation */
min-width: 10px; /* for indentation of the input box */
text-align:left;
}
/* ------------------- Tip Window ------------------------------- */
div.tipWin {
font-family:verdana,arial,sans-serif;
clear:both;
font-size:11px;
text-align:left;
}
div.codeBotSep { /* for having a vertical space after grid */
/* height:50px; */ /* height must be set by setVSpaceAfterGrid */
clear:both;
height:40px;
width:20px;
border-style: none;
}
/* ----------------- Prgram Structre Heading -------------------------- */
.progStructHead { /* main span of prog struct head */
font-family:verdana,arial,sans-serif;
font-size:10pt;
float:left;
}
.headbut {
margin:1px;
right-margin:6px;
border-bottom-right-radius:0.5em; /* rounded corners */
border-bottom-left-radius:0.5em;
border-top-right-radius:0.5em;
border-top-left-radius:0.5em;
}
.formulabut {
right-margin:6px;
border-bottom-right-radius:0.5em; /* rounded corners */
border-bottom-left-radius:0.5em;
border-top-right-radius:0.5em;
border-top-left-radius:0.5em;
}
/*
.stepTitleSpan {
min-width:40px;
}
*/
.stepTitle {
resize: none;
font-family:verdana,arial,sans-serif;
font-size:10pt;
background-color:#fafafa;
border:none;
border-width:0px;
margin:0px;
/*
top-margin:0px;
bottom-margin:0px;
left-margin:0px;
right-margin:4px;
*/
padding:0px;
color:brown;
}
/* --------------- Step selection drop down box ------------------------*/
.stepsel {
/* background-color:#e6ffff; */
background-color:#fafafa;
}
.grayimage { /* for graying an image */
filter: grayscale(0.8);
-moz-filter: grayscale(0.8);
-ms-filter: grayscale(0.8);
-webkit-filter: grayscale(0.8);
}
div.menu1 {
position:absolute; /* absolute positioning required */
z-index:1; /* z-index = 1 places the comment on top */
top: 0px;
left:200px;
}
span.menu1Head {
float:right;
font-family:verdana,arial,sans-serif;
font-size:10pt;
background-color:#FFF0B2;
border-color:#FFF0B2;
box-shadow: 0px -3px 2px #888888; /* horiz vert */
padding:4px;
/* use the following to increase the length of menu button */
padding-right:15px;
padding-left:15px;
border-top-right-radius:1em; /* rounded corners */
border-top-left-radius:1em;
cursor:pointer;
}
span.menu1Body {
position:absolute; /* absolute positioning required */
z-index:1; /* z-index = 1 places the comment on top */
/*top: 0px;
left:200px;*/
}
table.ddmenu {
font-family:verdana,arial,sans-serif;
font-size:10pt;
background-color:#fafafa;
}
table.ddmenu td:hover {
cursor:pointer;
background-color:#FFF0B2;
}
/* -------------------------- Comment ------ -------------------------- */
.comment {
position:absolute; /* absolute positioning required */
z-index:1; /* z-index = 1 places the comment on top */
}
/* ----------------------- A popup customizable dialog box -------------- */
.dialog {
position:absolute; /* absolute positioning required */
z-index:1; /* z-index = 1 places the comment on top */
}
.menusel {
background-color:#FFF0B2;
border-color:#FFF0B2;
box-shadow: 0px -3px 2px #888888; /* horiz vert */
border-bottom-right-radius:1em; /* rounded corners */
border-bottom-left-radius:1em;
}
/* -------------------------- Parallelism Meter -------------------------- */
table.parallelMeter {
border-width: 1px;
border-color: #a9c6c9;
/*border-collapse: collapse; */
float:left;
}
table.parallelMeter td {
font-family: verdana,arial,sans-serif; /* for Icon label */
font-size:12px;
text-align:left;
background-color:#FFFFEB;
}
div.parallelDivFull {
height:20px;
background-color:#6EFF6E;
float:left;
border-width: 1px;
border-style: solid;
margin-right: 1px;
margin-left: 1px;
padding-left: 5px;
padding-right: 5px;
/* border-right-style:none; */
}
div.parallelDivEmpty {
height:20px;
background-color:#FF3300;
float:left;
border-width: 1px;
border-style: solid;
margin-right: 1px;
margin-left: 1px;
padding-left: 5px;
padding-right: 5px;
/* border-left-style:none; */
}
/* --------------------2D Pane ----------------------------------------- */
table.tabPane {
font-family: verdana,arial,sans-serif;
font-size:10pt;
font-weight:normal;
border-collapse: collapse;
border-style:none;
float:left;
margin:16px 1px 0px 16px; /* space between various 2D panes */
/* position:relative; need for fine adjustments, if used */
/*box-shadow: -5px -5px 2px #888888;*/ /* horiz vert */
}
table.tabPane td.select { /* Selected tabs drawn with this style */
border-width: 1px;
border-style: none;
border-top-right-radius:1em; /* rounded corners */
border-top-left-radius:1em;
color:black;
padding:8px;
box-shadow: 0px -3px 2px #888888; /* horiz vert */
}
table.tabPane td.noselect { /* NOT-Selected tabs drawn with this style */
border-width: 1px;
border-style: none;
border-top-right-radius:1em; /* rounded corners */
border-top-left-radius:1em;
color:black;
padding:8px;
box-shadow: 0px -1px 1px #888888; /* horiz vert */
}
table.tabPane th.index { /* index */
/*
border-left-style: solid;
border-right-style: solid;
border-top-style: solid;
border-bottom-style:none;
border-width:1px;
border-color:#dcdcdc;
background-color:#fefefe;
*/
border-style:none;
min-width:30px;
color:black;
/*color:#c3c3c3;*/ /* greyed color for text */
font-weight:normal;
font-style:italic;
font-size:11px;
padding:4px;
}
table.tabPane th.indexSel { /* Selected Index drawn with this style */
border-width: 1px;
border-style: none;
border-top-right-radius:1em; /* rounded corners */
border-top-left-radius:1em;
color:black;
font-weight:normal;
font-style:italic;
font-size:11px;
padding:4px;
width:60px;
box-shadow: 0px -3px 2px #888888; /* horiz vert */
}
table.tabPane th { /* for non-selected Tabs */
border-left-style: solid; /* all borders except the bottom */
border-right-style: solid;
border-top-style: solid;
border-bottom-style:none; /* bottom border creates space in selected th */
border-width:1px;
border-color:#dcdcdc;
background-color:#fefefe; /* all dims */
color:#c3c3c3; /* greyed color for text */
padding:4px;
}
table.tabPane td.type {
text-align:center;
font-style:italic;
}
div.emptytab { /* empty tab when index is selected */
height:16px;
}
table.tabPane td.contents { /* content panes for a 2D-pane */
border-style:none;
}
/* ------ Outermost table containng 2D Panes AND assign Arrows -------------*/
table.outArrow { /* container for the entrie output grid/panes */
border-collapse: collapse;
border-style:none;
border-width:0px;
float:left;
margin:16px;
box-shadow: 0px 0px; /* horiz vert */
text-align:center;
}
table.outArrow td {
border-style:none;
padding:5px; /* ***** This controls CELL size in all GRIDS ****** */
margin:0px;
text-align:center;
float:none;
}
table.outArrow td.type {
font-family:verdana,arial,sans-serif;
font-size:8pt;
text-align:center;
font-style:italic;
margin:0px;
padding:0px;
}
table.outArrow td.caption {
font-family: verdana,arial,sans-serif;
font-style:italic;
font-weight:bold;
color:#5E318D;
border-style:none;
font-size:16px;
text-align:center;
margin:0px;
padding: 0px;
}
/************************* Grid config button & context menu *************** */
table.outArrow td.gridconfbut {
text-align:right;
margin:0px;
padding:0px;
border-style:none;
border-width:0px;
}
span.GCmenuBody { /* Grid config context menu span (body) */
position:absolute; /* absolute positioning required */
z-index:1; /* z-index = 1 places the comment on top */
}
table.gcMenu { /* Grid config context menu */
font-family:verdana,arial,sans-serif;
font-size:10pt;
background-color:#fafafa;
text-align: left;
}
table.gcMenu td:hover {
cursor:pointer;
background-color:#FFF0B2;
}
/* For representing grid captions as a span */
span.caption {
font-family: verdana,arial,sans-serif;
font-style:italic;
font-weight:bold;
color:#5E318D;
border-style:none;
font-size:16px;
text-align:center;
padding: 5px;
}
span.captionParam {
font-family: verdana,arial,sans-serif;
font-style:normal;