Revision: 065b51424ba3
Branch: default
Author: Pekka Klärck
Date: Mon Feb 25 02:34:29 2013
Log: log/report: darker background when element is active or hovered
http://code.google.com/p/robotframework/source/detail?r=065b51424ba3
Modified:
/src/robot/htmldata/rebot/common.css
/src/robot/htmldata/rebot/log.css
/src/robot/htmldata/rebot/log.html
=======================================
--- /src/robot/htmldata/rebot/common.css Thu Feb 14 01:20:27 2013
+++ /src/robot/htmldata/rebot/common.css Mon Feb 25 02:34:29 2013
@@ -106,7 +106,7 @@
margin-bottom: 1em;
}
.statistics tr:hover {
- background: #F4F4FF;
+ background: #E4E4EF;
cursor: pointer;
}
.statistics th, .statistics td {
=======================================
--- /src/robot/htmldata/rebot/log.css Wed Feb 20 01:31:56 2013
+++ /src/robot/htmldata/rebot/log.css Mon Feb 25 02:34:29 2013
@@ -31,8 +31,8 @@
}
.element-header:hover {
cursor: pointer;
- background-color: #F4F4FF;
- border-color: #D3D3D3;
+ background-color: #E4E4EF;
+ border-color: #B4B4BF;
}
.closed {
background-image:
url(data:image/gif;base64,R0lGODlhDQALAIAAAAAAAAAAACH5BAEKAAEALAAAAAANAAsAAAIZTICpYGz/nIOxwXls3VJpDGpiRlKfyS1LAQA7);
=======================================
--- /src/robot/htmldata/rebot/log.html Wed Feb 20 02:35:45 2013
+++ /src/robot/htmldata/rebot/log.html Mon Feb 25 02:34:29 2013
@@ -98,10 +98,13 @@
function highlight(element, color) {
if (color === undefined)
- color = 245;
-
element.css({'background-color': 'rgb('+color+','+color+','+color+')'});
- if (color < 256)
- setTimeout(function () { highlight(element, color+1); }, 500);
+ color = 240;
+ if (color < 255) {
+
element.css({'background-color': 'rgb('+color+','+color+','+color+')'});
+ setTimeout(function () { highlight(element, color+1); }, 300);
+ } else {
+ element.css({'background-color': ''});
+ }
}
function popFromIterator(iterator, upTo) {
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.