1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
list,
grid {
display: block;
outline: none;
overflow: auto;
position: relative; /* Make sure that item offsets are relative to the
list. */
}
list > *,
grid > * {
-webkit-user-select: none;
background-color: rgba(255, 255, 255, 0);
border: 1px solid rgba(255, 255, 255, 0); /* transparent white */
border-radius: 2px;
cursor: default;
line-height: 20px;
margin: -1px 0;
overflow: hidden;
padding: 0 3px;
position: relative; /* to allow overlap */
text-overflow: ellipsis;
white-space: pre;
}
list > * {
display: block;
}
grid > * {
display: inline-block;
}
list > [lead],
grid > [lead] {
border-color: transparent;
}
list:focus > [lead],
grid:focus > [lead] {
border-color: hsl(214, 91%, 65%);
z-index: 2;
}
list > [anchor],
grid > [anchor] {
}
list:not([disabled]) > :hover,
grid:not([disabled]) > :hover {
background-color: hsl(214, 91%, 97%);
border-color: hsl(214, 91%, 85%);
z-index: 1;
}
list > [selected],
grid > [selected] {
background-color: hsl(0, 0%, 90%);
background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8),
rgba(255, 255, 255, 0));
border-color: hsl(0, 0%, 85%);
z-index: 2;
}
list:focus > [selected],
grid:focus > [selected] {
background-color: hsl(214, 91%, 89%);
border-color: hsl(214, 91%, 65%);
}
list:focus > [lead][selected],
list > [selected]:hover,
grid:focus > [lead][selected],
grid > [selected]:hover {
background-color: hsl(214, 91%, 87%);
border-color: hsl(214, 91%, 65%);
}
list > .spacer,
grid > .spacer {
border: 0;
box-sizing: border-box;
display: block;
margin: 0;
overflow: hidden;
visibility: hidden;
}
list :-webkit-any(
input[type='input'],
input[type='password'],
input[type='search'],
input[type='text'],
input[type='url']),
list :-webkit-any(
button,
input[type='button'],
input[type='submit'],
select):not(.custom-appearance):not(.link-button) {
line-height: normal;
margin: 0;
vertical-align: middle;
}
list > [hidden],
grid > [hidden] {
display: none;
}
list > .drag-selection-border {
border-radius: 0;
background-color: rgba(255, 255, 255, 0.3);
border: 2px solid rgba(255, 255, 255, 0.6);
outline: 1px solid rgba(0, 0, 0, 0.1);
position: absolute;
z-index: 2;
}
|