Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css

Issue 421853002: Use baked CSS colors instead of opacity for flakiness interpolated results (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 cursor: pointer; 81 cursor: pointer;
82 } 82 }
83 .results { 83 .results {
84 cursor: pointer; 84 cursor: pointer;
85 padding: 0 1px; 85 padding: 0 1px;
86 font-size: 10px; 86 font-size: 10px;
87 text-align: center; 87 text-align: center;
88 min-width: .75em; 88 min-width: .75em;
89 } 89 }
90 .interpolatedResult { 90 .interpolatedResult {
91 opacity: 0.2; 91 color: rgba(0, 0, 0, 0.2);
92 } 92 }
93 #legend { 93 #legend {
94 position: fixed; 94 position: fixed;
95 top: 5px; 95 top: 5px;
96 right: 5px; 96 right: 5px;
97 width: 400px; 97 width: 400px;
98 padding: 2px; 98 padding: 2px;
99 border: 2px solid grey; 99 border: 2px solid grey;
100 background-color: white; 100 background-color: white;
101 z-index: 1; 101 z-index: 1;
102 } 102 }
103 #legend ul, #legend ol { 103 #legend ul, #legend ol {
104 margin-top: 0; 104 margin-top: 0;
105 margin-bottom: 5px; 105 margin-bottom: 5px;
106 } 106 }
107 #legend-contents * { 107 #legend-contents * {
108 margin: 3px 0; 108 margin: 3px 0;
109 padding: 0 2px; 109 padding: 0 2px;
110 float: left; 110 float: left;
111 border: 1px solid grey; 111 border: 1px solid grey;
112 } 112 }
113
114 /*
115 These interpolatedResult values are 20% opacity versions of the test results
116 below and should be kept in sync. See: crbug.com/397886.
117 */
118 .PASS.interpolatedResult {
119 background-color: rgba(51, 255, 51, 0.2);
120 }
121 .NODATA.interpolatedResult, .NOTRUN.interpolatedResult {
122 background-color: rgba(255, 255, 255, 0.2);
123 color: rgba(187, 187, 187, 0.2);
124 }
125 .SKIP.interpolatedResult {
126 background-color: rgba(211, 211, 211, 0.2);
127 }
128 .CRASH.interpolatedResult {
129 background-color: rgba(204, 153, 0, 0.2);
130 }
131 .TIMEOUT.interpolatedResult {
132 background-color: rgba(255, 252, 108, 0.2);
133 }
134 .IMAGE.interpolatedResult {
135 background-color: rgba(102, 153, 255, 0.2);
136 }
137 .FAIL.interpolatedResult, .TEXT.interpolatedResult {
138 background-color: rgba(233, 128, 128, 0.2);
139 }
140 .MISSING.interpolatedResult {
141 background-color: rgba(138, 119, 0, 0.2);
142 }
143 .IMAGETEXT.interpolatedResult {
144 background-color: rgba(153, 102, 255, 0.2);
145 }
146 .AUDIO.interpolatedResult {
147 background-color: rgba(173, 216, 230, 0.2);
148 }
149 .FLAKY.interpolatedResult {
150 background-color: rgba(64, 224, 208, 0.2);
151 }
152 .LEAK.interpolatedResult {
153 background-color: rgba(255, 192, 203, 0.2);
154 }
155
113 .PASS { 156 .PASS {
114 background-color: #3f3; 157 background-color: #3f3;
115 } 158 }
116 .NODATA, .NOTRUN { 159 .NODATA, .NOTRUN {
117 background-color: #fff; 160 background-color: #fff;
118 color: #bbb; 161 color: #bbb;
119 } 162 }
120 .SKIP { 163 .SKIP {
121 background-color: lightgray; 164 background-color: lightgray;
122 } 165 }
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 display: inline-block; 304 display: inline-block;
262 white-space: nowrap; 305 white-space: nowrap;
263 } 306 }
264 .skipped-builder:after { 307 .skipped-builder:after {
265 content: '|'; 308 content: '|';
266 margin: 5px; 309 margin: 5px;
267 } 310 }
268 .skipped-builder:last-child:after { 311 .skipped-builder:last-child:after {
269 content: ''; 312 content: '';
270 } 313 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698