From 5d66676376bd491344f06294a0921575aa9c39f6 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Fri, 17 Jun 2011 00:27:44 +0200 Subject: report stylesheet moved from ortona to validation service --- report/report_format.rb | 4 +- resources/simple_ot_stylesheet.css | 2291 ++++++++++++++++++++++++++++++++++++ 2 files changed, 2294 insertions(+), 1 deletion(-) create mode 100644 resources/simple_ot_stylesheet.css diff --git a/report/report_format.rb b/report/report_format.rb index 67abc1e..d64bf57 100644 --- a/report/report_format.rb +++ b/report/report_format.rb @@ -4,6 +4,8 @@ ENV['JAVA_HOME'] = "/usr/bin" unless ENV['JAVA_HOME'] ENV['PATH'] = ENV['JAVA_HOME']+":"+ENV['PATH'] unless ENV['PATH'].split(":").index(ENV['JAVA_HOME']) ENV['SAXON_JAR'] = "saxonhe9-2-0-3j/saxon9he.jar" unless ENV['SAXON_JAR'] +OT_STYLESHEET = File.join(CONFIG[:services]["opentox-validation"],"resources/simple_ot_stylesheet.css") + # = Reports::ReportFormat # # provides functions for converting reports from xml to other formats @@ -60,7 +62,7 @@ module Reports::ReportFormat end def self.format_report_to_html(directory, xml_filename, html_filename, css_style_sheet) - css_style_sheet = "http://opentox.informatik.uni-freiburg.de/simple_ot_stylesheet.css" unless css_style_sheet + css_style_sheet = OT_STYLESHEET unless css_style_sheet css = css_style_sheet ? "--stringparam html.stylesheet "+URI.encode(css_style_sheet.to_s) : nil cmd = "xsltproc "+css.to_s+" "+ENV['REPORT_XSL']+" "+File.join(directory,xml_filename.to_s)+" > "+File.join(directory,html_filename.to_s) diff --git a/resources/simple_ot_stylesheet.css b/resources/simple_ot_stylesheet.css new file mode 100644 index 0000000..4c4c072 --- /dev/null +++ b/resources/simple_ot_stylesheet.css @@ -0,0 +1,2291 @@ +/* - base.css - */ +@media screen { +/* http://www.opentox.org/portal_css/base.css?original=1 */ +/* */ +/* */ +body { +font: 75% Verdana,Arial,Helvetica,sans-serif; +background-color: White; +color: #333; +margin: 1.0em 1.0em 1.0em 1.0em; +padding: 0; +} +table { +font-size: 100%; +} +table td{ +padding: 3px; +} +a { +color: #5D308A; +background-color: transparent; +} +img { +border: none; +vertical-align: middle; +} +p { +margin: 0.25em 0 0.25em 0; +line-height: 1.5em; +} +p img { +border: none; +margin: 0; +} +hr { +border: 0; +height: 1px; +color: #000; +background-color: #000; +margin: 0.5em 0 1em 0; +} +h1, h2, h3, h4, h5, h6 { +color: #333; +font-family: Arial,Helvetica,Verdana,Geneva,sans-serif; +margin: 0.75em 0 0.25em 0; +} +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { +color: #333 ! important; +text-decoration: none; +} +h1 { +font-size: 160%; +margin: 2em 0 0.25em 0; +} +h2 { +font-size: 150%; +margin: 2em 0 0.25em 0; +} +h3 { +font-size: 125%; +border-bottom: none; +font-weight: bold; +} +h4 { +font-size: 110%; +border-bottom: none; +font-weight: bold; +} +h5 { +font-size: 100%; +border-bottom: none; +font-weight: bold; +} +h6 { +font-size: 0.9em; +border-bottom: none; +font-weight: bold; +} +ul { +line-height: 1.5em; +padding: 0; +} +ol { +line-height: 1.5em; +padding: 0; +} +li { +margin-bottom: 0.5em; +} +dt { +font-weight: bold; +} +dd { +line-height: 1.5em; +margin-bottom: 1em; +} +abbr, acronym, .explain { +border-bottom: 1px dotted #333; +color: #333; +background-color: transparent; +cursor: help; +} +abbr .explain { +border-bottom: none; +} +q { +font-family: Baskerville, Georgia, serif; +font-style: italic; +font-size: 120%; +} +blockquote { +padding-left: 0.5em; +margin-left: 0; +border-left: 4px solid #000; +color: #666666; +} +code, tt { +font-family: Monaco, "Courier New", Courier, monospace; +font-size: 120%; +color: #333; +background-color: #5D308A; +padding: 0 0.1em; +} +pre { +font-family: Monaco, "Courier New", Courier, monospace; +font-size: 100%; +padding: 1em; +border: 1px solid #000; +color: #333; +background-color: #5D308A; +overflow: auto; +} +ins { +color: green; +text-decoration: none; +} +del { +color: red; +text-decoration: line-through; +} +/* */ + +} + + +/* - public.css - */ +@media screen { +/* http://www.opentox.org/portal_css/public.css?original=1 */ +/* */ +body.largeText { font-size: 95%; } +body.smallText { font-size: 60%; } +/* */ +h2 { +font-weight: normal; +} +/* */ +body.kssActive h2.inlineEditable:hover, +body.kssActive h1.inlineEditable:hover { +padding-bottom: 1px; +} +h3, h4, h5, h6 { +font-weight: bold; +} +.documentFirstHeading { +margin-top: 0; +} +.documentContent { +background: White; +} +.documentContent ul { +list-style-image: url(http://www.opentox.org/bullet.gif); +list-style-type: square; +margin: 0.5em 0 0 1.5em; +} +.documentContent ol { +margin: 0.5em 0 0 2.5em; +} +#visual-portal-wrapper { +padding: 0; +} +/* */ +#portal-logo img { +border: 0; +padding: 0; +} +/* */ +#portal-skinswitcher { +} +#portal-skinswitcher a { +display: block; +float: left; +} +#portal-top { +/* */ +margin: 0; +padding: 0; +background-color: transparent; +} +/* */ +#portal-siteactions { +background-color: transparent; +list-style-image: none; +list-style-type: none; +height: auto; +line-height: normal; +} +#portal-siteactions li { +display: inline; +} +#portal-siteactions li a { +background-color: transparent; +height: auto; +text-decoration: none; +text-transform: none; +} +/* */ +#portal-searchbox { +float: right; +clear: right; +background-color: transparent; +text-align: right; +text-transform: none; +white-space: nowrap; +z-index: 2; +} +#portal-advanced-search { +margin-top: 0.2em; +clear: both; +} +#portal-advanced-search a { +color: #666666; +text-decoration: none; +text-transform: none; +} +/* */ +dl.searchResults dt { +font-size: 140%; +font-weight: normal; +} +form.searchPage { +text-align: center; +} +input.searchPage { +font-size: 200% !important; +} +form.searchPage input.searchButton { +background-position:5px 7px; +padding:1px 10px 1px 25px; +} +/* */ +.LSRes { +font-family: Verdana,Arial,Helvetica,sans-serif; +visibility: visible; +color: #fff; +background-color: White; +vertical-align: middle; +display:block; +list-style-image: none; +list-style-type: none; +text-align: left; +min-width: 16.5em; +text-transform: none; +margin-left: 0; +line-height: 1.1em; +} +#LSHighlight, +.LSHighlight { +background-color: #5D308A; +border: 1px solid #000; +} +.LSRow { +border: 1px solid White; +white-space: normal; +padding:0; +margin: 0; +list-style-image: none; +list-style-type: none; +} +.LSRow a { +text-decoration: none; +font-weight:bold; +white-space:nowrap +} +.LSDescr { +color: #666666; +text-transform: none; +padding-left:2.1em; +margin-top:-0.1em; +} +.LSResult { +position: relative; +display: block; +text-align: right; +padding-top: 5px; +margin: 0; +left: 3px; +z-index: 3; +} +.LSShadow { +position: relative; +text-align: right; +} +.livesearchContainer { +background-color: White; +margin-top: 0; +padding: 0 !important; +position: absolute; +right: 0px; +/* */ +top: 0; +white-space: normal; +font-family: Verdana,Arial,Helvetica,sans-serif; +visibility: visible; +text-align: left; +border: 1px solid #000; +width: 30em; +text-transform: none; +} +* html .livesearchContainer { +padding: 1px !important; +padding-top: 0 !important; +background-color: #000; +border: 0; +} +#livesearchLegend { +line-height: 1em; +margin-top: -2em; +margin-left: -0.1em; +border: 1px solid #000; +border-bottom: 0; +} +* html #livesearchLegend { +margin-top: -1.9em; +margin-left: -8px; +position: relative; +} +/* */ +.LSIEFix { +background-color: White; +padding: 0.5em !important; +z-index: 20; +} +.LSBox { +clear: left; +float: left; +text-align: right; +padding-right: 1px; +display:block; +} +#LSNothingFound { +text-align: center; +padding: 2px; +} +.LSBox label { +font-weight: normal; +} +/* */ +#portal-globalnav { +white-space: nowrap; +list-style: none; +height: auto; +line-height: normal; +} +#portal-globalnav li { +display: inline; +} +#portal-globalnav li a { +/* */ +background-color: transparent; +color: #fff; +height: auto; +text-decoration: none; +} +#portal-globalnav li.selected a { +/* */ +color: #fff; +} +#portal-globalnav li a:hover { +color: #fff; +} +#portal-languageselector { +float:right; +} +#portal-languageselector li { +display: inline; +} +#portal-personaltools { +/* */ +line-height: 1.6em; +color: #333; +margin: 0; +text-align: right; +text-transform: none; +list-style: none; +} +#portal-personaltools .portalUser { +background: transparent url(http://www.opentox.org/user.gif) center left no-repeat; +padding-left: 18px; +} +#portal-personaltools .portalNotLoggedIn { +/* */ +color: #333; +padding: 0; +background: transparent; +background-image: none; +} +#portal-personaltools li { +color: #fff; +margin-left: 1em; +display: inline; +} +#portal-personaltools li a { +text-decoration: none; +color: #fff; +} +#portal-personaltools .visualIconPadding { +padding-left: 10px; +} +.visualCaseSensitive { +text-transform: none; +} +#portal-breadcrumbs a { +text-decoration: none; +} +.breadcrumbSeparator { +font-size: 120%; +} +.addFavorite { +vertical-align: bottom; +} +#content-news h1 { +margin-bottom: 1em; +} +.newsItem { +margin-bottom: 1em; +border-bottom: 1px solid #000; +} +.newsImage { +border: 1px solid #ccc; +} +.newsImageContainer { +float:right; +margin: 0 0 0.5em 1em; +width: 202px; +} +.newsContent { +padding: 0 1em 1em 1em; +} +.newsContent ul, +.newsContent li { +display: block; +list-style: none; +list-style-image: none; +margin: 0; +padding: 0; +} +.newsAbout { +display: block; +color: #666666; +font-size: 0.9em; +padding: 0; +margin-top: 0; +list-style: none; +list-style-image: none; +float: right; +text-align: right; +} +.newsAbout li { +display: inline; +} +.newsFooter { +} +.newsFooter li { +display: inline; +margin: 0 1em 0 0; +} +.documentActions { +margin: 1em 0; +padding: 0; +text-align: right; +} +.documentActions ul { +margin: 0; +padding: 0 0.5em; +display: block; +list-style-type: none; +list-style-image: none; +} +.documentActions li { +display: inline; +margin: 0 0.5em; +padding: 0 0.25em; +background-color: White; +} +.documentActions a { +text-decoration: none; +} +/* */ +dl.portalMessage { +font-size: 0.9em; +} +dl.portalMessage a { +color: black; +border: none; +text-decoration: underline; +} +dl.portalMessage dt { +background-color: #996; +border: 1px solid #996; +font-weight: bold; +float: left; +margin: 0 0.5em 0 0; +padding: 0.5em 0.75em; +color: White; +line-height: 1.25em; +} +dl.portalMessage dd { +background-color: #ffffe3; +border: 1px solid #996; +padding: 0.5em 0.5em; +margin: 0; +line-height: 1.25em; +} +dl.warning dt { +background-color: #d80; +border: 1px solid #d80; +} +dl.error dt { +background-color: #d00; +border-color: #d00; +} +dl.warning dd { +background-color: #fd7; +border-color: #d80; +} +dl.error dd { +background-color: #fd7; +border-color: #d80; +} +.documentDescription { +/* */ +font-weight: bold; +display: block; +margin: 0em 0em 0.5em 0em; +line-height: 1.5em; +} +.documentByLine { +font-size: 0.9em; +font-weight: normal; +color: #666666; +margin-bottom: 0.5em; +} +dl.searchResults span.documentByLine { +display: block; +} +#category ul { +list-style-image: none; +list-style-type: none; +display: inline; +margin: 0; +} +#category ul li { +display: inline; +} +.even { +background-color: #DDDDDD; +} +.odd { +background-color: transparent; +} +.discussion { +margin-top: 1em; +} +.visualHighlight { +background-color: #ffc; +} +.discreet { +color: #666666; +font-size: 0.9em; +font-weight: normal; +} +.pullquote { +padding: 0 1em 0 1em; +margin: 0 0 1em 1em; +font-weight: bold; +float: right; +width: 35%; +clear: right; +background-color: White; +border-left: 4px solid #000; +} +.callout { +font-weight: bold; +padding: 0px 1em; +} +.notify, +.documentEditable * .notify { +border: 1px solid #ffa500; +} +.card { +background-color: #5D308A; +border-color: #000; +border-width: 1px; +border-style: solid; +float: left; +margin: 1em; +text-align: center; +width: 110px; +padding: 1em 0; +} +.card a { +text-decoration: none; +} +.portrait { +background-color: #5D308A; +border-color: #000; +border-width: 1px; +border-style: solid; +font-size: 0.9em; +margin: 0.5em; +padding: 1em 0 0.5em 0; +text-align: center; +width: 100px; +} +.portraitPhoto { +border: 1px solid black; +} +/* */ +table.listing, +.stx table { +/* */ +border-collapse: collapse; +border-left: 1px solid #000; +border-bottom: 1px solid #000; +font-size: 0.9em; +margin: 1em 0em 1em 0em; +} +table.listing th, +.stx table th { +border-top: 1px solid #000; +border-bottom: 1px solid #000; +border-right: 1px solid #000; +font-weight: normal; +padding: 0.25em 0.5em; +text-transform: none; +} +table.listing .top { +border-left: 1px solid White; +border-top: 1px solid White ! important; +border-right: 1px solid White ! important; +text-align: right ! important; +padding: 0em 0em 1em 0em; +} +table.listing .listingCheckbox { +text-align: center; +} +table.listing td, +.stx table td { +border-right: 1px solid #000; +padding: 0.25em 0.5em; +} +table.listing a { +text-decoration: none; +} +table.listing a:hover { +text-decoration: underline; +} +table.listing img { +vertical-align: middle; +} +table.listing td a label, +.stx table td a label { +cursor: pointer; +} +/* */ +table.vertical th { +padding: 0.5em; +} +table.vertical td { +border-top: 1px solid #000; +padding: 0.5em; +} +/* */ +table.grid td { +border: 1px solid #000; +padding: 0.5em; +} +/* */ +table.plain, +table.plain td, +table.plain th { +border: 1px solid #ccc; +padding: 0.5em; +border-collapse: collapse; +} +/* */ +table.plainnoboder, +table.plainnoboder td, +table.plainnoboder th { +border: none; +padding: 0.5em; +border-collapse: collapse; +} +/* */ +.listingBar { +border-style: solid; +border-width: 1px; +padding: 0em 1em; +text-align: center; +text-transform: none; +vertical-align: top; +margin: 1em 0em; +font-size: 94%; +clear: both; +} +.listingBar span.previous, +.listingPrevious { +text-align: left; +float: left; +margin-right: 1em; +} +.listingBar span.next, +.listingNext { +text-align: right; +float: right; +margin-left: 1em; +} +.listingBar img { +vertical-align: middle; +} +.listingBar a { +text-decoration: none; +} +.tileItem { +padding-top: 0.5em; +margin-top: 0.5em; +} +.tileHeadline { +border: none; +font-size: 110%; +font-weight: bold; +} +.tileHeadline a { +text-decoration: none; +} +.tileBody { +margin-bottom: 0.5em; +} +.eventDetails { +float: right; +width: 20em; +clear: right; +} +/* */ +/* */ +ul.visualNoMarker, +ol.visualNoMarker { +list-style-type: none; +list-style-image: none; +margin: 0.5em 0 0 0; +line-height: 1em; +} +ul.discreet { +list-style-image: none; +list-style-type: disc; +} +textarea.proportional { +font: 100% Verdana,Arial,Helvetica,sans-serif; +} +.productCredits { +text-align: right; +font-size: 0.9em; +clear: both; +font-weight: normal; +color: #666666; +} +#portal-footer { +float: none; +line-height: 1.2em; +text-align: center; +} +#portal-footer p { +margin: 0.25em 0; +} +#portal-footer a { +text-decoration: none; +color: #5D308A; +border: none; +} +#portal-footer a:visited { +color: #5D308A; +} +#portal-footer a:hover { +text-decoration: underline; +} +#portal-colophon { +float: none; +margin: 0 0 1em 0; +padding: 0 0 1em 0; +text-align: center; +color: #666; +} +#portal-colophon ul { +list-style-image: none; +list-style-type: none; +} +#portal-colophon ul li { +display: inline !important; +font-size: 0.9em; +padding: 0 0.75em; +} +#portal-colophon ul li a { +text-decoration: none; +border-bottom: 1px #ccc solid; +color: #666; +} +.feedButton { +display: block; +float: right; +margin-top: 1px; +} +.poweredBy { +display: block; +clear: both; +font-size: 0.9em; +font-weight: normal; +color: #666666; +text-align: right; +} +/* */ +#portal-sitemap { +list-style: none; +list-style-image: none; +margin: 0; +font-size: 90%; +border: none; +} +#portal-sitemap .navTreeLevel1 { +padding-left: 1em; +border-left: 0.5em solid #000; +margin: 0 0 0 0.5em; +} +#portal-sitemap .navTreeLevel2 { +padding-left: 1em; +border-left: 0.5em solid #5D308A; +} +/* */ +.photoAlbumEntry { +float: left; +height: 185px; +width: 143px; +margin: 0em; +padding: 0px 6px 0px 9px; +text-align: center; +background-image: url('http://www.opentox.org/polaroid-single.png'); +background-repeat: no-repeat; +} +.photoAlbumEntry img { +border: 1px solid #ccc; +display: block; +margin: 0 auto; +} +.photoAlbumEntryWrapper { +height: 130px; +width: 128px; +margin-bottom: 7px; +} +.photoAlbumEntry a { +display: block; +text-decoration: none; +font-size: 0.9em; +height: 169px; +width: 130px; +margin: 16px auto 0px; +} +.photoAlbumFolder { +background-image: url('http://www.opentox.org/polaroid-multi.png'); +background-repeat: no-repeat; +} +.photoAlbumEntryTitle { +color: #666666; +display: block; +overflow: hidden; +width: 128px; +height: 3.6em; +} +/* */ +a.link-parent { +display: block; +background: transparent url(http://www.opentox.org/arrowUp.gif) 4px 5px no-repeat; +padding: 1px 0px 10px 16px; +font-size: 0.9em; +text-decoration: none; +} +#content .link-category { +color: #74ae0b !important; +} +#content .link-user { +background: transparent url(http://www.opentox.org/user.gif) 0 1px no-repeat; +padding: 1px 0px 1px 16px; +} +#content .link-comment { +background: transparent url(http://www.opentox.org/discussionitem_icon.gif) center left no-repeat; +padding: 1px 0px 1px 16px !important; /* */ +} +#content .link-anchor { +color: #666666; +text-decoration: none; +font-weight: normal; +} +#content .link-presentation { +font-size: 90%; +text-align: center; +} +#content .link-wiki-add { +color: red; +} +/* */ +.visualGhosted { +opacity: 0.2; +} +/* */ +body.fullscreen #portal-logo, +body.fullscreen #portal-siteactions { +display: none; +} +body.fullscreen #portal-globalnav { +margin-top: 4em; +} +body.fullscreen #portal-searchbox { +margin: 0.5em 2em 0 0.5em; +padding: 0; +position: relative; +z-index: 3; +} +/* */ +.image-left { +float: left; +clear: both; +margin: 0.5em 1em 0.5em 0; +} +.image-inline { +float: none; +} +.image-right { +float: right; +clear: both; +margin: 0.5em; +} +dd.image-caption { +text-align:left; +padding: 0; margin:0; +} +dl.captioned { +padding: 10px; +} +/* */ +#dashboard-info-message { +padding-top: 0.5em; +} +#dashboard { +width: 68em; +} +#dashboard-portlets1, +#dashboard-portlets2, +#dashboard-portlets3 +{ +float:left; +width:16em; +padding:0.7em 1.3em 0 0; +} +#dashboard-portlets4 { +float:left; +width:16em; +padding-top:0.7em; +} +#dashboard-portlets1 a, +#dashboard-portlets2 a, +#dashboard-portlets3 a, +#dashboard-portlets4 a { +border-bottom:medium none; +} +#dashboard-portlets1 dl.portlet, +#dashboard-portlets2 dl.portlet, +#dashboard-portlets3 dl.portlet, +#dashboard-portlets4 dl.portlet { +margin-bottom:1.5em; +} +div.managedPortlet.portlet { +border-bottom:none; +} +#dashboard select { +width:100%; +} +.portletAssignments { +margin-top:1.5em; +} +#dashboard-portlets1 div.managedPortlet a, +#dashboard-portlets2 div.managedPortlet a, +#dashboard-portlets3 div.managedPortlet a, +#dashboard-portlets4 div.managedPortlet a { +text-decoration: none; +color: #fff; +border-bottom:1px solid #fff; +} +#dashboard-portlets1 div.managedPortlet span a, +#dashboard-portlets2 div.managedPortlet span a, +#dashboard-portlets3 div.managedPortlet span a, +#dashboard-portlets4 div.managedPortlet span a{ +border-bottom:none; +} +#dashboard-actions { +float:right; +} +#dashboard-actions ul { +list-style-image:none; +list-style-position:outside; +list-style-type:none; +margin-top:0; +} +#dashboard-actions ul li { +display:inline; +padding-left:0.7em; +} +#dashboard-actions ul li.portalUser { +background:transparent url(http://www.opentox.org/user.gif) no-repeat scroll left center; +padding-left:18px; +} +/* */ +.section div { +padding-top:0; +padding-bottom:0; +} +/* */ +/* */ + +} + + +/* - columns.css - */ +@media screen { +/* http://www.opentox.org/portal_css/columns.css?original=1 */ +/* */ +#portal-columns { +width: 100% !important; +border-collapse: collapse; +border-spacing: 0; +} +#portal-column-one { +vertical-align: top; +width: 16em; +border-collapse: collapse; +padding: 0; +} +#portal-column-content { +vertical-align: top; +border-collapse: collapse; +padding: 1em 1em 0 1em; +margin: 0em 0em 2em 0em; +} +#portal-column-two { +vertical-align: top; +width: 16em; +border-collapse: collapse; +padding: 0; +} +/* */ +body.fullscreen #portal-column-one, +body.fullscreen #portal-column-two { +display: none; +} +body.fullscreen #portal-column-content { +width: 100%; +margin: 0; +padding: 0; +} +/* */ + +} + + +/* - authoring.css - */ +@media screen { +/* http://www.opentox.org/portal_css/authoring.css?original=1 */ +/* */ +/* */ +/* */ +.contentViews { +background-color: transparent; +padding-left: 1em; +line-height: normal; +margin: 0; +list-style: none; +border: 1px solid #5D308A; +border-top-width: 0px; +border-left-width: 0px; +border-right-width: 0px; +} +.contentViews li { +display: inline; +padding-top: 0.5em; +} +.contentViews li a { +background-color: transparent; +border: 1px solid #5D308A; +border-style: solid; +color: #333; +height: auto; +margin-right: 0.5em; +padding: 0em 1em; +line-height: normal; +text-decoration: none; +text-transform: none; +z-index: 1; +} +.contentViews .selected a { +background-color: #DDDDDD; +border-bottom: #DDDDDD 1px solid; +color: #333; +} +.contentViews li a:hover { +background-color: #DDDDDD; +color: #333; +} +.configlet .contentViews { +font-size: 90%; +} +.contentActions { +background-color: #DDDDDD; +border-left: 1px solid #5D308A; +border-right: 1px solid #5D308A; +color: #333; +text-align: right; +text-transform: none; +padding: 0 0 0 1em; +z-index: 2; +position:relative; +height: 1.6em; +} +.contentActions ul, +.contentActions li { +margin: 0; +list-style: none; +list-style-image: none; +color: #333; +text-align: left; +line-height: 1.6em; +} +.contentActions li { +float: right; +z-index: 4; +border-left: 1px solid #5D308A; +} +.contentActions a { +text-decoration: none; +color: #333; +padding: 0 0.5em; +cursor: pointer; +} +.contentActions span.subMenuTitle { +padding: 0em 0.5em; +position: relative; +white-space: nowrap; +display: inline; +} +.contentActions a span.subMenuTitle { +padding: 0px; +display: inline; +} +.actionMenu { +/* */ +position: relative; +margin: 0; +padding: 0; +} +.actionMenu .actionMenuHeader { +margin: 0; +padding: 0; +font-weight: normal; +} +.actionMenu.activated .actionMenuHeader { +position: relative; +z-index: 10; +} +.actionMenu .actionMenuHeader a { +display: block; +} +.arrowDownAlternative { +font-size: 0.85em; +} +.actionMenu .actionMenuContent { +display: none; +z-index: 5; +position: absolute; +top: 1.6em; +right: -1px; +height: auto; +padding: 0; +margin: 0; +} +.actionMenu.activated .actionMenuContent { +display: block !important; +} +.actionMenu.activated .actionMenuContent { +/* */ +display: table !important; +border-collapse: collapse; +border-spacing: 0; +} +.actionMenu.deactivated .actionMenuContent { +display: none !important; +} +.actionMenu .actionMenuContent ul { +display: block; +background: #DDDDDD; +border: 1px #5D308A; +border-style: none solid solid solid; +margin: -2px 0 0 0; +padding: 0; +} +.actionMenu .actionMenuContent li { +float: none; +background-color: transparent; +display: inline; +padding: 0; +margin: 0; +border: 0; +} +.actionMenu .actionMenuContent li a { +display: block; +white-space: nowrap; +margin: 0.2em 0; +} +.actionMenu .actionMenuContent .selected { +display: block; +white-space: nowrap; +padding: 0 0.5em; +margin: 0.2em 0; +} +.actionMenu .actionMenuContent li a:hover { +background-color: #5D308A; +color: White; +} +.actionMenu .actionMenuContent .actionSeparator a { +padding-top: 0.2em; +border-top: 1px solid #5D308A; +} +#templateMenu li a { +padding-left: 16px; +} +ul.configlets { +margin: 1em 0; +list-style-image: none; +list-style: none; +} +ul.configlets li { +margin-bottom: 1em; +} +ul.configlets li a { +text-decoration: none; +border: none; +} +ul.configlets li a:visited { +color: #5D308A; +background-color: transparent; +} +ul.configlets li a:active { +color: #5D308A; +background-color: transparent; +} +ul.configlets li label { +font-weight: bold; +} +ul.configletDetails { +margin: 0em 1em 1em 4em; +list-style-image: none; +list-style: none; +} +ul.configletDetails li { +margin-bottom: 1em; +display: inline; +} +ul.configletDetails li a { +text-decoration: none; +} +ul.configletDetails li label { +font-weight: bold; +} +ul.configletDetails li.configletDescription { +display: block; +color: #666666; +font-size: 0.9em; +margin: 0; +} +/* */ +.stx table p { +margin: 0; +padding: 0; +} +.stx table { +border: 1px solid #000 ! important; +} +.stx table td { +border-bottom: 1px solid #000; +} +.reviewHistory, +.contentHistory { +display: inline; +font-size: 110% !important; +color: Black; +} +.comment { +background: #DDDDDD; +border: 1px dashed #000; +padding: 0.25em 1em 0.5em 1em; +margin-bottom: 1em; +} +.comment h1, +.comment h2, +.comment h3, +.comment h4, +.comment h5, +.comment h6 { +border-bottom: 1px dashed #666666; +font-weight: normal; +} +.comment h3 a { +background-image: url(http://www.opentox.org/discussionitem_icon.gif); +background-repeat: no-repeat; +padding-left: 18px; +margin-left: -1px; +margin-bottom: 1px; +min-height: 1.6em; +height: auto; +line-height: 1.6em; +} +.commentBody { +margin: 0 1em 1em 1em; +} +.spacer { +margin: 1em; +} +/* */ +dl.collapsible { +border: 1px solid #000 !important; +margin: 1em 0 0 0; +padding: 0; +} +dl.collapsible dt.collapsibleHeader { +display: block; +float: left; +background: White; +line-height: 1.2em; +vertical-align: middle; +font-size: 90%; +position: relative; +top: -0.6em; +width: auto; +margin: 0 0 -0.6em 1em; +padding: 0 0.5em; +} +dl.collapsible dd.collapsibleContent { +margin: 0; +padding: 0 1em; +clear: left; +} +/* */ +dl.collapsible dd.collapsibleContent > dl { +margin: 0; +padding: 0; +} +dl.expandedInlineCollapsible dt.collapsibleHeader, +dl.expandedBlockCollapsible dt.collapsibleHeader { +padding: 0 6px 0 22px; +background: White url(treeExpanded.gif) no-repeat 6px 50%; +cursor: pointer; +} +dl.collapsedBlockCollapsible { +border: none !important; +height: 1em; +width: auto; +} +dl.collapsedBlockCollapsible dt.collapsibleHeader { +float: none; +position: static; +margin: 0; +padding: 0 0 0 22px; +line-height: 1em; +background: transparent url(treeCollapsed.gif) no-repeat 6px 50%; +cursor: pointer; +} +dl.collapsedInlineCollapsible dd.collapsibleContent, +dl.collapsedBlockCollapsible dd.collapsibleContent { +display: none; +} +dl.collapsedInlineCollapsible { +border: none !important; +height: 1em; +width: auto; +display: inline; +} +dl.collapsedInlineCollapsible dt.collapsibleHeader { +position: static; +float: none; +margin: 0; +padding: 0 0 0 22px; +line-height: 1em; +background: transparent url(treeCollapsed.gif) no-repeat 6px 50%; +cursor: pointer; +display: inline; +} +.configlet .documentEditable { +padding: 0em !important; +} +.documentEditable .documentContent { +border: 1px solid #5D308A; +padding: 0; +} +.label { +font-weight: bold; +display: inline; +padding-right: 0.5em; +} +.optionsToggle { +border: 1px solid #000; +color: #333; +background-color: #5D308A; +font-weight: normal !important; +font-size: 0.9em; +} +/* */ +.portalNotLoggedIn {} +#portal-column-content fieldset > * input:focus, +#portal-column-content fieldset > * textarea:focus { +border-color: #ffa500; +border-width: 1px; +} +/* */ +.highlightedSearchTerm { +background-color: #ffa; +} +dl.searchResults .highlightedSearchTerm { +background-color: transparent; +font-weight: bold; +} +/* */ +.noInheritedRoles { +color: #a0a0a0; +} +/* */ +.currentItem { +border-collapse: collapse; +border: 2px solid #ffa500; +padding: 1px; +} +.managePortletsLink { +display: block; +color: #666666; +font-size: 0.9em; +font-weight: normal; +} +ul.formTabs { +position: relative; +display: block; +margin: 0 0 -2em 0; +padding: 0; +list-style-type: none; +text-align: center; +} +li.formTab { +display: inline; +margin: 0; +padding: 0; +} +li.formTab a { +/* */ +display: inline-block; +} +li.formTab a { +border-top: 1px solid #000; +border-bottom: 1px solid #000; +border-left: 1px dotted #000; +background: White; +margin: 0; +padding: 0.125em 0.75em; +text-decoration: none; +} +li.formTab a:visited { +color: #5D308A; +} +li.firstFormTab a { +border-left: 1px solid #000; +} +li.lastFormTab a { +border-right: 1px solid #000; +} +li.formTab a.selected { +background: #5D308A; +} +li.formTab a:hover { +background: #5D308A; +} +li.formTab a.notify { +background-color: #ffce7b; +color: #333; +} +li.formTab a.required span { +background-image: url(http://www.opentox.org/required.gif); +background-position: center right; +background-repeat: no-repeat; +padding-right: 8px; +} +li.formTab a.notify:hover { +background-color: #ffa500; +} +.formPanel { +padding: 1em 1em 1em 1em; +border: 1px solid #000; +} +.formPanel.hidden { +display: none; +} +div.formControls input.hidden { +display: none; +} +/* */ + +} + + +/* - portlets.css - */ +@media screen { +/* http://www.opentox.org/portal_css/portlets.css?original=1 */ +/* */ +.managePortletsFallback { +margin: 0 0 0 1em; +} +/* */ +.portlet a { +text-decoration: none; +} +.portlet a.tile { +display: block; +} +/* */ +.portletItem a, +.portletFooter a { +border-bottom: none; +} +.portletItem a:visited, +.portletFooter a:visited { +color: #5D308A; +} +.portletHeader { +font-weight: normal; +line-height: 1.6em; +} +.portletItem { +margin: 0; +} +.portletItem ol { +margin: 0 0 0 1em; +} +.portletItemDetails { +text-align: right; +display: block; +color: #333; +} +.portletFooter { +background-color: #DDDDDD; +margin: 0; +text-align: right; +} +.dayPopup { +background-color: #ffffe1; +border: 1px solid Black; +padding: 0.2em; +position: absolute; +visibility: hidden; +width: 12em; +z-index: 2; +} +.date { +font-weight: bold; +} +.portletCalendar { +width: 100%; +margin: 1px 0 1em 0; +width: 100%; +} +.portletCalendar dt { +font-weight: normal; +text-align: center; +line-height: 1.6em; +border-bottom: none; +} +.portletCalendar dd { +margin: 0; +padding: 0; +} +.portletCalendar a { +text-decoration: none; +} +.portletCalendar a:hover { +text-decoration: none; +} +.ploneCalendar { +border-collapse: collapse; +border-spacing:0; +width: 100%; +} +.ploneCalendar td { +background-color: transparent; +width: 14%; +text-align: center; +padding: 2px; +} +.ploneCalendar .weekdays th { +text-align: center; +padding: 2px; +font-weight: normal; +} +.ploneCalendar .event { +font-weight: bold; +} +.ploneCalendar .todayevent { +font-weight: bold; +} +.ploneCalendar .todaynoevent { +border-collapse: collapse; +} +.managePortletsLink { +text-align: center; +} +div.portlets-manager div.section { +padding-top: 1em !important; +} +div.managedPortlet { +padding-top:0.5em; +padding-bottom:0.5em; +} +.managedPortlet .portletHeader { +min-height: 3em !important; +} +.managedPortlet a { +text-decoration: underline; +} +.managedPortletActions { +display:block; +float:right; +} +.managedPortletActions a { +text-decoration: none; +} +.managedPortletActions a.up, +.managedPortletActions a.down { +color:blue !important; +} +.managedPortletActions a.delete { +color:red !important; +} +/* */ +.toc { +float: left; +width: 30%; +font-size: 90%; +margin: 0 0 0.5em 0.5em; +} +/* */ +/* */ + +} + + +/* - controlpanel.css - */ +@media screen { +/* http://www.opentox.org/portal_css/controlpanel.css?original=1 */ +/* */ +.inlineDisplay { +display:inline +} +table.controlpanel-listing { +width:100%; +} +table.controlpanel-listing td, table.controlpanel-listing th { +font-size:120%; +} +table.controlpanel-listing dl { +margin-top:0; +} +table.controlpanel-listing dd { +margin-left: 1em; +} +table.controlpanel-listing dl dt a .trigger{ +font-weight:normal; +} +table .controlpanel-listing td { +vertical-align:top; +} +table.controlpanel-listing td.checker{ +text-align:center; +} +table.controlpanel-listing th.smallcolumn { +width:1.5em; +} +.chooser-right { +float:right; +margin-right:0 !important; +margin-bottom:0 !important; +} +.rule-element { +background-color:#EEF3F5; +margin:0.5em 0pt 0.5em; +padding:0.3em 1em 0.3em 1em; +width:auto; +} +.rule-element dl { +} +.rule-element dl dd { +margin-left:1em; +} +.rule-updown, .rule-operations { +float:right; +padding-top:0.8em; +} +/* */ + +} + + +/* - print.css - */ +@media print { +/* http://www.opentox.org/portal_css/print.css?original=1 */ +body { +font-family: Baskerville, Georgia, Garamond, Times, serif; +font-size: 11pt !important; +} +h1, h2, h3, h4, h5, h6 { +border: none; +font-family: Baskerville, Georgia, Garamond, Times, serif; +} +div, p, ul, dl, ol { +width: auto; +} +ul, ol, dl { +padding-right: 0.5em; +} +ul { +list-style-type: square; +} +.documentDescription { +font-weight: bold; +} +pre { +border: 1pt dotted black; +white-space: pre; +font-size: 8pt; +overflow: auto; +padding: 1em 0; +} +table.listing, +table.listing td { +border: 1pt solid black; +border-collapse: collapse; +} +a { +color: Black !important; +padding: 0 !important; +text-decoration: none !important; +} +a:link, a:visited { +color: #520; +background: transparent; +} +/* */ +div.pageBreak { +page-break-before: always; +} +/* */ +div.top, +#portal-logo, +#portal-siteactions, +.hiddenStructure, +#portal-searchbox, +#portal-globalnav, +#portal-personaltools, +#portal-breadcrumbs, +#portal-column-one, +#portal-column-two, +.contentViews, +.contentActions, +.help, +.legend, +.portalMessage, +.documentActions, +.documentByLine, +.netscape4, +#portal-footer, +#portal-colophon, +.skipnav, +#kss-spinner, +#review-history, +.listingBar, +.visualNoPrint { +display: none; +} +#portal-top { +display: none; +} +} + + +/* - deprecated.css - */ +@media screen { +/* http://www.opentox.org/portal_css/deprecated.css?original=1 */ +/* */ +/* */ +/* */ +/* */ +div.portalMessage, +p.portalMessage, +.system-message, +#error-handling { +background-color: #ffce7b; +border: 1px solid #ffa500; +color: #333; +font-size: 0.9em; +margin: 1em 0em; +padding: 0.5em 1em 0.5em 3em; +vertical-align: middle; +background-image: url(http://www.opentox.org/info_icon.gif); +background-repeat: no-repeat; +background-position: 5px 50%; +} +/* */ + +} + + +/* - navtree.css - */ +@media screen { +/* http://www.opentox.org/portal_css/navtree.css?original=1 */ +/* */ +/* */ +/* */ +.portletNavigationTree { +padding: 0; +list-style: none !important; +list-style-image: none !important; +line-height: 1em; +} +.navTree { +list-style: none; +list-style-image: none; +margin-top: 1px; +} +.navTree li { +margin-bottom: 1px; +} +.navTreeItem { +display: block; +padding: 0; +margin: 0; +} +.navTreeItem a, +dd.portletItem .navTreeItem a { +border: 1px solid White; +display: block; +text-decoration: none; +padding-top: 0.2em; +padding-bottom: 0.25em; +} +.navTreeItem a:hover, +dd.portletItem .navTreeItem a:hover { +background-color: #5D308A; +color: #fff; +border: 1px solid #000; +} +.navTreeCurrentItem { +background-color: #5D308A; +color: #fff; +border: 1px solid #000 !important; +} +li.navTreeCurrentItem { +display: block; +padding: 0 0 0 1px; +margin: 0 0 2px -1px; +} +li.navTreeCurrentItem a, +li.navTreeCurrentItem a:hover { +display: block; +border: 1px solid #5D308A; +min-height: 1.6em; +line-height: 1.6em; +height: auto; +} +/* */ +* html li.navTreeCurrentItem a, +* html li.navTreeCurrentItem a:hover { +height: 1.6em; +} +.navTreeLevel0 { margin: 0; } +.navTreeLevel1 { margin-left: 1em;} +.navTreeLevel2 { margin-left: 0.75em; } +.navTreeLevel3 { margin-left: 0.75em; } +.navTreeLevel4 { margin-left: 0.75em; } +.navTreeLevel5 { margin-left: 0.75em; } +/* */ + +} + + +/* - invisibles.css - */ +@media screen { +/* http://www.opentox.org/portal_css/invisibles.css?original=1 */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +ul.visualNoMarker, +ol.visualNoMarker { +list-style-type: none; +list-style-image: none; +margin: 0.5em 0 0 0; +} +.visualOverflow { +overflow: auto; +margin: 0 0 1em 0; +} +.visualOverflow pre, +.visualOverflow table, +.visualOverflow img { +margin: 0; +} +/* */ +.hiddenStructure { +display: block; +background: transparent; +background-image: none; /* */ +border: none; +height: 1px; +overflow: hidden; +padding: 0; +margin: -1px 0 0 -1px; +width: 1px; +} +.contentViews .hiddenStructure, +.contentActions .hiddenStructure { +position: absolute; +top: -200px; +left: -200px; +} +.hiddenLabel { +display: block; +background: transparent; +background-image: none; /* */ +border: none; +height: 1px; +overflow: hidden; +padding: 0; +margin: -1px 0 0 -1px; +width: 1px; +} +/* */ +.visualClear { +display: block; +clear: both; +} +/* */ +.netscape4 { +display: none; +} +/* */ +tr.dragging td { +background-color: #ff6 !important; +} +.draggingHook { +cursor: move; +} +.notDraggable { +} +/* */ +} + + +/* - forms.css - */ +@media screen { +/* http://www.opentox.org/portal_css/forms.css?original=1 */ +/* */ +/* */ +textarea { +font: 100% Monaco, "Courier New", Courier, monospace; +border: 1px solid #ddd; +border-color:#666 #ddd #ddd #666; +color: #666666; +background: White url(http://www.opentox.org/input_background.gif) repeat-x; +width: 100%; +} +input { +font-family: Verdana,Arial,Helvetica,sans-serif; +visibility: visible; +border: 1px solid #ddd; +border-color:#666 #ddd #ddd #666; +color: #666666; +vertical-align: middle; +background: White url(http://www.opentox.org/input_background.gif) repeat-x; +font-size: 1em; +} +/* */ +.noborder, +.documentEditable * .noborder { +border: none; +margin: 0; +background: none; +background-color: transparent; +} +input[type=checkbox] { +border: none; +margin: 0; +background: none; +background-color: transparent; +} +#searchGadget { +border: 1px solid #000; +} +button { +font-family: Verdana,Arial,Helvetica,sans-serif; +visibility: visible; +border: 1px solid #000; +color: #666666; +vertical-align: middle; +background-color: #5D308A; +padding: 1px; +cursor: pointer; +font-size: 0.9em; +text-transform: none; +} +select { +vertical-align: top; +} +form { +border: none; +margin: 0; +} +fieldset { +border: 1px solid #000; +margin: 1em 0em 1em 0em; +padding: 0em 1em 1em 1em; +line-height: 1.5em; +width: auto; +} +legend { +background: White; +padding: 0.5em; +font-size: 90%; +} +label { +font-weight: bold; +} +optgroup { +font-style: normal; +font-weight: bold; +color: #999; +padding-left: 0.25em; +} +option { +color: black; +} +optgroup > option { +padding: 0 0.25em 0 1em; +} +dl.enableFormTabbing dd { +margin-left: 0; +padding-top: 2em; +} +#login-form { +width: 30em; +margin: 0 auto; +} +#login-form .field { +clear: none; +} +#login-form input { +font-size: 150%; +} +#login-form input.context { +padding: 1px 10px 1px 20px; +background-position: 9px 5px; +margin-bottom: 1em; +} +#forgotten-password { +float: right; +width: 35%; +margin: 0 1em; +} +.standalone, +.documentEditable * .standalone { +background: #5D308A url(http://www.opentox.org/linkOpaque.gif) 9px 1px no-repeat; +color: #333; +cursor: pointer; +font-size: 0.9em; +padding: 1px 1px 1px 15px; +text-transform: none; +border: 1px solid #000; +} +.context, +.formControls .actionButtons .button, +.documentEditable * .context { +background: transparent url(http://www.opentox.org/linkTransparent.gif) 9px 1px no-repeat; +color: #333; +cursor: pointer; +font-size: 0.9em; +padding: 1px 1px 1px 15px; +text-transform: none; +border: 1px solid #000; +} +.destructive, +.documentEditable * .destructive { +background: #ffce7b url(http://www.opentox.org/linkTransparent.gif) 9px 1px no-repeat; +border: 1px solid #ffa500; +color: #333; +cursor: pointer; +font-size: 0.9em; +padding: 1px 1px 1px 15px; +text-transform: none; +border: 1px solid #000; +} +input.searchButton { +margin-bottom: 1px ! important; +color: #333; +font-size: 0.9em; +background: White url(http://www.opentox.org/search_icon.gif) 2px 1px no-repeat; +cursor: pointer; +padding: 1px 1px 1px 19px; +text-transform: none; +border: 1px solid #000; +} +.searchSection { +color: #666666; +margin-top: 0.25em; +} +.searchSection label:hover { +color: #333; +} +/* */ +.field { +top: 0; +left: 0; +margin: 0 1em 1em 0; +clear: both; +} +.field .field { +margin: 0; +} +.fieldRequired { +background: url(http://www.opentox.org/required.gif) center left no-repeat; +padding: 0 0 0 8px; +color: White; +} +.fieldUploadFile { +text-align: right; +margin-right: 0.75em; +display: none; +} +.fieldTextFormat { +text-align: right; +margin-right: 0.75em +} +.formHelp { +font-size: 90%; +color: #666666; +margin: 0 0 0.2em 0; +} +.formHelp:hover { +color: #333; +cursor: default; +} +div.error { +/* */ +background-color: #fdc; +border: 1px solid #d00; +padding: 0.5em; +margin: 0 0 1em 0; +width: 95%; +} +.error .fieldRequired { +color: #d00; +} +/* */ +#archetypes-fieldname-title input, input#form\.title { +font-size: 160%; +font-family: Arial,Helvetica,Verdana,Geneva,sans-serif; +font-weight: normal; +width: 99%; +} +#archetypes-fieldname-description textarea, textarea#form\.description { +font: 100% Verdana,Arial,Helvetica,sans-serif; +font-weight: bold; +} +input.inputLabelActive { +color: #666666; +} +textarea#form\.description { +height: 6em; +width: 99%; +} +tr.selected { +background-color: #ffa; +} +.kupu-save-message { +color: white; +font-weight: bold; +background-color: red; +padding: 0.3em; +position: fixed; +top: 0; +right: 0; +z-index: 999; +} +/* */ + +} + + +/* - ploneKss.css - */ +@media screen { +/* http://www.opentox.org/portal_css/ploneKss.css?original=1 */ +#kss-spinner { +display:none; +width: 20px; +height: 20px; +position: fixed; +background-position: center center; +top: 50%; +left: 50%; +margin-top: -10px; +margin-left: -10px; +} +.formlibInlineEditable, +.inlineEditable { +padding: 1px; +display: block; +} +body.kssActive .inlineEditable:hover, +body.kssActive .formlibInlineEditable:hover { +padding: 0; +border: 1px solid #ddd; +border-color: #666 #ddd #ddd #666; +cursor: text; +background: White url(input_background.gif) repeat-x; +} +body.kssActive .inlineEditable a:hover, +body.kssActive .formlibInlineEditable a:hover { +cursor: pointer; +} +body.kssActive .formlibInlineForm:hover, +body.kssActive .formlibInlineForm a:hover { +padding: 1px; +border: none; +cursor: default; +background: none; +} +.inlineForm .formHelp, +.inlineForm .fieldRequired, +.inlineForm label { +display: none; +} +/* */ +.inlineForm .ArchetypesSelectionWidget label { +display: inline; +} +.inlineForm #archetypes-fieldname-title input, +.inlineForm #archetypes-fieldname-title { +font-size: 100%; +} +/* */ +h1 div.formControls input { +font-size: 55% !important; +} +} + -- cgit v1.2.3