-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
500 lines (440 loc) · 12 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
/*
body.front #global-footer,
body.not-front #global-footer {
background: #ccc url(../images/EBI_Footer.jpg) right -28px no-repeat;
}
*/
/* Make captions from the caption_filter module align left instead of the default centre */
div.caption-inner {
text-align: left;
}
/* begin home page styling */
body.front form#ebi_search {
margin: 0 0 0 0.69em;
padding: 0;
border: 2px solid #207a7a;
background-color: #70bdbd;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
body.front form#ebi_search fieldset {
background: transparent;
border: 0 none;
padding: 0;
margin: 0;
}
/* beware for Drupal's "system.theme.css" adding padding and margin */
body.front form#ebi_search legend {
font-size: 136%;
background-color: #1d8086; /* A non-standard colour but it matches the mastead… :( */
color: #f8f8f8;
width: 100%;
font-family: 'HelveticaNeueLT Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
border: 0 none;
padding:0;
}
body.front form#ebi_search legend span {
color: inherit;
font-weight: normal;
padding: 0.1em 0 0 0.2em;
display: block;
}
body.front form#ebi_search input#query {
margin: 0.69em 0.3em;
font-size: 123.1%;
}
body.front form#ebi_search input#search_submit {
display: inline;
margin: 0 0.69em;
}
body.front form#ebi_search p#example { margin-bottom:0.69em; }
div.view-id-press_releases div.views-row {
width:32%;
float:left
}
div.view-id-press_releases div.views-row-1,
div.view-id-press_releases div.views-row-2 { margin-right: 1%; }
body.front h1 {
margin-bottom: 0;
}
body.front h2 {
color: #bfd9d8;
margin-bottom: 1em;
}
body.front p.intro { font-size: 123.1%; }
body.front form#ebi_search { margin-top: 0.5em; margin-bottom:1em }
/* event block styling */
body.page-about-events .title { background-color: #f4f4f4; padding: 0.1em 0.2em; border-radius:3px; }
.view-all-events .views-row,
.view-industry-events .views-row,
.view-training-eve .views-row { margin: 9px; }
html.fontface .view-all-events .title:before,
html.fontface .view-industry-events .title:before,
html.fontface .view-training-eve .title:before {
font-family: 'EBI-Generic';
font-size: 100%;
color: #207a7a;
content: 'r';
margin: 0 0.3em 0 0;
}
.view-all-events .date,
.view-industry-events .date,
.view-training-eve .date { font-weight: normal; }
.view-all-events .date span,
.view-industry-events .date span,
.view-training-eve .date span { font-weight: inherit; }
/* research page styling */
.view-research-leaders .views-row {
width: 50%;
float: left;
}
.view-research-leaders .views-field-field-person-photo {
float: left;
}
.view-research-leaders p {
margin: 0;
}
/* end research page styling */
/* services a-z page styling */
.view-services .views-summary li {
display: inline;
width
}
/* end services a-z page styling */
/* staff.ebi filter styling */
#views-exposed-form-resources-page .views-exposed-widget,
#views-exposed-form-group-members-page .views-exposed-widget {
width: 100%;
}
#views-exposed-form-resources-page .views-exposed-widget input[type=text],
#views-exposed-form-resources-page .views-exposed-widget select,
#views-exposed-form-group-members-page .views-exposed-widget input[type=text],
#views-exposed-form-group-members-page .views-exposed-widget select {
width: 100%;
margin-left: 0;
margin-right: 0;
}
/* end staff.ebi filter styling */
div#panels-ipe-control-container {
left: 0;
display: none !important;
}
/* styling for services list page */
table.views-table td.views-field img {
float: left;
margin-right: 0.69em;
max-width: none;
padding: 0 9px;
}
table.views-table h2 { font-size: 161.6%; color: #000; display: inline; }
td h2,
td h3,
td h4,
td h5,
td h6,
td p { padding-left: 0; }
/* styling for staff page */
div.photo img { margin: 0.69em; border:0.3em solid #ccc; float:left; max-width:25% }
p.role { font-size:123.1%; font-weight:bold; margin-top:0.69em; }
html.fontface p span.email:before,
html.fontface p.email:before {
font-family: 'EBI-Generic';
font-size: 138.5%;
color: #bbb;
content: 'E';
margin: 0 0.3em 0 0;
}
html.fontface p span.tel:before,
html.fontface p.tel:before {
font-family: 'EBI-Generic';
font-size: 138.5%;
color: #bbb;
content: 'C';
margin: 0 0.3em 0 0;
}
html.fontface p span.homepage:before,
html.fontface p.homepage:before {
font-family: 'EBI-Generic';
font-size: 138.5%;
color: #bbb;
content: 'H';
margin: 0 0.3em 0 0;
}
/* research leaders overview styling */
.view-research-leader-overview .views-row {
width: 50%;
float:left;
}
.view-research-leader-overview .views-row-odd {
clear:left;
}
.view-research-leader-overview p {
margin: 0;
}
.view-research-leader-overview .image {
float: left;
margin-left: 9px;
width: 33%;
}
.view-research-leader-overview .name {
font-weight: bold;
}
html.fontface .view-research-leader-overview .group-link:before {
font-family: 'EBI-Generic';
font-size: 100%;
margin: 0 0.3em 0 0;
color: #bbb;
content: 'f';
}
html.fontface .view-research-leader-overview .publication-link:before {
font-family: 'EBI-Generic';
font-size: 100%;
margin: 0 0.3em 0 0;
color: #bbb;
content: 'P';
}
html.fontface .view-research-leader-overview .contact-link:before {
font-family: 'EBI-Generic';
font-size: 100%;
margin: 0 0.3em 0 0;
color: #bbb;
content: 'C';
}
/* research team members styling */
.view-research-team-members .views-row {
width: 25%;
float: left;
}
.view-research-team-members .views-row:nth-child(4n+1) {
clear:left;
}
.view-research-team-members .name,
.view-research-team-members p {
margin: 0;
}
.view-research-team-members .image {
float: left;
margin-left: 9px;
}
/* style for staff page */
.view-resource-positions .views-row,
.view-people-positions .views-row
/*,.view-people-resources .views-row*/ {
width: 75px;
float: left;
margin-left: 9px;
}
.view-resource-positions .views-row:nth-child(4n+1),
.view-people-positions .views-row:nth-child(4n+1)
/*,.view-people-resources .views-row:nth-child(4n+1)*/ {
clear:left;
}
/* button style for service overview */
.view-resource-team-info .url {
float:right;
display:inline;
margin:0.5em 9px;
padding: 3px 9px;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
font-size: 108%; /* 12px */
border-width: 1px;
border-color: #618658;
background-color: #207a7a; /* colour P1 */
background-image: -moz-linear-gradient(top, #54bdbd, #207a7a);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #54bdbd),color-stop(1, #207a7a));
background-image: -webkit-linear-gradient(#54bdbd, #207a7a);
background-image: linear-gradient(top, #54bdbd, #207a7a);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#54bdbd', EndColorStr='#207a7a');
box-shadow: 0px 2px 2px #adadad;
-moz-box-shadow: 0px 2px 2px #adadad;
-khtml-box-shadow: 0px 2px 2px #adadad;
-webkit-box-shadow: 0px 2px 2px #adadad;
color: #f8f8f8;
text-shadow: #145251 0 1px 1px;
width: auto;
/* IE7 */
*padding-top: 0px;
*padding-bottom: 0px;
border-color: #295c5c; /* P2 */
}
.view-resource-team-info .url:hover { background: #207a7a; }
.view-resource-team-info .url a{ color: inherit; border-bottom: none; }
/* custom style for service categories */
/*
.view-service-categories .views-row {
width: 30%;
float: left;
}
.view-service-categories .views-row:nth-child(3n+1) {
clear: both;
}
*/
@media screen and (min-width: 1201px) {
.view-service-categories .views-row { width: 31% !important; float: left; }
.view-service-categories .views-row:nth-child(3n+1) { clear: both; !important }
}
@media screen and (max-width: 1200px) {
.view-service-categories .views-row { width: 47% !important; float: left; }
.view-service-categories .views-row:nth-child(2n+1) { clear: both; !important }
}
@media screen and (max-width: 950px) {
.view-service-categories .views-row { width: 97% !important; clear: both !important; }
}
html.fontface .view-service-categories .name:before {
font-family: 'EBI-Conceptual';
font-size: 138.5%;
margin: 0 0.3em 0 0;
}
html.fontface .view-service-categories .dna-rna:before {
color: #dac79d;
content: 'd';
}
html.fontface .view-service-categories .gene-expression:before {
color: #dab7e2;
content: 'g';
}
html.fontface .view-service-categories .proteins:before {
color: #62d0df;
content: 'P';
}
html.fontface .view-service-categories .structures:before {
color: #afc9b8;
content: 's';
}
html.fontface .view-service-categories .systems:before {
color: #ffb4aa;
content: 'y';
}
html.fontface .view-service-categories .chemical-biology:before {
color: #ffc999;
content: 'b';
}
html.fontface .view-service-categories .ontologies:before {
color: #bec3d9;
content: 'o';
}
html.fontface .view-service-categories .literature:before {
color: #c5d4a3;
content: 'l';
}
html.fontface .view-service-categories .other-software:before {
color: #a4c7e2;
content: 'c';
}
/* service group members and alumni pages */
.view-service-group-members .views-row,
.view-service-group-alumni .views-row {
width: 25%;
float: left;
}
.view-service-group-members .views-row:nth-child(4n+1),
.view-service-group-alumni .views-row:nth-child(4n+1) {
clear:left;
}
.view-service-group-members .name,
.view-service-group-alumni .name,
.view-service-group-members p,
.view-service-group-alumni p {
margin: 0;
}
.view-service-group-members .image,
.view-service-group-alumni .image {
float: left;
margin-left: 9px;
}
/* styling for people and groups page */
.view-people-and-groups dd {margin: 0 0 1.5em 0.69em;}
html.fontface .pane-people-and-groups h3:before {
font-family: 'EBI-Generic';
font-size: 100%;
color: #333;
margin: 0 0.3em 0 0;
}
.pane-people-and-groups.services h3 { border-bottom: 3px solid #207a7a; }
.pane-people-and-groups.research h3 { border-bottom: 3px solid #71b360; }
.pane-people-and-groups.other h3 { border-bottom: 3px solid #60bdc4 ; }
html.fontface .pane-people-and-groups.research h3:before { content: ')'; }
html.fontface .pane-people-and-groups.services h3:before { content: '('; }
html.fontface .pane-people-and-groups.other h3:before { font-family: 'EBI-Conceptual'; content: 'c'; }
form#people-groups input { font-size: 123.1%; display: inline; }
form#people-groups input[type="text"] { width: 50%; }
/* style for press release */
body.node-type-press-release .pane-node-field-image,
body.node-type-news .field-name-field-image {
float: left;
}
body.node-type-press-release .pane-node-field-image,
body.node-type-news .field-name-field-image,
body.node-type-news .field-name-field.url {
padding: 0 9px;
}
/* style press release list */
.view-press-releases td.image {
width: 150px;
}
.view-press-releases .views-row-first {
margin-left: 0;
}
.view-press-releases .views-row-last {
margin-right: 0;
}
/* style service news and press release lists */
.view-press-releases h3.title,
.view-news h3.title {
margin-top: 0;
margin-bottom: 0;
}
.view-press-releases p.date,
.view-news p.date {
font-weight: bold;
margin-bottom: 0.43em;
}
body.page-about-news-service-news a.feed-icon,
body.page-about-news-press-releases a.feed-icon,
body.page-about-events a.feed-icon {
position: absolute;
top: 19px;
right: 9px;
border-bottom: none;
}
/* style blogs list */
body.page-about-news-blogs tr td:first-child {
width: 150px;
}
/* style brochures list */
body.page-brochures-about-embl-ebi tr td:first-child {
width: 150px;
}
.view-resources-info td {
vertical-align: middle;
}
.field-name-body li {
list-style-position: inside;
}
.field-name-field-relatied-stories, .field-name-field-url {
padding: 0 9px;
}
/* Feedback styles */
/*
ul#local-nav li.menu-feedback, ul#local-nav li.menu-share {
float: right;
background-color: #111;
}
ul#local-nav li.menu-feedback, ul#local-nav li.menu-share {
border-right: none;
border-left: 1px dotted #f8f8f8;
}
ul#local-nav li.menu-feedback.last, ul#local-nav li.menu-share.last {
border-left: none;
}
*/
a.no-underline,
a.no-underline:link,
a.no-underline:visited {
border-bottom: none;
}