Project

General

Profile

Download (12.5 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

    
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
/* this is used to highlite the first element in the classification chooser */
93
select.highlite-first-child option:first-child {
94
  font-weight: bold;
95
}
96

    
97
/*
98
 * ======= Search-Form =======
99
 */
100

    
101
#edit-search-area {
102
  height: 10em;
103
  overflow: auto;
104
}
105

    
106
/*
107
 * ======= Search-Results =======
108
 */
109
#block-cdm-dataportal-2 .description {
110
  display: none;
111
}
112

    
113
.fragment_highlight {
114
  font-size: 90%;
115
  margin-top: 0.3em;
116
}
117

    
118
.score-bar {
119
  width: 50px;
120
  height: 10px;
121
  border: 1px solid #dedede;
122
  background-color: #f3f3f3;
123
}
124
.score-bar .score-bar-indicator {
125
  background-color: #acd575;
126
  height: 10px;
127
}
128
.score-bar-value {
129
  width: 50px;
130
  height: 10px;
131
  margin-top: -11px; /* 10px plus 1px border. */
132
  font-size: 8px;
133
  line-height: 10px;
134
  background-color: transparent;
135
  text-align: center;
136
}
137

    
138
li .taxon {
139
}
140

    
141
/*
142
 * ======= Taxon Page =======
143
 */
144
.page-part {
145
  clear: both;
146
}
147

    
148
/*
149
 * ======= synonymy =======
150
 */
151

    
152
#synonymy ul {
153
    margin: 0;
154
}
155

    
156
#synonymy ul.heterotypicSynonymyGroup,
157
#synonymy ul.homotypicSynonymyGroup,
158
#synonymy ul.homotypicSynonyms,
159
#synonymy ul.taxonRelationships,
160
#synonymy ul.misapplied {
161
  margin-bottom: 0.5em;
162
}
163

    
164
#synonymy ul li {
165
  padding-bottom: 0px;
166
  padding-top: 0px;
167
  margin-bottom: 0px;
168
  margin-top: 0px;
169
}
170

    
171
.heterotypicSynonymyGroup li {
172
  margin-left: 26px;
173
}
174
.homotypic-synonymy-group,
175
.heterotypic-synonymy-group,
176
.taxon-relationships {
177
   border-bottom: 1px solid #dedede;
178
   padding: 1em 0;
179
}
180

    
181
/* footnotes in synonymy */
182
#synonymy ul.foototes {
183
  margin: 0;
184
}
185

    
186
.heterotypicSynonymyGroup li.footnotes,
187
.homotypicSynonymyGroup li.footnotes,
188
.homotypicSynonyms li.footnotes,
189
.misapplied li.footnotes,
190
.content li.descriptionText, /* TODO this line has only left for debuggin: remove it */
191
.block-cdm-dataportal-feature .content li.cdm\:TextData {
192
  margin-top: 10px;
193
  margin-left: 6px;
194
  padding-left: 6px;
195
  list-style: none;
196
  list-style-image: none;
197
  background-image: none;
198
}
199

    
200

    
201
#synonymy li.footnotes {
202
  list-style: none;
203
  list-style-image: none;
204
  background-image: none;
205
}
206

    
207
ul.typeDesignations {
208
  margin-top: 0px;
209
  margin-bottom: 0px;
210
  margin-left: -1em; /* Same as .relation_sign. */
211
}
212
ul.typeDesignations li {
213
  background-image: none;
214
  list-style-type: none;
215
  list-style-image: none;
216
}
217

    
218
.form-item fieldset {
219
  font-size: 80%;
220
  margin-top: -3px;
221
  margin-left: 25px;
222
}
223
.form-item fieldset .featuretree_structure {
224
  height: 13em;
225
  overflow: auto;
226
}
227

    
228
.misapplied .name {
229
  /* font-style: normal; */
230
}
231
.misapplied .authors {
232
  display: none;
233
}
234
#edit-search-domisappliednames {
235
  vertical-align:baseline;
