From 44c74d85574ade3394388b410f0ddbf7edeefe8b Mon Sep 17 00:00:00 2001 From: David Cramer Date: Sun, 18 Sep 2011 19:12:15 +0000 Subject: [PATCH] Adjust colors and positioning of header and search/toc tabs --- .../template/common/css/positioning.css | 60 ++----------------- xsl/webhelp/template/common/main.js | 2 +- 2 files changed, 6 insertions(+), 56 deletions(-) diff --git a/xsl/webhelp/template/common/css/positioning.css b/xsl/webhelp/template/common/css/positioning.css index 598e68914..e5c309640 100644 --- a/xsl/webhelp/template/common/css/positioning.css +++ b/xsl/webhelp/template/common/css/positioning.css @@ -23,7 +23,7 @@ h2 { font: normal 12pt Arial, Helvetica, geneva; } #header { - background: #4d8c83 scroll top left no-repeat; + background: white scroll top left no-repeat; position: fixed; width: 100%; height: 95px; @@ -41,7 +41,7 @@ h2 { font: normal 12pt Arial, Helvetica, geneva; position: fixed; top: 10px; left: -15px; - color: white!important; + color: black!important; } /* @@ -70,7 +70,7 @@ p.breadcrumbs { overflow: auto; position: fixed; height: auto; - top: 92px; + top: 95px; bottom: 0; left: 0; width: 280px; @@ -84,7 +84,7 @@ p.breadcrumbs { overflow: auto; position: fixed; height: auto; - top: 140px; + top: 136px; bottom: 0; left: 0; width: 243px; @@ -99,7 +99,7 @@ p.breadcrumbs { overflow: auto; position: fixed; height: auto; - top: 140px; + top: 138px; bottom: 0; left: 0; width: 243px; @@ -139,56 +139,6 @@ p.breadcrumbs { .highlight { background-color: #c5d3c3; } .highlightButton{ font-size: 0; } -#content pre.literallayout, #content pre.programlisting -{ - -x-system-font: none; - background-color: silver; - border-bottom-color: #DEDEDE !important; - border-bottom-style: solid !important; - border-bottom-width: 1px !important; - border-left-color-ltr-source: physical !important; - border-left-color-rtl-source: physical !important; - border-left-color-value: #DEDEDE !important; - border-left-style-ltr-source: physical !important; - border-left-style-rtl-source: physical !important; - border-left-style-value: solid !important; - border-left-width-ltr-source: physical !important; - border-left-width-rtl-source: physical !important; - border-left-width-value: 1px !important; - border-right-color-ltr-source: physical !important; - border-right-color-rtl-source: physical !important; - border-right-color-value: #DEDEDE !important; - border-right-style-ltr-source: physical !important; - border-right-style-rtl-source: physical !important; - border-right-style-value: solid !important; - border-right-width-ltr-source: physical !important; - border-right-width-rtl-source: physical !important; - border-right-width-value: 1px !important; - border-top-color: #DEDEDE !important; - border-top-style: solid !important; - border-top-width: 1px !important; - color: #23302D; - display: block; - font-family: Monaco,'Courier New','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace; - font-size: 12px !important; - font-size-adjust: none; - font-stretch: normal; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: normal; - margin-bottom: 1em !important; - margin-left: 0 !important; - margin-right: 0 !important; - margin-top: 1em !important; - overflow-x: scroll; - padding-bottom: 0.5em !important; - padding-left: 0.5em !important; - padding-right: 0.5em !important; - padding-top: 0.5em !important; - width: 100%; -} - /* Show Hide TOC tree */ .pointLeft { padding-right: 5px; diff --git a/xsl/webhelp/template/common/main.js b/xsl/webhelp/template/common/main.js index 3220a9309..cb71bd7d2 100644 --- a/xsl/webhelp/template/common/main.js +++ b/xsl/webhelp/template/common/main.js @@ -27,7 +27,7 @@ $(document).ready(function() { $target = $target.length && $target || $('[name=' + this.hash.slice(1) +']'); if ($target.length) { - var targetOffset = $target.offset().top - 105; + var targetOffset = $target.offset().top - 110; $('html,body') .animate({scrollTop: targetOffset}, 200); return false; -- 2.40.0