Project

General

Profile

Download (11.3 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
  margin-left: 0;
415
}
416

    
417
.media-caption dt.title {
418
  display: none;
419
}
420

    
421
.image-passe-partout{
422
  border: 0px none;
423
  background-color: #eee;
424
}
425

    
426
.image_viewer {
427
  border: 1px solid;
428
  background-color: #eee;
429
}
430

    
431

    
432
/*
433
 * ======= specific blocks =======
434
 */
435

    
436
#print_button {
437
  cursor: pointer;
438
}
439
#print_button span {
440
  color: #027AC6;
441
  margin-left: 0.3em; /* Spacing between image and text. */
442
}
443
#print_button span:hover {
444
  color: #0062A0;
445
  text-decoration: underline;
446
}
447

    
448
/*
449
 * ======= footnotes and annotations =======
450
 */
451
.annotations, .footnote{
452
  font-size: 88%;
453
}
454

    
455
.footnote-key {
456
  vertical-align: super;
457
  font-size: 80%;
458
  line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
459
  font-style: italic;
460
}
461
.footnote-anchor {
462
  font-weight: bold;
463
}
464

    
465
/*
466
 * Feature tree
467
 */
468

    
469
.featuretree_structure {
470
   font-size: 90%;
471
   line-height: 1em;
472
   color: #999;
473
}
474
/* For compatibility with d5 themes. */
475
.block-cdm-dataportal-feature {
476
  clear: both;
477
}
478

    
479
#useRecords th {
480
  font-weight: normal;
481
}
482

    
483
/* for compatibility with d5 themes */
484
.block-cdm-dataportal-feature ul {
485
  margin: 0;
486
  padding: 0 0 0.25em 1em;
487
}
488

    
489
/**
490
 * ======= Settings forms =======
491
 */
492

    
493
/* Do not display the descriptions indented in the setup forms, D5 style. */
494
#cdm-settings-general .form-type-radio .description,
495
#cdm-settings-general .form-type-checkbox .description,
496
#cdm-settings-geo .form-type-radio .description,
497
#cdm-settings-geo .form-type-checkbox .description,
498
#cdm-settings-layout .form-type-radio .description,
499
#cdm-settings-layout .form-type-checkbox .description,
500
#cdm-settings-layout-taxon .form-type-radio .description,
501
#cdm-settings-layout-taxon .form-type-checkbox .description,
502
#cdm-settings-layout-search .form-type-radio .description,
503
#cdm-settings-layout-search .form-type-checkbox .description,
504
#cdm-settings-layout-media .form-type-radio .description,
505
#cdm-settings-layout-media .form-type-checkbox .description,
506
#cdm-settings-cache .form-type-radio .description,
507
#cdm-settings-cache .form-type-checkbox .description,
508
#cdm-settings-layout-media .form-type-radio .description,
509
#cdm-settings-layout-media .form-type-checkbox .description,
510
#ext-links-admin .form-type-radio .description,
511
#ext-links-admin .form-type-checkbox .description,
512
#cdm-mediauri-rule-add .form-type-radio .description,
513
#cdm-mediauri-rule-add .form-type-checkbox .description {
514
  margin-left: 0;
515
}
516
/* Align checkboxes and radios as D5 style. */
517
#cdm-settings-general input.form-checkbox, input.form-radio,
518
#cdm-settings-geo input.form-checkbox, input.form-radio,
519
#cdm-settings-layout input.form-checkbox, input.form-radio,
520
#cdm-settings-layout-taxon input.form-checkbox, input.form-radio,
521
#cdm-settings-layout-search input.form-checkbox, input.form-radio,
522
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
523
#cdm-settings-cache input.form-checkbox, input.form-radio,
524
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
525
#ext-links-admin input.form-checkbox, input.form-radio,
526
#cdm-mediauri-rule-add input.form-checkbox, input.form-radio {
527
  vertical-align: baseline;
528
}
529

    
530
/* Custom style for the more-help links on the cdm settings pages. */
531
.cdm-dataportal-settings-more-help-link {
532
  font-size: 0.85em;
533
}
534
.cdm-dataportal-settings-more-help-link a {
535
  background-image: none;
536
  padding: 0;
537
}
538
#block-system-help .content {
539
  margin: 0;
540
}
541

    
542
/*
543
 * ======= specimens =======
544
 */
545
#specimens table.specimens {
546
    width: 100%;
547
}
548

    
549
#specimens .description_list h4 {
550
  clear: left;
551
    margin-bottom: 0;
552
    font-style: italic;
553
}
554

    
555
#specimens  .block-cdm-dataportal-feature h2 {
556
  font-size: 11px;
557
    font-weight: bold;
558
}
559

    
560
#specimens ul.footnotes {
561
    padding: 0;
562
}
563

    
564
#specimens .dna-sequence div {
565
    font-family: monospace;
566
}
567

    
568

    
569
/*
570
 * ======= Identification keys =======
571
 */
572

    
573
#identificationKey .sources span {
574
  display: block;
575
}
576

    
577
.polytomousKey_linkedStyle td {
578
  vertical-align: top;
579
  padding-top: 0;
580
}
581
.polytomousKey_linkedStyle tr.new_section td {
582
  padding-top: 1em;
583
}
584
.polytomousKey_linkedStyle tr:hover {
585
  background-color: #eee;
586
}
587
.polytomousKey_linkedStyle .nodeLink {
588
  float: right;
589
  text-align: right;
590
  padding-left: 2em;
591
}
592
.polytomousKey_linkedStyle td.edge-indent {
593
  padding-left: 2em;
594
}
595

    
(3-3/13)