Project

General

Profile

Download (11.7 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
/*
93
 * ======= Search =======
94
 */
95
#block-cdm-dataportal-2 .description {
96
  display: none;
97
}
98

    
99
.fragment_highlight {
100
  font-size: 90%;
101
  margin-top: 0.3em;
102
}
103

    
104
.score-bar {
105
  width: 50px;
106
  height: 10px;
107
  border: 1px solid #dedede;
108
  background-color: #f3f3f3;
109
}
110
.score-bar .score-bar-indicator {
111
  background-color: #acd575;
112
  height: 10px;
113
}
114
.score-bar-value {
115
  width: 50px;
116
  height: 10px;
117
  margin-top: -11px; /* 10px plus 1px border. */
118
  font-size: 8px;
119
  line-height: 10px;
120
  background-color: transparent;
121
  text-align: center;
122
}
123

    
124
li .taxon {
125
}
126

    
127
/*
128
 * ======= synonymy =======
129
 */
130

    
131
#synonymy ul {
132
    margin: 0;
133
}
134

    
135
#synonymy ul.heterotypicSynonymyGroup,
136
#synonymy ul.homotypicSynonymyGroup,
137
#synonymy ul.homotypicSynonyms,
138
#synonymy ul.taxonRelationships,
139
#synonymy ul.misapplied {
140
  margin-bottom: 0.5em;
141
}
142

    
143
#synonymy ul li {
144
  padding-bottom: 0px;
145
  padding-top: 0px;
146
  margin-bottom: 0px;
147
  margin-top: 0px;
148
}
149

    
150
.heterotypicSynonymyGroup li {
151
  margin-left: 26px;
152
}
153
.homotypic-synonymy-group,
154
.heterotypic-synonymy-group,
155
.taxon-relationships {
156
   border-bottom: 1px solid #dedede;
157
   padding: 1em 0;
158
}
159

    
160
/* footnotes in synonymy */
161
#synonymy ul.foototes {
162
  margin: 0;
163
}
164

    
165
.heterotypicSynonymyGroup li.footnotes,
166
.homotypicSynonymyGroup li.footnotes,
167
.homotypicSynonyms li.footnotes,
168
.misapplied li.footnotes,
169
.content li.descriptionText {
170
  margin-top: 10px;
171
  margin-left: 6px;
172
  padding-left: 6px;
173
  list-style: none;
174
  list-style-image: none;
175
  background-image: none;
176
}
177

    
178

    
179
#synonymy li.footnotes {
180
  list-style: none;
181
  list-style-image: none;
182
  background-image: none;
183
}
184

    
185
ul.typeDesignations {
186
  margin-top: 0px;
187
  margin-bottom: 0px;
188
  margin-left: -1em; /* Same as .relation_sign. */
189
}
190
ul.typeDesignations li {
191
  background-image: none;
192
  list-style-type: none;
193
  list-style-image: none;
194
}
195

    
196
.form-item fieldset {
197
  font-size: 80%;
198
  margin-top: -3px;
199
  margin-left: 25px;
200
}
201
.form-item fieldset .featuretree_structure {
202
  height: 13em;
203
  overflow: auto;
204
}
205

    
206
.misapplied .name {
207
  /* font-style: normal; */
208
}
209
.misapplied .authors {
210
  display: none;
211
}
212
#edit-search-domisappliednames {
213
  vertical-align:baseline;
