Changeset 7388

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

css updates and images to support article page redesign.

References #1115

Location:
head/ambra
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/journals/journal-overlay/src/main/resources/struts/journals/overlayJournal/css/screen.css

    r7318 r7388  
    2020/*      ------------------------------------------------------------- 
    2121 
    22         GLOBAL STYLE SHEET FOR : Ambra Journal 
     22        GLOBAL STYLE SHEET FOR : Ambra Overlay Journal 
    2323        CREATED ON  : 08-26-2006 
    2424        CREATED BY      : MARGARET SHEAR 
     
    5656strong          { font-weight: bold; } 
    5757h1 sup          { font-size: .75em; } 
    58 ul, ol, dl      { margin: 20px; position: relative; } 
    5958ol.simple {list-style-type: none; margin: 20px; position: relative; } 
    6059ol.roman-lower {list-style-type: lower-roman; margin: 20px; position: relative; } 
     
    6766th                      { padding: 6px; background-color: #fdae7a; border: 4px solid #FFF; border-width: 0 3px 3px 0; font-weight: bold;} 
    6867td                      { padding: 6px; background-color: #fcd3b8; border: 4px solid #FFF; border-width: 0 3px 3px 0; } 
     68table.layout { margin:0; } 
     69table.layout td { padding:0; background-color:transparent; border:0; vertical-align:top; } 
     70 
    6971/* Default Headings */ 
    7072h1, h2, h3      { font-family: Georgia, "Times New Roman", Times, serif; color: #333; /*position: relative; Note: this was causing links in floated articleMenu to be covered up and unclickable in Firefox2 */ } 
     
    8183*/ 
    8284.noshow { display:block; height:0px; line-height:0em; } /* can be applied to elements that need to be present in the flow but not impact vertical spacing, e.g. in-page anchors */ 
    83 .clearer  { clear:both; line-height:0; height:0; display:none; } 
    8485.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 
    8586.clearfix { zoom:1; } /*zoom allows self-clearing floats to work in IE*/ 
     
    124125a.advanced              { background-image: url(../images/icon_advanced.gif); } 
    125126a.browse                { background-image: url(../images/icon_browse.gif); } 
     127a.info { background:url(../images/button_info.png); } 
    126128 
    127129/* Article Icons */ 
     
    331333*/ 
    332334 
    333 /*TEMP STYLE: suppresses 2nd instance of research article title on the article page*/ 
    334 div#articleMenu + h1 { display:none; } 
    335  
    336335/* article page tabs */ 
    337 div.horizontalTabs      { position:relative; border:0; margin-top:15px; padding:0; background:transparent; width:100%; } 
     336div.horizontalTabs      { /*position:relative;*/ border:0; margin-top:15px; padding:0; background:transparent; width:99%; } 
    338337div.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; } 
     338/*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; } 
    340339ul#tabsContainer ul { margin:0; padding:10px 10px 0; } 
    341340ul#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; } 
     
    351350div.static h1, 
    352351div.content h1, 
    353 div.search h1 { /* article title */font-size: 2.2em;    line-height: 1.1em;     margin: 10px 0 0 0;font-weight: normal; } 
     352div.search h1 { font-size:1.7em; line-height:1.2em;     margin:10px 0 0 0; font-weight:bold; } 
    354353 
    355354 
     
    359358div.pageerror p         { margin-left: 8px; } 
    360359div.content h2  { /* article sub-title */ margin: 10px 0; font-style: italic; font-size: 1.5em; background: none; padding: 0;} 
    361  
    362360div.static h2, 
    363361div.content h3  { /* article main body heading */ font-size: 1.6em; margin: 20px 0 0 0; border-bottom: 1px solid #ccc; padding-bottom: 3px;} 
     362div.content h2 a, 
     363div.content h3 a { font-family: Verdana,Arial,Helvetica,sans-serif; font-size:0.6em; } 
    364364 
    365365div.static h3, 
     
    397397div#contentHeader p { margin: 0; padding:0; text-indent: -9999px; } 
    398398div#contentHeader p#articleType { text-transform:uppercase; text-indent:7px; margin-top:-13px; font-weight:bold; color:#fff; background-color:transparent; } 
     399div#contentHeader a.info { background-position:0 0.3em; background-repeat:no-repeat; display:inline-block; text-indent:-9999px; width:14px; } 
    399400 
    400401div#publisher { border-bottom:1px dashed #c60; background-color:#fff; } /* background color allows bottom border to display in IE6 */ 
     
    408409p.oa-banner             { margin: 0; padding: 5px 0;font-size: .85em; border-bottom: 8px solid #c60; color: #666; } 
    409410p.authors               { margin: 10px 0 0 0; font-weight: bold; font-size: 1.1em; } 
    410 p.affiliations  { font-size: .85em; margin: 0; } 
     411p.affiliations  { font-size: .85em; margin: 0; line-height:1.4em; } 
    411412 
    412413div.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; } 
     414div.articleinfo { font-size: .9em; padding:0 10px;  margin:20px 0 40px 0; border-left:5px solid #c60; } 
    414415div.contributions { } 
    415416div.articleinfo p 
     
    428429div.content div#articleMenu p { margin-bottom:0; padding:0 8px 0 23px; } 
    429430div.content div#articleMenu ul { margin:0; padding:0 8px 0 23px; position:static!important; } /* position:static fixes display issues in IE6 */ 
    430 div.content div#articleMenu ul li { background-image:none; padding:2px 0; line-height:1.5em; } 
     431div.content div#articleMenu ul li { background-image:none; padding:2px 0; line-height:1.4em; } 
    431432div.content div#articleMenu ul li.annotation, 
    432433div.content div#articleMenu ul li.discuss { background-position:0 2px; background-repeat:no-repeat; padding-left:18px; } 
     
    446447#rhc { font-size:0.9em; line-height:1.5em; } 
    447448#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; } 
     449#rhc h6 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .1em; text-indent:-9999px; width:14px; } 
    449450#rhc p { margin:3px 5px 5px 5px; } 
    450451#rhc div.rhcBox_type1 { margin-bottom:18px; padding-bottom:8px; background:#fcd3b8 url(../images/rhcBox_btm.gif) no-repeat bottom left; zoom:1; } 
     
    485486div.fch p.fch strong { color:#ff0000; } 
    486487div.fch p.fch em { font-weight:bold; font-style:normal; } 
    487 div.fch { margin: 15px 0; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 
     488div.fch { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 
    488489div.fch p.fch, 
    489490div.corrections td.title a, 
     
    497498div.fch ol li p a:visited { font-weight:normal; color:#004e9c; } 
    498499 
     500/* Retraction styles */ 
     501div.retractionHtmlId p.retractionHtmlId strong { color:#ff0000; }  
     502div.retractionHtmlId p.retractionHtmlId em { font-weight:bold; font-style:normal; }  
     503div.retractionHtmlId { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; }  
     504div.retractionHtmlId p.retractionHtmlId,  
     505div.corrections td.title a,  
     506div#discussionContainer div.corrections div.original div.hd h3 { background:url(../images/icon_correction.gif) left 0% no-repeat; }  
     507div.retractionHtmlId p.retractionHtmlId { margin:8px 8px 0; text-indent:20px; }  
     508div.retractionHtmlId span.retractionHtmlId { margin:8px 8px 0; text-indent:0; }  
     509div.retractionHtmlId span.retractionHtmlId div { margin-bottom:10px; font-weight:normal; }  
     510div.retractionHtmlId span.retractionHtmlId div p { margin:0; padding:0; display:inline; font-weight:normal; }  
     511div.retractionHtmlId span.retractionHtmlId div p a:link { font-weight:normal; color:#069; }  
     512div.retractionHtmlId span.retractionHtmlId div p a:visited { font-weight:normal; color:#004e9c; }  
     513 
    499514div#ratingRhc1 { margin-bottom:5px;} 
    500515div#ratingRhc1 ol, 
     
    534549span.equation span span.note { display:inline; margin: 0;} 
    535550span.equation img       { margin: 0 auto; display: block; padding-bottom: 10px;} 
     551 
     552/* ------ Related Page Styles ------- */ 
     553div.related h2 { font-style:normal; } 
     554div.related h2 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .25em; text-indent:-9999px; width:14px; margin-top:15px; } 
     555div.related h3 { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:1em; font-weight:bold; border:0; margin:1em 0 0 0; padding:0; } 
     556div.related ul { margin:0; } 
     557div.related ul li { list-style-type:none; background-image:none; display:inline; padding-left:0; padding-right:0.5em; } 
     558 
     559/* ------ Comment Page Styles ------- */ 
     560div.comments ul { margin:10px 0 0 0; } 
     561div.comments ul li { list-style-type:none; background-image:none; padding:0; } 
     562div.comments ul li a.corrections { color:#f00; } 
     563div.comments div.rss { float:right; margin-top:10px; } 
     564div.comments div.rss a { background:transparent url(../images/icon_rss_small.gif) no-repeat scroll right 0.15em; padding-right:15px; } 
     565div.comments table.directory { margin:15px 0 0 0; width:100%; } 
     566div.comments table.directory { width:99%; } 
     567div.comments > table.directory { width:100%; } /* for modern browsers */ 
    536568 
    537569/* ------ Inline Annotation Styles ------- */ 
     
    552584 
    553585/* adds correction icon to bugs containing correction notes */ 
    554 span.minrcrctn a.bug span, span.frmlcrctn a.bug span { 
     586span.minrcrctn a.bug span, span.frmlcrctn a.bug span, span.retractionCssStyle a.bug span { 
    555587  background:url(../images/icon_correction_small.gif) left center no-repeat; 
    556588  padding-left:10px; 
     
    655687#browseNav li           { font-size: .9em; font-weight: bold; padding: 0;margin: 0; } 
    656688#browseNav li input { position: relative; } 
    657 #browseNav ul           { padding: 0; } 
     689#browseNav ul           { margin:20px; padding: 0; } 
    658690#browseNav ul li        { background: url(../images/browsenav_li.gif) no-repeat 0 8px; list-style-type: none; padding-left: 10px; } 
    659691#browseNav ul.subjects li { float:none; } /* fix for wrapping problem in IE7 -SWT */ 
  • head/ambra/webapp/src/main/webapp/article/article_content.ftl

    r7379 r7388  
    4444        <li class="discuss icon"> 
    4545          <#if Session[freemarker_config.userAttributeKey]?exists> 
    46             <a href="${createDiscussionURL}" class="discuss icon">Make a general comment</a> 
     46            <a href="${createDiscussionURL}">Make a general comment</a> 
    4747          <#else> 
    4848            <a href="${freemarker_config.context}/user/secure/secureRedirect.action?goTo=${thisPage}">Make a general comment</a> 
  • head/ambra/webapp/src/main/webapp/css/screen.css

    r7355 r7388  
    8383*/ 
    8484.noshow { display:block; height:0px; line-height:0em; } /* can be applied to elements that need to be present in the flow but not impact vertical spacing, e.g. in-page anchors */ 
    85 .clearer  { clear:both; line-height:0; height:0; display:none; } 
    8685.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 
    8786.clearfix { zoom:1; } /*zoom allows self-clearing floats to work in IE*/ 
     
    363362div.static h2, 
    364363div.content h3  { /* article main body heading */ font-size: 1.6em; margin: 20px 0 0 0; border-bottom: 1px solid #ccc; padding-bottom: 3px;} 
     364div.content h2 a, 
     365div.content h3 a { font-family: Verdana,Arial,Helvetica,sans-serif; font-size:0.6em; } 
    365366 
    366367div.static h3, 
     
    449450#rhc h6 { font-size:1em; } 
    450451#rhc h6 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .1em; text-indent:-9999px; width:14px; } 
    451 #rhc p { margin:3px 5px 5px 5px; } 
     452#rhc p, 
     453#rhc dl.related { margin:10px 5px; } 
    452454#rhc div.rhcBox_type1 { margin-bottom:18px; padding-bottom:8px; background:#fcd3b8 url(../images/rhcBox_btm.gif) no-repeat bottom left; zoom:1; } 
    453455#rhc div.rhcBox_type1 div.wrap { background:#fcd3b8 url(../images/rhcBox_top.gif) no-repeat top left; padding-top:8px; } 
     
    487489div.fch p.fch strong { color:#ff0000; } 
    488490div.fch p.fch em { font-weight:bold; font-style:normal; } 
    489 div.fch { margin: 15px 0; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 
     491div.fch { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 
    490492div.fch p.fch, 
    491493div.corrections td.title a, 
     
    502504div.retractionHtmlId p.retractionHtmlId strong { color:#ff0000; }  
    503505div.retractionHtmlId p.retractionHtmlId em { font-weight:bold; font-style:normal; }  
    504 div.retractionHtmlId { margin: 15px 0; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; }  
     506div.retractionHtmlId { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; }  
    505507div.retractionHtmlId p.retractionHtmlId,  
    506508div.corrections td.title a,  
     
    688690#browseNav li           { font-size: .9em; font-weight: bold; padding: 0;margin: 0; } 
    689691#browseNav li input { position: relative; } 
    690 #browseNav ul           { padding: 0; } 
     692#browseNav ul           { margin:20px; padding: 0; } 
    691693#browseNav ul li        { background: url(../images/browsenav_li.gif) no-repeat 0 8px; list-style-type: none; padding-left: 10px; } 
    692694#browseNav ul.subjects li { float:none; } /* fix for wrapping problem in IE7 -SWT */