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