8185369: Clean up the javadoc stylesheet
Reviewed-by: jjg
This commit is contained in:
parent
4c7e794ad9
commit
6912165887
@ -1,10 +1,16 @@
|
|||||||
/* Javadoc style sheet */
|
/*
|
||||||
/*
|
* Javadoc style sheet
|
||||||
Overall document style
|
*/
|
||||||
*/
|
|
||||||
|
|
||||||
@import url('resources/fonts/dejavu.css');
|
@import url('resources/fonts/dejavu.css');
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Styles for individual HTML elements.
|
||||||
|
*
|
||||||
|
* These are styles that are specific to individual HTML elements. Changing them affects the style of a particular
|
||||||
|
* HTML element throughout the page.
|
||||||
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color:#ffffff;
|
background-color:#ffffff;
|
||||||
color:#353833;
|
color:#353833;
|
||||||
@ -41,9 +47,6 @@ a[name]:before, a[name]:target, a[id]:before, a[id]:target {
|
|||||||
padding-top:129px;
|
padding-top:129px;
|
||||||
margin-top:-129px;
|
margin-top:-129px;
|
||||||
}
|
}
|
||||||
.searchTagResult:before, .searchTagResult:target {
|
|
||||||
color:red;
|
|
||||||
}
|
|
||||||
pre {
|
pre {
|
||||||
font-family:'DejaVu Sans Mono', monospace;
|
font-family:'DejaVu Sans Mono', monospace;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
@ -91,9 +94,16 @@ table tr td dt code {
|
|||||||
sup {
|
sup {
|
||||||
font-size:8px;
|
font-size:8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Document title and Copyright styles
|
* Styles for HTML generated by javadoc.
|
||||||
*/
|
*
|
||||||
|
* These are style classes that are used by the standard doclet to generate HTML documentation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Styles for document title and copyright.
|
||||||
|
*/
|
||||||
.clear {
|
.clear {
|
||||||
clear:both;
|
clear:both;
|
||||||
height:0px;
|
height:0px;
|
||||||
@ -124,8 +134,8 @@ Document title and Copyright styles
|
|||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Navigation bar styles
|
* Styles for navigation bar.
|
||||||
*/
|
*/
|
||||||
.bar {
|
.bar {
|
||||||
background-color:#4D7A97;
|
background-color:#4D7A97;
|
||||||
color:#FFFFFF;
|
color:#FFFFFF;
|
||||||
@ -233,8 +243,8 @@ ul.subNavList li {
|
|||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Page header and footer styles
|
* Styles for page header and footer.
|
||||||
*/
|
*/
|
||||||
.header, .footer {
|
.header, .footer {
|
||||||
clear:both;
|
clear:both;
|
||||||
margin:0 20px;
|
margin:0 20px;
|
||||||
@ -277,8 +287,8 @@ Page header and footer styles
|
|||||||
font-size:13px;
|
font-size:13px;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Heading styles
|
* Styles for headings.
|
||||||
*/
|
*/
|
||||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||||
background-color:#dee3e9;
|
background-color:#dee3e9;
|
||||||
border:1px solid #d0d9e0;
|
border:1px solid #d0d9e0;
|
||||||
@ -299,8 +309,8 @@ ul.blockList li.blockList h2 {
|
|||||||
padding:0px 0 20px 0;
|
padding:0px 0 20px 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Page layout container styles
|
* Styles for page layout containers.
|
||||||
*/
|
*/
|
||||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
|
||||||
clear:both;
|
clear:both;
|
||||||
padding:10px 20px;
|
padding:10px 20px;
|
||||||
@ -346,8 +356,8 @@ Page layout container styles
|
|||||||
display:inline;
|
display:inline;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
List styles
|
* Styles for lists.
|
||||||
*/
|
*/
|
||||||
li.circle {
|
li.circle {
|
||||||
list-style:circle;
|
list-style:circle;
|
||||||
}
|
}
|
||||||
@ -403,8 +413,8 @@ table tr td dl, table tr td dl dt, table tr td dl dd {
|
|||||||
margin-bottom:1px;
|
margin-bottom:1px;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Table styles
|
* Styles for tables.
|
||||||
*/
|
*/
|
||||||
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary,
|
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary,
|
||||||
.requiresSummary, .packagesSummary, .providesSummary, .usesSummary {
|
.requiresSummary, .packagesSummary, .providesSummary, .usesSummary {
|
||||||
width:100%;
|
width:100%;
|
||||||
@ -529,7 +539,6 @@ Table styles
|
|||||||
position:relative;
|
position:relative;
|
||||||
background-color:#4D7A97;
|
background-color:#4D7A97;
|
||||||
float:left;
|
float:left;
|
||||||
|
|
||||||
}
|
}
|
||||||
.rowColor th, .altColor th {
|
.rowColor th, .altColor th {
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
@ -601,8 +610,8 @@ th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited,
|
|||||||
background-color:#EEEEEF;
|
background-color:#EEEEEF;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Content styles
|
* Styles for contents.
|
||||||
*/
|
*/
|
||||||
.description pre {
|
.description pre {
|
||||||
margin-top:0;
|
margin-top:0;
|
||||||
}
|
}
|
||||||
@ -613,27 +622,22 @@ Content styles
|
|||||||
.docSummary {
|
.docSummary {
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||||
font-style:normal;
|
font-style:normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.block {
|
div.block {
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.colLast div {
|
td.colLast div {
|
||||||
padding-top:0px;
|
padding-top:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
td.colLast a {
|
td.colLast a {
|
||||||
padding-bottom:3px;
|
padding-bottom:3px;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
Formatting effect styles
|
* Styles for formatting effect.
|
||||||
*/
|
*/
|
||||||
.sourceLineNo {
|
.sourceLineNo {
|
||||||
color:green;
|
color:green;
|
||||||
padding:0 30px 0 0;
|
padding:0 30px 0 0;
|
||||||
@ -668,18 +672,16 @@ h1.hidden {
|
|||||||
margin-right:10px;
|
margin-right:10px;
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.block div.deprecationComment, div.block div.block span.emphasizedPhrase,
|
div.block div.deprecationComment, div.block div.block span.emphasizedPhrase,
|
||||||
div.block div.block span.interfaceName {
|
div.block div.block span.interfaceName {
|
||||||
font-style:normal;
|
font-style:normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.contentContainer ul.blockList li.blockList h2 {
|
div.contentContainer ul.blockList li.blockList h2 {
|
||||||
padding-bottom:0px;
|
padding-bottom:0px;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
IFRAME specific styles
|
* Styles for IFRAME.
|
||||||
*/
|
*/
|
||||||
.mainContainer {
|
.mainContainer {
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
padding:0;
|
padding:0;
|
||||||
@ -733,11 +735,14 @@ IFRAME specific styles
|
|||||||
margin-bottom:30px;
|
margin-bottom:30px;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
HTML5 specific styles
|
* Styles specific to HTML5 elements.
|
||||||
*/
|
*/
|
||||||
main, nav, header, footer, section {
|
main, nav, header, footer, section {
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* Styles for javadoc search.
|
||||||
|
*/
|
||||||
.ui-autocomplete-category {
|
.ui-autocomplete-category {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-size:15px;
|
font-size:15px;
|
||||||
@ -802,7 +807,9 @@ ul.ui-autocomplete li {
|
|||||||
font-style:italic;
|
font-style:italic;
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
}
|
}
|
||||||
|
.searchTagResult:before, .searchTagResult:target {
|
||||||
|
color:red;
|
||||||
|
}
|
||||||
.moduleGraph span {
|
.moduleGraph span {
|
||||||
display:none;
|
display:none;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
@ -838,20 +845,17 @@ table.striped {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.borderless > caption,
|
table.borderless > caption,
|
||||||
table.plain > caption,
|
table.plain > caption,
|
||||||
table.striped > caption {
|
table.striped > caption {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.borderless th, table.borderless td,
|
table.borderless th, table.borderless td,
|
||||||
table.plain th, table.plain td,
|
table.plain th, table.plain td,
|
||||||
table.striped th, table.striped td {
|
table.striped th, table.striped td {
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.borderless,
|
table.borderless,
|
||||||
table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
|
table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
|
||||||
table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td {
|
table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td {
|
||||||
@ -860,7 +864,6 @@ table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.bo
|
|||||||
table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr {
|
table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.plain {
|
table.plain {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
@ -872,7 +875,6 @@ table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr >
|
|||||||
table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td {
|
table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.striped {
|
table.striped {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261 8162363 8160196 8151743 8177417
|
* @bug 4494033 7028815 7052425 8007338 8023608 8008164 8016549 8072461 8154261 8162363 8160196 8151743 8177417
|
||||||
* 8175218 8176452 8181215 8182263 8183511 8169819 8183037
|
* 8175218 8176452 8181215 8182263 8183511 8169819 8183037 8185369
|
||||||
* @summary Run tests on doclet stylesheet.
|
* @summary Run tests on doclet stylesheet.
|
||||||
* @author jamieh
|
* @author jamieh
|
||||||
* @library ../lib
|
* @library ../lib
|
||||||
@ -50,16 +50,6 @@ public class TestStylesheet extends JavadocTester {
|
|||||||
// TODO: most of this test seems a bit silly, since javadoc is simply
|
// TODO: most of this test seems a bit silly, since javadoc is simply
|
||||||
// copying in the stylesheet from the source directory
|
// copying in the stylesheet from the source directory
|
||||||
checkOutput("stylesheet.css", true,
|
checkOutput("stylesheet.css", true,
|
||||||
"/* Javadoc style sheet */",
|
|
||||||
"/*\n"
|
|
||||||
+ "Overall document style\n"
|
|
||||||
+ "*/",
|
|
||||||
"/*\n"
|
|
||||||
+ "Heading styles\n"
|
|
||||||
+ "*/",
|
|
||||||
"/*\n"
|
|
||||||
+ "Navigation bar styles\n"
|
|
||||||
+ "*/",
|
|
||||||
"body {\n"
|
"body {\n"
|
||||||
+ " background-color:#ffffff;\n"
|
+ " background-color:#ffffff;\n"
|
||||||
+ " color:#353833;\n"
|
+ " color:#353833;\n"
|
||||||
@ -173,8 +163,8 @@ public class TestStylesheet extends JavadocTester {
|
|||||||
+ " position:relative;\n"
|
+ " position:relative;\n"
|
||||||
+ " padding-top:129px;\n"
|
+ " padding-top:129px;\n"
|
||||||
+ " margin-top:-129px;\n"
|
+ " margin-top:-129px;\n"
|
||||||
+ "}\n"
|
+ "}",
|
||||||
+ ".searchTagResult:before, .searchTagResult:target {\n"
|
".searchTagResult:before, .searchTagResult:target {\n"
|
||||||
+ " color:red;\n"
|
+ " color:red;\n"
|
||||||
+ "}",
|
+ "}",
|
||||||
"a[href]:hover, a[href]:focus {\n"
|
"a[href]:hover, a[href]:focus {\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user