236
}
237

    
238
img.preview {
239
  margin: 5px 30px;
240
}
241

    
242
ul li.synonym {
243
  list-style-type: none;
244
  background-image: none;
245
}
246

    
247
li.firstentry {
248
  margin-left: 6px;
249
}
250

    
251
ul.cdm_names, ul.cdm_names li{
252
  background-image: none;
253
  list-style-type: none;
254
  list-style-image: none;
255
}
256

    
257
.dynabox .label:hover {
258
  color: #0174bb;
259
}
260

    
261
ul.cdm_names .dynabox_content {
262
  margin-top:-1em;
263
}
264

    
265
.tickbox_content {
266
  display: none;
267
}
268

    
269
.pager strong,
270
.pager a {
271
  -moz-border-radius-bottomleft: 2px;
272
  -moz-border-radius-bottomright: 2px;
273
  -moz-border-radius-topleft: 2px;
274
  -moz-border-radius-topright: 2px;
275
  background-color: #dfedf7;
276
  border: 1px solid #90c2e1;
277
  margin: 0px 0.25em;
278
  padding: 2px 5px;
279
}
280
.pager strong {
281
  background-color:#0174BB;
282
  color:#FFFFFF;
283
}
284
.pager-list-dots-right,
285
.pager-list-dots-left {
286
  display: inline;
287
}
288

    
289
a.filter_add:link,
290
a.filter_add:visited {
291
}
292

    
293
a.filter_remove:link,
294
a.filter_remove:visited {
295
  color: red;
296
}
297

    
298
a.synonym:LINK, a.synonym:VISITED,
299
.Synonym a:LINK, .Synonym a:VISITED,
300
.misapplied-name a:LINK,
301
.misapplied-name a:VISITED {
302
  color: #7c7c7f;
303
}
304

    
305
/* Synonyms with more than one accepted taxa. */
306
a.label:link,
307
a.label:visited {
308
  color: #7c7c7f;
309
}
310

    
311
.block-cdm-taxontree .content,
312
.block-cdm-dataportal-3 .content {
313
  font-size: 90%;
314
}
315
.content dt {
316
  float: left;
317
  font-weight: bold;
318
  margin-right: 0.3em;
319
}
320
.content dd {
321
  margin-left: 0;
322
  font-weight: normal;
323
}
324

    
325
.block-cdm-taxontree div.settings {
326
  /* background-color: #2587c3; */
327
  border-bottom: 1px solid #e0dfe3;
328
  border-top: 1px solid #e0dfe3;
329
}
330

    
331
.concept_switch {
332
  padding:0 0.2em;
333
}
334

    
335
.descriptionText,
336
.descriptionReference {
337
  vertical-align: top;
338
}
339

    
340
.annotation_box {
341
  display: none;
342
  background: #ffffcc;
343
  border: 1px solid #ffcc66;
344
  font-size: 9pt;
345
  padding: 5px
346
}
347
.annotation_box ul,
348
.annotation_box li {
349
  list-style-type: none;
350
  line-height: 11pt;
351
  padding: 0;
352
  margin: 0;
353
}
354

    
355
.annotation_box li {
356
  padding-left: 15px;
357
}
358

    
359
.annotation_create {
360
  margin-top: 20px;
361
  text-align: right;
362
}
363

    
364
.annotation_create textarea {
365
  width: 100%;
366
}
367

    
368
.annotation_create form {
369
  margin-bottom: 0;
370
}
371

    
372
/*
373
 * ==== Maps ====
374
 */
375

    
376
#openlayers {
377
  /* Should match the margin-bottom of .description. */
378
  margin-bottom: 0.75em;
379
}
380
#openlayers_map {
381
  width: 100%;
382
  height: 200px;
383
  border: 1px solid;
