Changeset 7388
- Timestamp:
- 03/10/09 17:13:53 (17 months ago)
- Location:
- head/ambra
- Files:
-
- 4 modified
-
journals/journal-overlay/src/main/resources/struts/journals/overlayJournal/css/screen.css (modified) (17 diffs)
-
journals/journal-overlay/src/main/resources/struts/journals/overlayJournal/images/dialog_pb.gif (modified) (previous)
-
webapp/src/main/webapp/article/article_content.ftl (modified) (1 diff)
-
webapp/src/main/webapp/css/screen.css (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
head/ambra/journals/journal-overlay/src/main/resources/struts/journals/overlayJournal/css/screen.css
r7318 r7388 20 20 /* ------------------------------------------------------------- 21 21 22 GLOBAL STYLE SHEET FOR : Ambra Journal22 GLOBAL STYLE SHEET FOR : Ambra Overlay Journal 23 23 CREATED ON : 08-26-2006 24 24 CREATED BY : MARGARET SHEAR … … 56 56 strong { font-weight: bold; } 57 57 h1 sup { font-size: .75em; } 58 ul, ol, dl { margin: 20px; position: relative; }59 58 ol.simple {list-style-type: none; margin: 20px; position: relative; } 60 59 ol.roman-lower {list-style-type: lower-roman; margin: 20px; position: relative; } … … 67 66 th { padding: 6px; background-color: #fdae7a; border: 4px solid #FFF; border-width: 0 3px 3px 0; font-weight: bold;} 68 67 td { padding: 6px; background-color: #fcd3b8; border: 4px solid #FFF; border-width: 0 3px 3px 0; } 68 table.layout { margin:0; } 69 table.layout td { padding:0; background-color:transparent; border:0; vertical-align:top; } 70 69 71 /* Default Headings */ 70 72 h1, 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 */ } … … 81 83 */ 82 84 .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; }84 85 .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 85 86 .clearfix { zoom:1; } /*zoom allows self-clearing floats to work in IE*/ … … 124 125 a.advanced { background-image: url(../images/icon_advanced.gif); } 125 126 a.browse { background-image: url(../images/icon_browse.gif); } 127 a.info { background:url(../images/button_info.png); } 126 128 127 129 /* Article Icons */ … … 331 333 */ 332 334 333 /*TEMP STYLE: suppresses 2nd instance of research article title on the article page*/334 div#articleMenu + h1 { display:none; }335 336 335 /* article page tabs */ 337 div.horizontalTabs { position:relative; border:0; margin-top:15px; padding:0; background:transparent; width:100%; }336 div.horizontalTabs { /*position:relative;*/ border:0; margin-top:15px; padding:0; background:transparent; width:99%; } 338 337 div.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; } 340 339 ul#tabsContainer ul { margin:0; padding:10px 10px 0; } 341 340 ul#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; } … … 351 350 div.static h1, 352 351 div.content h1, 353 div.search h1 { /* article title */font-size: 2.2em; line-height: 1.1em; margin: 10px 0 0 0;font-weight: normal; }352 div.search h1 { font-size:1.7em; line-height:1.2em; margin:10px 0 0 0; font-weight:bold; } 354 353 355 354 … … 359 358 div.pageerror p { margin-left: 8px; } 360 359 div.content h2 { /* article sub-title */ margin: 10px 0; font-style: italic; font-size: 1.5em; background: none; padding: 0;} 361 362 360 div.static h2, 363 361 div.content h3 { /* article main body heading */ font-size: 1.6em; margin: 20px 0 0 0; border-bottom: 1px solid #ccc; padding-bottom: 3px;} 362 div.content h2 a, 363 div.content h3 a { font-family: Verdana,Arial,Helvetica,sans-serif; font-size:0.6em; } 364 364 365 365 div.static h3, … … 397 397 div#contentHeader p { margin: 0; padding:0; text-indent: -9999px; } 398 398 div#contentHeader p#articleType { text-transform:uppercase; text-indent:7px; margin-top:-13px; font-weight:bold; color:#fff; background-color:transparent; } 399 div#contentHeader a.info { background-position:0 0.3em; background-repeat:no-repeat; display:inline-block; text-indent:-9999px; width:14px; } 399 400 400 401 div#publisher { border-bottom:1px dashed #c60; background-color:#fff; } /* background color allows bottom border to display in IE6 */ … … 408 409 p.oa-banner { margin: 0; padding: 5px 0;font-size: .85em; border-bottom: 8px solid #c60; color: #666; } 409 410 p.authors { margin: 10px 0 0 0; font-weight: bold; font-size: 1.1em; } 410 p.affiliations { font-size: .85em; margin: 0; }411 p.affiliations { font-size: .85em; margin: 0; line-height:1.4em; } 411 412 412 413 div.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; }414 div.articleinfo { font-size: .9em; padding:0 10px; margin:20px 0 40px 0; border-left:5px solid #c60; } 414 415 div.contributions { } 415 416 div.articleinfo p … … 428 429 div.content div#articleMenu p { margin-bottom:0; padding:0 8px 0 23px; } 429 430 div.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; }431 div.content div#articleMenu ul li { background-image:none; padding:2px 0; line-height:1.4em; } 431 432 div.content div#articleMenu ul li.annotation, 432 433 div.content div#articleMenu ul li.discuss { background-position:0 2px; background-repeat:no-repeat; padding-left:18px; } … … 446 447 #rhc { font-size:0.9em; line-height:1.5em; } 447 448 #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; } 449 450 #rhc p { margin:3px 5px 5px 5px; } 450 451 #rhc div.rhcBox_type1 { margin-bottom:18px; padding-bottom:8px; background:#fcd3b8 url(../images/rhcBox_btm.gif) no-repeat bottom left; zoom:1; } … … 485 486 div.fch p.fch strong { color:#ff0000; } 486 487 div.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; }488 div.fch { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 488 489 div.fch p.fch, 489 490 div.corrections td.title a, … … 497 498 div.fch ol li p a:visited { font-weight:normal; color:#004e9c; } 498 499 500 /* Retraction styles */ 501 div.retractionHtmlId p.retractionHtmlId strong { color:#ff0000; } 502 div.retractionHtmlId p.retractionHtmlId em { font-weight:bold; font-style:normal; } 503 div.retractionHtmlId { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 504 div.retractionHtmlId p.retractionHtmlId, 505 div.corrections td.title a, 506 div#discussionContainer div.corrections div.original div.hd h3 { background:url(../images/icon_correction.gif) left 0% no-repeat; } 507 div.retractionHtmlId p.retractionHtmlId { margin:8px 8px 0; text-indent:20px; } 508 div.retractionHtmlId span.retractionHtmlId { margin:8px 8px 0; text-indent:0; } 509 div.retractionHtmlId span.retractionHtmlId div { margin-bottom:10px; font-weight:normal; } 510 div.retractionHtmlId span.retractionHtmlId div p { margin:0; padding:0; display:inline; font-weight:normal; } 511 div.retractionHtmlId span.retractionHtmlId div p a:link { font-weight:normal; color:#069; } 512 div.retractionHtmlId span.retractionHtmlId div p a:visited { font-weight:normal; color:#004e9c; } 513 499 514 div#ratingRhc1 { margin-bottom:5px;} 500 515 div#ratingRhc1 ol, … … 534 549 span.equation span span.note { display:inline; margin: 0;} 535 550 span.equation img { margin: 0 auto; display: block; padding-bottom: 10px;} 551 552 /* ------ Related Page Styles ------- */ 553 div.related h2 { font-style:normal; } 554 div.related h2 a.info { display:inline-block; background-repeat:no-repeat; background-position:0 .25em; text-indent:-9999px; width:14px; margin-top:15px; } 555 div.related h3 { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:1em; font-weight:bold; border:0; margin:1em 0 0 0; padding:0; } 556 div.related ul { margin:0; } 557 div.related ul li { list-style-type:none; background-image:none; display:inline; padding-left:0; padding-right:0.5em; } 558 559 /* ------ Comment Page Styles ------- */ 560 div.comments ul { margin:10px 0 0 0; } 561 div.comments ul li { list-style-type:none; background-image:none; padding:0; } 562 div.comments ul li a.corrections { color:#f00; } 563 div.comments div.rss { float:right; margin-top:10px; } 564 div.comments div.rss a { background:transparent url(../images/icon_rss_small.gif) no-repeat scroll right 0.15em; padding-right:15px; } 565 div.comments table.directory { margin:15px 0 0 0; width:100%; } 566 div.comments table.directory { width:99%; } 567 div.comments > table.directory { width:100%; } /* for modern browsers */ 536 568 537 569 /* ------ Inline Annotation Styles ------- */ … … 552 584 553 585 /* adds correction icon to bugs containing correction notes */ 554 span.minrcrctn a.bug span, span.frmlcrctn a.bug span {586 span.minrcrctn a.bug span, span.frmlcrctn a.bug span, span.retractionCssStyle a.bug span { 555 587 background:url(../images/icon_correction_small.gif) left center no-repeat; 556 588 padding-left:10px; … … 655 687 #browseNav li { font-size: .9em; font-weight: bold; padding: 0;margin: 0; } 656 688 #browseNav li input { position: relative; } 657 #browseNav ul { padding: 0; }689 #browseNav ul { margin:20px; padding: 0; } 658 690 #browseNav ul li { background: url(../images/browsenav_li.gif) no-repeat 0 8px; list-style-type: none; padding-left: 10px; } 659 691 #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 44 44 <li class="discuss icon"> 45 45 <#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> 47 47 <#else> 48 48 <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 83 83 */ 84 84 .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; }86 85 .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } 87 86 .clearfix { zoom:1; } /*zoom allows self-clearing floats to work in IE*/ … … 363 362 div.static h2, 364 363 div.content h3 { /* article main body heading */ font-size: 1.6em; margin: 20px 0 0 0; border-bottom: 1px solid #ccc; padding-bottom: 3px;} 364 div.content h2 a, 365 div.content h3 a { font-family: Verdana,Arial,Helvetica,sans-serif; font-size:0.6em; } 365 366 366 367 div.static h3, … … 449 450 #rhc h6 { font-size:1em; } 450 451 #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; } 452 454 #rhc div.rhcBox_type1 { margin-bottom:18px; padding-bottom:8px; background:#fcd3b8 url(../images/rhcBox_btm.gif) no-repeat bottom left; zoom:1; } 453 455 #rhc div.rhcBox_type1 div.wrap { background:#fcd3b8 url(../images/rhcBox_top.gif) no-repeat top left; padding-top:8px; } … … 487 489 div.fch p.fch strong { color:#ff0000; } 488 490 div.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; }491 div.fch { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 490 492 div.fch p.fch, 491 493 div.corrections td.title a, … … 502 504 div.retractionHtmlId p.retractionHtmlId strong { color:#ff0000; } 503 505 div.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; }506 div.retractionHtmlId { margin-top:15px; padding:0; border: 1px solid #ff0000; background-color: #fff4f0; } 505 507 div.retractionHtmlId p.retractionHtmlId, 506 508 div.corrections td.title a, … … 688 690 #browseNav li { font-size: .9em; font-weight: bold; padding: 0;margin: 0; } 689 691 #browseNav li input { position: relative; } 690 #browseNav ul { padding: 0; }692 #browseNav ul { margin:20px; padding: 0; } 691 693 #browseNav ul li { background: url(../images/browsenav_li.gif) no-repeat 0 8px; list-style-type: none; padding-left: 10px; } 692 694 #browseNav ul.subjects li { float:none; } /* fix for wrapping problem in IE7 -SWT */