214
}
215

    
216
img.preview {
217
  margin: 5px 30px;
218
}
219

    
220
ul li.synonym {
221
  list-style-type: none;
222
  background-image: none;
223
}
224

    
225
li.firstentry {
226
  margin-left: 6px;
227
}
228

    
229
ul.cdm_names, ul.cdm_names li{
230
  background-image: none;
231
  list-style-type: none;
232
  list-style-image: none;
233
}
234

    
235
.dynabox .label:hover {
236
  color: #0174bb;
237
}
238

    
239
ul.cdm_names .dynabox_content {
240
  margin-top:-1em;
241
}
242

    
243
.tickbox_content {
244
  display: none;
245
}
246

    
247
.pager strong,
248
.pager a {
249
  -moz-border-radius-bottomleft: 2px;
250
  -moz-border-radius-bottomright: 2px;
251
  -moz-border-radius-topleft: 2px;
252
  -moz-border-radius-topright: 2px;
253
  background-color: #dfedf7;
254
  border: 1px solid #90c2e1;
255
  margin: 0px 0.25em;
256
  padding: 2px 5px;
257
}
258
.pager strong {
259
  background-color:#0174BB;
260
  color:#FFFFFF;
261
}
262
.pager-list-dots-right,
263
.pager-list-dots-left {
264
  display: inline;
265
}
266

    
267
a.filter_add:link,
268
a.filter_add:visited {
269
}
270

    
271
a.filter_remove:link,
272
a.filter_remove:visited {
273
  color: red;
274
}
275

    
276
a.synonym:LINK, a.synonym:VISITED,
277
.Synonym a:LINK, .Synonym a:VISITED,
278
.misapplied-name a:LINK,
279
.misapplied-name a:VISITED {
280
  color: #7c7c7f;
281
}
282

    
283
/* Synonyms with more than one accepted taxa. */
284
a.label:link,
285
a.label:visited {
286
  color: #7c7c7f;
287
}
288

    
289
.block-cdm-taxontree .content,
290
.block-cdm-dataportal-3 .content {
291
  font-size: 90%;
292
}
293
.content dt {
294
  float: left;
295
  font-weight: bold;
296
  margin-right: 0.3em;
297
}
298
.content dd {
299
  margin-left: 0;
300
  font-weight: normal;
301
}
302

    
303
.block-cdm-taxontree div.settings {
304
  /* background-color: #2587c3; */
305
  border-bottom: 1px solid #e0dfe3;
306
  border-top: 1px solid #e0dfe3;
307
}
308

    
309
.concept_switch {
310
  padding:0 0.2em;
311
}
312

    
313
.descriptionText,
314
.descriptionReference {
315
  vertical-align: top;
316
}
317

    
318
.annotation_box {
319
  display: none;
320
  background: #ffffcc;
321
  border: 1px solid #ffcc66;
322
  font-size: 9pt;
323
  padding: 5px
324
}
325
.annotation_box ul,
326
.annotation_box li {
327
  list-style-type: none;
328
  line-height: 11pt;
329
  padding: 0;
330
  margin: 0;
331
}
332

    
333
.annotation_box li {
334
  padding-left: 15px;
335
}
336

    
337
.annotation_create {
338
  margin-top: 20px;
339
  text-align: right;
340
}
341

    
342
.annotation_create textarea {
343
  width: 100%;
344
}
345

    
346
.annotation_create form {
347
  margin-bottom: 0;
348
}
349

    
350
/*
351
 * ==== Maps ====
352
 */
353

    
354
#openlayers {
355
  /* Should match the margin-bottom of .description. */
356
  margin-bottom: 0.75em;
357
}
358
#openlayers_map {
359
  width: 100%;
360
  height: 200px;
361
  border: 1px solid;
362
}
363
.openlayers_legend {
364
    background-color: white;
365
    filter:alpha(opacity=75); /* IE's opacity. */
366
    opacity: 0.75;
367
}
368

    
369
.distribution_map_caption {
370
  font-size: 90%;
371
  font-style: italic;
372
}
373

    
374

    
375
.distribution_map {
376
  border: 1px solid #ddd;
377
  background-color: #fff;
378
}
379

    
380
/*
381
 * ======= Media =======
382
 */
383
.media .viewer {
384
  margin-top: 20px;
385
}
386

    
387
/*
388
WA: Important, otherwise the media viewer will be displayed over the
389
Drupal Admin Overlay when this is used.
390

    
391
AK: this is not working since 'position: absolute;' will casue the content continer to be not extended to the site of
392
the image viewer
393
*/
394
div.cdm_media_viewer_image {
395
  /* position: absolute; */
396
  z-index: 1;
397
}
398
#openlayers {
399
  position: relative;
