aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc R. Hoffmann <hoffmann@mountainminds.com>2010-05-14 19:24:29 +0000
committerMarc R. Hoffmann <hoffmann@mountainminds.com>2010-05-14 19:24:29 +0000
commit9b1903a51eba92f5c294a4c24361b5f57d976a39 (patch)
tree96bd95f4eed861b1420bc1405ab5a343354708b5
parente16799cd67f6bec3a288ab323f3d0f18e2ff6fe5 (diff)
downloadjacoco-9b1903a51eba92f5c294a4c24361b5f57d976a39.tar.gz
CSS cleanup.
-rw-r--r--org.jacoco.doc/docroot/doc/.resources/doc.css146
-rw-r--r--org.jacoco.report/src/org/jacoco/report/html/resources/report.css15
2 files changed, 98 insertions, 63 deletions
diff --git a/org.jacoco.doc/docroot/doc/.resources/doc.css b/org.jacoco.doc/docroot/doc/.resources/doc.css
index 7ffc25ad..f5540696 100644
--- a/org.jacoco.doc/docroot/doc/.resources/doc.css
+++ b/org.jacoco.doc/docroot/doc/.resources/doc.css
@@ -1,3 +1,50 @@
+.el_jar {
+ padding-left:18px;
+ background-image:url(jar.gif);
+ background-position:left center;
+ background-repeat:no-repeat;
+}
+
+.el_test {
+ padding-left:18px;
+ background-image:url(test.gif);
+ background-position:left center;
+ background-repeat:no-repeat;
+}
+
+.el_testsuite {
+ padding-left:18px;
+ background-image:url(testsuite.gif);
+ background-position:left center;
+ background-repeat:no-repeat;
+}
+
+p.intro {
+ margin-left:20px;
+ padding-left:4px;
+ border-left:#cccca0 4px solid;
+ font-style:italic
+}
+
+p.hint {
+ margin-left:20px;
+ padding-left:4px;
+ border-left:#cccca0 4px solid;
+ font-style:italic
+}
+
+.high {
+ background-color:#ffff80;
+}
+
+div#content a[href^='http://'], a[href^='https://'] {
+ display:inline-block;
+ padding-left:15px;
+ background:transparent url(extern.gif) center left no-repeat;
+}
+
+/* === Definitions from report.css start here: === */
+
body, td {
font-family:sans-serif;
font-size:10pt;
@@ -13,21 +60,6 @@ h1 {
padding:2px 4px 2px 4px;
}
-.footer {
- margin-top:20px;
- border-top:#d6d3ce 1px solid;
- padding-top:2px;
- font-size:8pt;
- color:#a0a0a0;
-}
-
-.right {
- float:right;
-}
-
-.footer a {
- color:#a0a0a0;
-}
.el_report {
padding-left:18px;
@@ -43,30 +75,44 @@ h1 {
background-repeat:no-repeat;
}
-.el_source {
+.el_bundle {
padding-left:18px;
- background-image:url(source.gif);
+ background-image:url(bundle.gif);
background-position:left center;
background-repeat:no-repeat;
}
-.el_jar {
+.el_package {
padding-left:18px;
- background-image:url(jar.gif);
+ background-image:url(package.gif);
background-position:left center;
background-repeat:no-repeat;
}
-.el_test {
+.el_class {
padding-left:18px;
- background-image:url(test.gif);
+ background-image:url(class.gif);
background-position:left center;
background-repeat:no-repeat;
}
-.el_testsuite {
+.el_source {
padding-left:18px;
- background-image:url(testsuite.gif);
+ background-image:url(source.gif);
+ background-position:left center;
+ background-repeat:no-repeat;
+}
+
+.el_method {
+ padding-left:18px;
+ background-image:url(method.gif);
+ background-position:left center;
+ background-repeat:no-repeat;
+}
+
+.el_session {
+ padding-left:18px;
+ background-image:url(session.gif);
background-position:left center;
background-repeat:no-repeat;
}
@@ -105,16 +151,17 @@ table.coverage thead {
}
table.coverage thead td {
- border-bottom:#b0b0b0 1px solid;
+ white-space:nowrap;
padding:2px 12px 0px 6px;
+ border-bottom:#b0b0b0 1px solid;
}
-table.coverage td {
- vertical-align:top;
- padding:2px 12px 2px 6px;
+table.coverage thead td.ctr2 {
+ text-align:right;
}
table.coverage tbody td {
+ padding:2px 12px 2px 6px;
border-bottom:#d6d3ce 1px solid;
}
@@ -122,41 +169,42 @@ table.coverage tbody tr:hover {
background: #f0f0d0 !important;
}
-table.coverage td.ctr1 {
+table.coverage tbody td.ctr1 {
text-align:right;
- padding:2px 0px 2px 12px;
+ padding:2px 0px 2px 6px;
}
-table.coverage td.ctr2 {
+table.coverage tbody td.ctr2 {
text-align:right;
- padding:2px 0px 2px 4px;
+ padding:2px 12px 2px 4px;
+}
+
+table.coverage tfoot td {
+ padding:2px 12px 2px 6px;
}
-table.coverage td.ctr3 {
+table.coverage tfoot td.ctr1 {
text-align:right;
- padding:2px 12px 2px 4px;
+ padding:2px 0px 2px 6px;
}
-p.intro {
- margin-left:20px;
- padding-left:4px;
- border-left:#cccca0 4px solid;
- font-style:italic
+table.coverage tfoot td.ctr2 {
+ text-align:right;
+ padding:2px 12px 2px 4px;
}
-p.hint {
- margin-left:20px;
- padding-left:4px;
- border-left:#cccca0 4px solid;
- font-style:italic
+.footer {
+ margin-top:20px;
+ border-top:#d6d3ce 1px solid;
+ padding-top:2px;
+ font-size:8pt;
+ color:#a0a0a0;
}
-.high {
- background-color:#ffff80;
+.footer a {
+ color:#a0a0a0;
}
-div#content a[href^='http://'], a[href^='https://'] {
- display:inline-block;
- padding-left:15px;
- background:transparent url(extern.gif) center left no-repeat;
+.right {
+ float:right;
} \ No newline at end of file
diff --git a/org.jacoco.report/src/org/jacoco/report/html/resources/report.css b/org.jacoco.report/src/org/jacoco/report/html/resources/report.css
index aa91d074..ae9d9b73 100644
--- a/org.jacoco.report/src/org/jacoco/report/html/resources/report.css
+++ b/org.jacoco.report/src/org/jacoco/report/html/resources/report.css
@@ -116,26 +116,13 @@ table.coverage thead td.ctr2 {
table.coverage tbody td {
white-space:nowrap;
padding:2px 12px 2px 6px;
+ border-bottom:#d6d3ce 1px solid;
}
table.coverage tbody tr:hover {
background: #f0f0d0 !important;
}
-table.coverage tbody td {
- border-bottom:#d6d3ce 1px solid;
-}
-
-table.coverage tbody td.ctr1 {
- text-align:right;
- padding:2px 0px 2px 6px;
-}
-
-table.coverage tbody td.ctr2 {
- text-align:right;
- padding:2px 12px 2px 4px;
-}
-
table.coverage tbody td.ctr1 {
text-align:right;
padding:2px 0px 2px 6px;