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

Side by Side Diff: Source/devtools/front_end/sources/sourcesPanel.css

Issue 905743003: DevTools: Reimplemented WI.WatchExpressionsSidebarPane (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments & rebaseline Created 5 years, 10 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) 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 font-size: 30px; 129 font-size: 30px;
130 color: #999; 130 color: #999;
131 display: flex; 131 display: flex;
132 justify-content: center; 132 justify-content: center;
133 align-items: center; 133 align-items: center;
134 margin: 20px; 134 margin: 20px;
135 border: 4px dashed #ddd; 135 border: 4px dashed #ddd;
136 pointer-events: none; 136 pointer-events: none;
137 } 137 }
138 138
139 ol.watch-expressions > li.hovered { 139 .watch-expressions div.hovered {
140 background-color: #F0F0F0; 140 background-color: #F0F0F0;
141 } 141 }
142 142
143 .sidebar-tabbed-pane .watch-expressions { 143 .sidebar-tabbed-pane .watch-expressions {
144 margin-top: 17px; 144 margin-top: 14px;
145 padding-top: 3px;
145 } 146 }
146 147
147 .properties-tree.watch-expressions { 148 .watch-expression.watch-expression-editing .delete-button {
148 padding-left: 0 !important;
149 }
150
151 .properties-tree.watch-expressions > li {
152 padding-left: 4px;
153 }
154
155 .properties-tree.watch-expressions > li > .value {
156 display: inline;
157 position: static;
158 }
159
160 .properties-tree.watch-expressions > li:not(.parent) {
161 margin-left: 1px;
162 padding-left: 15px;
163 }
164
165 .properties-tree.watch-expressions > li.hovered {
166 padding-right: 14px;
167 }
168
169 .watch-expressions > li.editing-sub-part .text-prompt {
170 display: block;
171 width: 100%;
172 overflow: hidden;
173 }
174
175 .watch-expressions > li.editing-sub-part .value,
176 .watch-expressions > li.editing-sub-part .separator {
177 display: none;
178 }
179
180 li.editing-sub-part .delete-button {
181 display: none !important; 149 display: none !important;
182 } 150 }
183 151
184 .section .properties .delete-button { 152 .watch-expression .delete-button {
185 width: 10px; 153 width: 10px;
186 height: 10px; 154 height: 10px;
187 background-image: url(Images/deleteIcon.png); 155 background-image: url(Images/deleteIcon.png);
188 background-position: 0 0; 156 background-position: 0 0;
189 background-color: transparent; 157 background-color: transparent;
190 background-repeat: no-repeat; 158 background-repeat: no-repeat;
191 border: 0 none transparent; 159 border: 0 none transparent;
192 position: absolute; 160 position: absolute;
193 right: 8px; 161 right: 8px;
194 display: none; 162 display: none;
195 } 163 }
196 164
197 .section .properties li.hovered .delete-button { 165 .watch-expression.hovered .delete-button {
198 display: inline; 166 display: inline;
199 } 167 }
200 168
201 .source-frame-breakpoint-condition { 169 .source-frame-breakpoint-condition {
202 z-index: 30; 170 z-index: 30;
203 padding: 4px; 171 padding: 4px;
204 background-color: rgb(203, 226, 255); 172 background-color: rgb(203, 226, 255);
205 border-radius: 7px; 173 border-radius: 7px;
206 border: 2px solid rgb(169, 172, 203); 174 border: 2px solid rgb(169, 172, 203);
207 width: 90%; 175 width: 90%;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 font-size: 90%; 210 font-size: 90%;
243 padding: 6px; 211 padding: 6px;
244 color: #888; 212 color: #888;
245 pointer-events: none; 213 pointer-events: none;
246 } 214 }
247 215
248 .callstack-info.status { 216 .callstack-info.status {
249 border-top: 1px solid rgb(189, 189, 189); 217 border-top: 1px solid rgb(189, 189, 189);
250 background-color: rgb(255, 255, 194); 218 background-color: rgb(255, 255, 194);
251 } 219 }
220
221 .watch-expressions {
222 overflow-x: hidden;
223 padding-right: 6px;
224 padding-bottom: 6px;
225 padding-top: 2px;
226 }
227
228 .watch-expressions .separator {
229 flex-shrink: 0;
230 }
231
232 .watch-expressions .dimmed {
233 opacity: 0.6;
234 }
235
236 .watch-expression-title {
237 white-space: nowrap;
238 text-overflow: ellipsis;
239 overflow: hidden;
240 line-height: 12px;
241 padding-top: 1px;
242 padding-bottom: 1px;
243 margin-left: 16px;
244 }
245
246 .watch-expression .section .header {
247 min-height: 14px;
248 }
249
250 .watch-expressions .name {
251 color: rgb(136, 19, 145);
252 flex-shrink: 0;
253 white-space: nowrap;
254 text-overflow: ellipsis ;
255 overflow: hidden;
256 }
257
258 .watch-expressions .separator {
259 flex-shrink: 0;
260 }
261
262 .watch-expressions .value {
263 white-space: nowrap;
264 display: inline;
265 }
266
267 .watch-expression .text-prompt {
268 text-overflow: clip;
269 overflow: hidden;
270 white-space: nowrap;
271 padding-left: 4px;
272 -webkit-user-select: text;
273 }
274
275 .watch-expression .section > .header::before {
276 margin-top: 0px;
277 }
278
279 .watch-expression.hovered {
280 padding-right: 14px;
281 }
282
283 .watch-expression.watch-expression-editing.hovered {
284 padding-right: 0px;
285 }
286
287 .section .watch-expression-title {
288 margin-left: 11px;
289 }
290
291 .watch-expression-text-prompt-proxy {
292 margin-left: 12px;
293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698