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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css

Issue 2664393002: DevTools: migrate elements panel gutter icon to UI.Icon (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js ('k') | no next file » | 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) 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 color: white; 314 color: white;
315 } 315 }
316 316
317 ol:focus li.selected .webkit-html-attribute-name { 317 ol:focus li.selected .webkit-html-attribute-name {
318 color: #ccc; 318 color: #ccc;
319 } 319 }
320 320
321 .elements-disclosure .gutter-container { 321 .elements-disclosure .gutter-container {
322 position: absolute; 322 position: absolute;
323 top: 0; 323 top: 0;
324 } 324 left: 0;
325
326 .elements-disclosure li.selected .gutter-container:not(.has-decorations) {
327 left: 0px;
328 width: 16.25px;
329 height: 18px;
330 transform: rotate(-90deg) translateX(-13px) scale(0.8);
331 transform-origin: 0% 0%;
332 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
333 -webkit-mask-position: -201px -27px;
334 -webkit-mask-size: 352px 168px;
335 background-color: white;
336 cursor: pointer; 325 cursor: pointer;
337 } 326 }
338 327
339 @media (-webkit-min-device-pixel-ratio: 1.1) { 328 .gutter-menu-icon {
340 .elements-disclosure li.selected .gutter-container:not(.has-decorations) { 329 display: none;
341 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 330 transform: rotate(-90deg) scale(0.8);
331 background-color: white;
332 position: relative;
333 left: -7px;
334 top: -3px;
342 } 335 }
343 } /* media */ 336
337 .elements-disclosure li.selected .gutter-container:not(.has-decorations) .gutter -menu-icon {
338 display: block;
339 }
344 340
345 /** Guide line */ 341 /** Guide line */
346 li.selected { 342 li.selected {
347 z-index: 0; 343 z-index: 0;
348 } 344 }
349 345
350 li.hovered:not(.always-parent) + ol.children, .elements-tree-outline ol.shadow-r oot, li.selected:not(.always-parent) + ol.children { 346 li.hovered:not(.always-parent) + ol.children, .elements-tree-outline ol.shadow-r oot, li.selected:not(.always-parent) + ol.children {
351 margin-left: 5px; 347 margin-left: 5px;
352 -webkit-padding-start: 6px; 348 -webkit-padding-start: 6px;
353 border-width: 1px; 349 border-width: 1px;
354 border-left-style: solid; 350 border-left-style: solid;
355 } 351 }
356 352
357 li.hovered:not(.always-parent) + ol.children:not(.shadow-root) { 353 li.hovered:not(.always-parent) + ol.children:not(.shadow-root) {
358 border-color: hsla(0,0%,0%,0.1); 354 border-color: hsla(0,0%,0%,0.1);
359 } 355 }
360 356
361 .elements-tree-outline ol.shadow-root { 357 .elements-tree-outline ol.shadow-root {
362 border-color: hsla(0,0%,80%,1); 358 border-color: hsla(0,0%,80%,1);
363 } 359 }
364 360
365 li.selected:not(.always-parent) + ol.children { 361 li.selected:not(.always-parent) + ol.children {
366 border-color: hsla(216,68%,80%,1) !important; 362 border-color: hsla(216,68%,80%,1) !important;
367 } 363 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698