-
Notifications
You must be signed in to change notification settings - Fork 2
/
jscomut.css
executable file
·195 lines (183 loc) · 3.44 KB
/
jscomut.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
.main-container {
width:100%;
max-width:950px;
margin:0 auto;
font-size: 16px;
}
/********* header logo **********/
#logo {
height: 40px;
width: 50px;
margin-top: 20px;
}
/********* Options panel styling **********/
.comut-panel{
display:block;
padding:2px;
margin:2px;
border:thin lightgray solid;
}
.optionsheader .panel-header{
display:inline-block;
margin-right:5px;
}
.comut-panel.collapsed{
display:none;
}
.panel-header{
cursor:pointer;
color:purple;
}
.panel-header:before{
content:'[-]';
padding-right:2px;
}
.panel-header[collapsed=true]:before{
content:'[+]';
padding-right:2px;
}
.example-data {
border-color: gray;
border-width: 1px;
border-style: solid;
padding: 5px;
}
/******End of options panel styling *******/
.load-data, .save-data{
border-left: medium darkgray solid;
margin:12px 4px;
padding: 5px;
}
.load-data:before{
content:'Load';
}
.save-data:before{
content:'Save';
}
.load-data:before, .save-data:before{
font-size:1.2em;
font-weight:bold;
display:block;
}
#mutation-file-info:empty:before{
content:'Genomic data: not loaded';
}
#demographic-file-info:empty:before{
content:'Demographic data: not loaded';
}
#gene-fields:empty:before{
content:'Genomic data has not been loaded';
}
#demographics-fields:empty:before{
content:'Demographic data has not been loaded';
}
/**************/
input[type=number]{
width:4em;
margin-right:2px;
}
label.alteration-type{
width:100px;
}
input{
margin-right:10px;
}
/********* Comut widget styling **********/
svg[interaction=dnd] .draggable-x.draggable-y{
cursor:all-scroll;
}
svg[interaction=dnd] .draggable-x{
cursor:col-resize;
}
svg[interaction=dnd] .draggable-y{
cursor:row-resize;
}
svg[interaction=zp] .draggable-x.draggable-y{
cursor:-webkit-zoom-grab;
}
#comut-svg{
overflow:visible;
}
.comut-download-overlay{
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.comut-download-background{
width:100%;
height:100%;
background-color: black;
opacity: 0.6
}
.comut-download-box{
background-color:white;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 1em;
text-align:center;
}
.comut-download-box:before{
content:'Use the link below to save (download) your file. Hint: Right-click and "save as" to change the file name or location.';
max-width:25em;
display:block;
margin-bottom:5px;
}
/********** End of comut widget styling ****/
/*****d3-tip related styling******/
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 10px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
content: "\25BC";
position: absolute;
text-align: center;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
margin: -1px 0 0 0;
top: 100%;
left: 0;
}
.tooltip-key{
color:lightgrey;
}
.tooltip-key::after{
content:': ';
}
.d3-tip span{
margin:0.1em auto;
}
/********** End of d3-tip related styling *********/
/********** Footer style **************************/
.footer {
background-color:rgb(240,250,250);
padding: 10px 20px;
font-size: 12px;
margin-top:2em;
}
.footer-section-title {
font-weight: bold;
}
.footer-section-text {
font-weight: normal;
}
.disclaimer-text {
font-weight: normal;
font-style: italic;
}