-
Notifications
You must be signed in to change notification settings - Fork 0
/
avidaED.css
358 lines (304 loc) · 7.17 KB
/
avidaED.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
/*
* This file is provided for application-specific style rules.
*
* By default, Maqetta includes this CSS file within HTML pages
* authored in Maqetta.
*
* This file is typically used to override style rules found in
* theme CSS files. For example, suppose the theme CSS file has:
*
* .claro .dijitButton .dijitButtonNode {
* padding:2px 4px 4px 4px;
* }
*
* But for your application suppose you want to tighten the padding
* for buttons. Then, you might include the following style rule
* in this file (assuming that you accept Maqetta's default where
* id 'myapp' is present on the BODY element, and assuming
* that you are using the 'claro' theme):
*
* #myapp.claro .dijitButton .dijitButtonNode {
* padding:1px 3px 3px 3px;
* }
*
* Because of CSS precedence rules (see [1]), the above style rule
* (which begins with #myapp.claro) will 'win the cascade' versus
* the style rule from the theme CSS file due to the use of the
* ID select (#myapp), which has higher specificity than the class
* selectors used throughout the Claro theme.
*
* [1] http://www.w3.org/TR/CSS21/cascade.html#cascade
*/
/****************************************************************************************************** css variables */
/* Variables: global csss
/*--------------------------------------------------------------------------------------------------------------------*/
* {
margin: 0;
padding: 0;
/* several versions of rem-size so I could define two sizes in one css definition with the same ratio */
--rem-size0: calc((var(--pixel)/16) * 1rem);
--rem-size1: calc((var(--pix1)/16) * 1rem);
--rem-size2: calc((var(--pix2)/16) * 1rem);
/* To use on an HTML element, where pixel is defined in css/HTML element */
/* font-size: var(--rem-size0); */
--bitboxWd: 6px;
--bitboxHt: 6px;
--bitHolderWd: calc((var(--bitboxWd)*32)+2px);
--bitHolderHt: calc((var(--bitboxHt)*(var(--numlines)))+2px;)
/* --numlines: 1; */
/* height: var(--bitHolderHt); */ /* where numlines is defined */
}
html, body {
height: 100%;
width: 100%;
margin: 0;
padding:0;
background: #F5F5F5; /* cyan; */
font-family: Tahoma, Trebuchet MS, sans-serif;
}
/* diane's version */
button {
border: 1px solid #aaa;
display:inline;
cursor:pointer;
border-radius: 5px;
/* may change later- responsive button design */
/* min-width: 4.5vw; */
}
/* Yemi made */
button:hover {
background-color: #c3e0f7;
opacity: 50%;
}
/* Yemi made */
input[type='button']:hover {
opacity: 50%;
}
.item:hover {
background-color: #afd9fa;
opacity: 50%;
}
/* Yemi made */
canvas {
width: 100%;
height: 100%;
object-fit: contain; /* yemi: this is the make sure canvas fills the entire container while also maintaining aspect ratio */
}
div {
margin: 0;
padding: 0;
}
/* Yemi made */
label {
margin-bottom: 0rem; /* yemi: overwrites margin on the bottom set by Bootstrap */
}
p {
margin-top: 0px;
margin-bottom: 0px;
font-family: Tahoma, Trebuchet MS, sans-serif;
}
li {
margin: 0px 0px 0px 0px;
font-family: Tahoma, Trebuchet MS, sans-serif;
}
ul {
margin-top: 0px;
margin-bottom: 0px;
font-family: Tahoma, Trebuchet MS, sans-serif;
}
textarea {
outline: none;
}
/* Trying get headers back to default values
/* this did not work I wanted to change for all headers inside the main div. */
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin: 0;
padding: 0;
font-family: Tahoma, Trebuchet MS, sans-serif;
cursor: no-drop;
}
#allAvidaContainer {
margin: 0;
padding: 0;
/* cursor: pointer; */ /* need to delete completely tiba */
}
/* trying classe to get headers back to to what they should be
hdf# classes were over written by .claro in document.css
*/
.dfhd {
display: block;
font-weight: bold;
margin: 0rem;
padding: 0rem;
font-family: Tahoma, Trebuchet MS, sans-serif;
margin-block-start: 0rem;
margin-block-end: 0rem;
margin-inline-start: 0rem;
margin-inline-end: 0rem;
/* border: 1px solid black; */
}
.hdf1 { font-size: 2.00rem; }
.hdf2 { font-size: 1.85rem;}
.hdf3 { font-size: 1.60rem; }
.hdf4 { font-size: 1.45rem; }
.hdf5 { font-size: 1.30rem; }
.hdf6 { font-size: 1.15rem; }
#splash{
display: block;
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
z-index: 1000;
background: #13332A
}
#populationBlock {
display: flex;
}
#organismBlock{
display: flex;
}
#analysisBlock{
display: none;
}
.noSize{display: none}
.notSeen{ margin: 0; display: none; }
#anlDndChart {
width: 100%;
height: 100%;
}
div.odd {
background: #EEEEEE;
padding: 0.5em 0.5em 1em 0.5em; /* top, right, bottom, left; right and left were 0.3 before*/
clear: left;
}
.even {
background: #CCCCCC;
padding: 0.5em 0.3em 1em 0.5em;
clear: left;
}
.lftWide {
float: left;
width: 90%;
}
.ritThin {
float: right;
width: 10%;
}
.fltLeft {
float: left;
}
.lftmargin {
float: left;
clear: left;
}
.ritmargin {
float: right;
clear: right;
}
div.popStatsTitle {
overflow: visible;
background:#ffffff;
min-width: 170px;
text-align:left;
height:18px;
font-weight: bold;
width: 100%;
}
div.popStatsTableSot {
min-width: 169px;
background: #DDD;
width: 100%; /* djb: no change seen */
}
.bitButtonOff {
background: #fff;
color: #000;
border: 1px solid #aaa;
padding: 0px 0px 2px 0px;
height: 15px;
width: 45px;
display: block;
text-align: center;
font-family: Tahoma, Trebuchet MS, sans-serif;
text-decoration: none;
}
.bitButtonOn {
background: #fff;
color: #00f;
color: #00bb00;
border: 1px solid #00dd00;
padding: 0px 0px 2px 0px;
height: 15px;
width: 45px;
display: block;
text-align: center;
font-family: Tahoma, Trebuchet MS, sans-serif;
text-decoration: none;
}
.resourceButton {
width: 100px;
}
/* Tiba tiba needs to delete all dojo and dijit references. */
.dojoDndItem {
padding: 3px;
}
.dojoDndItemOver {
background: #EDEDED;
cursor: pointer;
}
.dojoDndItemSelected {
background: #5BBDEA;
color: #444444;
}
.dojoDndItemAnchor {
background: #5BBDEA;
color: black;
}
.dojoDndItemOver .dojoDndItemSelected {
background: #EDEDED;
}
.dojoDndItemOver .dojoDndItemAnchor {
background: #EDEDED;
}
.dojoDndItemBefore {
border-top: 2px solid #336699;
}
.dojoDndItemAfter {
border-bottom: 2px solid #336699;
}
.dojoDndAvatar {
border: 2px solid #CCCCCC;
}
.dojoDndAvatarHeader {
background: #AAAAAA;
}
.dojoDndAvatarItem {
background: #FFFFFF;
border-bottom: 1px solid #666666;
}
.dojoDndAvatarItem .itemText {
font-size: 120%;
}
.container {
min-height: 10px;
width: 100%;
}
/* dojo css */
.dijitBorderContainer {
padding: 1px;
}
.claro
.dijitBorderContainer-dijitContentPane {
background: #ffffff;
padding: 1px 1px 6px 1px;
margin: 1px
}
/*
web pages about style sheets that are changed with javascript
https://www.w3.org/wiki/Dynamic_style_-_manipulating_CSS_with_JavaScript
http://www.shawnolson.net/a/503/altering_css_class_attributes_with_javascript.html //confusing
*/