NIHVIVO-1073 Markup and stylesheet cleanup.

This commit is contained in:
nac26 2011-01-18 11:46:52 +00:00
parent 74ba0be165
commit 5a30680747
2 changed files with 6 additions and 11 deletions

View file

@ -49,10 +49,10 @@ browseByVClass.getIndividuals = function(vclassUri, alpha) {
// Build the content of each list item, piecing together each component // Build the content of each list item, piecing together each component
listItem = '<li class="vcard individual-foaf-person" role="listitem" role="navigation">'; listItem = '<li class="vcard individual-foaf-person" role="listitem" role="navigation">';
listItem += '<img src="'+ image +'" width="90" height="90" alt="'+ fullName +'" />'; listItem += '<img src="'+ image +'" width="90" height="90" alt="'+ fullName +'" />';
listItem += '<h1 class="fn"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>'; listItem += '<h1 class="fn thumb"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>';
// Include the calculated preferred title (see above) only if it's not empty // Include the calculated preferred title (see above) only if it's not empty
if ( preferredTitle != "" ) { if ( preferredTitle != "" ) {
listItem += '<p>'+ preferredTitle +'</p>'; listItem += '<span class="title">'+ preferredTitle +'</span>';
} }
listItem += '</li>'; listItem += '</li>';
browseByVClass.individualsInVClass.append(listItem); browseByVClass.individualsInVClass.append(listItem);

View file

@ -1050,18 +1050,13 @@ ul#alpha-browse-childClass .count-classes {
font-size: 1.68em; font-size: 1.68em;
color: #2485ae; color: #2485ae;
} }
#individuals-in-childClass li.individual-foaf-person, #individuals-in-childClass li {
#individuals-in-childClass li.individual {
width: 90%;
border-bottom: 1px solid #dde4e3; border-bottom: 1px solid #dde4e3;
padding-bottom: 0;
} }
#individuals-in-childClass li.individual-foaf-person img, #individuals-in-childClass li img {
#individuals-in-childClass li.individual img {
border: 2px solid #dde4e3; border: 2px solid #dde4e3;
} }
#individuals-in-childClass li.individual-foaf-person h1, #individuals-in-childClass li h1 {
#individuals-in-childClass li.individual h1 {
color: #5e6363; color: #5e6363;
font-size: 1em; font-size: 1em;
} }