Project

General

Profile

Download (11.6 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 td.data_links a {
34
  color: #999;
35
}
36
#cdm-ws-debug-table tr.valid td.data_links a {
37
  color: #1bdf00;
38
}
39
#cdm-ws-debug-table tr.invalid td.data_links a {
40
  color: #f3000a;
41
}
42
#cdm-ws-debug-table tr.cacheL1, #cdm-ws-debug-table tr.cacheL2 {
43
  color: #999;
44
}
45
#cdm-ws-debug-table .ws_uri {
46
  width: 50%;
47
}
48

    
49
/*
50
 * when nesting description lists the inner dl should
51
 * not have a margin at top and bottom, but should be
52
 * indented
53
 * Used in occurence details.
54
 */
55
dl dl {
56
    margin: 0 0 0 2em;
57
}
58

    
59
#block-system-main div.content {
60
  /* margin: 0 0 0.3em 0; */
61
}
62

    
63
.name {
64
  font-style: italic;
65
}
66

    
67
.rank,
68
.authors {
69
  font-style: normal;
70
}
71

    
72
.relation_sign {
73
  margin-left: -1em; /* Same as ul.typeDesignations. */
74
  margin-right: 0.3em;
75
  float: left;
76
  font-family: Arial, sans-serif;
77
}
78

    
79
.highlite {
80
  background-color: yellow;
81
}
82

    
83
/*
84
 * ======= Search =======
85
 */
86
#block-cdm-dataportal-2 .description {
87
  display: none;
88
}
89

    
90
.fragment_highlight {
91
  font-size: 90%;
92
  margin-top: 0.3em;
93
}
94

    
95
.score-bar {
96
  width: 50px;
97
  height: 10px;
98
  border: 1px solid #dedede;
99
  background-color: #f3f3f3;
100
}
101
.score-bar .score-bar-indicator {
102
  background-color: #acd575;
103
  height: 10px;
104
}
105
.score-bar-value {
106
  width: 50px;
107
  height: 10px;
108
  margin-top: -11px; /* 10px plus 1px border. */
109
  font-size: 8px;
110
  line-height: 10px;
111
  background-color: transparent;
112
  text-align: center;
113
}
114

    
115
li .taxon {
116
}
117

    
118
/*
119
 * ======= synonymy =======
120
 */
121

    
122
#synonymy ul {
123
    margin: 0;
124
}
125

    
126
#synonymy ul.heterotypicSynonymyGroup,
127
#synonymy ul.homotypicSynonymyGroup,
128
#synonymy ul.homotypicSynonyms,
129
#synonymy ul.taxonRelationships,
130
#synonymy ul.misapplied {
131
  margin-bottom: 0.5em;
132
}
133

    
134
#synonymy ul li {
135
  padding-bottom: 0px;
136
  padding-top: 0px;
137
  margin-bottom: 0px;
138
  margin-top: 0px;
139
}
140

    
141
.heterotypicSynonymyGroup li {
142
  margin-left: 26px;
143
}
144
.homotypic-synonymy-group,
145
.heterotypic-synonymy-group,
146
.taxon-relationships {
147
   border-bottom: 1px solid #dedede;
148
   padding: 1em 0;
149
}
150

    
151
/* footnotes in synonymy */
152
#synonymy ul.foototes {
153
  margin: 0;
154
}
155

    
156
.heterotypicSynonymyGroup li.footnotes,
157
.homotypicSynonymyGroup li.footnotes,
158
.homotypicSynonyms li.footnotes,
159
.misapplied li.footnotes,
160
.content li.descriptionText {
161
  margin-top: 10px;
162
  margin-left: 6px;
163
  padding-left: 6px;
164
  list-style: none;
165
  list-style-image: none;
166
  background-image: none;
167
}
168

    
169

    
170
#synonymy li.footnotes {
171
  list-style: none;
172
  list-style-image: none;
173
  background-image: none;
