From 4fcbaf2ded95adffcdf0c48c5330c77fd08663c5 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 14 Feb 2006 00:12:03 +0000 Subject: [PATCH] PR:MPXDOC-190 Include the new maven-stylus.css theme git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@377543 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/plugin-resources/css/maven-stylus.css | 190 ++++++++++++++++++ xdoc/xdocs/changes.xml | 1 + xdoc/xdocs/properties.xml | 5 +- 3 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 xdoc/src/plugin-resources/css/maven-stylus.css diff --git a/xdoc/src/plugin-resources/css/maven-stylus.css b/xdoc/src/plugin-resources/css/maven-stylus.css new file mode 100644 index 00000000..f06c05a0 --- /dev/null +++ b/xdoc/src/plugin-resources/css/maven-stylus.css @@ -0,0 +1,190 @@ +body { + background-color: #fff; + font-family: Verdana, Helvetica, Arial, sans-serif; + margin-left: auto; + margin-right: auto; + background-repeat: repeat-y; + font-size: 13px; + padding: 0px; +} +td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 12px; + color:#333333; +} +code{ + font-size: 12px; +} +a { + text-decoration: none; +} +a:link { + color:#47a; +} +a:visited { + color:#666666; +} +a:active, a:hover { + color:#990000; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#breadcrumbs a.externalLink, #breadcrumbs a.externalLink:link, #breadcrumbs a.externalLink:visited, #breadcrumbs a.externalLink:active, #breadcrumbs a.externalLink:hover { + background: none; + padding-right: 0px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +#breadcrumbs a.newWindow, #breadcrumbs a.newWindow:link, #breadcrumbs a.newWindow:visited, #breadcrumbs a.newWindow:active, #breadcrumbs a.newWindow:hover { + background: none; + padding-right: 0px; +} +h2 { + font-size: 17px; + color: #333333; +} +h3 { + padding: 4px 4px 4px 24px; + color: #666; + background-color: #ccc; + font-weight: bold; + font-size: 14px; + background-image: url(../images/h3.gif); + background-repeat: no-repeat; + background-position: left bottom; +} +p { + line-height: 1.3em; + font-size: 12px; + color: #000; +} +#breadcrumbs { + height: 13px; + background-image: url(../images/breadcrumbs.jpg); + padding: 5px 10px 14px 20px; +} +* html #breadcrumbs { + padding-bottom: 8px; +} +#leftColumn { + margin: 10px 0 10px 0; + border-top-color: #ccc; + border-top-style: solid; + border-top-width: 1px; + border-right-color: #ccc; + border-right-style: solid; + border-right-width: 1px; + border-bottom-color: #ccc; + border-bottom-style: solid; + border-bottom-width: 1px; + padding-right: 5px; + padding-left: 5px; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + padding-left: 9px; + color: #49635a; + background-image: url(../images/h5.jpg); + background-repeat: no-repeat; + background-position: left bottom; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 11px; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; + overflow:auto +} +dt { + padding: 4px 4px 4px 24px; + color: #333333; + background-color: #ccc; + font-weight: bold; + font-size: 14px; + background-image: url(../images/h3.gif); + background-repeat: no-repeat; + background-position: left bottom; +} +.subsectionTitle { + font-size: 13px; + font-weight: bold; + color: #666; + +} + +table { + font-size: 10px; +} +.xright a:link, .xright a:visited, .xright a:active { + color: #666; +} +.xright a:hover { + color: #003300; +} +#banner { + height: 93px; + background: url(../images/banner.jpg); +} +#navcolumn ul { + margin: 5px 0 15px -0em; +} +#navcolumn ul a { + color: #333333; +} +#navcolumn ul a:hover { + color: red; +} +#intro { + border: solid #ccc 1px; + margin: 6px 0px 0px 0px; + padding: 10px 40px 10px 40px; +} +.subsection { + margin-left: 3px; + color: #333333; +} + +.subsection p { + font-size: 12px; +} +#footer { + padding: 10px; + margin: 20px 0px 20px 0px; + border-top: solid #ccc 1px; + color: #333333; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 0px; +} + diff --git a/xdoc/xdocs/changes.xml b/xdoc/xdocs/changes.xml index 2faf7775..f70afc69 100644 --- a/xdoc/xdocs/changes.xml +++ b/xdoc/xdocs/changes.xml @@ -27,6 +27,7 @@ + Include the new theme maven-stylus.css. Document the use of pom settings by the xdoc plugin. CVS usage page is blank when using Subversion. Fix broken maven.xdoc.date=navigation-top and navigation-bottom. diff --git a/xdoc/xdocs/properties.xml b/xdoc/xdocs/properties.xml index f16bdb44..558e8d77 100644 --- a/xdoc/xdocs/properties.xml +++ b/xdoc/xdocs/properties.xml @@ -253,8 +253,9 @@ Yes The documentation theme to use. The default is theme, - and valid values are theme (Maven 1.0RC2+) or - classic (used in Maven 1.0RC1 and below). + and valid values are theme (Maven 1.0RC2+), + classic (used in Maven 1.0RC1 and below) or + stylus (Maven 1.1-beta-3+). You can override this property if you provide a file maven-<theme_name>.css in the ${maven.docs.src}/stylesheets directory.