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

Side by Side Diff: Source/devtools/front_end/auditsPanel.css

Issue 14084010: DevTools: implement hidpi-friendly success/error/warning balls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 left: 0; 130 left: 0;
131 right: 0; 131 right: 0;
132 bottom: 0; 132 bottom: 0;
133 display: none; 133 display: none;
134 } 134 }
135 135
136 .audit-result-view.visible { 136 .audit-result-view.visible {
137 display: block; 137 display: block;
138 } 138 }
139 139
140 .audit-result-view .severity-severe,
141 .audit-result-view .severity-warning,
142 .audit-result-view .severity-info {
143 background-image: url(Images/statusbarButtonGlyphs.png);
144 background-size: 320px 120px;
145 display: inline-block;
146 width: 10px;
147 height: 10px;
148 float: left;
149 margin-left: -28px;
150 margin-top: 3px;
151 }
152
153 @media (-webkit-min-device-pixel-ratio: 1.5) {
154 .audit-result-view .severity-severe,
155 .audit-result-view .severity-warning,
156 .audit-result-view .severity-info {
157 background-image: url(Images/statusbarButtonGlyphs2x.png);
158 }
159 }
160
140 .audit-result-view .severity-severe { 161 .audit-result-view .severity-severe {
141 content: url(Images/errorRedDot.png); 162 background-position: -224px -96px;
142 } 163 }
143 164
144 .audit-result-view .severity-warning { 165 .audit-result-view .severity-warning {
145 content: url(Images/warningOrangeDot.png); 166 background-position: -246px -96px;
146 } 167 }
147 168
148 .audit-result-view .severity-info { 169 .audit-result-view .severity-info {
149 content: url(Images/successGreenDot.png); 170 background-position: -235px -96px;
150 } 171 }
151 172
152 .audit-result-tree li.parent::before { 173 .audit-result-tree li.parent::before {
153 -webkit-user-select: none; 174 -webkit-user-select: none;
154 background-image: url(Images/statusbarButtonGlyphs.png); 175 background-image: url(Images/statusbarButtonGlyphs.png);
155 background-size: 320px 120px; 176 background-size: 320px 120px;
156 opacity: 0.5; 177 opacity: 0.5;
157 float: left; 178 float: left;
158 width: 8px; 179 width: 8px;
159 height: 10px; 180 height: 10px;
160 content: "a"; 181 content: "a";
161 color: transparent; 182 color: transparent;
162 margin-left: 3px; 183 margin-left: 3px;
163 margin-right: 4px; 184 margin-right: 4px;
164 position: relative; 185 position: relative;
165 top: 1px; 186 top: 2px;
166 } 187 }
167 188
168 @media (-webkit-min-device-pixel-ratio: 1.5) { 189 @media (-webkit-min-device-pixel-ratio: 1.5) {
169 .audit-result-tree li.parent::before { 190 .audit-result-tree li.parent::before {
170 background-image: url(Images/statusbarButtonGlyphs2x.png); 191 background-image: url(Images/statusbarButtonGlyphs2x.png);
171 } 192 }
172 } 193 }
173 194
174 .audit-result-tree li.parent::before { 195 .audit-result-tree li.parent::before {
175 background-position: -4px -96px; 196 background-position: -4px -96px;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 } 248 }
228 249
229 .audit-result-tree ol.children.expanded { 250 .audit-result-tree ol.children.expanded {
230 display: block; 251 display: block;
231 } 252 }
232 253
233 .audit-result { 254 .audit-result {
234 font-weight: bold; 255 font-weight: bold;
235 } 256 }
236 257
237 .audit-result img {
238 float: left;
239 margin-left: -28px;
240 margin-top: -1px;
241 }
242
243 .audit-launcher-view .progress-bar-container { 258 .audit-launcher-view .progress-bar-container {
244 display: inline-block; 259 display: inline-block;
245 } 260 }
246 261
247 .audit-launcher-view .progress-bar-container .progress-bar-stop-button { 262 .audit-launcher-view .progress-bar-container .progress-bar-stop-button {
248 display: none; 263 display: none;
249 } 264 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/RequestHeadersView.js ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698