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/elements/elementsTreeOutline.css

Issue 1304173004: Devtools UI: Add node-specific actions into a ghost toolbar in DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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) 2014 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .elements-disclosure { 7 .elements-disclosure {
8 width: 100%; 8 width: 100%;
9 display: inline-block; 9 display: inline-block;
10 line-height: normal; 10 line-height: normal;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 .elements-gutter-decoration { 212 .elements-gutter-decoration {
213 position: absolute; 213 position: absolute;
214 left: 2px; 214 left: 2px;
215 margin-top: 2px; 215 margin-top: 2px;
216 height: 9px; 216 height: 9px;
217 width: 9px; 217 width: 9px;
218 border-radius: 5px; 218 border-radius: 5px;
219 border: 1px solid orange; 219 border: 1px solid orange;
220 background-color: orange; 220 background-color: orange;
221 cursor: pointer;
221 } 222 }
222 223
223 .elements-gutter-decoration.elements-has-decorated-children { 224 .elements-gutter-decoration.elements-has-decorated-children {
224 opacity: 0.5; 225 opacity: 0.5;
225 } 226 }
226 227
227 .add-attribute { 228 .add-attribute {
228 margin-left: 1px; 229 margin-left: 1px;
229 margin-right: 1px; 230 margin-right: 1px;
230 white-space: nowrap; 231 white-space: nowrap;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 ol:focus li.selected .webkit-html-close-tag-name, 314 ol:focus li.selected .webkit-html-close-tag-name,
314 ol:focus li.selected .webkit-html-attribute-value, 315 ol:focus li.selected .webkit-html-attribute-value,
315 ol:focus li.selected .webkit-html-external-link, 316 ol:focus li.selected .webkit-html-external-link,
316 ol:focus li.selected .webkit-html-resource-link { 317 ol:focus li.selected .webkit-html-resource-link {
317 color: white; 318 color: white;
318 } 319 }
319 320
320 ol:focus li.selected .webkit-html-attribute-name { 321 ol:focus li.selected .webkit-html-attribute-name {
321 color: #ccc; 322 color: #ccc;
322 } 323 }
324
325 .elements-disclosure li.selected .selection > .node-actions-container {
326 visibility: visible;
327 }
328
329 .node-actions-container {
330 position: absolute;
331 z-index: 10000;
332 left: 0px;
333 height: 13px;
334 background-color: hsla(0,100%,100%,0.3);
335 }
336
337 .node-actions-toolbar {
338 position: absolute;
339 top: -30px;
340 left: 2px;
341 background: white;
342 border-radius: 3px;
343 border: 1px solid #DADADA;
344 visibility: hidden;
345 }
346
347 .node-actions-toggle {
348 -webkit-mask-position: -201px -26px;
349 width: 16.25px;
350 height: 20px;
351 transform: scale(0.8) rotate(90deg);
352 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
353 -webkit-mask-size: 352px 168px;
354 background-color: #FFFFFF;
355 z-index: 1;
356 margin-top: -3px;
357 cursor: pointer;
358 }
359
360 .gutter-container.has-decorations .node-actions-toggle {
361 opacity: 0;
362 }
363
364 .node-actions-container.expanded > .node-actions-toolbar {
365 visibility: visible;
366 }
367
368 .node-actions-toolbar-below {
369 margin-top: 2px;
370 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698