From bf721614aca5ac07643ba5a7a2d702834967ff2e Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 9 Feb 2010 05:41:34 +0000 Subject: [PATCH] * Removed tabs from css * Unified indentation to 2 spaces per tab * Re-added the Apache License header * Show HR line --- src/docbook/css/jbossorg.css | 76 +++++++++---------- src/javadoc/stylesheet.css | 101 +++++++++++++++---------- src/xref/stylesheet.css | 143 ++++++++++++++++++++--------------- 3 files changed, 179 insertions(+), 141 deletions(-) diff --git a/src/docbook/css/jbossorg.css b/src/docbook/css/jbossorg.css index 7afd70b242..c036504b0e 100644 --- a/src/docbook/css/jbossorg.css +++ b/src/docbook/css/jbossorg.css @@ -5,7 +5,7 @@ * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT @@ -21,16 +21,16 @@ @import url("codehighlight.css"); body { - background-image:url(../images/community/bkg_gradient.gif); - background-repeat:repeat-x; - margin:0 auto; - font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; - font-size:12px; - max-width:55em; - padding:0em 2em; - color:#333; - line-height:150%; - text-align:justify; + background-image:url(../images/community/bkg_gradient.gif); + background-repeat:repeat-x; + margin:0 auto; + font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; + font-size:12px; + max-width:55em; + padding:0em 2em; + color:#333; + line-height:150%; + text-align:justify; } /* Links */ @@ -40,57 +40,57 @@ a:link {color:#0066cc;} a:visited {color:#6699cc;} div.longdesc-link { - float:right; - color:#999; + float:right; + color:#999; } /* Headings */ h1, h2, h3, h4, h5, h6 { - color:#4a5d75; - line-height:130%; - margin-top:0em; - font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; - background-color:transparent; + color:#4a5d75; + line-height:130%; + margin-top:0em; + font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; + background-color:transparent; } h1 { - background-image:url(../images/community/title_hdr.png); - background-repeat:no-repeat; - border-top:1px dotted #CCCCCC; - line-height:1.2em; - color:#182737; - font-size:2em; - padding:1.5em; + background-image:url(../images/community/title_hdr.png); + background-repeat:no-repeat; + border-top:1px dotted #CCCCCC; + line-height:1.2em; + color:#182737; + font-size:2em; + padding:1.5em; } h2 {font-size:1.6em;} h3 { - font-size:1.3em; - padding-top:0em; - padding-bottom:0em; + font-size:1.3em; + padding-top:0em; + padding-bottom:0em; } h4 { - font-size:1.1em; - padding-top:0em; - padding-bottom:0em; + font-size:1.1em; + padding-top:0em; + padding-bottom:0em; } h5.formalpara { - font-size:1em; - margin-top:2em; - margin-bottom:.8em; + font-size:1em; + margin-top:2em; + margin-bottom:.8em; } /* Element rules */ hr { - border-collapse:collapse; - border-style:none; - border-top:1px dotted #ccc; - width:100% !important; + border-collapse:collapse; + border-style:none; + border-top:1px dotted #ccc; + width:100% !important; } sup {color:#999;} diff --git a/src/javadoc/stylesheet.css b/src/javadoc/stylesheet.css index 0bacaf2f14..b47c28745a 100644 --- a/src/javadoc/stylesheet.css +++ b/src/javadoc/stylesheet.css @@ -1,29 +1,48 @@ +/* + * Copyright 2009 Red Hat, Inc. + * + * Red Hat licenses this file to you under the Apache License, version 2.0 + * (the "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ + /* Javadoc style sheet */ /* Define colors, fonts and other style attributes here to override the defaults */ /* Page background color */ body { - background-color: #FFFFFF; - background-image:url(resources/bkg_gradient.gif); - background-repeat: repeat-x; - margin:0 auto; - font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; - font-size:12px; - padding:0em 2em; - color:#333; + background-color: #FFFFFF; + background-image:url(resources/bkg_gradient.gif); + background-repeat: repeat-x; + margin:0 auto; + font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; + font-size:12px; + padding:0em 2em; + color:#333; } /* Common elements */ font { - font-family: inherit; - font-size: inherit; - color: inherit; - font-weight: inherit; } + font-family: inherit; + font-size: inherit; + color: inherit; + font-weight: inherit; } -hr { display: none; } +hr { + height: 1px; + color: #000; +} tt, tt *, pre, pre *, code, code * { font-family: "Liberation Mono", "DejaVu Sans Mono", Consolas, Monaco, "Vera Sans Mono", "Lucida Console", "Courier New", monospace !important; @@ -35,16 +54,16 @@ a:hover { color:#6699cc; } /* Headings */ h1 { - font-size: 145%; - background-image:url(resources/h1_hdr.png); - background-repeat:no-repeat; - border-top:1px dotted #CCCCCC; - line-height:1.2em; - color:#182737; - font-size:2em; - padding:1.5em; - margin-top: 0px; - text-align:left; + font-size: 145%; + background-image:url(resources/h1_hdr.png); + background-repeat:no-repeat; + border-top:1px dotted #CCCCCC; + line-height:1.2em; + color:#182737; + font-size:2em; + padding:1.5em; + margin-top: 0px; + text-align:left; } @@ -53,22 +72,22 @@ h1 { th, table { border-collapse:collapse;border-color: #E6E7E8; } -.TableHeadingColor { - background:#000000 url(resources/bkg_blkheader.png) repeat-x scroll left top; - color:#FFFFFF; - font-size:12px; - font-weight:bold; - height:31px; - text-align:left; - padding:1.5em; +.TableHeadingColor { + background:#000000 url(resources/bkg_blkheader.png) repeat-x scroll left top; + color:#FFFFFF; + font-size:12px; + font-weight:bold; + height:31px; + text-align:left; + padding:1.5em; } .TableHeadingColor th { - padding-left: 10px; + padding-left: 10px; } -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ .TableRowColor { background: #FFFFFF; border-color: #E6E7E8;} .TableRowColor td { line-height: 175%; padding-left: 10px;} @@ -79,19 +98,19 @@ th, table { border-collapse:collapse;border-color: #E6E7E8; } /* Navigation bar fonts and colors */ -.NavBarCell1 { background-color: #ffffff; - background-image:url(resources/bkgheader.png); - background-repeat: repeat-x scroll left top; - line-height:2em; - padding-left:6px; - padding-right:6px; +.NavBarCell1 { background-color: #ffffff; + background-image:url(resources/bkgheader.png); + background-repeat: repeat-x scroll left top; + line-height:2em; + padding-left:6px; + padding-right:6px; } .NavBarFont1 { - color: white; + color: white; } .NavBarCell1 a { - color: white; + color: white; } .NavBarCell1Rev { background-color:#FFFFFF; padding-left:6px; padding-right:6px;} diff --git a/src/xref/stylesheet.css b/src/xref/stylesheet.css index 9fd07347fb..d841922ffb 100644 --- a/src/xref/stylesheet.css +++ b/src/xref/stylesheet.css @@ -1,25 +1,44 @@ +/* + * Copyright 2009 Red Hat, Inc. + * + * Red Hat licenses this file to you under the Apache License, version 2.0 + * (the "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ + /* Page background color */ body { - background-color: #FFFFFF; - background-image:url(../api/resources/bkg_gradient.gif); - background-repeat: repeat-x; - margin:0 auto; - font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; - font-size:12px; - padding:0em 2em; - color:#333; + background-color: #FFFFFF; + background-image:url(../api/resources/bkg_gradient.gif); + background-repeat: repeat-x; + margin:0 auto; + font-family:'Lucida Grande', Geneva, Verdana, Arial, sans-serif; + font-size:12px; + padding:0em 2em; + color:#333; } /* Common elements */ font { - font-family: inherit; - font-size: inherit; - color: inherit; - font-weight: inherit; } + font-family: inherit; + font-size: inherit; + color: inherit; + font-weight: inherit; } -hr { display: none; } +hr { + height: 1px; + color: #000; +} tt, tt *, pre, pre *, code, code * { font-family: "Liberation Mono", "DejaVu Sans Mono", Consolas, Monaco, "Vera Sans Mono", "Lucida Console", "Courier New", monospace !important; @@ -32,16 +51,16 @@ a:hover { color:#6699cc; } /* Headings */ h1, h2 { - font-size: 145%; - background-image:url(../api/resources/h1_hdr.png); - background-repeat:no-repeat; - border-top:1px dotted #CCCCCC; - line-height:1.2em; - color:#182737; - font-size:2em; - padding:1.5em; - margin-top: 0px; - text-align:left; + font-size: 145%; + background-image:url(../api/resources/h1_hdr.png); + background-repeat:no-repeat; + border-top:1px dotted #CCCCCC; + line-height:1.2em; + color:#182737; + font-size:2em; + padding:1.5em; + margin-top: 0px; + text-align:left; } @@ -50,82 +69,82 @@ h1, h2 { th, td, table { border-collapse:collapse; border-color: #E6E7E8; } .summary { - margin-bottom: 1em; - width: 100%; + margin-bottom: 1em; + width: 100%; } .summary, .summary th, .summary td { - border: solid #E6E7E8 1px; - font-weight: bold; + border: solid #E6E7E8 1px; + font-weight: bold; } -.summary th { - background:#000000 url(../api/resources/bkg_blkheader.png) repeat-x scroll left top; - color:#FFFFFF; - font-size:12px; - font-weight:bold; - height:31px; - text-align:left; - padding: 0 10px 0 10px; +.summary th { + background:#000000 url(../api/resources/bkg_blkheader.png) repeat-x scroll left top; + color:#FFFFFF; + font-size:12px; + font-weight:bold; + height:31px; + text-align:left; + padding: 0 10px 0 10px; } .summary td { background: #FFFFFF; line-height: 175%; padding-left: 10px; } /* Navigation bar fonts and colors */ -.overview { - background-color: #ffffff; - background-image:url(../api/resources/bkgheader.png); - background-repeat: repeat-x scroll left top; - line-height:2em; - padding-left:6px; - padding-right:6px; +.overview { + background-color: #ffffff; + background-image:url(../api/resources/bkgheader.png); + background-repeat: repeat-x scroll left top; + line-height:2em; + padding-left:6px; + padding-right:6px; } .overview ul { - margin-bottom: 0; + margin-bottom: 0; } .overview li { - display: inline; - list-style-type: none; - padding-right: 20px; - color: white; + display: inline; + list-style-type: none; + padding-right: 20px; + color: white; } .overview li a { - color: white; - font-weight: bold; + color: white; + font-weight: bold; } .framenoframe { - background-color: #ffffff; - line-height:2em; - padding-left:6px; - padding-right:6px; + background-color: #ffffff; + line-height:2em; + padding-left:6px; + padding-right:6px; } .framenoframe ul { - margin:0; + margin:0; } .framenoframe li { - display: inline; - list-style-type: none; - padding-right: 10px; + display: inline; + list-style-type: none; + padding-right: 10px; } .framenoframe li a { - font-weight: bold; + font-weight: bold; } /* Class/package list on the left frame */ body ul { - padding: 0; - margin-top: 0; + padding: 0; + margin-top: 0; } body li { - list-style-type: none; - font-family: Helvetica, Arial, sans-serif; + list-style-type: none; + font-family: Helvetica, Arial, sans-serif; } div#footer {