Project

General

Profile

« Previous | Next » 

Revision f9a3d0f6

Added by Andreas Kohlbecker about 8 years ago

#1420 classification breadcrumbs imlemented

View differences:

themes/zen_dataportal/sass/cdm.scss
51 51
  text-align: right;
52 52
}
53 53

  
54
/*
55
 * Searchresults
56
 */
54
.breadcrumbs li {
55
  padding: 0 0 0 0;
56
}
57 57

  
58
  /*
59
   * Search results
60
   */
58 61

  
59
#search_results{
60
  @include cdm-link-style;
61 62

  
62
  table {
63
    margin: 1em 0;
63
  #search_results{
64
    @include cdm-link-style;
65

  
66
    table {
67
      margin: 1em 0;
68
    }
64 69
  }
65
}
66 70

  
67
ul.cdm_names li {
68
  margin: $base-line-height / 2 0;
69
}
71
  ul.cdm_names li {
72
    margin: $base-line-height / 2 0;
73
  }
70 74

  
71
/*
72
 * Taxon page and parts
73
 */
75
  /*
76
   * Taxon page and parts
77
   */
74 78

  
75
.page-part {
76
  margin-bottom: $page-part-margin;
77
  clear: none;
78
}
79
  .page-part {
80
    margin-bottom: $page-part-margin;
81
    clear: none;
82
  }
79 83

  
80
/*
81
 * definition list container rendered by the
82
 * drupal theme function theme_description_list()
83
 */
84
.description_list {
85
  h3 {
86
    font-size: $base-font-size;
87
    line-height: $base-line-height;
88
    font-weight: bold;
84
  /*
85
   * definition list container rendered by the
86
   * drupal theme function theme_description_list()
87
   */
88
  .description_list {
89
    h3 {
90
      font-size: $base-font-size;
91
      line-height: $base-line-height;
92
      font-weight: bold;
93
    }
89 94
  }
90
}
91 95

  
92 96

  
93 97

  
94
/*
95
 * Synonymy
96
 */
98
  /*
99
   * Synonymy
100
   */
97 101

  
98
#synonymy {
99
  div.accepted-name {
100
    margin-bottom: -1em;
102
  #synonymy {
103
    div.accepted-name {
104
      margin-bottom: -1em;
101 105
      margin-top: 1em;
102
  }
106
    }
103 107

  
104
  .homotypic-synonymy-group, .heterotypic-synonymy-group, .taxon-relationships {
108
    .homotypic-synonymy-group, .heterotypic-synonymy-group, .taxon-relationships {
105 109
      border-bottom: 1px solid #DEDEDE;
106 110
      /* replace padding by margin */
107 111
      margin: 1em 0px;
108 112
      padding: 0;
113
    }
109 114
  }
110
}
111 115

  
112
/*
113
 * Media
114
 */
115
dl.media-caption {
116
  margin: 0;
117
}
118
.media-caption {
119
  dd {
120
    margin-left: 0;
121
    .title {
122
      font-size: 100%;
116
  /*
117
   * Media
118
   */
119
  dl.media-caption {
120
    margin: 0;
121
  }
122
  .media-caption {
123
    dd {
124
      margin-left: 0;
125
      .title {
126
        font-size: 100%;
127
      }
123 128
    }
124 129
  }
125
}
126
.image-gallerie td.caption {
127
  padding-bottom: 1em;
128
}
129

  
130
/*
131
 * specimens
132
 */
133
#specimens {
134
  table.media_gallery {
135
    margin-top: 0.2em;
130
  .image-gallerie td.caption {
131
    padding-bottom: 1em;
136 132
  }
137
  .description_list {
138
    clear: both;
139
    h3 {
140
      margin-top: 0;
141
      background-color: #ddd;
133

  
134
  /*
135
   * specimens
136
   */
137
  #specimens {
138
    table.media_gallery {
139
      margin-top: 0.2em;
142 140
    }
143
    h4 {
144
      clear: left;
141
    .description_list {
142
      clear: both;
143
      h3 {
144
        margin-top: 0;
145
        background-color: #ddd;
146
      }
147
      h4 {
148
        clear: left;
149
        margin-bottom: 0;
150
        font-style: italic;
151
      }
152
    }
153
    .dynabox_content {
154
      margin-left: $zen-gutter-width / 2;
155
      margin-right: $zen-gutter-width / 2;
156
    }
157
    .block-cdm-dataportal-feature {
158
      margin-left: $zen-gutter-width;
145 159
      margin-bottom: 0;
146
      font-style: italic;
160
      h2 {
161
        font-size: $base-font-size;
162
        line-height: $base-line-height;
163
        font-weight: bold;
164
      }
147 165
    }
148
  }
149
  .dynabox_content {
150
    margin-left: $zen-gutter-width / 2;
151
    margin-right: $zen-gutter-width / 2;
152
  }
153
  .block-cdm-dataportal-feature {
154
    margin-left: $zen-gutter-width;
155
    margin-bottom: 0;
156
    h2 {
157
      font-size: $base-font-size;
158
      line-height: $base-line-height;
159
      font-weight: bold;
166
    ul.typeDesignations {
167
      clear: both;
160 168
    }
161
  }
162
  ul.typeDesignations {
163
    clear: both;
164
  }
165
  .dna-sequence div {
166
    font-size: $base-font-size;
169
    .dna-sequence div {
170
      font-size: $base-font-size;
167 171
      font-family: monospace;
168
    clear: left;
169
    padding-left: $zen-gutter-width;
170
  }
171
  .derived_from {
172
    clear: both;
172
      clear: left;
173
      padding-left: $zen-gutter-width;
174
    }
175
    .derived_from {
176
      clear: both;
177
    }
173 178
  }
174
}
175 179

  
176 180

  
177
/*
178
 * Theme settings page
179
 */
180
#system-theme-settings {
181

  
182
  .image-preview {
183
    width: 600px;
184
    max-height: 150px;
185
    overflow: auto; // let it scroll
186
    img {
187
      max-width: none; /* reset style in mormalize.scss */
188
    }
181
  /*
182
   * Theme settings page
183
   */
184
  #system-theme-settings {
185

  
186
    .image-preview {
187
      width: 600px;
188
      max-height: 150px;
189
      overflow: auto; // let it scroll
190
      img {
191
        max-width: none; /* reset style in mormalize.scss */
192
      }
189 193

  
194
    }
190 195
  }
191
}

Also available in: Unified diff