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

Side by Side Diff: chrome/browser/resources/shared/css/tree.css

Issue 11441008: [web_dev_style] Changing :pseudo-element to ::pseudo-element to match (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 tree { 5 tree {
6 display: block; 6 display: block;
7 outline: none; 7 outline: none;
8 overflow: auto; 8 overflow: auto;
9 } 9 }
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 url('../../../../../ui/resources/default_200_percent/common/folder_closed. png') 2x); 142 url('../../../../../ui/resources/default_200_percent/common/folder_closed. png') 2x);
143 } 143 }
144 144
145 .tree-item[expanded] > .tree-row > .tree-label { 145 .tree-item[expanded] > .tree-row > .tree-label {
146 background-image: -webkit-image-set( 146 background-image: -webkit-image-set(
147 url('../../../../../ui/resources/default_100_percent/common/folder_open.pn g') 1x, 147 url('../../../../../ui/resources/default_100_percent/common/folder_open.pn g') 1x,
148 url('../../../../../ui/resources/default_200_percent/common/folder_open.pn g') 2x); 148 url('../../../../../ui/resources/default_200_percent/common/folder_open.pn g') 2x);
149 } 149 }
150 150
151 /* We need to ensure that even empty labels take up space */ 151 /* We need to ensure that even empty labels take up space */
152 .tree-label:empty:after { 152 .tree-label:empty::after {
153 content: ' '; 153 content: ' ';
154 white-space: pre; 154 white-space: pre;
155 } 155 }
156 156
157 .tree-rename > .tree-row > .tree-label { 157 .tree-rename > .tree-row > .tree-label {
158 -webkit-user-modify: read-write-plaintext-only; 158 -webkit-user-modify: read-write-plaintext-only;
159 -webkit-user-select: auto; 159 -webkit-user-select: auto;
160 background: white; 160 background: white;
161 color: black; 161 color: black;
162 outline: 1px solid black; 162 outline: 1px solid black;
163 } 163 }
164 164
165 .tree-item[editing] input { 165 .tree-item[editing] input {
166 /* Do not inherit the line-height */ 166 /* Do not inherit the line-height */
167 font-family: inherit; 167 font-family: inherit;
168 font-size: inherit; 168 font-size: inherit;
169 font-weight: inherit; 169 font-weight: inherit;
170 margin: -2px -8px -2px -3px; 170 margin: -2px -8px -2px -3px;
171 <if expr="not is_macosx"> 171 <if expr="not is_macosx">
172 outline: none; 172 outline: none;
173 </if> 173 </if>
174 padding: 1px 7px 1px 1px; 174 padding: 1px 7px 1px 1px;
175 } 175 }
176 176
177 html[dir=rtl] .tree-item[editing] input { 177 html[dir=rtl] .tree-item[editing] input {
178 margin: -2px -3px -2px -8px; 178 margin: -2px -3px -2px -8px;
179 padding: 1px 1px 1px 7px; 179 padding: 1px 1px 1px 7px;
180 } 180 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/shared/css/table.css ('k') | chrome/browser/resources/task_manager/task_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698