浏览代码

Helios SUnit - Add css to color status in results pane

Ryan Simmons 11 年之前
父节点
当前提交
55bfaffa0d
共有 2 个文件被更改,包括 25 次插入0 次删除
  1. 9 0
      helios.css
  2. 16 0
      helios.less

+ 9 - 0
helios.css

@@ -305,6 +305,15 @@ body[id="helios"] .welcome button {
   height: auto;
   width: 150px;
 }
+body[id="helios"] .sunit.status.success {
+  background: #43d443;
+}
+body[id="helios"] .sunit.status.failure {
+  background: #ecd443;
+}
+body[id="helios"] .sunit.status.error {
+  background: #e56f3b;
+}
 body[id="helios"] .tool_container {
   position: absolute;
   top: 23px;

+ 16 - 0
helios.less

@@ -360,6 +360,22 @@ body[id="helios"] {
 			width: 150px;
 		}
 	}
+	
+	.sunit.status {
+		&.success {
+			background: #43d443;
+		}
+
+
+		&.failure {
+			background: #ecd443;
+		}
+
+
+		&.error {
+			background: #e56f3b;
+		}
+	}
 
 	.tool_container {
 		position: absolute;