summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/trace.xsl
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-07 19:58:20 +0100
committerJosé Fonseca <[email protected]>2008-08-07 20:58:09 +0100
commit05e90964cfd99bb8cad2d9146ab042730052b8a4 (patch)
tree4261f9aee91a46f73c6a06e6037832597a80d634 /src/gallium/drivers/trace/trace.xsl
parentce2137a6a4c2648a77b9697a3aa0479c9c61bacc (diff)
trace: Merge the CSS into the XSL.
Diffstat (limited to 'src/gallium/drivers/trace/trace.xsl')
-rw-r--r--src/gallium/drivers/trace/trace.xsl58
1 files changed, 56 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/trace.xsl b/src/gallium/drivers/trace/trace.xsl
index 3c84c4c35af..5a876e0f216 100644
--- a/src/gallium/drivers/trace/trace.xsl
+++ b/src/gallium/drivers/trace/trace.xsl
@@ -29,8 +29,62 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<html>
<head>
<title>Gallium Trace</title>
- <link rel="stylesheet" type="text/css" href="trace.css"/>
</head>
+ <style>
+ body {
+ font-family: verdana, sans-serif;
+ font-size: 11px;
+ font-weight: normal;
+ text-align : left;
+ }
+
+ ul.calls {
+ list-style: none;
+ margin-left: 0px;
+ padding-left: 0px;
+ }
+
+ ul.args {
+ display:inline;
+ list-style: none;
+ margin-left: 0px;
+ padding-left: 0px;
+ }
+
+ ul.args li {
+ display:inline;
+ }
+
+ ul.elems {
+ list-style: none;
+ margin-left: 2em;
+ padding-left: 0px;
+ }
+
+ ul.elems li {
+ display:block;
+ }
+
+ .fun {
+ font-weight: bold;
+ }
+
+ .var {
+ font-style: italic;
+ }
+
+ .typ {
+ display: none;
+ }
+
+ .lit {
+ color: #0000ff;
+ }
+
+ .ptr {
+ color: #008000;
+ }
+ </style>
<body>
<ul class="calls">
<xsl:apply-templates/>
@@ -71,7 +125,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<xsl:apply-templates />
</xsl:template>
- <xsl:template match="bool|int|uint|enum">
+ <xsl:template match="bool|int|uint|float|enum">
<span class="lit">
<xsl:value-of select="text()"/>
</span>