1 |
4b02c7e4
|
Andreas Kohlbecker
|
/**
|
2 |
|
|
* @file
|
3 |
|
|
* cdm_dataportal specific styling
|
4 |
|
|
*
|
5 |
|
|
* Style the markup found in the cdm_dataportal module.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
0484f1af
|
Andreas Kohlbecker
|
@import "init";
|
9 |
4050a8a2
|
Andreas Kohlbecker
|
|
10 |
7a6bacf3
|
Andreas Kohlbecker
|
|
11 |
0e0c8c01
|
Andreas Kohlbecker
|
$page-part-margin: $base-line-height * 1;
|
12 |
00a8e4b6
|
Andreas Kohlbecker
|
|
13 |
824ae003
|
Andreas Kohlbecker
|
// 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 |
2ffe4d59
|
Andreas Kohlbecker
|
.block, .node, #identificationKey, #content {
|
17 |
0484f1af
|
Andreas Kohlbecker
|
@include cdm-link-style;
|
18 |
|
|
}
|
19 |
|
|
|
20 |
445df273
|
Andreas Kohlbecker
|
.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 |
2154d631
|
Andreas Kohlbecker
|
.type-status {
|
29 |
|
|
font-weight: bold;
|
30 |
|
|
}
|
31 |
c040bba0
|
Andreas Kohlbecker
|
}
|
32 |
|
|
|
33 |
6722d9a5
|
Andreas Kohlbecker
|
#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 |
824ae003
|
Andreas Kohlbecker
|
}
|
45 |
|
|
|
46 |
6722d9a5
|
Andreas Kohlbecker
|
#page-toc {
|
47 |
|
|
float:right;
|
48 |
dabfc01b
|
Andreas Kohlbecker
|
background-color: $page-background-color;
|
49 |
6722d9a5
|
Andreas Kohlbecker
|
h3 {
|
50 |
|
|
margin-top: 0;
|
51 |
|
|
line-height: $base-line-height;
|
52 |
|
|
}
|
53 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
54 |
4b02c7e4
|
Andreas Kohlbecker
|
|
55 |
6722d9a5
|
Andreas Kohlbecker
|
#taxonProfileImage{
|
56 |
|
|
float: left;
|
57 |
|
|
}
|
58 |
4b02c7e4
|
Andreas Kohlbecker
|
|
59 |
6722d9a5
|
Andreas Kohlbecker
|
.block-cdm-dataportal-feature, .media-caption, .specimens {
|
60 |
|
|
clear: both;
|
61 |
|
|
margin-bottom: $page-part-margin;
|
62 |
|
|
dt {
|
63 |
dabfc01b
|
Andreas Kohlbecker
|
float: left;
|
64 |
|
|
font-weight: bold;
|
65 |
|
|
margin-right: 0.3em;
|
66 |
6722d9a5
|
Andreas Kohlbecker
|
}
|
67 |
|
|
dd {
|
68 |
|
|
margin: 0;
|
69 |
|
|
margin-left: $zen-gutter-width;
|
70 |
|
|
}
|
71 |
|
|
dl dl {
|
72 |
|
|
margin: 0; /* reset default from cdm_dataportal.css */
|
73 |
|
|
}
|
74 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
75 |
4b02c7e4
|
Andreas Kohlbecker
|
|
76 |
6722d9a5
|
Andreas Kohlbecker
|
.breadcrumbs li {
|
77 |
|
|
padding: 0 0 0 0;
|
78 |
|
|
}
|
79 |
881e7ecf
|
Andreas Kohlbecker
|
|
80 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
81 |
|
|
* Search results
|
82 |
|
|
*/
|
83 |
881e7ecf
|
Andreas Kohlbecker
|
|
84 |
|
|
|
85 |
6722d9a5
|
Andreas Kohlbecker
|
#search_results{
|
86 |
|
|
@include cdm-link-style;
|
87 |
f9a3d0f6
|
Andreas Kohlbecker
|
|
88 |
6722d9a5
|
Andreas Kohlbecker
|
table {
|
89 |
|
|
margin: 1em 0;
|
90 |
|
|
}
|
91 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
92 |
881e7ecf
|
Andreas Kohlbecker
|
|
93 |
6722d9a5
|
Andreas Kohlbecker
|
div.cdm-item-list div.item {
|
94 |
|
|
margin: $base-line-height / 2 0;
|
95 |
|
|
}
|
96 |
7a6bacf3
|
Andreas Kohlbecker
|
|
97 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
98 |
|
|
* Taxon page and parts
|
99 |
|
|
*/
|
100 |
00a8e4b6
|
Andreas Kohlbecker
|
|
101 |
6722d9a5
|
Andreas Kohlbecker
|
.page-part {
|
102 |
|
|
margin-bottom: $page-part-margin;
|
103 |
|
|
clear: none;
|
104 |
|
|
}
|
105 |
00a8e4b6
|
Andreas Kohlbecker
|
|
106 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
107 |
|
|
* definition list container rendered by the
|
108 |
|
|
* drupal theme function theme_description_list()
|
109 |
|
|
*/
|
110 |
|
|
.description_list {
|
111 |
|
|
h3 {
|
112 |
|
|
font-size: $base-font-size;
|
113 |
|
|
line-height: $base-line-height;
|
114 |
|
|
font-weight: bold;
|
115 |
|
|
}
|
116 |
0484f1af
|
Andreas Kohlbecker
|
}
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
121 |
|
|
* Synonymy
|
122 |
|
|
*/
|
123 |
dabfc01b
|
Andreas Kohlbecker
|
|
124 |
6722d9a5
|
Andreas Kohlbecker
|
#synonymy {
|
125 |
|
|
div.accepted-name {
|
126 |
|
|
margin-bottom: -1em;
|
127 |
|
|
margin-top: 1em;
|
128 |
|
|
}
|
129 |
6534ac3b
|
Andreas Kohlbecker
|
|
130 |
6722d9a5
|
Andreas Kohlbecker
|
.homotypic-synonymy-group, .heterotypic-synonymy-group, .taxon-relationships {
|
131 |
|
|
border-bottom: 1px solid #DEDEDE;
|
132 |
|
|
/* replace padding by margin */
|
133 |
|
|
margin: 1em 0px;
|
134 |
|
|
padding: 0;
|
135 |
|
|
}
|
136 |
f9a3d0f6
|
Andreas Kohlbecker
|
}
|
137 |
e03a7102
|
Andreas Kohlbecker
|
|
138 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
139 |
|
|
* Media
|
140 |
|
|
*/
|
141 |
|
|
dl.media-caption {
|
142 |
|
|
margin: 0;
|
143 |
|
|
}
|
144 |
|
|
.media-caption {
|
145 |
|
|
dd {
|
146 |
|
|
margin-left: 0;
|
147 |
|
|
.title {
|
148 |
|
|
font-size: 100%;
|
149 |
|
|
}
|
150 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
151 |
|
|
}
|
152 |
6722d9a5
|
Andreas Kohlbecker
|
.image-gallerie td.caption {
|
153 |
|
|
padding-bottom: 1em;
|
154 |
e03a7102
|
Andreas Kohlbecker
|
}
|
155 |
6722d9a5
|
Andreas Kohlbecker
|
|
156 |
|
|
/*
|
157 |
|
|
* specimens and type designations
|
158 |
|
|
*/
|
159 |
|
|
#specimens {
|
160 |
|
|
table.media_gallery {
|
161 |
|
|
margin-top: 0.2em;
|
162 |
f9a3d0f6
|
Andreas Kohlbecker
|
}
|
163 |
6722d9a5
|
Andreas Kohlbecker
|
.description_list {
|
164 |
|
|
clear: both;
|
165 |
|
|
h3 {
|
166 |
|
|
margin-top: 0;
|
167 |
|
|
background-color: #ddd;
|
168 |
|
|
}
|
169 |
|
|
h4 {
|
170 |
|
|
clear: left;
|
171 |
|
|
margin-bottom: 0;
|
172 |
|
|
font-style: italic;
|
173 |
|
|
}
|
174 |
|
|
}
|
175 |
|
|
.dynabox_content {
|
176 |
|
|
margin-left: $zen-gutter-width / 2;
|
177 |
|
|
margin-right: $zen-gutter-width / 2;
|
178 |
|
|
}
|
179 |
|
|
.block-cdm-dataportal-feature {
|
180 |
|
|
margin-left: $zen-gutter-width;
|
181 |
dabfc01b
|
Andreas Kohlbecker
|
margin-bottom: 0;
|
182 |
6722d9a5
|
Andreas Kohlbecker
|
h2 {
|
183 |
|
|
font-size: $base-font-size;
|
184 |
|
|
line-height: $base-line-height;
|
185 |
|
|
font-weight: bold;
|
186 |
|
|
}
|
187 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
188 |
6722d9a5
|
Andreas Kohlbecker
|
ul.typeDesignations {
|
189 |
|
|
clear: both;
|
190 |
|
|
}
|
191 |
|
|
.dna-sequence div {
|
192 |
f9a3d0f6
|
Andreas Kohlbecker
|
font-size: $base-font-size;
|
193 |
6722d9a5
|
Andreas Kohlbecker
|
font-family: monospace;
|
194 |
|
|
clear: left;
|
195 |
|
|
padding-left: $zen-gutter-width;
|
196 |
|
|
}
|
197 |
|
|
.derived_from {
|
198 |
|
|
clear: both;
|
199 |
f9a3d0f6
|
Andreas Kohlbecker
|
}
|
200 |
54c10803
|
Andreas Kohlbecker
|
}
|
201 |
26b8a1bc
|
Andreas Kohlbecker
|
|
202 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
203 |
|
|
* Map
|
204 |
|
|
*/
|
205 |
|
|
.openlayers-container {
|
206 |
|
|
margin-top: $zen-gutter-width / 4;
|
207 |
|
|
margin-bottom: $zen-gutter-width / 4;
|
208 |
54c10803
|
Andreas Kohlbecker
|
}
|
209 |
2dce3b2a
|
Andreas Kohlbecker
|
|
210 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
211 |
|
|
* Registration page & items
|
212 |
|
|
*/
|
213 |
|
|
.registration {
|
214 |
d80b3059
|
Andreas Kohlbecker
|
|
215 |
6722d9a5
|
Andreas Kohlbecker
|
.type-status{
|
216 |
54c10803
|
Andreas Kohlbecker
|
font-weight: bold;
|
217 |
|
|
}
|
218 |
6722d9a5
|
Andreas Kohlbecker
|
|
219 |
|
|
.registration-date-and-institute {
|
220 |
54c10803
|
Andreas Kohlbecker
|
color: #999;
|
221 |
|
|
}
|
222 |
|
|
|
223 |
6722d9a5
|
Andreas Kohlbecker
|
|
224 |
|
|
.published-name {
|
225 |
|
|
.TaxonName .name {
|
226 |
|
|
font-weight: bold;
|
227 |
|
|
}
|
228 |
54c10803
|
Andreas Kohlbecker
|
}
|
229 |
6722d9a5
|
Andreas Kohlbecker
|
.typified-name .cdm\:TaxonName {
|
230 |
54c10803
|
Andreas Kohlbecker
|
color: #999;
|
231 |
6722d9a5
|
Andreas Kohlbecker
|
a {
|
232 |
|
|
color: #999;
|
233 |
|
|
}
|
234 |
|
|
.TaxonName .name {
|
235 |
|
|
font-weight: bold;
|
236 |
|
|
}
|
237 |
54c10803
|
Andreas Kohlbecker
|
}
|
238 |
6722d9a5
|
Andreas Kohlbecker
|
|
239 |
|
|
.registration-summary {
|
240 |
|
|
.registered_name .name {
|
241 |
|
|
font-weight: bold;
|
242 |
|
|
}
|
243 |
|
|
.referenced_typified_name {
|
244 |
|
|
color: #999;
|
245 |
|
|
}
|
246 |
|
|
.label {
|
247 |
|
|
font-weight: bold;
|
248 |
|
|
}
|
249 |
54c10803
|
Andreas Kohlbecker
|
}
|
250 |
f461a488
|
Andreas Kohlbecker
|
}
|
251 |
1443f45b
|
Andreas Kohlbecker
|
|
252 |
6722d9a5
|
Andreas Kohlbecker
|
/*
|
253 |
|
|
* Theme settings page
|
254 |
|
|
*/
|
255 |
|
|
#system-theme-settings {
|
256 |
e03a7102
|
Andreas Kohlbecker
|
|
257 |
6722d9a5
|
Andreas Kohlbecker
|
.image-preview {
|
258 |
|
|
width: 600px;
|
259 |
|
|
max-height: 150px;
|
260 |
|
|
overflow: auto; // let it scroll
|
261 |
|
|
img {
|
262 |
|
|
max-width: none; /* reset style in mormalize.scss */
|
263 |
|
|
}
|
264 |
1b382c34
|
Andreas Kohlbecker
|
|
265 |
6722d9a5
|
Andreas Kohlbecker
|
}
|
266 |
|
|
}
|
267 |
0de9cf51
|
Andreas Kohlbecker
|
|
268 |
6722d9a5
|
Andreas Kohlbecker
|
/*****************************************************************************************
|
269 |
|
|
* RESPONSIVE
|
270 |
|
|
*
|
271 |
|
|
* using the same media queries here as in layout/_responsive.scss
|
272 |
|
|
*****************************************************************************************/
|
273 |
f9a3d0f6
|
Andreas Kohlbecker
|
|
274 |
6722d9a5
|
Andreas Kohlbecker
|
#classification-breadcrumbs {
|
275 |
|
|
font-size: 1.5em;
|
276 |
|
|
line-height: 1.5em;
|
277 |
|
|
}
|
278 |
dabfc01b
|
Andreas Kohlbecker
|
|
279 |
6722d9a5
|
Andreas Kohlbecker
|
@media all and (min-width: 480px) and (max-width: 959px) {
|
280 |
e03a7102
|
Andreas Kohlbecker
|
|
281 |
|
|
|
282 |
dabfc01b
|
Andreas Kohlbecker
|
}
|
283 |
6722d9a5
|
Andreas Kohlbecker
|
|
284 |
|
|
@media all and (min-width: 960px) {
|
285 |
|
|
#classification-breadcrumbs {
|
286 |
|
|
font-size: 1em;
|
287 |
|
|
}
|
288 |
|
|
}
|