Project

General

Profile

« Previous | Next » 

Revision 63f6d312

Added by Saskia Gennrich about 7 years ago

ref #6432 more fine tuned inclusion of css.

CSS rules for admin/config/cdm_dataportal/settings are included
on all settings rule.
CSS rules for the debug block are attached to the debug block.

View differences:

modules/cdm_dataportal/cdm_dataportal.css
1

  
2 1
/**
3 2
 * ======= General styles =======
4 3
 *
......
7 6
 * See also http://groups.drupal.org/node/6355.
8 7
 */
9 8

  
10

  
11 9
.superscript {
12 10
    vertical-align: super;
13 11
    font-size: 80%;
14 12
    line-height: 100%;
15 13
}
16 14

  
17
#block-cdm-api-cdm-ws-debug {
18
  background-color: #373737;
19
  color: #fff;
20
  border: 1px solid #fff;
21
  -moz-box-shadow: inset 0 0 3px 2px #fff;
22
  -webkit-box-shadow: inset 0 0 3px 2px #fff;
23
  box-shadow: inset 0 0 3px 2px #fff;
24
}
25

  
26
#cdm-ws-debug-table-container {
27
  display: none;
28
}
29

  
30
#block-cdm-api-cdm-ws-debug h4 {
31
  margin: 3px;
32
  padding: 0;
33
}
34

  
35 15
#block-cdm-dataportal-back-to-search-results {
36 16
  float: right;
37 17
}
38 18

  
39
#cdm-ws-debug-table {
40
  width: 100%;
41
}
42

  
43
#cdm-ws-debug-table code {
44
  font-weight: normal;
45
}
46

  
47
#cdm-ws-debug-table td.data_links a {
48
  color: #999;
49
}
50
#cdm-ws-debug-table tr.valid td.data_links a {
51
  color: #1bdf00;
52
}
53
#cdm-ws-debug-table tr.invalid td.data_links a {
54
  color: #f3000a;
55
}
56
#cdm-ws-debug-table tr.cacheL1, #cdm-ws-debug-table tr.cacheL2 {
57
  color: #999;
58
}
59
#cdm-ws-debug-table .ws_uri {
60
  width: 50%;
61
}
62

  
63 19
/*
64 20
 * when nesting description lists the inner dl should
65 21
 * not have a margin at top and bottom, but should be
......
649 605
    color: #8a918e;
650 606
}
651 607

  
652

  
653 608
#block-cdm-dataportal-taxonomic-children  ul {
654 609
    max-height: 20em;
655 610
    -moz-column-count: 3;
......
661 616
    background: none;
662 617
}
663 618

  
664

  
665 619
.messages .cdm\:Taxon { /* taxa in warning box */
666 620
    font-weight: bold;
667 621
}
......
718 672
  padding: 0 0 0.25em 1em;
719 673
}
720 674

  
721
/**
722
 * ======= Settings forms =======
723
 */
724

  
725
/* Do not display the descriptions indented in the setup forms, D5 style. */
726
#cdm-settings-general .form-type-radio .description,
727
#cdm-settings-general .form-type-checkbox .description,
728
#cdm-settings-geo .form-type-radio .description,
729
#cdm-settings-geo .form-type-checkbox .description,
730
#cdm-settings-layout .form-type-radio .description,
731
#cdm-settings-layout .form-type-checkbox .description,
732
#cdm-settings-layout-taxon .form-type-radio .description,
733
#cdm-settings-layout-taxon .form-type-checkbox .description,
734
#cdm-settings-layout-search .form-type-radio .description,
735
#cdm-settings-layout-search .form-type-checkbox .description,
736
#cdm-settings-layout-media .form-type-radio .description,
737
#cdm-settings-layout-media .form-type-checkbox .description,
738
#cdm-settings-cache .form-type-radio .description,
739
#cdm-settings-cache .form-type-checkbox .description,
740
#cdm-settings-layout-media .form-type-radio .description,
741
#cdm-settings-layout-media .form-type-checkbox .description,
742
#ext-links-admin .form-type-radio .description,
743
#ext-links-admin .form-type-checkbox .description,
744
#cdm-mediauri-rule-add .form-type-radio .description,
745
#cdm-mediauri-rule-add .form-type-checkbox .description {
746
  margin-left: 0;
747
}
748
/* Align checkboxes and radios as D5 style. */
749
#cdm-settings-general input.form-checkbox, input.form-radio,
750
#cdm-settings-geo input.form-checkbox, input.form-radio,
751
#cdm-settings-layout input.form-checkbox, input.form-radio,
752
#cdm-settings-layout-taxon input.form-checkbox, input.form-radio,
753
#cdm-settings-layout-search input.form-checkbox, input.form-radio,
754
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
755
#cdm-settings-cache input.form-checkbox, input.form-radio,
756
#cdm-settings-layout-media input.form-checkbox, input.form-radio,
757
#ext-links-admin input.form-checkbox, input.form-radio,
758
#cdm-mediauri-rule-add input.form-checkbox, input.form-radio {
759
  vertical-align: baseline;
760
}
761

  
762
/* Custom style for the more-help links on the cdm settings pages. */
763
.cdm-dataportal-settings-more-help-link {
764
  font-size: 0.85em;
765
}
766
.cdm-dataportal-settings-more-help-link a {
767
  background-image: none;
768
  padding: 0;
769
}
770
#block-system-help .content {
771
  margin: 0;
772
}
773

  
774
#cdm-settings-geo .map_info{
775
    font-size: 95%;
776
    font-family: monospace;
777
}
778

  
779
#cdm-settings-geo .map-extent-bbox .degree-value {
780
    color: forestgreen;
781
}
782

  
783
#cdm-settings-geo .baselayer-extent-bbox .degree-value {
784
    color: royalblue;
785
}
786

  
787
.fieldset-float {
788
    float: left;
789
}
790

  
791 675
/*
792 676
 * ======= specimens =======
793 677
 */

Also available in: Unified diff