Project

General

Profile

Download (10.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
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
#block-system-main div.content {
41
  /* margin: 0 0 0.3em 0; */
42
}
43

    
44
.name {
45
  font-style: italic;
46
}
47

    
48
.rank,
49
.authors {
50
  font-style: normal;
51
}
52

    
53
.relation_sign {
54
  margin-left: -1em; /* Same as ul.typeDesignations. */
55
  margin-right: 0.3em;
56
  float: left;
57
  font-family: Arial, sans-serif;
58
}
59

    
60
.highlite {
61
  background-color: yellow;
62
}
63

    
64
/*
65
 * ======= Search =======
66
 */
67
#block-cdm-dataportal-2 .description {
68
  display: none;
69
}
70

    
71
.fragment_highlight {
72
  font-size: 90%;
73
  margin-top: 0.3em;
74
}
75

    
76
.score-bar {
77
  width: 50px;
78
  height: 10px;
79
  border: 1px solid #dedede;
80
  background-color: #f3f3f3;
81
}
82
.score-bar .score-bar-indicator {
83
  background-color: #acd575;
84
  height: 10px;
85
}
86
.score-bar-value {
87
  width: 50px;
88
  height: 10px;
89
  margin-top: -11px; /* 10px plus 1px border. */
90
  font-size: 8px;
91
  line-height: 10px;
92
  background-color: transparent;
93
  text-align: center;
94
}
95

    
96
li .taxon {
97
}
98

    
99
#synonymy ul li {
100
  padding-bottom: 0px;
101
  padding-top: 0px;
102
  margin-bottom: 0px;
103
  margin-top: 0px;
104
}
105

    
106
.heterotypicSynonymyGroup li {
107
  margin-left: 26px;
108
}
109
ul.homotypicSynonyms,
110
ul.heterotypicSynonymyGroup {
111
   border-bottom: 1px solid #d4ebf9;
112
}
113

    
114
ul.typeDesignations {
115
  margin-top: 0px;
116
  margin-bottom: 0px;
117
  margin-left: -1em; /* Same as .relation_sign. */
118
}
119
ul.typeDesignations li {
120
  background-image: none;
121
}
122

    
123
.form-item fieldset {
124
  font-size: 80%;
125
  margin-top: -3px;
126
  margin-left: 25px;
127
}
128
.form-item fieldset .featuretree_structure {
129
  height: 13em;
130
  overflow: auto;
131
}
132

    
133
.misapplied .name {
134
  /* font-style: normal; */
135
}
136
.misapplied .authors {
137
  display: none;
138
}
139
#edit-search-domisappliednames {
140
  vertical-align:baseline;