400
  z-index: 1;
401
}
402

    
403
.media ul.primary li a,
404
.media ul.primary li.active a,
405
.media ul.primary li a:hover,
406
.media ul.primary li a:visited,
407
.media ul.secondary li a,
408
.media ul.secondary li.active a,
409
.media ul.secondary li a:hover,
410
.media ul.secondary li a:visited {
411
  margin-left : 0px;
412
}
413

    
414
.media ul.primary li a.active {
415
  font-weight: bold;
416
}
417

    
418
.media_thumbnails {
419
  margin-top: 0px;
420
  margin-left: 0.3em;
421
}
422

    
423
.media_gallery tbody {
424
  border: 0px none;
425
}
426

    
427
.media_gallery td.caption {
428
  vertical-align: top;
429
}
430

    
431
.media-caption {
432
  margin-left: 0;
433
}
434

    
435
.media-caption dt.title {
436
  display: none;
437
}
438

    
439
.image-passe-partout{
440
  border: 0px none;
441
  background-color: #eee;
442
}
443

    
444
.image_viewer {
445
  border: 1px solid;
446
  background-color: #eee;
447
}
448

    
449

    
450
/*
451
 * ======= specific blocks =======
452
 */
453

    
454
#print_button {
455
  cursor: pointer;
456
}
457
#print_button span {
458
  color: #027AC6;
459
  margin-left: 0.3em; /* Spacing between image and text. */
460
}
461
#print_button span:hover {
462
  color: #0062A0;
463
  text-decoration: underline;
464
}
465

    
466
/*
467
 * ======= footnotes and annotations =======
468
 */
469
.annotations, .footnote{
470
  font-size: 88%;
471
}
472

    
473
.footnote-key {
474
  vertical-align: super;
475
  font-size: 80%;
476
  line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
477
  font-style: italic;
478
}
479
.footnote-anchor {
480
  font-weight: bold;
481
}
482

    
483
/*
484
 * Feature tree
485
 */
486

    
487
.featuretree_structure {
488
   font-size: 90%;
489
   line-height: 1em;
490
   color: #999;
491
}
492
/* For compatibility with d5 themes. */
493
.block-cdm-dataportal-feature {
494
  clear: both;
495
}
496

    
497
#useRecords th {
498
  font-weight: normal;
499
}
500

    
501
/* for compatibility with d5 themes */
502
.block-cdm-dataportal-feature ul {
503
  margin: 0;
504
  padding: 0 0 0.25em 1em;
505
}
506

    
507
/**
508
 * ======= Settings forms =======
509
 */
510

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

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

    
560
/*
561
 * ======= specimens =======
562
 */
563
#specimens table.specimens {
564
    width: 100%;
565
}
566

    
567
#specimens .description_list h4 {
568
  clear: left;
569
    margin-bottom: 0;
570
    font-style: italic;
571
}
572

    
573
#specimens  .block-cdm-dataportal-feature h2 {
574
  font-size: 11px;
575
    font-weight: bold;
576
}
577

    
578
#specimens ul.footnotes {
579
    padding: 0;
580
}
581

    
582
#specimens .dna-sequence div {
583
    font-family: monospace;
584
}
585

    
586

    
587
/*
588
 * ======= Identification keys =======
589
 */
590

    
591
#identificationKey .sources span {
592
  display: block;
593
}
594

    
595
.polytomousKey_linkedStyle td {
596
  vertical-align: top;
597
  padding-top: 0;
598
}
599
.polytomousKey_linkedStyle tr.new_section td {
600
  padding-top: 1em;
601
}
602
.polytomousKey_linkedStyle tr:hover {
603
  background-color: #eee;
604
}
605
.polytomousKey_linkedStyle .nodeLink {
606
  float: right;
607
  text-align: right;
608
  padding-left: 2em;
609
}
610
.polytomousKey_linkedStyle td.edge-indent {
611
  padding-left: 2em;
612
}
613

    
(4-4/14)