1
|
|
2
|
/**
|
3
|
* ======= General styles =======
|
4
|
*
|
5
|
* @WA comment: these styles may affect the looks of the site, since these
|
6
|
* are not CDM Dataportal specific classes or ids.
|
7
|
* See also http://groups.drupal.org/node/6355.
|
8
|
*/
|
9
|
|
10
|
|
11
|
#block-cdm-api-cdm-ws-debug {
|
12
|
background-color: #373737;
|
13
|
color: #fff;
|
14
|
border: 1px solid #fff;
|
15
|
-moz-box-shadow: inset 0 0 3px 2px #fff;
|
16
|
-webkit-box-shadow: inset 0 0 3px 2px #fff;
|
17
|
box-shadow: inset 0 0 3px 2px #fff;
|
18
|
}
|
19
|
|
20
|
#cdm-ws-debug-table-container {
|
21
|
display: none;
|
22
|
}
|
23
|
|
24
|
#block-cdm-api-cdm-ws-debug h4 {
|
25
|
margin: 3px;
|
26
|
padding: 0;
|
27
|
}
|
28
|
|
29
|
#cdm-ws-debug-table {
|
30
|
width: 100%;
|
31
|
}
|
32
|
|
33
|
#cdm-ws-debug-table code {
|
34
|
font-weight: normal;
|
35
|
}
|
36
|
|
37
|
#cdm-ws-debug-table td.data_links a {
|
38
|
color: #999;
|
39
|
}
|
40
|
#cdm-ws-debug-table tr.valid td.data_links a {
|
41
|
color: #1bdf00;
|
42
|
}
|
43
|
#cdm-ws-debug-table tr.invalid td.data_links a {
|
44
|
color: #f3000a;
|
45
|
}
|
46
|
#cdm-ws-debug-table tr.cacheL1, #cdm-ws-debug-table tr.cacheL2 {
|
47
|
color: #999;
|
48
|
}
|
49
|
#cdm-ws-debug-table .ws_uri {
|
50
|
width: 50%;
|
51
|
}
|
52
|
|
53
|
/*
|
54
|
* when nesting description lists the inner dl should
|
55
|
* not have a margin at top and bottom, but should be
|
56
|
* indented
|
57
|
* Used in occurence details.
|
58
|
*/
|
59
|
dl dl {
|
60
|
margin: 0 0 0 2em;
|
61
|
}
|
62
|
|
63
|
#block-system-main div.content {
|
64
|
/* margin: 0 0 0.3em 0; */
|
65
|
}
|
66
|
|
67
|
.name {
|
68
|
font-style: italic;
|
69
|
}
|
70
|
|
71
|
.rank,
|
72
|
.authors {
|
73
|
font-style: normal;
|
74
|
}
|
75
|
|
76
|
.relation_sign {
|
77
|
margin-left: -1em; /* Same as ul.typeDesignations. */
|
78
|
margin-right: 0.3em;
|
79
|
float: left;
|
80
|
font-family: Arial, sans-serif;
|
81
|
}
|
82
|
|
83
|
.highlite {
|
84
|
background-color: yellow;
|
85
|
}
|
86
|
|
87
|
ul.primary img.refresh {
|
88
|
height: 14px;
|
89
|
width: 14px;
|
90
|
}
|
91
|
|
92
|
/*
|
93
|
* ======= Search-Form =======
|
94
|
*/
|
95
|
|
96
|
#edit-search-area {
|
97
|
height: 10em;
|
98
|
overflow: auto;
|
99
|
}
|
100
|
|
101
|
/*
|
102
|
* ======= Search-Results =======
|
103
|
*/
|
104
|
#block-cdm-dataportal-2 .description {
|
105
|
display: none;
|
106
|
}
|
107
|
|
108
|
.fragment_highlight {
|
109
|
font-size: 90%;
|
110
|
margin-top: 0.3em;
|
111
|
}
|
112
|
|
113
|
.score-bar {
|
114
|
width: 50px;
|
115
|
height: 10px;
|
116
|
border: 1px solid #dedede;
|
117
|
background-color: #f3f3f3;
|
118
|
}
|
119
|
.score-bar .score-bar-indicator {
|
120
|
background-color: #acd575;
|
121
|
height: 10px;
|
122
|
}
|
123
|
.score-bar-value {
|
124
|
width: 50px;
|
125
|
height: 10px;
|
126
|
margin-top: -11px; /* 10px plus 1px border. */
|
127
|
font-size: 8px;
|
128
|
line-height: 10px;
|
129
|
background-color: transparent;
|
130
|
text-align: center;
|
131
|
}
|
132
|
|
133
|
li .taxon {
|
134
|
}
|
135
|
|
136
|
/*
|
137
|
* ======= synonymy =======
|
138
|
*/
|
139
|
|
140
|
#synonymy ul {
|
141
|
margin: 0;
|
142
|
}
|
143
|
|
144
|
#synonymy ul.heterotypicSynonymyGroup,
|
145
|
#synonymy ul.homotypicSynonymyGroup,
|
146
|
#synonymy ul.homotypicSynonyms,
|
147
|
#synonymy ul.taxonRelationships,
|
148
|
#synonymy ul.misapplied {
|
149
|
margin-bottom: 0.5em;
|
150
|
}
|
151
|
|
152
|
#synonymy ul li {
|
153
|
padding-bottom: 0px;
|
154
|
padding-top: 0px;
|
155
|
margin-bottom: 0px;
|
156
|
margin-top: 0px;
|
157
|
}
|
158
|
|
159
|
.heterotypicSynonymyGroup li {
|
160
|
margin-left: 26px;
|
161
|
}
|
162
|
.homotypic-synonymy-group,
|
163
|
.heterotypic-synonymy-group,
|
164
|
.taxon-relationships {
|
165
|
border-bottom: 1px solid #dedede;
|
166
|
padding: 1em 0;
|
167
|
}
|
168
|
|
169
|
/* footnotes in synonymy */
|
170
|
#synonymy ul.foototes {
|
171
|
margin: 0;
|
172
|
}
|
173
|
|
174
|
.heterotypicSynonymyGroup li.footnotes,
|
175
|
.homotypicSynonymyGroup li.footnotes,
|
176
|
.homotypicSynonyms li.footnotes,
|
177
|
.misapplied li.footnotes,
|
178
|
.content li.descriptionText {
|
179
|
margin-top: 10px;
|
180
|
margin-left: 6px;
|
181
|
padding-left: 6px;
|
182
|
list-style: none;
|
183
|
list-style-image: none;
|
184
|
background-image: none;
|
185
|
}
|
186
|
|
187
|
|
188
|
#synonymy li.footnotes {
|
189
|
list-style: none;
|
190
|
list-style-image: none;
|
191
|
background-image: none;
|
192
|
}
|
193
|
|
194
|
ul.typeDesignations {
|
195
|
margin-top: 0px;
|
196
|
margin-bottom: 0px;
|
197
|
margin-left: -1em; /* Same as .relation_sign. */
|
198
|
}
|
199
|
ul.typeDesignations li {
|
200
|
background-image: none;
|
201
|
list-style-type: none;
|
202
|
list-style-image: none;
|
203
|
}
|
204
|
|
205
|
.form-item fieldset {
|
206
|
font-size: 80%;
|
207
|
margin-top: -3px;
|
208
|
margin-left: 25px;
|
209
|
}
|
210
|
.form-item fieldset .featuretree_structure {
|
211
|
height: 13em;
|
212
|
overflow: auto;
|
213
|
}
|
214
|
|
215
|
.misapplied .name {
|
216
|
/* font-style: normal; */
|
217
|
}
|
218
|
.misapplied .authors {
|
219
|
display: none;
|
220
|
}
|
221
|
#edit-search-domisappliednames {
|
222
|
vertical-align:baseline;
|
223
|
}
|
224
|
|
225
|
img.preview {
|
226
|
margin: 5px 30px;
|
227
|
}
|
228
|
|
229
|
ul li.synonym {
|
230
|
list-style-type: none;
|
231
|
background-image: none;
|
232
|
}
|
233
|
|
234
|
li.firstentry {
|
235
|
margin-left: 6px;
|
236
|
}
|
237
|
|
238
|
ul.cdm_names, ul.cdm_names li{
|
239
|
background-image: none;
|
240
|
list-style-type: none;
|
241
|
list-style-image: none;
|
242
|
}
|
243
|
|
244
|
.dynabox .label:hover {
|
245
|
color: #0174bb;
|
246
|
}
|
247
|
|
248
|
ul.cdm_names .dynabox_content {
|
249
|
margin-top:-1em;
|
250
|
}
|
251
|
|
252
|
.tickbox_content {
|
253
|
display: none;
|
254
|
}
|
255
|
|
256
|
.pager strong,
|
257
|
.pager a {
|
258
|
-moz-border-radius-bottomleft: 2px;
|
259
|
-moz-border-radius-bottomright: 2px;
|
260
|
-moz-border-radius-topleft: 2px;
|
261
|
-moz-border-radius-topright: 2px;
|
262
|
background-color: #dfedf7;
|
263
|
border: 1px solid #90c2e1;
|
264
|
margin: 0px 0.25em;
|
265
|
padding: 2px 5px;
|
266
|
}
|
267
|
.pager strong {
|
268
|
background-color:#0174BB;
|
269
|
color:#FFFFFF;
|
270
|
}
|
271
|
.pager-list-dots-right,
|
272
|
.pager-list-dots-left {
|
273
|
display: inline;
|
274
|
}
|
275
|
|
276
|
a.filter_add:link,
|
277
|
a.filter_add:visited {
|
278
|
}
|
279
|
|
280
|
a.filter_remove:link,
|
281
|
a.filter_remove:visited {
|
282
|
color: red;
|
283
|
}
|
284
|
|
285
|
a.synonym:LINK, a.synonym:VISITED,
|
286
|
.Synonym a:LINK, .Synonym a:VISITED,
|
287
|
.misapplied-name a:LINK,
|
288
|
.misapplied-name a:VISITED {
|
289
|
color: #7c7c7f;
|
290
|
}
|
291
|
|
292
|
/* Synonyms with more than one accepted taxa. */
|
293
|
a.label:link,
|
294
|
a.label:visited {
|
295
|
color: #7c7c7f;
|
296
|
}
|
297
|
|
298
|
.block-cdm-taxontree .content,
|
299
|
.block-cdm-dataportal-3 .content {
|
300
|
font-size: 90%;
|
301
|
}
|
302
|
.content dt {
|
303
|
float: left;
|
304
|
font-weight: bold;
|
305
|
margin-right: 0.3em;
|
306
|
}
|
307
|
.content dd {
|
308
|
margin-left: 0;
|
309
|
font-weight: normal;
|
310
|
}
|
311
|
|
312
|
.block-cdm-taxontree div.settings {
|
313
|
/* background-color: #2587c3; */
|
314
|
border-bottom: 1px solid #e0dfe3;
|
315
|
border-top: 1px solid #e0dfe3;
|
316
|
}
|
317
|
|
318
|
.concept_switch {
|
319
|
padding:0 0.2em;
|
320
|
}
|
321
|
|
322
|
.descriptionText,
|
323
|
.descriptionReference {
|
324
|
vertical-align: top;
|
325
|
}
|
326
|
|
327
|
.annotation_box {
|
328
|
display: none;
|
329
|
background: #ffffcc;
|
330
|
border: 1px solid #ffcc66;
|
331
|
font-size: 9pt;
|
332
|
padding: 5px
|
333
|
}
|
334
|
.annotation_box ul,
|
335
|
.annotation_box li {
|
336
|
list-style-type: none;
|
337
|
line-height: 11pt;
|
338
|
padding: 0;
|
339
|
margin: 0;
|
340
|
}
|
341
|
|
342
|
.annotation_box li {
|
343
|
padding-left: 15px;
|
344
|
}
|
345
|
|
346
|
.annotation_create {
|
347
|
margin-top: 20px;
|
348
|
text-align: right;
|
349
|
}
|
350
|
|
351
|
.annotation_create textarea {
|
352
|
width: 100%;
|
353
|
}
|
354
|
|
355
|
.annotation_create form {
|
356
|
margin-bottom: 0;
|
357
|
}
|
358
|
|
359
|
/*
|
360
|
* ==== Maps ====
|
361
|
*/
|
362
|
|
363
|
#openlayers {
|
364
|
/* Should match the margin-bottom of .description. */
|
365
|
margin-bottom: 0.75em;
|
366
|
}
|
367
|
#openlayers_map {
|
368
|
width: 100%;
|
369
|
height: 200px;
|
370
|
border: 1px solid;
|
371
|
}
|
372
|
.openlayers_legend {
|
373
|
background-color: white;
|
374
|
filter:alpha(opacity=75); /* IE's opacity. */
|
375
|
opacity: 0.75;
|
376
|
}
|
377
|
|
378
|
.distribution_map_caption {
|
379
|
font-size: 90%;
|
380
|
font-style: italic;
|
381
|
}
|
382
|
|
383
|
|
384
|
.distribution_map {
|
385
|
border: 1px solid #ddd;
|
386
|
background-color: #fff;
|
387
|
}
|
388
|
|
389
|
/*
|
390
|
* ======= Media =======
|
391
|
*/
|
392
|
.media .viewer {
|
393
|
margin-top: 20px;
|
394
|
}
|
395
|
|
396
|
/*
|
397
|
WA: Important, otherwise the media viewer will be displayed over the
|
398
|
Drupal Admin Overlay when this is used.
|
399
|
|
400
|
AK: this is not working since 'position: absolute;' will casue the content continer to be not extended to the site of
|
401
|
the image viewer
|
402
|
*/
|
403
|
div.cdm_media_viewer_image {
|
404
|
/* position: absolute; */
|
405
|
z-index: 1;
|
406
|
}
|
407
|
#openlayers {
|
408
|
position: relative;
|
409
|
z-index: 1;
|
410
|
}
|
411
|
|
412
|
.media ul.primary li a,
|
413
|
.media ul.primary li.active a,
|
414
|
.media ul.primary li a:hover,
|
415
|
.media ul.primary li a:visited,
|
416
|
.media ul.secondary li a,
|
417
|
.media ul.secondary li.active a,
|
418
|
.media ul.secondary li a:hover,
|
419
|
.media ul.secondary li a:visited {
|
420
|
margin-left : 0px;
|
421
|
}
|
422
|
|
423
|
.media ul.primary li a.active {
|
424
|
font-weight: bold;
|
425
|
}
|
426
|
|
427
|
.media_thumbnails {
|
428
|
margin-top: 0px;
|
429
|
margin-left: 0.3em;
|
430
|
}
|
431
|
|
432
|
.media_gallery tbody {
|
433
|
border: 0px none;
|
434
|
}
|
435
|
|
436
|
.media_gallery td.caption {
|
437
|
vertical-align: top;
|
438
|
}
|
439
|
|
440
|
.media-caption {
|
441
|
margin-left: 0;
|
442
|
}
|
443
|
|
444
|
.media-caption dt.title {
|
445
|
display: none;
|
446
|
}
|
447
|
|
448
|
.image-passe-partout{
|
449
|
border: 0px none;
|
450
|
background-color: #eee;
|
451
|
}
|
452
|
|
453
|
.image_viewer {
|
454
|
border: 1px solid;
|
455
|
background-color: #eee;
|
456
|
}
|
457
|
|
458
|
|
459
|
/*
|
460
|
* ======= specific blocks =======
|
461
|
*/
|
462
|
|
463
|
#print_button {
|
464
|
cursor: pointer;
|
465
|
}
|
466
|
#print_button span {
|
467
|
color: #027AC6;
|
468
|
margin-left: 0.3em; /* Spacing between image and text. */
|
469
|
}
|
470
|
#print_button span:hover {
|
471
|
color: #0062A0;
|
472
|
text-decoration: underline;
|
473
|
}
|
474
|
|
475
|
/*
|
476
|
* ======= footnotes and annotations =======
|
477
|
*/
|
478
|
.annotations, .footnote{
|
479
|
font-size: 88%;
|
480
|
}
|
481
|
|
482
|
.footnote-key {
|
483
|
vertical-align: super;
|
484
|
font-size: 80%;
|
485
|
line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
|
486
|
font-style: italic;
|
487
|
}
|
488
|
.footnote-anchor {
|
489
|
font-weight: bold;
|
490
|
}
|
491
|
|
492
|
/*
|
493
|
* Feature tree
|
494
|
*/
|
495
|
|
496
|
.featuretree_structure {
|
497
|
font-size: 90%;
|
498
|
line-height: 1em;
|
499
|
color: #999;
|
500
|
}
|
501
|
/* For compatibility with d5 themes. */
|
502
|
.block-cdm-dataportal-feature {
|
503
|
clear: both;
|
504
|
}
|
505
|
|
506
|
#useRecords th {
|
507
|
font-weight: normal;
|
508
|
}
|
509
|
|
510
|
/* for compatibility with d5 themes */
|
511
|
.block-cdm-dataportal-feature ul {
|
512
|
margin: 0;
|
513
|
padding: 0 0 0.25em 1em;
|
514
|
}
|
515
|
|
516
|
/**
|
517
|
* ======= Settings forms =======
|
518
|
*/
|
519
|
|
520
|
/* Do not display the descriptions indented in the setup forms, D5 style. */
|
521
|
#cdm-settings-general .form-type-radio .description,
|
522
|
#cdm-settings-general .form-type-checkbox .description,
|
523
|
#cdm-settings-geo .form-type-radio .description,
|
524
|
#cdm-settings-geo .form-type-checkbox .description,
|
525
|
#cdm-settings-layout .form-type-radio .description,
|
526
|
#cdm-settings-layout .form-type-checkbox .description,
|
527
|
#cdm-settings-layout-taxon .form-type-radio .description,
|
528
|
#cdm-settings-layout-taxon .form-type-checkbox .description,
|
529
|
#cdm-settings-layout-search .form-type-radio .description,
|
530
|
#cdm-settings-layout-search .form-type-checkbox .description,
|
531
|
#cdm-settings-layout-media .form-type-radio .description,
|
532
|
#cdm-settings-layout-media .form-type-checkbox .description,
|
533
|
#cdm-settings-cache .form-type-radio .description,
|
534
|
#cdm-settings-cache .form-type-checkbox .description,
|
535
|
#cdm-settings-layout-media .form-type-radio .description,
|
536
|
#cdm-settings-layout-media .form-type-checkbox .description,
|
537
|
#ext-links-admin .form-type-radio .description,
|
538
|
#ext-links-admin .form-type-checkbox .description,
|
539
|
#cdm-mediauri-rule-add .form-type-radio .description,
|
540
|
#cdm-mediauri-rule-add .form-type-checkbox .description {
|
541
|
margin-left: 0;
|
542
|
}
|
543
|
/* Align checkboxes and radios as D5 style. */
|
544
|
#cdm-settings-general input.form-checkbox, input.form-radio,
|
545
|
#cdm-settings-geo input.form-checkbox, input.form-radio,
|
546
|
#cdm-settings-layout input.form-checkbox, input.form-radio,
|
547
|
#cdm-settings-layout-taxon input.form-checkbox, input.form-radio,
|
548
|
#cdm-settings-layout-search input.form-checkbox, input.form-radio,
|
549
|
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
|
550
|
#cdm-settings-cache input.form-checkbox, input.form-radio,
|
551
|
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
|
552
|
#ext-links-admin input.form-checkbox, input.form-radio,
|
553
|
#cdm-mediauri-rule-add input.form-checkbox, input.form-radio {
|
554
|
vertical-align: baseline;
|
555
|
}
|
556
|
|
557
|
/* Custom style for the more-help links on the cdm settings pages. */
|
558
|
.cdm-dataportal-settings-more-help-link {
|
559
|
font-size: 0.85em;
|
560
|
}
|
561
|
.cdm-dataportal-settings-more-help-link a {
|
562
|
background-image: none;
|
563
|
padding: 0;
|
564
|
}
|
565
|
#block-system-help .content {
|
566
|
margin: 0;
|
567
|
}
|
568
|
|
569
|
/*
|
570
|
* ======= specimens =======
|
571
|
*/
|
572
|
#specimens table.specimens {
|
573
|
width: 100%;
|
574
|
}
|
575
|
|
576
|
#specimens .description_list h4 {
|
577
|
clear: left;
|
578
|
margin-bottom: 0;
|
579
|
font-style: italic;
|
580
|
}
|
581
|
|
582
|
#specimens .block-cdm-dataportal-feature h2 {
|
583
|
font-size: 11px;
|
584
|
font-weight: bold;
|
585
|
}
|
586
|
|
587
|
#specimens ul.footnotes {
|
588
|
padding: 0;
|
589
|
}
|
590
|
|
591
|
#specimens .dna-sequence div {
|
592
|
font-family: monospace;
|
593
|
}
|
594
|
|
595
|
|
596
|
/*
|
597
|
* ======= Identification keys =======
|
598
|
*/
|
599
|
|
600
|
#identificationKey .sources span {
|
601
|
display: block;
|
602
|
}
|
603
|
|
604
|
.polytomousKey_linkedStyle td {
|
605
|
vertical-align: top;
|
606
|
padding-top: 0;
|
607
|
}
|
608
|
.polytomousKey_linkedStyle tr.new_section td {
|
609
|
padding-top: 1em;
|
610
|
}
|
611
|
.polytomousKey_linkedStyle tr:hover {
|
612
|
background-color: #eee;
|
613
|
}
|
614
|
.polytomousKey_linkedStyle .nodeLink {
|
615
|
float: right;
|
616
|
text-align: right;
|
617
|
padding-left: 2em;
|
618
|
}
|
619
|
.polytomousKey_linkedStyle td.edge-indent {
|
620
|
padding-left: 2em;
|
621
|
}
|
622
|
|