141
}
142

    
143
img.preview {
144
  margin: 5px 30px;
145
}
146

    
147
ul li.synonym {
148
  list-style-type: none;
149
  background-image: none;
150
}
151

    
152
li.firstentry {
153
  margin-left: 6px;
154
}
155

    
156
ul.cdm_names, ul.cdm_names li{
157
  background-image: none;
158
  list-style-type: none;
159
  list-style-image: none;
160
}
161

    
162
/*
163
ul.cdm_names a:link,
164
ul.cdm_names .Synonym a:visited {
165
  color: #7c7c7f;
166
}
167
*/
168

    
169
.dynabox .label:hover {
170
  color: #0174bb;
171
}
172

    
173
ul.cdm_names .dynabox_content {
174
  margin-top:-1em;
175
}
176

    
177
.tickbox_content {
178
  display: none;
179
}
180

    
181
.pager strong,
182
.pager a {
183
  -moz-border-radius-bottomleft: 2px;
184
  -moz-border-radius-bottomright: 2px;
185
  -moz-border-radius-topleft: 2px;
186
  -moz-border-radius-topright: 2px;
187
  background-color: #dfedf7;
188
  border: 1px solid #90c2e1;
189
  margin: 0px 0.25em;
190
  padding: 2px 5px;
191
}
192
.pager strong {
193
  background-color:#0174BB;
194
  color:#FFFFFF;
195
}
196
.pager-list-dots-right,
197
.pager-list-dots-left {
198
  display: inline;
199
}
200

    
201
a.filter_add:link,
202
a.filter_add:visited {
203
}
204

    
205
a.filter_remove:link,
206
a.filter_remove:visited {
207
  color: red;
208
}
209

    
210
a.synonym:LINK, a.synonym:VISITED,
211
.Synonym a:LINK, .Synonym a:VISITED,
212
.misapplied-name a:LINK,
213
.misapplied-name a:VISITED {
214
  color: #7c7c7f;
215
}
216

    
217
/* Synonyms with more than one accepted taxa. */
218
a.label:link,
219
a.label:visited {
220
  color: #7c7c7f;
221
}
222

    
223
/*
224
a.toc:link,
225
a.toc:visited {
226
  color: #F03300;
227
}
228
*/
229

    
230
.block-cdm-taxontree .content,
231
.block-cdm-dataportal-3 .content {
232
  font-size: 90%;
233
}
234
.content dt {
235
  float: left;
236
  font-weight: bold;
237
  margin-right: 0.3em;
238
}
239
.content dd {
240
  margin-left: 0;
241
  font-weight: normal;
242
}
243

    
244
.block-cdm-taxontree div.settings {
245
  /* background-color: #2587c3; */
246
  border-bottom: 1px solid #e0dfe3;
247
  border-top: 1px solid #e0dfe3;
248
}
249

    
250
.concept_switch {
251
  padding:0 0.2em;
252
}
253

    
254
.descriptionText,
255
.descriptionReference {
256
  vertical-align: top;
257
}
258

    
259
.annotation_box {
260
  display: none;
261
  background: #ffffcc;
262
  border: 1px solid #ffcc66;
263
  font-size: 9pt;
264
  padding: 5px
265
}
266
.annotation_box ul,
267
.annotation_box li {
268
  list-style-type: none;
269
  line-height: 11pt;
270
  padding: 0;
271
  margin: 0;
272
}
273

    
274
.annotation_box li {
275
  padding-left: 15px;
276
}
277

    
278
.annotation_create {
279
  margin-top: 20px;
280
  text-align: right;
281
}
282

    
283
.annotation_create textarea {
284
  width: 100%;
285
}
286

    
287
.annotation_create form {
288
  margin-bottom: 0;
289
}
290

    
291
#openlayers {
292
  /* Should match the margin-bottom of .description. */
293
  margin-bottom: 0.75em;
294
}
295
#openlayers_map {
296
  width: 100%;
297
  height: 200px;
298
  border: 1px solid;
299
}
300
.openlayers_legend {
301
    background-color: white;
302
    filter:alpha(opacity=75); /* IE's opacity. */
303
    opacity: 0.75;
304
}
305

    
306
.distribution_map_caption {
307
  font-size: 90%;
308
  font-style: italic;
309
}
310

    
311
.media .viewer {
312
  margin-top: 20px;
313
}
314

    
315
/*
316
WA: Important, otherwise the media viewer will be displayed over the
317
Drupal Admin Overlay when this is used.
318

    
319
AK: this is not working since 'position: absolute;' will casue the content continer to be not extended to the site of
320
the image viewer
321
*/
322
div.cdm_media_viewer_image {
323
  /* position: absolute; */
324
  z-index: 1;
325
}
326
#openlayers {
327
  position: relative;
328
  z-index: 1;
