Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 .profile-launcher-control { | 120 .profile-launcher-control { |
| 121 align-items: center; | 121 align-items: center; |
| 122 flex-wrap: wrap; | 122 flex-wrap: wrap; |
| 123 } | 123 } |
| 124 | 124 |
| 125 .profile-launcher-control > * { | 125 .profile-launcher-control > * { |
| 126 margin-top: 10px; | 126 margin-top: 10px; |
| 127 margin-right: 6px; | 127 margin-right: 6px; |
| 128 } | 128 } |
| 129 | 129 |
| 130 .profile-launcher-control button { | 130 .profile-launcher-view-content button { |
|
luoe
2017/05/12 03:06:48
I've moved the 'take snapshot' / 'start' button to
| |
| 131 min-width: 110px; | 131 min-width: 110px; |
| 132 margin-top: 10px; | |
| 132 } | 133 } |
| 133 | 134 |
| 134 .profile-launcher-target { | 135 .profile-launcher-target { |
| 135 align-items: baseline; | 136 align-items: baseline; |
| 136 } | 137 } |
| 137 | 138 |
| 138 .profile-launcher-target > * { | 139 .profile-launcher-target > * { |
| 139 flex: 0 0 auto; | 140 flex: 0 0 auto; |
| 140 margin-right: 8px; | 141 margin-right: 8px; |
| 141 } | 142 } |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 153 .panel-enabler-view.profile-launcher-view label { | 154 .panel-enabler-view.profile-launcher-view label { |
| 154 margin: 0; | 155 margin: 0; |
| 155 } | 156 } |
| 156 | 157 |
| 157 .profile-launcher-view-content p { | 158 .profile-launcher-view-content p { |
| 158 color: grey; | 159 color: grey; |
| 159 margin-top: 1px; | 160 margin-top: 1px; |
| 160 margin-left: 22px; | 161 margin-left: 22px; |
| 161 } | 162 } |
| 162 | 163 |
| 163 .profile-launcher-view-content button.running { | |
| 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 { | 164 .highlighted-row { |
| 176 -webkit-animation: row_highlight 2s 0s; | 165 -webkit-animation: row_highlight 2s 0s; |
| 177 } | 166 } |
| 178 | 167 |
| 179 @-webkit-keyframes row_highlight { | 168 @-webkit-keyframes row_highlight { |
| 180 from {background-color: rgba(255, 255, 120, 1); } | 169 from {background-color: rgba(255, 255, 120, 1); } |
| 181 to { background-color: rgba(255, 255, 120, 0); } | 170 to { background-color: rgba(255, 255, 120, 0); } |
| 182 } | 171 } |
| 183 | 172 |
| 184 .profile-canvas-decoration label[is=dt-icon-label] { | 173 .profile-canvas-decoration label[is=dt-icon-label] { |
| 185 margin-right: 4px; | 174 margin-right: 4px; |
| 186 } | 175 } |
| 187 | 176 |
| 188 .profile-canvas-decoration { | 177 .profile-canvas-decoration { |
| 189 color: red; | 178 color: red; |
| 190 margin: -14px 0 13px 22px; | 179 margin: -14px 0 13px 22px; |
| 191 padding-left: 14px; | 180 padding-left: 14px; |
| 192 } | 181 } |
| 193 | 182 |
| 194 .profile-canvas-decoration button { | 183 .profile-canvas-decoration button { |
| 195 margin: 0 0 0 10px !important; | 184 margin: 0 0 0 10px !important; |
| 196 } | 185 } |
| 197 | 186 |
| 198 .js_profiler.panel select.chrome-select, | 187 .js_profiler.panel select.chrome-select, |
| 199 .heap_profiler.panel select.chrome-select { | 188 .heap_profiler.panel select.chrome-select { |
| 200 width: 150px; | 189 width: 150px; |
| 201 } | 190 } |
| 202 | 191 |
| 203 button.load-profile { | |
| 204 margin-top: 10px; | |
| 205 min-width: 110px; | |
| 206 } | |
| 207 | |
| 208 | |
| 209 .cpu-profile-flame-chart-overview-container { | 192 .cpu-profile-flame-chart-overview-container { |
| 210 overflow: hidden; | 193 overflow: hidden; |
| 211 position: absolute; | 194 position: absolute; |
| 212 top: 0; | 195 top: 0; |
| 213 width: 100%; | 196 width: 100%; |
| 214 height: 80px; | 197 height: 80px; |
| 215 } | 198 } |
| 216 | 199 |
| 217 #cpu-profile-flame-chart-overview-container { | 200 #cpu-profile-flame-chart-overview-container { |
| 218 border-bottom: 1px solid rgba(0, 0, 0, 0.3); | 201 border-bottom: 1px solid rgba(0, 0, 0, 0.3); |
| 219 } | 202 } |
| 220 | 203 |
| 221 .cpu-profile-flame-chart-overview-canvas { | 204 .cpu-profile-flame-chart-overview-canvas { |
| 222 position: absolute; | 205 position: absolute; |
| 223 top: 20px; | 206 top: 20px; |
| 224 left: 0; | 207 left: 0; |
| 225 right: 0; | 208 right: 0; |
| 226 bottom: 0; | 209 bottom: 0; |
| 227 } | 210 } |
| 228 | 211 |
| 229 #cpu-profile-flame-chart-overview-grid .resources-dividers-label-bar { | 212 #cpu-profile-flame-chart-overview-grid .resources-dividers-label-bar { |
| 230 pointer-events: auto; | 213 pointer-events: auto; |
| 231 } | 214 } |
| 232 | 215 |
| 233 .cpu-profile-flame-chart-overview-pane { | 216 .cpu-profile-flame-chart-overview-pane { |
| 234 flex: 0 0 80px !important; | 217 flex: 0 0 80px !important; |
| 235 } | 218 } |
| OLD | NEW |