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

Side by Side Diff: Source/devtools/front_end/inspector.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
« no previous file with comments | « Source/devtools/front_end/auditsPanel.css ('k') | Source/devtools/front_end/resourceView.css » ('j') | 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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 } 968 }
969 969
970 .console-status-bar-item .glyph { 970 .console-status-bar-item .glyph {
971 -webkit-mask-position: -64px -24px; 971 -webkit-mask-position: -64px -24px;
972 } 972 }
973 973
974 .clear-status-bar-item .glyph { 974 .clear-status-bar-item .glyph {
975 -webkit-mask-position: -64px 0; 975 -webkit-mask-position: -64px 0;
976 } 976 }
977 977
978 .error-icon-small, .warning-icon-small { 978 .error-icon-small, .warning-icon-small, .red-ball, .green-ball, .orange-ball {
979 background-image: url(Images/statusbarButtonGlyphs.png); 979 background-image: url(Images/statusbarButtonGlyphs.png);
980 background-size: 320px 120px; 980 background-size: 320px 120px;
981 width: 10px; 981 width: 10px;
982 height: 10px; 982 height: 10px;
983 display: inline-block; 983 display: inline-block;
984 } 984 }
985 985
986 @media (-webkit-min-device-pixel-ratio: 1.5) { 986 @media (-webkit-min-device-pixel-ratio: 1.5) {
987 .error-icon-small, .warning-icon-small { 987 .error-icon-small, .warning-icon-small, .red-ball, .green-ball, .orange-ball {
988 background-image: url(Images/statusbarButtonGlyphs2x.png); 988 background-image: url(Images/statusbarButtonGlyphs2x.png);
989 } 989 }
990 } 990 }
991 991
992 .error-icon-small { 992 .error-icon-small {
993 background-position: -213px -96px; 993 background-position: -213px -96px;
994 } 994 }
995 995
996 .warning-icon-small { 996 .warning-icon-small {
997 background-position: -202px -107px; 997 background-position: -202px -107px;
998 } 998 }
999 999
1000 .red-ball {
1001 background-position: -224px -96px;
1002 }
1003
1004 .green-ball {
1005 background-position: -235px -96px;
1006 }
1007
1008 .orange-ball {
1009 background-position: -246px -96px;
1010 }
1011
1000 #error-warning-count { 1012 #error-warning-count {
1001 padding: 4px 6px 6px 0px; 1013 padding: 4px 6px 6px 0px;
1002 font-size: 11px; 1014 font-size: 11px;
1003 height: 19px; 1015 height: 19px;
1004 cursor: pointer; 1016 cursor: pointer;
1005 line-height: 14px; 1017 line-height: 14px;
1006 } 1018 }
1007 1019
1008 #error-warning-count:hover { 1020 #error-warning-count:hover {
1009 border-bottom: 1px solid rgb(96, 96, 96); 1021 border-bottom: 1px solid rgb(96, 96, 96);
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
2357 2369
2358 :focus li.selected .bubble.search-matches { 2370 :focus li.selected .bubble.search-matches {
2359 background-image: url(Images/searchSmallBrightBlue.png); 2371 background-image: url(Images/searchSmallBrightBlue.png);
2360 } 2372 }
2361 2373
2362 body.inactive li.selected .bubble.search-matches { 2374 body.inactive li.selected .bubble.search-matches {
2363 background-image: url(Images/searchSmallGray.png); 2375 background-image: url(Images/searchSmallGray.png);
2364 } 2376 }
2365 2377
2366 .storage-application-cache-status-icon, .storage-application-cache-connectivity- icon { 2378 .storage-application-cache-status-icon, .storage-application-cache-connectivity- icon {
2367 margin-bottom: -3px; 2379 margin: 5px 5px 0;
2368 margin-left: 5px;
2369 vertical-align: middle; 2380 vertical-align: middle;
2370 } 2381 }
2371 2382
2372 .status-bar-divider { 2383 .status-bar-divider {
2373 margin-left: 7px; 2384 margin-left: 7px;
2374 border-right: 1px solid #CCC; 2385 border-right: 1px solid #CCC;
2375 } 2386 }
2376 2387
2377 .storage-application-cache-status, .storage-application-cache-connectivity { 2388 .storage-application-cache-status, .storage-application-cache-connectivity {
2378 position: relative; 2389 position: relative;
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
2990 pointer-events: auto; 3001 pointer-events: auto;
2991 -webkit-user-select: text; 3002 -webkit-user-select: text;
2992 font-size: 11px; 3003 font-size: 11px;
2993 cursor: text; 3004 cursor: text;
2994 line-height: 14px; 3005 line-height: 14px;
2995 } 3006 }
2996 3007
2997 .elements-tree-outline li.parent::before { 3008 .elements-tree-outline li.parent::before {
2998 top: 0 !important; 3009 top: 0 !important;
2999 } 3010 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/auditsPanel.css ('k') | Source/devtools/front_end/resourceView.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698