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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css

Issue 2644233007: DevTools: Use real focus in TreeOutline (Closed)
Patch Set: test results 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 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 :host { 7 :host {
8 flex: 1 1; 8 flex: 1 1;
9 padding: 2px 0 0 0; 9 padding: 2px 0 0 0;
10 } 10 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 .tree-outline li.in-clipboard .highlight { 43 .tree-outline li.in-clipboard .highlight {
44 outline: 1px dotted darkgrey; 44 outline: 1px dotted darkgrey;
45 } 45 }
46 46
47 .tree-outline li.elements-drag-over .selection { 47 .tree-outline li.elements-drag-over .selection {
48 display: block; 48 display: block;
49 margin-top: -2px; 49 margin-top: -2px;
50 border-top: 2px solid rgb(56, 121, 217); 50 border-top: 2px solid rgb(56, 121, 217);
51 } 51 }
52 52
53 ol.tree-outline:focus li.selected .selection { 53 ol.tree-outline li.selected:focus .selection {
54 background-color: rgb(56, 121, 217); 54 background-color: rgb(56, 121, 217);
55 } 55 }
56 56
57 ol.tree-outline:focus li.parent.selected::before { 57 ol.tree-outline li.parent.selected:focus::before {
58 background-color: white; 58 background-color: white;
59 } 59 }
60 60
61 ol.tree-outline, 61 ol.tree-outline,
62 .tree-outline ol { 62 .tree-outline ol {
63 list-style-type: none; 63 list-style-type: none;
64 } 64 }
65 65
66 .tree-outline-no-padding { 66 .tree-outline-no-padding {
67 padding: 0; 67 padding: 0;
68 } 68 }
69 69
70 .tree-outline ol { 70 .tree-outline ol {
71 padding-left: 12px; 71 padding-left: 12px;
72 } 72 }
73 73
74 .tree-outline li { 74 .tree-outline li {
75 text-overflow: ellipsis; 75 text-overflow: ellipsis;
76 white-space: nowrap; 76 white-space: nowrap;
77 position: relative; 77 position: relative;
78 display: flex; 78 display: flex;
79 align-items: center; 79 align-items: center;
80 min-height: 16px; 80 min-height: 16px;
81 } 81 }
82 82
83 ol.tree-outline:focus li.selected { 83 ol.tree-outline li.selected:focus {
84 color: white; 84 color: white;
85 } 85 }
86 86
87 ol.tree-outline:focus li.selected * { 87 ol.tree-outline li.selected:focus * {
88 color: inherit; 88 color: inherit;
89 } 89 }
90 90
91 .tree-outline li .icons-container { 91 .tree-outline li .icons-container {
92 align-self: center; 92 align-self: center;
93 display: flex; 93 display: flex;
94 align-items: center; 94 align-items: center;
95 } 95 }
96 96
97 .tree-outline li .leading-icons { 97 .tree-outline li .leading-icons {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 margin-top: 0; 149 margin-top: 0;
150 } 150 }
151 151
152 .tree-outline.tree-outline-dense li.parent::before { 152 .tree-outline.tree-outline-dense li.parent::before {
153 top: 0; 153 top: 0;
154 } 154 }
155 155
156 .tree-outline.tree-outline-dense ol { 156 .tree-outline.tree-outline-dense ol {
157 padding-left: 10px; 157 padding-left: 10px;
158 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698