384
}
385
.openlayers_legend {
386
    background-color: white;
387
    filter:alpha(opacity=75); /* IE's opacity. */
388
    opacity: 0.75;
389
}
390

    
391
.distribution_map_caption {
392
  font-size: 90%;
393
  font-style: italic;
394
}
395

    
396

    
397
.distribution_map {
398
  border: 1px solid #ddd;
399
  background-color: #fff;
400
}
401

    
402
/*
403
 * ======= Media =======
404
 */
405
.media .viewer {
406
  margin-top: 20px;
407
}
408

    
409
/*
410
WA: Important, otherwise the media viewer will be displayed over the
411
Drupal Admin Overlay when this is used.
412

    
413
AK: this is not working since 'position: absolute;' will cause the content container
414
to be not extended to the side of
415
the image viewer
416
*/
417
div.cdm_media_viewer_image {
418
  /* position: absolute; */
419
  z-index: 1;
420
}
421
#openlayers {
422
  position: relative;
423
  z-index: 1;
424
}
425

    
426
.media ul.primary li a,
427
.media ul.primary li.active a,
428
.media ul.primary li a:hover,
429
.media ul.primary li a:visited,
430
.media ul.secondary li a,
431
.media ul.secondary li.active a,
432
.media ul.secondary li a:hover,
433
.media ul.secondary li a:visited {
434
  margin-left : 0px;
435
}
436

    
437
.media ul.primary li a.active {
438
  font-weight: bold;
439
}
440

    
441
.media_thumbnails {
442
  margin-top: 0px;
443
  margin-left: 0.3em;
444
}
445

    
446
.media_gallery tbody {
447
  border: 0px none;
448
}
449

    
450
.media_gallery td.caption {
451
  vertical-align: top;
452
}
453

    
454
.media-caption {
455
  margin-left: 0;
456
}
457

    
458
.media-caption dt.title {
459
  display: none;
460
}
461

    
462
.image-passe-partout{
463
  border: 0px none;
464
  background-color: #eee;
465
}
466

    
467
.image_viewer {
468
  border: 1px solid;
469
  background-color: #eee;
470
}
471

    
472

    
473
/*
474
 * ======= specific blocks =======
475
 */
476

    
477
#print_button {
478
  cursor: pointer;
479
}
480
#print_button span {
481
  color: #027AC6;
482
  margin-left: 0.3em; /* Spacing between image and text. */
483
}
484
#print_button span:hover {
485
  color: #0062A0;
486
  text-decoration: underline;
487
}
488

    
489
/*
490
 * ======= footnotes and annotations =======
491
 */
492

    
493
.footnotes {
494
    margin-top: 0.5em;
495
    display: block;
496
}
497

    
498
.annotations, .footnote{
499
  font-size: 88%;
500
}
501

    
502
.footnote-key {
503
  vertical-align: super;
504
  font-size: 80%;
505
  line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
506
  font-style: italic;
507
}
508
.footnote-anchor {
509
  font-weight: bold;
510
}
511

    
512
/*
513
 * Feature tree
514
 */
515

    
516
.featuretree_structure {
517
   font-size: 90%;
518
   line-height: 1em;
519
   color: #999;
520
}
521
/* For compatibility with d5 themes. */
522
.block-cdm-dataportal-feature {
523
  clear: both;
524
}
525

    
526
#block-cdm-dataportal-feature-bibliography .footnote {
527
    font-size: 100%; /* reset fontsize */
528
}
529

    
530
#useRecords th {
531
  font-weight: normal;
532
}
533

    
534
/* for compatibility with d5 themes */
535
.block-cdm-dataportal-feature ul {
536
  margin: 0;
537
  padding: 0 0 0.25em 1em;
538
}
539

    
540
/**
541
 * ======= Settings forms =======
542
 */
