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

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

Issue 2661893002: DevTools: extract treeoutline triangle icons from toolbarButtonGlyphs.png (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/elementsTreeOutline.css ('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 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 .tree-outline li .leading-icons { 97 .tree-outline li .leading-icons {
98 margin-right: 4px; 98 margin-right: 4px;
99 } 99 }
100 100
101 .tree-outline li .trailing-icons { 101 .tree-outline li .trailing-icons {
102 margin-left: 4px; 102 margin-left: 4px;
103 } 103 }
104 104
105 .tree-outline li::before { 105 .tree-outline li::before {
106 -webkit-user-select: none; 106 -webkit-user-select: none;
107 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); 107 -webkit-mask-image: url(Images/treeoutlineTriangles.png);
108 -webkit-mask-size: 352px 168px; 108 -webkit-mask-size: 32px 24px;
109 content: "aa"; 109 content: "aa";
110 color: transparent; 110 color: transparent;
111 text-shadow: none; 111 text-shadow: none;
112 margin-right: -2px; 112 margin-right: -2px;
113 height: 12px; 113 height: 12px;
114 } 114 }
115 115
116 .tree-outline li:not(.parent)::before { 116 .tree-outline li:not(.parent)::before {
117 background-color: transparent; 117 background-color: transparent;
118 } 118 }
119 119
120 @media (-webkit-min-device-pixel-ratio: 1.1) { 120 @media (-webkit-min-device-pixel-ratio: 1.1) {
121 .tree-outline li::before { 121 .tree-outline li::before {
122 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 122 -webkit-mask-image: url(Images/treeoutlineTriangles_2x.png);
123 } 123 }
124 } /* media */ 124 } /* media */
125 125
126 .tree-outline li::before { 126 .tree-outline li::before {
127 -webkit-mask-position: -4px -96px; 127 -webkit-mask-position: 0 0;
dgozman 2017/01/30 19:31:21 I remember some of them were positioned one-pixel-
lushnikov 2017/01/31 09:14:29 Looks like those were moved over to UI.Icon. We ha
128 background-color: rgb(110, 110, 110); 128 background-color: rgb(110, 110, 110);
129 } 129 }
130 130
131 .tree-outline li.parent.expanded::before { 131 .tree-outline li.parent.expanded::before {
132 -webkit-mask-position: -20px -96px; 132 -webkit-mask-position: -16px 0;
133 } 133 }
134 134
135 .tree-outline ol.children { 135 .tree-outline ol.children {
136 display: none; 136 display: none;
137 } 137 }
138 138
139 .tree-outline ol.children.expanded { 139 .tree-outline ol.children.expanded {
140 display: block; 140 display: block;
141 } 141 }
142 142
143 .tree-outline.tree-outline-dense li { 143 .tree-outline.tree-outline-dense li {
144 margin-top: 1px; 144 margin-top: 1px;
145 min-height: 12px; 145 min-height: 12px;
146 } 146 }
147 147
148 .tree-outline.tree-outline-dense li.parent { 148 .tree-outline.tree-outline-dense li.parent {
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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698