]> granicus.if.org Git - docbook-dsssl/commitdiff
Adjust colors and positioning of header and search/toc tabs
authorDavid Cramer <david@thingbag.net>
Sun, 18 Sep 2011 19:12:15 +0000 (19:12 +0000)
committerDavid Cramer <david@thingbag.net>
Sun, 18 Sep 2011 19:12:15 +0000 (19:12 +0000)
xsl/webhelp/template/common/css/positioning.css
xsl/webhelp/template/common/main.js

index 598e689148bd8319c92a9514f6a8f3a4f71d978b..e5c309640e3f05aea2593bdefbfd7b4891acdeab 100644 (file)
@@ -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;
index 3220a9309f0e51c8fd258e4f6dbc5cff06a9c9c2..cb71bd7d2ff28def3a403ed10975ea3fe26b9847 100644 (file)
@@ -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;