Changeset 7334

Show
Ignore:
Timestamp:
03/03/09 13:19:31 (17 months ago)
Author:
stoomey
Message:

Images and css for article redesign. References #1115

Location:
head/ambra/webapp/src/main/webapp
Files:
11 added
4 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/webapp/article/article_comments.ftl

    r7318 r7334  
    3939    <div id="researchArticle" class="content corrections"> 
    4040   <#else> 
    41     <div id="researchArticle" class="content"> 
     41    <div id="researchArticle" class="content comments"> 
    4242   </#if> 
    4343      <a id="top" name="top" toc="top" title="Top"></a> 
     
    4949      <#assign tab="comments" /> 
    5050      <#include "article_tabs.ftl"> 
     51      <div class="rss"><a href="#">Comments RSS</a></div> 
    5152      <#if commentary?size == 0> 
    52         <p>There are currently no notes or comments yet on this article. 
    53         You can <a href="${startDiscussionUrl}" title="Click to make a new comment on this article" class="discuss icon">add a comment</a> or return to the original article to add a note.<p> 
     53        <p>There are currently no notes or comments yet on this article. You can <a href="${startDiscussionUrl}" title="Click to make a new comment on this article" class="discuss icon">add a comment</a> or return to the original article to add a note.</p> 
    5454      <#else> 
     55        <ul> 
    5556        <#if corrections == true> 
    56          <a href="${commentsURL}" title="View all corrections" class="discuss icon">View all Comments</a></p> 
     57          <li><a href="${commentsURL}" title="View all corrections" class="discuss icon">View all Comments</a></li> 
    5758        <#else> 
    58          <a href="${correctionsURL}" title="View all corrections" class="corrections icon">View all corrections</a></p> 
     59          <li><a href="${correctionsURL}" title="View all corrections" class="corrections icon">View all corrections</a></li> 
    5960        </#if> 
    60         <a href="${startDiscussionUrl}" title="Click to make a new comment on this article" class="discuss icon">Make a new comment on this article</a></p> 
     61          <li><a href="${startDiscussionUrl}" title="Click to make a new comment on this article" class="discuss icon">Make a new comment on this article</a></li> 
     62        </ul> 
    6163        <table class="directory" cellpadding="0" cellspacing="0"> 
    6264          <#list commentary as comment> 
  • head/ambra/webapp/src/main/webapp/article/article_related.ftl

    r7318 r7334  
    2828    </form> 
    2929 
    30     <div id="researchArticle" class="content"> 
     30    <div id="researchArticle" class="content related"> 
    3131      <a id="top" name="top" toc="top" title="Top"></a> 
    3232      <div id="contentHeader"><p>Open Access</p><p id="articleType">${articleType.heading}</p></div> 
     
    3535      <#include "article_tabs.ftl"> 
    3636 
    37       <h1>Related Articles (i)</h1> 
     37      <h2>Related Articles <a href="#" class="info">info</a></h2> 
    3838 
    39       <div>Related Subject Categories</div> 
     39      <h3>Related Subject Categories</h3> 
    4040      <ul> 
    4141        <#list articleInfo.categories as cat> 
     
    4444      </ul> 
    4545 
    46       <div>Related Articles on the web <img id="relatedArticlesSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></div> 
     46      <h3>Related Articles on the web <img id="relatedArticlesSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></h3> 
    4747      <ul> 
    4848        <li><a href="http://scholar.google.com/scholar?hl=en&lr=&q=related:${docURL?url}&btnG=Search">Google Scholar</a></li> 
     
    5050      </ul> 
    5151 
    52       <div>Cited in: <img id="relatedCitesSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></div> 
     52      <h3>Cited in <img id="relatedCitesSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></h3> 
    5353      <div id="relatedCites"></div> 
    5454      <div>Search for citations on <a href="http://scholar.google.com/scholar?hl=en&lr=&cites=${docURL?url}">Google Scholar</a>.</div> 
    5555 
    56       <div>Related Blog Posts (i) <img id="relatedBlogSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></div> 
     56      <h2>Related Blog Posts <a href="#" class="info">info</a> <img id="relatedBlogSpinner" src="../../images/loading.gif" height="20" width="20" class="loading" /></h2> 
    5757      <div id="relatedBlogPosts"></div> 
    5858 
    59       Search for related blog posts on <a href="http://blogsearch.google.com/blogsearch?hl=en&ie=UTF-8&q=${shortDOI?url}&btnG=Search+Blogs">Google Blogs</a></div> 
     59      Search for related blog posts on <a href="http://blogsearch.google.com/blogsearch?hl=en&ie=UTF-8&q=${shortDOI?url}&btnG=Search+Blogs">Google Blogs</a> 
    6060 
    61       <div>Trackbacks</div> 
     61      <h3>Trackbacks</h3> 
    6262      <div>To trackback this article use the following trackback URL:<br/> 
    6363        <@s.url namespace="/" includeParams="none" id="trackbackURL" action="trackback" trackbackId="${articleURI}"/> 
     
    6666      </div> 
    6767    </div> 
     68  </div> 
     69  <div style="visibility:hidden"> 
     70    <#include "/widget/ratingDialog.ftl"> 
     71  </div> 
    6872</div> 
    69 <div style="visibility:hidden"> 
    70   <#include "/widget/ratingDialog.ftl"> 
    71 </div> 
  • head/ambra/webapp/src/main/webapp/article/article_rhc.ftl

    r7318 r7334  
    9090            } 
    9191          </script> 
    92           <a style='cursor: pointer;' onclick='javascript:bookmark_in_connotea("${docURL}");'><img src='${freemarker_config.getContext()}/journals/plosJournals/images/icon_connotea_16x16.gif' alt="Connotea" title="Add to Connotea"/></a> 
     92          <a style='cursor: pointer;' onclick='javascript:bookmark_in_connotea("${docURL}");'><img src='${freemarker_config.getContext()}/images/icon_connotea_16x16.gif' alt="Connotea" title="Add to Connotea"/></a> 
    9393          <#-- See: http://www.connotea.org/wiki/AddToConnoteaButton --> 
    9494          <#-- Citeulike --> 
    95           <a href="http://www.citeulike.org/posturl?url=${docURL?url}&title=${articleInfoX.title?url}" target="_new"><img src='${freemarker_config.getContext()}/journals/plosJournals/images/icon_citeulike_16x16.gif' alt="CiteULike" title="Add to CiteULike" /></a> 
     95          <a href="http://www.citeulike.org/posturl?url=${docURL?url}&title=${articleInfoX.title?url}" target="_new"><img src='${freemarker_config.getContext()}/images/icon_citeulike_16x16.gif' alt="CiteULike" title="Add to CiteULike" /></a> 
    9696          <#-- For more info see http://www.citeulike.org/faq/all.adp --> 
    9797          <#-- Digg 
     
    114114      </li> 
    115115      <li class="email icon"><a href="${emailArticleURL}">Email this article</a></li> 
    116       <li class="twitter icon"><a href="http://twitter.com/home/?status=${"Check+out+this+article%3A+" + docURL?url}" title="Tweet about this article">Tweet about this article</a></li> 
    117116    </ul> 
    118117  </div> 
  • head/ambra/webapp/src/main/webapp/css/screen.css

    r7318 r7334  
    124124a.advanced              { background-image: url(../images/icon_advanced.gif); } 
    125125a.browse                { background-image: url(../images/icon_browse.gif); } 
     126a.info { background:url(../images/button_info.png); } 
    126127 
    127128/* Article Icons */ 
     
    311312ul#links li.rss a, 
    312313ul#links li.rss a:visited { background-image: url(../images/links_rss_bg.gif); } 
     314ul#links li.alerts a, 
     315ul#links li.alerts a:visited { background-image: url(../images/links_alerts_bg.gif); } 
    313316 
    314317span.new { color: #fff; float: left; display: block; } 
     
    331334*/ 
    332335 
    333 /*TEMP STYLE: suppresses 2nd instance of research article title on the article page*/ 
    334 div#articleMenu + h1 { display:none; } 
    335  
    336336/* article page tabs */ 
    337 div.horizontalTabs      { position:relative; border:0; margin-top:15px; padding:0; background:transparent; width:100%; } 
     337div.horizontalTabs      { /*position:relative;*/ border:0; margin-top:15px; padding:0; background:transparent; width:99%; } 
    338338div.horizontalTabs:after  { content:"."; display: block; height:0; clear:left; visibility:hidden; } 
    339 /*div#articleContainer div#researchArticle*/ ul#tabsContainer  { float:left; margin:0!important; padding:0 0 0 10px!important; /* "!important" required for IE7 */ line-height:normal; background:transparent url("../images/tab_bg.gif") repeat-x bottom; width:640px; } 
     339/*div#articleContainer div#researchArticle*/ ul#tabsContainer  { float:left; clear:none; margin:0!important; padding:0 0 0 10px!important; /* "!important" required for IE7 */ line-height:normal; background:transparent url("../images/tab_bg.gif") repeat-x bottom; width:640px; } 
    340340ul#tabsContainer ul { margin:0; padding:10px 10px 0; } 
    341341ul#tabsContainer li             { cursor:pointer; float:left; background:url("../images/tab_left.gif") no-repeat 0% 0%; margin:0 2px; padding:0 0 0 8px; list-style:none; font-size:.9em; font-weight:bold; color:#666; } 
     
    351351div.static h1, 
    352352div.content h1, 
    353 div.search h1 { /* article title */font-size: 2.2em;    line-height: 1.1em;     margin: 10px 0 0 0;font-weight: normal; } 
     353div.search h1 { font-size:1.7em; line-height:1.2em;     margin:10px 0 0 0; font-weight:bold; } 
    354354 
    355355 
     
    359359div.pageerror p         { margin-left: 8px; } 
    360360div.content h2  { /* article sub-title */ margin: 10px 0; font-style: italic; font-size: 1.5em; background: none; padding: 0;} 
    361  
    362361div.static h2, 
    363362div.content h3  { /* article main body heading */ font-size: 1.6em; margin: 20px 0 0 0; border-bottom: 1px solid #ccc; padding-bottom: 3px;} 
     
    411410 
    412411div.abstract    { margin: 15px 0; } 
    413 div.articleinfo { font-size: .9em; padding: 10px;  margin: 10px 0; background: #DBDBDB url(../images/abstract_bg.gif) repeat-x top; } 
     412div.articleinfo { font-size: .9em; padding:0 10px;  margin:20px 0 40px 0; border-left:5px solid #c60; } 
    414413div.contributions { } 
    415414div.articleinfo p 
     
    446445#rhc { font-size:0.9em; line-height:1.5em; } 
    447446#rhc h6 { font-size:1em; } 
    448 #rhc h6 a.info { display:inline-block; background:url(../images/button_info.png) no-repeat bottom left; text-indent:-9999px; height:15px; width:14px; } 
     447#rhc h6 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .1em; text-indent:-9999px; width:14px; } 
    449448#rhc p { margin:3px 5px 5px 5px; } 
    450449#rhc div.rhcBox_type1 { margin-bottom:18px; padding-bottom:8px; background:#fcd3b8 url(../images/rhcBox_btm.gif) no-repeat bottom left; zoom:1; } 
     
    534533span.equation span span.note { display:inline; margin: 0;} 
    535534span.equation img       { margin: 0 auto; display: block; padding-bottom: 10px;} 
     535 
     536/* ------ Related Page Styles ------- */ 
     537div.related h2 { font-style:normal; } 
     538div.related h2 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .25em; text-indent:-9999px; width:14px; margin-top:15px; } 
     539div.related h3 { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:1em; font-weight:bold; border:0; margin:1em 0 0 0; padding:0; } 
     540div.related ul { margin:0; } 
     541div.related ul li { list-style-type:none; background-image:none; display:inline; padding-left:0; padding-right:0.5em; } 
     542 
     543/* ------ Comment Page Styles ------- */ 
     544div.comments ul { margin:10px 0 0 0; } 
     545div.comments ul li { list-style-type:none; background-image:none; padding:0; } 
     546div.comments ul li a.corrections { color:#f00; } 
     547div.comments div.rss { float:right; margin-top:10px; } 
     548div.comments div.rss a { background:transparent url(../images/icon_rss_small.gif) no-repeat scroll right 0.15em; padding-right:15px; } 
     549div.comments table.directory { margin:15px 0 0 0; width:100%; } 
     550div.comments table.directory { width:99%; } 
     551div.comments > table.directory { width:100%; } /* for modern browsers */ 
    536552 
    537553/* ------ Inline Annotation Styles ------- */