329
}
330

    
331
.media ul.primary li a,
332
.media ul.primary li.active a,
333
.media ul.primary li a:hover,
334
.media ul.primary li a:visited,
335
.media ul.secondary li a,
336
.media ul.secondary li.active a,
337
.media ul.secondary li a:hover,
338
.media ul.secondary li a:visited {
339
  margin-left : 0px;
340
}
341

    
342
.media ul.primary li a.active {
343
  font-weight: bold;
344
}
345

    
346
.media_thumbnails {
347
  margin-top: 0px;
348
  margin-left: 0.3em;
349
}
350

    
351
.media_gallery tbody {
352
  border: 0px none;
353
}
354

    
355
.media_gallery td.caption {
356
  vertical-align: top;
357
}
358

    
359
.media-caption {
360
  line-height: 1.3em;
361
  margin-left: 0;
362
}
363

    
364
.media-caption dt.title {
365
  display: none;
366
}
367
.media-caption dd.title {
368
  /* font-weight: bold;
369
  font-size: 130%; */
370
}
371

    
372
.cdm_names .media-caption {
373
  font-size: 60%;
374
}
375

    
376
.image-passe-partout,
377
.image_viewer {
378
  border: 1px solid;
379
  background-color: #eee;
380
}
381

    
382
.distribution_map {
383
  border: 1px solid #ddd;
384
  background-color: #fff;
385
}
386

    
387
/* The print button text with underline and different color on hover. */
388
#print_button {
389
  cursor: pointer;
390
}
391
#print_button span {
392
  color: #027AC6;
393
  margin-left: 0.3em; /* Spacing between image and text. */
394
}
395
#print_button span:hover {
396
  color: #0062A0;
397
  text-decoration: underline;
398
}
399

    
400
.annotations {
401
  font-size: 88%;
402
}
403

    
404
.footnote{
405
  font-size: 88%;
406
}
407
.footnote-key {
408
  vertical-align: super;
409
  font-size: 80%;
410
  line-height: 100%; /* Compensate the line-height increase by vertical-align: super;. */
411
  font-style: italic;
412
}
413
.footnote-anchor {
414
  font-weight: bold;
415
}
416
.heterotypicSynonymyGroup li.footnotes,
417
.homotypicSynonymyGroup li.footnotes,
418
.homotypicSynonyms li.footnotes,
419
.misapplied li.footnotes,
420
.content li.descriptionText {
421
  margin-top: 10px;
422
  margin-left: 6px;
423
  padding-left: 6px;
424
  list-style: none;
425
  list-style-image: none;
426
  background-image: none;
427
}
428
#synonymy li.footnotes {
429
  list-style: none;
430
  list-style-image: none;
431
  background-image: none;
432
}
433

    
434
/* Footnotes margin when listing the synonymy. */
435
/*
436
.heterotypicSynonymyGroup .footnote {
437
  margin-left: 3em;
438
}
439
.homotypicSynonyms .footnote {
440
  margin-left: 1em;
441
}
442
*/
443

    
444
.featuretree_structure {
445
   font-size: 90%;
446
   line-height: 1em;
447
   color: #999;
448
}
449
/* For compatibility with d5 themes. */
450
.block-cdm-dataportal-feature {
451
  clear: both;
452
}
453

    
454
.polytomousKey_linkedStyle td {
455
  vertical-align: top;
456
  padding-top: 0;
457
}
458
.polytomousKey_linkedStyle tr.new_section td {
459
  padding-top: 1em;
460
}
461
.polytomousKey_linkedStyle tr:hover {
462
  background-color: #eee;
463
}
464
.polytomousKey_linkedStyle .nodeLink {
465
  float: right;
466
  text-align: right;
467
}
468
.polytomousKey_linkedStyle td.edge-indent {
469
  padding-left: 2em;
470
}
471

    
472
#useRecords th {
473
  font-weight: normal;
474
}
475

    
476
/* for compatibility with d5 themes */
477
.block-cdm-dataportal-feature ul {
478
  margin: 0;
479
  padding: 0 0 0.25em 1em;
480
}
481

    
482
/**
483
 * ======= Settings forms =======
484
 */
485

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

    
523
/* Custom style for the more-help links on the cdm settings pages. */
524
.cdm-dataportal-settings-more-help-link {
525
  font-size: 0.85em;
526
}
527
.cdm-dataportal-settings-more-help-link a {
528
  background-image: none;
529
  padding: 0;
530
}
531
#block-system-help .content {
532
  margin: 0;
533
}
(3-3/13)