174
}
175

    
176
ul.typeDesignations {
177
  margin-top: 0px;
178
  margin-bottom: 0px;
179
  margin-left: -1em; /* Same as .relation_sign. */
180
}
181
ul.typeDesignations li {
182
  background-image: none;
183
  list-style-type: none;
184
  list-style-image: none;
185
}
186

    
187
.form-item fieldset {
188
  font-size: 80%;
189
  margin-top: -3px;
190
  margin-left: 25px;
191
}
192
.form-item fieldset .featuretree_structure {
193
  height: 13em;
194
  overflow: auto;
195
}
196

    
197
.misapplied .name {
198
  /* font-style: normal; */
199
}
200
.misapplied .authors {
201
  display: none;
202
}
203
#edit-search-domisappliednames {
204
  vertical-align:baseline;
205
}
206

    
207
img.preview {
208
  margin: 5px 30px;
209
}
210

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

    
216
li.firstentry {
217
  margin-left: 6px;
218
}
219

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

    
226
.dynabox .label:hover {
227
  color: #0174bb;
228
}
229

    
230
ul.cdm_names .dynabox_content {
231
  margin-top:-1em;
232
}
233

    
234
.tickbox_content {
235
  display: none;
236
}
237

    
238
.pager strong,
239
.pager a {
240
  -moz-border-radius-bottomleft: 2px;
241
  -moz-border-radius-bottomright: 2px;
242
  -moz-border-radius-topleft: 2px;
243
  -moz-border-radius-topright: 2px;
244
  background-color: #dfedf7;
245
  border: 1px solid #90c2e1;
246
  margin: 0px 0.25em;
247
  padding: 2px 5px;
248
}
249
.pager strong {
250
  background-color:#0174BB;
251
  color:#FFFFFF;
252
}
253
.pager-list-dots-right,
254
.pager-list-dots-left {
255
  display: inline;
256
}
257

    
258
a.filter_add:link,
259
a.filter_add:visited {
260
}
261

    
262
a.filter_remove:link,
263
a.filter_remove:visited {
264
  color: red;
265
}
266

    
267
a.synonym:LINK, a.synonym:VISITED,
268
.Synonym a:LINK, .Synonym a:VISITED,
269
.misapplied-name a:LINK,
270
.misapplied-name a:VISITED {
271
  color: #7c7c7f;
272
}
273

    
274
/* Synonyms with more than one accepted taxa. */
275
a.label:link,
276
a.label:visited {
277
  color: #7c7c7f;
278
}
279

    
280
.block-cdm-taxontree .content,
281
.block-cdm-dataportal-3 .content {
282
  font-size: 90%;
283
}
284
.content dt {
285
  float: left;
286
  font-weight: bold;
287
  margin-right: 0.3em;
288
}
289
.content dd {
290
  margin-left: 0;
291
  font-weight: normal;
292
}
293

    
294
.block-cdm-taxontree div.settings {
295
  /* background-color: #2587c3; */
296
  border-bottom: 1px solid #e0dfe3;
297
  border-top: 1px solid #e0dfe3;
298
}
299

    
300
.concept_switch {
301
  padding:0 0.2em;
302
}
303

    
304
.descriptionText,
305
.descriptionReference {
306
  vertical-align: top;
307
}
308

    
309
.annotation_box {
310
  display: none;
311
  background: #ffffcc;
312
  border: 1px solid #ffcc66;
313
  font-size: 9pt;
314
  padding: 5px
315
}
316
.annotation_box ul,
317
.annotation_box li {
318
  list-style-type: none;
319
  line-height: 11pt;
320
  padding: 0;
321
  margin: 0;
322
}
323

    
324
.annotation_box li {
325
  padding-left: 15px;
326
}
327

    
328
.annotation_create {
329
  margin-top: 20px;
330
  text-align: right;
331
}
332

    
333
.annotation_create textarea {
334
  width: 100%;
335
}
336

    
337
.annotation_create form {
338
  margin-bottom: 0;
339
}
340

    
341
/*
342
 * ==== Maps ====
343
 */
344

    
345
#openlayers {
346
  /* Should match the margin-bottom of .description. */
347
  margin-bottom: 0.75em;
348
}
349
#openlayers_map {
350
  width: 100%;
351
  height: 200px;
352
  border: 1px solid;
353
}
354
.openlayers_legend {
355
    background-color: white;
356
    filter:alpha(opacity=75); /* IE's opacity. */
357
    opacity: 0.75;
358
}
359

    
360
.distribution_map_caption {
361
  font-size: 90%;
362
  font-style: italic;
363
}
364

    
365

    
366
.distribution_map {
367
  border: 1px solid #ddd;
368
  background-color: #fff;
369
}
370

    
371
/*
372
 * ======= Media =======
373
 */
