Project

General

Profile

Download (11 KB) Statistics
| Branch: | Tag: | Revision:
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
/*
41
 * when nesting description lists the inner dl should
42
 * not have a margin at top and bottom, but should be
43
 * indented
44
 * Used in occurence details.
45
 */
46
dl dl {
47
    margin: 0 0 0 2em;
48
}
49

    
50
#block-system-main div.content {
51
  /* margin: 0 0 0.3em 0; */
52
}
53

    
54
.name {
55
  font-style: italic;
56
}
57

    
58
.rank,
59
.authors {
60
  font-style: normal;
61
}
62

    
63
.relation_sign {
64
  margin-left: -1em; /* Same as ul.typeDesignations. */
65
  margin-right: 0.3em;
66
  float: left;
67
  font-family: Arial, sans-serif;
68
}
69

    
70
.highlite {
71
  background-color: yellow;
72
}
73

    
74
/*
75
 * ======= Search =======
76
 */
77
#block-cdm-dataportal-2 .description {
78
  display: none;
79
}
80

    
81
.fragment_highlight {
82
  font-size: 90%;
83
  margin-top: 0.3em;
84
}
85

    
86
.score-bar {
87
  width: 50px;
88
  height: 10px;
89
  border: 1px solid #dedede;
90
  background-color: #f3f3f3;
91
}
92
.score-bar .score-bar-indicator {
93
  background-color: #acd575;
94
  height: 10px;
95
}
96
.score-bar-value {
97
  width: 50px;
98
  height: 10px;
99
  margin-top: -11px; /* 10px plus 1px border. */
100
  font-size: 8px;
101
  line-height: 10px;
102
  background-color: transparent;
103
  text-align: center;
104
}
105

    
106
li .taxon {
107
}
108

    
109
/*
110
 * ======= synonymy =======
111
 */
112

    
113
#synonymy ul {
114
    margin: 0;
115
}
116

    
117
#synonymy ul.heterotypicSynonymyGroup,
118
#synonymy ul.homotypicSynonymyGroup,
119
#synonymy ul.homotypicSynonyms,
120
#synonymy ul.taxonRelationships,
121
#synonymy ul.misapplied {
122
	margin-bottom: 0.5em;
123
}
124

    
125
#synonymy ul li {
126
  padding-bottom: 0px;
127
  padding-top: 0px;
128
  margin-bottom: 0px;
129
  margin-top: 0px;
130
}
131

    
132
.heterotypicSynonymyGroup li {
133
  margin-left: 26px;
134
}
135
.homotypic-synonymy-group,
136
.heterotypic-synonymy-group,
137
.taxon-relationships {
138
   border-bottom: 1px solid #dedede;
139
   padding: 1em 0;
140
}
141

    
142
/* footnotes in synonymy */
143
#synonymy ul.foototes {
144
	margin: 0;
145
}
146

    
147
.heterotypicSynonymyGroup li.footnotes,
148
.homotypicSynonymyGroup li.footnotes,
149
.homotypicSynonyms li.footnotes,
150
.misapplied li.footnotes,
151
.content li.descriptionText {
152
  margin-top: 10px;
153
  margin-left: 6px;
154
  padding-left: 6px;
155
  list-style: none;
156
  list-style-image: none;
157
  background-image: none;
158
}
159

    
160

    
161
#synonymy li.footnotes {
162
  list-style: none;
163
  list-style-image: none;
164
  background-image: none;
165
}
166

    
167
ul.typeDesignations {
168
  margin-top: 0px;
169
  margin-bottom: 0px;
170
  margin-left: -1em; /* Same as .relation_sign. */
171
}
172
ul.typeDesignations li {
173
  background-image: none;
174
  list-style-type: none;
175
  list-style-image: none;
176
}
177

    
178
.form-item fieldset {
179
  font-size: 80%;
180
  margin-top: -3px;
181
  margin-left: 25px;
182
}
183
.form-item fieldset .featuretree_structure {
184
  height: 13em;
185
  overflow: auto;
186
}
187

    
188
.misapplied .name {
189
  /* font-style: normal; */
190
}
191
.misapplied .authors {
192
  display: none;
193
}
194
#edit-search-domisappliednames {
195
  vertical-align:baseline;
