8185369: Clean up the javadoc stylesheet

Reviewed-by: jjg
This commit is contained in:
Bhavesh Patel 2017-11-28 20:19:29 -08:00
parent 4c7e794ad9
commit 6912165887
2 changed files with 48 additions and 56 deletions

View file

@ -1,10 +1,16 @@
/* Javadoc style sheet */
/*
Overall document style
*/
/*
* Javadoc style sheet
*/
@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 {
background-color:#ffffff;
color:#353833;
@ -41,9 +47,6 @@ a[name]:before, a[name]:target, a[id]:before, a[id]:target {
padding-top:129px;
margin-top:-129px;
}
.searchTagResult:before, .searchTagResult:target {
color:red;
}
pre {
font-family:'DejaVu Sans Mono', monospace;
font-size:14px;
@ -91,9 +94,16 @@ table tr td dt code {
sup {
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:both;
height:0px;
@ -124,8 +134,8 @@ Document title and Copyright styles
font-weight:bold;
}
/*
Navigation bar styles
*/
* Styles for navigation bar.
*/
.bar {
background-color:#4D7A97;
color:#FFFFFF;
@ -233,8 +243,8 @@ ul.subNavList li {
overflow:hidden;
}
/*
Page header and footer styles
*/
* Styles for page header and footer.
*/
.header, .footer {
clear:both;
margin:0 20px;
@ -277,8 +287,8 @@ Page header and footer styles
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 {
background-color:#dee3e9;
border:1px solid #d0d9e0;
@ -299,8 +309,8 @@ ul.blockList li.blockList h2 {
padding:0px 0 20px 0;
}
/*
Page layout container styles
*/
* Styles for page layout containers.
*/
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
clear:both;
padding:10px 20px;
@ -346,8 +356,8 @@ Page layout container styles
display:inline;
}
/*
List styles
*/
* Styles for lists.
*/
li.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;
}
/*
Table styles
*/
* Styles for tables.
*/
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary,
.requiresSummary, .packagesSummary, .providesSummary, .usesSummary {
width:100%;
@ -529,7 +539,6 @@ Table styles
position:relative;
background-color:#4D7A97;
float:left;
}
.rowColor th, .altColor th {
font-weight:normal;
@ -601,8 +610,8 @@ th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited,
background-color:#EEEEEF;
}
/*
Content styles
*/
* Styles for contents.
*/
.description pre {
margin-top:0;
}
@ -613,27 +622,22 @@ Content styles
.docSummary {
padding:0;
}
ul.blockList ul.blockList ul.blockList li.blockList h3 {
font-style:normal;
}
div.block {
font-size:14px;
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
}
td.colLast div {
padding-top:0px;
}
td.colLast a {
padding-bottom:3px;
}
/*
Formatting effect styles
*/
* Styles for formatting effect.
*/
.sourceLineNo {
color:green;
padding:0 30px 0 0;
@ -668,18 +672,16 @@ h1.hidden {
margin-right:10px;
display:inline-block;
}
div.block div.deprecationComment, div.block div.block span.emphasizedPhrase,
div.block div.block span.interfaceName {
font-style:normal;
}
div.contentContainer ul.blockList li.blockList h2 {
padding-bottom:0px;
}
/*
IFRAME specific styles
*/
* Styles for IFRAME.
*/
.mainContainer {
margin:0 auto;
padding:0;
@ -733,11 +735,14 @@ IFRAME specific styles
margin-bottom:30px;
}
/*
HTML5 specific styles
*/
* Styles specific to HTML5 elements.
*/
main, nav, header, footer, section {
display:block;
}
/*
* Styles for javadoc search.
*/
.ui-autocomplete-category {
font-weight:bold;
font-size:15px;
@ -802,7 +807,9 @@ ul.ui-autocomplete li {
font-style:italic;
font-size:12px;
}
.searchTagResult:before, .searchTagResult:target {
color:red;
}
.moduleGraph span {
display:none;
position:absolute;
@ -838,20 +845,17 @@ table.striped {
margin-top: 10px;
margin-bottom: 10px;
}
table.borderless > caption,
table.plain > caption,
table.striped > caption {
font-weight: bold;
font-size: smaller;
}
table.borderless th, table.borderless td,
table.plain th, table.plain td,
table.striped th, table.striped td {
padding: 2px 5px;
}
table.borderless,
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 {
@ -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 {
background-color: transparent;
}
table.plain {
border-collapse: collapse;
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 {
border: 1px solid black;
}
table.striped {
border-collapse: collapse;
border: 1px solid black;