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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/profiler/profilesPanel.css

Issue 2881453003: DevTools: update buttons to new style (Closed)
Patch Set: find replace updated too! Created 3 years, 7 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
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 .data-grid:focus tr.selected .profile-node-file { 111 .data-grid:focus tr.selected .profile-node-file {
112 color: white; 112 color: white;
113 } 113 }
114 114
115 .profile-launcher-view-content { 115 .profile-launcher-view-content {
116 padding: 0 16px; 116 padding: 0 16px;
117 text-align: left; 117 text-align: left;
118 } 118 }
119 119
120 .profile-launcher-control {
121 align-items: center;
122 flex-wrap: wrap;
123 }
124
125 .profile-launcher-control > * { 120 .profile-launcher-control > * {
126 margin-top: 10px; 121 margin-top: 10px;
127 margin-right: 6px; 122 margin-right: 6px;
128 } 123 }
129 124
130 .profile-launcher-control button { 125 .profile-launcher-view-content button {
131 min-width: 110px; 126 min-width: 110px;
127 margin-top: 10px;
132 } 128 }
133 129
134 .profile-launcher-target { 130 .profile-launcher-target {
135 align-items: baseline; 131 align-items: baseline;
136 } 132 }
137 133
138 .profile-launcher-target > * { 134 .profile-launcher-target > * {
139 flex: 0 0 auto; 135 flex: 0 0 auto;
140 margin-right: 8px; 136 margin-right: 8px;
141 } 137 }
(...skipping 11 matching lines...) Expand all
153 .panel-enabler-view.profile-launcher-view label { 149 .panel-enabler-view.profile-launcher-view label {
154 margin: 0; 150 margin: 0;
155 } 151 }
156 152
157 .profile-launcher-view-content p { 153 .profile-launcher-view-content p {
158 color: grey; 154 color: grey;
159 margin-top: 1px; 155 margin-top: 1px;
160 margin-left: 22px; 156 margin-left: 22px;
161 } 157 }
162 158
163 .profile-launcher-view-content button.running {
dgozman 2017/05/15 21:29:00 What happened to running state?
luoe 2017/05/18 21:29:26 Hmm, since it's only used in Memory, I'll move it
164 color: hsl(0, 100%, 58%);
165 }
166
167 .profile-launcher-view-content button.running:hover {
168 color: hsl(0, 100%, 42%);
169 }
170
171 body.inactive .profile-launcher-view-content button.running:not(.toolbar-item) {
172 color: rgb(220, 130, 130);
173 }
174
175 .highlighted-row { 159 .highlighted-row {
176 -webkit-animation: row_highlight 2s 0s; 160 -webkit-animation: row_highlight 2s 0s;
177 } 161 }
178 162
179 @-webkit-keyframes row_highlight { 163 @-webkit-keyframes row_highlight {
180 from {background-color: rgba(255, 255, 120, 1); } 164 from {background-color: rgba(255, 255, 120, 1); }
181 to { background-color: rgba(255, 255, 120, 0); } 165 to { background-color: rgba(255, 255, 120, 0); }
182 } 166 }
183 167
184 .profile-canvas-decoration label[is=dt-icon-label] { 168 .profile-canvas-decoration label[is=dt-icon-label] {
185 margin-right: 4px; 169 margin-right: 4px;
186 } 170 }
187 171
188 .profile-canvas-decoration { 172 .profile-canvas-decoration {
189 color: red; 173 color: red;
190 margin: -14px 0 13px 22px; 174 margin: -14px 0 13px 22px;
191 padding-left: 14px; 175 padding-left: 14px;
192 } 176 }
193 177
194 .profile-canvas-decoration button { 178 .profile-canvas-decoration button {
195 margin: 0 0 0 10px !important; 179 margin: 0 0 0 10px !important;
196 } 180 }
197 181
198 .js_profiler.panel select.chrome-select, 182 .js_profiler.panel select.chrome-select,
199 .heap_profiler.panel select.chrome-select { 183 .heap_profiler.panel select.chrome-select {
200 width: 150px; 184 width: 150px;
201 } 185 }
202 186
203 button.load-profile {
204 margin-top: 10px;
205 min-width: 110px;
206 }
207
208
209 .cpu-profile-flame-chart-overview-container { 187 .cpu-profile-flame-chart-overview-container {
210 overflow: hidden; 188 overflow: hidden;
211 position: absolute; 189 position: absolute;
212 top: 0; 190 top: 0;
213 width: 100%; 191 width: 100%;
214 height: 80px; 192 height: 80px;
215 } 193 }
216 194
217 #cpu-profile-flame-chart-overview-container { 195 #cpu-profile-flame-chart-overview-container {
218 border-bottom: 1px solid rgba(0, 0, 0, 0.3); 196 border-bottom: 1px solid rgba(0, 0, 0, 0.3);
219 } 197 }
220 198
221 .cpu-profile-flame-chart-overview-canvas { 199 .cpu-profile-flame-chart-overview-canvas {
222 position: absolute; 200 position: absolute;
223 top: 20px; 201 top: 20px;
224 left: 0; 202 left: 0;
225 right: 0; 203 right: 0;
226 bottom: 0; 204 bottom: 0;
227 } 205 }
228 206
229 #cpu-profile-flame-chart-overview-grid .resources-dividers-label-bar { 207 #cpu-profile-flame-chart-overview-grid .resources-dividers-label-bar {
230 pointer-events: auto; 208 pointer-events: auto;
231 } 209 }
232 210
233 .cpu-profile-flame-chart-overview-pane { 211 .cpu-profile-flame-chart-overview-pane {
234 flex: 0 0 80px !important; 212 flex: 0 0 80px !important;
235 } 213 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698