374
.media .viewer {
375
  margin-top: 20px;
376
}
377

    
378
/*
379
WA: Important, otherwise the media viewer will be displayed over the
380
Drupal Admin Overlay when this is used.
381

    
382
AK: this is not working since 'position: absolute;' will casue the content continer to be not extended to the site of
383
the image viewer
384
*/
385
div.cdm_media_viewer_image {
386
  /* position: absolute; */
387
  z-index: 1;
388
}
389
#openlayers {
390
  position: relative;
391
  z-index: 1;
392
}
393

    
394
.media ul.primary li a,
395
.media ul.primary li.active a,
396
.media ul.primary li a:hover,
397
.media ul.primary li a:visited,
398
.media ul.secondary li a,
399
.media ul.secondary li.active a,
400
.media ul.secondary li a:hover,
401
.media ul.secondary li a:visited {
402
  margin-left : 0px;
403
}
404

    
405
.media ul.primary li a.active {
406
  font-weight: bold;
407
}
408

    
409
.media_thumbnails {
410
  margin-top: 0px;
411
  margin-left: 0.3em;
412
}
413

    
414
.media_gallery tbody {
415
  border: 0px none;
416
}
417

    
418
.media_gallery td.caption {
419
  vertical-align: top;
420
}
421

    
422
.media-caption {
423
  margin-left: 0;
424
}
425

    
426
.media-caption dt.title {
427
  display: none;
428
}
429

    
430
.image-passe-partout{
431
  border: 0px none;
432
  background-color: #eee;
433
}
434

    
435
.image_viewer {
436
  border: 1px solid;
437
  background-color: #eee;
438
}
439

    
440

    
441
/*
442
 * ======= specific blocks =======
443
 */
444

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

    
457
/*
458
 * ======= footnotes and annotations =======
459
 */
460
.annotations, .footnote{
461
  font-size: 88%;
462
}
463

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

    
474
/*
475
 * Feature tree
476
 */
477

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

    
488
#useRecords th {
489
  font-weight: normal;
490
}
491

    
492
/* for compatibility with d5 themes */
493
.block-cdm-dataportal-feature ul {
494
  margin: 0;
495
  padding: 0 0 0.25em 1em;
496
}
497

    
498
/**
499
 * ======= Settings forms =======
500
 */
501

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

    
539
/* Custom style for the more-help links on the cdm settings pages. */
540
.cdm-dataportal-settings-more-help-link {
541
  font-size: 0.85em;
542
}
543
.cdm-dataportal-settings-more-help-link a {
544
  background-image: none;
545
  padding: 0;
546
}
547
#block-system-help .content {
548
  margin: 0;
549
}
550

    
551
/*
552
 * ======= specimens =======
553
 */
554
#specimens table.specimens {
555
    width: 100%;
556
}
557

    
558
#specimens .description_list h4 {
559
  clear: left;
560
    margin-bottom: 0;
561
    font-style: italic;
562
}
563

    
564
#specimens  .block-cdm-dataportal-feature h2 {
565
  font-size: 11px;
566
    font-weight: bold;
567
}
568

    
569
#specimens ul.footnotes {
570
    padding: 0;
571
}
572

    
573
#specimens .dna-sequence div {
574
    font-family: monospace;
575
}
576

    
577

    
578
/*
579
 * ======= Identification keys =======
580
 */
581

    
582
#identificationKey .sources span {
583
  display: block;
584
}
585

    
586
.polytomousKey_linkedStyle td {
587
  vertical-align: top;
588
  padding-top: 0;
589
}
590
.polytomousKey_linkedStyle tr.new_section td {
591
  padding-top: 1em;
592
}
593
.polytomousKey_linkedStyle tr:hover {
594
  background-color: #eee;
595
}
596
.polytomousKey_linkedStyle .nodeLink {
597
  float: right;
598
  text-align: right;
599
  padding-left: 2em;
600
}
601
.polytomousKey_linkedStyle td.edge-indent {
602
  padding-left: 2em;
603
}
604

    
(3-3/13)