OLD | NEW |
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 list, | 5 list, |
6 grid { | 6 grid { |
7 display: block; | 7 display: block; |
8 outline: none; | 8 outline: none; |
9 overflow: auto; | 9 overflow: auto; |
10 position: relative; /* Make sure that item offsets are relative to the | 10 position: relative; /* Make sure that item offsets are relative to the |
11 list. */ | 11 list. */ |
12 } | 12 } |
13 | 13 |
14 list > *, | 14 list > *, |
15 grid > * { | 15 grid > * { |
16 -webkit-user-select: none; | |
17 background-color: rgba(255, 255, 255, 0); | 16 background-color: rgba(255, 255, 255, 0); |
18 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ | 17 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ |
19 border-radius: 2px; | 18 border-radius: 2px; |
20 cursor: default; | 19 cursor: default; |
21 line-height: 20px; | 20 line-height: 20px; |
22 margin: -1px 0; | 21 margin: -1px 0; |
23 overflow: hidden; | 22 overflow: hidden; |
24 padding: 0 3px; | 23 padding: 0 3px; |
25 position: relative; /* to allow overlap */ | 24 position: relative; /* to allow overlap */ |
26 text-overflow: ellipsis; | 25 text-overflow: ellipsis; |
| 26 user-select: none; |
27 white-space: pre; | 27 white-space: pre; |
28 } | 28 } |
29 | 29 |
30 list > * { | 30 list > * { |
31 display: block; | 31 display: block; |
32 } | 32 } |
33 | 33 |
34 grid > * { | 34 grid > * { |
35 display: inline-block; | 35 display: inline-block; |
36 } | 36 } |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 113 } |
114 | 114 |
115 list > .drag-selection-border { | 115 list > .drag-selection-border { |
116 border-radius: 0; | 116 border-radius: 0; |
117 background-color: rgba(255, 255, 255, 0.3); | 117 background-color: rgba(255, 255, 255, 0.3); |
118 border: 2px solid rgba(255, 255, 255, 0.6); | 118 border: 2px solid rgba(255, 255, 255, 0.6); |
119 outline: 1px solid rgba(0, 0, 0, 0.1); | 119 outline: 1px solid rgba(0, 0, 0, 0.1); |
120 position: absolute; | 120 position: absolute; |
121 z-index: 2; | 121 z-index: 2; |
122 } | 122 } |
OLD | NEW |