Project

General

Profile

Download (4.29 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * cdm_dataportal specific styling
4
 *
5
 * Style the markup found in the cdm_dataportal module.
6
 */
7

    
8
@import "init";
9

    
10

    
11
$page-part-margin: $base-line-height * 1;
12

    
13
// style links only for content in blocks and node and backbutton
14
// added also #identificationKey since there are not yet drupal nodes
15
// #content requires the fix below!
16
.block, .node, #identificationKey, #content {
17
  @include cdm-link-style;
18
}
19

    
20
#content a.tabs-primary__tab-link{
21
  color: #333; // increasing specificity to avoid the color of the tabs to be overwritten
22
}
23

    
24
#page-toc {
25
  float:right;
26
    background-color: $page-background-color;
27
  h3 {
28
    margin-top: 0;
29
    line-height: $base-line-height;
30
  }
31
}
32

    
33
#taxonProfileImage{
34
  float: left;
35
}
36

    
37
.block-cdm-dataportal-feature,  .media-caption, .specimens {
38
  clear: both;
39
  margin-bottom: $page-part-margin;
40
  dt {
41
      float: left;
42
      font-weight: bold;
43
      margin-right: 0.3em;
44
  }
45
  dd {
46
    margin: 0;
47
    margin-left: $zen-gutter-width;
48
  }
49
  dl dl {
50
    margin: 0; /* reset default from cdm_dataportal.css */
51
  }
52
}
53

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

    
58
/*
59
 * Search results
60
 */
61

    
62

    
63
#search_results{
64
  @include cdm-link-style;
65

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

    
71
div.cdm-item-list div.item {
72
  margin: $base-line-height / 2 0;
73
}
74

    
75
/*
76
 * Taxon page and parts
77
 */
78

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

    
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
  }
94
}
95

    
96

    
97

    
98
/*
99
 * Synonymy
100
 */
101

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

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

    
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
    }
128
  }
129
}
130
.image-gallerie td.caption {
131
  padding-bottom: 1em;
132
}
133

    
134
/*
135
 * specimens and type designations
136
 */
137
#specimens {
138
  table.media_gallery {
139
    margin-top: 0.2em;
140
  }
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;
159
    margin-bottom: 0;
160
    h2 {
161
      font-size: $base-font-size;
162
      line-height: $base-line-height;
163
      font-weight: bold;
164
    }
165
  }
166
  ul.typeDesignations {
167
    clear: both;
168
  }
169
  .dna-sequence div {
170
    font-size: $base-font-size;
171
    font-family: monospace;
172
    clear: left;
173
    padding-left: $zen-gutter-width;
174
  }
175
  .derived_from {
176
    clear: both;
177
  }
178
}
179

    
180
/*
181
 * Map
182
 */
183
.openlayers-container {
184
  margin-top: $zen-gutter-width / 4;
185
  margin-bottom: $zen-gutter-width / 4;
186
}
187

    
188
/*
189
 * Registration page & items
190
 */
191
.registration {
192

    
193
  .name_type_designation .type_status{
194
    font-weight: bold;
195
  }
196

    
197
  .registration-date-and-institute {
198
    color: #999;
199
  }
200

    
201
  .published-name {
202
    .TaxonName .name {
203
      font-weight: bold;
204
    }
205
  }
206
  .typified-name .cdm\:TaxonName {
207
    color: #999;
208
    a {
209
      color: #999;
210
    }
211
    .TaxonName .name {
212
      font-weight: bold;
213
    }
214
  }
215

    
216
  .registration-summary {
217
    .registered_name .name {
218
      font-weight: bold;
219
    }
220
    .referenced_typified_name {
221
      color: #999;
222
    }
223
    .label {
224
      font-weight: bold;
225
    }
226
  }
227
}
228

    
229
/*
230
 * Theme settings page
231
 */
232
#system-theme-settings {
233

    
234
  .image-preview {
235
    width: 600px;
236
    max-height: 150px;
237
    overflow: auto; // let it scroll
238
    img {
239
      max-width: none; /* reset style in mormalize.scss */
240
    }
241

    
242
  }
243
}
244

    
245
/*****************************************************************************************
246
 * RESPONSIVE
247
 *
248
 * using the same media queries here as in layout/_responsive.scss
249
 *****************************************************************************************/
250

    
251
#classification-breadcrumbs {
252
  font-size: 1.5em;
253
  line-height: 1.5em;
254
}
255

    
256
@media all and (min-width: 480px) and (max-width: 959px) {
257

    
258

    
259
}
260

    
261
@media all and (min-width: 960px) {
262
  #classification-breadcrumbs {
263
    font-size: 1em;
264
  }
265
}
(7-7/13)