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
|
.node-cdm-name {
|
21
|
.name-page-name {
|
22
|
margin-top: $zen-gutter-width / 2;
|
23
|
margin-bottom: $zen-gutter-width / 2;
|
24
|
}
|
25
|
.registered_name{
|
26
|
font-weight: bold;
|
27
|
}
|
28
|
.type-status {
|
29
|
font-weight: bold;
|
30
|
}
|
31
|
}
|
32
|
|
33
|
#content {
|
34
|
a.tabs-primary__tab-link {
|
35
|
color: #333; // increasing specificity to avoid the color of the tabs to be overwritten
|
36
|
}
|
37
|
|
38
|
table {
|
39
|
caption-side: bottom;
|
40
|
caption {
|
41
|
text-align: right;
|
42
|
}
|
43
|
}
|
44
|
}
|
45
|
|
46
|
#page-toc {
|
47
|
float:right;
|
48
|
background-color: $page-background-color;
|
49
|
h3 {
|
50
|
margin-top: 0;
|
51
|
line-height: $base-line-height;
|
52
|
}
|
53
|
}
|
54
|
|
55
|
#taxonProfileImage{
|
56
|
float: left;
|
57
|
}
|
58
|
|
59
|
.block-cdm-dataportal-feature {
|
60
|
.content-caption {
|
61
|
text-align: right;
|
62
|
}
|
63
|
.label { // for CategoricalData and QuantitativeData but could be used for other situations, therefore style rule is not too specific
|
64
|
font-style: italic;
|
65
|
}
|
66
|
}
|
67
|
|
68
|
.block-cdm-dataportal-feature, .media-caption, .specimens {
|
69
|
clear: both;
|
70
|
margin-bottom: $page-part-margin;
|
71
|
dt {
|
72
|
float: left;
|
73
|
font-weight: bold;
|
74
|
margin-right: 0.3em;
|
75
|
}
|
76
|
dd {
|
77
|
margin: 0;
|
78
|
margin-left: $zen-gutter-width;
|
79
|
}
|
80
|
dl dl {
|
81
|
margin: 0; /* reset default from cdm_dataportal.css */
|
82
|
}
|
83
|
}
|
84
|
|
85
|
.breadcrumbs li {
|
86
|
padding: 0 0 0 0;
|
87
|
}
|
88
|
|
89
|
.description-table .described-entities {
|
90
|
.label {
|
91
|
font-weight: bold;
|
92
|
}
|
93
|
|
94
|
}
|
95
|
|
96
|
/*
|
97
|
* Search results
|
98
|
*/
|
99
|
|
100
|
|
101
|
#search_results{
|
102
|
@include cdm-link-style;
|
103
|
|
104
|
table {
|
105
|
margin: 1em 0;
|
106
|
}
|
107
|
}
|
108
|
|
109
|
div.cdm-item-list div.item {
|
110
|
margin: $base-line-height / 2 0;
|
111
|
}
|
112
|
|
113
|
/*
|
114
|
* Taxon page and parts
|
115
|
*/
|
116
|
|
117
|
.page-part {
|
118
|
margin-bottom: $page-part-margin;
|
119
|
clear: none;
|
120
|
}
|
121
|
|
122
|
/*
|
123
|
* definition list container rendered by the
|
124
|
* drupal theme function theme_description_list()
|
125
|
*/
|
126
|
.description_list {
|
127
|
h3 {
|
128
|
font-size: $base-font-size;
|
129
|
line-height: $base-line-height;
|
130
|
font-weight: bold;
|
131
|
}
|
132
|
}
|
133
|
|
134
|
|
135
|
|
136
|
/*
|
137
|
* Synonymy
|
138
|
*/
|
139
|
|
140
|
#synonymy {
|
141
|
div.accepted-name {
|
142
|
margin-bottom: -1em;
|
143
|
margin-top: 1em;
|
144
|
}
|
145
|
|
146
|
.homotypic-synonymy-group, .heterotypic-synonymy-group, .taxon-relationships {
|
147
|
border-bottom: 1px solid #DEDEDE;
|
148
|
/* replace padding by margin */
|
149
|
margin: 1em 0px;
|
150
|
padding: 0;
|
151
|
}
|
152
|
}
|
153
|
|
154
|
/*
|
155
|
* Media
|
156
|
*/
|
157
|
dl.media-caption {
|
158
|
margin: 0;
|
159
|
}
|
160
|
.media-caption {
|
161
|
dd {
|
162
|
margin-left: 0;
|
163
|
.title {
|
164
|
font-size: 100%;
|
165
|
}
|
166
|
}
|
167
|
}
|
168
|
.image-gallerie td.caption {
|
169
|
padding-bottom: 1em;
|
170
|
}
|
171
|
|
172
|
/*
|
173
|
* specimens and type designations
|
174
|
*/
|
175
|
#specimens {
|
176
|
table.media_gallery {
|
177
|
margin-top: 0.2em;
|
178
|
}
|
179
|
.description_list {
|
180
|
clear: both;
|
181
|
h3 {
|
182
|
margin-top: 0;
|
183
|
background-color: #ddd;
|
184
|
}
|
185
|
h4 {
|
186
|
clear: left;
|
187
|
margin-bottom: 0;
|
188
|
font-style: italic;
|
189
|
}
|
190
|
}
|
191
|
.dynabox_content {
|
192
|
margin-left: $zen-gutter-width / 2;
|
193
|
margin-right: $zen-gutter-width / 2;
|
194
|
}
|
195
|
.block-cdm-dataportal-feature {
|
196
|
margin-left: $zen-gutter-width;
|
197
|
margin-bottom: 0;
|
198
|
h2 {
|
199
|
font-size: $base-font-size;
|
200
|
line-height: $base-line-height;
|
201
|
font-weight: bold;
|
202
|
}
|
203
|
}
|
204
|
|
205
|
ul.typeDesignations {
|
206
|
clear: both;
|
207
|
}
|
208
|
.dna-sequence div {
|
209
|
font-size: $base-font-size;
|
210
|
font-family: monospace;
|
211
|
clear: left;
|
212
|
padding-left: $zen-gutter-width;
|
213
|
}
|
214
|
.derived_from {
|
215
|
clear: both;
|
216
|
}
|
217
|
}
|
218
|
|
219
|
/*
|
220
|
* Map
|
221
|
*/
|
222
|
.openlayers-container {
|
223
|
margin-top: $zen-gutter-width / 4;
|
224
|
margin-bottom: $zen-gutter-width / 4;
|
225
|
}
|
226
|
|
227
|
/*
|
228
|
* Registration page & items
|
229
|
*/
|
230
|
.registration {
|
231
|
|
232
|
.type-status{
|
233
|
font-weight: bold;
|
234
|
}
|
235
|
|
236
|
.registration-date-and-institute {
|
237
|
color: #999;
|
238
|
}
|
239
|
|
240
|
|
241
|
.published-name {
|
242
|
.TaxonName .name {
|
243
|
font-weight: bold;
|
244
|
}
|
245
|
}
|
246
|
.typified-name .cdm\:TaxonName {
|
247
|
color: #999;
|
248
|
a {
|
249
|
color: #999;
|
250
|
}
|
251
|
.TaxonName .name {
|
252
|
font-weight: bold;
|
253
|
}
|
254
|
}
|
255
|
|
256
|
.registration-summary {
|
257
|
.registered_name .name {
|
258
|
font-weight: bold;
|
259
|
}
|
260
|
.referenced_typified_name {
|
261
|
color: #999;
|
262
|
}
|
263
|
.label {
|
264
|
font-weight: bold;
|
265
|
}
|
266
|
}
|
267
|
}
|
268
|
|
269
|
/*
|
270
|
* Theme settings page
|
271
|
*/
|
272
|
#system-theme-settings {
|
273
|
|
274
|
.image-preview {
|
275
|
width: 600px;
|
276
|
max-height: 150px;
|
277
|
overflow: auto; // let it scroll
|
278
|
img {
|
279
|
max-width: none; /* reset style in mormalize.scss */
|
280
|
}
|
281
|
|
282
|
}
|
283
|
}
|
284
|
|
285
|
/*****************************************************************************************
|
286
|
* RESPONSIVE
|
287
|
*
|
288
|
* using the same media queries here as in layout/_responsive.scss
|
289
|
*****************************************************************************************/
|
290
|
|
291
|
#classification-breadcrumbs {
|
292
|
font-size: 1.5em;
|
293
|
line-height: 1.5em;
|
294
|
}
|
295
|
|
296
|
@media all and (min-width: 480px) and (max-width: 959px) {
|
297
|
|
298
|
|
299
|
}
|
300
|
|
301
|
@media all and (min-width: 960px) {
|
302
|
#classification-breadcrumbs {
|
303
|
font-size: 1em;
|
304
|
}
|
305
|
}
|