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

Side by Side Diff: ui/webui/resources/css/tree.css

Issue 2621993006: Drop the -webkit prefix from user-select CSS rule in ui/. (Closed)
Patch Set: Created 3 years, 11 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 | « ui/webui/resources/css/table.css ('k') | ui/webui/resources/css/widgets.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 .tree-item > .tree-row { 11 .tree-item > .tree-row {
12 -webkit-user-select: none;
13 background-color: rgba(255, 255, 255, 0); 12 background-color: rgba(255, 255, 255, 0);
14 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ 13 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */
15 border-radius: 2px; 14 border-radius: 2px;
16 color: black; 15 color: black;
17 cursor: default; 16 cursor: default;
18 line-height: 28px; 17 line-height: 28px;
19 padding: 0 3px; 18 padding: 0 3px;
20 position: relative; 19 position: relative;
20 user-select: none;
21 white-space: nowrap; 21 white-space: nowrap;
22 } 22 }
23 23
24 .expand-icon { 24 .expand-icon {
25 transform: rotate(-90deg); 25 transform: rotate(-90deg);
26 -webkit-transition: all 150ms; 26 -webkit-transition: all 150ms;
27 background: url(../images/tree_triangle.svg) no-repeat center center; 27 background: url(../images/tree_triangle.svg) no-repeat center center;
28 background-size: 8px 5px; 28 background-size: 8px 5px;
29 display: inline-block; 29 display: inline-block;
30 height: 16px; 30 height: 16px;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 146
147 /* We need to ensure that even empty labels take up space */ 147 /* We need to ensure that even empty labels take up space */
148 .tree-label:empty::after { 148 .tree-label:empty::after {
149 content: ' '; 149 content: ' ';
150 white-space: pre; 150 white-space: pre;
151 } 151 }
152 152
153 .tree-rename > .tree-row > .tree-label { 153 .tree-rename > .tree-row > .tree-label {
154 -webkit-user-modify: read-write-plaintext-only; 154 -webkit-user-modify: read-write-plaintext-only;
155 -webkit-user-select: auto;
156 background: white; 155 background: white;
157 color: black; 156 color: black;
158 outline: 1px solid black; 157 outline: 1px solid black;
158 user-select: auto;
159 } 159 }
160 160
161 .tree-item[editing] input { 161 .tree-item[editing] input {
162 /* Do not inherit the line-height */ 162 /* Do not inherit the line-height */
163 font-family: inherit; 163 font-family: inherit;
164 font-size: inherit; 164 font-size: inherit;
165 font-weight: inherit; 165 font-weight: inherit;
166 margin: -2px -8px -2px -3px; 166 margin: -2px -8px -2px -3px;
167 <if expr="not is_macosx and not is_ios"> 167 <if expr="not is_macosx and not is_ios">
168 outline: none; 168 outline: none;
169 </if> 169 </if>
170 padding: 1px 7px 1px 1px; 170 padding: 1px 7px 1px 1px;
171 } 171 }
172 172
173 html[dir=rtl] .tree-item[editing] input { 173 html[dir=rtl] .tree-item[editing] input {
174 margin: -2px -3px -2px -8px; 174 margin: -2px -3px -2px -8px;
175 padding: 1px 1px 1px 7px; 175 padding: 1px 1px 1px 7px;
176 } 176 }
OLDNEW
« no previous file with comments | « ui/webui/resources/css/table.css ('k') | ui/webui/resources/css/widgets.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698