196
}
197

    
198
img.preview {
199
  margin: 5px 30px;
200
}
201

    
202
ul li.synonym {
203
  list-style-type: none;
204
  background-image: none;
205
}
206

    
207
li.firstentry {
208
  margin-left: 6px;
209
}
210

    
211
ul.cdm_names, ul.cdm_names li{
212
  background-image: none;
213
  list-style-type: none;
214
  list-style-image: none;
215
}
216

    
217
.dynabox .label:hover {
218
  color: #0174bb;
219
}
220

    
221
ul.cdm_names .dynabox_content {
222
  margin-top:-1em;
223
}
224

    
225
.tickbox_content {
226
  display: none;
227
}
228

    
229
.pager strong,
230
.pager a {
231
  -moz-border-radius-bottomleft: 2px;
232
  -moz-border-radius-bottomright: 2px;
233
  -moz-border-radius-topleft: 2px;
234
  -moz-border-radius-topright: 2px;
235
  background-color: #dfedf7;
236
  border: 1px solid #90c2e1;
237
  margin: 0px 0.25em;
238
  padding: 2px 5px;
239
}
240
.pager strong {
241
  background-color:#0174BB;
242
  color:#FFFFFF;
243
}
244
.pager-list-dots-right,
245
.pager-list-dots-left {
246
  display: inline;
247
}
248

    
249
a.filter_add:link,
250
a.filter_add:visited {
251
}
252

    
253
a.filter_remove:link,
254
a.filter_remove:visited {
255
  color: red;
256
}
257

    
258
a.synonym:LINK, a.synonym:VISITED,
259
.Synonym a:LINK, .Synonym a:VISITED,
260
.misapplied-name a:LINK,
261
.misapplied-name a:VISITED {
262
  color: #7c7c7f;
263
}
264

    
265
/* Synonyms with more than one accepted taxa. */
266
a.label:link,
267
a.label:visited {
268
  color: #7c7c7f;
269
}
270

    
271
.block-cdm-taxontree .content,
272
.block-cdm-dataportal-3 .content {
273
  font-size: 90%;
274
}
275
.content dt {
276
  float: left;
277
  font-weight: bold;
278
  margin-right: 0.3em;
279
}
280
.content dd {
281
  margin-left: 0;
282
  font-weight: normal;
283
}
284

    
285
.block-cdm-taxontree div.settings {
286
  /* background-color: #2587c3; */
287
  border-bottom: 1px solid #e0dfe3;
288
  border-top: 1px solid #e0dfe3;
289
}
290

    
291
.concept_switch {
292
  padding:0 0.2em;
293
}
294

    
295
.descriptionText,
296
.descriptionReference {
297
  vertical-align: top;
298
}
299

    
300
.annotation_box {
301
  display: none;
302
  background: #ffffcc;
303
  border: 1px solid #ffcc66;
304
  font-size: 9pt;
305
  padding: 5px
306
}
307
.annotation_box ul,
308
.annotation_box li {
309
  list-style-type: none;
310
  line-height: 11pt;
311
  padding: 0;
312
  margin: 0;
313
}
314

    
315
.annotation_box li {
316
  padding-left: 15px;
317
}
318

    
319
.annotation_create {
320
  margin-top: 20px;
321
  text-align: right;
322
}
323

    
324
.annotation_create textarea {
325
  width: 100%;
326
}
327

    
328
.annotation_create form {
329
  margin-bottom: 0;
330
}
331

    
332
/*
333
 * ==== Maps ====
334
 */
335

    
336
#openlayers {
337
  /* Should match the margin-bottom of .description. */
338
  margin-bottom: 0.75em;
339
}
340
#openlayers_map {
341
  width: 100%;
342
  height: 200px;
343
  border: 1px solid;
344
}
345
.openlayers_legend {
346
    background-color: white;
347
    filter:alpha(opacity=75); /* IE's opacity. */
348
    opacity: 0.75;
349
}
350

    
351
.distribution_map_caption {
352
  font-size: 90%;
353
  font-style: italic;
354
}
355

    
356

    
357
.distribution_map {
358
  border: 1px solid #ddd;
359
  background-color: #fff;
360
}
361

    
362
/*
363
 * ======= Media =======
364
 */
365
.media .viewer {
366
  margin-top: 20px;
367
}
368

    
369
/*
370
WA: Important, otherwise the media viewer will be displayed over the
371
Drupal Admin Overlay when this is used.
372

    
373
AK: this is not working since 'position: absolute;' will casue the content continer to be not extended to the site of
374
the image viewer
375
*/
376
div.cdm_media_viewer_image {
377
  /* position: absolute; */
378
  z-index: 1;
379
}
380
#openlayers {
381
  position: relative;
382
  z-index: 1;
383
}
384

    
385
.media ul.primary li a,
386
.media ul.primary li.active a,
387
.media ul.primary li a:hover,
388
.media ul.primary li a:visited,
389
.media ul.secondary li a,
390
.media ul.secondary li.active a,
391
.media ul.secondary li a:hover,
392
.media ul.secondary li a:visited {
393
  margin-left : 0px;
394
}
395

    
396
.media ul.primary li a.active {
397
  font-weight: bold;
398
}
399

    
400
.media_thumbnails {
401
  margin-top: 0px;
402
  margin-left: 0.3em;
403
}
404

    
405
.media_gallery tbody {
406
  border: 0px none;
407
}
408

    
409
.media_gallery td.caption {
410
  vertical-align: top;
411
}
412

    
413
.media-caption {
414
  line-height: 1.3em;
415
  margin-left: 0;
416
}
417

    
418
.media-caption dt.title {
419
  display: none;
420
}
421
.media-caption dd.title {
422
  /* font-weight: bold;
423
  font-size: 130%; */
424
}
425

    
426
.cdm_names .media-caption {
427
  font-size: 60%;
428
}
429

    
430
.image-passe-partout,
431
.image_viewer {
432
  border: 1px solid;
433
  background-color: #eee;
434
}
435

    
436

    
437
/*
438
 * ======= specific blocks =======
439
 */
