-
Notifications
You must be signed in to change notification settings - Fork 5
/
list.css
118 lines (95 loc) · 1.71 KB
/
list.css
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
.list {
width: 800px;
height: 400px;
font-family: Arial, sans-serif;
overflow-x: hidden;
border: 3px solid #0D5995;
background-color: #0D5995;
padding: 1px;
padding-top: 10px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.listscroll {
overflow-x: scroll;
overflow-y: scroll;
background-color: white;
}
.listitems {
display: inline-block;
}
.listvalue, .header {
display: inline-block;
width: 80px;
margin: 0px 6px;
}
.headers {
background-color: transparent;
position: relative;
white-space: nowrap;
display: inline-block;
color:white;
padding: 5px 0px;
}
.header{
white-space: normal;
}
.itemline {
height: 32px;
}
.itemline:nth-child(odd) {
background-color: white;
}
.itemline:nth-child(even) {
background-color: whitesmoke;
}
.itemline.selected {
background-color: #aaa;
}
.itemline:hover {
background-color: #bbcee9
}
.itemline.error,
.itemline.error:hover {
background-color: salmon;
}
.itemline > div {
white-space: nowrap;
padding: 4px 0px 0 0;
}
.itemline.editing > div{
padding: 3px 0px 0 0;
}
.valdisp, .valinput {
background-color: transparent;
width: 100%;
display: block;
}
.listvalue {
overflow-x: hidden;
}
.itemline.editing .listvalue:not(.readonly) .valdisp {
display: none;
}
.valdisp {
font-size: 13px;
}
.itemline:not(.editing) .valinput,
.listvalue.readonly .valinput {
display: none;
}
.itemline :focus {
outline: none;
}
.valinput {
border:1px solid #aaa;
background-color: white;
padding: 3px;
margin: 0;
}
.itemline .valinput:focus {
outline-color: rgba(0, 128, 256, 0.5);
outline: 5px auto rgba(0, 128, 256, 0.5);
}