Index: tools/skpdiff/viewer_style.css |
diff --git a/tools/skpdiff/viewer_style.css b/tools/skpdiff/viewer_style.css |
index 140deaa55b9962adb87e533dcb618295731ddbd0..81b4f906c99b31e333c2a3bf4523d40bca2a51a8 100644 |
--- a/tools/skpdiff/viewer_style.css |
+++ b/tools/skpdiff/viewer_style.css |
@@ -35,6 +35,36 @@ thead > tr > td { |
text-align: right; |
} |
+.success-flash { |
+ -webkit-animation-duration: 0.5s; |
+ -webkit-animation-name: greenflash; |
+} |
+ |
+.failure-flash { |
+ -webkit-animation-duration: 0.8s; |
+ -webkit-animation-name: redflash; |
+} |
+ |
+@-webkit-keyframes greenflash { |
+ from { |
+ background-color: #8F8; |
+ } |
+ |
+ to { |
+ background-color: #FFF |
+ } |
+} |
+ |
+@-webkit-keyframes redflash { |
+ from { |
+ background-color: #F88; |
+ } |
+ |
+ to { |
+ background-color: #FFF |
+ } |
+} |
+ |
.result { |
padding: 8px; |
cursor: default; |