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

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

Issue 446763003: DevTools: Get rid of CSS hackery in CanvasProfiler. (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 | Source/devtools/front_end/profiler/CanvasProfileView.js » ('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) 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 24 matching lines...) Expand all
35 top: 0; 35 top: 0;
36 left: 0; 36 left: 0;
37 right: 0; 37 right: 0;
38 bottom: 0; 38 bottom: 0;
39 } 39 }
40 40
41 #canvas-replay-image-container { 41 #canvas-replay-image-container {
42 text-align: center; 42 text-align: center;
43 background-color: black; 43 background-color: black;
44 overflow: hidden; 44 overflow: hidden;
45 padding: 5px 5px 10px 5px; 45 padding: 0;
46 color: white; 46 color: white;
47 } 47 }
48 48
49 .canvas-replay-image { 49 .canvas-replay-image-parent {
50 zoom: 100; 50 position: absolute;
51 height: auto; 51 top: 5px;
52 width: auto; 52 left: 5px;
53 max-width: 100%; 53 right: 5px;
54 max-height: 100%; 54 bottom: 10px;
55 margin: auto; 55 }
56 display: block; 56
57 .canvas-replay-image-parent > span {
58 display: inline-block;
59 height: 100%;
60 vertical-align: middle;
61 }
62
63 .canvas-replay-image-parent > img {
64 vertical-align: middle;
57 } 65 }
58 66
59 .canvas-debug-info { 67 .canvas-debug-info {
60 position: absolute; 68 position: absolute;
61 left: 0; 69 left: 0;
62 right: 0; 70 right: 0;
63 bottom: 6px; 71 bottom: 6px;
64 } 72 }
65 73
66 .canvas-profile-view .spinner-icon { 74 .canvas-profile-view .spinner-icon {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 193
186 @-webkit-keyframes fadeout-odd { 194 @-webkit-keyframes fadeout-odd {
187 from { background-color: rgb(255, 255, 25); } 195 from { background-color: rgb(255, 255, 25); }
188 to { background-color: rgb(255, 255, 175); } 196 to { background-color: rgb(255, 255, 175); }
189 } 197 }
190 198
191 @-webkit-keyframes fadeout-even { 199 @-webkit-keyframes fadeout-even {
192 from { background-color: rgb(255, 255, 25); } 200 from { background-color: rgb(255, 255, 25); }
193 to { background-color: rgb(235, 235, 120); } 201 to { background-color: rgb(235, 235, 120); }
194 } 202 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/CanvasProfileView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698