2 new revisions:
Revision: b8dda64b2fe7
Author: Pekka Klärck
Date: Mon Jun 20 10:44:42 2011
Log: common css cleanup
http://code.google.com/p/robotframework/source/detail?r=b8dda64b2fe7
Revision: 0940a379ed43
Author: Pekka Klärck
Date: Mon Jun 20 10:50:46 2011
Log: log css cleanup
http://code.google.com/p/robotframework/source/detail?r=0940a379ed43
==============================================================================
Revision: b8dda64b2fe7
Author: Pekka Klärck
Date: Mon Jun 20 10:44:42 2011
Log: common css cleanup
http://code.google.com/p/robotframework/source/detail?r=b8dda64b2fe7
Modified:
/src/robot/webcontent/common.css
/src/robot/webcontent/view.js
=======================================
--- /src/robot/webcontent/common.css Fri Jun 17 05:31:32 2011
+++ /src/robot/webcontent/common.css Mon Jun 20 10:44:42 2011
@@ -1,15 +1,54 @@
-/* Generic styles */
+/* Generic and misc styles */
body {
font-family: sans-serif;
font-size: 0.8em;
color: black;
padding: 6px;
}
-
br {
mso-data-placement: same-cell; /* maintain line breaks in Excel */
}
-
+a:link, a:visited {
+ text-decoration: none;
+ color: blue;
+}
+a:hover, a:active {
+ text-decoration: underline;
+ color: purple;
+}
+.parent_name {
+ font-size: 0.7em;
+ letter-spacing: -0.07em;
+}
+/* Headers */
+.header {
+ width: 58em;
+ margin: 6px 0px;
+}
+h1 {
+ margin: 0px;
+ width: 70%;
+}
+#generated {
+ width : 29%;
+ float: right;
+ text-align: right;
+ font-size: 0.9em;
+ white-space: nowrap;
+}
+/* Status text colors */
+.error, .fail {
+ color: red;
+}
+.pass {
+ color: #009900;
+}
+.warn {
+ color: #FFCC00;
+}
+.not_run {
+ color: #663300;
+}
/* Error Box */
/* TODO: Test with old browsers as they are likelier to see this. */
div.error_box {
@@ -23,9 +62,7 @@
background: #ffc0cb;
padding: 10px;
}
-
-
-/* Report/Log links */
+/* Report/log link */
#report_or_log_link {
position: fixed;
top: 0px;
@@ -46,8 +83,7 @@
#report_or_log_link a:hover {
color: yellow;
}
-
-/* Statistics Table */
+/* Statistics table */
table.statistics {
width: 58em;
border: 1px solid black;
@@ -55,54 +91,42 @@
empty-cells: show;
margin-bottom: 1em;
}
-
table.statistics td, table.statistics th {
border: 1px solid black;
padding: 1px 4px;
margin: 0px;
}
-
table.statistics th {
background: #C6C6C6;
}
-
.col_stat_name {
width: 40em;
}
-
.col_stat {
width: 3em;
text-align: center;
}
-
.stat_name {
float: left;
}
-
.stat_name a, .stat_name span {
font-weight: bold;
}
-
.tag_links {
font-size: 0.9em;
float: right;
margin-top: 0.05em;
}
-
.tag_links span {
margin-left: 0.2em;
}
-
-
-/* Statistics Table Graph */
+/* Statistics graph */
.pass_bar {
background: #00F000;
}
-
.fail_bar {
background: red;
}
-
.graph {
position: relative;
border: 1px solid black;
@@ -111,17 +135,13 @@
padding: 0px;
background: #E9E9E9;
}
-
-.graph b {
- display: block;
+.graph div {
position: relative;
- height: 100%;
float: left;
+ height: 100%;
/* TODO: Is the hack below still needed w/ IE8? */
font-size: 4px; /* to make graphs thin also in IE */
}
-
-
/* Tables in documentation */
table.doc {
border: 1px solid gray;
@@ -130,66 +150,8 @@
empty-cells: show;
font-size: 0.9em;
}
-
table.doc td {
border: 1px solid gray;
padding: 0.1em 0.3em;
height: 1.2em;
}
-
-/* Misc Styles */
-.not_available {
- color: gray;
- font-weight: normal;
-}
-
-.parent_name {
- font-size: 0.7em;
- letter-spacing: -0.07em;
-}
-
-a:link, a:visited {
- text-decoration: none;
- color: blue;
-}
-
-a:hover, a:active {
- text-decoration: underline;
- color: purple;
-}
-
-/* Headers */
-.header {
- width: 58em;
- margin: 6px 0px;
-}
-
-h1 {
- margin: 0px;
- width: 70%;
-}
-
-#generated {
- width : 29%;
- float: right;
- text-align: right;
- font-size: 0.9em;
- white-space: nowrap;
-}
-
-/* Status text colors */
-.error, .fail {
- color: red;
-}
-
-.pass {
- color: #009900;
-}
-
-.warn {
- color: #FFCC00;
-}
-
-.not_run {
- color: #663300;
-}
=======================================
--- /src/robot/webcontent/view.js Mon Jun 20 01:13:00 2011
+++ /src/robot/webcontent/view.js Mon Jun 20 10:44:42 2011
@@ -96,8 +96,8 @@
'<td class="col_stat">${fail}</td>' +
'<td class="col_graph">' +
'<div class="graph">' +
- '<b class="pass_bar" style="width: ${passWidth}%;"
title="${passPercent}%"></b>' +
- '<b class="fail_bar" style="width: ${failWidth}%;"
title="${failPercent}%"></b>' +
+ '<div class="pass_bar" style="width: ${passWidth}%;"
title="${passPercent}%"></div>' +
+ '<div class="fail_bar" style="width: ${failWidth}%;"
title="${failPercent}%"></div>' +
'</div>' +
'</td>'
);
==============================================================================
Revision: 0940a379ed43
Author: Pekka Klärck
Date: Mon Jun 20 10:50:46 2011
Log: log css cleanup
http://code.google.com/p/robotframework/source/detail?r=0940a379ed43
Modified:
/src/robot/webcontent/common.css
/src/robot/webcontent/log.css
=======================================
--- /src/robot/webcontent/common.css Mon Jun 20 10:44:42 2011
+++ /src/robot/webcontent/common.css Mon Jun 20 10:50:46 2011
@@ -4,6 +4,7 @@
font-size: 0.8em;
color: black;
padding: 6px;
+ background: white;
}
br {
mso-data-placement: same-cell; /* maintain line breaks in Excel */
=======================================
--- /src/robot/webcontent/log.css Tue Jun 14 23:23:59 2011
+++ /src/robot/webcontent/log.css Mon Jun 20 10:50:46 2011
@@ -1,90 +1,70 @@
-body {
- background: white;
-}
-
/* Tables */
-
table.suite, table.errors {
width: 100%;
- border: 1px solid gray; /* no grey in IE */
+ border: 1px solid gray;
margin: 0.2em 0em;
padding: 0.2em;
}
-
table.errors td.level {
font-weight: bold;
width: 4em;
text-align: center;
vertical-align: top;
}
-
table.errors td.time {
width: 10em;
vertical-align: top;
white-space: nowrap;
}
-
table.errors td.msg {
white-space: pre-wrap;
}
-
table.test {
width: 100%;
border: 1px dashed gray;
margin: 0.2em 0em;
padding: 0.2em;
}
-
table.metadata, table.keyword, table.messages {
margin-left: 1.1em;
width: 100%;
}
-
table.metadata, table.messages {
margin-right: 2em;
}
-
table.keyword table.metadata {
font-size: 0.9em;
margin-left: 1.4em;
}
-
table.messages {
font-family: monospace;
font-size: 1.2em;
}
-
table.messages td.msg {
white-space: pre-wrap;
}
-
table.metadata th {
width: 13em;
text-align: left;
vertical-align: top;
white-space: nowrap;
}
-
table.metadata td {
padding-left: 0.5em;
vertical-align: top;
white-space: pre-wrap;
}
-
table.messages td {
vertical-align: top;
}
-
table.messages td.time {
width: 6em;
letter-spacing: -0.05em;
}
-
table.messages td.level {
width: 4em;
text-align: center;
}
-
/* Folding buttons */
div.foldingbutton {
text-align: center;
@@ -97,25 +77,20 @@
text-decoration: none;
font-weight: bold;
border: 1px solid black;
- border: 1px solid black;
-}
-
+}
div.foldingbutton:hover {
background: yellow;
}
-
.expand {
float: right;
margin-right: 0.5em;
font-size: 0.8em;
}
-
/* Test, suite and kw names */
-.name, .splitname {
+.name {
font-weight: bold;
text-decoration: none;
}
-
a.name:hover {
text-decoration: none;
color: black;