NIHVIVO-2036: Fixed broken layout for co-author and co-investigator visualization pages in IE7.

In IE6 is still broken.
This commit is contained in:
mb863 2011-02-04 21:11:24 +00:00
parent 99f8fa05f0
commit a2f96f1c6b
3 changed files with 44 additions and 12 deletions

View file

@ -41,8 +41,10 @@ p.datatable {
cursor: pointer; cursor: pointer;
} }
#sparkline-container { #sparkline-container {
clear: both;
margin-left: 33%; margin-left: 33%;
width: 67%; width: 67%;
float: right;
} }
#profileImage img{ #profileImage img{
width: 90px; width: 90px;
@ -83,16 +85,22 @@ p.datatable {
float: right; float: right;
display: none; display: none;
} }
#grant-count-sparkline-include,
#publication-count-sparkline-include { #publication-count-sparkline-include {
float: left; float: left;
width: 50%; width: 50%;
} }
#coinvestigator-count-sparkline-include,
#coauthor-count-sparkline-include { #coauthor-count-sparkline-include {
float: right; float: right;
width: 50%; width: 50%;
} }
#grant-count-sparkline-include {
float: left;
width: 50%;
}
#coinvestigator-count-sparkline-include {
float: right;
width: 50%;
}
.sub_headings a { .sub_headings a {
font-size: .7em; font-size: .7em;
font-weight:normal; font-weight:normal;
@ -184,6 +192,8 @@ table.sparkline_wrapper_table td, th {
#bodyPannel { #bodyPannel {
background: #FFFFFF; background: #FFFFFF;
height: 840px; height: 840px;
width: 100%;
clear: both;
} }
#dataPanel { #dataPanel {
border: 1px solid #e9e9e9; border: 1px solid #e9e9e9;
@ -191,6 +201,7 @@ table.sparkline_wrapper_table td, th {
width: 250px; width: 250px;
height: 615px; height: 615px;
margin-top: 15px; margin-top: 15px;
float: left;
} }
#dataPanel div { #dataPanel div {
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;

View file

@ -70,3 +70,24 @@ input#submit, input#submit:visited {
#find-by { #find-by {
width: 445px; width: 445px;
} }
/* Fix for Visualization: Co-author and Co-investigator network pages */
#sparkline-container {
clear: both;
float: none;
margin-left: 0;
width: 100%;
}
#grant-count-sparkline-include {
width: 48%;
}
#coinvestigator-count-sparkline-include {
width: 48%;
clear: left;
}
#publication-count-sparkline-include {
width: 48%;
}
#coauthor-count-sparkline-include {
width: 48%;
clear: left;
}

View file

@ -460,7 +460,7 @@ ul#main-nav {
background-color: #f7f9f9; background-color: #f7f9f9;
margin: 0 auto; margin: 0 auto;
list-style: none; list-style: none;
font-weight: 1em; font-size: 1em;
color: #706a66; color: #706a66;
} }
#main-nav li { #main-nav li {