Changeset 7791

Show
Ignore:
Timestamp:
07/20/09 17:11:22 (12 months ago)
Author:
stoomey
Message:

Minor CSS and HTML updates to keep the ratings display of the Ratings page consistant with the new Article Metrics tab display. Addresses #1348

Location:
head/ambra/webapp/src/main/webapp
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/webapp/css/rating.css

    r7790 r7791  
    2222 
    2323.rating { width:100px; height:15px; left: 8em; top: -1.25em;/* these positions are required for the rating/edit rating forms */ font-weight: normal; overflow:hidden; } 
    24 ol.ratingAvgs ul.single { left:0; } /*for single ratings for non-research articles*/ 
     24ol.ratingAvgs ul.single { left:0!important; } /*for single ratings for non-research articles*/ 
    2525span.inline-rating ul.rating { left:0; top:0; } /* This is specifically for the overall rating at the top of the View All Ratings page. Applies to all browsers except IE7 - see below. */ 
    2626*:first-child+html span.inline-rating ul.rating { left: 8em; top: -1.25em; } /* IE7 only hack */ 
  • head/ambra/webapp/src/main/webapp/rating/ratedComments.ftl

    r7644 r7791  
    9797                </#if> 
    9898                <#if articleRatingSummary.overallRounded?exists> 
    99                   <li><label for="overall">Overall</label> 
     99                  <li><label for="overall"><strong>Overall</strong></label> 
    100100                    <ul class="star-rating rating" title="overall"> 
    101101                      <#assign overallPct = (20 * articleRatingSummary.overallRounded)?string("##0")> 
     
    106106              <#else> 
    107107                  <li><label for="singleRating">&nbsp;</label> 
    108                     <ul class="star-rating rating" title="singleRating"> 
     108                    <ul class="star-rating rating single" title="singleRating"> 
    109109                      <#assign singleRatingPct = (20 * articleRatingSummary.singleRating)?string("##0")> 
    110110                      <li class="current-rating average pct${singleRatingPct}">Currently ${articleRatingSummary.singleRating?string("0.#")}/5 Stars.</li>