Project

General

Profile

Download (10.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
#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
Important, otherwise the media viewer will be displayed over the
317
Drupal Admin Overlay when this is used.
318
*/
319
div.cdm_media_viewer_image {
320
  position: absolute;
321
  z-index: 1;
322
}
323
#openlayers {
324
  position: relative;
325
  z-index: 1;
326
}
327

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

    
339
.media ul.primary li a.active {
340
  font-weight: bold;
341
}
342

    
343
.media_thumbnails {
344
  margin-top: 0px;
345
  margin-left: 0.3em;
346
}
347

    
348
.media_gallery tbody {
349
  border: 0px none;
350
}
351

    
352
.media_gallery td.caption {
353
  vertical-align: top;
354
}
355

    
356
.media-caption {
357
  line-height: 1.3em;
358
  margin-left: 0;
359
}
360

    
361
.media-caption dt.title {
362
  display: none;
363
}
364
.media-caption dd.title {
365
  font-weight: bold;
366
  font-size: 130%;
367
}
368

    
369
.cdm_names .media-caption {
370
  font-size: 60%;
371
}
372

    
373
.image-passe-partout,
374
.image_viewer {
375
  border: 1px solid;
376
  background-color: #eee;
377
}
378

    
379
.distribution_map {
380
  border: 1px solid #ddd;
381
  background-color: #fff;
382
}
383

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

    
397
.annotations {
398
  font-size: 88%;
399
}
400

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

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

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

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

    
469
#useRecords th {
470
  font-weight: normal;
471
}
472

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

    
479
/**
480
 * ======= Settings forms =======
481
 */
482

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

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