543

    
544
/* Do not display the descriptions indented in the setup forms, D5 style. */
545
#cdm-settings-general .form-type-radio .description,
546
#cdm-settings-general .form-type-checkbox .description,
547
#cdm-settings-geo .form-type-radio .description,
548
#cdm-settings-geo .form-type-checkbox .description,
549
#cdm-settings-layout .form-type-radio .description,
550
#cdm-settings-layout .form-type-checkbox .description,
551
#cdm-settings-layout-taxon .form-type-radio .description,
552
#cdm-settings-layout-taxon .form-type-checkbox .description,
553
#cdm-settings-layout-search .form-type-radio .description,
554
#cdm-settings-layout-search .form-type-checkbox .description,
555
#cdm-settings-layout-media .form-type-radio .description,
556
#cdm-settings-layout-media .form-type-checkbox .description,
557
#cdm-settings-cache .form-type-radio .description,
558
#cdm-settings-cache .form-type-checkbox .description,
559
#cdm-settings-layout-media .form-type-radio .description,
560
#cdm-settings-layout-media .form-type-checkbox .description,
561
#ext-links-admin .form-type-radio .description,
562
#ext-links-admin .form-type-checkbox .description,
563
#cdm-mediauri-rule-add .form-type-radio .description,
564
#cdm-mediauri-rule-add .form-type-checkbox .description {
565
  margin-left: 0;
566
}
567
/* Align checkboxes and radios as D5 style. */
568
#cdm-settings-general input.form-checkbox, input.form-radio,
569
#cdm-settings-geo input.form-checkbox, input.form-radio,
570
#cdm-settings-layout input.form-checkbox, input.form-radio,
571
#cdm-settings-layout-taxon input.form-checkbox, input.form-radio,
572
#cdm-settings-layout-search input.form-checkbox, input.form-radio,
573
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
574
#cdm-settings-cache input.form-checkbox, input.form-radio,
575
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
576
#ext-links-admin input.form-checkbox, input.form-radio,
577
#cdm-mediauri-rule-add input.form-checkbox, input.form-radio {
578
  vertical-align: baseline;
579
}
580

    
581
/* Custom style for the more-help links on the cdm settings pages. */
582
.cdm-dataportal-settings-more-help-link {
583
  font-size: 0.85em;
584
}
585
.cdm-dataportal-settings-more-help-link a {
586
  background-image: none;
587
  padding: 0;
588
}
589
#block-system-help .content {
590
  margin: 0;
591
}
592

    
593
/*
594
 * ======= specimens =======
595
 */
596
#specimens table.specimens {
597
    width: 100%;
598
}
599

    
600
#specimens .description_list h4 {
601
  clear: left;
602
    margin-bottom: 0;
603
    font-style: italic;
604
}
605

    
606
#specimens  .block-cdm-dataportal-feature h2 {
607
  font-size: 11px;
608
    font-weight: bold;
609
}
610

    
611
#specimens ul.footnotes {
612
    padding: 0;
613
}
614

    
615
#specimens .dna-sequence div {
616
    font-family: monospace;
617
}
618

    
619

    
620
/*
621
 * ======= Identification keys =======
622
 */
623

    
624
#identificationKey .sources span {
625
  display: block;
626
}
627

    
628
.polytomousKey_linkedStyle td {
629
  vertical-align: top;
630
  padding-top: 0;
631
}
632
.polytomousKey_linkedStyle tr.new_section td {
633
  padding-top: 1em;
634
}
635
.polytomousKey_linkedStyle tr:hover {
636
  background-color: #eee;
637
}
638
.polytomousKey_linkedStyle .nodeLink {
639
  float: right;
640
  text-align: right;
641
  padding-left: 2em;
642
}
643
.polytomousKey_linkedStyle td.edge-indent {
644
  padding-left: 2em;
645
}
646

    
647
/*
648
 * Overriding default style from drupal?
649
 * This prohibits select elements from overflowing the parent container
650
 */
651
select {
652
  max-width: 100%;
653
}
(4-4/14)