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

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

Issue 2770743004: DevTools: improve $0 selected element hint in elements (Closed)
Patch Set: ac Created 3 years, 8 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;
11 } 11 }
12 12
13 .elements-disclosure li { 13 .elements-disclosure li {
14 /** Keep margin-left & padding-left in sync with ElementsTreeElements.update Decorators **/ 14 /** Keep margin-left & padding-left in sync with ElementsTreeElements.update Decorators **/
15 padding: 0 0 0 14px; 15 padding: 0 0 0 14px;
16 margin-top: 1px; 16 margin-top: 1px;
17 margin-left: -2px; 17 margin-left: -2px;
18 word-wrap: break-word; 18 word-wrap: break-word;
19 position: relative; 19 position: relative;
20 min-height: 14px; 20 min-height: 14px;
21 } 21 }
22 22
23 .elements-disclosure li.parent { 23 .elements-disclosure li.parent {
24 /** Keep it in sync with ElementsTreeElements.updateDecorators **/ 24 /** Keep it in sync with ElementsTreeElements.updateDecorators **/
25 margin-left: -13px; 25 margin-left: -13px;
26 } 26 }
27 27
28 .elements-disclosure li.selected:after { 28 .elements-disclosure li.selected .selected-hint:before {
29 font-style: italic; 29 font-style: italic;
30 content: " == $0"; 30 content: " == $0";
31 color: black;
32 opacity: 0.6; 31 opacity: 0.6;
33 position: absolute; 32 position: absolute;
34 } 33 white-space: pre;
35
36 .elements-disclosure li.selected.editing-as-html:after {
37 display: none;
38 }
39
40 .elements-disclosure ol li.selected:focus:after {
41 color: white;
42 } 34 }
43 35
44 .elements-disclosure li.parent::before { 36 .elements-disclosure li.parent::before {
45 box-sizing: border-box; 37 box-sizing: border-box;
46 } 38 }
47 39
48 .elements-disclosure li.parent::before { 40 .elements-disclosure li.parent::before {
49 -webkit-user-select: none; 41 -webkit-user-select: none;
50 -webkit-mask-image: url(Images/treeoutlineTriangles.png); 42 -webkit-mask-image: url(Images/treeoutlineTriangles.png);
51 -webkit-mask-size: 32px 24px; 43 -webkit-mask-size: 32px 24px;
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 border-color: hsla(0,0%,0%,0.1); 348 border-color: hsla(0,0%,0%,0.1);
357 } 349 }
358 350
359 .elements-tree-outline ol.shadow-root { 351 .elements-tree-outline ol.shadow-root {
360 border-color: hsla(0,0%,80%,1); 352 border-color: hsla(0,0%,80%,1);
361 } 353 }
362 354
363 li.selected:not(.always-parent) + ol.children { 355 li.selected:not(.always-parent) + ol.children {
364 border-color: hsla(216,68%,80%,1) !important; 356 border-color: hsla(216,68%,80%,1) !important;
365 } 357 }
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