440

    
441
#print_button {
442
  cursor: pointer;
443
}
444
#print_button span {
445
  color: #027AC6;
446
  margin-left: 0.3em; /* Spacing between image and text. */
447
}
448
#print_button span:hover {
449
  color: #0062A0;
450
  text-decoration: underline;
451
}
452

    
453
/*
454
 * ======= footnotes and annotations =======
455
 */
456
.annotations, .footnote{
457
  font-size: 88%;
458
}
459

    
460
.footnote-key {
461
  vertical-align: super;
462
  font-size: 80%;
463
  line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
464
  font-style: italic;
465
}
466
.footnote-anchor {
467
  font-weight: bold;
468
}
469

    
470
/*
471
 * Feature tree
472
 */
473

    
474
.featuretree_structure {
475
   font-size: 90%;
476
   line-height: 1em;
477
   color: #999;
478
}
479
/* For compatibility with d5 themes. */
480
.block-cdm-dataportal-feature {
481
  clear: both;
482
}
483

    
484
.polytomousKey_linkedStyle td {
485
  vertical-align: top;
486
  padding-top: 0;
487
}
488
.polytomousKey_linkedStyle tr.new_section td {
489
  padding-top: 1em;
490
}
491
.polytomousKey_linkedStyle tr:hover {
492
  background-color: #eee;
493
}
494
.polytomousKey_linkedStyle .nodeLink {
495
  float: right;
496
  text-align: right;
497
}
498
.polytomousKey_linkedStyle td.edge-indent {
499
  padding-left: 2em;
500
}
501

    
502
#useRecords th {
503
  font-weight: normal;
504
}
505

    
506
/* for compatibility with d5 themes */
507
.block-cdm-dataportal-feature ul {
508
  margin: 0;
509
  padding: 0 0 0.25em 1em;
510
}
511

    
512
/**
513
 * ======= Settings forms =======
514
 */
515

    
516
/* Do not display the descriptions indented in the setup forms, D5 style. */
517
#cdm-settings-general .form-type-radio .description,
518
#cdm-settings-general .form-type-checkbox .description,
519
#cdm-settings-geo .form-type-radio .description,
520
#cdm-settings-geo .form-type-checkbox .description,
521
#cdm-settings-layout .form-type-radio .description,
522
#cdm-settings-layout .form-type-checkbox .description,
523
#cdm-settings-layout-taxon .form-type-radio .description,
524
#cdm-settings-layout-taxon .form-type-checkbox .description,
525
#cdm-settings-layout-search .form-type-radio .description,
526
#cdm-settings-layout-search .form-type-checkbox .description,
527
#cdm-settings-layout-media .form-type-radio .description,
528
#cdm-settings-layout-media. form-type-checkbox .description,
529
#cdm-settings-cache .form-type-radio .description,
530
#cdm-settings-cache .form-type-checkbox .description,
531
#cdm-settings-layout-media .form-type-radio .description,
532
#cdm-settings-layout-media .form-type-checkbox .description,
533
#ext-links-admin .form-type-radio .description,
534
#ext-links-admin .form-type-checkbox .description,
535
#cdm-mediauri-rule-add .form-type-radio .description,
536
#cdm-mediauri-rule-add .form-type-checkbox .description {
537
  margin-left: 0;
538
}
539
/* Align checkboxes and radios as D5 style. */
540
#cdm-settings-general input.form-checkbox, input.form-radio,
541
#cdm-settings-geo input.form-checkbox, input.form-radio,
542
#cdm-settings-layout input.form-checkbox, input.form-radio,
543
#cdm-settings-layout-taxon input.form-checkbox, input.form-radio,
544
#cdm-settings-layout-search input.form-checkbox, input.form-radio,
545
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
546
#cdm-settings-cache input.form-checkbox, input.form-radio,
547
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
548
#ext-links-admin input.form-checkbox, input.form-radio,
549
#cdm-mediauri-rule-add input.form-checkbox, input.form-radio {
550
  vertical-align: baseline;
551
}
552

    
553
/* Custom style for the more-help links on the cdm settings pages. */
554
.cdm-dataportal-settings-more-help-link {
555
  font-size: 0.85em;
556
}
557
.cdm-dataportal-settings-more-help-link a {
558
  background-image: none;
559
  padding: 0;
560
}
561
#block-system-help .content {
562
  margin: 0;
563
}
564

    
565
/*
566
 * specimens
567
 */
568
#specimens table.specimens {
569
    width: 100%;
570
}
(3-3/13)